/* Layout: full-screen portrait arena with overlays centered. Black outer space.
   Brand colours (2026-11-13, the user's call): the logo's three rings, blue #3fa9f5 first (every
   "do this" button), then green #8bd94a and yellow #f8d020; white; dark #121212. */
:root{
  --ink:#fff; --stone:#0b1d30; --accent:#f8d020; --blue:#3fa9f5; --blue-edge:#1f74bd; --green:#8bd94a; --green-edge:#4e9a22; --dark:#121212; --panel:#14233a;
  --display:"Rubik",system-ui,-apple-system,sans-serif; /* one plain font everywhere since 2026-11-13, the games' canvases included (the user's call; Lilita One, the cartoony one, is gone) */
  --body:"Rubik",system-ui,-apple-system,sans-serif;
  color-scheme:dark;
}
[hidden]{display:none!important} /* .overlay sets display:flex, which would otherwise beat the hidden attribute */
html,body{height:100%;margin:0;overflow:hidden;overscroll-behavior:none}
body{background:var(--dark);color:var(--ink);font-family:var(--body);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#wrap{position:relative;height:100%;width:100%}
#c{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
/* Road Race's vignette (2026-11-20): a soft dark edge over the game layer, under the overlays and the faces; drawn by the browser, not the game's canvas */
#vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 50% 50%,rgba(0,0,0,0) 58%,rgba(0,0,0,.34) 100%)}
#vignette[hidden]{display:none}
#debug{position:absolute;left:0;right:0;bottom:0;padding:4px 8px;font:11px/1.3 ui-monospace,Menlo,Consolas,monospace;
  color:#7dffb2;background:rgba(0,0,0,.6);pointer-events:none}
/* Overlays scroll on screens too short for everything, and center their content otherwise (margin:auto). */
.overlay{position:absolute;inset:0;display:flex;flex-direction:column;overflow-y:auto;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));
  background:rgba(0,0,0,.72);backdrop-filter:blur(3px);text-align:center}
#start{background:radial-gradient(130% 55% at 50% 0%,#12304f 0%,var(--dark) 70%) var(--dark);backdrop-filter:none} /* the home screen is the brand's dark with a faint blue glow at the top, not the game showing through */
.menu{display:flex;flex-direction:column;align-items:center;gap:18px;width:100%;max-width:360px;margin:auto;
  padding:max(18px,env(safe-area-inset-top,0px)) 0 max(18px,env(safe-area-inset-bottom,0px))}
/* The logo: the two phones over "videochat" and ".games", stacked, cut from the brand sheet (scripts/logo.py). */
h1{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0;line-height:0}
#start h1{margin-top:22px} /* room above the logo, under the top bar (2026-11-17, the user's ask: "give more top margin above the logo") */
h1 .logo{height:min(62px,16vw);width:auto}
/* humans.racing's header (2026-11-20): the name in the circuit intro's heavy italic, gold, over "Around The Globe" */
.racing-site h1{line-height:1;gap:2px}
.racing-name{font:italic 900 clamp(30px,9vw,46px)/1 Rubik,system-ui,sans-serif;color:#f8d020;letter-spacing:.01em;-webkit-text-stroke:1.5px #0b1d30;text-shadow:0 3px 0 #0b1d30}
.racing-sub{font:italic 800 clamp(14px,4vw,18px)/1.2 Rubik,system-ui,sans-serif;color:#fff7ec;letter-spacing:.12em;text-transform:uppercase} /* the phones left of "videochat" over ".games" (917x240; 2026-11-17, the user's ask: less vertical space) */
/* Faces are the top layer of every screen: their own canvas over the whole page, touches
   passing through. A .faces-row holds the room for a row of them; render.js sizes it. */
#faces{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:7}
.faces-row{display:block;flex:none}
button{font-family:var(--display);font-weight:700;font-size:26px;letter-spacing:0;color:var(--stone);background:var(--blue);border:0;border-radius:999px;
  padding:14px 44px;box-shadow:0 5px 0 var(--blue-edge);cursor:pointer}
button:active{transform:translateY(3px);box-shadow:0 2px 0 var(--blue-edge)}
button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
button.ghost{font-size:18px;padding:10px 26px;background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
button.ghost:active{transform:none;box-shadow:inset 0 0 0 2px var(--blue)}
.icon{width:1.25em;height:1.25em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.note{font-size:13px;opacity:.7;max-width:290px;line-height:1.4}
/* No longer shown (2026-11-16): sideways games on an upright phone are drawn turned instead (turn.js). */
#turn{background:var(--dark);backdrop-filter:none;z-index:4}
#turnText{font-family:var(--display);font-weight:700;font-size:clamp(32px,9vw,48px);margin:0;color:var(--accent);text-wrap:balance}
.phone{width:96px;height:96px;fill:none;stroke:var(--ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;
  animation:turn-phone 2.4s ease-in-out infinite}
@keyframes turn-phone{0%,25%{transform:rotate(0)}55%,85%{transform:rotate(-90deg)}100%{transform:rotate(0)}}
@media (prefers-reduced-motion:reduce){.phone{animation:none;transform:rotate(-90deg)}}
#winner{font-family:var(--display);font-weight:700;font-size:clamp(38px,11vw,60px);margin:0;color:var(--ink)}
/* Road Race's final results (2026-11-19, the user: "a better end game screen. like a mario kart style end game and rankings"; the
   look is Claude's DRAFT): the circuit's name, then a row a racer, best first, sliding in from the right one after another: a
   place badge (gold, silver, bronze), the face (drawn on the faces canvas over .spot), the name, the gap to the winner, the total time. */
.ranks{display:flex;flex-direction:column;align-items:center;gap:6px;width:min(100%,460px);overflow:hidden;padding:2px 0}
.ranks-cup{margin:0;font:italic 900 clamp(28px,9vw,44px)/1 var(--display);color:var(--accent);text-shadow:0 3px 0 rgba(0,0,0,.5)}
.ranks-title{margin:0;font:800 13px/1 var(--display);letter-spacing:.16em;text-transform:uppercase;color:rgba(255,247,236,.75)}
#ranksList{list-style:none;margin:8px 0 0;padding:0 2px;width:100%;box-sizing:border-box;display:flex;flex-direction:column;gap:5px}
.rank{--h:clamp(34px,6.2vh,52px);display:flex;align-items:center;gap:9px;height:var(--h);padding:0 14px 0 5px;border-radius:calc(var(--h) / 2);
  background:rgba(30,36,70,.96);font:700 17px/1 var(--display);color:var(--ink);
  animation:rank-in .5s cubic-bezier(.2,.9,.3,1) both;animation-delay:calc(var(--k) * 110ms + 300ms)}
.rank .pos{flex:none;width:calc(var(--h) - 10px);height:calc(var(--h) - 10px);border-radius:50%;display:grid;place-items:center;
  font-weight:900;font-size:calc(var(--h) * .42);background:rgba(255,255,255,.14)}
.rank.r1 .pos{background:linear-gradient(#fff27a,#ffb800);color:#3a2a00}
.rank.r2 .pos{background:linear-gradient(#fff,#9fb6cc);color:#1c2a3a}
.rank.r3 .pos{background:linear-gradient(#ffd2a0,#d0742c);color:#3a1c00}
.rank .spot{flex:none;width:calc(var(--h) - 6px);height:calc(var(--h) - 6px);border-radius:50%}
.rank .who{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.rank .gap{flex:none;font-size:13px;opacity:.7;font-variant-numeric:tabular-nums}
.rank .time{flex:none;font-weight:800;font-variant-numeric:tabular-nums}
.rank.r1{background:linear-gradient(90deg,rgba(122,94,8,.97),rgba(58,46,12,.97));box-shadow:inset 0 0 0 2px var(--accent)}
.rank.me .who,.rank.me .time{color:var(--accent)}
@keyframes rank-in{from{transform:translateX(105%);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.rank{animation:none}}
#over.ranked .menu{max-width:460px;gap:12px}
#over.ranked #winner{font-size:clamp(24px,7.5vw,38px)}
/* Personal bests (2026-11-16): a line under the winner; beaten, a yellow badge that pops in and glows. */
#best{margin:0;font:700 18px/1.2 var(--display);color:rgba(255,247,236,.85);text-align:center}
#best.cheer{padding:8px 18px;border-radius:999px;background:var(--accent);color:var(--stone);font-size:22px;
  animation:best-pop .6s cubic-bezier(.2,1.6,.4,1) both,best-glow 1.6s ease-in-out .6s 3}
@keyframes best-pop{from{transform:scale(.3);opacity:0}to{transform:none;opacity:1}}
@keyframes best-glow{50%{box-shadow:0 0 0 8px rgba(248,208,32,.25),0 0 24px rgba(248,208,32,.6)}}
@media (prefers-reduced-motion:reduce){#best.cheer{animation:none}}
.info .best{margin:-4px 0 0;font:700 16px/1.3 var(--body);color:var(--accent)}
.info .times{margin:-4px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px;font:600 15px/1.3 var(--body);color:var(--ink)} /* a best time per race (2026-11-16) */
.info .times .head{font-weight:700;color:var(--accent)}
#listen{position:absolute;left:50%;bottom:max(24px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:5;
  font-size:20px;padding:12px 28px;white-space:nowrap}
#listen:active{transform:translateX(-50%) translateY(3px)}
#lost{position:absolute;left:50%;top:max(14px,env(safe-area-inset-top,0px));transform:translateX(-50%);z-index:5;
  padding:6px 14px;border-radius:999px;background:rgba(180,40,40,.85);font-weight:700;font-size:14px;white-space:nowrap;pointer-events:none}
:root{--good:var(--green)}
/* Section headings on the home screen (2026-11-13): what to do first, then the games, both 28px (the user's call). */
.menu h2{margin:0 0 -4px;font:700 19px/1.2 var(--display);color:var(--ink);text-wrap:balance}
.menu h2.pick{font-size:28px}
.menu h2.pick{margin-top:24px}
/* Room under the games and under Send feedback (the user's call, 2026-11-13). */
.games{margin-bottom:26px}
#feedback,#feedbackForm{margin-bottom:26px}
/* The steps (Mike's words and ask, 2026-11-16): one blue box under the faces, three numbered lines with
   the actions as small buttons in them, the games under it. The camera and microphone buttons: off, a
   yellow ring breathing gently so a newcomer sees what to tap first; on, green with a check (the user's
   calls, 2026-11-13); for a few seconds after a failed start, red with the reason. The invite is green. */
:root{--good:var(--green)}
.steps{width:100%;box-sizing:border-box;padding:14px 12px 16px 12px;border-radius:20px;background:rgba(63,169,245,.2);
  box-shadow:inset 0 0 0 2.5px var(--blue);text-align:left}
.steps .howto{margin:0 0 10px;font:700 19px/1.2 var(--display);color:var(--ink);text-wrap:balance}
.steps ol{margin:0;padding:0 0 0 22px;display:flex;flex-direction:column;gap:12px;font:600 17px/1.3 var(--body);color:var(--ink)}
.steps li{padding-left:2px;line-height:36px}
.steps li::marker{font:700 18px var(--display);color:var(--blue)}
.steps .paused{margin:2px 0 0;font:600 14px/1.3 var(--body);color:#ffb3a8}
.steps .paused[hidden]{display:none}
.chip{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;margin:0 1px;padding:5px 10px 5px 7px;border-radius:999px;
  font-size:15px;line-height:1.1;white-space:nowrap;box-shadow:0 3px 0 var(--blue-edge)}
.chip .icon{width:19px;height:19px;flex:none}
.chip:active{transform:translateY(2px);box-shadow:0 1px 0 var(--blue-edge)}
.chip.toggle{background:rgba(248,208,32,.18);color:var(--ink);box-shadow:inset 0 0 0 2px var(--accent);animation:nudge 2.6s ease-in-out infinite}
.chip.toggle .icon:not(.check){color:var(--accent)}
.chip.toggle:active{transform:none;background:rgba(248,208,32,.32)}
.chip.toggle .check{display:none;width:16px;height:16px;padding:2px;border-radius:50%;background:var(--good);color:var(--dark);stroke-width:3;box-sizing:border-box}
.chip.toggle.on{background:#16290f;box-shadow:inset 0 0 0 2px var(--good);animation:none}
.chip.toggle.on .icon:not(.check){color:var(--good)}
.chip.toggle.on .check{display:block}
.chip.toggle.note{background:#3a1414;box-shadow:inset 0 0 0 2px #ff8a7a;animation:none;font-size:14px;white-space:normal}
.chip.invite{background:var(--green);color:#132a08;box-shadow:0 3px 0 var(--green-edge)}
.chip.invite:active{box-shadow:0 1px 0 var(--green-edge)}
.chip.invite:disabled{background:rgba(255,255,255,.14);color:var(--ink);box-shadow:none;cursor:default}
@keyframes nudge{0%,100%{box-shadow:inset 0 0 0 2px var(--accent),0 0 0 0 rgba(248,208,32,0)}50%{box-shadow:inset 0 0 0 2px var(--accent),0 0 0 5px rgba(248,208,32,.2)}}
@media (prefers-reduced-motion:reduce){.chip.toggle{animation:none}}
/* In the steps box the camera, mic and invite are links in the sentence, not buttons (the user, 2026-11-17: "just
   text with blue color and underline"): no pill, no icon; a tick after camera or mic once it's on. */
.steps .chip,.steps .chip.toggle,.steps .chip.invite,.steps .chip.toggle.on,.steps .chip.toggle.note{display:inline;padding:0;margin:0;border-radius:0;
  background:none;box-shadow:none;animation:none;font:inherit;line-height:inherit;color:var(--blue);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px;vertical-align:baseline}
.steps .chip:active,.steps .chip.toggle:active,.steps .chip.invite:active{transform:none;box-shadow:none;background:none;opacity:.7}
.steps .chip .icon:not(.check){display:none}
.steps .chip span{display:inline}
.steps .chip.toggle.on .check{display:inline-block;vertical-align:-3px;margin-left:4px}
.steps .chip.toggle.note{color:#ff8a7a}
.steps .chip.invite:disabled{color:var(--ink);text-decoration:none;opacity:.8}
/* Your name (2026-11-13, the user's design): drawn under your face in the faces row, "Mike" with a
   pencil over "(You)"; this see-through button covers your face and name to open the box. */
#barFaces{position:relative}
.name-hit{position:absolute;padding:0;margin:0;background:transparent;box-shadow:none;border-radius:16px}
.name-hit:active{transform:none;box-shadow:none;background:rgba(63,169,245,.15)}
/* The pitch under the logo (2026-11-13, the user's ask: inviting friends
   must be obvious, and so must the video chat that sets this apart). */
.tagline{margin:-6px 0 0;max-width:320px;font:500 16px/1.35 var(--body);color:rgba(255,255,255,.82);text-wrap:balance}
.tagline b{color:var(--accent);font-weight:700}
/* A room's link without its key (main.js showOldLink): a small card under the tagline, once per room. */
.oldlink{position:relative;max-width:340px;margin:2px auto 0;padding:12px 38px 12px 14px;border-radius:16px;background:rgba(248,208,32,.12);border:2px solid var(--accent);text-align:center}
.oldlink[hidden]{display:none}
.oldlink p{margin:0 0 8px;font:600 15px/1.35 var(--body);color:var(--ink)}
.oldlink p.small{margin:8px 0 0;font-size:13px;opacity:.8}
.oldlink #oldLinkNew{font-size:17px;padding:8px 18px}
.oldlink #oldLinkShut{position:absolute;top:4px;right:4px;width:32px;height:32px;padding:0;font-size:16px;background:none;color:var(--ink);box-shadow:none}
.tagline .lead{display:block;margin-bottom:5px;font:700 19px/1.25 var(--display);color:var(--ink)} /* the headline; the sentence under it explains */
/* Typing your own name: the name button turns into this box and a Save button. */
.name-form{display:flex;gap:8px;align-items:stretch;width:min(300px,100%);margin-top:-8px}
.name-form input{flex:1;min-width:0;font:600 17px var(--body);padding:8px 16px;border-radius:999px;border:0;
  background:var(--panel);color:var(--ink);box-shadow:inset 0 0 0 2px rgba(255,247,236,.5)}
.name-form input:focus{outline:none;box-shadow:inset 0 0 0 2px var(--blue)}
.name-form button{padding:8px 18px;font-size:17px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Always there in a game, top left: back to the home screen in one tap. Right up in the corner
   (the user's ask, 2026-11-14: it sat low): it used to keep below the phone's reported safe area,
   which in fullscreen is the camera's cutout, but that's at the top center, so the corner is free. */
#back{position:absolute;z-index:6;top:8px;left:max(10px,env(safe-area-inset-left,0px));
  width:46px;height:46px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;
  background:rgba(12,24,40,.7);color:var(--ink);box-shadow:inset 0 0 0 2px rgba(255,247,236,.7)}
#back .icon{width:26px;height:26px;stroke-width:2.6}
#back:active{transform:none;background:rgba(12,24,40,.95)}
/* The games: two tiles a row, more rows as games are added. Icon above the name. */
.games{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:row dense;gap:12px;width:min(340px,100%)}
/* Each tile is a picture of its game (img/games/*.svg, 2026-11-13), its name on a shade along the bottom. */
.games > button{position:relative;display:block;padding:0;aspect-ratio:4/3;overflow:hidden;border-radius:18px;background:#222;
  box-shadow:0 4px 0 #000,inset 0 0 0 2px rgba(255,255,255,.12)}
.games > button:active{transform:translateY(3px);box-shadow:0 1px 0 #000}
.games .art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.games > button > span{position:absolute;left:0;right:0;bottom:0;padding:22px 6px 8px;font-size:19px;line-height:1.05;color:#fff;
  text-shadow:0 2px 0 rgba(0,0,0,.55);background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.72) 55%);text-wrap:balance}
.games > button::after{position:absolute;top:7px;right:7px;font-family:var(--body);font-weight:700;font-size:11px;text-transform:uppercase;
  letter-spacing:.06em;line-height:1}
.games > button.live{box-shadow:0 4px 0 #000,inset 0 0 0 3px var(--accent)}
.games > button.live::after{content:"on now";padding:5px 8px;border-radius:999px;background:var(--accent);color:var(--stone)}
/* The home screen's sticky face bar (2026-11-16): over the top of the menu once the faces row has scrolled
   away; the faces themselves are drawn on the faces canvas, over it. */
#facebar{position:absolute;z-index:3;top:0;left:0;right:0;display:flex;justify-content:center;align-items:center;
  padding:max(10px,env(safe-area-inset-top,0px)) 16px 6px;border-radius:0;background:#101a26;
  box-shadow:0 2px 0 rgba(63,169,245,.35),0 6px 14px rgba(0,0,0,.45);animation:bar-in .25s ease-out}
#facebar:active{transform:none}
#facebar{flex-direction:column;gap:4px}
/* Since 2026-11-17 (the user's ask) the bar is always there on the home screen, and the faces live in it:
   "Players:", the faces, and an empty seat with the green invite (the 2026-11-13 design, back). */
#facebar .bar-row{display:flex;align-items:flex-start;gap:10px;width:100%}
/* Since 2026-11-17 (the user's ask): "Players:" above the faces, with the mic and camera beside it. Off: grey
   with a red slash; on: green. */
#facebar .bar-top{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px}
#facebar .players{flex:none;font:700 15px var(--display);color:var(--ink)}
#facebar .bar-av{display:flex;gap:8px}
#facebar .av{position:relative;width:46px;height:36px;padding:0;border-radius:18px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.1);color:var(--ink);box-shadow:inset 0 0 0 2px rgba(255,255,255,.25)}
#facebar .av:active{transform:none;background:rgba(255,255,255,.2)}
#facebar .av .icon{width:22px;height:22px}
#facebar .av .slash{position:absolute;inset:0;margin:auto;color:#ff6a5a;stroke-width:2.6}
#facebar .av.on{background:#16290f;color:var(--good);box-shadow:inset 0 0 0 2px var(--good)}
#facebar .av.on .slash{display:none}
#facebar .av:disabled{opacity:.6}
#barSlot{flex:1;min-width:0;display:flex;justify-content:flex-start;align-items:flex-start;gap:8px}
.seats{flex:none;position:relative;width:64px;height:64px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:50%}
.seats[hidden]{display:none}
.seats.big{border:2.5px dashed rgba(255,255,255,.4);background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.07),rgba(255,255,255,0) 70%)}
.seats button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:0;border-radius:50%;
  width:86%;height:86%;font:700 10px/1.05 var(--display);background:var(--green);color:#132a08;box-shadow:0 3px 0 var(--green-edge)}
.seats button:active{box-shadow:0 1px 0 var(--green-edge)}
.seats button .icon{width:20px;height:20px}
.seats button span{max-width:48px;text-wrap:balance}
#barStatus{font:700 14px/1.2 var(--body);color:var(--accent);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* A game you're playing alone, waiting for you on the home screen (2026-11-17): back to it, or stop it. */
.solo-now{width:min(420px,100%);box-sizing:border-box;margin:4px auto 10px;padding:12px 14px;border-radius:16px;background:var(--panel);
  box-shadow:inset 0 0 0 2px var(--accent);display:flex;flex-direction:column;gap:10px;align-items:center}
.solo-now[hidden]{display:none}
.solo-now p{margin:0;font:700 17px/1.25 var(--body);color:var(--ink);text-align:center}
.solo-now .solo-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.solo-now button{font-size:18px;padding:9px 20px}
.solo-now button.ghost.sure{background:#e8322b;color:#fff;box-shadow:none}
/* Starting a game with friends (2026-11-16): a sheet at the bottom, under the faces layer (z 7). */
#gather{position:fixed;z-index:6;left:0;right:0;bottom:0;display:flex;justify-content:center;pointer-events:none}
#gather .sheet{pointer-events:auto;width:min(420px,100%);box-sizing:border-box;margin:0 auto;padding:14px 16px max(14px,env(safe-area-inset-bottom,0px));
  border-radius:22px 22px 0 0;background:var(--panel);box-shadow:0 -2px 0 var(--blue),0 -8px 24px rgba(0,0,0,.5);
  display:grid;grid-template-columns:72px 1fr;gap:6px 12px;align-items:center;animation:sheet-in .25s ease-out}
#gather .art{width:72px;height:54px;border-radius:10px;object-fit:cover;grid-row:span 2}
#gather h2{margin:0;font:700 19px/1.2 var(--display);color:var(--ink);text-wrap:balance}
#gather .rules{margin:0;padding:0 0 0 18px;font:500 14px/1.3 var(--body);color:rgba(255,247,236,.85)}
#gather .rules:empty,#gatherWho:empty{display:none}
#gatherWho{margin:0;grid-column:1/-1;font:600 14px/1.4 var(--body);color:rgba(255,247,236,.85);white-space:pre-wrap}
#gather .gather-buttons{grid-column:1/-1;display:flex;gap:10px}
#gather .gather-buttons button{flex:1;font-size:22px;padding:10px 12px}
#gather .gather-buttons button.ghost{flex:0 0 auto;font-size:17px}
#gather .timer{grid-column:1/-1;height:5px;border-radius:3px;background:rgba(255,255,255,.12);overflow:hidden}
#gather .timer i{display:block;height:100%;width:100%;background:var(--accent);transition:width .1s linear}
@keyframes sheet-in{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){#gather .sheet{animation:none}}
.info .play:disabled{background:rgba(255,255,255,.14);color:var(--ink);box-shadow:none;font-size:18px;opacity:1}
#facebar .faces-row{margin:0}
@keyframes bar-in{from{transform:translateY(-100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){#facebar{animation:none}}
/* The games in categories (MENU in config.js, 2026-11-16): a heading and a grid each. */
.game-list{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%}
.game-list h2.pick{font-size:24px;margin-top:18px}
.game-list .games{margin-bottom:0}
.game-list .games:last-child{margin-bottom:26px}
.games > button[aria-expanded="true"]{box-shadow:0 4px 0 #000,inset 0 0 0 3px var(--blue)}
/* A game's panel: a tile tapped opens it on the row under it, with the rules box's lines, the game's
   options if any, and Play. */
.games .info{grid-column:1/-1;display:flex;flex-direction:column;gap:12px;padding:14px 16px 16px;border-radius:20px;
  background:var(--panel);box-shadow:inset 0 0 0 2px var(--blue);text-align:left}
.info h3{margin:0;font:700 22px/1.15 var(--display);color:var(--accent)}
.info .rules{margin:0;padding:0 0 0 20px;display:flex;flex-direction:column;gap:6px;font:500 17px/1.35 var(--body);color:var(--ink)}
.info .options{display:flex;flex-wrap:wrap;gap:8px}
.info .choice{flex:1 1 auto;font-size:16px;padding:9px 14px;background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px rgba(255,255,255,.45)}
.info .choice[aria-pressed="true"]{background:var(--accent);color:var(--stone);box-shadow:none}
.info .choice:active{transform:none}
.info .play{align-self:stretch;font-size:24px;padding:10px 20px}
.info .circuits{display:grid;grid-template-columns:1fr 1fr;gap:10px}
/* Downhill's circuits: a row under its tile, shown by tapping it (main.js fills it in). */
.games .circuits{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px;border-radius:22px;box-shadow:inset 0 0 0 2px var(--blue)}
.games .circuits p{grid-column:1/-1;margin:0;text-align:center;font-weight:700;font-size:14px;color:var(--ink)}
/* Each circuit is a picture tile like the games' (img/games/circuit1.svg, circuit2.svg: its four looks), name and races along the bottom. */
.games .circuits button{position:relative;display:block;padding:0;aspect-ratio:4/3;overflow:hidden;border-radius:16px;background:#222;
  box-shadow:0 4px 0 #000,inset 0 0 0 2px rgba(255,255,255,.12)}
.games .circuits button:active{transform:translateY(3px);box-shadow:0 1px 0 #000}
.games .circuits button > span{position:absolute;left:0;right:0;bottom:0;padding:18px 4px 6px;font-size:17px;line-height:1.05;color:#fff;
  text-shadow:0 2px 0 rgba(0,0,0,.55);background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.78) 45%)}
.games .circuits small{display:block;margin-top:3px;font-family:var(--body);font-weight:600;font-size:11px;line-height:1.25}
.games button.soon::after{content:"soon"}
.games button.soon{background:transparent;color:var(--ink);opacity:.45;box-shadow:inset 0 0 0 2px rgba(255,247,236,.5);cursor:default}
@media (max-height:700px){.menu{gap:12px}h1 .logo{height:54px}} /* fit the faces and every button on short screens */

/* The game-over screen on a phone held sideways (after a sideways game): the faces in one row,
   the winner under them, and both buttons side by side, so nothing is below the fold (the user's call). */
@media (orientation:landscape) and (max-height:540px){
  #over .menu{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;max-width:min(760px,100%);
    padding:max(8px,env(safe-area-inset-top,0px)) 0 max(8px,env(safe-area-inset-bottom,0px))}
  #over #winner{flex-basis:100%;font-size:clamp(26px,9vh,38px);line-height:1.1}
  #over button{font-size:20px;padding:9px 30px;box-shadow:0 4px 0 var(--blue-edge)}
  #over button.ghost{font-size:16px;padding:9px 22px;box-shadow:inset 0 0 0 2px var(--ink)}
}
/* The same on an upright phone whose game layer is turned for a sideways game (turn.js): the media query sees an upright screen. */
html.turned #over .menu{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;max-width:min(760px,100%);padding:8px 0}
html.turned #over #winner{flex-basis:100%;font-size:clamp(26px,9vw,38px);line-height:1.1}
html.turned #over button{font-size:20px;padding:9px 30px;box-shadow:0 4px 0 var(--blue-edge)}
html.turned #over button.ghost{font-size:16px;padding:9px 22px;box-shadow:inset 0 0 0 2px var(--ink)}

/* Opened inside another app's browser, where cameras often fail: how to get out, on the home screen only then. */
.inapp{display:flex;flex-direction:column;align-items:center;gap:10px;width:min(320px,100%);padding:14px 16px;border-radius:16px;
  background:#2a1220;box-shadow:inset 0 0 0 2px #ff8a7a;box-sizing:border-box}
.inapp p{margin:0;font-size:15px;line-height:1.4}
.inapp button{font-size:19px;padding:10px 26px}
.inapp button.ghost{font-size:16px;padding:8px 20px}
/* Send feedback (2026-11-13): a quiet button under the game tiles that opens a box to type in,
   an optional email for a reply, and Send. Then Privacy and Terms, small, at the very bottom. */
button.small{display:flex;align-items:center;gap:8px;font-size:16px;padding:8px 20px;opacity:.85}
.feedback-form{display:flex;flex-direction:column;gap:10px;width:min(320px,100%)}
.feedback-form textarea,.feedback-form input{font:500 16px/1.4 var(--body);padding:10px 14px;border-radius:14px;border:0;
  background:var(--panel);color:var(--ink);box-shadow:inset 0 0 0 2px rgba(255,247,236,.5);resize:vertical;
  -webkit-user-select:text;user-select:text}
.feedback-form input{border-radius:999px}
.feedback-form textarea:focus,.feedback-form input:focus{outline:none;box-shadow:inset 0 0 0 2px var(--blue)}
.feedback-form .note{margin:0;align-self:center}
.feedback-form h2{margin:0;font-size:22px}
.feedback-form .sub{margin:-6px 0 2px;font-size:15px;line-height:1.4;opacity:.8;text-wrap:balance}
.feedback-form .trap{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.feedback-buttons{display:flex;gap:10px;justify-content:center}
.feedback-buttons button{padding:8px 22px;font-size:17px}
#feedbackSend{background:var(--blue);color:var(--stone);box-shadow:none}
#feedbackDone{margin:0}
.legal{display:flex;gap:8px;font-size:13px;opacity:.6}
.legal a{color:var(--ink);text-decoration:none;padding:4px}
.legal a:active{color:var(--accent)}

/* A room that won't have you (full, or its link expired), over everything, with a way to start fresh. */
#shut{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  padding:24px;background:#121212;color:var(--ink);text-align:center}
#shut[hidden]{display:none}
#shut h2{margin:0;font-size:30px}
#shut p{margin:0;max-width:320px;font-size:17px;line-height:1.4;opacity:.85}
#shut button{font-size:20px;padding:12px 28px;margin-top:8px}
/* Camera or microphone blocked in the browser's settings (2026-11-14, the user's ask: undoing a
   "Never allow" was a pain): a sheet from the bottom with the steps for this phone's browser. */
#unblock{position:fixed;inset:0;z-index:55;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.6)}
#unblock[hidden]{display:none}
#unblock .sheet{width:min(440px,100%);padding:22px 20px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;
  background:#1d2230;color:var(--ink);display:flex;flex-direction:column;gap:12px;box-shadow:0 -6px 30px rgba(0,0,0,.5)}
#unblock h2{margin:0;font-size:24px;text-align:center}
#unblock p{margin:0;font-size:16px;line-height:1.4;opacity:.85;text-align:center}
#unblock ol{margin:0;padding:12px 14px 12px 36px;border-radius:16px;background:rgba(255,255,255,.07);font-size:17px;line-height:1.45}
#unblock li+li{margin-top:6px}
#unblock b{color:var(--accent)}
#unblock button{font-size:20px;padding:12px 20px}
#unblock button.ghost{font-size:16px;padding:8px 20px}
/* "Sam joined": a pill at the top for a few seconds, on every screen. */
#arrived{position:fixed;z-index:55;left:50%;top:max(64px,calc(env(safe-area-inset-top,0px) + 54px));transform:translateX(-50%);
  padding:8px 18px;border-radius:999px;background:rgba(18,18,18,.88);color:#fff7ec;font:700 17px Rubik,system-ui,sans-serif;
  box-shadow:0 0 0 2px #f8d020;pointer-events:none;white-space:nowrap}
#arrived[hidden]{display:none}

/* App feel (2026-11-16, Mike's "more app like"; additive): no grey flash on a tapped control, no double-tap
   zoom on controls or the menus, the menus' scroll doesn't drag the page, pictures can't be dragged or
   long-pressed for "Save image", the tiles' picture passes the tap to its tile. */
html{background:var(--dark)}
body{-webkit-tap-highlight-color:transparent}
button,.overlay{touch-action:manipulation}
.overlay{overscroll-behavior:contain}
img{-webkit-user-drag:none}
.games .art{pointer-events:none}
.info .choice:active,.info .play:active{filter:brightness(1.12)}
/* A game's panel slides open (closing is instant: a hidden element can't animate out without script). */
.games .info:not([hidden]){animation:info-in .2s ease-out}
@keyframes info-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.games .info:not([hidden]){animation:none}}
/* Notched phones held sideways: the sticky bar and the join sheet keep clear of the side cut-outs. */
#facebar{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
#gather .sheet{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
/* Today's tracks (docs/DAILY.md, dailyUI.js; 2026-11-16): in Road Race's panel, its own button under Play,
   your best today, and the day's boards (First run, Best, This room); on the game-over screen, my run
   and where it stands; and the question about showing a name. */
.info .daily{display:flex;flex-direction:column;gap:10px;margin-top:2px;padding-top:12px;border-top:1px solid rgba(255,255,255,.16)}
.info .daily .best{margin:0}
.daily-note{margin:0;font:500 14px/1.3 var(--body);color:rgba(255,255,255,.75)}
.board{display:flex;flex-direction:column;gap:8px;text-align:left}
.board h4{margin:4px 0 0;font:700 18px/1.2 var(--display);color:var(--accent)}
.board-tabs{display:flex;gap:6px}
.info .board-tabs .choice{flex:1 1 0;font-size:14px;padding:8px 4px;white-space:nowrap}
.info .board-tabs .choice[aria-selected="true"]{background:var(--accent);color:var(--stone);box-shadow:none}
.board-note,.board-you{margin:0;font:500 15px/1.35 var(--body);color:rgba(255,255,255,.8)}
.board-you{font-weight:700;color:var(--accent)}
.board-rows{width:100%;border-collapse:collapse;font:600 15px/1.2 var(--body);font-variant-numeric:tabular-nums}
.board-rows th{font:700 11px/1 var(--body);text-transform:uppercase;color:rgba(255,255,255,.6);padding:0 2px 5px;text-align:right}
.board-rows td{padding:5px 2px;text-align:right;border-top:1px solid rgba(255,255,255,.1)}
.board-rows .place{width:24px;text-align:center;color:rgba(255,255,255,.75)}
.board-rows td.who{text-align:left;max-width:0;width:99%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.board-rows .time{font-weight:700;padding-left:8px}
.board-rows .n{width:44px;color:rgba(255,255,255,.8)}
.board-rows tr.you td{color:var(--accent)}
.board-rows tr.gap td{text-align:center;border-top:0;padding:0;color:rgba(255,255,255,.5)}
.daily-over{display:flex;flex-direction:column;align-items:center;gap:6px;flex-basis:100%;width:min(320px,100%);padding:12px 14px;border-radius:16px;background:rgba(20,35,58,.9);box-shadow:inset 0 0 0 2px rgba(248,208,32,.5)}
.daily-over p{margin:0}
.daily-title{font:700 20px/1.2 var(--display);color:var(--accent)}
.daily-splits{list-style:none;margin:0;padding:0;width:100%;font:500 15px/1.3 var(--body);font-variant-numeric:tabular-nums}
.daily-splits li{display:flex;justify-content:space-between;gap:12px}
.daily-counts{font:600 15px/1.3 var(--body);color:rgba(255,255,255,.85)}
.daily-ranks{font:700 16px/1.3 var(--body);color:var(--ink);white-space:pre-line}
.daily-ranks:empty,.daily-ask:empty{display:none}
.daily-ask{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;padding-top:6px;border-top:1px solid rgba(255,255,255,.16)}
.daily-asked,.bname-line{font:600 15px/1.3 var(--body);color:var(--ink);margin:0}
.bname{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}
.bname-row{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.bname .choice{font-size:15px;padding:8px 12px;background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px rgba(255,255,255,.45)}
.bname .choice:active{transform:none;filter:brightness(1.12)}
.bname .name-form{margin-top:0}
.bname-note{margin:0;font:700 14px/1.2 var(--body);color:#ff9d7a}
.board-name{display:flex;flex-direction:column;align-items:center;gap:8px;width:min(320px,100%);margin-top:-6px}

/* Phone Band: the video you just recorded (2026-11-17, bandRec.js): the video beside its buttons when the
   game layer is wide (it always is in Phone Band), stacked when it's tall. Over the faces layer: the faces are in the video. */
/* The game-over screen's close button, top right (Phone Band only, 2026-11-17). */
.over-x{display:none}
#over.closable .over-x{display:block;position:absolute;z-index:2;top:max(10px,env(safe-area-inset-top,0px));right:max(12px,env(safe-area-inset-right,0px));
  width:48px;height:48px;padding:0;border-radius:50%;font:400 34px/46px var(--body);color:var(--ink);background:rgba(255,255,255,.14);box-shadow:none}
#clip{position:absolute;inset:0;z-index:56;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.72);
  padding:max(8px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));box-sizing:border-box}
#clip[hidden]{display:none}
#clip .sheet{position:relative;width:min(780px,100%);max-height:100%;overflow:auto;box-sizing:border-box;padding:14px;border-radius:20px;background:#1d2230;color:var(--ink);
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;align-items:center;box-shadow:0 6px 30px rgba(0,0,0,.5)}
/* Close, top right of the box (2026-11-17, Mike's ask), over the video's corner when side by side. */
#clip .clip-x{position:absolute;z-index:1;top:8px;right:8px;width:40px;height:40px;padding:0;border-radius:50%;font:400 30px/38px var(--body);color:var(--ink);background:rgba(0,0,0,.55);box-shadow:none}
#clip .clip-x.sure{background:#e8322b;color:#fff}
#clip h2{padding-right:40px}
#clip video{width:100%;aspect-ratio:2/1;object-fit:contain;background:#000;border-radius:12px}
#clip .side{display:flex;flex-direction:column;gap:9px;min-width:0}
#clip h2{margin:0;font:700 22px/1.2 var(--display)}
#clip p{margin:0;font:500 14px/1.35 var(--body);color:rgba(255,247,236,.85)}
#clip p:empty{display:none}
#clip button{font-size:20px;padding:9px 16px}
#clip button.ghost{font-size:15px;padding:8px 14px}
#clip button.gone{font-size:14px;padding:6px 12px;color:#ff8a80;box-shadow:inset 0 0 0 2px rgba(255,138,128,.6)}
#clip button[hidden]{display:none}
#clip .row{display:flex;gap:8px}
#clip .row button{flex:1}
#clip .link-row{display:flex;gap:8px;align-items:center}
#clip .link-row[hidden]{display:none}
/* Get Sharable Link: the share icon (three dots joined) before the words (Mike, 2026-11-17). */
#clipShare{display:flex;align-items:center;justify-content:center;gap:9px}
#clipShare .share-ic{width:22px;height:22px;flex:none;fill:currentColor;stroke:currentColor;stroke-width:2;stroke-linecap:round}
/* Phone Band's Exit box (2026-11-17): asks first; as #clip's, smaller. */
#bandExit{position:absolute;inset:0;z-index:57;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.72);padding:12px;box-sizing:border-box}
#bandExit[hidden]{display:none}
#bandExit .sheet{position:relative;width:min(420px,100%);box-sizing:border-box;padding:18px;border-radius:20px;background:#1d2230;color:var(--ink);display:flex;flex-direction:column;gap:10px;box-shadow:0 6px 30px rgba(0,0,0,.5)}
#bandExit .clip-x{position:absolute;top:8px;right:8px;width:40px;height:40px;padding:0;border-radius:50%;font:400 30px/38px var(--body);color:var(--ink);background:rgba(0,0,0,.55);box-shadow:none}
#bandExit h2{margin:0;padding-right:40px;font:700 22px/1.2 var(--display)}
#bandExit p{margin:0;font:500 15px/1.35 var(--body);color:rgba(255,247,236,.85)}
#bandExit button{font-size:20px;padding:9px 16px}
#bandExit button.gone{font-size:16px;padding:8px 14px;color:#ff8a80;box-shadow:inset 0 0 0 2px rgba(255,138,128,.6)}
#bandExit button[hidden]{display:none}
/* Phone Band's panel: "Your songs" (2026-11-17), the songs saved on this phone, a row each. */
.info .songs{display:flex;flex-direction:column;gap:6px}
.info .songs[hidden]{display:none}
.info .songs h4{margin:4px 0 0;font:700 17px/1.2 var(--display)}
.info .song{display:flex;gap:6px}
.info .song .open{flex:1;min-width:0;text-align:left;font-size:17px;padding:9px 14px;background:rgba(255,255,255,.12);color:var(--ink);box-shadow:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.info .song .del{flex:none;min-width:44px;font-size:20px;padding:6px 10px;background:rgba(255,255,255,.08);color:var(--ink);box-shadow:none}
.info .song .del.sure{background:#e8322b;color:#fff;font-size:15px}
@media (max-aspect-ratio:1/1){html:not(.turned) #clip .sheet{grid-template-columns:minmax(0,1fr)}}
#clip .link-row input{flex:1;min-width:0;font:500 14px var(--body);color:var(--ink);background:rgba(255,255,255,.08);border:0;border-radius:10px;padding:9px 10px;-webkit-user-select:text;user-select:text}

/* ---- Humans Racing's menus (humans.racing only, 2026-11-20; docs/HUMANS-RACING-MENUS.md; the look Claude's draft) ----
   On that site the home screen's own parts are hidden and #hr shows a screen at a time: Back top left, the screen's
   name in the intro's heavy italic, big cards, one big button at the bottom. Screens slide in from the right going
   forward and from the left going back. */
.racing-site #start{background:radial-gradient(120% 60% at 50% 0%,#1b4f9a 0%,#0e1f45 45%,#070b18 100%) #070b18}
.racing-site #start h1,.racing-site .tagline,.racing-site .steps,.racing-site #games{display:none}
.hr{width:100%;display:flex;flex-direction:column;align-items:center}
.hr-screen{width:100%;display:flex;flex-direction:column;align-items:center;gap:14px}
.hr-screen.from-right{animation:hrIn .28s cubic-bezier(.2,.8,.2,1)}
.hr-screen.from-left{animation:hrBack .28s cubic-bezier(.2,.8,.2,1)}
@keyframes hrIn{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:none}}
@keyframes hrBack{from{opacity:0;transform:translateX(-40px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.hr-screen.from-right,.hr-screen.from-left{animation:none}}
.hr-logo{width:min(46vw,190px);height:auto;margin-top:18px;filter:drop-shadow(0 6px 18px rgba(0,0,0,.5))}
.hr-stand{position:relative;width:min(72vw,280px);aspect-ratio:1.45}
.hr-stand canvas{position:absolute;inset:0;width:100%;height:100%}
.hr-next{margin:-6px 0 0;font:italic 800 16px/1.2 var(--display);color:#cfe3ff;letter-spacing:.02em;text-align:center}
.hr-go{width:100%;max-width:340px;font:italic 900 34px/1 var(--display);letter-spacing:.06em;padding:18px 20px;color:#1a1200;
  background:linear-gradient(#ffe45c,#f8b414);box-shadow:0 6px 0 #b8770a,0 10px 24px rgba(248,180,20,.25)}
.hr-go:active{box-shadow:0 2px 0 #b8770a}
.hr-go:disabled{filter:grayscale(.7) brightness(.8);font-size:20px;letter-spacing:0}
.hr-link{font:italic 800 18px var(--display);padding:10px 22px;background:transparent;color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.75)}
.hr-link:active{transform:none;box-shadow:inset 0 0 0 2px var(--accent)}
.hr-head{position:relative;width:100%;display:flex;align-items:center;justify-content:center;min-height:52px;margin-top:10px}
.hr-head h2{margin:0;font:italic 900 24px/1.1 var(--display);color:var(--accent);text-shadow:0 2px 0 #0b1d30;letter-spacing:.01em;text-align:center;padding:0 52px}
.hr-back{position:absolute;left:0;top:50%;transform:translateY(-50%);width:46px;height:46px;padding:0;border-radius:50%;background:rgba(255,255,255,.12);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.5);color:#fff;display:grid;place-items:center}
.hr-back:active{transform:translateY(-50%) scale(.94);box-shadow:inset 0 0 0 2px var(--accent)}
.hr-back .icon{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.hr-cards{width:100%;display:flex;flex-direction:column;gap:12px}
.hr-card{display:grid;grid-template-columns:84px 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center;text-align:left;width:100%;
  padding:14px 16px;border-radius:20px;background:linear-gradient(#1a3266,#122450);color:#fff;box-shadow:inset 0 0 0 2px rgba(120,170,255,.35),0 5px 0 #0a1530}
.hr-card:active{transform:translateY(3px);box-shadow:inset 0 0 0 2px var(--accent),0 2px 0 #0a1530}
.hr-card[aria-pressed="true"]{box-shadow:inset 0 0 0 3px var(--accent),0 5px 0 #0a1530}
.hr-card b{font:italic 900 24px/1.1 var(--display);grid-column:2}
.hr-card small{font:600 14px/1.3 var(--display);color:#bcd2f5;grid-column:2}
.hr-card > span{grid-row:1/3;width:84px;height:64px;border-radius:14px}
.hr-pic.tour{background:radial-gradient(circle at 42% 40%,#7fd36b 0 18%,transparent 19%),radial-gradient(circle at 62% 64%,#7fd36b 0 14%,transparent 15%),radial-gradient(circle at 50% 50%,#2d8fe0 0 46%,transparent 47%),linear-gradient(#0d1a3a,#0d1a3a)}
.hr-pic.daily{background:repeating-conic-gradient(#fff 0 25%,#14141c 0 50%) 50% 50%/16px 16px;box-shadow:inset 0 0 0 3px #f8d020}
.hr-gauge{position:relative;background:radial-gradient(circle at 50% 100%,transparent 0 30%,#0b1530 31% 60%,transparent 61%),conic-gradient(from -90deg at 50% 100%,#46d16b 0 60deg,#f8d020 0 120deg,#ff5a3c 0 180deg,transparent 0)}
.hr-gauge::after{content:"";position:absolute;left:50%;bottom:0;width:4px;height:44px;margin-left:-2px;background:#fff;border-radius:2px;transform-origin:50% 100%;transform:rotate(var(--a))}
.hr-strip{width:100%;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 10px}
.hr-circuit{flex:0 0 72%;scroll-snap-align:center;display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left;padding:14px;border-radius:20px;
  background:linear-gradient(#1a3266,#122450);color:#fff;box-shadow:inset 0 0 0 2px rgba(120,170,255,.35),0 5px 0 #0a1530}
.hr-circuit b{font:italic 900 22px/1.1 var(--display)}
.hr-circuit small{font:600 13px/1.3 var(--display);color:#bcd2f5}
.hr-circuit[aria-pressed="true"]{box-shadow:inset 0 0 0 3px var(--accent),0 5px 0 #0a1530}
.hr-circuit:disabled{opacity:.45;filter:grayscale(.6)}
.hr-circuit .flag{font:italic 800 12px var(--display);letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.hr-races{width:100%;margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hr-races li{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.07);font:italic 800 15px/1.2 var(--display);color:#fff}
.hr-races li span{display:block;font:700 11px/1.2 var(--display);color:var(--accent);letter-spacing:.1em}
