/* Quizz All Over Me — Fight Card.
   A letterpress boxing bill: three inks, two typefaces, a handful of printer's cuts. */

@font-face { font-family: "League Gothic"; font-weight: 400; font-display: swap; src: url(/fonts/league-gothic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "League Gothic"; font-weight: 400; font-display: swap; src: url(/fonts/league-gothic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-weight: 400 800; font-display: swap; src: url(/fonts/archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-weight: 400 800; font-display: swap; src: url(/fonts/archivo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --y: #f5c518;      /* poster stock */
  --k: #15130f;      /* black ink */
  --r: #d42a1e;      /* red ink */
  --dim: #cfc9b8;    /* quiet text on black */
  --rule: 5px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--y);
  color: var(--k);
  font: 500 16px/1.4 "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body[data-ground="ink"] { background: var(--k); color: #fff; }
/* Uneven ink, as on a cheap letterpress bill. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 5; pointer-events: none; mix-blend-mode: multiply; opacity: 0.55;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .22  0 0 0 0 0  .9 0 0 0 -.38'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.lg { font-family: "League Gothic", "Arial Narrow", sans-serif; font-weight: 400; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.star { display: inline-block; width: 1em; height: 1em; background: currentColor; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
:focus-visible { outline: 3px solid var(--r); outline-offset: 3px; }
body[data-ground="ink"] :focus-visible { outline-color: var(--y); }

/* Printer's cuts. One SVG each, printed in whatever ink the text is. */
.cut { background: currentColor; -webkit-mask: var(--cut) center / contain no-repeat; mask: var(--cut) center / contain no-repeat; aspect-ratio: 1; }
.cut-bell { --cut: url(/cuts/bell.svg); }
.cut-fist { --cut: url(/cuts/fist.svg); }
.cut-belt { --cut: url(/cuts/belt.svg); aspect-ratio: 3 / 2; }

/* The hanging gloves: one cut, mirrored for the left glove, each swung from
   its lace by gloves.js, placed by it too (LAYOUT), so the picture and the
   physics agree on where the gloves are. */
.gloves { position: relative; aspect-ratio: 1; touch-action: pan-y; }   /* a sideways drag pushes the gloves; up and down still scrolls */
.gloves .glove { position: absolute; top: 0; left: 3.02%; width: 46%; height: 92%; background: currentColor; -webkit-mask: url(/cuts/glove.svg) center / contain no-repeat; mask: url(/cuts/glove.svg) center / contain no-repeat; transform-origin: 49% 0; transform: scaleX(-1); will-change: transform; }
.gloves .glove + .glove { top: 8%; left: 51.9%; transform: none; }
/* The 3D pair (gloves-3d/live.js) hangs over the slot in a canvas a little
   bigger than it (wide, for a pushed swing), so the swing is not cut off,
   and the shadow fades out towards its edges instead of stopping on a line.
   The flat cut stays underneath until the 3D pair has drawn, then fades out.
   The mouse or a finger pushes the gloves (gloves-3d/scene.js): a sideways
   drag pushes them, an up or down swipe still scrolls the page. Reduced
   motion leaves the gloves still, so the canvas takes no pointer at all. */
.gloves .glove3d { position: absolute; left: -60%; top: -6%; width: 220%; height: 135%; touch-action: pan-y; opacity: 0; transition: opacity 0.6s ease;
  -webkit-mask: linear-gradient(to bottom, #000 68%, transparent 97%), linear-gradient(to right, transparent 2%, #000 16%, #000 84%, transparent 98%); -webkit-mask-composite: source-in;
  mask: linear-gradient(to bottom, #000 68%, transparent 97%), linear-gradient(to right, transparent 2%, #000 16%, #000 84%, transparent 98%); mask-composite: intersect; }
.gloves:not(.is-3d) .glove3d { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .gloves .glove3d { pointer-events: none; } }
.gloves.is-3d .glove3d { opacity: 1; }
.gloves .glove { transition: opacity 0.6s ease; }
.gloves.is-3d .glove { opacity: 0; }

/* ---- the bill ------------------------------------------------------------ */

.bill { min-height: 100dvh; display: flex; justify-content: center; padding: 13px; padding-bottom: max(13px, env(safe-area-inset-bottom)); }
.sheet { flex: 1; min-width: 0; max-width: 1240px; display: flex; flex-direction: column; border: var(--rule) solid var(--k); container-type: inline-size; }
.bill.flush { padding: 0; }
.bill.flush .sheet { border: 0; max-width: none; }

.mast { text-align: center; font-size: 30px; line-height: 1; letter-spacing: 0.04em; padding: 10px 0 6px; border-bottom: var(--rule) solid var(--k); }
.mast span { color: var(--r); }

.band { background: var(--k); color: var(--y); text-align: center; padding: 8px 12px 8px; }
.band b { display: block; font-size: 27px; line-height: 1.05; letter-spacing: 0.05em; }
.band span { display: block; font-size: 12.5px; font-weight: 600; color: #fff; }

.only { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 23px; letter-spacing: 0.08em; }
.only .star { font-size: 13px; color: var(--r); }

.vs { font-size: 30px; line-height: 1.1; color: var(--r); letter-spacing: 0.03em; }
.bigname { font-size: min(44cqw, calc(215cqw / var(--len))); line-height: 0.9; overflow-wrap: anywhere; }

.btn { display: block; width: 100%; border: 0; border-radius: 0; background: var(--k); color: var(--y); padding: 11px 0 8px; font-size: 32px; letter-spacing: 0.05em; }
.btn:disabled { opacity: 0.4; cursor: default; }
@media (hover: hover) { .btn:not(:disabled):hover { background: var(--r); color: #fff; } }
.btn:not(:disabled):active { background: var(--r); color: #fff; }

.textbtn, .hostlink { all: unset; cursor: pointer; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.textbtn:focus-visible, .hostlink:focus-visible { outline: 3px solid var(--r); outline-offset: 3px; }

.error { margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--r); }
.error:empty { display: none; }

/* ---- join ---------------------------------------------------------------- */

.poster { container-type: inline-size; padding: 22px 12px 0; text-align: center; }
.mark { margin-top: 6px; }
.mark .q { display: block; font-size: 60.5cqw; line-height: 0.84; }
.mark .a { display: block; font-size: 26.3cqw; line-height: 0.9; color: var(--r); margin-top: 0.03em; }
.poster .cut-gloves { display: none; width: 40cqw; margin: 10px auto 0; }
@media (min-height: 840px) { .poster .cut-gloves { display: block; } }
.poster .band { margin: 10px -12px 0; }

.entry { padding: 16px 12px 0; text-align: center; }
.entry label { display: block; font-size: 13px; font-weight: 700; }
.entry input { display: block; width: 100%; margin-top: 2px; padding: 0; border: 0; border-bottom: 4px solid var(--k); border-radius: 0; background: none; text-align: center; }
.entry input:focus { outline: none; border-bottom-color: var(--r); }
.entry input::placeholder { color: var(--k); opacity: 0.2; }
.entry input.name { font-family: "League Gothic", "Arial Narrow", sans-serif; font-size: 60px; line-height: 1.05; text-transform: uppercase; }
.entry input.email { margin-bottom: 12px; padding: 8px 0; font-size: 19px; font-weight: 600; }
.entry .vs { margin: 6px 0 10px; }
.easy { margin-top: 9px; font-size: 13px; font-weight: 600; }
.late { margin-top: 6px; font-size: 13px; font-weight: 600; }

.foot { margin-top: auto; padding: 16px 14px 10px; text-align: center; }
.imprint { font-size: 10px; line-height: 1.4; }
.imprint.claimed { font-size: 12.5px; font-weight: 700; }
.imprint.claimed .star { margin-right: 5px; font-size: 11px; color: var(--r); vertical-align: -1px; }
.hostlink { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; opacity: 0.7; }
.footlinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.barlinks { display: flex; gap: 18px; }
/* The full stop that pays a bonus point. No pointer cursor: it should not give itself away. */
.stop { all: unset; position: relative; display: inline-block; font-weight: 800; cursor: default; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none; transition: transform 0.15s, color 0.15s; }
.stop::after { content: ""; position: absolute; inset: -14px -18px; }
.stop.holding { color: var(--r); transform: scale(6); transition: transform 1.2s linear, color 0.2s; }
.stop:focus-visible { outline: 2px solid var(--r); outline-offset: 2px; }

/* ---- lobby --------------------------------------------------------------- */

.lobby-grid { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 18px 14px 0; text-align: center; }
.lead { font-size: 13px; font-weight: 700; }
.bellrow { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 8px 0; border-block: 3px solid var(--k); text-align: left; }
.bellrow .cut { flex: none; width: 82px; }
.bellrow h2 { font-size: 31px; line-height: 1; }
.bellrow p { font-size: 13.5px; font-weight: 600; }
.undercard h2 { font-size: 24px; letter-spacing: 0.04em; color: var(--r); }
.names { margin-top: 4px; font-size: 27px; line-height: 1.2; }
.names .star { margin: 0 9px; font-size: 10px; vertical-align: 7px; }

/* The host is a player with a few extra controls on the same page. */
.hostpanel { margin-top: 16px; padding-top: 12px; border-top: 3px solid var(--k); text-align: left; }
.hostpanel h2 { margin-bottom: 8px; font-size: 30px; line-height: 1; letter-spacing: 0.03em; }
.hostpanel .quizlist { margin: 0 0 12px; }
.hostpanel .quizlist label { padding-inline: 10px; }
.hostpanel .hint { text-align: center; }
.undercard .roster { justify-content: center; margin-top: 6px; }
.hoststrip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 10px 20px 14px; border-top: 2px solid var(--k); }
.hoststrip .lg { font-size: 22px; letter-spacing: 0.05em; color: var(--r); }
.hoststrip .error { flex-basis: 100%; margin: 0; }
body[data-ground="ink"] .hoststrip { border-top-color: #3a362c; }
/* On the answer screen the controls sit right under the countdown, where "Hold here" is still in reach. */
.cardwrap .hoststrip { margin: -4px 0 14px; padding: 0; border-top: 0; }
.ready .hoststrip { position: absolute; inset: auto 0 0; justify-content: center; color: #fff; }
.sheet.ready { position: relative; }
.hostback { margin-top: 16px; }
.champ .hint { margin-top: 8px; }

/* ---- seconds out --------------------------------------------------------- */

.sheet.ready { min-height: 100dvh; align-items: center; justify-content: center; text-align: center; color: var(--y); }
.ready .seconds { font-size: min(9cqw, 56px); letter-spacing: 0.08em; color: var(--r); }
.ready h1 { font-size: min(46cqw, 44vh); line-height: 0.86; }
.ready .of { font-size: min(11cqw, 64px); letter-spacing: 0.04em; color: #fff; }

.clock { flex: none; width: 62px; height: 62px; border-radius: 50%; background: var(--r); color: #fff; display: grid; place-items: center; padding-top: 4px; font-size: 42px; line-height: 1; font-variant-numeric: tabular-nums; }
.clock.big { width: min(30cqw, 150px); height: min(30cqw, 150px); margin-top: 28px; padding-top: 8px; font-size: min(20cqw, 100px); }
.clock.small { width: 38px; height: 38px; padding-top: 3px; font-size: 25px; }
.clock.hurry { animation: thump 0.5s ease-in-out infinite; }
.clock.small.hurry { animation: none; }
.nextrow { display: flex; align-items: center; gap: 10px; min-height: 38px; font-size: 26px; line-height: 1; letter-spacing: 0.03em; }
.cardwrap > .nextrow { margin-bottom: 14px; }
.deskrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
@keyframes thump { 50% { transform: scale(1.14); } }

/* ---- question ------------------------------------------------------------ */

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; background: var(--k); color: var(--y); padding: max(18px, env(safe-area-inset-top)) 20px 12px; }
.round { font-size: 68px; line-height: 0.82; }
.round small { margin-left: 6px; font-size: 26px; letter-spacing: 0.04em; color: #fff; }
.q-grid { flex: 1; display: flex; flex-direction: column; padding: 14px 20px 20px; }
.q-answer { flex: 1; display: flex; flex-direction: column; }
.stars { display: flex; flex-wrap: wrap; gap: 7px; font-size: 17px; }
.stars li { opacity: 0.22; }
.stars .done { opacity: 1; }
.stars .now { opacity: 1; color: var(--r); }
.prompt { margin: 14px 0 16px; font-size: clamp(38px, 13.2cqw, 58px); line-height: 0.94; text-wrap: balance; }
.prompt.long { font-size: clamp(30px, 10cqw, 46px); }

.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: stretch; width: 100%; padding: 0; border: 3px solid var(--k); border-radius: 0; background: none; color: var(--k); text-align: left; font-family: "League Gothic", "Arial Narrow", sans-serif; font-size: clamp(25px, 7.6cqw, 32px); line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; }
.opt span { flex: none; width: 46px; display: grid; place-items: center; padding-top: 3px; background: var(--k); color: var(--y); }
.opt b { padding: 12px 10px 8px; font-weight: 400; }
.opt.on { background: var(--r); border-color: var(--r); color: #fff; }
.opt.on span { color: #fff; }
.opt.dim { opacity: 0.4; }
button.opt:disabled { cursor: default; }
@media (hover: hover) { button.opt:not(:disabled):hover { background: var(--k); color: var(--y); } }
button.opt:not(:disabled):active { background: var(--r); border-color: var(--r); color: #fff; }
.wait { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; }
.wait .lg { font-size: 30px; color: var(--r); }

/* ---- answer and card ----------------------------------------------------- */

.sheet.reveal { min-height: 100dvh; color: #fff; }
.r-grid { flex: 1; display: flex; flex-direction: column; gap: 22px; padding: 26px 20px 0; }
.verdict-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.verdict h1 { font-size: clamp(84px, 29cqw, 128px); line-height: 0.82; color: var(--y); }
.verdict.miss h1, .verdict.none h1 { color: var(--r); }
.verdict .cut-fist { flex: none; width: min(31cqw, 150px); color: var(--y); }
.answer { margin-top: 14px; }
.answer span { display: block; font-size: 13px; font-weight: 600; color: var(--dim); }
.answer b { display: block; margin-top: 4px; font-size: 40px; line-height: 1; font-weight: 400; }
.yours { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--dim); }
.note { margin-top: 10px; max-width: 36ch; font-size: 15px; }

.cardwrap h2 { margin-bottom: 6px; font-size: 22px; letter-spacing: 0.05em; color: var(--r); }
.card { margin: 0 -20px; }
.card li { display: flex; align-items: center; gap: 14px; padding: 6px 20px 1px; border-top: 2px solid #3a362c; font-size: 35px; line-height: 1.1; }
.card .n { min-width: 22px; color: var(--y); }
.card .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: 0.01em; }
.card .p { display: flex; align-items: center; gap: 6px; color: var(--y); }
.card .p .star { font-size: 13px; color: var(--r); }
.card li.me { background: var(--y); border-top-color: var(--y); color: var(--k); }
.card li.me .n, .card li.me .p { color: var(--k); }
.card-more, .eggnote { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--dim); }
.eggnote .star { margin-right: 4px; font-size: 11px; color: var(--r); vertical-align: -1px; }
.reveal .foot { color: #a39d8c; }

.cardwrap.inked { background: var(--k); color: #fff; padding: 16px 16px 14px; }
.inked .card { margin: 0 -16px; }
.inked .card li { padding-inline: 16px; }

/* ---- final --------------------------------------------------------------- */

.f-grid { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 18px 14px 14px; }
.champ { text-align: center; }
.champ .cut-belt { width: min(60cqw, 300px); margin: 6px auto 2px; }
.place { margin-top: 4px; font-size: 14px; font-weight: 600; }

/* ---- host desk ----------------------------------------------------------- */

.bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 8px; border-bottom: var(--rule) solid var(--k); font-size: 13px; font-weight: 700; }
.desk-grid { flex: 1; display: flex; flex-direction: column; }
.desk-main { padding: 16px 14px 18px; }
.desk-side { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 14px; border-top: var(--rule) solid var(--k); }
.desk-main > h1:not(.prompt):not(.bigname) { margin-bottom: 10px; font-size: clamp(54px, 18cqw, 84px); line-height: 0.86; }
.desk h2 { font-size: 30px; line-height: 1; letter-spacing: 0.03em; }
.desk .head { padding-top: 14px; }
.round, .over { white-space: nowrap; }
.desk .round { font-size: 54px; }
.desk .round small { font-size: 21px; }
.over { padding-bottom: 2px; font-size: 22px; letter-spacing: 0.05em; color: #fff; }

.quizlist { margin: 0 -14px; }
.quizlist label { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; padding: 9px 14px 7px; border-top: 3px solid var(--k); cursor: pointer; }
.quizlist label:last-child { border-bottom: 3px solid var(--k); }
.quizlist b { font-size: 28px; line-height: 1.05; letter-spacing: 0.02em; font-weight: 400; }
.quizlist small { grid-column: 1; font-size: 13px; font-weight: 600; }
.quizlist em { display: none; grid-row: 1 / 3; grid-column: 2; align-items: center; gap: 6px; font-style: normal; font-size: 22px; letter-spacing: 0.06em; }
.quizlist em .star { font-size: 14px; color: var(--r); }
.quizlist label:has(:checked) { background: var(--k); color: var(--y); }
.quizlist label:has(:checked) em { display: flex; }
.quizlist label:has(:focus-visible) { outline: 3px solid var(--r); outline-offset: -6px; }
.hint { margin-top: 10px; font-size: 12.5px; font-weight: 600; }
.joinat { font-size: 14px; font-weight: 600; }
.joinat b { font-weight: 800; }
.empty { font-size: 14px; font-weight: 600; }

.roster { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.roster li { display: flex; align-items: baseline; gap: 6px; }
.roster li .lg { font-size: 26px; line-height: 1.15; }
.roster li em .star { font-size: 12px; color: var(--r); }
.roster li.out { opacity: 0.32; }
.desk-side > .btn { margin-top: auto; }
.desk-side > .end { align-self: center; margin-top: 2px; }
.desk-side .hint { margin-top: 0; }

.opts.static .opt { cursor: default; }
.tally .opt { background: linear-gradient(90deg, rgba(21, 19, 15, 0.16) var(--share), transparent var(--share)); }
.tally .opt i { margin-left: auto; padding: 12px 12px 8px; font-style: normal; }
.tally .opt.on { background: var(--r); }
.desk .note { margin-top: 12px; font-weight: 600; }

.hostin .entry { width: 100%; max-width: 440px; margin: auto; padding: 24px 14px; }
.hostin h1 { margin-bottom: 16px; font-size: 64px; line-height: 0.9; }
.hostin .entry label, .hostin .entry input { text-align: left; }

.offline-note { display: none; position: fixed; inset: auto 0 0; z-index: 9; margin: 0; padding: 8px; background: var(--r); color: #fff; text-align: center; font-size: 13px; font-weight: 700; }
body.offline .offline-note { display: block; }

/* ---- desktop: the bill opens out into two columns -------------------------- */

/* Most phones are shorter than 840px. Make room for a smaller pair by taking
   a little off the masthead and the name field, so the page still fits the
   screen. Below 700px tall the page already scrolls; they stay hidden there. */
@media (max-width: 879px) and (min-height: 700px) and (max-height: 839px) {
  .poster .cut-gloves { display: block; width: 25cqw; margin: 2px auto -2px; }
  .mark .q { font-size: 47cqw; }
  .mark .a { font-size: 20.4cqw; }
  .entry input.name { font-size: 50px; }
}

@media (min-width: 880px) {
  .bill { padding: 22px; }
  .bill.flush { padding: 0; }
  .mast { font-size: 40px; padding: 14px 0 9px; }
  .band b { font-size: 38px; }
  .band span { font-size: 14px; }
  .only { font-size: 30px; }
  .only .star { font-size: 17px; }
  .vs { font-size: 46px; }
  .btn { padding: 16px 0 12px; font-size: 42px; }

  .sheet.join { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); grid-template-rows: 1fr auto; }
  .join .poster { grid-row: 1 / 3; display: flex; flex-direction: column; padding: 30px 28px 0; border-right: var(--rule) solid var(--k); }
  .join .mark .q { font-size: min(60.5cqw, 37vh); }
  .join .mark .a { font-size: min(26.3cqw, 16.1vh); }
  .join .poster .cut-gloves { display: block; width: min(34cqw, 23vh); margin-block: auto; }
  .join .poster .band { margin: 0 -28px; padding-block: 14px 12px; }
  .join .entry { align-self: center; padding: 0 clamp(32px, 6cqw, 84px); }
  .join .entry label { font-size: 15px; }
  .join .entry input.name { font-size: 104px; }
  .join .entry input.email { font-size: 22px; }
  .join .entry .vs { margin: 10px 0 18px; }
  .easy, .late { font-size: 15px; }
  .join .foot { padding: 20px clamp(32px, 6cqw, 84px) 18px; }
  .imprint { font-size: 11px; }

  .lobby-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 0; padding: 0; }
  .you { display: flex; flex-direction: column; justify-content: center; padding: 36px 40px; border-right: var(--rule) solid var(--k); }
  .lobby .bigname { font-size: min(24cqw, calc(112cqw / var(--len))); }
  .lead { font-size: 15px; }
  .bellrow { margin-top: 32px; padding: 12px 0; }
  .bellrow .cut { width: 120px; }
  .bellrow h2 { font-size: 46px; }
  .bellrow p { font-size: 15px; }
  .undercard { align-self: center; padding: 36px 40px; }
  .undercard h2 { font-size: 34px; }
  .names { font-size: 42px; }
  .names .star { font-size: 14px; vertical-align: 11px; }

  .hostpanel { margin-top: 28px; padding-top: 18px; }
  .hostpanel h2 { font-size: 40px; }
  .hostpanel .quizlist { margin: 0 0 16px; }
  .hostpanel .quizlist label { padding-inline: 14px; }
  .hostpanel .quizlist b { font-size: 32px; }
  .hostpanel .quizlist em { font-size: 24px; }
  .hoststrip { padding: 14px max(40px, calc((100% - 1160px) / 2)) 18px; gap: 6px 28px; }
  .hoststrip .lg { font-size: 28px; }
  .hoststrip .textbtn { font-size: 15px; }
  .hostback { margin-top: 24px; }

  .head { padding: 22px max(40px, calc((100% - 1160px) / 2)) 14px; }
  .round { font-size: 104px; }
  .round small { font-size: 40px; margin-left: 12px; }
  .clock { width: 92px; height: 92px; padding-top: 6px; font-size: 62px; }
  .q-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5cqw, 80px); width: 100%; max-width: 1240px; margin: 0 auto; padding: 40px; }
  .stars { gap: 10px; font-size: 24px; }
  .prompt { margin: 22px 0 0; font-size: clamp(60px, 6.6cqw, 108px); }
  .prompt.long { font-size: clamp(46px, 4.8cqw, 78px); }
  .opts { gap: 12px; }
  .opt { font-size: 42px; }
  .opt span { width: 68px; }
  .opt b { padding: 16px 16px 11px; }
  .wait { margin-top: 26px; padding-top: 0; font-size: 16px; }
  .wait .lg { font-size: 40px; }

  .r-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(40px, 6cqw, 96px); width: 100%; max-width: 1240px; margin: 0 auto; padding: 56px 40px 0; }
  .verdict h1 { font-size: clamp(130px, 15cqw, 230px); }
  .verdict .cut-fist { width: min(17cqw, 230px); }
  .answer { margin-top: 28px; }
  .answer span, .yours { font-size: 15px; }
  .answer b { font-size: 68px; }
  .note { font-size: 18px; }
  .cardwrap h2 { font-size: 30px; }
  .reveal .card { margin: 0; }
  .card li { font-size: 44px; }
  .card .p .star { font-size: 17px; }
  .card-more, .eggnote { font-size: 15px; }
  .nextrow { min-height: 48px; font-size: 34px; }
  .clock.small { width: 48px; height: 48px; padding-top: 4px; font-size: 32px; }
  .cardwrap > .nextrow { margin-bottom: 22px; }

  .f-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 0; padding: 0; }
  .f-grid .champ { padding: 36px 40px; }
  .f-grid .bigname { font-size: min(22cqw, calc(105cqw / var(--len))); }
  .f-grid .cut-belt { width: min(30cqw, 360px); }
  .f-grid .cardwrap { align-self: stretch; padding: 30px 32px; }
  .f-grid .inked .card { margin: 0 -32px; }
  .f-grid .inked .card li { padding-inline: 32px; }
  .place { font-size: 16px; }

  .bar { padding: 12px 28px 10px; font-size: 14px; }
  .desk-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .desk-main { padding: 28px 28px 30px; }
  .desk-side { padding: 28px; border-top: 0; border-left: var(--rule) solid var(--k); }
  .desk-main > h1:not(.prompt):not(.bigname) { font-size: clamp(84px, 9cqw, 124px); }
  .desk h2 { font-size: 40px; }
  .desk .head { padding: 16px 28px 12px; }
  .desk .round { font-size: 84px; }
  .desk .round small { font-size: 34px; }
  .desk .prompt { font-size: clamp(48px, 5.4cqw, 80px); margin-bottom: 22px; }
  .desk .opt { font-size: 34px; }
  .desk .card li { font-size: 36px; }
  .desk .bigname { font-size: min(24cqw, calc(118cqw / var(--len))); }
  .desk .champ .cut-belt { width: min(30cqw, 340px); }
  .quizlist { margin: 0 -28px; }
  .quizlist label { padding: 12px 28px 10px; }
  .quizlist b { font-size: 40px; }
  .quizlist em { font-size: 28px; }
  .quizlist small, .hint, .joinat, .empty { font-size: 15px; }
  .roster li .lg { font-size: 34px; }
  .over { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
