/* Verbatim copy of ui-concepts/_shared/ (copied 2026-11-18 for the player wiki). Do not edit here; re-copy from the kit. */
/* =====================================================================
   Port Vesper — shared tokens  (_shared/tokens.css)
   Owner: business designer (CANON r3 §2.6). Only the owner edits this file.
   Source of truth: CANON.md §3 (colour), §4 (type), §5 (space, shape, depth).
   Every value here is canon; a page must not redefine these properties.
   Version r6.0. Changelog: _shared/README.md, "Tokens and paper (owner: business)".

   FONTS (CANON §4.1): each page makes ONE Google Fonts request, pinned:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800&family=Courier+Prime:wght@400;700&family=Kalam:wght@700&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=block" rel="stylesheet">
   (Add Source Serif 4 400/600/italic only on Gazette/court pages; VT323 only on the phone.)
   display=block: no system-font fallback ever shows (§18.7).
   ===================================================================== */

:root{
  /* ---- §3.1 Night (default, identity) ---- */
  --asphalt:#121110;      /* desk: soot, faint warm cast */
  --surface:#1a1917;      /* rare panels on the desk */
  --surface-2:#24221f;    /* hover, inactive tabs, night inputs */
  --rule:#34312c;         /* hairlines on night */
  --board:#0b0b0a;        /* lit boards, shell bars */
  --enamel:#1d1d1b;       /* machinery panels: gunmetal */
  --fog:#e2dfd8;          /* text on night, 14.2:1 on asphalt */
  --muted:#9a958b;        /* secondary text on night, >= 5.3:1 */
  --amber:#f2a33a;        /* sodium: you / act */
  --blood:#9e2b22;        /* fills only: violence, stop, loss */
  --blood-text:#e2685a;   /* blood as text on night */
  --fluoro:#e9eef0;       /* institutional light; lit "running" lamps */
  --steel:#5d7377;        /* fills only, rare: sea, the law's machinery */
  --steel-text:#9fb3b6;   /* steel as text on night */
  --claim:#cfae5e;        /* the "claimed" mark on night */
  --ink-night:#121110;    /* text on amber fills */

  /* ---- district lights (the Line, district roundels, map labels only) ---- */
  --d-exchange:#c9d0d2;
  --d-greyline:#f2a33a;
  --d-terminal:#5d7377;
  --d-agnes:#9e2b22;

  /* ---- §3.2 Paper (inside documents only) ---- */
  --paper:#d9d7d1;        /* dingy photocopy grey */
  --paper-hi:#e6e4df;     /* lamp-lit corner, form-box fill */
  --paper-rule:#a9a59c;   /* ruled lines, box borders */
  --paper-cold:#e3e6e5;   /* institutional cold grade, top of sheet (§5.5) */
  --carbon-canary:#d4ca9a;/* counter-party copies, cover notes */
  --carbon-pink:#d8bdb7;  /* the city's copy: holds, citations */
  --manila:#c9b68f;       /* lot tags, evidence tags, case folders */
  --ink:#171614;          /* text on paper; Known; official stamps */
  --ink-2:#4a4741;        /* secondary text on paper */
  --stamp-red:#8e231b;    /* HELD, STOPPED, Proven */
  --stamp-blue:#2d3b5e;   /* a person's act: SIGNED, FILED, BOOKED */
  --ink-steel:#2f4547;    /* escrow seals, harbour/customs marks */
  --docket:#5e4400;       /* claimed and warnings on paper; AWAITING SIGNATURE */
  --fill:#e2c27e;         /* filled-in blanks: the only "you" ground on paper */

  /* ---- §3.4 Device tokens (the feature phone only) ---- */
  --lcd-green:#a9b68c;
  --lcd-ink:#1f2a17;
  --lcd-amber:#c9963f;
  --lcd-ink-amber:#24190a;
  --handset:#22211f;
  --handset-2:#2c2a27;

  /* ---- §3.3 Day mode values (applied by .pv-daylight, below) ---- */
  --day-page:#ecebe7;
  --day-surface:#f6f5f2;
  --day-rule:#c2beb5;
  --day-text:#171614;
  --day-muted:#4a4741;
  --day-amber-text:#7a4a00;
  --day-blood-text:#8e231b;
  --day-steel-text:#2f4547;

  /* ---- §4.1 Faces ---- */
  --face-display:"Big Shoulders Display","Arial Narrow",sans-serif;
  --face-body:"Public Sans",system-ui,sans-serif;
  --face-typed:"Courier Prime","Courier New",monospace;
  --face-hand:"Kalam",cursive;
  --face-print:"Source Serif 4",Georgia,serif;
  --face-lcd:"VT323",monospace;

  /* ---- §4.2 closed size list (px). Nothing else is allowed. ---- */
  --fs-11:11px;  /* map road-time labels only */
  --fs-12:12px;  /* fine (floor) */
  --fs-13:13px;  /* small, SIGN, typed-sm */
  --fs-14:14px;  /* ui */
  --fs-15:15px;  /* body, typed */
  --fs-16:16px;  /* mobile body */
  --fs-18:18px;  /* lead, folder tabs, mobile tabs, mobile account */
  --fs-20:20px;  /* D4, desktop account */
  --fs-22:22px;  /* Kalam signatures only */
  --fs-24:24px;  /* wordmark, mobile clock */
  --fs-28:28px;  /* D3, F2 */
  --fs-32:32px;  /* shell clock */
  --fs-40:40px;  /* D2 */
  --fs-48:48px;  /* F1 */
  --fs-56:56px;  /* D1 */
  --fs-64:64px;  /* Gazette nameplate, live countdown flaps */

  /* ---- §5.1 spacing scale ---- */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-6:24px; --sp-8:32px; --sp-12:48px; --sp-16:64px;

  /* ---- §5.2 radii ---- */
  --r-0:0; --r-2:2px; --r-round:50%;

  /* ---- §5.4 elevation, §5.6 scrim ---- */
  --e2:0 1px 0 rgba(0,0,0,.5),0 14px 30px -8px rgba(0,0,0,.75);
  --scrim:rgba(8,7,6,.66);   /* E3 dialogs and popovers */
  --scrim-folio:rgba(8,7,6,.40); /* §5.6 r4: the folio's scrim, over the content area only (r6) */
  --e3:var(--e2);           /* §5.4: E3 is the E2 shadow over a scrim (r6 alias) */

  /* ---- §11.2 motion ---- */
  --ease:cubic-bezier(.2,.8,.2,1);

  /* ---- §2 shell geometry consumed by the paper kit (folio sits below the shell) ---- */
  --shell-h:68px;          /* 64 px top bar + 4 px Line */
  --shell-h-mobile:55px;   /* 52 px top bar + 3 px Line */
  --review-h:32px;         /* review strip (mockups only) */
  --tabbar-h:64px;         /* mobile bottom tab bar */
}

/* §3.3 Daylight: an accessibility setting, not a second identity.
   Put .pv-daylight on <html>. Boards stay lit; amber fill unchanged. */
.pv-daylight{
  --asphalt:var(--day-page); --surface:var(--day-surface); --surface-2:var(--day-surface);
  --rule:var(--day-rule); --fog:var(--day-text); --muted:var(--day-muted);
  --blood-text:var(--day-blood-text); --steel-text:var(--day-steel-text);
}

/* ---- §4.2 type tokens as classes ---- */
.pv-d1{font:800 56px/52px var(--face-display);margin:0}
.pv-d2{font:800 40px/40px var(--face-display);margin:0}
.pv-d3{font:700 28px/30px var(--face-display);margin:0}
.pv-d4{font:700 20px/24px var(--face-display);margin:0}
.pv-sign{font:700 13px/16px var(--face-display);text-transform:uppercase;letter-spacing:.06em}
.pv-f1{font:800 48px/48px var(--face-display);font-variant-numeric:tabular-nums lining-nums}
.pv-f2{font:700 28px/28px var(--face-display);font-variant-numeric:tabular-nums lining-nums}
.pv-lead{font:400 18px/28px var(--face-body);margin:0}
.pv-body{font:400 15px/24px var(--face-body)}
.pv-ui{font:500 14px/20px var(--face-body)}
.pv-small{font-size:13px;line-height:18px}
.pv-fine{font:500 12px/16px var(--face-body)}
.pv-typed{font:400 15px/22px var(--face-typed)}
.pv-typed-sm{font:400 13px/18px var(--face-typed);white-space:nowrap}
.pv-hand-22{font:700 22px/1 var(--face-hand)}
/* §14.1: the one flavour line per screen */
.pv-flavor{font:italic 400 13px/18px var(--face-body);color:var(--muted);margin:0}
.pv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pv-nw{white-space:nowrap}
