@import '_content/MerQuest.Library/MerQuest.Library.19s9562zqt.bundle.scp.css';

/* /Components/Pages/Home.razor.rz.scp.css */
/* ---------- the coin multiplier went up: the multiplier as a huge gold pill popping in over the board, the words
   under it; it fades out after a few seconds */
.multiplier-up[b-rzzagclhpu] { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.4vmin; text-align: center; padding: 20px;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(255,167,51,.30), transparent 70%), rgba(4,6,14,.6);
  animation: glow-b-rzzagclhpu .6s ease-out both; }
/* leaving: an animation of its own (the entrance's held end state would swallow a transition) */
.multiplier-up.leaving[b-rzzagclhpu] { animation: multiplier-out-b-rzzagclhpu .9s ease forwards; }
@keyframes multiplier-out-b-rzzagclhpu { to { opacity: 0; transform: scale(1.06); filter: blur(6px); } }
.multiplier-up .big-pill[b-rzzagclhpu] { display: inline-flex; align-items: center; height: min(24vmin, 230px); padding: 0 min(7vmin, 70px); border-radius: 999px;
  font: 900 min(15vmin, 150px) "Segoe UI", system-ui, sans-serif; line-height: 1; font-variant-numeric: tabular-nums; color: #5a2a04;
  text-shadow: 0 .03em 0 #fff1d0; background: linear-gradient(#ffe7a8, #ffa733); border: max(3px, .5vmin) solid #8a4a08;
  box-shadow: 0 1.2vmin 0 #5a2f06, 0 0 6vmin rgba(255,167,51,.65), 0 0 16vmin rgba(255,167,51,.35);
  animation: pill-in-b-rzzagclhpu .8s cubic-bezier(.2,1.5,.4,1) both, pill-float-b-rzzagclhpu 3s ease-in-out .8s infinite alternate; }
.multiplier-up h2[b-rzzagclhpu] { font-size: min(7vmin, 76px); font-weight: 900; line-height: 1.1; color: #fff; text-shadow: 0 0 3vmin rgba(255,167,51,.7);
  animation: reveal-b-rzzagclhpu .6s ease-out .35s both; }
.multiplier-up .for-all[b-rzzagclhpu] { padding: .45em 1.2em; border-radius: 999px; font-size: min(2.6vmin, 26px); font-weight: 900; letter-spacing: .2em;
  text-transform: uppercase; color: #2a1502; background: #ffa733; box-shadow: 0 0 2.4vmin rgba(255,167,51,.6); animation: reveal-b-rzzagclhpu .6s ease-out .55s both; }
@keyframes pill-in-b-rzzagclhpu { from { transform: scale(.2) rotate(-12deg); opacity: 0; } }
@keyframes pill-float-b-rzzagclhpu { to { transform: translateY(-1vmin) scale(1.03); } }

/* the whole window, no page scroll: a header over two panels that share what's left. Only a window smaller than the
   minimum size scrolls. --led scales the countdown's digits; --z zooms the rows on big screens (fit.js reads it) */
.page[b-rzzagclhpu] { --led: clamp(3.4px, .68vmin, 7px); --z: 1;
  position: relative; height: 100dvh; min-height: 320px; min-width: 300px; display: grid; grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(10px, 1.8vmin, 24px); padding: clamp(10px, 2vmin, 30px); padding-bottom: max(clamp(10px, 2vmin, 30px), env(safe-area-inset-bottom));
  background: radial-gradient(ellipse 80% 60% at 15% 0%, rgba(255,70,85,.13), transparent 60%),
              radial-gradient(ellipse 70% 60% at 100% 100%, rgba(80,120,255,.12), transparent 60%), var(--bg); overflow: hidden; }
@media (min-width: 1400px) and (min-height: 860px) { .page[b-rzzagclhpu] { --z: 1.2; } }
@media (min-width: 1800px) and (min-height: 1020px) { .page[b-rzzagclhpu] { --z: 1.45; } }

/* ---------- the header: LIVE and the game's name, the session, the time left, the languages */
/* LIVE and MERQUEST at the top left with the session's name just under them; the clock and the languages on the right */
.top[b-rzzagclhpu] { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr;
  grid-template-areas: "brand clock" "session clock"; align-items: center; column-gap: clamp(10px, 2vw, 32px); row-gap: 8px; }
/* at the top of the header (not centred on the tall clock), as on a phone */
.brand[b-rzzagclhpu] { grid-area: brand; align-self: start; display: flex; flex-direction: row; align-items: center; gap: 12px; }   /* LIVE, then MERQUEST beside it */
.tag[b-rzzagclhpu] { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 6px; background: var(--live);
  font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: #fff; box-shadow: 0 0 18px rgba(255,70,85,.45); }
.dot[b-rzzagclhpu] { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink-b-rzzagclhpu 1.4s ease-in-out infinite; }
@keyframes blink-b-rzzagclhpu { 50% { opacity: .25; } }
.brand .name[b-rzzagclhpu] { font-size: 13px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.session[b-rzzagclhpu] { grid-area: session; align-self: center; min-width: 0; }   /* centred in the room under LIVE, beside the clock */
.session h1[b-rzzagclhpu] { font-size: clamp(20px, 2.6vw, 40px); font-weight: 900; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.session p[b-rzzagclhpu] { margin-top: 3px; font-size: clamp(12px, 1.1vw, 16px); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the phone's LED countdown, as a compact tile */
/* the phone's blue, red only for the last minute (UrgentSeconds), as on the phone */
.clock[b-rzzagclhpu] { grid-area: clock; --c: #4da3ff; display: flex; align-items: center; gap: clamp(8px, 1.2vw, 16px); }

/* the session's coin multiplier, beside the time left (only above 1): gold, popping in (no pulsing) */
.multiplier[b-rzzagclhpu] { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; padding: 6px 14px;
  border-radius: 14px; color: #1a1200; background: linear-gradient(#ffe27a, #ffb020); box-shadow: 0 0 22px rgba(255,194,58,.55);
  animation: multiplier-in-b-rzzagclhpu .6s cubic-bezier(.2,1.4,.4,1); }
.multiplier small[b-rzzagclhpu] { font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.multiplier b[b-rzzagclhpu] { font-size: clamp(22px, 2.6vw, 38px); font-weight: 900; line-height: 1; }
@keyframes multiplier-in-b-rzzagclhpu { from { transform: scale(.3); opacity: 0; } }
/* on a desktop the label is bigger, on two lines ("COIN / MULTIPLIER") so the tile stays narrow */
@media (min-width: 761px) {
  .multiplier[b-rzzagclhpu] { gap: 4px; padding: 8px 16px; }
  .multiplier small[b-rzzagclhpu] { max-width: 7em; font-size: clamp(12px, 1.05vw, 16px); line-height: 1.15; text-align: center; letter-spacing: .14em; }
}
.clock[b-rzzagclhpu]  .tile { margin: 0; padding: 7px 12px 9px; gap: 6px; border-radius: 14px; }
.clock[b-rzzagclhpu]  .tile small { font-size: 10px; }
/* the bars under the digits as wide as the digits (not their fixed phone width), so the clock stays compact */
.clock[b-rzzagclhpu]  .bars { align-self: stretch; gap: max(1px, calc(var(--led) * .35)); }
.clock[b-rzzagclhpu]  .bars i { flex: 1 1 0; width: auto; min-width: 0; height: max(6px, calc(var(--led) * 2)); }

/* ---------- the menu: three bars left of LIVE, opening a sidebar from the left (the languages in it) */
.menu-button[b-rzzagclhpu] { flex: none; display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 34px; height: 30px; padding: 0 8px;
  border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); cursor: pointer; transition: background .2s, border-color .2s; }
.menu-button span[b-rzzagclhpu] { display: block; height: 2px; border-radius: 2px; background: var(--text); }
.menu-button:hover[b-rzzagclhpu] { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); }
.menu-button:focus-visible[b-rzzagclhpu], .sidebar-close:focus-visible[b-rzzagclhpu] { outline: 2px solid var(--live); outline-offset: 2px; }

.menu-backdrop[b-rzzagclhpu] { position: fixed; inset: 0; z-index: 20; background: rgba(2,4,10,.6); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.menu-backdrop.open[b-rzzagclhpu] { opacity: 1; pointer-events: auto; }
.sidebar[b-rzzagclhpu] { position: fixed; top: 0; bottom: 0; left: 0; z-index: 21; width: min(320px, 85vw); display: flex; flex-direction: column; gap: 22px;
  padding: clamp(14px, 2vmin, 26px); background: linear-gradient(#141a29, #0b0f1a); border-right: 1px solid var(--line);
  box-shadow: 12px 0 40px rgba(0,0,0,.5); transform: translateX(-105%); transition: transform .28s cubic-bezier(.3,.8,.3,1); }
.sidebar.open[b-rzzagclhpu] { transform: none; }
.sidebar-head[b-rzzagclhpu] { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sidebar-brand[b-rzzagclhpu] { font-size: 13px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.sidebar-close[b-rzzagclhpu] { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text);
  font-size: 22px; line-height: 1; cursor: pointer; }
.sidebar-close:hover[b-rzzagclhpu] { background: rgba(255,255,255,.09); }
.sidebar-section[b-rzzagclhpu] { display: flex; flex-direction: column; gap: 10px; }
.sidebar-section h2[b-rzzagclhpu] { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sidebar[b-rzzagclhpu]  .langs { align-self: flex-start; font-size: 14px; color: var(--muted); --picker-accent: var(--text); }

/* ---------- the panels: standings beside the feed */
.panels[b-rzzagclhpu] { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: inherit; min-height: 0; }
.panel[b-rzzagclhpu] { display: flex; flex-direction: column; gap: clamp(8px, 1.4vmin, 16px); min-height: 0; padding: clamp(12px, 1.8vmin, 22px);
  border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: inset 0 0 40px rgba(0,0,0,.45); overflow: hidden; }

/* a broadcast section heading: a slanted red marker, the caption, a line fading out, and a count on the right */
.panel h2[b-rzzagclhpu] { display: flex; align-items: center; gap: 10px; font-size: calc(12px * var(--z)); font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; white-space: nowrap; }
.panel h2[b-rzzagclhpu]::before { content: ""; flex: none; width: 5px; height: 1.1em; transform: skewX(-18deg); background: var(--live); box-shadow: 0 0 8px var(--live); }
.panel h2[b-rzzagclhpu]::after { content: ""; flex: 1; order: 1; height: 1px; background: linear-gradient(90deg, rgba(255,70,85,.7), transparent); }
.count[b-rzzagclhpu] { order: 2; font-size: .95em; font-weight: 700; letter-spacing: .04em; text-transform: none; color: var(--muted); }

/* what's left of the panel: as many rows as fit; the feed's last lines fade out instead of being cut */
.fill[b-rzzagclhpu] { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.fill.faded[b-rzzagclhpu] { -webkit-mask-image: linear-gradient(#000 calc(100% - 60px), transparent); mask-image: linear-gradient(#000 calc(100% - 60px), transparent); }
.zoomed[b-rzzagclhpu] { zoom: var(--z); display: flex; flex-direction: column; }
.none[b-rzzagclhpu] { color: var(--muted); font-size: 15px; padding: 6px 2px; }

/* the standings in the last minutes: a secret */
.secret[b-rzzagclhpu] { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 10px; }
.mark[b-rzzagclhpu] { display: grid; place-items: center; width: clamp(56px, 12vmin, 120px); aspect-ratio: 1; border-radius: 50%;
  font-size: clamp(30px, 7vmin, 70px); font-weight: 900; color: #ffd23d; border: 2px dashed rgba(255,210,61,.6);
  box-shadow: 0 0 30px rgba(255,210,61,.25), inset 0 0 20px rgba(255,210,61,.12); animation: breathe-b-rzzagclhpu 2.4s ease-in-out infinite; }
@keyframes breathe-b-rzzagclhpu { 50% { transform: scale(1.06); box-shadow: 0 0 44px rgba(255,210,61,.4), inset 0 0 20px rgba(255,210,61,.18); } }
.secret strong[b-rzzagclhpu] { font-size: clamp(18px, 2.6vmin, 28px); font-weight: 900; }
.secret p[b-rzzagclhpu] { max-width: 36ch; font-size: clamp(13px, 1.7vmin, 17px); line-height: 1.4; color: var(--muted); }

/* a whole screen (the live board, the final standings): fades in as it arrives; the live board blurs and dims, frozen,
   under GAME OVER */
.screen[b-rzzagclhpu] { grid-row: 1 / -1; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: inherit; min-height: 0;
  animation: screen-in-b-rzzagclhpu .9s ease-out both; transition: filter 1s ease, opacity 1s ease, transform 1.2s ease; }
.screen.frozen[b-rzzagclhpu] { filter: blur(7px) saturate(.4) brightness(.5); transform: scale(.97); pointer-events: none; }
@keyframes screen-in-b-rzzagclhpu { from { opacity: 0; } }
.idle[b-rzzagclhpu], .loading[b-rzzagclhpu] { animation: screen-in-b-rzzagclhpu .9s ease-out both; }

/* ---------- the time ran out: GAME OVER, in the curses' crimson, over the screen; fades in, and out over the standings */
.game-over[b-rzzagclhpu] { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2vmin; container-type: inline-size; --c: #ff2d6b;
  background: radial-gradient(ellipse 60% 45% at 50% 50%, rgba(255,45,107,.24), transparent 70%), rgba(4,6,14,.45);
  animation: glow-b-rzzagclhpu .8s ease-out both; transition: opacity .9s ease, transform .9s ease, filter .9s ease; }
.game-over.leaving[b-rzzagclhpu] { opacity: 0; transform: scale(1.06); filter: blur(6px); }
.game-over[b-rzzagclhpu]  .letters { font-size: min(13cqw, 22vh, 190px); }
.game-over p[b-rzzagclhpu] { font-size: clamp(14px, 2.4vmin, 26px); font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
@keyframes glow-b-rzzagclhpu { from { opacity: 0; transform: scale(.96); } }

/* ---------- the final standings: gold, one wide panel */
.tag.final[b-rzzagclhpu] { background: #ffc23a; color: #1a1300; box-shadow: 0 0 18px rgba(255,194,58,.45); }
.next-up[b-rzzagclhpu] { grid-area: clock; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; min-width: 0; }
.next-up small[b-rzzagclhpu] { font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #3ddc84; }
.next-up strong[b-rzzagclhpu] { font-size: clamp(13px, 1.3vw, 18px); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30vw; }
.next-up span[b-rzzagclhpu] { font-size: 12px; color: var(--muted); white-space: nowrap; }

.panels.single[b-rzzagclhpu] { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }

/* after a session: one panel for the QR statistics and then the standings; its content fades in as it changes, and the
   tag and the heading's marker take the new colour */
.panel.end[b-rzzagclhpu] { width: min(100%, 1100px); justify-self: center; }
.panel.end h2[b-rzzagclhpu]::before { transition: background .6s, box-shadow .6s; }
.swap[b-rzzagclhpu] { flex: 1; min-height: 0; display: flex; flex-direction: column; animation: swap-in-b-rzzagclhpu .8s ease-out both; }
@keyframes swap-in-b-rzzagclhpu { from { opacity: 0; transform: translateY(10px); } }
.tag[b-rzzagclhpu] { transition: background .6s, color .6s, box-shadow .6s; }
.results[b-rzzagclhpu] { --live: #ffc23a; }
.waiting[b-rzzagclhpu] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); }
.pulse.gold[b-rzzagclhpu] { background: #ffc23a; box-shadow: 0 0 0 0 rgba(255,194,58,.6); animation: ring-gold-b-rzzagclhpu 1.4s infinite; }
@keyframes ring-gold-b-rzzagclhpu { to { box-shadow: 0 0 0 22px rgba(255,194,58,0); } }

/* a place: rank, name in the player's colour, the total (and what their cards paid at the end); 52px high, 6px apart */
.final-list[b-rzzagclhpu] { list-style: none; margin: 0; padding: 0; gap: 6px; }
.place[b-rzzagclhpu] { height: 52px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 16px 0 10px;
  border-radius: 10px; border-left: 4px solid var(--p);
  background: linear-gradient(90deg, color-mix(in srgb, var(--p) 22%, transparent), rgba(255,255,255,.03) 55%);
  opacity: 0; animation: reveal-b-rzzagclhpu .55s cubic-bezier(.2,1.3,.4,1) forwards; animation-delay: var(--d); }
@keyframes reveal-b-rzzagclhpu { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.place .rank[b-rzzagclhpu] { justify-self: center; font-size: 22px; font-weight: 900; color: #6f7a9a; font-variant-numeric: tabular-nums; }
.place .who[b-rzzagclhpu] { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pname[b-rzzagclhpu] { font-size: 18px; font-weight: 800; color: #eef2ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crown[b-rzzagclhpu] { color: #ffd23d; font-size: 18px; filter: drop-shadow(0 0 6px rgba(255,210,61,.7)); }
.score[b-rzzagclhpu] { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.score b[b-rzzagclhpu] { font-size: 22px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.score small[b-rzzagclhpu] { font-size: 12px; font-weight: 700; color: #ffc23a; }
/* the podium */
.place-1[b-rzzagclhpu] { background: linear-gradient(90deg, rgba(255,194,58,.28), rgba(255,194,58,.05) 60%); box-shadow: inset 0 0 0 1px rgba(255,194,58,.55), 0 0 24px rgba(255,194,58,.18); }
.place-1 .rank[b-rzzagclhpu] { color: #ffd23d; }
.place-2 .rank[b-rzzagclhpu] { color: #dfe6f3; }
.place-3 .rank[b-rzzagclhpu] { color: #e0975a; }

/* ---------- the QR statistics (the game master's step before the standings): three big numbers, in blue */
.qr-panel[b-rzzagclhpu] { --live: #4da3ff; }
.chests-panel[b-rzzagclhpu] { --live: #ffb020; }
.cards-panel[b-rzzagclhpu] { --live: #b06bff; }
.curses-panel[b-rzzagclhpu] { --live: #ff4655; }
.duels-panel[b-rzzagclhpu] { --live: #3dd6c6; }
.pulse.blue[b-rzzagclhpu] { background: #4da3ff; box-shadow: 0 0 0 0 rgba(77,163,255,.6); animation: ring-blue-b-rzzagclhpu 1.4s infinite; }
@keyframes ring-blue-b-rzzagclhpu { to { box-shadow: 0 0 0 22px rgba(77,163,255,0); } }
.qr-stats[b-rzzagclhpu] { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(10px, 2vmin, 24px); align-content: center; }
/* the chests' or the cards' statistic: its ring alone, in the middle */
.qr-stats.single[b-rzzagclhpu] { grid-template-columns: minmax(0, min(100%, 560px)); justify-content: center; }
/* the curses: two rings side by side, alike */
.qr-stats.pair[b-rzzagclhpu] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qr-stat[b-rzzagclhpu] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(6px, 1.2vmin, 14px); text-align: center;
  padding: clamp(14px, 3vmin, 40px) clamp(10px, 2vmin, 24px); border-radius: 18px; min-width: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(77,163,255,.16), transparent 70%), rgba(255,255,255,.03); border: 1px solid rgba(77,163,255,.3);
  opacity: 0; animation: reveal-b-rzzagclhpu .6s cubic-bezier(.2,1.3,.4,1) forwards; animation-delay: var(--d); }
.qr-stat b[b-rzzagclhpu] { font-size: clamp(44px, 12vmin, 140px); font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 28px rgba(77,163,255,.6); }
.qr-stat span[b-rzzagclhpu] { font-size: clamp(13px, 2vmin, 22px); font-weight: 700; color: #cfe2ff; }
.qr-stat small[b-rzzagclhpu] { font-size: clamp(12px, 1.6vmin, 16px); color: var(--muted); }
/* the share of the game's codes found: a ring filling (from the top, clockwise) to --share %, the numbers in its middle */
.ring[b-rzzagclhpu] { position: relative; width: clamp(140px, 34vmin, 340px); aspect-ratio: 1; }
.ring svg[b-rzzagclhpu] { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring .track[b-rzzagclhpu] { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.ring .fill[b-rzzagclhpu] { fill: none; stroke: var(--rc, #3ddc84); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--share)); filter: drop-shadow(0 0 6px var(--rc, #3ddc84));
  animation: ring-fill-b-rzzagclhpu 1.4s cubic-bezier(.3,.8,.3,1) both; animation-delay: calc(var(--d) + 300ms); }
@keyframes ring-fill-b-rzzagclhpu { from { stroke-dashoffset: 100; } }
.ring .fill.empty[b-rzzagclhpu] { visibility: hidden; }   /* nothing found: no line (its round end would still show a dot) */
.ring-count[b-rzzagclhpu] { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; gap: .3em; padding-top: 38%; }
.ring-count b[b-rzzagclhpu] { font-size: clamp(40px, 10vmin, 110px); text-shadow: 0 0 28px color-mix(in srgb, var(--rc, #3ddc84) 55%, transparent); }
.ring-count em[b-rzzagclhpu] { font-style: normal; font-size: clamp(16px, 3.4vmin, 38px); font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.qr-stat.most b[b-rzzagclhpu] { color: #ffd23d; text-shadow: 0 0 28px rgba(255,210,61,.5); }

/* ---------- nothing Live: the next session, in the middle */
.idle[b-rzzagclhpu] { grid-row: 1 / -1; position: relative; display: grid; place-items: center; min-height: 0; }
.idle-menu[b-rzzagclhpu] { position: absolute; top: 0; left: 0; }
.hero[b-rzzagclhpu] { display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 2vmin, 20px); text-align: center; max-width: 100%; }
.brand-big[b-rzzagclhpu] { font-size: clamp(12px, 1.6vmin, 16px); font-weight: 800; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.hero h1[b-rzzagclhpu] { font-size: clamp(24px, 5vmin, 54px); font-weight: 900; line-height: 1.1; }
.sub[b-rzzagclhpu] { font-size: clamp(14px, 2vmin, 19px); color: var(--muted); }
.next[b-rzzagclhpu] { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; padding: clamp(14px, 2.4vmin, 28px) clamp(18px, 4vmin, 44px);
  border-radius: 20px; background: var(--panel); border: 1px solid var(--line); max-width: 100%; }
.next small[b-rzzagclhpu] { font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #3ddc84; }
.next strong[b-rzzagclhpu] { font-size: clamp(20px, 3.6vmin, 38px); font-weight: 900; overflow-wrap: anywhere; }
.next p[b-rzzagclhpu] { font-size: clamp(13px, 1.8vmin, 18px); color: var(--muted); }
.next .clock[b-rzzagclhpu] { margin-top: 8px; --c: #3ddc84; }

/* ---------- before the first answer, and when the API can't be reached */
.loading[b-rzzagclhpu] { grid-row: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); }
.pulse[b-rzzagclhpu] { width: 14px; height: 14px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,70,85,.6); animation: ring-b-rzzagclhpu 1.4s infinite; }
@keyframes ring-b-rzzagclhpu { to { box-shadow: 0 0 0 22px rgba(255,70,85,0); } }
.offline[b-rzzagclhpu] { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 5; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; background: rgba(20,24,36,.92); border: 1px solid rgba(255,176,32,.5); color: #ffb020; white-space: nowrap; }

/* ---------- a phone (or any narrow window): the header in two rows, the standings above the feed */
@media (max-width: 760px) {
  .top[b-rzzagclhpu] { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand brand" "session clock"; row-gap: 10px; }
  .next-up[b-rzzagclhpu] { display: none; }
  .qr-stats[b-rzzagclhpu] { grid-template-columns: minmax(0, 1fr); align-content: stretch; }
  .qr-stats.pair[b-rzzagclhpu] { grid-template-columns: minmax(0, 1fr); }
  .qr-stat[b-rzzagclhpu] { padding: 10px; }
  .qr-stat b[b-rzzagclhpu] { font-size: clamp(36px, 9vh, 80px); }
  .ring[b-rzzagclhpu] { width: clamp(110px, 24vh, 200px); }
  .ring-count b[b-rzzagclhpu] { font-size: clamp(32px, 7vh, 64px); }
  .page[b-rzzagclhpu] { --led: clamp(2.6px, .8vmin, 4px); }
  .brand[b-rzzagclhpu] { flex-direction: row; align-items: center; gap: 10px; min-width: 0; }
  .brand .name[b-rzzagclhpu] { display: none; }
  .clock[b-rzzagclhpu]  .tile { padding: 5px 9px 7px; gap: 4px; }
  /* no room for the session's name and times beside the clock: they go, and the coin multiplier (when there is one)
     takes their place on the left, the clock staying on the right */
  .session[b-rzzagclhpu] { display: none; }
  .clock[b-rzzagclhpu] { grid-column: 1 / -1; justify-content: flex-end; }
  .multiplier[b-rzzagclhpu] { margin-right: auto; }
  .panels[b-rzzagclhpu] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1.1fr) minmax(0, 1fr); }
  .panel[b-rzzagclhpu] { border-radius: 14px; }
}
/* a phone on its side: little height, so a one-row header and the panels side by side */
@media (max-height: 520px) and (min-width: 561px) {
  .top[b-rzzagclhpu] { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-rows: auto; grid-template-areas: "brand session clock langs"; }
  .session[b-rzzagclhpu] { align-self: center; }
  .brand[b-rzzagclhpu] { flex-direction: column; align-items: flex-start; gap: 4px; }
  .brand .name[b-rzzagclhpu] { display: none; }
  .panels[b-rzzagclhpu] { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: none; }
  .clock[b-rzzagclhpu]  .tile small { display: none; }
  .page[b-rzzagclhpu] { --led: clamp(2.6px, .8vmin, 4px); gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .panel[b-rzzagclhpu] { padding: 10px 12px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) { .multiplier[b-rzzagclhpu], .multiplier-up[b-rzzagclhpu], .multiplier-up .big-pill[b-rzzagclhpu], .multiplier-up h2[b-rzzagclhpu], .multiplier-up .for-all[b-rzzagclhpu] { animation: none; } }
@media (prefers-reduced-motion: reduce) { .dot[b-rzzagclhpu], .mark[b-rzzagclhpu], .pulse[b-rzzagclhpu], .game-over[b-rzzagclhpu], .screen[b-rzzagclhpu], .idle[b-rzzagclhpu], .loading[b-rzzagclhpu], .swap[b-rzzagclhpu], .sidebar[b-rzzagclhpu], .menu-backdrop[b-rzzagclhpu] { animation: none; transition: none; } .place[b-rzzagclhpu], .qr-stat[b-rzzagclhpu] { animation: none; opacity: 1; } .ring .fill[b-rzzagclhpu] { animation: none; } }
