@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,800&display=swap');

:root {
  --bg: #140b18;
  --ink: #fff4e0;
  --mute: rgba(255, 244, 224, 0.62);
  --line: rgba(255, 244, 224, 0.14);
  --card: rgba(255, 244, 224, 0.07);
  --gold: #f6c453;
  --pumpkin: #f08a24;
  --cran: #c8324b;
  --tile: #1d2563;
  --tile-hi: #2b3796;
  --ok: #3fbf6e;
  --bad: #e0475b;
  --a0: #c8324b;
  --a1: #2f6fd6;
  --a2: #f2b632;
  --a3: #2f8f57;
  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --emoji: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 55% at 15% -5%, rgba(200, 50, 75, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 105% 105%, rgba(240, 138, 36, 0.28), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; }
.hidden { display: none !important; }

/* ---------- avatars ---------- */
.av {
  width: 2.4em; height: 2.4em; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 70%, white), var(--c) 70%);
  box-shadow: 0 0 0 0.12em rgba(255, 244, 224, 0.85), 0 0.25em 0.6em rgba(0, 0, 0, 0.35);
}
.av span { font-family: var(--emoji); font-size: 1.35em; line-height: 1; transform: translateY(0.03em); }
.av.off { filter: grayscale(1) brightness(0.6); }

/* ---------- timers ---------- */
.ring { position: relative; width: 5rem; height: 5rem; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.2; }
.ring .bg { stroke: rgba(255, 244, 224, 0.15); }
.ring .fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; transition: stroke 0.3s; }
.ring.hurry .fg { stroke: var(--bad); }
.ring .n { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.ring.hurry .n { color: #ffd0d6; animation: pulse 1s infinite; }
.bar { height: 0.45rem; border-radius: 1rem; background: rgba(255, 244, 224, 0.12); overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); background: linear-gradient(90deg, var(--pumpkin), var(--gold)); border-radius: inherit; }

/* ---------- answer colours ---------- */
.a0 { --ac: var(--a0); --at: #fff; }
.a1 { --ac: var(--a1); --at: #fff; }
.a2 { --ac: var(--a2); --at: #2a1600; }
.a3 { --ac: var(--a3); --at: #fff; }
.shape { font-family: system-ui, sans-serif; line-height: 1; }

/* ---------- toasts / overlays ---------- */
#toasts { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 99; display: grid; gap: 0.5rem; justify-items: center; pointer-events: none; }
.toast { background: #2b1a30; border: 1px solid var(--line); padding: 0.7rem 1.1rem; border-radius: 0.8rem; box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.4); animation: rise 0.25s ease-out; transition: opacity 0.4s, transform 0.4s; white-space: pre-line; }
.toast.out { opacity: 0; transform: translateY(0.5rem); }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; }
.gate { position: fixed; inset: 0; display: grid; place-items: center; z-index: 90; background: rgba(10, 5, 12, 0.85); backdrop-filter: blur(6px); padding: 1.5rem; }
.gate form { background: #22142a; border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.6rem; display: grid; gap: 0.9rem; width: min(22rem, 100%); text-align: center; }
.gate input { text-align: center; font-size: 1.6rem; letter-spacing: 0.4em; padding: 0.6rem; border-radius: 0.7rem; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); }
.gate p { margin: 0; color: var(--mute); font-size: 0.95rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.75em 1.3em; border-radius: 0.8em; font-weight: 800;
  background: var(--card); border: 1px solid var(--line); transition: transform 0.12s, background 0.2s, opacity 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn.go { background: linear-gradient(180deg, #ffa043, var(--pumpkin)); color: #2a1200; border: 0; box-shadow: 0 0.3em 0 #a9530c, 0 0.6em 1.4em rgba(240, 138, 36, 0.35); }
.btn.go:active { transform: translateY(0.2em); box-shadow: 0 0.1em 0 #a9530c; }
.btn:disabled { opacity: 0.4; pointer-events: none; }
.btn.small { padding: 0.45em 0.8em; font-size: 0.9em; }
.btn.danger { color: #ffb3bd; }

@keyframes pulse { 50% { transform: scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(0.8rem); } }
@keyframes popin { 0% { transform: scale(0.2); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes bob { 50% { transform: translateY(-0.18em); } }
@keyframes shake { 20%, 60% { transform: translateX(-0.4rem); } 40%, 80% { transform: translateX(0.4rem); } }
@keyframes glow { 50% { box-shadow: 0 0 0 0.35rem rgba(246, 196, 83, 0.9), 0 0 3rem rgba(246, 196, 83, 0.6); } }
@keyframes zoomin { from { transform: scale(0.6); opacity: 0; } }
@keyframes spinin { from { transform: scale(0.2) rotate(-25deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }

/* =====================================================================
   TV / HOST
   ===================================================================== */
html.tv { font-size: min(1.25vw, 2.22vh); }
.tv body { overflow: hidden; }
#stage { position: fixed; inset: 0; padding: 2.2rem 2.6rem 3.2rem; display: flex; flex-direction: column; }
.brand { font-weight: 800; letter-spacing: -0.02em; line-height: 0.95; }
.brand em { font-style: normal; color: var(--gold); }
.kicker { text-transform: uppercase; letter-spacing: 0.18em; font-weight: 800; font-size: 0.95rem; color: var(--pumpkin); }

/* host control bar */
#ctrl {
  position: fixed; right: 1rem; bottom: 0.8rem; z-index: 50; display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.95rem; opacity: 0; transition: opacity 0.3s; background: rgba(20, 11, 24, 0.85); padding: 0.4rem; border-radius: 1rem; border: 1px solid var(--line);
}
#ctrl.show, #ctrl:hover { opacity: 1; }
.ctrl-top #ctrl { top: 0.8rem; bottom: auto; }
a.btn { color: inherit; text-decoration: none; }
#ctrl .btn { padding: 0.5em 0.9em; }
#ctrl label { display: flex; align-items: center; gap: 0.35em; padding: 0 0.5em; color: var(--mute); }
#autobar { position: fixed; left: 0; right: 0; bottom: 0; height: 0.35rem; z-index: 40; border-radius: 0; }

/* lobby */
.lobby { display: grid; grid-template-columns: 30rem 1fr; gap: 2.6rem; height: 100%; }
.joincard { background: #fff8ec; color: #1b1020; border-radius: 1.6rem; padding: 1.8rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45); transform: rotate(-1.2deg); align-self: start; }
.joincard .k { font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: var(--cran); font-size: 1.1rem; }
.joincard img { width: 100%; aspect-ratio: 1; display: block; image-rendering: pixelated; }
.joincard .url { font-weight: 800; font-size: 1.55rem; text-align: center; word-break: break-all; line-height: 1.15; }
.joincard .url small { display: block; font-weight: 600; font-size: 0.95rem; color: #6b5a6e; letter-spacing: 0.02em; margin-bottom: 0.25rem; }
.lobby-right { display: flex; flex-direction: column; min-height: 0; }
.lobby-right .brand { font-size: 5.6rem; }
.lobby-right .sub { color: var(--mute); font-size: 1.5rem; margin: 0.6rem 0 1.4rem; }
.crowd { flex: 1; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 1.1rem 1.4rem; overflow: hidden; padding: 1rem 0.4rem 0.4rem; }
.crowd .pl { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; width: 7.4rem; font-size: 2rem; animation: popin 0.5s ease-out both; position: relative; }
.crowd .pl .av { animation: bob 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.crowd .pl b { font-size: 1.05rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crowd .pl.kick::after { content: 'Remove?'; position: absolute; top: -0.4rem; left: 50%; transform: translateX(-50%); background: var(--bad); font-size: 0.8rem; font-weight: 800; padding: 0.2rem 0.5rem; border-radius: 0.4rem; }
.crowd .empty { color: var(--mute); font-size: 1.5rem; padding-top: 2rem; }
.lobby-foot { display: flex; align-items: flex-end; gap: 1.2rem; justify-content: space-between; padding-top: 1rem; }
.settings { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; font-size: 1.05rem; color: var(--mute); }
.settings label { display: flex; align-items: center; gap: 0.45rem; }
.settings select, .settings input[type='number'] { background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.35rem 0.5rem; }
.settings select { max-width: 16rem; }
.settings input[type='checkbox'] { width: 1.15rem; height: 1.15rem; accent-color: var(--pumpkin); }
.startbtn { font-size: 1.8rem; padding: 0.7em 1.6em; flex: none; }
.count-pill { display: inline-block; background: var(--card); border: 1px solid var(--line); padding: 0.25rem 0.9rem; border-radius: 2rem; font-weight: 800; color: var(--ink); }

/* top strip used during play */
.strip { display: flex; align-items: center; gap: 1.2rem; min-height: 5rem; margin-bottom: 1.2rem; }
.strip .who { display: flex; align-items: center; gap: 0.9rem; font-size: 2.3rem; font-weight: 800; }
.strip .who .av { font-size: 1.7rem; }
.strip .grow { flex: 1; }
.strip .meta { color: var(--mute); font-size: 1.2rem; font-weight: 600; }
.strip .bar { width: 18rem; }

/* board */
.board { flex: 1; display: grid; gap: 0.7rem; min-height: 0; grid-template-rows: auto repeat(var(--rows), 1fr); }
.board .cat, .board .tile { border-radius: 0.8rem; display: grid; place-items: center; text-align: center; }
.board .cat { background: linear-gradient(180deg, #2a1838, #1d1029); border: 1px solid var(--line); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.25rem; padding: 0.9rem 0.6rem; line-height: 1.1; min-height: 5.2rem; }
.board .tile {
  background: linear-gradient(180deg, var(--tile-hi), var(--tile)); color: var(--gold); font-weight: 800; font-size: 3rem;
  text-shadow: 0 0.12em 0 rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0.35rem 0 #10153d;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.board .tile.used { background: rgba(255, 244, 224, 0.04); box-shadow: inset 0 0 0 1px var(--line); color: transparent; text-shadow: none; }
.board .tile.hot { transform: scale(1.06); box-shadow: 0 0 0 0.3rem var(--gold), 0 0 2.5rem rgba(246, 196, 83, 0.55); z-index: 2; }
.board .cat.hot { border-color: var(--gold); color: var(--gold); }
.board .tile.chosen { animation: glow 0.4s 3; background: linear-gradient(180deg, #ffd36e, var(--gold)); color: #3a2400; text-shadow: none; }
.board.clickable .tile:not(.used) { cursor: pointer; }
.board.clickable .tile:not(.used):hover { transform: translateY(-0.2rem); }

/* question */
.qwrap { flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 1.4rem; min-height: 0; }
.qtop { display: flex; align-items: center; gap: 1.2rem; }
.pill { background: var(--card); border: 1px solid var(--line); border-radius: 2rem; padding: 0.45rem 1.1rem; font-weight: 800; font-size: 1.3rem; display: inline-flex; gap: 0.6rem; align-items: center; }
.pill.gold { color: var(--gold); }
.pill.dd { background: var(--gold); color: #3a2400; border: 0; }
.qtop .grow { flex: 1; }
.answered { display: flex; align-items: center; gap: 0.8rem; font-weight: 800; font-size: 1.5rem; }
.answered .avs { display: flex; flex-direction: row-reverse; }
.answered .avs .av { font-size: 1rem; margin-left: -0.5rem; animation: popin 0.35s both; }
.qtext { display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 3.6rem; line-height: 1.12; letter-spacing: -0.015em; padding: 0 4rem; text-wrap: balance; animation: rise 0.4s ease-out; }
.qtext.long { font-size: 3rem; }
.readbar { width: 40%; margin: 0 auto; height: 0.6rem; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.answers .ans {
  background: var(--ac); color: var(--at); border-radius: 1rem; display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 1.5rem; min-height: 7rem;
  font-size: 2.2rem; font-weight: 800; box-shadow: 0 0.4rem 0 rgba(0, 0, 0, 0.3); animation: zoomin 0.35s both; position: relative; transition: opacity 0.4s, transform 0.4s;
}
.answers .ans:nth-child(2) { animation-delay: 0.05s; } .answers .ans:nth-child(3) { animation-delay: 0.1s; } .answers .ans:nth-child(4) { animation-delay: 0.15s; }
.answers .ans .shape { font-size: 2.4rem; width: 3rem; text-align: center; opacity: 0.9; }
.answers .ans .txt { flex: 1; line-height: 1.1; }
.answers .ans .cnt { font-size: 2.6rem; min-width: 3rem; text-align: right; }
.answers .ans .who { position: absolute; left: 5.2rem; bottom: -1rem; display: flex; }
.answers .ans .who .av { font-size: 0.85rem; margin-right: -0.35rem; }
.answers.revealed .ans.wrong { opacity: 0.28; transform: scale(0.97); }
.answers.revealed .ans.right { box-shadow: 0 0 0 0.35rem #fff, 0 0 3rem rgba(255, 255, 255, 0.35); transform: scale(1.02); }
.answers.hold .ans { visibility: hidden; }
.fastest { text-align: center; color: var(--mute); font-size: 1.4rem; font-weight: 600; min-height: 2rem; }
.fastest b { color: var(--ink); }

/* tile zoom between board and question */
.zoomtile { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; align-content: center; gap: 1rem; background: linear-gradient(180deg, var(--tile-hi), var(--tile)); color: var(--gold); font-weight: 800; font-size: 14rem; line-height: 1; text-shadow: 0 0.3rem 0 rgba(0, 0, 0, 0.4); animation: zoomtile 1.3s cubic-bezier(0.2, 0.9, 0.3, 1) forwards; pointer-events: none; }
.zoomtile small { font-size: 2.4rem; color: var(--ink); text-transform: uppercase; letter-spacing: 0.12em; text-shadow: none; }
@keyframes zoomtile { 0% { transform: scale(0.12); opacity: 1; border-radius: 3rem; } 40% { transform: scale(1); border-radius: 0; } 78% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* daily double splash */
.splash { flex: 1; display: grid; place-items: center; text-align: center; align-content: center; gap: 1.5rem; }
.splash .big { font-size: 9rem; font-weight: 800; line-height: 0.9; letter-spacing: -0.03em; color: var(--gold); text-shadow: 0 0.3rem 0 #8a5a00, 0 0 4rem rgba(246, 196, 83, 0.5); animation: spinin 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.splash .line { font-size: 2.4rem; font-weight: 800; display: flex; gap: 1rem; align-items: center; justify-content: center; }
.splash .line .av { font-size: 2rem; }
.splash .note { color: var(--mute); font-size: 1.5rem; }
.splash .ring { width: 7rem; height: 7rem; }

/* leaderboard */
.lbwrap { flex: 1; display: flex; flex-direction: column; align-items: center; min-height: 0; }
.lbwrap h2 { font-size: 4.2rem; margin: 0 0 1.4rem; letter-spacing: -0.02em; }
.lb { position: relative; width: min(64rem, 100%); }
.lb .row {
  position: absolute; left: 0; right: 0; height: 5.6rem; display: flex; align-items: center; gap: 1.2rem; padding: 0 1.4rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 1rem; transition: top 1s cubic-bezier(0.3, 1.2, 0.4, 1);
}
.lb .row.first { background: linear-gradient(90deg, rgba(246, 196, 83, 0.28), rgba(246, 196, 83, 0.06)); border-color: rgba(246, 196, 83, 0.5); }
.lb .rank { width: 3rem; font-weight: 800; font-size: 2rem; color: var(--mute); text-align: center; }
.lb .row.first .rank { color: var(--gold); }
.lb .av { font-size: 1.55rem; }
.lb .name { flex: 1; font-size: 2.1rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb .streak { font-size: 1.4rem; color: var(--pumpkin); font-weight: 800; }
.lb .delta { font-weight: 800; font-size: 1.5rem; min-width: 6rem; text-align: right; animation: rise 0.5s 0.8s both; }
.lb .delta.up { color: var(--ok); } .lb .delta.down { color: var(--bad); } .lb .delta.zero { color: var(--mute); }
.lb .score { font-weight: 800; font-size: 2.4rem; min-width: 8rem; text-align: right; font-variant-numeric: tabular-nums; }
.lb .move { font-size: 1.1rem; width: 2rem; text-align: center; }
.lb .move.up { color: var(--ok); } .lb .move.down { color: var(--bad); }
.lb-more { color: var(--mute); margin-top: 1rem; font-size: 1.2rem; }

/* final reveal */
.fr { width: min(70rem, 100%); margin: 0 auto; display: grid; gap: 0.7rem; }
.fr .row { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 1.2rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 0.7rem 1.3rem; font-size: 1.7rem; font-weight: 800; animation: rise 0.5s both; }
.fr .row .av { font-size: 1.3rem; }
.fr .row .ok { color: var(--ok); } .fr .row .no { color: var(--bad); }
.fr .row .pick { font-size: 1.2rem; color: var(--mute); font-weight: 600; }
.fr .row .tot { min-width: 7rem; text-align: right; }

/* podium */
.podium { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 2rem; padding-bottom: 2rem; }
.podium .spot { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; width: 17rem; animation: rise 0.8s both; }
.podium .spot .av { font-size: 2.6rem; animation: bob 1.6s ease-in-out infinite; }
.podium .spot .nm { font-size: 2.3rem; font-weight: 800; text-align: center; }
.podium .spot .sc { font-size: 1.6rem; color: var(--mute); font-weight: 800; }
.podium .block { width: 100%; border-radius: 1rem 1rem 0 0; display: grid; place-items: start center; padding-top: 0.6rem; font-size: 4rem; font-weight: 800; color: rgba(0, 0, 0, 0.35); }
.podium .p1 { order: 2; animation-delay: 1.6s; } .podium .p1 .block { height: 15rem; background: linear-gradient(180deg, #ffd770, #d99a1a); }
.podium .p2 { order: 1; animation-delay: 0.8s; } .podium .p2 .block { height: 10rem; background: linear-gradient(180deg, #e9e4ee, #a79fb0); }
.podium .p3 { order: 3; animation-delay: 0s; } .podium .p3 .block { height: 6.5rem; background: linear-gradient(180deg, #e8a36a, #a75f2a); }
.podium .p1 .av { font-size: 3.4rem; }
.rest { text-align: center; color: var(--mute); font-size: 1.3rem; }

/* =====================================================================
   PHONE
   ===================================================================== */
.phone body { min-height: 100dvh; overscroll-behavior: none; }
.phone #toasts { top: 4.4rem; bottom: auto; width: calc(100% - 2rem); }
.phone #app { min-height: 100dvh; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem; padding-top: max(0.7rem, env(safe-area-inset-top)); background: rgba(0, 0, 0, 0.25); border-bottom: 1px solid var(--line); }
.topbar .av { font-size: 0.95rem; }
.topbar .nm { font-weight: 800; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .sc { font-weight: 800; font-size: 1.15rem; background: var(--card); padding: 0.25rem 0.7rem; border-radius: 2rem; font-variant-numeric: tabular-nums; }
.topbar .gear { background: none; font-size: 1.25rem; padding: 0.2rem 0.3rem; opacity: 0.55; }
.screen { flex: 1; display: flex; flex-direction: column; padding: 1.1rem; padding-bottom: max(1.1rem, env(safe-area-inset-bottom)); gap: 1rem; }
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.9rem; }
.phone h1 { font-size: 2.3rem; line-height: 1; margin: 0; letter-spacing: -0.02em; }
.phone h2 { font-size: 1.6rem; margin: 0; line-height: 1.1; }
.phone p { margin: 0; color: var(--mute); }
.bigav { font-size: 2.6rem; animation: bob 2.4s ease-in-out infinite; }

/* join */
.join { gap: 1.1rem; }
.join .brand { font-size: 2.6rem; text-align: center; margin-top: 0.5rem; }
.field { display: grid; gap: 0.4rem; }
.field span { font-weight: 800; font-size: 0.95rem; color: var(--mute); }
.field input { font-size: 1.3rem; padding: 0.8rem 0.9rem; border-radius: 0.8rem; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); font-weight: 600; }
.field input:focus { outline: 2px solid var(--pumpkin); outline-offset: 1px; }
.chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.3rem, 1fr)); gap: 0.55rem; }
.chars button { background: var(--card); border: 2px solid transparent; border-radius: 0.9rem; padding: 0.5rem 0.2rem 0.4rem; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; font-size: 1rem; }
.chars button .av { font-size: 0.95rem; }
.chars button small { font-size: 0.7rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.chars button.sel { border-color: var(--gold); background: rgba(246, 196, 83, 0.15); }
.chars button.sel small { color: var(--ink); }
.chars button:disabled { opacity: 0.22; }
.join .btn.go { font-size: 1.3rem; padding: 0.9rem; position: sticky; bottom: 0.8rem; }

/* pick (phone) */
.picklist { display: grid; gap: 0.8rem; }
.pcat h3 { margin: 0 0 0.35rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.pcat .vals { display: grid; grid-template-columns: repeat(auto-fit, minmax(3.6rem, 1fr)); gap: 0.4rem; }
.pcat .vals button { background: linear-gradient(180deg, var(--tile-hi), var(--tile)); color: var(--gold); font-weight: 800; font-size: 1.15rem; padding: 0.75rem 0; border-radius: 0.6rem; box-shadow: 0 0.2rem 0 #10153d; }
.pcat .vals button:disabled { background: rgba(255, 244, 224, 0.05); color: rgba(255, 244, 224, 0.2); box-shadow: none; text-decoration: line-through; }
.pcat .vals button.sel { background: var(--gold); color: #3a2400; box-shadow: 0 0 0 3px #fff; }
.pickbar { position: sticky; bottom: 0; padding: 0.8rem 0 0.2rem; background: linear-gradient(transparent, var(--bg) 35%); display: grid; gap: 0.6rem; }
.pickbar .btn { font-size: 1.15rem; padding: 0.95rem; }
.turnhead { display: flex; align-items: center; gap: 0.8rem; }
.turnhead h1 { flex: 1; font-size: 1.9rem; }
.turnhead .ring { width: 3.4rem; height: 3.4rem; }
.turnhead .ring .n { font-size: 1.2rem; }

/* answer (phone) */
.qhead { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.qhead .pill { font-size: 0.9rem; padding: 0.3rem 0.75rem; }
.qhead .grow { flex: 1; }
.qhead .ring { width: 3rem; height: 3rem; }
.qhead .ring .n { font-size: 1.1rem; }
.qline { font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.pans { flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.pans button {
  flex: 1; min-height: 4.4rem; background: var(--ac); color: var(--at); border-radius: 1rem; display: flex; align-items: center; gap: 0.9rem;
  padding: 0.6rem 1rem; text-align: left; font-weight: 800; font-size: 1.25rem; box-shadow: 0 0.3rem 0 rgba(0, 0, 0, 0.35); animation: zoomin 0.25s both;
}
.pans button .shape { font-size: 1.6rem; width: 1.8rem; text-align: center; }
.pans button:active { transform: translateY(0.2rem); box-shadow: 0 0.1rem 0 rgba(0, 0, 0, 0.35); }
.pans.locked button { opacity: 0.25; }
.pans.locked button.mine { opacity: 1; box-shadow: 0 0 0 3px #fff; }
.readwait { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; }
.readwait .qline { font-size: 1.6rem; text-align: center; }

/* results (phone) */
.result { flex: 1; margin: -1.1rem; padding: 1.6rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.8rem; }
.result.ok { background: linear-gradient(180deg, #1f7a45, #145a32); }
.result.no { background: linear-gradient(180deg, #a3263a, #6e1626); }
.result.none { background: linear-gradient(180deg, #4b3a52, #2b1f31); }
.result .icon { font-size: 4.5rem; line-height: 1; animation: popin 0.45s both; }
.result h1 { font-size: 2.6rem; }
.result .pts { font-size: 2rem; font-weight: 800; background: rgba(0, 0, 0, 0.22); padding: 0.4rem 1.2rem; border-radius: 2rem; animation: popin 0.45s 0.15s both; }
.result p { color: rgba(255, 244, 224, 0.85); }
.result .ans-was { background: rgba(0, 0, 0, 0.25); border-radius: 0.8rem; padding: 0.6rem 1rem; font-weight: 800; color: var(--ink); }
.result.no h1 { animation: shake 0.45s; }
.rankcard { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; width: 100%; display: grid; gap: 0.3rem; text-align: center; }
.rankcard .r { font-size: 3rem; font-weight: 800; line-height: 1; }
.rankcard .r small { font-size: 1.1rem; color: var(--mute); }
.chase { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: var(--mute); }
.chase .av { font-size: 0.7rem; }

/* wager */
.wager { display: grid; gap: 0.9rem; width: 100%; }
.wager .amt { font-size: 3.2rem; font-weight: 800; text-align: center; color: var(--gold); font-variant-numeric: tabular-nums; }
.wager input[type='range'] { width: 100%; accent-color: var(--gold); height: 2rem; }
.wager .quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
.wager .quick .btn { padding: 0.6rem 0; font-size: 0.95rem; }

/* host remote on phone */
.remote { position: fixed; left: 0.6rem; right: 0.6rem; bottom: max(0.6rem, env(safe-area-inset-bottom)); z-index: 60; background: #24152b; border: 1px solid rgba(246, 196, 83, 0.45); border-radius: 1rem; padding: 0.55rem; display: flex; gap: 0.4rem; flex-wrap: wrap; box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.5); }
.remote .btn { flex: 1; padding: 0.65rem 0.4rem; font-size: 0.95rem; }
.remote .tag { width: 100%; font-size: 0.72rem; color: var(--gold); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; display: flex; justify-content: space-between; }
.remote .tag button { background: none; color: var(--mute); font-size: 0.75rem; }
.has-remote .screen { padding-bottom: 7.5rem; }

/* =====================================================================
   EDITOR
   ===================================================================== */
.editor body { overflow: auto; }
.ed { max-width: 72rem; margin: 0 auto; padding: 1.2rem; display: grid; gap: 1rem; }
.ed header { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; position: sticky; top: 0; z-index: 5; background: rgba(20, 11, 24, 0.92); backdrop-filter: blur(6px); padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.ed header h1 { margin: 0 auto 0 0; font-size: 1.5rem; }
.ed select, .ed input, .ed textarea { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: 0.55rem; padding: 0.5rem 0.6rem; }
.ed input:focus, .ed textarea:focus { outline: 2px solid var(--pumpkin); }
.ed .title-in { font-size: 1.4rem; font-weight: 800; width: 100%; }
.ed .cats { display: grid; gap: 1rem; }
.ed .ecat { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; display: grid; gap: 0.7rem; }
.ed .ecat .chead { display: flex; gap: 0.5rem; }
.ed .ecat .chead input { flex: 1; font-weight: 800; font-size: 1.1rem; }
.ed .eq { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 0.5rem; align-items: start; border-top: 1px dashed var(--line); padding-top: 0.7rem; }
.ed .eq .qtext-in { width: 100%; min-height: 2.6rem; resize: vertical; }
.ed .eans { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-top: 0.4rem; }
.ed .eans label { display: flex; align-items: center; gap: 0.35rem; border-left: 0.35rem solid var(--ac); border-radius: 0.5rem; background: rgba(0, 0, 0, 0.2); padding-left: 0.3rem; }
.ed .eans input[type='text'] { flex: 1; min-width: 0; border: 0; background: transparent; }
.ed .eans input[type='radio'] { accent-color: var(--ok); width: 1.1rem; height: 1.1rem; }
.ed .hint { color: var(--mute); font-size: 0.9rem; }
.ed .final { border-color: rgba(246, 196, 83, 0.4); }
@media (max-width: 640px) { .ed .eq { grid-template-columns: 1fr; } .ed .eans { grid-template-columns: 1fr; } }

/* =====================================================================
   PHOTOS (Too Cropped) · music chip · countdown extras
   ===================================================================== */
.imgbox { position: relative; aspect-ratio: var(--ar); width: min(100cqw, calc(100cqh * var(--ar))); border-radius: 1rem; overflow: hidden; background: #000; box-shadow: 0 0 0 0.25rem rgba(255, 244, 224, 0.9), 0 1rem 3rem rgba(0, 0, 0, 0.5); }
.imgbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.imgbox img.unzoom { transform: scale(1) !important; transition: transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s; }
.imgbox img.fadein { animation: fadein 0.6s both; }
@keyframes fadein { from { opacity: 0; } }
.imgbox .stagepill, .imgbox .croptag { position: absolute; top: 0.8rem; background: rgba(20, 11, 24, 0.85); padding: 0.35rem 0.8rem; border-radius: 2rem; font-weight: 800; font-size: 1.1rem; }
.imgbox .stagepill { right: 0.8rem; color: var(--gold); }
.imgbox .croptag { left: 0.8rem; }
.qwrap.has-img .qimg { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; min-height: 0; }
.qwrap.has-img .media { container-type: size; min-height: 0; display: grid; place-items: center; }
.qwrap.has-img .qtext { font-size: 2.6rem; padding: 0; text-align: left; place-items: center start; }
.qwrap.has-img .answers .ans { min-height: 5.2rem; font-size: 1.9rem; padding: 0.7rem 1.3rem; }
.qwrap.has-img .readbar { width: 70%; margin: 0; }
.allin { color: var(--gold); font-weight: 800; }
.answered .allin { margin-right: 0.6rem; animation: popin 0.4s both; }
.tonight { font-size: 1.6rem; margin-top: 0.6rem; color: var(--mute); }
.tonight b { color: var(--ink); }
#soundchip { position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 70; background: var(--gold); color: #3a2400; border: 0; font-size: 1.2rem; animation: pulse 1.6s infinite; }

.pimg { position: relative; aspect-ratio: var(--ar); width: min(100%, calc(30dvh * var(--ar))); margin: 0 auto; border-radius: 0.8rem; overflow: hidden; box-shadow: 0 0 0 2px rgba(255, 244, 224, 0.85); background: #000; flex: none; }
.pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pimg.small { width: min(70%, calc(22dvh * var(--ar))); margin-top: 0.4rem; }
.getready { display: flex; align-items: center; gap: 0.9rem; justify-content: center; }
.getready b { font-size: 1.2rem; }
.getready p { font-size: 0.9rem; }
.ring.big { width: 8.5rem; height: 8.5rem; }
.ring.big .n { font-size: 3.2rem; }
.mychoice { background: var(--ac); color: var(--at); border-radius: 1rem; padding: 0.9rem 1.2rem; display: flex; gap: 0.8rem; align-items: center; font-weight: 800; font-size: 1.3rem; max-width: 100%; box-shadow: 0 0 0 3px #fff; }
.mychoice .shape { font-size: 1.4rem; }
.phone .center .ring { width: 4.2rem; height: 4.2rem; }
.phone .center .ring .n { font-size: 1.5rem; }
.phone .center .ring.big { width: 8.5rem; height: 8.5rem; }
.phone .center .ring.big .n { font-size: 3.2rem; }

/* =====================================================================
   ADMIN
   ===================================================================== */
.admin body { overflow: auto; }
.adm-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1.2rem; background: rgba(20, 11, 24, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.adm-top .logo { font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.adm-top .logo em { font-style: normal; color: var(--gold); }
.adm-top nav { display: flex; gap: 0.3rem; }
.adm-top nav a { color: var(--mute); text-decoration: none; font-weight: 800; padding: 0.4rem 0.75rem; border-radius: 0.6rem; }
.adm-top nav a.on { color: var(--ink); background: var(--card); }
.adm-top .grow, .grow { flex: 1; }
.live { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; }
.live .dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--mute); }
.live .dot.on { background: var(--ok); box-shadow: 0 0 0.6rem var(--ok); }
.muted { color: var(--mute); }
#main { max-width: 76rem; margin: 0 auto; padding: 1.2rem; display: grid; gap: 1rem; }
.adm-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.adm-head h1 { margin: 0; font-size: 2rem; letter-spacing: -0.02em; }
.empty { color: var(--mute); padding: 2rem; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.1rem; display: grid; gap: 0.45rem; align-content: start; }
.card.onair { border-color: var(--ok); box-shadow: 0 0 0 1px var(--ok); }
.card .onair-tag { display: none; position: absolute; top: -0.65rem; right: 0.8rem; background: var(--ok); color: #082414; font-weight: 800; font-size: 0.75rem; padding: 0.15rem 0.55rem; border-radius: 1rem; }
.card.onair .onair-tag { display: block; }
.ctitle { font-weight: 800; font-size: 1.3rem; }
.cmeta { font-size: 0.9rem; color: var(--mute); }
.cstate { font-size: 0.9rem; font-weight: 600; }
.cstate.ok { color: var(--ok); } .cstate.warn { color: var(--gold); }
.cbtns { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.4rem; }

.modal { position: fixed; inset: 0; z-index: 85; background: rgba(10, 5, 12, 0.78); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 1rem; overflow: auto; }
.mbox { background: #22142a; border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.4rem; width: min(30rem, 100%); display: grid; gap: 1rem; box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5); max-height: calc(100dvh - 2rem); overflow: auto; }
.mbox.wide { width: min(46rem, 100%); }
.mbox.xwide { width: min(70rem, 100%); }
.mbox h2 { margin: 0; }
.mbox p { margin: 0; }
.mact { display: flex; gap: 0.5rem; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.form { display: grid; gap: 0.9rem; }
.form .row, .row { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.admin input[type='text'], .admin input[type='number'], .admin input[type='password'], .admin input:not([type]), .admin textarea, .admin select { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: 0.55rem; padding: 0.5rem 0.6rem; }
.admin input:focus, .admin textarea:focus, .admin select:focus { outline: 2px solid var(--pumpkin); outline-offset: 0; }
.admin input[type='checkbox'], .admin input[type='radio'] { accent-color: var(--pumpkin); width: 1.05rem; height: 1.05rem; }
input.wide { width: 100%; font-size: 1.2rem; font-weight: 800; }
.catgrid { display: flex; flex-wrap: wrap; gap: 0.4rem; max-height: 18rem; overflow: auto; }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.7rem; border-radius: 2rem; background: var(--card); border: 1px solid var(--line); font-size: 0.92rem; cursor: pointer; }
.chip.on { background: rgba(246, 196, 83, 0.18); border-color: var(--gold); }
.chip.online::after { content: '🌐'; font-size: 0.75rem; }
.chip input { display: none; }
.plist { margin: 0.4rem 0 0; padding-left: 1.2rem; color: var(--mute); font-size: 0.92rem; }

.ed-top { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; position: sticky; top: 3.4rem; z-index: 10; background: rgba(20, 11, 24, 0.94); padding: 0.6rem 0; }
.title-in { flex: 1; min-width: 12rem; font-size: 1.5rem !important; font-weight: 800; }
.savestate { font-size: 0.85rem; color: var(--mute); min-width: 5rem; }
.savestate.ok { color: var(--ok); } .savestate.bad { color: var(--bad); }
.settingsbar { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 0.8rem 1rem; font-size: 0.95rem; }
.settingsbar label { display: flex; align-items: center; gap: 0.35rem; }
.problems summary { cursor: pointer; color: var(--gold); font-weight: 800; }
.problems .ok { color: var(--ok); font-weight: 800; }
.minimap { display: grid; gap: 0.3rem; }
.mmcat { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; text-align: center; padding: 0.3rem; background: rgba(0, 0, 0, 0.25); border-radius: 0.4rem; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mmtile { text-align: center; font-weight: 800; font-size: 0.8rem; padding: 0.25rem; border-radius: 0.4rem; cursor: pointer; }
.mmtile.done { background: linear-gradient(180deg, var(--tile-hi), var(--tile)); color: var(--gold); }
.mmtile.todo { background: transparent; border: 1px dashed rgba(246, 196, 83, 0.5); color: var(--mute); }

.cats { display: grid; gap: 1rem; }
.ecat { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; display: grid; gap: 0.6rem; scroll-margin-top: 8rem; }
.ecat.cropped { border-color: rgba(240, 138, 36, 0.5); }
.ecat.final { border-color: rgba(246, 196, 83, 0.5); }
.ecat.final.off { opacity: 0.55; }
.ecat .chead { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; }
.ecat .chead > input { flex: 1; min-width: 10rem; font-weight: 800; font-size: 1.1rem; }
.ecat .tag { font-size: 0.8rem; font-weight: 800; color: var(--gold); background: rgba(246, 196, 83, 0.12); padding: 0.25rem 0.6rem; border-radius: 1rem; }
.ecat .hint, .hint { color: var(--mute); font-size: 0.88rem; margin: 0; }
.catsel { max-width: 13rem; }
.qrows { display: grid; gap: 0; }
.eq { display: grid; grid-template-columns: 6.6rem 1fr auto; gap: 0.6rem; align-items: start; border-top: 1px dashed var(--line); padding: 0.7rem 0; scroll-margin-top: 9rem; }
.qleft { display: grid; gap: 0.4rem; }
.qleft input { width: 100%; font-weight: 800; color: var(--gold); }
.qmain { display: grid; gap: 0.4rem; min-width: 0; }
.qtext-in { width: 100%; resize: vertical; font-weight: 600; }
.eans { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.eans label { display: flex; align-items: center; gap: 0.4rem; border-left: 0.35rem solid var(--ac); border-radius: 0.5rem; background: rgba(0, 0, 0, 0.22); padding-left: 0.45rem; }
.eans label.right { background: rgba(63, 191, 110, 0.16); box-shadow: inset 0 0 0 1px rgba(63, 191, 110, 0.6); }
.eans input[type='text'] { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; }
.eans input[type='radio'] { accent-color: var(--ok); }
.qbtns { display: grid; gap: 0.35rem; }
.addphoto { display: grid; place-items: center; gap: 0.15rem; background: rgba(0, 0, 0, 0.25); border: 1px dashed var(--line); border-radius: 0.6rem; padding: 0.45rem 0.2rem; font-size: 1.2rem; color: var(--mute); }
.addphoto span { font-size: 0.72rem; font-weight: 800; }
.addphoto.need { border-color: var(--pumpkin); color: var(--pumpkin); background: rgba(240, 138, 36, 0.08); }
.thumb { position: relative; padding: 0; border-radius: 0.6rem; overflow: hidden; aspect-ratio: var(--ar); width: 100%; background: #000; box-shadow: 0 0 0 2px var(--pumpkin); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 0.65rem; font-weight: 800; background: rgba(0, 0, 0, 0.7); padding: 0.1rem; }
.addbar { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

.photoed { display: grid; grid-template-columns: 1fr 19rem; gap: 1.2rem; align-items: start; }
.cropper { position: relative; overflow: hidden; border-radius: 0.8rem; background: rgba(0, 0, 0, 0.35); cursor: crosshair; touch-action: none; user-select: none; display: grid; place-items: center; min-height: 18rem; }
.cropper img { display: block; max-width: 100%; max-height: 62vh; pointer-events: none; }
.cropper.empty img { display: none; }
.cropper .cropempty { display: none; color: var(--mute); font-weight: 800; font-size: 1.3rem; }
.cropper.empty { cursor: pointer; border: 2px dashed var(--line); }
.cropper.empty .cropempty { display: block; }
.croprect { position: absolute; border: 3px solid var(--gold); border-radius: 0.3rem; box-shadow: 0 0 0 9999px rgba(10, 5, 12, 0.62); pointer-events: none; }
.cropper.empty .croprect { display: none; }
.pside { display: grid; gap: 0.8rem; }
.modes { display: grid; gap: 0.4rem; }
.mode { display: flex; gap: 0.5rem; align-items: flex-start; background: rgba(0, 0, 0, 0.22); border-radius: 0.6rem; padding: 0.5rem 0.6rem; cursor: pointer; }
.mode small { display: block; color: var(--mute); font-size: 0.8rem; }
.cprev { display: flex; gap: 0.4rem; }
.cprev .pv { position: relative; flex: 1; aspect-ratio: var(--ar); overflow: hidden; border-radius: 0.4rem; background: #000; }
.cprev .pv img { position: absolute; max-width: none; }
.cprev .pv span { position: absolute; left: 0.2rem; bottom: 0.2rem; font-size: 0.65rem; font-weight: 800; background: rgba(0, 0, 0, 0.7); padding: 0.05rem 0.3rem; border-radius: 0.3rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem 1.2rem; }
.panel h3 { margin: 0 0 0.4rem; }
.panel p { margin: 0.3rem 0; }
.panel a { color: var(--gold); }
.mlist { display: grid; gap: 0.6rem; }
.mrow { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.8rem 1rem; flex-wrap: wrap; }
.mrow small { display: block; color: var(--mute); }
.mctl { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.mctl audio { height: 2.2rem; }
@media (max-width: 760px) {
  .photoed { grid-template-columns: 1fr; }
  .eq { grid-template-columns: 4.8rem 1fr; }
  .qbtns { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
  .eans { grid-template-columns: 1fr; }
  .ed-top { top: 6rem; }
}
