/* Studio skin: the main page's tokens (cooper brief 2026-11-18). GeojoLu's palette, 「我喜歡這個配色」
   (ref palette-ref-177892254027486844, measured by averaging the pixels of each colour, 2026-11-18). Colour blocks
   meet at thin black seams, with large radii; monospace capitals; no shadows. A page opts in with class "skin-studio" on
   its root. This is the shared WebOS skin: every app is meant to opt in (cooper 11-18); /d-doc/ and /d-talk/ do not yet (GeojoLu: 「你們的 ddoc 和 dtalk 的頁面不要變」). Change the palette here only. */
/* display digits: Chakra Petch (OFL, local; fonts/README.md). Preloaded by the page; font-display:block so the
   digits never switch face after first paint (CLS 0). */
@font-face{font-family:"Chakra Petch";src:url("./fonts/ChakraPetch-Medium.ttf") format("truetype");font-weight:500;font-display:block}
@font-face{font-family:"Chakra Petch";src:url("./fonts/ChakraPetch-SemiBold.ttf") format("truetype");font-weight:600;font-display:block}
/* Chinese: a subset of LXGW Neo ZhiSong renamed "Studio Zh Serif" (IPA 1.0; fonts/README.md). CJK code points only, so Latin
   keeps its fonts and a page without Chinese never fetches it. Replaceable: point --st-zh at another family. */
@font-face{font-family:"Studio Zh Serif";src:url("./fonts/StudioZhSerif.woff2") format("woff2");font-weight:400;font-display:block;
  unicode-range:U+3000-303F,U+3400-4DBF,U+4E00-9FFF,U+FF00-FFEF}
.skin-studio{
  --st-ink:#083224;        /* ink green: text on cream, the darkest block */
  --st-deep:#025E40;       /* deep green */
  --st-emerald:#097D56;    /* emerald */
  --st-cream:#F5E9DD;      /* cream: the ground, and text on green */
  --st-seam:#0B0B0B;       /* the black seam between blocks */
  --st-mint:color-mix(in oklab,var(--st-emerald) 35%,#fff);   /* the one "you are here" accent: focus, in progress */
  --st-warn:#E07050;       /* warning block only (usage ref 613685886763171069) */
  --st-muted:color-mix(in srgb,var(--st-ink) 60%,var(--st-cream));
  --st-on-green-muted:color-mix(in srgb,var(--st-cream) 72%,var(--st-deep));
  --st-line:color-mix(in srgb,var(--st-ink) 22%,transparent);
  --st-zh:"Studio Zh Serif";   /* the Chinese face (GeojoLu 11-18 via cooper); a token so it can be swapped */
  --st-mono:var(--st-zh),ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  --st-display:"Chakra Petch",var(--st-mono);
  --st-sans:var(--st-zh),"Helvetica Neue",system-ui,-apple-system,"PingFang TC",sans-serif;
  --st-radius-l:1.75rem;--st-radius-m:1.1rem;--st-radius-pill:999px;
  --st-seam-w:3px;
  --st-gap:clamp(.75rem,2.5vw,1.25rem);
  --st-dur:240ms;--st-ease:cubic-bezier(.3,1.35,.5,1);   /* short, with a small rebound */
  background:var(--st-cream);color:var(--st-ink);font-family:var(--st-sans)}
/* contrast (WCAG): ink on cream 13.4:1, cream on deep 6.6:1, cream on emerald 4.6:1, muted on cream 4.6:1 */
.skin-studio .caps{font-family:var(--st-mono);text-transform:uppercase;letter-spacing:.08em}
.skin-studio :focus-visible{outline:2px solid var(--st-mint);outline-offset:3px}
.foot-line{flex-basis:100%;margin:0 0 .4rem;text-align:center;font-size:.72rem;color:color-mix(in srgb,var(--st-ink) 70%,transparent)}
.lg-foot,.pr-foot,.mp-foot{flex-wrap:wrap;row-gap:.6rem}
.st-note{position:fixed;left:50%;bottom:calc(1.2rem + env(safe-area-inset-bottom));transform:translateX(-50%);margin:0;max-width:min(92vw,32rem);padding:.8rem 1.1rem;background:var(--st-ink,#083224);color:var(--st-cream,#F5E9DD);font:400 .95rem/1.5 var(--st-sans,system-ui,sans-serif);border-radius:3px;box-shadow:0 0 0 1px color-mix(in srgb,#F5E9DD 30%,transparent);z-index:10}
