@font-face{font-family:Golos;src:url("/static/fonts/golos-text.ttf") format("truetype");font-weight:400 900;font-display:swap}
:root{--paper:#f4ecdf;--card:#fffaf2;--ink:#332b25;--muted:#766b5c;--line:#ded3c2;--red:#b45a3b;--red-dark:#96472e;--lime:#dce6d6;--green:#42624b;--radius:16px;--soft:#eee2cf;--shadow:0 4px 18px rgba(72,48,27,.045);--font:Golos,Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:32px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.08;letter-spacing:-.045em;font-weight:700}
a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}input,select{min-width:0}
input{width:100%;padding:16px;border:1px solid var(--line);border-radius:4px;background:var(--card);color:var(--ink);box-shadow:none}
select{color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:4px;padding:10px 28px 10px 12px;cursor:pointer}
input:focus{border-color:var(--ink)}:focus-visible{outline:3px solid var(--green);outline-offset:4px}
::selection{background:var(--lime);color:var(--ink)}[hidden]{display:none!important}
.brand{display:inline-flex;align-items:center;gap:3px;font-weight:800;font-size:36px;letter-spacing:-2px;line-height:1}
.brand-dot{font-size:38px;color:var(--red);line-height:.75;display:inline-block;transform:translateY(-3px)}
.brand.small{font-size:28px;letter-spacing:-1.6px}.brand.small .brand-dot{font-size:31px}
.brand-caption{font-size:12px;line-height:1.3;letter-spacing:-.02em;margin-right:auto;margin-left:25px;color:var(--muted)}
.rules-link{font-size:14px;font-weight:500}.rules-link span{font-size:23px;margin-left:20px;color:var(--red)}
.eyebrow,.panel-kicker,.step-number{font-size:11px;font-weight:600;letter-spacing:.11em;text-transform:uppercase}
.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--red);margin-right:8px}
.hero-copy .eyebrow{margin:6px 0 37px;color:var(--muted)}
.hero-copy h1{font-size:clamp(58px,7.05vw,102px);line-height:.97;letter-spacing:-.072em;font-weight:700}
.hero-emphasis{position:relative;color:var(--red);white-space:nowrap}
.hero-asterisk{position:absolute;font-size:.55em;top:-.3em;right:-.6em;transform:rotate(12deg)}
.lead{font-size:20px;line-height:1.5;letter-spacing:-.025em;margin:30px 0 25px;color:var(--muted)}
.lead strong{font-weight:500;color:var(--ink)}
.hero-facts{display:flex;gap:24px;font-size:12px;color:var(--muted)}
.hero-facts span+span{border-left:1px solid var(--line);padding-left:24px}
.sample-strip{margin-top:42px;border-top:1px solid var(--line);padding-top:20px;max-width:490px}
.sample-label{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}
.sample-strip p{font-size:21px;letter-spacing:-.04em;margin:9px 0 4px}
.sample-answer{text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:5px}
.sample-verdict{font-size:12px;color:var(--muted)}
.start-desk{min-width:0}.create-panel{background:var(--card);color:var(--ink);padding:26px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.panel-kicker{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px;font-size:10px}
.create-panel h2{font-size:40px;letter-spacing:-.06em;margin:18px 0 12px}
.desk-description{font-size:13px;line-height:1.5;color:var(--muted);margin-bottom:16px}
.rounds-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:2px}
.rounds-row label{font-size:13px}.rounds-row select{background:var(--paper);border:1px solid var(--line);color:var(--ink);font-size:12px;max-width:180px;padding:9px}
.rounds-row select option{background:var(--card);color:var(--ink)}
.topic-picker{border-bottom:1px solid var(--line);margin-bottom:16px}
.topic-picker summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:13px;gap:10px;padding:16px 0}
.topic-picker summary::-webkit-details-marker{display:none}
.topic-summary{font-size:12px;opacity:.8}.topic-summary::after{content:" +";padding-left:10px;font-size:18px}
.topic-picker[open] .topic-summary::after{content:" −"}
.topic-content{padding:0 0 20px}.topic-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:10px}
.topic-title{font-size:11px;color:var(--muted)}.topic-all{font-size:11px;background:none;border:0;color:inherit;text-decoration:underline;padding:6px}
.topic-chips{display:flex;flex-wrap:wrap;gap:6px}
.topic-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:transparent;color:var(--ink);min-height:34px;padding:7px 9px;border-radius:4px;font-size:11px;line-height:1.2;transition:background .15s}
.topic-chip.is-on{background:var(--soft);border-color:#ccb99d;color:var(--ink)}
.topic-chip.is-on::before{content:"✓";font-size:10px}.chip-emoji{display:none}.chip-count{font-size:10px;opacity:.6}
.topic-chip.is-adult::after{content:"18+";font-size:9px;opacity:.8}
.topic-note{font-size:10px;line-height:1.5;margin-top:12px;color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 23px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:15px;font-weight:600;line-height:1.25;transition:background .16s,transform .16s}
.btn:active:not(:disabled){transform:translateY(1px)}
.btn-primary{background:var(--red);color:var(--card)}.btn-primary:hover:not(:disabled){background:var(--red-dark)}
.btn-dark{background:var(--ink);color:var(--card)}.btn-dark:hover{background:#504237}
.btn-ghost{border-color:var(--line);background:transparent;color:var(--ink)}.btn-ghost:hover:not(:disabled){background:var(--soft)}
.btn-small{font-size:12px;min-height:36px;padding:8px 12px}.btn-xl{min-height:58px;font-size:16px;padding:16px 25px}
.btn-block{width:100%;display:flex}.create-button{min-height:54px;width:100%;background:var(--red);justify-content:space-between}.create-button:hover:not(:disabled){background:var(--red-dark)}
.create-button span{font-size:25px;line-height:1}.start-note{margin-top:12px;font-size:10px;text-align:center;color:var(--muted)}
.join-panel-home{padding:20px 26px;background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);margin-top:14px}
.join-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.join-heading h2{font-size:23px;letter-spacing:-.04em}.join-heading>span{font-size:11px;color:var(--muted)}
.join-form{display:grid;grid-template-columns:1fr auto;gap:8px}.join-form input{min-width:0;font-size:20px;letter-spacing:.2em;text-transform:uppercase;padding:10px 14px;height:50px;border-color:transparent;border-radius:4px}
.join-form input::placeholder{color:#96998b}.join-form .btn{height:50px;padding:10px 20px}
.desk-footnote{font-size:11px;color:var(--muted);text-align:center;margin-top:16px}.desk-footnote span{color:var(--red);font-size:17px;vertical-align:middle;margin-right:4px}
.section-heading .eyebrow{color:var(--red);margin-bottom:18px}.section-heading h2{font-size:clamp(29px,3.2vw,44px);letter-spacing:-.05em}
.how-card{border-top:1px solid var(--line);padding-top:20px;min-width:0}.step-number{color:var(--red);font-weight:500}
.how-card h3{font-size:26px;margin:30px 0 15px}.how-card p{font-size:14px;line-height:1.7;max-width:320px;color:var(--muted)}.how-card strong{color:var(--ink);font-weight:500}
.home-foot p,.home-foot a:not(.brand){font-size:12px;color:var(--muted)}
.muted,.hint,.sub-note{color:var(--muted)}.hint{font-size:12px;line-height:1.6}.sub-note{font-size:17px;margin:18px 0 30px}
.status{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.status::before{content:"";display:inline-block;width:6px;height:6px;background:#aaa;border-radius:50%;margin-right:6px}
.status[data-mode="online"]::before{background:var(--green)}.status[data-mode="offline"]::before{background:var(--red)}
.round-label{font-size:12px;font-weight:500}.room-chip{font-size:15px;font-weight:600;letter-spacing:.13em;border-left:1px solid var(--line);padding-left:20px}
.timer-text{font-size:20px;font-variant-numeric:tabular-nums;font-weight:500;min-width:44px}
.timer-strip{height:3px;background:var(--line);overflow:hidden}.timer-fill{height:100%;background:var(--ink);width:0;transition:width .2s linear}
.timer-fill[data-danger="1"]{background:var(--red)}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:32px}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}
.panel-head h2{font-size:27px}.badge{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.join-panel{background:var(--soft);color:var(--ink);border-color:var(--line)}
.join-panel .eyebrow{color:var(--muted)}.room-code{font-weight:700;font-size:clamp(60px,7vw,104px);letter-spacing:.08em;line-height:1;margin:18px 0}
.join-panel .muted,.join-panel .hint{color:var(--muted)}.join-panel .muted{font-size:14px;overflow-wrap:anywhere}.join-panel .muted b{font-weight:400}
.join-topics{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.join-topics span{font-size:11px;border-bottom:1px solid var(--line);padding-bottom:3px}
.join-qr{background:var(--card);color:var(--ink);display:flex;align-items:center;gap:22px;padding:18px;border-radius:5px;margin:24px 0 16px}
.join-qr img{width:150px;height:auto;display:block;flex-shrink:0}.join-qr-note{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted);max-width:150px}.join-qr-note b{font-size:16px;color:var(--ink);font-weight:600}
.player-grid{list-style:none;padding:0;margin:0 0 26px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.player-tile{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.avatar{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;font-weight:600;font-size:15px;color:var(--ink);grid-row:span 2}
.pname{font-size:14px;font-weight:500;overflow-wrap:anywhere}.pstate{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.player-tile.offline{opacity:.5}
.players-panel .hint{margin:20px 0}.empty-note{padding:40px 0;color:var(--muted);font-size:15px;line-height:1.6;min-height:155px}
.round-meta{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.cat{font-size:11px;color:var(--red);letter-spacing:.1em;text-transform:uppercase;font-weight:600}.progress-pill{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.question{font-size:clamp(30px,3.6vw,54px);font-weight:600;line-height:1.22;letter-spacing:-.045em;max-width:1050px;margin:0 auto;overflow-wrap:anywhere}
.question.small{font-size:clamp(27px,3vw,43px)}
.blank{display:inline-block;vertical-align:baseline;width:2.2em;height:.7em;border-bottom:.075em solid var(--red);margin:0 .08em}
.waiting-row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:38px 0}
.wait-chip{display:flex;gap:9px;align-items:center;padding:9px 12px;font-size:13px;color:var(--muted);border:1px solid var(--line);border-radius:4px}
.dot{width:6px;height:6px;background:#adaf9f;border-radius:50%}.wait-chip.ready{color:var(--ink);background:var(--lime);border-color:var(--lime)}.wait-chip.ready .dot{background:var(--green)}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:35px 0 26px}
.choice-card{display:flex;align-items:center;gap:18px;min-height:86px;text-align:left;padding:22px 24px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}
.choice-letter{display:grid;place-items:center;font-size:14px;flex-shrink:0;color:var(--muted);width:36px;height:36px;border-radius:9px;background:var(--soft);text-align:center}
.choice-text{font-size:21px;font-weight:500;line-height:1.3;flex:1;overflow-wrap:anywhere}
.choice-tail{display:flex;flex-direction:column;align-items:flex-end;gap:3px;font-size:10px;color:var(--muted);max-width:120px;overflow-wrap:anywhere}
.choice-card.is-truth{background:var(--lime);border-color:var(--lime)}.is-truth .choice-letter,.is-truth .choice-tail{color:var(--green)}.is-truth .choice-letter,.is-truth .vletter{background:#cbdac3}
.truth-banner{font-size:19px;padding:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:25px 0 18px}
.truth-banner b{font-weight:600}.gain-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.gain-chip{font-size:13px;color:var(--green);font-weight:500}
.stage-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:32px}
.finish-title{font-size:clamp(32px,4.8vw,65px);margin:16px 0 25px;overflow-wrap:anywhere}.finish-sub{font-size:14px;color:var(--muted)}
.score-table{max-width:780px;margin:30px auto}.score-row{display:flex;align-items:center;gap:20px;min-height:70px;border-bottom:1px solid var(--line);text-align:left;padding:16px 20px}
.score-row.winner{background:var(--lime);border-color:transparent;border-radius:5px}.rank{font-size:13px;color:var(--muted);min-width:22px}
.sname{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:500;font-size:18px}.sgain{font-size:12px;color:var(--green)}.sscore{font-size:25px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.05em}
.podium{display:flex;justify-content:center;align-items:flex-end;gap:12px;max-width:760px;margin:35px auto}
.podium-place{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px;width:30%;min-height:200px;padding:24px 15px;background:var(--soft);border-radius:6px 6px 0 0}
.podium-place.first{min-height:260px;background:var(--lime)}.podium-place:nth-child(2){order:-1}.podium-place .place{font-size:50px;font-weight:500;letter-spacing:-.08em}
.podium-place .pscore{font-size:20px;font-weight:600}.podium-place .pname{font-size:16px;text-align:center}
.moderation{color:var(--muted);font-size:12px}.moderation summary{cursor:pointer;width:fit-content;padding:12px 0}.moderation-player{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:420px;padding:8px 0;color:var(--ink)}
.host-foot{font-size:11px}.host-foot .url{overflow-wrap:anywhere}.host-foot .btn{margin-left:auto}
.fatal{text-align:center;max-width:640px;margin:40px auto}.fatal h1{font-size:36px;margin-bottom:20px}
.phone-card{padding:30px 0}.phone-card h1{font-size:38px;margin:16px 0 18px}.phone-card>.muted{font-size:14px;line-height:1.6;margin:14px 0 24px}
.phone .question,.phone .question.small{font-size:27px;line-height:1.25;letter-spacing:-.045em;margin:0 0 20px}
.phone .round-meta{justify-content:flex-start;gap:10px;margin-bottom:20px}.phone .cat{font-size:10px}.phone .progress-pill{font-size:11px}
.field{margin:22px 0 14px}.field label{display:block;font-size:12px;font-weight:500;margin-bottom:8px}.field input{font-size:18px;min-height:58px}
.room-pill{font-size:12px;color:var(--red);font-weight:500;letter-spacing:.03em}
.lobby-list{list-style:none;padding:0;margin:30px 0}.lobby-list li{border-bottom:1px solid var(--line);padding:14px 0;font-size:16px}
.lobby-list .me{font-weight:600}.lobby-list .me::after{content:"вы";float:right;font-size:11px;font-weight:400;color:var(--muted)}
.progress-line{font-size:12px;color:var(--muted);margin:22px 0}.answer-accepted{background:var(--lime);padding:22px;border-radius:5px;margin-top:25px}
.accepted-label{font-size:11px;font-weight:500;margin-bottom:12px;color:var(--green)}.accepted-label::before{content:"✓ ";}.accepted-text{font-size:24px;line-height:1.25;overflow-wrap:anywhere}
.vote-list{display:grid;gap:10px;margin:25px 0}.vote-btn{width:100%;display:flex;gap:12px;align-items:center;text-align:left;padding:18px 15px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);color:var(--ink);min-height:66px}
button.vote-btn:hover:not(:disabled){border-color:var(--ink)}.vote-btn.is-picked{border:2px solid var(--ink);padding:17px 14px;background:var(--soft)}.vote-btn.is-mine{opacity:.5}.vote-btn.is-truth{background:var(--lime);border-color:var(--lime)}
.vletter{display:grid;place-items:center;flex-shrink:0;font-size:12px;color:var(--muted);width:28px;height:28px;background:var(--soft);border-radius:7px}.vtext{font-size:16px;line-height:1.4;font-weight:500;flex:1;overflow-wrap:anywhere}.vtag{font-size:9px;text-transform:uppercase;max-width:45px;color:var(--muted)}
.vmeta{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:5px}
.result-hero{padding:25px 0;text-align:center}.result-hero .big{font-size:65px;font-weight:600;line-height:1.1;letter-spacing:-.06em}.result-hero .gain{font-size:18px;margin-top:12px}
.result-hero.correct{color:var(--green)}.result-hero.wrong{color:var(--red)}.truth-line{font-size:15px;padding:18px 0;border-block:1px solid var(--line)}
.phone .score-row{padding:15px 10px;gap:10px;min-height:60px}.phone .sname{font-size:14px}.phone .sscore{font-size:22px}.phone .rank{min-width:14px}
.me-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;background:var(--ink);color:var(--paper);padding:16px 20px;border-radius:5px;font-size:13px;position:sticky;bottom:12px;z-index:5}
.me-bar .score{white-space:nowrap;color:var(--lime);font-variant-numeric:tabular-nums}.join-error{color:var(--red);font-size:12px;margin-top:12px}
.final-bonus{font-size:12px;font-weight:500;background:var(--lime);padding:10px 15px;text-align:center;margin-top:15px;border-radius:3px}
.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;background:var(--ink);color:var(--paper);padding:16px 24px;border-radius:5px;font-size:14px;max-width:calc(100% - 32px);width:max-content;z-index:100}
.toast.show{opacity:1;transform:translate(-50%,0)}
.reveal-pending{opacity:.65}.reveal-open{animation:reveal-card .35s ease-out}
@keyframes reveal-card{from{transform:translateY(6px);opacity:.6}to{transform:none;opacity:1}}
.confetti{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:1000}
.confetti i{position:absolute;top:-20px;width:8px;height:14px;animation:confetti-fall 3.5s ease-in forwards}
@keyframes confetti-fall{to{transform:translate(var(--drift),105vh) rotate(650deg)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.confetti{display:none}}

.header-links{display:flex;align-items:center;gap:28px;margin-left:auto;font-size:13px}.header-links>a:first-child{font-weight:500}.header-links a:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:540px){.header-links{gap:15px;font-size:10px}.header-links .rules-link{font-size:10px}.header-links .rules-link span{display:none}}

/* Карточка-пример использует ту же систему, что варианты в игре. */
.sample-card{margin-top:34px;padding:22px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);max-width:540px}
.sample-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}
.sample-category{padding:4px 9px;border-radius:6px;background:var(--soft);color:var(--ink)}
.sample-question{font-size:23px;line-height:1.35;letter-spacing:-.03em;font-weight:500;margin:18px 0}
.sample-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.sample-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px;min-width:0}
.sample-letter{font-size:11px;color:var(--muted);flex-shrink:0}
.sample-option b{display:block;font-size:14px;font-weight:500}.sample-option small{display:block;margin-top:4px;font-size:10px;line-height:1.35;color:var(--muted)}
.sample-truth{background:var(--lime);border-color:#c4d4bb}.sample-truth>span:last-child{margin-left:auto;color:var(--green)}
.sample-caption{font-size:10px;color:var(--muted);margin-top:14px;line-height:1.5}
@media(max-width:800px){.sample-card{display:none}}

.brand-dot svg,.hero-asterisk svg{display:block;width:1em;height:1em}.brand-dot{width:1em;height:1em;flex-shrink:0}.choice-text,.vtext,.truth-banner b,.truth-line b{text-transform:uppercase;overflow-wrap:anywhere}

.final-announcement{text-align:center;max-width:850px;margin:auto}.final-announcement>.eyebrow{color:var(--red);margin-bottom:22px}.final-announcement h1{font-size:clamp(32px,5vw,62px)}.final-multiplier{font-size:clamp(46px,7vw,90px);font-weight:800;color:var(--red);margin:20px 0;letter-spacing:-.05em}.final-announcement>p{line-height:1.6}.final-announcement h2{margin:30px 0 16px;font-size:24px}.final-ranking{list-style:none;padding:0;max-width:560px;margin:0 auto 20px;text-align:left}.final-ranking li{display:flex;justify-content:space-between;gap:20px;padding:12px 16px;border-bottom:1px solid var(--line)}.pause-screen{text-align:center;padding:35px 0}.pause-screen h1{font-size:clamp(32px,5vw,60px);margin:20px 0}.pause-screen p{color:var(--muted);line-height:1.7}.pause-screen button{margin-top:25px}.phone .final-announcement{padding:26px 0}.phone .final-announcement h1{font-size:34px}

/* Каталог человечков, сцена и беговые дорожки. */
.character{display:inline-block;width:58px;height:84px;flex-shrink:0;vertical-align:middle}.character svg{display:block;width:100%;height:100%;overflow:visible}
.character-picker{border:0;padding:0;margin:24px 0}.character-picker legend{font-size:14px;font-weight:600;margin-bottom:13px}.character-catalogue{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;max-width:820px}.character-option{position:relative;display:flex;align-items:center;flex-direction:column;gap:6px;padding:10px 5px 9px;border:1px solid var(--line);border-radius:10px;background:var(--card);cursor:pointer;text-align:center;font-size:10px;line-height:1.3}.character-option input{position:absolute;opacity:0;width:1px;height:1px;padding:0;top:8px;left:8px}.character-option:has(input:checked){background:var(--soft);border-color:var(--red);box-shadow:0 0 0 2px var(--red)}.character-option:focus-within{outline:3px solid var(--green);outline-offset:3px}.character-option input:checked~span:last-child{font-weight:700;color:var(--red)}.character-option:hover .character{transform:translateY(-3px)}.character-option .character{width:48px;height:70px;transition:transform .15s}
.phone .character-catalogue{grid-template-columns:repeat(4,minmax(0,1fr))}.phone .character-option{font-size:9px;padding:8px 3px}.phone .character-option .character{width:43px;height:64px}.phone .lobby-list li{display:flex;gap:14px;align-items:center}.lobby-list .character{width:34px;height:49px}.player-tile>.character{width:38px;height:55px;grid-row:1/3}.player-tile.offline>.character{opacity:.65}
.character-podium{display:flex;align-items:flex-end;justify-content:center;gap:14px;max-width:820px;margin:35px auto 22px;padding-top:15px}.character-podium-place{display:flex;flex-direction:column;align-items:center;min-width:0;width:30%}.character-podium-place>.character{width:110px;height:158px;position:relative;z-index:1;margin-bottom:-3px}.podium-slot-2{order:-1}.podium-block{width:100%;min-height:150px;background:var(--soft);border:1px solid var(--line);border-radius:12px 12px 0 0;padding:16px 12px;display:flex;flex-direction:column;gap:8px;align-items:center;box-shadow:0 6px 0 #d5c8b5}.podium-slot-1 .podium-block{min-height:210px;background:#e4d7b3;border-color:#c6b58e}.podium-slot-3 .podium-block{min-height:115px;background:#e5cdbc}.podium-block b{overflow-wrap:anywhere;max-width:100%;font-size:18px;line-height:1.3}.podium-block>span:last-child{font-size:16px}.podium-rank{font-size:38px;font-weight:700;line-height:1}.common-podium{max-width:900px;margin:32px auto 0;padding:22px 18px;background:var(--soft);border:1px solid var(--line);border-bottom:7px solid #d5c8b5;border-radius:12px;text-align:center}.common-podium h2{font-size:20px;margin-bottom:18px}.common-podium>div{display:flex;flex-wrap:wrap;justify-content:center;gap:24px 15px}.common-podium-player{display:flex;align-items:center;flex-direction:column;gap:6px;min-width:85px;max-width:125px;flex:1}.common-podium-player .character{width:65px;height:94px}.common-podium-player b{font-size:13px;overflow-wrap:anywhere;max-width:100%}.common-podium-player>span:last-child{font-size:10px;color:var(--muted)}.podium-tie{text-align:center;margin-top:18px}
.final-announcement.has-race{max-width:1000px}.has-race>.eyebrow{margin-bottom:12px}.race-heading{display:flex;align-items:center;justify-content:center;gap:30px;margin-bottom:10px}.race-heading h1{font-size:clamp(26px,3.5vw,43px)}.race-heading .final-multiplier{font-size:48px;margin:0;white-space:nowrap}.has-race h2{font-size:18px;margin:15px 0 10px}.has-race>p{font-size:13px}.character-race{text-align:left;margin:15px auto 10px;max-width:900px}.race-lane{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:end;border-bottom:1px dashed #c9bba5;min-height:48px;padding-bottom:3px}.race-label{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0;font-size:11px;line-height:1.3;padding-bottom:8px}.race-label span{overflow-wrap:anywhere}.race-label b{font-variant-numeric:tabular-nums;color:var(--muted)}.race-track{height:45px;position:relative;background:linear-gradient(0deg,#e8ddca88 0 35%,transparent 35%);border-radius:4px}.race-runner{display:block;position:absolute;bottom:-1px;left:var(--position);width:32px;height:46px;animation:race-arrive 1.8s cubic-bezier(.2,.7,.25,1) both}.race-runner .character{width:32px;height:46px;animation:runner-bob .35s infinite alternate ease-in-out}.race-runner .character-arm,.race-runner .character-leg{transform-box:fill-box;transform-origin:50% 0%;animation:runner-stride .38s infinite alternate ease-in-out}.race-runner .arm-right,.race-runner .leg-left{animation-direction:alternate-reverse}.race-finish{position:absolute;right:0;bottom:0;width:9px;height:42px;border-left:2px solid var(--ink);background:repeating-conic-gradient(var(--ink) 0 25%,var(--card) 0 50%) 0 0/8px 8px}.race-me{background:#dce6d655}.race-me .race-label{font-weight:700}.phone .has-race .race-heading{display:block}.phone .race-heading h1{font-size:28px}.phone .race-heading .final-multiplier{font-size:42px;margin-top:12px}.phone .race-lane{grid-template-columns:95px minmax(0,1fr);gap:8px;min-height:52px}.phone .race-label{font-size:10px;display:block}.phone .race-label b{display:block;margin-top:3px}.phone .race-runner{width:28px;height:42px}.phone .race-runner .character{width:28px;height:42px}.phone .character-podium{gap:7px;margin-top:25px}.phone .character-podium-place{width:32%}.phone .character-podium-place>.character{width:63px;height:91px}.phone .podium-block{padding:12px 5px;min-height:125px}.phone .podium-slot-1 .podium-block{min-height:165px}.phone .podium-slot-3 .podium-block{min-height:100px}.phone .podium-block b{font-size:12px}.phone .podium-block>span:last-child{font-size:11px}.phone .podium-rank{font-size:29px}.phone .common-podium{padding:18px 10px}.phone .common-podium-player{min-width:65px;max-width:95px}.phone .common-podium-player .character{width:48px;height:70px}
@keyframes race-arrive{from{left:2%}to{left:var(--position)}}@keyframes runner-bob{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-2px) rotate(2deg)}}@keyframes runner-stride{from{transform:rotate(-22deg)}to{transform:rotate(22deg)}}
@media(max-width:700px){.character-catalogue{grid-template-columns:repeat(4,minmax(0,1fr))}.race-lane{grid-template-columns:105px minmax(0,1fr);gap:10px}.race-heading{gap:15px}.race-heading .final-multiplier{font-size:35px}.character-podium-place>.character{width:75px;height:108px}.podium-block b{font-size:14px}.podium-block>span:last-child{font-size:12px}}
@media(prefers-reduced-motion:reduce){.race-runner,.race-runner .character,.race-runner .character-arm,.race-runner .character-leg{animation:none}.character-option .character{transition:none}}

.host .character-race{--lane-height:clamp(26px,calc((100vh - 360px) / var(--race-rows)),48px);--lane-height:clamp(26px,calc((100svh - 360px) / var(--race-rows)),48px)}.host .race-lane{min-height:var(--lane-height)}.host .race-track{height:calc(var(--lane-height) - 3px)}.host .race-runner,.host .race-runner .character{height:calc(var(--lane-height) - 2px);width:calc((var(--lane-height) - 2px) * .69)}.host .race-finish{height:calc(var(--lane-height) - 5px)}.host .race-label{padding-bottom:4px}.host:has(.character-race) .stage{padding-top:24px;padding-bottom:20px}.host .has-race>.eyebrow{margin-bottom:7px}.host .has-race h2{margin-top:10px}

.host .common-podium>div{gap:24px 10px}.host .common-podium-player{min-width:80px}.play[data-state="finished"] .me-bar,.play[data-state="final_intro"] .me-bar{position:static;margin-top:20px}

.suspense-screen{padding:35px 0;text-align:center}.suspense-screen h1{font-size:clamp(32px,4.5vw,58px);margin:18px 0}.phone .suspense-screen{padding-top:32px}.phone .suspense-screen h1{font-size:34px}.phone .suspense-screen .sub-note{font-size:15px}
