/* LumenX layout on black with a blue-cyan accent. Surfaces stay flat; only primary actions (play, "ещё раз")
   get the blue→cyan gradient and glow so they read as the one thing to press. */

@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: Unbounded; font-weight: 700; font-display: swap; src: url(/fonts/unbounded-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Unbounded; font-weight: 700; font-display: swap; src: url(/fonts/unbounded-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --card: #141414;
  --fill: #1c1c1c;
  --separator: rgba(255, 255, 255, .06);
  --text: #ffffff;
  --subtitle: #8a8a8e;
  --accent: #4cc3ff;
  --accent-hi: #2fa6ea;
  --accent-tint: rgba(76, 195, 255, .13);
  --accent-ink: #03131f;
  --grad: linear-gradient(135deg, #2a6dff 0%, #3aa0ff 45%, #5fe3ff 100%);
  --glow: 0 6px 22px rgba(58, 160, 255, .38);
  --ok: #30d158;
  --danger: #ff453a;
  --radius-card: 24px;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: Unbounded, var(--font-sans);
  --tabh: 64px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 15px/1.35 var(--font-sans);
  min-height: 100vh;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
h1, h2, p { margin: 0; }
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.2px; }
.muted { color: var(--subtitle); }
.accent { color: var(--accent); }
.ic { display: block; flex: none; }
img.emo { display: inline-block; vertical-align: middle; flex: none; }
[hidden] { display: none !important; }

/* Press: everything clickable sinks and springs back */
:where(button, [data-open]) {
  transition: scale .38s cubic-bezier(.34, 1.56, .64, 1), filter .2s ease, background-color .15s ease, color .15s ease, opacity .15s ease;
}
:where(button, [data-open]):not(:disabled):active {
  scale: .97;
  filter: brightness(.88);
  transition-duration: .09s;
}

#view {
  max-width: 448px;
  margin: 0 auto;
  padding: 14px 16px calc(var(--tabh) + 28px + env(safe-area-inset-bottom));
}
body.full #view { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
body.full #tabbar { display: none; }

/* ---------- loading screen */
#splash {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg);
  transition: opacity .35s ease;
}
#splash.done { opacity: 0; pointer-events: none; }
.splash-stage { position: relative; width: 220px; height: 150px; }
.splash-candles { position: absolute; left: 0; bottom: 0; width: 220px; height: 90px; overflow: visible; }
.splash-candles .up { fill: #26a69a; }
.splash-candles .down { fill: #ef5350; }
.splash-candles g { transform-box: fill-box; transform-origin: 50% 100%; animation: candle-in .35s cubic-bezier(.34, 1.56, .64, 1) backwards; }
.splash-candles g:nth-child(2) { animation-delay: .08s; }
.splash-candles g:nth-child(3) { animation-delay: .16s; }
.splash-candles g:nth-child(4) { animation-delay: .24s; }
.splash-candles g:nth-child(5) { animation-delay: .32s; }
.splash-candles g:nth-child(6) { animation-delay: .4s; }
.splash-candles g:nth-child(7) { animation-delay: .48s; }
@keyframes candle-in { from { transform: scaleY(0); opacity: 0; } }
/* The hare hops up the candles and lands on the last one. Its resting position IS the final pose,
   so with reduced motion it simply sits on the last candle. */
.splash-hare { position: absolute; left: 133px; bottom: 78px; height: 66px; transform-origin: 50% 100%; animation: hare-run .9s cubic-bezier(.3, .7, .4, 1) .1s backwards, hop .45s ease-in-out 1s infinite; }
@keyframes hare-run {
  0% { transform: translate(-143px, 70px); opacity: 0; }
  20% { opacity: 1; }
  35% { transform: translate(-88px, 10px); }
  50% { transform: translate(-53px, 40px); }
  70% { transform: translate(-13px, -5px); }
  85% { transform: translate(4px, 20px); }
  100% { transform: translate(0, 0); }
}
@keyframes hop {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  40% { transform: translateY(-14px) scale(.96, 1.04); }
  80% { transform: translateY(0) scale(1.05, .95); }
}
.splash-word { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -.3px; animation: fade-up .4s ease .55s backwards; }
.splash-word span { display: inline-block; color: var(--accent); transform: skewX(-10deg); margin-left: 1px; }
.splash-note { color: var(--subtitle); font-size: 13px; animation: fade-up .4s ease .7s backwards, breathe 1.4s ease-in-out 1.1s infinite; }
@keyframes breathe { 50% { opacity: .45; } }

/* skeletons while the first profile load is in flight */
.sk { display: block; background: linear-gradient(90deg, var(--fill) 0%, #242424 50%, var(--fill) 100%) 0 0 / 200% 100%; animation: shimmer 1.1s linear infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk.round { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.sk.tile { width: 44px; height: 44px; border-radius: 14px; flex: none; }
.sk.line { height: 12px; margin: 3px 0; }
.sk.block { height: 76px; border-radius: var(--radius-card); }
.w30 { width: 30%; } .w40 { width: 40%; } .w60 { width: 60%; } .w70 { width: 70%; }

/* ---------- basic blocks */
.card {
  background: var(--card);
  border: 1px solid var(--separator);
  border-radius: var(--radius-card);
  padding: 16px;
}
.empty { color: var(--subtitle); text-align: center; padding: 22px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty .emo { animation: float 2.4s ease-in-out infinite; }
.with-emo { display: inline-flex; align-items: center; gap: 6px; }
.gate { margin-top: 14vh; padding: 28px 16px 16px; }
.gate > b { font-size: 18px; color: var(--text); text-align: center; }
.gate a { display: block; text-decoration: none; margin-top: 8px; }
.gate-list { width: 100%; text-align: left; margin-top: 6px; background: var(--fill); }
.gate-list .row { background: transparent; }
.gate-list .row-main b { color: var(--text); }
.gate .btn-sign { margin-top: 6px; }
.section { font-size: 13px; font-weight: 600; color: var(--subtitle); margin: 0 4px 8px; }

.group {
  background: var(--card);
  border: 1px solid var(--separator);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; background: var(--card); }
.row + .row { border-top: 1px solid var(--separator); }
.row.gap { justify-content: center; padding: 2px; color: var(--subtitle); }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-main b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-main span { color: var(--subtitle); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-main em { font-style: normal; color: var(--accent); }
.row-main .won { color: var(--accent); display: flex; align-items: center; gap: 4px; font-weight: 600; }
.row .rank { width: 24px; flex: none; display: grid; place-items: center; color: var(--subtitle); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.row.me { background: var(--accent-tint); }
.row.me .rank, .row.me .row-main span { color: var(--accent); }
.score { font-weight: 700; font-variant-numeric: tabular-nums; }
.chev { color: var(--subtitle); }
.winner { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--subtitle); max-width: 45%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tile {
  width: 44px; height: 44px; flex: none; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--fill); color: var(--subtitle);
  font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums;
}
.tile.podium { background: var(--accent-tint); }

.ava {
  flex: none; border-radius: 50%; object-fit: cover; overflow: hidden;
  display: inline-grid; place-items: center; background: var(--fill);
}

.chip {
  display: inline-flex; align-items: center; gap: 3px;
  height: 32px; padding: 0 12px 0 10px; border-radius: 99px;
  background: var(--fill); font-size: 13px; font-weight: 600; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.chip > span:last-child { margin-left: 5px; color: var(--subtitle); }

/* Minecraft HUD hearts: crisp pixels, full ones throb like the in-game low-health shake, the next life fills up */
.mc-hearts { display: inline-flex; gap: 2px; align-items: center; }
.mc-heart { position: relative; display: inline-block; flex: none; image-rendering: pixelated; }
/* light halo so the black pixel outline still reads on the black UI */
.mc-heart svg {
  display: block; width: 100%; height: 100%;
  filter: drop-shadow(1.5px 0 0 rgba(255, 255, 255, .28)) drop-shadow(-1.5px 0 0 rgba(255, 255, 255, .28))
          drop-shadow(0 1.5px 0 rgba(255, 255, 255, .28)) drop-shadow(0 -1.5px 0 rgba(255, 255, 255, .28));
}
.mc-fill { position: absolute; inset: 0; transition: clip-path 1s linear; }
.mc-heart.full { animation: mc-beat 1.4s steps(1) infinite; }
.mc-heart.regen { animation: mc-blink 2s steps(1) infinite; }
@keyframes mc-beat { 0%, 100% { transform: translateY(0); } 10% { transform: translateY(-2px); } 20% { transform: translateY(0); } 30% { transform: translateY(-1px); } 40% { transform: translateY(0); } }
@keyframes mc-blink { 0%, 100% { filter: none; } 85% { filter: brightness(1.8); } 92% { filter: none; } }

/* medals: hang from the ribbon and swing a little, the gold one also catches light */
.emo.medal { transform-origin: 50% 0; animation: swing 2.8s ease-in-out infinite; }
.row:nth-child(2) .emo.medal { animation-delay: -.9s; }
.row:nth-child(3) .emo.medal { animation-delay: -1.8s; }
@keyframes swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }

.bar { height: 4px; background: var(--fill); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 2px; }

/* Primary round button: gradient disc, glossy top, glow and an expanding ring while you can play */
.play-btn {
  position: relative;
  flex: none; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.play-btn::before {
  content: ""; position: absolute; inset: 3px 6px auto; height: 45%; border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)); pointer-events: none;
}
.play-btn .ic { margin-left: 3px; filter: drop-shadow(0 1px 1px rgba(0, 40, 90, .45)); }
.play-btn:disabled { background: var(--fill); color: var(--subtitle); box-shadow: none; cursor: default; }
.play-btn:disabled::before { display: none; }
.play-btn.big { width: 80px; height: 80px; }

.round-btn { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--fill); }

.btn-sign, .btn-ghost {
  width: 100%; padding: 15px; border-radius: 16px;
  font-size: 15px; font-weight: 600; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-sign {
  position: relative; overflow: hidden;
  background: var(--grad); color: #fff; box-shadow: var(--glow);
  text-shadow: 0 1px 1px rgba(0, 40, 90, .35);
}
/* light sweep across the primary button */
.btn-sign::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
  animation: sheen 2.6s ease-in-out 0.6s infinite;
}
@keyframes sheen { 0%, 55% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.btn-ghost { background: var(--fill); color: var(--text); }

.cover {
  flex: none; display: grid; place-items: end center; overflow: hidden;
  background: var(--grad); border-radius: 18px;
}
.cover img { display: block; height: 88%; width: auto; transform-origin: 50% 100%; animation: sway 3.2s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(0) scaleY(1); } 30% { transform: rotate(-1.5deg) scaleY(1.01); } 60% { transform: rotate(1deg) scaleY(.995); } }
.cover.wide { width: 100%; aspect-ratio: 16 / 9; }
.cover.big { width: 100%; aspect-ratio: 1; border-radius: var(--radius-card); }

/* ---------- contests */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 20px; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.3px; line-height: 1; }
.wordmark span { display: inline-block; color: var(--accent); transform: skewX(-10deg); margin-left: 1px; }

.feature { padding: 8px 8px 14px; cursor: pointer; }
.feature-info { display: flex; align-items: center; gap: 12px; padding: 14px 8px 12px; }
.feature-info b { font-size: 16px; }
.feature .bar { margin: 0 8px; }
.prize-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 8px 0; }
.pchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 7px; border-radius: 99px; background: var(--fill); font-size: 12px; font-weight: 600; }

/* ---------- player */
.page-header { display: flex; align-items: center; gap: 12px; margin: 2px 0 16px; }
.page-header h2 { font-size: 22px; font-weight: 700; letter-spacing: -.3px; }
#view > .stagger, .stagger { display: flex; flex-direction: column; gap: 16px; }
.track h1 { font-size: 21px; line-height: 1.2; }
.track p { color: var(--subtitle); margin-top: 6px; }
.times { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--subtitle); font-variant-numeric: tabular-nums; }
.controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.controls .side { display: flex; align-items: center; gap: 3px; }
.controls .side.right { flex-direction: column; align-items: flex-end; gap: 0; }
.controls .side.right b { font-family: var(--font-display); font-size: 18px; }
.controls .side.right span { font-size: 12px; color: var(--subtitle); }
.under { text-align: center; color: var(--subtitle); font-size: 13px; margin-top: -4px; font-variant-numeric: tabular-nums; }
.rules { color: var(--subtitle); font-size: 12px; padding: 0 4px; }

/* ---------- profile */
.account { display: flex; align-items: center; gap: 12px; }
.account .row-main b { font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 0; }
.stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stats div + div { border-left: 1px solid var(--separator); }
.stats b { font-family: var(--font-display); font-size: 18px; }
.stats span { font-size: 12px; color: var(--subtitle); }

/* ---------- tab bar */
#tabbar {
  --pill-gap: 6px;
  position: fixed; left: 50%; bottom: 0; z-index: 40;
  transform: translateX(-50%);
  width: min(100%, 448px);
  display: flex;
  padding: 8px 6px max(env(safe-area-inset-bottom), 10px);
  background: var(--bg);
  border-top: 1px solid var(--separator);
}
/* active-tab highlight slides between tabs; a transition, so rapid taps just retarget it mid-way */
.tab-pill {
  position: absolute; top: 6px; left: var(--pill-gap); height: 50px;
  width: calc((100% - 2 * var(--pill-gap)) / 2);
  border-radius: 16px; background: var(--accent-tint);
  transition: transform .32s cubic-bezier(.34, 1.4, .64, 1);
}
#tabbar[data-active='profile'] .tab-pill { transform: translateX(100%); }
#tabbar button {
  position: relative;
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0;
  color: var(--subtitle); font-size: 11px; font-weight: 600;
  touch-action: manipulation;
}
#tabbar button[aria-current='page'] { color: var(--accent); }
#tabbar button:active { scale: .88; }
.tab-ico { display: inline-block; transform-origin: 50% 65%; }
@keyframes ico-hop {
  0% { transform: translateY(0); }
  35% { transform: translateY(-5px) scale(1.06); }
  70% { transform: translateY(1px) scale(.98, 1.02); }
  100% { transform: none; }
}
@keyframes ico-nod {
  0%, 100% { transform: none; }
  40% { transform: translateY(2px) rotate(-6deg); }
  70% { transform: translateY(-1px) rotate(3deg); }
}
@keyframes tab-label { from { opacity: .4; } }
#tabbar button[aria-current='page'] .tab-ico[data-anim='hop'] { animation: ico-hop .5s cubic-bezier(.22, 1, .36, 1); }
#tabbar button[aria-current='page'] .tab-ico[data-anim='nod'] { animation: ico-nod .45s ease-out; }
#tabbar button[aria-current='page'] .tab-label { animation: tab-label .3s ease both; }

/* ---------- motion
   Screen changes: short transform/opacity animations restarted on every switch. They never block input
   and never wait for each other, so tapping through tabs quickly feels instant. */
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }
@keyframes from-right { from { opacity: 0; transform: translateX(24px); } }
@keyframes from-left { from { opacity: 0; transform: translateX(-24px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.page-fwd { animation: from-right .2s cubic-bezier(.22, 1, .36, 1) backwards; }
.page-back { animation: from-left .2s cubic-bezier(.22, 1, .36, 1) backwards; }
.page-fade { animation: fade-up .22s ease backwards; }
.stagger > * { animation: fade-up .26s cubic-bezier(.22, 1, .36, 1) backwards; }
.stagger > *:nth-child(1) { animation-delay: .02s; }
.stagger > *:nth-child(2) { animation-delay: .05s; }
.stagger > *:nth-child(3) { animation-delay: .08s; }
.stagger > *:nth-child(4) { animation-delay: .11s; }
.stagger > *:nth-child(5) { animation-delay: .14s; }
.stagger > *:nth-child(n + 6) { animation-delay: .17s; }
.play-btn:not(:disabled)::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #5fe3ff; pointer-events: none;
  animation: ring 1.8s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.confetti {
  position: absolute; left: 50%; top: 70px; height: 10px; border-radius: 2px; pointer-events: none;
  animation: burst 1.1s cubic-bezier(.15, .7, .3, 1) forwards;
}
@keyframes burst {
  from { transform: translate(-50%, 0) rotate(0); opacity: 1; }
  70% { opacity: 1; }
  to { transform: translate(calc(-50% + var(--dx)), calc(var(--dy) + 260px)) rotate(var(--r)); opacity: 0; }
}
.sheet { position: relative; overflow: visible; }
.sheet-emo .emo { animation: pop .45s cubic-bezier(.34, 1.56, .64, 1) backwards, float 2.4s ease-in-out .5s infinite; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- game */
#game { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: flex; justify-content: center; }
#canvas { width: 100%; max-width: 480px; height: 100%; display: block; touch-action: none; }
#score.bump { animation: bump .22s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes bump { 40% { transform: scale(1.25); } }
#score {
  position: absolute; top: calc(70px + env(safe-area-inset-top)); left: 0; right: 0;
  text-align: center; pointer-events: none;
  font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums;
}
#game-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
#game-overlay:empty { display: none; }
#game-overlay.pass { pointer-events: none; align-items: center; }
.hint { margin-top: 220px; padding: 8px 14px; border-radius: 99px; background: var(--fill); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.sheet {
  width: 100%; max-width: 480px;
  background: var(--card); border-top: 1px solid var(--separator); border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding: 24px 16px calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  animation: reveal .26s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } }
.sheet > span:first-child { font-size: 13px; font-weight: 600; }
.sheet .big-score { font-family: var(--font-display); font-size: 60px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sheet p { color: var(--subtitle); font-size: 14px; }
.sheet .chip { margin: 6px 0 8px; }

#toast {
  position: fixed; left: 50%; bottom: calc(var(--tabh) + 22px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translateX(-50%); max-width: 90vw;
  background: var(--grad); color: #fff; border-radius: 99px; padding: 10px 16px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  animation: reveal .26s cubic-bezier(.22, 1, .36, 1) both;
}
