/* DreamHunter tokens for the mockup, mirrored from docs/style/tokens.json (Holo).
   Screens (app.css) take colours, radii and shadows from these variables, never literals.
   Three blocks: (1) mirrored from tokens.json, (2) PROPOSED, not in tokens.json yet,
   for the owner to accept or drop, (3) mockup chrome only, never app tokens.
   The card material (holo-card.css) is a copy of the style board and keeps its own foil values. */
:root{
  /* palette */
  --ink:#1B1830;
  --ink-soft:#4D4868;
  --ink-muted:#625D7E;
  --pearl:#F4F4F9;
  --white:#FFFFFF;
  --line:#E3E1EE;
  --chip:#EFEEF5;
  --lavender:#E7E3F7;
  --night:#120F1D;
  --night-top:#1D1932;
  --night-ink:#EFEBFF;
  --night-muted:#A7A2C4;
  --night-card:#17121F;
  --nightmare-rose:#F3A7B8;
  --brass-ink:#6B4E12; /* cardTypes.recurrente.accent */

  /* foils (the type pills and the card back use them) */
  --foil-rainbow:linear-gradient(118deg,#FF9FE0 0%,#9FD4FF 18%,#A6FFD0 34%,#FFF09A 50%,#FFB3D6 66%,#A9C1FF 82%,#9FF3FF 100%);
  --foil-pearl:linear-gradient(135deg,#F6F6FA 0%,#D3D2DE 38%,#FAFAFD 58%,#CAC9D8 100%);
  --foil-night:linear-gradient(118deg,#3B0F4A 0%,#7A1F4F 22%,#123E52 45%,#4A0F2E 68%,#1D1440 88%);
  --foil-gold:linear-gradient(118deg,#F5D978 0%,#FFD3A2 22%,#FFF1BD 44%,#E2BD5E 64%,#FFE6A0 84%,#EAC868 100%);

  /* emotions: the suits */
  --emo-asombro:#8B7BFF;
  --emo-panico:#E5484D;
  --emo-libertad:#3FB6F0;
  --emo-nostalgia:#F0A43F;
  --emo-esperanza:#46C08A;
  --emo-calma:#5FB8B0;
  --emo-melancolia:#7D8BB5;
  --emo-curiosidad:#E07BD0;

  /* type */
  --font:"Space Grotesk",system-ui,sans-serif;
  --title-size:27px;--title-weight:700;--title-track:-.03em;
  --card-title:12.5px;--card-title-large:16px;
  --body-size:15px;--body-line:1.5;
  --label-size:12px;--pill-size:10.5px;

  /* shape and space */
  --r-card:18px;--r-card-large:22px;--r-face:12px;--r-picture:8px;--r-button:24px;--r-chip:999px;--r-dock:30px;
  --sp-screen:16px;--sp-gap:12px;--sp-card:6px;--tap:48px;

  /* shadows and motion */
  --shadow-card:0 14px 24px -14px rgba(40,30,90,.7);
  --card-flip:450ms;
  --ease:cubic-bezier(.2,.8,.2,1);

  /* ======== PROPOSED, not in tokens.json yet ========
     New values the mockup needed. They are not rules until the owner accepts them and they
     are added to tokens.json (and from there to tokens.dart). The PR lists each one. */
  /* colour: the recurrente icon chip in the collection counters (same as the card's .ty pill) */
  --brass-chip:#FFF1C7;
  /* foil: the soft film behind a picture that is being painted (inside the pending card) */
  --foil-soft:linear-gradient(120deg,#FFD9EF,#D8E9FF 25%,#DBFFEC 50%,#FFF6CF 75%,#FFD9EF);
  /* the light around a large card, by its first type (the --glow of holo-card.css) */
  --glow-sueno:rgba(235,230,255,.55);
  --glow-lucido:rgba(150,190,255,.6);
  --glow-pesadilla:rgba(255,60,140,.5);
  --glow-recurrente:rgba(210,170,90,.45);
  /* shadows: the card bevel (as in holo-card.css), raised white controls, the floating dock */
  --bevel-card:inset 1.5px 1.5px 0 rgba(255,255,255,.85),inset -1.5px -1.5px 0 rgba(0,0,0,.38);
  --shadow-soft:0 2px 8px rgba(20,12,45,.1),0 1px 2px rgba(20,12,45,.08);
  --shadow-dock:0 12px 26px -10px rgba(20,12,45,.55);
  /* radii */
  --r-face-large:15px;  /* the large card's face (holo-card.css .hc2.big .in) and the card back's face */
  --r-inset:10px;       /* the thin ring inside the card back */
  --r-thumb:11px;       /* a picture inside a 16 px panel with 5 px padding (style presets) */
  --r-box:14px;         /* small boxes: banner, text box, dictation hint, warning */
  --r-panel:16px;       /* panels: collection counters, settings rows, style presets */
  --r-sheet:26px;       /* the top corners of a bottom sheet */
  --r-check:7px;        /* the square of a checkbox (re-evaluation sheet) */
  /* gallery layouts (#9) */
  /* a sealed card's clear coat: an even gloss and a bright rim over the whole card, not foil (#49: sealed cards
     have "a laminated, reflective sheen" of their own). Open cards have none. Provisional: the owner sets the look. */
  --laminate:linear-gradient(128deg,rgba(255,255,255,0) 0 15%,rgba(255,255,255,.3) 15.5% 27%,rgba(255,255,255,.08) 27.5% 31%,rgba(255,255,255,0) 31.5%),linear-gradient(180deg,rgba(255,255,255,.35),rgba(255,255,255,0) 10%);
  --laminate-rim:inset 0 0 0 1.5px rgba(255,255,255,.85),inset 0 2px 0 rgba(255,255,255,.95);
  /* Álbum: the plastic pocket and its sheen */
  --sleeve:linear-gradient(180deg,#F8F7FC,#ECEAF4);
  --sleeve-sheen:linear-gradient(115deg,rgba(255,255,255,0) 32%,rgba(255,255,255,.3) 42%,rgba(255,255,255,0) 50%),linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,0) 6%);
  /* Tirada: overlapping cards need a shadow to read as separate cards */
  --shadow-fan:-6px 8px 16px -8px rgba(20,12,45,.5),0 1px 3px rgba(20,12,45,.18);
  /* First edition (#75), option C: the icon on the back of the card. Dawn colours on purpose: rarity owns
     the cool iridescent film, the etched lattice, the diamonds and the gold rule, so first edition
     never borrows any of them. */
  --fe-ink:#A9442A;    /* the ink of the icon on the back of the card: deep dawn coral */
  --fe-paper:#FFF3EA;  /* the ground under the icon */
  /* ======== end of PROPOSED ======== */

  /* mockup chrome only, not app tokens: the phone, the system bars and the system keyboard */
  --m-page:#E9E8F0;--m-page-ink:#1B1830;--m-page-muted:#5C5875;--m-page-line:#D6D4E2;
  --m-bezel:#0B0B0C;--m-bezel-edge:#2A2A2E;
  --m-kb:#202124;--m-kb-key:#3C3D41;--m-kb-fn:#2F3034;--m-kb-ink:#E8EAED;--m-kb-sug:#C4C7C5;--m-kb-go:#A8C7FA;--m-kb-go-ink:#062E6F;
  --m-scrim:rgba(18,15,29,.45);
  --m-r-bezel:52px;--m-r-screen:42px;--m-r-key:7px;--m-r-ctl:12px;--m-r-seg:9px;--m-r-url:10px;
  --m-phone-shadow:0 30px 60px -30px rgba(0,0,0,.55);
}
