/* Giggy Rush: everything scoped under .g-run. Uses the site tokens from site.css when present. */
.g-run {
  --run-cyan: var(--cyan, #22e4f2);
  --run-gold: var(--gold, #ffc94d);
  --run-pink: var(--pink, #ff4f8b);
  --run-green: var(--green, #4be38a);
  --run-ease: var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1));
  --run-bounce: var(--bounce, cubic-bezier(0.34, 1.56, 0.64, 1));
  width: 100%;
  color: #f4f7fc;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.g-run [hidden] { display: none !important; }
.g-run .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.g-run-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: #0a1124;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 80px rgba(255, 154, 61, 0.08);
  touch-action: manipulation;
  outline: none;
  cursor: pointer;
  isolation: isolate;
  -webkit-touch-callout: none;
}
.g-run-stage:focus-visible { box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(34, 228, 242, 0.45); }
@media (max-width: 520px) { .g-run-stage { aspect-ratio: 4 / 5; border-radius: 20px; } }
/* while a run is on, taps and long presses belong to the game (scroll from outside the stage) */
.g-run-stage.is-play { touch-action: none; }
.g-run-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.g-run-stage.is-ended { aspect-ratio: auto; }
.g-run-stage.is-ended .g-run-end { position: relative; inset: auto; min-height: inherit; padding: 18px 12px; }
.g-run-stage::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(120% 90% at 30% 60%, transparent 55%, rgba(34, 228, 242, 0.32) 100%); }
.g-run-stage.is-rush::after { opacity: 1; animation: g-run-rush 0.5s ease-in-out infinite alternate; }

/* HUD: distance + the trip to the next gig (left), stars and power-ups (right) */
.g-run-hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; transition: opacity 0.25s; }
/* a soft shade behind the numbers so they read over bright skies and clouds */
.g-run-hud::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 104px; background: linear-gradient(180deg, rgba(5, 8, 18, 0.5), rgba(5, 8, 18, 0.22) 55%, rgba(5, 8, 18, 0)); }
.g-run-stage:not(.is-play) .g-run-hud { opacity: 0; }
/* the left column: distance, the trip to the next gig, the chase. Each sits on its own dark pill so white clouds
   can't wash it out. */
.g-run-left { position: absolute; left: 9px; top: 8px; display: grid; justify-items: start; gap: 5px; }
.g-run-dist { display: flex; align-items: baseline; gap: 4px; line-height: 1; padding: 4px 10px 5px 9px; border-radius: 12px; background: rgba(5, 8, 18, 0.58); }
.g-run-dist b { font-size: clamp(24px, 6.4vw, 32px); font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 0 18px rgba(0, 0, 0, 0.35); }
.g-run-dist small { font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, 0.75); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); }
.g-run-trip { display: grid; gap: 4px; padding: 5px 15px 7px 9px; border-radius: 10px; background: rgba(5, 8, 18, 0.58); transition: opacity 0.25s; }
.g-run-rival { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px 5px; border-radius: 99px; background: rgba(5, 8, 18, 0.62); border: 1px solid rgba(34, 228, 242, 0.45); font-size: 11.5px; font-weight: 800; line-height: 1.1; white-space: nowrap; transition: opacity 0.25s; }
.g-run-rival b { font-weight: 900; color: var(--run-cyan); letter-spacing: 0.2px; }
.g-run-rival span { color: #fff; font-variant-numeric: tabular-nums; }
.g-run-rival span:empty { display: none; }
.g-run-rival.me { border-color: rgba(255, 255, 255, 0.4); }
.g-run-rival.me b { color: #fff; }
.g-run-rival.top { border-color: rgba(255, 201, 77, 0.6); }
.g-run-rival.top b { color: var(--run-gold); }
.g-run-rival.passed { border-color: rgba(75, 227, 138, 0.65); background: rgba(8, 36, 22, 0.78); }
.g-run-rival.passed b { color: var(--run-green); }
.g-run-stage.is-gig .g-run-rival { opacity: 0; }
.g-run-trip-l { font-size: 9.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); }
.g-run-trip i { position: relative; display: block; width: 104px; height: 7px; border-radius: 99px; background: rgba(5, 8, 18, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.g-run-trip em { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--run-cyan), #8be9ff); box-shadow: 0 0 10px rgba(34, 228, 242, 0.6); }
.g-run-trip i::after { content: ''; position: absolute; right: -6px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--run-cyan); box-shadow: 0 0 0 2px rgba(5, 8, 18, 0.6); }
.g-run-trip.near i::after { background: var(--run-gold); animation: g-run-throb 0.5s ease-in-out infinite alternate; }
.g-run-stage.is-gig .g-run-trip { opacity: 0; }
.g-run-side { position: absolute; right: 52px; top: 12px; display: flex; gap: 8px; align-items: center; }
.g-run-stars { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 7px; border-radius: 99px; background: rgba(5, 8, 18, 0.5); border: 1px solid rgba(255, 201, 77, 0.35); font-weight: 900; font-size: 15px; font-variant-numeric: tabular-nums; }
.g-run-stars svg { width: 17px; height: 17px; fill: var(--run-gold); filter: drop-shadow(0 0 6px rgba(255, 201, 77, 0.6)); }
.g-run-pu { display: inline-flex; gap: 6px; }
.g-run-cup, .g-run-hard { position: relative; display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: rgba(5, 8, 18, 0.5); border: 1px solid rgba(255, 255, 255, 0.2); }
.g-run-cup { border-color: var(--run-cyan); box-shadow: 0 0 12px rgba(34, 228, 242, 0.6); animation: g-run-throb 0.4s ease-in-out infinite alternate; }
.g-run-cup::before { content: ''; position: absolute; left: 7px; top: 9px; width: 10px; height: 8px; border-radius: 0 0 5px 5px; background: #f4f6f8; }
.g-run-cup::after { content: ''; position: absolute; left: 16px; top: 10px; width: 4px; height: 4px; border: 1.6px solid #f4f6f8; border-left: 0; border-radius: 0 4px 4px 0; }
.g-run-hard { border-color: var(--run-gold); }
.g-run-hard::before { content: ''; position: absolute; left: 6px; top: 7px; width: 14px; height: 9px; border-radius: 8px 8px 1px 1px; background: #f2c230; }
.g-run-hard::after { content: ''; position: absolute; left: 4px; top: 15px; width: 18px; height: 3px; border-radius: 2px; background: #d9a514; }
.g-run-pausebtn {
  position: absolute; right: 9px; top: 9px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(5, 8, 18, 0.5); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.g-run-pausebtn svg { width: 16px; height: 16px; fill: currentColor; }
.g-run-pausebtn:focus-visible { outline: 2px solid var(--run-cyan); outline-offset: 2px; }

/* banners (zones, milestones, flags), hints, the crash stamp and flash */
.g-run-banner {
  position: absolute; left: 50%; top: 24%; z-index: 4; transform: translate(-50%, -50%); opacity: 0; pointer-events: none;
  display: grid; justify-items: center; gap: 3px; text-align: center; white-space: nowrap;
}
.g-run-banner b { font-size: clamp(26px, 8vw, 40px); font-weight: 900; letter-spacing: -0.02em; line-height: 1; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.35), 0 8px 30px rgba(0, 0, 0, 0.55); }
.g-run-banner span { font-size: clamp(11px, 3vw, 13px); font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); }
.g-run-banner.zone b { color: #fff; }
.g-run-banner.zone span, .g-run-banner.rush span { color: var(--run-cyan); }
.g-run-banner.mile b, .g-run-banner.km b, .g-run-banner.flag b { color: var(--run-gold); }
.g-run-banner.km b { font-size: clamp(34px, 11vw, 54px); }
.g-run-banner.best b { color: var(--run-green); }
.g-run-banner.rush b { color: var(--run-cyan); text-shadow: 0 0 24px rgba(34, 228, 242, 0.7), 0 4px 0 rgba(0, 0, 0, 0.35); }
.g-run-banner.show { animation: g-run-banner 1.2s var(--run-ease) forwards; }
.g-run-hint {
  position: absolute; left: 50%; bottom: 14px; z-index: 4; transform: translateX(-50%); opacity: 0; pointer-events: none;
  padding: 8px 14px; border-radius: 99px; background: rgba(5, 8, 18, 0.72); border: 1px solid rgba(34, 228, 242, 0.45);
  font-size: 13.5px; font-weight: 800; white-space: nowrap; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.g-run-hint.show { animation: g-run-hint 2.1s var(--run-ease) forwards; }
/* the first-cone lesson: time stops in the jump window until this is obeyed */
.g-run-tap { position: absolute; left: 50%; bottom: 10px; z-index: 5; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; pointer-events: none; text-align: center; white-space: nowrap; }
.g-run-tap b { font-size: clamp(28px, 8.5vw, 42px); font-weight: 900; line-height: 1; letter-spacing: -0.01em; color: var(--run-gold); padding: 7px 24px 9px; border-radius: 99px; background: rgba(5, 8, 18, 0.74); border: 2px solid rgba(255, 201, 77, 0.75); animation: g-run-tap 0.9s ease-in-out infinite; }
.g-run-tap span { font-size: 12.5px; font-weight: 800; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }
.g-run-tap.show { animation: g-run-tapin 0.25s var(--run-bounce); }
.g-run-flash { position: absolute; inset: 0; z-index: 5; background: #ff6b8f; opacity: 0; pointer-events: none; }
.g-run-flash.go { animation: g-run-flash 0.5s ease-out; }
.g-run-stamp {
  position: absolute; left: 50%; top: 38%; z-index: 6; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) rotate(-8deg);
  padding: 8px 18px 9px; border: 3px solid currentColor; border-radius: 14px; color: var(--run-gold); background: rgba(5, 8, 18, 0.6);
  font-size: clamp(26px, 8vw, 40px); font-weight: 900; letter-spacing: 0.03em; white-space: nowrap;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.g-run-stamp.show { animation: g-run-stamp 1.3s var(--run-bounce) forwards; }

/* the gig: what to do, a 3-second ring, progress, then the review */
.g-run-task {
  position: absolute; left: 50%; top: 54px; z-index: 4; transform: translateX(-50%); pointer-events: none;
  width: min(290px, calc(100% - 24px)); display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: center;
  padding: 10px 12px; border-radius: 18px; background: rgba(8, 14, 30, 0.82); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.g-run-task.show { animation: g-run-drop 0.45s var(--run-bounce); }
.g-run-task-h { display: grid; gap: 2px; min-width: 0; }
.g-run-task-h small { font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--run-cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-run-task-h b { font-size: clamp(20px, 6vw, 25px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; color: var(--run-gold); }
.g-run-task-h b.go { animation: g-run-bump 0.4s var(--run-bounce); }
.g-run-task-h span { font-size: 11.5px; font-weight: 700; color: rgba(226, 234, 248, 0.72); }
.g-run-ring { position: relative; width: 46px; height: 46px; }
.g-run-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.g-run-ring circle { fill: none; stroke-width: 4; stroke: rgba(255, 255, 255, 0.14); }
.g-run-ring circle.t { stroke: var(--run-gold); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 0; }
.g-run-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.g-run-meter { grid-column: 1 / -1; height: 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.g-run-meter i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--run-green), #b8f7a8); box-shadow: 0 0 12px rgba(75, 227, 138, 0.6); transition: width 0.08s linear; }
.g-run-gauge { grid-column: 1 / -1; display: grid; justify-items: center; }
.g-run-gauge svg { width: 150px; height: 82px; overflow: visible; }
/* the arc is 157 long: "good" covers |needle| < 0.56 (40.4 → 116.6), "perfect" (green) |needle| < 0.28 (59.5 → 97.5) */
.g-run-gauge .arc, .g-run-gauge .ok, .g-run-gauge .best { fill: none; stroke-width: 10; }
.g-run-gauge .arc { stroke: rgba(255, 79, 139, 0.55); stroke-linecap: round; }
.g-run-gauge .ok { stroke: rgba(255, 201, 77, 0.9); stroke-dasharray: 76.2 400; stroke-dashoffset: -40.4; }
.g-run-gauge .best { stroke: var(--run-green); stroke-dasharray: 38 400; stroke-dashoffset: -59.5; filter: drop-shadow(0 0 6px rgba(75, 227, 138, 0.8)); }
.g-run-gauge .needle { transform-origin: 60px 60px; }
.g-run-gauge .needle path, .g-run-gauge .needle circle { fill: #fff; stroke: #0a1124; stroke-width: 1.5; stroke-linejoin: round; }
.g-run-review { grid-column: 1 / -1; display: grid; justify-items: center; gap: 2px; text-align: center; }
.g-run-rstars { display: flex; gap: 2px; font-size: 26px; line-height: 1; }
.g-run-rstars i { font-style: normal; color: rgba(255, 255, 255, 0.18); }
.g-run-rstars i.on { color: var(--run-gold); text-shadow: 0 0 14px rgba(255, 201, 77, 0.7); animation: g-run-pop 0.35s var(--run-bounce) both; animation-delay: calc(var(--i) * 0.13s + 0.05s); }
.g-run-review p { margin: 0; font-size: 13px; font-weight: 700; color: rgba(226, 234, 248, 0.85); }
.g-run-review b { font-size: 18px; font-weight: 900; color: var(--run-green); }

/* start, pause and end cards */
.g-run-card {
  position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 14px; overflow-y: auto;
  background: radial-gradient(90% 70% at 50% 40%, rgba(5, 8, 18, 0.3), rgba(5, 8, 18, 0.74));
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); cursor: default;
}
.g-run-start { cursor: pointer; }
.g-run-panel {
  width: min(100%, 400px); display: grid; gap: 10px; justify-items: center; text-align: center;
  padding: clamp(16px, 4.5vw, 24px); border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 31, 58, 0.9), rgba(10, 17, 34, 0.93));
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: g-run-rise 0.45s var(--run-bounce);
}
.g-run-intro { grid-template-columns: 112px 1fr; align-items: center; text-align: left; justify-items: start; gap: 6px 16px; width: min(100%, 470px); }
.g-run-me { width: 112px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)); }
.g-run-me svg { width: 100%; height: auto; }
.g-run-copy { display: grid; gap: 8px; justify-items: start; }
.g-run-small { width: min(100%, 320px); }
.g-run-h { margin: 2px 0 0; font-size: clamp(26px, 7vw, 38px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; }
.g-run-p { margin: 0; color: rgba(226, 234, 248, 0.78); font-size: clamp(13.5px, 3.6vw, 15px); line-height: 1.45; max-width: 330px; }
.g-run-go { margin-top: 4px; min-width: 170px; font-size: 18px; padding: 14px 28px; animation: g-run-glow 1.6s ease-in-out infinite; }
.g-run-keys { margin: 0; font-size: 12.5px; color: rgba(226, 234, 248, 0.6); font-weight: 600; line-height: 1.4; }
.g-run-meta { margin: 0; font-size: 13px; font-weight: 700; color: rgba(226, 234, 248, 0.6); }
.g-run-meta a, .g-run-change { color: var(--run-cyan); font-weight: 800; }
.g-run-best b { color: var(--run-gold); }
/* sound + music switch (the site's own setting: off until turned on) */
.g-run-snd { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: rgba(226, 234, 248, 0.82); font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.g-run-snd svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.g-run-snd svg path:first-child { fill: currentColor; }
.g-run-snd:not(.on) .w { opacity: 0.25; }
.g-run-snd.on { color: var(--run-cyan); border-color: rgba(34, 228, 242, 0.45); background: rgba(34, 228, 242, 0.1); }
.g-run-snd:focus-visible { outline: 2px solid var(--run-cyan); outline-offset: 2px; }
@media (max-width: 520px) {
  .g-run-start { padding: 10px; }
  .g-run-intro { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; padding: 14px 16px 16px; }
  .g-run-me { width: 70px; }
  .g-run-copy { justify-items: center; gap: 7px; }
  .g-run-intro .g-run-go { margin-top: 2px; padding: 12px 28px; }
}
.g-run-big { display: grid; line-height: 1; margin: 2px 0; }
.g-run-big b { font-size: clamp(42px, 12vw, 60px); font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--run-gold); text-shadow: 0 0 30px rgba(255, 201, 77, 0.35); }
.g-run-big small { font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(226, 234, 248, 0.55); margin-top: 4px; }
.g-run-big small.split { font-size: 12.5px; letter-spacing: 0.2px; text-transform: none; color: rgba(226, 234, 248, 0.7); margin-top: 6px; }
.g-run-coach { display: block; color: #fff; font-weight: 800; margin-bottom: 2px; }
/* the route of one day: four zones, a gig pin at the end of each, where this run ended and the farthest run */
.g-run-route { position: relative; width: calc(100% - 20px); height: 42px; margin: 2px 10px 0; }
.g-run-route:empty { display: none; }
.g-run-route i { position: absolute; top: 17px; height: 7px; font-style: normal; }
.g-run-route i small { position: absolute; top: 12px; left: 0; right: 0; text-align: center; font-size: 8.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(226, 234, 248, 0.5); white-space: nowrap; }
.g-run-route .z-burbs { background: #5fae55; border-radius: 99px 0 0 99px; }
.g-run-route .z-burbs small { text-align: left; }
.g-run-route .z-glades small { text-align: right; }
.g-run-route .z-beach { background: #ff9a6a; }
.g-run-route .z-city { background: #8c6cff; }
.g-run-route .z-glades { background: #2fa58c; border-radius: 0 99px 99px 0; }
.g-run-route b { position: absolute; top: 14px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #0a1124; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45); }
.g-run-route b.got { background: var(--run-gold); box-shadow: 0 0 0 2px #fff, 0 0 10px rgba(255, 201, 77, 0.7); }
.g-run-route em, .g-run-route u { position: absolute; top: 0; width: 0; height: 30px; font-style: normal; text-decoration: none; }
.g-run-route em span, .g-run-route u span { position: absolute; top: -2px; left: 0; transform: translateX(-50%); font-size: 10px; font-weight: 900; line-height: 1; white-space: nowrap; }
.g-run-route em span { color: var(--run-cyan); }
.g-run-route em::after { content: ''; position: absolute; left: -6px; top: 9px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--run-cyan); filter: drop-shadow(0 0 4px rgba(34, 228, 242, 0.8)); }
.g-run-route u span { color: rgba(255, 255, 255, 0.6); font-weight: 800; }
.g-run-route u::after { content: ''; position: absolute; left: -1px; top: 12px; width: 2px; height: 17px; border-radius: 1px; background: rgba(255, 255, 255, 0.85); }
.g-run-note { margin: 0; padding: 6px 12px; border-radius: 99px; background: rgba(34, 228, 242, 0.1); border: 1px solid rgba(34, 228, 242, 0.3); color: #bff7fc; font-size: 13.5px; font-weight: 800; line-height: 1.3; }
.g-run-takes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; margin-top: 2px; }
.g-run-take { display: grid; gap: 2px; align-content: space-between; padding: 8px 2px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); }
.g-run-take small { font-size: 9.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: rgba(226, 234, 248, 0.55); }
.g-run-take b { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.g-run-take b i { font-style: normal; font-size: 0.68em; font-weight: 800; margin-left: 2px; opacity: 0.75; }
.g-run-take.good { border-color: rgba(255, 201, 77, 0.5); background: rgba(255, 201, 77, 0.09); }
.g-run-take.good b { color: var(--run-gold); }
.g-run-stats { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: rgba(226, 234, 248, 0.72); font-weight: 600; }
.g-run-stats b { color: #fff; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.g-run-stats em { font-style: normal; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(75, 227, 138, 0.15); color: var(--run-green); font-size: 11.5px; font-weight: 800; }
.g-run-post { width: 100%; }
.g-run-post:empty { display: none; }
/* the slot takes focus on a click (so its clicks never hand the keys to the stage); no ring for that */
.g-run-post:focus { outline: none; }
.g-run-none { margin: 0; font-size: 13px; color: rgba(226, 234, 248, 0.6); }
.g-run-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 2px; }
.g-run-row .btn { padding: 12px 22px; }
.g-run-change { font-size: 13.5px; }
.g-run-tie { width: 100%; display: grid; gap: 9px; justify-items: center; margin-top: 2px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.g-run-tie p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; max-width: 300px; }
.g-run-fine { margin: 0; font-size: 11.5px; color: rgba(226, 234, 248, 0.45); }

@media (max-width: 380px) {
  .g-run-panel { gap: 8px; }
  .g-run-row .btn { padding: 11px 16px; font-size: 14.5px; }
  .g-run-take b { font-size: 14px; letter-spacing: -0.02em; }
  .g-run-take small { font-size: 8.5px; letter-spacing: 0.3px; }
  .g-run-route i small { font-size: 7.5px; letter-spacing: 0.2px; }
  .g-run-side { right: 50px; gap: 6px; }
  .g-run-trip i { width: 86px; }
}

@keyframes g-run-bump { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes g-run-throb { to { transform: scale(1.15) rotate(-45deg); } }
@keyframes g-run-banner { 0% { opacity: 0; transform: translate(-50%, -30%) scale(0.85); } 16%, 74% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -62%) scale(1.03); } }
@keyframes g-run-hint { 0% { opacity: 0; transform: translate(-50%, 10px); } 12%, 82% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 4px); } }
@keyframes g-run-flash { 0% { opacity: 0.55; } 100% { opacity: 0; } }
@keyframes g-run-stamp { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-18deg) scale(2.1); } 22% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); } 80% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); } 100% { opacity: 0; transform: translate(-50%, -56%) rotate(-8deg) scale(0.96); } }
@keyframes g-run-drop { from { opacity: 0; transform: translate(-50%, -12px) scale(0.92); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes g-run-pop { from { opacity: 0; transform: scale(0.3) rotate(-30deg); } to { opacity: 1; transform: scale(1); } }
@keyframes g-run-rise { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
@keyframes g-run-glow { 0%, 100% { box-shadow: 0 10px 30px rgba(255, 201, 77, 0.35); } 50% { box-shadow: 0 10px 40px rgba(255, 201, 77, 0.65), 0 0 0 6px rgba(255, 201, 77, 0.12); } }
@keyframes g-run-rush { from { opacity: 0.65; } to { opacity: 1; } }
@keyframes g-run-tapin { from { opacity: 0; transform: translateX(-50%) scale(0.85); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes g-run-tap { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 201, 77, 0.5); } 50% { transform: scale(1.07); box-shadow: 0 0 0 12px rgba(255, 201, 77, 0); } }
.g-run-review.show { animation: g-run-fadein 0.4s var(--run-bounce); }
@keyframes g-run-fadein { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .g-run-banner.show { animation: g-run-fade 1.2s linear forwards; }
  .g-run-hint.show { animation: g-run-fade 2.1s linear forwards; }
  .g-run-stamp.show { animation: g-run-fade 1.3s linear forwards; }
  .g-run-flash.go { animation: none; }
  .g-run-panel, .g-run-task.show, .g-run-review.show, .g-run-task-h b.go, .g-run-go, .g-run-cup, .g-run-trip.near i::after, .g-run-stage.is-rush::after, .g-run-tap b, .g-run-tap.show { animation: none; }
  .g-run-rstars i.on { animation: none; }
}
@keyframes g-run-fade { 0%, 100% { opacity: 0; } 12%, 80% { opacity: 1; } }
