
  /* Mobile-first. Retro-future palette: void, chrome, hot pink, sunset orange, cyan. */
  :root {
    --void: #07040f;
    --ink: #f3ecff;
    --dim: rgba(243, 236, 255, .72);
    --faint: rgba(243, 236, 255, .18);
    --pink: #ff2e88;
    --orange: #ffa045;
    --cyan: #3df2ff;
    --chrome: linear-gradient(180deg, #ffffff 0%, #cdf5ff 42%, #6a4bb8 50%, #ff5aa8 64%, #ffc58a 100%);
    --safe-t: env(safe-area-inset-top, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-l: env(safe-area-inset-left, 0px);
    --safe-r: env(safe-area-inset-right, 0px);
    --mono: "Share Tech Mono", ui-monospace, monospace;
    --display: "Audiowide", system-ui, sans-serif;
    --body: "Space Grotesk", system-ui, sans-serif;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; height: 100%; background: var(--void); color: var(--ink); overflow: hidden; overscroll-behavior: none; }
  body { font-family: var(--mono); -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-text-size-adjust: 100%; }
  canvas#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
  a { color: inherit; }

  .accent-text { font-weight: inherit; color: var(--cyan); }
  .chrome-text { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(255, 46, 136, .35)); }
  .glow { text-shadow: 0 0 8px rgba(61, 242, 255, .55); }
  .skip { min-height: 40px; padding: 8px 12px; color: var(--dim); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
  .skip:active, .skip:hover { color: var(--ink); }

  /* ---------- boot: see-through, the 3D title is the hero ---------- */
  #boot {
    position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
    padding: 0 16px calc(28px + var(--safe-b)); text-align: center;
    background: linear-gradient(180deg, rgba(7,4,15,0) 55%, rgba(7,4,15,.75) 100%);
    transition: opacity .8s ease, visibility .8s;
  }
  #boot.gone { opacity: 0; visibility: hidden; pointer-events: none; }
  .boot-kicker { position: absolute; top: calc(22px + var(--safe-t)); left: 0; right: 0; font-size: .72rem; letter-spacing: .42em; color: var(--dim); }
  #boot.returning .boot-transmission { visibility: hidden; }
  .boot-logo { display: block; width: min(380px, 80vw, 44svh); height: auto; margin: 10px auto 0; }
  .loadline { width: 160px; height: 1px; background: var(--faint); margin: 0 auto 18px; overflow: hidden; }
  .loadline i { display: block; height: 100%; width: 0; background: var(--cyan); transition: width .3s; }
  #startBtn { font-family: var(--display); font-size: 1.05rem; letter-spacing: .3em; padding: 16px 28px; min-height: 56px; color: var(--ink); }
  #startBtn span { display: block; padding: 12px 0; text-shadow: 0 0 12px var(--pink), 0 0 2px #fff; animation: breathe 1.6s ease-in-out infinite; }
  #startBtn[hidden] { display: none; }
  @keyframes breathe { 50% { opacity: .45; } }

  /* lens mask for the "putting on the headset" transition */
  #lens { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 28; pointer-events: none; }

  /* ---------- HUD: thin, edge-hugging, out of the way ---------- */
  #hud { position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: 0; transition: opacity 1s ease .3s; }
  #hud.on { opacity: 1; }
  #hud:not(.on) * { pointer-events: none !important; } /* invisible HUD must not catch taps during the intro */
  .hud-top { position: absolute; top: calc(10px + var(--safe-t)); left: 14px; right: 6px; display: flex; align-items: center; justify-content: space-between; }
  .brand { font-size: .62rem; letter-spacing: .28em; color: var(--dim); }
  .brand-play { min-height: 44px; padding: 0 4px 0 0; text-align: left; line-height: 1.6; text-transform: uppercase; pointer-events: auto; }
  .brand-play img { display: block; width: 112px; height: auto; }
  .brand-play[hidden] { display: none; }
  .brand-play:hover img { filter: brightness(1.15); }
  .brand-play:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
  #hud.quick-play:not(.on) { opacity: 1; z-index: 31; }
  #hud.quick-play:not(.on) .hud-top > :not(.brand-play), #hud.quick-play:not(.on) .hud-bottom { visibility: hidden; }
  #hud.quick-play:not(.on) .brand-play { pointer-events: auto !important; }
  body:has(#race.on) #hud { display: none; }
  .pips { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; pointer-events: auto; }
  .pips button { width: 34px; height: 40px; display: grid; place-items: center; }
  /* pixel hearts: empty container → outlined (current) → full red; the invite heart turns gold */
  .pips svg { width: 18px; height: 16px; shape-rendering: crispEdges; --o: rgba(243,236,255,.4); --f: rgba(0,0,0,.45); --h: rgba(0,0,0,.45); transition: transform .3s; }
  .pips svg .o { fill: var(--o); } .pips svg .f { fill: var(--f); } .pips svg .h { fill: var(--h); }
  .pips button.current svg { --o: #fff; --f: rgba(255,255,255,.14); --h: rgba(255,255,255,.3); filter: drop-shadow(0 0 4px rgba(255,90,106,.9)); animation: beat 1.1s ease-in-out infinite; }
  .pips button.done svg { --o: #2a0508; --f: #e8232f; --h: #ffffff; filter: drop-shadow(0 0 5px rgba(232,35,47,.7)); }
  .pips button[data-step="3"].done svg { --f: #ffc531; --h: #fff6c9; --o: #3a2604; filter: drop-shadow(0 0 6px rgba(255,197,49,.8)); }
  @keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1.05); } 42% { transform: scale(1.15); } }
  .pips button[disabled] { cursor: default; }
  .hud-controls { display: flex; flex: none; }
  #muteBtn, #motionBtn { pointer-events: auto; width: 44px; height: 44px; display: grid; place-items: center; color: var(--dim); }
  #muteBtn svg, #motionBtn svg { width: 18px; height: 18px; }
  #motionBtn[hidden] { display: none; }
  #motionBtn[aria-pressed="true"] { color: var(--cyan); }
  #motionBtn:focus-visible { outline: 2px solid var(--cyan); outline-offset: -4px; border-radius: 8px; }
  @media (max-width: 380px) { #hud .brand { max-width: 78px; font-size: .54rem; letter-spacing: .12em; } }

  .hud-bottom { position: absolute; left: 0; right: 0; bottom: calc(10px + var(--safe-b)); display: flex; flex-direction: column; align-items: center; gap: 2px; pointer-events: none; }
  .hud-bottom > * { pointer-events: auto; }
  .hud-bottom::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(-10px - var(--safe-b)); height: 150px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(7,4,15,0), rgba(7,4,15,.72) 70%); }
  #prompt { min-height: 48px; padding: 10px 18px; font-size: 1rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); text-shadow: 0 0 10px rgba(255, 46, 136, .8), 0 0 2px rgba(255,255,255,.6); }
  #prompt .caret { color: var(--pink); margin-right: .4em; }
  #prompt .cursor { animation: breathe 1s steps(2, start) infinite; color: var(--cyan); }
  #prompt[disabled] { opacity: .35; }

  .marker { position: fixed; z-index: 9; transform: translate(-50%, -100%); pointer-events: none; text-align: center; font-size: .7rem; letter-spacing: .24em; white-space: nowrap; color: var(--ink); opacity: 0; transition: opacity .3s; text-shadow: 0 0 8px var(--c, var(--pink)); }
  .marker.show { opacity: 1; }
  .marker span:empty { display: none; }
  .marker i { display: block; font-style: normal; font-size: 1.3rem; margin-top: 2px; color: var(--c, var(--pink)); animation: bob .9s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(5px); } }

  /* ---------- briefing sheet: glass shell · fixed header · scrolling tiles · pinned actions ---------- */
  #card { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; visibility: hidden; }
  #card.open { visibility: visible; pointer-events: auto; }
  #card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,4,15,0) 35%, rgba(7,4,15,.65)); opacity: 0; transition: opacity .4s; }
  #card.open .scrim { opacity: 1; }
  #card.clear .scrim { background: linear-gradient(180deg, rgba(7,4,15,0) 55%, rgba(7,4,15,.5)); }
  .readout {
    --accent: var(--pink);
    position: relative; width: 100%; max-height: 74dvh; display: flex; flex-direction: column; overflow: hidden;
    font-family: var(--body); color: var(--ink);
    border: 1px solid transparent; border-bottom: 0; border-radius: 26px 26px 0 0;
    background:
      radial-gradient(120% 55% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 62%) padding-box,
      linear-gradient(180deg, rgba(18, 10, 36, .95), rgba(8, 5, 17, .985)) padding-box,
      var(--grad) border-box;
    box-shadow: 0 -18px 60px color-mix(in srgb, var(--accent) 16%, transparent);
    backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25);
    transform: translateY(48px); opacity: 0; transition: transform .6s cubic-bezier(.2,.9,.25,1), opacity .35s;
    -webkit-user-select: text; user-select: text;
  }
  #card.open .readout { transform: none; opacity: 1; }
  .readout.compact { max-height: 56dvh; }
  .handle { flex: none; width: 38px; height: 4px; margin: 9px auto 0; border-radius: 4px; background: rgba(255,255,255,.2); }

  /* header */
  .rh { flex: none; position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 64px 14px 18px; }
  .rh::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 75%, transparent), rgba(255,255,255,.06) 60%, transparent); }
  .icon-tile {
    flex: none; width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; border: 1px solid transparent;
    background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--accent) 34%, transparent), rgba(14,8,30,.92) 72%) padding-box, var(--grad) border-box;
    box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 35%, transparent), inset 0 1px 0 rgba(255,255,255,.12);
  }
  .icon-tile img { width: 40px; height: 40px; image-rendering: pixelated; filter: drop-shadow(0 3px 0 rgba(0,0,0,.4)); animation: float 3.2s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-3px) rotate(-4deg); } }
  .rh .eyebrow { margin: 0 0 3px; font-family: var(--mono); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
  .rh h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.05; letter-spacing: .01em; }
  .rh .sub { margin: 5px 0 0; font-size: .9rem; color: var(--dim); }

  /* scrolling body */
  .rb {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; padding: 16px 16px 20px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent);
    scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 55%, transparent) transparent;
  }
  .rb::-webkit-scrollbar { width: 4px; }
  .rb::-webkit-scrollbar-track { background: transparent; }
  .rb::-webkit-scrollbar-thumb { border-radius: 4px; background: var(--grad); }

  .tile { position: relative; min-width: 0; padding: 14px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
  .tile-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 11px; font-family: var(--mono); font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); }
  .tile-label i { font-style: normal; letter-spacing: .12em; color: var(--accent); }
  .tile h3 { margin: 0 0 4px; font-family: var(--body); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
  .addr { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--dim); }
  .brandrow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; min-height: 30px; }
  .brandrow .wordmark { height: 22px; width: auto; max-width: 100%; }
  .brandrow .roundel { width: 58px; height: 58px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
  .brandrow .roundel + span { font-weight: 600; font-size: 1.1rem; letter-spacing: .02em; }

  .times { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; margin-top: 12px; }
  .times div { padding: 10px 12px; border-radius: 14px; background: rgba(7,4,15,.5); border: 1px solid rgba(255,255,255,.07); }
  .times b { display: block; font-family: var(--mono); font-weight: 400; font-size: 1.3rem; line-height: 1.1; letter-spacing: .03em; background: linear-gradient(90deg, var(--cyan), color-mix(in srgb, var(--accent) 75%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .times span { display: block; margin-top: 3px; font-size: .74rem; color: var(--dim); }
  .tile > .times:first-of-type { margin-top: 0; }

  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; color: var(--ink); text-decoration: none; font-size: .86rem; font-weight: 500; }

  .games { display: grid; grid-auto-flow: column; grid-auto-columns: 124px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -14px; padding: 2px 14px 6px; scrollbar-width: none; -webkit-user-select: none; user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 30px), transparent); }
  .games::-webkit-scrollbar { display: none; }
  .games figure { margin: 0; scroll-snap-align: start; scroll-margin-left: 14px; }
  .games img { display: block; width: 124px; height: 124px; object-fit: cover; border-radius: 14px; background: #160c2a; border: 1px solid rgba(255,255,255,.1); transition: transform .3s, box-shadow .3s; }
  .games figure:hover img, .games figure:active img { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.45), 0 0 0 1px var(--accent); }
  .games figcaption { margin-top: 7px; font-size: .76rem; line-height: 1.3; color: var(--dim); }
  .games figcaption b { display: block; font-weight: 600; font-size: .84rem; color: var(--ink); }
  .note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .86rem; line-height: 1.4; color: var(--dim); }
  .note .chip { min-height: 32px; }

  .tips { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .92rem; color: var(--dim); }
  .tips li { display: flex; gap: 10px; align-items: baseline; }
  .tips li::before { content: ""; flex: none; width: 6px; height: 6px; transform: translateY(-1px) rotate(45deg); background: var(--grad); }

  .cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cd div { text-align: center; padding: 10px 4px 8px; border-radius: 14px; background: rgba(7,4,15,.5); border: 1px solid rgba(255,255,255,.07); }
  .cd b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .cd span { display: block; margin-top: 3px; font-family: var(--mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
  .cal { display: grid; gap: 8px; }
  .cal .chip { justify-content: center; }

  /* pinned footer */
  .rf { flex: none; display: grid; gap: 8px; padding: 12px 16px calc(14px + var(--safe-b)); border-top: 1px solid rgba(255,255,255,.06); background: linear-gradient(180deg, rgba(8,5,17,.4), rgba(8,5,17,.85)); }
  .rf .chip { justify-content: center; }
  .cta-primary { min-height: 50px; font-family: var(--body); font-weight: 600; font-size: 1rem; }
  .btn-next { width: 100%; min-height: 50px; color: var(--ink); font-family: var(--body); font-weight: 600; font-size: .98rem; }

  /* entrance: sections rise in one after another */
  .readout .stg { opacity: 0; }
  #card.open .readout .stg { animation: rise .6s cubic-bezier(.2,.9,.25,1) both; animation-delay: calc(110ms + var(--i, 0) * 65ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

  #toast { position: fixed; z-index: 25; left: 50%; top: 66%; width: calc(100% - 32px); transform: translate(-50%, -50%); opacity: 0; pointer-events: none; text-align: center; transition: opacity .4s, letter-spacing .6s; letter-spacing: .5em; }
  #toast.show { opacity: 1; letter-spacing: .28em; }
  #toast div { font-family: var(--display); font-size: 1rem; line-height: 1.7; text-transform: uppercase; color: var(--ink); text-shadow: 0 0 12px var(--pink), 0 0 30px var(--orange); }

  /* ---------- one control language: glass fill + the pink → orange → cyan hairline ---------- */
  :root { --grad: linear-gradient(90deg, var(--pink), var(--orange) 50%, var(--cyan)); --glass: rgba(14, 8, 30, .74); --glass-hi: rgba(34, 18, 60, .9); }
  .chip, .btn-next, #prompt, .close-x, #startBtn {
    border: 1px solid transparent;
    background: linear-gradient(var(--glass), var(--glass)) padding-box, var(--grad) border-box;
  }
  .chip:hover, .chip:active, .btn-next:hover, .btn-next:active, #prompt:hover, #prompt:active, .close-x:hover, #startBtn:hover {
    background: linear-gradient(var(--glass-hi), var(--glass-hi)) padding-box, var(--grad) border-box;
    box-shadow: 0 0 18px rgba(255, 46, 136, .28), 0 0 18px rgba(61, 242, 255, .18);
  }
  .chip:focus-visible, .btn-next:focus-visible, #prompt:focus-visible, #muteBtn:focus-visible, .close-x:focus-visible, #startBtn:focus-visible, .cta-primary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

  /* bottom prompt as the matching pill */
  #prompt { border-radius: 999px; padding: 10px 24px; font-size: .92rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-shadow: 0 0 8px rgba(255, 46, 136, .6); }
  #prompt[disabled] { opacity: .45; }

  /* title-screen button */
  #startBtn { border-radius: 999px; padding: 0 28px; min-height: 56px; width: auto; max-width: 100%; white-space: nowrap; font-size: .82rem; letter-spacing: .2em; }
  #startBtn::before, #startBtn::after { display: none; }
  #startBtn span { padding: 0; }

  /* card controls */
  .chip { border-radius: 999px; }
  .btn-next { border-radius: 999px; }
  .cta-primary { border-radius: 999px; background: var(--grad); color: #12081f; box-shadow: 0 6px 24px rgba(255, 46, 136, .22), 0 6px 24px rgba(61, 242, 255, .14); }
  .cta-primary:hover, .cta-primary:active { filter: brightness(1.08); }
  .close-x { position: absolute; z-index: 2; top: 24px; right: 16px; width: 38px; height: 38px; border-radius: 50%; color: var(--ink); font-size: 1.15rem; line-height: 1; display: grid; place-items: center; }

  /* ---------- liquid glass: clear blurred body, specular rim, floating sheet ---------- */
  #card .scrim { background: linear-gradient(180deg, rgba(7,4,15,0) 40%, rgba(7,4,15,.4)); }
  .readout {
    width: calc(100% - 16px); margin-bottom: calc(8px + var(--safe-b));
    border: 0; border-radius: 32px;
    background:
      radial-gradient(130% 70% at 50% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
      linear-gradient(180deg, rgba(28, 18, 49, .78), rgba(12, 8, 25, .88));
    backdrop-filter: blur(30px) saturate(1.25); -webkit-backdrop-filter: blur(30px) saturate(1.25);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.38),
      inset 0 -1px 0 rgba(255,255,255,.07),
      0 30px 70px rgba(0,0,0,.5);
  }
  /* specular rim: brighter at the top-left, catching light again bottom-right */
  .readout::before {
    content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(150deg, rgba(255,255,255,.6), rgba(255,255,255,.1) 28%, rgba(255,255,255,.03) 62%, rgba(255,255,255,.28));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  }
  .handle { background: rgba(255,255,255,.4); }
  .rh::after { background: rgba(255,255,255,.1); }
  .rh .sub { color: rgba(243,236,255,.7); }
  .icon-tile {
    border: 0; border-radius: 18px;
    background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 30%, rgba(255,255,255,.12)), rgba(255,255,255,.06) 75%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 .5px rgba(255,255,255,.22), 0 8px 22px rgba(0,0,0,.28);
  }
  .tile {
    border: 0; border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 .5px rgba(255,255,255,.1);
  }
  .times div, .cd div { border: 0; border-radius: 16px; background: rgba(0,0,0,.2); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.06); }
  .times b, .cd b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
  .cd b { font-family: var(--mono); font-size: 1.45rem; }
  .tips li::before { width: 5px; height: 5px; border-radius: 50%; transform: none; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
  .games img { border: 0; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.2), 0 6px 16px rgba(0,0,0,.3); }
  .rf { padding: 12px 16px 14px; border-top: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.05)); }
  /* glass pills inside the sheet */
  .readout .chip, .readout .btn-next, .readout .close-x {
    border: 0; background: rgba(255,255,255,.13);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 0 0 .5px rgba(255,255,255,.2);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .readout .chip:hover, .readout .chip:active, .readout .btn-next:hover, .readout .btn-next:active, .readout .close-x:hover {
    background: rgba(255,255,255,.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 .5px rgba(255,255,255,.3), 0 0 20px color-mix(in srgb, var(--accent) 30%, transparent);
  }
  .readout .cta-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 6px rgba(0,0,0,.12), 0 8px 26px rgba(255, 46, 136, .25); }

  /* ---------- sheet typography: Exo 2 (display, figures) + Outfit (text) ---------- */
  .readout { --card-display: "Exo 2", system-ui, sans-serif; --card-text: "Outfit", system-ui, sans-serif; font-family: var(--card-text); }
  .readout .eyebrow, .tile-label, .cd span { font-family: var(--card-text); font-weight: 600; letter-spacing: .2em; }
  .rh .eyebrow { font-size: .7rem; }
  .rh h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: .01em; line-height: 1.1; } /* Audiowide, like the Ready Player Nine wordmark */
  .rh h2.chrome-text { background: linear-gradient(180deg, #fff 35%, color-mix(in srgb, var(--accent) 40%, #fff)); -webkit-background-clip: text; background-clip: text; filter: none; }
  .rh .sub { font-weight: 400; font-size: .95rem; letter-spacing: .01em; }
  .tile-label { font-size: .66rem; }
  .tile-label i { font-weight: 600; letter-spacing: .14em; }
  .tile h3 { font-family: var(--card-text); font-weight: 600; font-size: 1.18rem; letter-spacing: .005em; }
  .addr, .note, .tips, .games figcaption { font-family: var(--card-text); font-weight: 400; }
  .games figcaption b, .brandrow .roundel + span { font-family: var(--card-text); font-weight: 600; }
  .times b, .cd b { font-family: var(--card-display); font-weight: 600; font-size: 1.4rem; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
  .times span { font-weight: 400; font-size: .78rem; }
  .cd span { font-size: .6rem; }
  .readout .chip, .readout .btn-next, .readout .cta-primary { font-family: var(--card-text); font-weight: 600; letter-spacing: .01em; }
  .readout .cta-primary { font-size: 1.02rem; }

  @media (min-width: 640px) {
    .brand { font-size: .7rem; }
    .readout { width: 560px; margin-bottom: 24px; border-radius: 34px; }
    .handle { display: none; }
    .close-x { top: 18px; }
    .rh { padding: 20px 70px 16px 22px; }
    .rh h2 { font-size: 1.85rem; }
    .rb { padding: 18px 22px 22px; }
    .rf { padding: 14px 22px 18px; }
    #toast div { font-size: 1.3rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    #startBtn span, .pips button.current svg, .marker i, #prompt .cursor, .icon-tile img { animation: none; }
    #card.open .readout .stg { animation-duration: 1ms; animation-delay: 0ms; }
    .rc-stage.rez > *, .rc-cars i, .rc-boost.show, .rc-pips.full svg { animation: none; }
  }
