/* Buzzmoji host stage: one full screen for a classroom projector, a TV or a shared video-call window. */
html.stage, body.stage { height: 100%; overflow: hidden }
body.stage { color: #fff; background: #2E3BFF; font-size: clamp(14px, 1.15vw, 22px) }
.bgfx { position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 12% 12%, rgba(255, 194, 26, .32), transparent 34%), radial-gradient(circle at 88% 90%, rgba(212, 19, 111, .5), transparent 40%), linear-gradient(150deg, #2E3BFF 0%, #5B2FE6 55%, #7B3FF2 100%) }
.t-fruits .bgfx { background: radial-gradient(circle at 12% 12%, rgba(255, 194, 26, .45), transparent 36%), radial-gradient(circle at 88% 90%, rgba(0, 162, 122, .45), transparent 40%), linear-gradient(150deg, #D4136F 0%, #F2502E 60%, #FF7A1A 100%) }
.t-space .bgfx { background: radial-gradient(1.6px 1.6px at 10% 20%, #fff, transparent), radial-gradient(1.6px 1.6px at 30% 70%, #fff, transparent), radial-gradient(2px 2px at 55% 25%, #fff, transparent), radial-gradient(1.6px 1.6px at 75% 55%, #fff, transparent), radial-gradient(2px 2px at 90% 15%, #fff, transparent), radial-gradient(1.4px 1.4px at 65% 85%, #fff, transparent), radial-gradient(circle at 85% 8%, rgba(123, 63, 242, .7), transparent 40%), radial-gradient(circle at 10% 95%, rgba(46, 59, 255, .5), transparent 45%), linear-gradient(170deg, #0D0B33 0%, #24135E 60%, #3B1A7A 100%) }
.has-brand .bgfx { background: radial-gradient(circle at 12% 12%, rgba(255, 194, 26, .28), transparent 34%), radial-gradient(circle at 88% 90%, rgba(255, 255, 255, .14), transparent 40%), linear-gradient(150deg, var(--brand) 0%, var(--brand) 40%, #1B1446 135%) }
.top .brandbadge { font-size: .9em; flex: 0 1 auto; max-width: 22em }
.join__brand { margin-bottom: .2em }
.pod-brand { display: flex; justify-content: center }
.pod-brand .brandbadge { font-size: 1.1em }
.floaters { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden }
.floaters img { position: absolute; width: 7vmin; height: 7vmin; opacity: .22; animation: drift 18s linear infinite }
@keyframes drift { 0% { transform: translateY(110vh) rotate(0deg) } 100% { transform: translateY(-20vh) rotate(200deg) } }

.app { height: 100%; display: grid; grid-template-rows: auto 1fr; }
.top { display: flex; align-items: center; gap: 1em; padding: .8em 1.4em; min-height: 4em }
.top .bz-logo__bee { width: 2.4em; height: 2.4em }
.top .bz-logo__t { font-size: 1.5em }
.top__title { flex: 1; min-width: 0; display: flex; align-items: center; gap: .5em; font: 800 1.15em/1.1 var(--f-display); font-stretch: 112%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; opacity: .95 }
.top__title .emo { width: 1.7em; height: 1.7em; flex: 0 0 auto }
.top__r { display: flex; align-items: center; gap: .5em }
.top .icon-btn { width: 2.6em; height: 2.6em; border-radius: .8em; color: #fff; border-color: rgba(255, 255, 255, .8) }
.top .icon-btn svg { width: 1.3em; height: 1.3em }
.prog { display: flex; align-items: center; gap: .5em; font: 800 .95em/1 var(--f-display) }
.prog__bar { width: 10em; height: .7em; border-radius: 99px; background: rgba(255, 255, 255, .25); overflow: hidden; border: 2px solid rgba(27, 20, 70, .5) }
.prog__bar i { display: block; height: 100%; background: var(--yellow); transition: width 600ms var(--ease-out) }

.scr { display: none; min-height: 0; padding: 0 1.6em 1.4em; position: relative }
body.gaming .scr { padding-bottom: 5.6em }
.scr.on { display: flex; flex-direction: column; animation: scrIn 520ms var(--ease-out) both }
@keyframes scrIn { from { opacity: 0; transform: translateY(1.2em) scale(.985) } to { opacity: 1; transform: none } }
.h-xl { margin: 0; font: 900 clamp(2.4em, 4.6vw, 5.5em)/1 var(--f-display); font-stretch: 118%; letter-spacing: -.02em; text-shadow: 0 .09em 0 rgba(27, 20, 70, .4) }
.h-l { margin: 0; font: 900 2.2em/1.05 var(--f-display); font-stretch: 116%; text-shadow: 0 .08em 0 rgba(27, 20, 70, .35) }
.stage .card { color: var(--ink) }
.stage .btn { font-size: 1.05em }
.stage .btn--big { font-size: 1.5em }

/* setup */
.setup { flex: 1; overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1.6em; align-items: start; max-width: 1280px; width: 100%; margin: 0 auto; padding-bottom: 2em }
.quizcard { display: grid; gap: 1em; justify-items: start }
.quizcard__art { width: 9em; height: 9em; animation: float 5s ease-in-out infinite }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg) } 50% { transform: translateY(-.6em) rotate(3deg) } }
.quizcard h1 { margin: 0; font: 900 2.6em/1.05 var(--f-display); font-stretch: 116% }
.quizcard p { margin: 0; color: var(--muted); font-size: 1.05em }
.quizcard .chips { display: flex; flex-wrap: wrap; gap: .4em }
.setgrid { display: grid; gap: 1em }
.setgrid h2 { margin: .4em 0 0; font: 900 1.25em/1.1 var(--f-display); font-stretch: 112% }
.prizes { display: grid; grid-template-columns: 1fr 1fr; gap: .7em }
.prize-in { display: flex; align-items: center; gap: .5em }
.prize-in img { width: 2.6em; height: 2.6em; flex: 0 0 auto }
.pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(15em, 1fr)); gap: 1em; width: 100% }
.pick-list button { display: flex; align-items: center; gap: .8em; text-align: left; padding: 1em; border-radius: 1.2em; border: 3px solid var(--ink); background: #fff; color: var(--ink); box-shadow: var(--sh-sm); font-weight: 700 }
.pick-list button img { width: 3.2em; height: 3.2em; flex: 0 0 auto }
.pick-list small { display: block; color: var(--muted) }

/* lobby */
.lobby { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(18em, 26em) 1fr; gap: 1.6em }
.join { display: flex; flex-direction: column; gap: 1em; min-height: 0 }
.join__card { background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 1.6em; box-shadow: 8px 8px 0 var(--ink); padding: 1.3em; display: grid; gap: .5em; justify-items: center; text-align: center }
.join__url { font: 800 1.15em/1.2 var(--f-display); font-stretch: 112% }
.join__url b { color: var(--blue) }
.join__pin { font: 900 clamp(2.6em, 4.4vw, 5.2em)/1 var(--f-display); font-stretch: 100%; letter-spacing: .03em; color: var(--ink); white-space: nowrap }
.join__qr { width: min(15em, 26vh); aspect-ratio: 1; padding: .5em; border: 3px solid var(--ink); border-radius: 1em; background: #fff }
.join__qr svg { width: 100%; height: 100% }
.join__or { color: var(--muted); font-weight: 700 }
.crowd-wrap { position: relative; min-height: 0; display: flex; flex-direction: column; gap: .8em }
.crowd-head { display: flex; align-items: center; justify-content: space-between; gap: 1em }
.count { display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em; border-radius: 99px; background: #fff; color: var(--ink); border: 3px solid var(--ink); box-shadow: var(--sh-sm); font: 900 1.4em/1 var(--f-display) }
.count img { width: 1.5em; height: 1.5em }
.crowd { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-wrap: wrap; align-content: flex-start; gap: .9em; padding: .6em; border-radius: 1.6em; background: rgba(27, 20, 70, .22); border: 2px dashed rgba(255, 255, 255, .45) }
.bub { --s: 6em; width: var(--s); display: grid; justify-items: center; gap: .25em; position: relative; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; animation: popIn 520ms var(--ease-spring) both }
.bub:hover span { background: #FFD7DF }
.bub img.ava { width: var(--s); height: var(--s); animation: bob 2.6s ease-in-out infinite; animation-delay: var(--dl, 0s) }
.bub span { max-width: calc(var(--s) + 2em); padding: .15em .6em; border-radius: 99px; background: #fff; color: var(--ink); border: 2px solid var(--ink); font: 800 .82em/1.25 var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.bub.off { opacity: .45 }
.bub .say { position: absolute; top: -1.2em; right: -.6em; width: 2.6em; height: 2.6em; animation: say 2.2s var(--ease-out) forwards }
.crowd.dense .bub { --s: 4.2em }
.crowd.denser .bub { --s: 3.2em }
.crowd.denser .bub span { font-size: .7em }
.crowd-empty { margin: auto; text-align: center; display: grid; justify-items: center; gap: .6em; opacity: .9 }
.crowd-empty img { width: 7em; height: 7em; animation: bob 2.4s ease-in-out infinite }
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-.35em) } }
@keyframes popIn { from { transform: scale(.2); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes say { 0% { transform: scale(0) } 15% { transform: scale(1.25) } 25%, 80% { transform: scale(1) } 100% { transform: translateY(-1em) scale(.8); opacity: 0 } }
.lobby-foot { display: flex; align-items: center; justify-content: space-between; gap: 1em; flex-wrap: wrap }

/* intro */
.intro { flex: 1; display: grid; place-items: center; text-align: center; align-content: center; gap: 1em }
.intro__n { font: 900 clamp(5em, 12vw, 12em)/.9 var(--f-display); font-stretch: 120%; text-shadow: 0 .06em 0 rgba(27, 20, 70, .45); animation: zoom 700ms var(--ease-spring) both }
@keyframes zoom { from { transform: scale(.4); opacity: 0 } to { transform: none; opacity: 1 } }
.intro__q { max-width: 60em; font: 800 1.9em/1.25 var(--f-body); text-wrap: balance }
.intro .double { font-size: 1.6em; display: inline-flex; align-items: center; gap: .4em; padding: .4em 1em; border-radius: 99px; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); box-shadow: var(--sh-sm); font-family: var(--f-display); font-weight: 900; animation: pulse 900ms ease-in-out infinite }
.intro .double img { width: 1.6em; height: 1.6em }
@keyframes pulse { 50% { transform: scale(1.06) } }
.dots { display: flex; gap: .4em }
.dots i { width: .8em; height: .8em; border-radius: 50%; background: rgba(255, 255, 255, .35); border: 2px solid rgba(27, 20, 70, .5) }
.dots i.done { background: var(--yellow) }
.dots i.now { background: #fff; transform: scale(1.3) }

/* question */
.qwrap { flex: 1; min-height: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 1em }
.qcard { display: flex; align-items: center; gap: .8em; padding: .9em 1.3em; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 1.4em; box-shadow: 6px 6px 0 var(--ink); font: 800 clamp(1.5em, 2.7vw, 3em)/1.2 var(--f-body); text-wrap: balance }
.qcard__n { flex: 0 0 auto; display: grid; place-items: center; min-width: 2.2em; height: 2.2em; padding: 0 .4em; border-radius: .7em; background: var(--yellow); border: 3px solid var(--ink); font: 900 .55em/1 var(--f-display) }
.qmid { min-height: 0; display: grid; grid-template-columns: 1fr minmax(0, 2fr) 1fr; align-items: center; gap: 1.4em }
.ring { position: relative; width: min(11em, 22vh); aspect-ratio: 1; justify-self: center }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg) }
.ring circle { fill: none; stroke-width: 10 }
.ring .bgc { stroke: rgba(255, 255, 255, .25) }
.ring .fgc { stroke: var(--yellow); stroke-linecap: round; transition: stroke 300ms }
.ring.low .fgc { stroke: #FF4D6D }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 900 3.2em/1 var(--f-display); text-shadow: 0 .06em 0 rgba(27, 20, 70, .5) }
.ring.paused b { font-size: 1.6em }
.qart { display: grid; place-items: center; min-height: 0; height: 100% }
.qart img.qimg { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 1.2em; border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); background: #fff }
.qart .bigemo { width: min(13em, 28vh); height: min(13em, 28vh); font-size: min(10em, 22vh); animation: float 4s ease-in-out infinite; filter: drop-shadow(0 .4em .3em rgba(27, 20, 70, .35)) }
.answered { justify-self: center; display: grid; justify-items: center; gap: .4em; text-align: center }
.answered b { font: 900 3.4em/1 var(--f-display); text-shadow: 0 .06em 0 rgba(27, 20, 70, .5) }
.answered small { font-weight: 800; opacity: .9 }
.ticker { display: flex; flex-wrap: wrap; justify-content: center; max-width: 12em; gap: .2em; min-height: 2.4em }
.ticker img { width: 2.2em; height: 2.2em; animation: popIn 400ms var(--ease-spring) both }
.htiles { display: grid; grid-template-columns: 1fr 1fr; gap: .9em }
.htiles.n3 { grid-template-columns: repeat(3, 1fr) }
.htiles.n5, .htiles.n6 { grid-template-columns: repeat(3, 1fr) }
.htiles .tile { min-height: 4.6em; font-size: clamp(1.1em, 1.7vw, 2em); padding: .5em 1em .5em .5em }
.htiles .tile__ic { width: 2.6em; height: 2.6em; border-radius: .7em }
.htiles .tile__ic img { width: 2.05em; height: 2.05em }
.tile__bar { position: absolute; left: 0; bottom: 0; height: .45em; background: rgba(255, 255, 255, .85); width: 0; transition: width 900ms var(--ease-out) }
.tile__count { flex: 0 0 auto; font: 900 1.25em/1 var(--f-display); padding: .25em .6em; border-radius: .6em; background: rgba(255, 255, 255, .9); color: var(--ink); border: 2px solid var(--ink) }
.tile__ok { position: absolute; top: -.4em; right: -.4em; width: 2.2em; height: 2.2em; animation: popIn 500ms var(--ease-spring) both }
.htiles.revealed .tile.wrong { opacity: .5; filter: grayscale(.35) }
.htiles.revealed .tile.right { transform: scale(1.03); box-shadow: 0 0 0 5px #fff, 8px 8px 0 5px var(--ink); z-index: 1 }
.htiles.revealed.poll .tile { opacity: 1; filter: none }
.reveal-row { display: flex; gap: 1em; align-items: center; justify-content: center; flex-wrap: wrap; align-self: center }
.rstat { display: grid; justify-items: center; gap: .2em; padding: .6em 1.4em; border-radius: 1.2em; background: #fff; color: var(--ink); border: 3px solid var(--ink); box-shadow: var(--sh-sm) }
.rstat b { font: 900 3em/1 var(--f-display) }
.rstat small { font-weight: 800 }
.note { flex: 0 1 36em; min-width: 16em; display: flex; gap: .7em; align-items: center; padding: .8em 1.1em; border-radius: 1.2em; background: #fff; color: var(--ink); border: 3px solid var(--ink); box-shadow: var(--sh-sm); font-weight: 700; font-size: 1.15em }
.note img { width: 2.4em; height: 2.4em; flex: 0 0 auto }
.fastest { display: flex; align-items: center; gap: .6em; padding: .6em 1.1em; border-radius: 1.2em; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); box-shadow: var(--sh-sm); font-weight: 800 }
.fastest img { width: 3em; height: 3em }

/* board */
.board { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(16em, 1fr); gap: 1.4em }
.rows { display: grid; gap: .5em; align-content: start }
.row { display: grid; grid-template-columns: 3em 3.6em 1fr auto auto; align-items: center; gap: .8em; padding: .45em 1em .45em .6em; border-radius: 1.1em; background: #fff; color: var(--ink); border: 3px solid var(--ink); box-shadow: var(--sh-sm); animation: rowIn 520ms var(--ease-out) both; animation-delay: calc(var(--i) * 60ms) }
@keyframes rowIn { from { opacity: 0; transform: translateX(-2em) } to { opacity: 1; transform: none } }
.row__rank { font: 900 1.7em/1 var(--f-display); text-align: center }
.row img.ava { width: 3.4em; height: 3.4em }
.row__name { font: 800 1.35em/1.15 var(--f-body); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: .4em }
.row__name img { width: 1.2em; height: 1.2em }
.row__score { font: 900 1.6em/1 var(--f-display) }
.row__delta { font-weight: 800; padding: .2em .55em; border-radius: .6em; min-width: 4.6em; text-align: center; background: var(--mist) }
.row__delta.up { background: #C9F7E2; color: #04633F }
.row__delta.dn { background: #FFD7DF; color: #A1002B }
.row .mv { font-size: .8em; font-weight: 900; color: #04633F }
.row .mv.dn { color: #A1002B }
.row.r1 { background: #FFF1C2 }
.side { display: grid; gap: .8em; align-content: start }
.hype { display: flex; align-items: center; gap: .6em; padding: .7em 1em; border-radius: 1.1em; background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .55); font-weight: 700; animation: rowIn 520ms var(--ease-out) both }
.hype img { width: 2.6em; height: 2.6em; flex: 0 0 auto }
.hype b { display: block; font-size: 1.1em }
.leader { display: flex; align-items: center; gap: .8em; padding: .9em 1.2em; border-radius: 1.3em; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); animation: pulse 1.2s ease-in-out infinite }
.leader img { width: 4em; height: 4em }
.leader b { font: 900 1.5em/1.1 var(--f-display) }

/* podium */
.podium { flex: 1; min-height: 0; display: grid; grid-template-rows: 1fr auto; gap: 1em }
.pods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 1.4em; max-width: 1200px; width: 100%; margin: 0 auto; min-height: 0 }
.pod { display: grid; justify-items: center; gap: .4em; min-width: 0 }
.pod img.ava { width: min(10em, 24vh); height: min(10em, 24vh); animation: bob 2.4s ease-in-out infinite }
.pod.p1 img.ava { width: min(13em, 30vh); height: min(13em, 30vh) }
.pod__name { font: 900 1.6em/1.1 var(--f-display); font-stretch: 112%; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 .06em 0 rgba(27, 20, 70, .5) }
.pod__score { font-weight: 800; font-size: 1.2em }
.pod__block { width: 100%; display: grid; justify-items: center; align-content: start; padding-top: .8em; border: 4px solid var(--ink); border-bottom: 0; border-radius: 1.4em 1.4em 0 0; box-shadow: 8px 0 0 var(--ink); animation: grow 900ms var(--ease-spring) both }
.pod__block img { width: 4.2em; height: 4.2em }
.p1 .pod__block { height: min(16em, 30vh); background: #FFD54A; animation-delay: .9s }
.p2 .pod__block { height: min(11.5em, 22vh); background: #E7E9F2; animation-delay: .4s }
.p3 .pod__block { height: min(8.5em, 16vh); background: #F8B98F; animation-delay: .1s }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom } to { transform: scaleY(1); transform-origin: bottom } }
.pod .prize-chip { display: inline-flex; align-items: center; gap: .3em; padding: .3em .8em; border-radius: 99px; background: #fff; color: var(--ink); border: 2.5px solid var(--ink); font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.pod .prize-chip img { width: 1.4em; height: 1.4em }
.pod-in { opacity: 0; animation: popIn 600ms var(--ease-spring) forwards }
.p3 .pod-in { animation-delay: .5s } .p2 .pod-in { animation-delay: 1s } .p1 .pod-in { animation-delay: 1.7s }
.awards-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6em }
.award { display: flex; align-items: center; gap: .5em; padding: .5em .9em; border-radius: 1em; background: #fff; color: var(--ink); border: 3px solid var(--ink); box-shadow: var(--sh-sm); font-weight: 700 }
.award img { width: 2.4em; height: 2.4em }
.award b { display: block }
.pod-actions { display: flex; flex-wrap: wrap; gap: .6em; justify-content: center }

/* dock (host controls during the game) */
.dock { position: fixed; right: 1.2em; bottom: 1.2em; z-index: 40; display: flex; gap: .5em; padding: .5em; border-radius: 1.3em; background: rgba(27, 20, 70, .78); border: 2px solid rgba(255, 255, 255, .35) }
.dock .btn { min-height: 2.8em; font-size: .95em; padding: .4em .9em }
.dock .btn--next { font-size: 1.15em; padding: .4em 1.4em }

/* live dashboard drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(30em, 92vw); background: #fff; color: var(--ink); border-left: 4px solid var(--ink); box-shadow: -10px 0 40px rgba(0, 0, 0, .25); transform: translateX(105%); transition: transform 420ms var(--ease-out); display: flex; flex-direction: column; font-size: 15px }
.drawer.on { transform: none }
.drawer__h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 3px solid var(--ink); gap: 10px }
.drawer__h h2 { margin: 0; font: 900 1.3rem/1 var(--f-display) }
.drawer__b { flex: 1; overflow: auto; padding: 14px 16px; display: grid; gap: 16px; align-content: start }
.dq { display: grid; grid-template-columns: 2.4em 1fr 3.4em; gap: 8px; align-items: center; font-size: .92rem }
.dq b { font-weight: 900 }
.dq .bar { height: 12px; border-radius: 99px; background: var(--mist); border: 2px solid var(--ink); overflow: hidden }
.dq .bar i { display: block; height: 100% }
.plist { display: grid; gap: 6px }
.prow { display: grid; grid-template-columns: 2em 2.4em 1fr auto auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 12px; background: var(--mist) }
.prow img { width: 2.2em; height: 2.2em }
.prow .off { color: #A1002B; font-size: .8rem; font-weight: 800 }
.prow button { border: 2px solid var(--ink); background: #fff; border-radius: 9px; padding: 2px 8px; font-weight: 800 }

/* lucky draw */
.lucky { display: grid; gap: 18px; justify-items: center; text-align: center }
.reel { width: 100%; height: 150px; overflow: hidden; border: 4px solid var(--ink); border-radius: 22px; background: var(--mist); position: relative }
.reel__strip { display: grid; }
.reel__it { height: 150px; display: flex; align-items: center; justify-content: center; gap: 18px; font: 900 2rem/1 var(--f-display) }
.reel__it img { width: 100px; height: 100px }
.reel::before, .reel::after { content: ""; position: absolute; left: 0; right: 0; height: 28px; z-index: 1; pointer-events: none }
.reel::before { top: 0; background: linear-gradient(var(--mist), transparent) } .reel::after { bottom: 0; background: linear-gradient(transparent, var(--mist)) }
.alltable { width: 100%; border-collapse: collapse; font-size: .95rem }
.alltable th, .alltable td { padding: 7px 8px; border-bottom: 1.5px solid var(--line); text-align: left }
.alltable th { position: sticky; top: 0; background: #fff; font-family: var(--f-display); font-weight: 900 }
.alltable td img { width: 28px; height: 28px; display: inline-block; vertical-align: middle; margin-right: 6px }

@media (max-width: 900px) {
  body.stage { font-size: 13px }
  .setup, .lobby, .board { grid-template-columns: 1fr }
  html.stage, body.stage { overflow: auto; height: auto }
  .app { min-height: 100dvh; height: auto }
  .qmid { grid-template-columns: 1fr 1fr; }
  .qart { display: none }
}
