/* HoloTap tokens, v5 "indie" (Nov 9 2026): the one palette, type, depth, radii and motion the
   website shares with the iPhone app (experience-mobile/design-tokens.js, paperPalette).
   Neutral black and greys. Chrome stays neutral; colour comes from the content (card photos, team
   colours, green and red for money and plays). White is the action, with black text. The holo
   spectrum is kept for real cards (the foil), the Scan button and Holo Points, nowhere else.
   The --ht-teal* names are kept so every rule that reads them follows: they now hold the white
   action (#F5F5F7, hover #FFFFFF, pressed #D1D1D6, ink #0A0A0A).
   The file keeps its old name so the stylesheet order the tests pin stays put; it replaced the
   rejected ink-and-paper hobby tokens (serif, mono, matte, grain). Linked by the static pages and
   bundled into the signed-in shell (scripts/build-styles.mjs). */
:root{
 /* The page and the plain surfaces on it. */
 --ht-stage:#0A0A0A;
 --ht-stage-top:#0A0A0A;
 --ht-inset:#0F0F10;
 --ht-surface:#141414;
 --ht-raised:#1C1C1E;
 --ht-raised-2:#242426;
 --ht-border:#2A2A2C;
 /* Panels are plain surfaces: no lift toward white, no lit top lip. The names stay for the
    rules that read them; the fills are flat and the lips are the hairline. */
 --ht-fill:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,0));
 --ht-fill-raised:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,0));
 --ht-edge:#2A2A2C;
 --ht-lip:#2A2A2C;
 --ht-edge-control:#3A3A3C;
 --ht-lip-control:#3A3A3C;
 --ht-lip-accent:#F5F5F7;
 --ht-rule:#2A2A2C;
 --ht-rule-2:#3A3A3C;
 /* A field's edge: 3:1 or more on every fill a field sits on (WCAG 2.2 SC 1.4.11), so a text box
    reads as a text box before it is focused (the app's controlOutline). */
 --ht-field-edge:#7C7C80;
 --ht-field-lip:#7C7C80;
 /* Ink. Every pair is proven against every fill (tests). */
 --ht-text:#F5F5F7;
 --ht-muted:#A1A1A6;
 --ht-dim:#98989D;
 --ht-teal:#F5F5F7;
 --ht-teal-hover:#FFFFFF;
 --ht-teal-press:#D1D1D6;
 --ht-teal-ink:#0A0A0A;
 --ht-focus:#64A8FF;
 --ht-live:#FF6961;
 --ht-positive:#30D158;
 --ht-gold:#F2C94C;
 --ht-blue:#64A8FF;
 --ht-violet:#B4A7F5;
 --ht-rose:#F2A7C3;
 /* The holo spectrum: real cards, the Scan button and Holo Points. Never on chrome. */
 --ht-holo:linear-gradient(115deg,#7DD8CB,#8FCBFF 36%,#C6B6FF 68%,#FFB3DD);
 /* v5: no edge light. A rule that still draws it draws nothing. */
 --ht-holo-edge:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,0));
 --ht-foil:linear-gradient(115deg,rgba(125,216,203,0) 20%,rgba(125,216,203,.34) 34%,rgba(143,203,255,.42) 46%,rgba(198,182,255,.38) 58%,rgba(255,179,221,.30) 68%,rgba(255,179,221,0) 80%);
 /* Type: SF Pro only. Inter (self-hosted) stands in where there is no San Francisco. */
 --ht-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Holo Inter",Inter,system-ui,"Segoe UI",Roboto,sans-serif;
 --ht-display:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Holo Inter",Inter,system-ui,"Segoe UI",Roboto,sans-serif;
 /* Corners by size: a slab is tighter than a card, a control is a pill, a sheet is the system's. */
 --ht-r-card:3.5% / 2.5%;
 --ht-r-slab:4px;
 --ht-r-chip:8px;
 --ht-r-control:12px;
 --ht-r-panel:16px;
 --ht-r-tile:20px;
 --ht-r-sheet:26px;
 --ht-r-pill:999px;
 /* Three heights and nothing between: rest (a panel on the stage), float (a card over the
    glass), lift (a card picked up). Contact first, then the cast. */
 --ht-shadow-rest:0 1px 2px rgba(0,0,0,.5),0 10px 28px -8px rgba(0,0,0,.6);
 --ht-shadow-float:0 2px 4px rgba(0,0,0,.5),0 18px 40px -12px rgba(0,0,0,.78);
 --ht-shadow-lift:0 4px 10px rgba(0,0,0,.45),0 30px 60px -18px rgba(0,0,0,.88);
 /* No glows: the action has no coloured light under it. */
 --ht-glow-action:0 0 0 rgba(0,0,0,0);
 /* Motion with weight: quick, a slight overshoot, settles. */
 --ht-spring:cubic-bezier(.2,1.3,.32,1);
 --ht-spring-soft:cubic-bezier(.25,1.1,.4,1);
 --ht-out:cubic-bezier(.2,.8,.2,1);
 --ht-dur-tap:160ms;
 --ht-dur-flick:260ms;
 --ht-dur-settle:260ms;
}
@supports (transition-timing-function:linear(0,1)){
 :root{
  --ht-spring:linear(0,.009,.035 2.1%,.141 4.4%,.723 12.9%,.938 16.7%,1.017 19.4%,1.067,1.099 24.3%,1.108 26%,1.1,1.077 30.3%,1.004 37.1%,.981 40.6%,.973 43.7%,.976 47.5%,.998 57.3%,1.003 63.7%,1);
  --ht-spring-soft:linear(0,.017 1.6%,.072 3.4%,.264 7.4%,.555 12.6%,.784 17.6%,.913 22.1%,.991 26.7%,1.029 31.7%,1.037 36.6%,1.027 43%,1.007 53.2%,.999 66.4%,1);
 }
}
@media (prefers-reduced-motion:reduce){:root{--ht-dur-tap:0ms;--ht-dur-flick:0ms;--ht-dur-settle:0ms}}
