/* Тёплый вечер: shared visual tokens and the host/TV surfaces. */
:root{color-scheme:light;--bg:#f4e6d3;--panel:#fbf0df;--card:#fbf0df;--line:#d8c7ad;--ink:#44382c;--muted:#786850;--accent:#35654e;--orange:#a66d3e;--hot:#ad573f;--sage:#c4d5c5;--peach:#f6bd9d;--gold:#efcf85;--clay-shadow:5px 6px 12px #74522b19,-3px -3px 9px #ffffffa3;--clay-inset:inset 2px 3px 6px #75573020,inset -2px -2px 5px #ffffffe0}
body{background:radial-gradient(ellipse at 70% 5%,#fff6e9,transparent 65%),var(--bg);font-family:"Avenir Next","Segoe UI",sans-serif;color:var(--ink)}button,.file-button{border:1px solid #fff8e9;border-radius:14px;background:linear-gradient(145deg,#fff8e9,#f1e1ca);box-shadow:var(--clay-shadow);font-weight:600;transition:transform .18s,box-shadow .18s,background .18s;color:var(--ink)}button:hover:not(:disabled),.file-button:hover{background:linear-gradient(145deg,#fffaf0,#f3e5ce);transform:translateY(-2px);box-shadow:5px 9px 15px #74522b26,-3px -3px 9px #ffffffa3}button:active:not(:disabled){transform:translateY(1px);box-shadow:var(--clay-inset)}button:disabled{opacity:.5}.primary{background:linear-gradient(145deg,#65977c,#42785e);color:#fffaf0;border-color:#8aaf92;box-shadow:inset 1px 2px 3px #d7e5b969,3px 5px 8px #4b765443}.primary:hover:not(:disabled){background:linear-gradient(145deg,#73a488,#4e856a)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#346a54;outline-offset:4px}a{color:#37674f;text-underline-offset:3px}h1,h2,h3{letter-spacing:-.04em}input,textarea,select{background:#fff8ea;color:var(--ink);border:1px solid #cdbb9e;box-shadow:var(--clay-inset);border-radius:10px}input::placeholder,textarea::placeholder{color:#8d806b}.eyebrow{color:#7a715b}.brand{color:#385440}.brand span{color:#527a60}.brand:after{content:'✦';position:absolute;left:-42px;top:2px;font-size:35px;color:#729680;text-shadow:1px 2px #fff8dd,3px 4px 4px #65765544}.brand i{display:none}
#game-shell{max-width:1800px;margin:22px auto;display:grid;grid-template-columns:195px minmax(0,1fr);background:linear-gradient(140deg,#fcf3e5,#f8eddb);border:2px solid #fff7eb;border-radius:30px;box-shadow:10px 14px 36px #735d3320;overflow:clip;width:calc(100% - 40px)}.game-sidebar{grid-column:1;grid-row:1/6;background:linear-gradient(110deg,#c3d4c6,#d0dccb 80%,#c1cfbc);box-shadow:inset 2px 2px 6px #ffffffe0,inset -3px -2px 7px #71866c40,5px 2px 12px #76604417;border-radius:28px;padding:30px 16px;display:flex;flex-direction:column;min-width:0}.sidebar-brand{display:flex;align-items:center;gap:14px;text-decoration:none;margin:0 12px 33px;font-size:29px;line-height:.9;letter-spacing:-1px;color:#385540}.sidebar-brand>span{font-size:47px;color:#618a70;text-shadow:1px 2px #ffffffa3,3px 4px 3px #47684140}.sidebar-caption{font-size:9px;letter-spacing:2px;color:#5f765e;margin:0 10px 15px}.game-sidebar nav{display:flex;flex-direction:column;gap:11px}.game-sidebar nav button{padding:12px 11px;text-align:left;font-size:12px;border:0;color:#385740;background:transparent;box-shadow:none}.game-sidebar nav button:hover:not(:disabled){background:#e9eedb;box-shadow:var(--clay-shadow)}.game-sidebar nav button.primary{color:#426148;background:linear-gradient(145deg,#fff7e8,#f4e8d3);box-shadow:inset 0 2px #fffdf5,3px 5px 7px #6b795c38}.sidebar-round{margin:25px 10px 12px;padding-top:22px;border-top:1px solid #8da38566}.sidebar-round b{display:block;font-size:14px;margin:9px 0 4px;overflow-wrap:anywhere}.sidebar-round>span:last-child{font-size:11px;color:#566e52}.motion-control{display:flex;align-items:center;gap:7px;font-size:10px;cursor:pointer;color:#56624d;margin:18px 8px}.motion-control input{margin:0;accent-color:#527d61;width:16px;height:16px;box-shadow:none}.sidebar-motto{margin-top:auto;text-align:center;padding-top:35px;font-size:11px;color:#5e7159}.sidebar-motto>span{display:block;font-size:42px;color:#d9ac53;text-shadow:1px 2px #fff0b5,3px 4px 4px #77916444}.sidebar-motto b{display:block;font-size:12px;color:#485f44;margin:6px 0}.masthead{grid-column:2;border:0;padding:26px 30px 16px;gap:20px}.masthead>.brand{display:none}.masthead h1{font-size:25px;color:#4b3e30}.game-title{color:#657b58;font-size:12px}.room-strip{grid-column:2;border:0;padding:0 30px 12px;font-size:10px}.room-strip b{font-size:11px}.room-strip button{font-size:10px;border-radius:9px}.connection-warning{grid-column:2;background:#f3d1b1;color:#794b2d;border-radius:12px;margin:0 25px 12px;padding:12px 16px}#game-main{grid-column:2;max-width:none;width:100%;min-width:0;padding:0 30px 26px}.statusline{padding:10px 0 15px;font-size:10px;letter-spacing:0;gap:14px;flex-wrap:wrap}.statusline #progress{font-weight:650}.statusline #connection:before{content:'●';color:#69916c;font-size:8px;margin-right:5px}.buzzer-status{background:linear-gradient(130deg,#e6edd8,#d3e1cc);border:1px solid #fff9e7;border-radius:17px;box-shadow:var(--clay-shadow);padding:11px 17px;margin-bottom:18px;gap:15px}.buzzer-status .eyebrow{font-size:8px;letter-spacing:1.6px}.buzzer-status p{font-size:14px;color:#4c674b}.buzzer-status.has-winner{background:linear-gradient(135deg,#d6e8c9,#b7d4b9);border-color:#81ac80}.buzzer-status.has-winner p{color:#365e42}.game-hero{position:relative;overflow:hidden;min-height:190px;padding:26px 28px;border-radius:25px;border:1px solid #fff5dc;background:linear-gradient(120deg,#f9dcc0,#f4c5a8 80%);box-shadow:inset 2px 2px 5px #fff5e780,inset -2px -3px 6px #b7836540,var(--clay-shadow);margin-bottom:25px}.game-hero h2{font-size:33px;line-height:1.1;color:#69482f;margin:10px 0}.game-hero p{font-size:12px;color:#805d40}.game-hero img{position:absolute;right:28px;top:-26px;width:245px;height:245px;object-fit:contain;transform:rotate(6deg)}.game-hero .eyebrow{font-size:9px;color:#836446}.play-grid{display:grid;gap:22px;grid-template-columns:minmax(0,1fr) 210px;align-items:start;min-width:0}#play-area,#scores{min-width:0}body:not([data-phase=board]) .play-grid,.many-players .play-grid{grid-template-columns:1fr}#scores:empty{display:none}.board{min-width:var(--board-min,510px);gap:12px}.board-scroll{scrollbar-color:#b0bda2 #efe4d0;padding:4px 5px 9px;max-width:100%}.board .board-row{gap:10px;grid-template-columns:minmax(135px,1.7fr) repeat(var(--questions,5),minmax(54px,1fr))}.board .topic{position:sticky;left:0;border:0;box-shadow:none;background:#f9eedc;color:#554b38;font-size:13px;padding:12px 10px;min-height:65px;border-radius:13px;line-height:1.35;z-index:1}.board .cell{min-height:65px;height:auto;font-size:clamp(21px,2vw,32px);padding:8px 5px;border:1px solid #ffffffb0;border-radius:16px;background:linear-gradient(145deg,var(--tile-light),var(--tile));box-shadow:inset 2px 2px 3px #ffffffa3,inset -2px -3px 5px #836b4020,3px 4px 6px #90774c27;color:var(--tile-ink)}.board .cell:hover:not(:disabled){background:linear-gradient(145deg,#fff7df,var(--tile))}.board-row:nth-child(5n+1){--tile-light:#e4e9d1;--tile:#d6dec1;--tile-ink:#52613a}.board-row:nth-child(5n+2){--tile-light:#f9d6c1;--tile:#f1c3a6;--tile-ink:#805039}.board-row:nth-child(5n+3){--tile-light:#ffebbe;--tile:#f6d996;--tile-ink:#806021}.board-row:nth-child(5n+4){--tile-light:#dee9e7;--tile:#c6d9d7;--tile-ink:#47696d}.board-row:nth-child(5n+5){--tile-light:#e8dbe5;--tile:#dac5d4;--tile-ink:#705469}.board .cell.used{background:#e9dfce;box-shadow:var(--clay-inset);color:#a09179;border-color:#e8ddca;opacity:.7}.board .cell-empty{background:transparent;box-shadow:none;border-color:transparent}.scoreboard{gap:12px;margin-top:0;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}body[data-phase=board]:not(.stage):not(.many-players) .scoreboard{grid-template-columns:1fr;padding:15px;border:1px solid #fff9eb;border-radius:22px;background:linear-gradient(135deg,#fdf3e2,#f5e8d4);box-shadow:var(--clay-shadow);gap:8px}body[data-phase=board]:not(.stage):not(.many-players) .scoreboard:before{content:'За столом';font-size:18px;font-weight:700;margin-bottom:7px}body[data-phase=board]:not(.stage):not(.many-players) .score{background:transparent;box-shadow:none;border:0;border-bottom:1px solid #e0d2ba;border-radius:0;padding:10px 2px}.score{background:linear-gradient(135deg,#fff5e4,#f0e1c9);border:1px solid #fff8e8;border-radius:18px;padding:15px 17px;box-shadow:var(--clay-shadow)}.score:nth-child(n){border-top-color:#fff8e8}.score-number{font-size:30px;color:#574630}.score-name{color:#4e4331}.presence{color:#83765e}.presence.online:before{color:#608967}.score.buzz-winner{background:#dce8cd!important;box-shadow:0 0 0 2px #86a782!important}.avatar{border-radius:13px;background:linear-gradient(140deg,#d4e3c8,#a7c0a3);border:1px solid #fff5dc;box-shadow:inset 1px 2px 3px #ffffffad,2px 3px 5px #75562930}.avatar-initial{color:#45644b}.score:nth-child(4n+2) .avatar-initial{background:linear-gradient(140deg,#ffddc2,#edb695);color:#8b583e}.score:nth-child(4n+3) .avatar-initial{background:linear-gradient(140deg,#ffedb7,#e7c472);color:#886224}.score:nth-child(4n+4) .avatar-initial{background:linear-gradient(140deg,#d7e6e3,#afcbd1);color:#4f7280}.edit-score{background:transparent;box-shadow:none;border:0}.judge .correct{color:#37664c;background:#d9e7cc;border-color:#abc2a1}.judge .wrong{color:#8c4e38;background:#f6d6bf;border-color:#ddb291}.empty-roster{margin:0;font-size:13px;background:#f5e9d6;border-color:#c9bda3}.question-layout{gap:22px;grid-template-columns:minmax(0,1fr) 280px}.question-card{background:radial-gradient(ellipse at 80% 5%,#fffaf0,#f8ebd6 70%);border:1px solid #fff8e8;border-radius:26px;box-shadow:inset 2px 3px 5px #fffaf1,var(--clay-shadow);min-height:430px;padding:28px;overflow:clip}.question-card:focus{outline:none}.question-meta{color:#987341;font-size:11px;line-height:1.6}.question-text{color:#473c2e;font-size:clamp(24px,2.5vw,40px)}.question-image{border-radius:12px;max-height:370px}.answer-text{color:#3f694d}.answer-tag{color:#718a5d}.host-controls{background:linear-gradient(130deg,#fff3df,#efe0c6);border:1px solid #fff8e5;box-shadow:var(--clay-shadow);border-radius:22px;padding:18px;font-size:13px;gap:12px}.host-controls button{font-size:12px}.host-answer{background:#dfe9d3;border-color:#b5c8a4;border-radius:14px;color:#46613e;font-size:14px}.host-answer small{color:#59794b}.timer{color:#5f7857;font-size:38px}.timer.expired{color:#a05036}.hint-controls{background:#f3e8d1;border:1px solid #d8c7a9;border-radius:14px}.hint-controls .muted{color:#7b6a4d}.control-note{color:#7d6a50}.stage-timer{color:#5d7d57}.secret-reveal{background:radial-gradient(ellipse at center,#eee7c8,#c4d5b9 65%,#b0c7b0);color:#476347}.secret-reveal strong,.secret-mark{color:#4c7351;text-shadow:1px 2px #fffad6}.secret-caption{color:#526b4a}.secret-orbit{border-color:#79956755;box-shadow:0 0 0 38px #f5e5ac30,0 0 0 76px #ffffed25}.secret-setting{background:#e1e9d2;border-color:#b2c49b;color:#486b43}.secret-badge{color:#986232}.secret-revealing{min-height:430px}.stage #game-shell{display:block;max-width:1900px}.stage .game-sidebar{display:none}.stage .masthead{padding:22px 30px 15px}.stage .masthead>.brand{display:block;margin-left:35px;margin-right:30px}.stage .play-grid{grid-template-columns:1fr}.stage .question-card{min-height:52vh}.stage .scoreboard{margin-top:0}.stage .buzzer-status{padding:11px 17px}.stage .buzzer-status p{font-size:21px}.stage .board .topic{font-size:20px;min-height:85px}.stage .board .cell{font-size:38px;min-height:85px}.stage .score-number{font-size:34px}.stage .question-text{font-size:clamp(30px,3.5vw,62px)}.stage .question-image{max-height:42vh}.stage .room-strip{opacity:1}.stage .question-layout{grid-template-columns:1fr}#host-footer{font-size:10px;gap:12px;flex-wrap:wrap;margin-top:22px}#host-footer button{font-size:11px}#finish-session{border-color:#d4ad8e;color:#915438}.results-header,.round-finish,.finish{background:linear-gradient(120deg,#dde7cb,#c5d8c6);border:1px solid #fff7df;box-shadow:var(--clay-shadow);border-radius:23px}.results-header p{color:#627755}.result-metric,.results-ranking,.results-chart-section{background:linear-gradient(140deg,#fff6e7,#f2e5ce);border:1px solid #fff9e8;border-radius:20px;box-shadow:var(--clay-shadow)}.result-metric p{color:var(--muted)}.results-table th,.results-table td{border-color:#dfd0b7}.results-table tbody tr:first-child{background:#dce7cc80}.chart-grid{stroke:#d1c3a9}.chart-label{fill:#786e57}.chart-point{stroke:#fff4df}.chart-detail{background:#eee2ca;box-shadow:var(--clay-inset)}.round-leaders li{background:#fff4dfad;box-shadow:var(--clay-shadow);border-radius:13px}.finish h2{color:#436947}.library{background:#ede4d0;border-radius:18px}.library-item{border-radius:13px}.notice{color:#985834}.account-entry{background:#d2dfc8;color:#426447;border:1px solid #fff4dc;box-shadow:var(--clay-shadow);border-radius:14px}.account-entry:hover{background:#e3ead6;border-color:#b5c4a3}.saved-room{background:#fff3df;box-shadow:var(--clay-shadow);border-color:#fff8e7;border-radius:14px}.saved-room:hover{background:#e4ead4}.saved-rooms{max-width:none}.saved-room span{flex-shrink:0}dialog{background:radial-gradient(ellipse at top left,#fff8eb,#f6e8d0);border:1px solid #fff9e8;border-radius:25px;box-shadow:10px 18px 60px #54401b40;color:var(--ink);max-height:90dvh}dialog[open]{animation:warm-dialog-in .24s cubic-bezier(.22,1,.36,1)}dialog::backdrop{background:#443d3069;backdrop-filter:blur(7px)}.dialog-head>button{border-radius:50%;height:38px;width:38px;padding:0;flex-shrink:0}.dialog-head{align-items:flex-start}.dialog-head h2{font-size:25px}#confirm-text{margin:17px 0 24px}#toast{background:#477355;color:#fff7df;box-shadow:var(--clay-shadow);font-size:13px}.landing{max-width:1280px;margin:28px auto 38px;background:linear-gradient(140deg,#fcf3e5,#f8eddb);border:2px solid #fff7eb;border-radius:30px;padding:34px 38px;box-shadow:10px 14px 36px #735d3320;width:calc(100% - 40px)}.landing>.brand{margin:7px 0 35px 43px;font-size:26px}.landing-hero{position:relative;background:linear-gradient(120deg,#f9dcc0,#f4c5a8);border:1px solid #fff5dc;border-radius:26px;padding:40px 34px;box-shadow:var(--clay-shadow);overflow:hidden}.landing-copy{position:relative;z-index:1;max-width:62%}.landing h1{font-size:clamp(38px,4.4vw,61px);letter-spacing:-2.5px;color:#65452e;margin:18px 0 23px;line-height:1.08}.landing-intro{font-size:15px;color:#7d5d40;max-width:560px;line-height:1.7}.landing-actions{gap:11px;margin:25px 0 0}.landing-actions button{font-size:13px;padding:14px 18px}.landing-actions span{font-size:11px;color:#806648}.landing-trophy{position:absolute;width:36%;height:auto;right:1%;top:50%;transform:translateY(-50%);object-fit:contain}.landing-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0 34px}.landing-features article{padding:22px;border:1px solid #fff9e8;background:linear-gradient(140deg,#fff5e4,#f2e4cc);box-shadow:var(--clay-shadow);border-radius:22px}.landing-features article>span{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#d5e0c7;color:#61835c;font-size:25px;box-shadow:var(--clay-shadow);margin-bottom:18px}.landing-features article:nth-child(2)>span{background:#f5c8aa;color:#9d6b4c}.landing-features article:nth-child(3)>span{background:#f5dda3;color:#ac8941}.landing-features h2{font-size:17px;letter-spacing:-.5px}.landing-features p{font-size:12px;color:var(--muted);margin-top:9px}.join-form{max-width:none}.join-row{max-width:720px}.join-form>.muted{max-width:850px;font-size:12px}.landing-foot{max-width:900px;font-size:12px}.landing .motion-control{margin:24px 0 10px}
@keyframes warm-dialog-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes winner-pulse{from{box-shadow:0 0 0 0 #6a966877}to{box-shadow:0 0 0 13px #6a966800}}@keyframes answer-celebration{0%{box-shadow:inset 0 0 0 2px #91b47b,0 0 28px #91b47b55}100%{box-shadow:inset 0 0 0 0 #91b47b00,var(--clay-shadow)}}
@media(max-width:1250px){#game-shell{grid-template-columns:172px minmax(0,1fr)}.game-sidebar{padding:26px 12px}.game-sidebar nav button{font-size:11px}.masthead{padding:23px 23px 15px}#game-main{padding:0 23px 24px}.room-strip{padding-left:23px;padding-right:23px}.play-grid{grid-template-columns:minmax(0,1fr)}body[data-phase=board]:not(.stage):not(.many-players) .scoreboard{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));padding:15px}body[data-phase=board]:not(.stage):not(.many-players) .scoreboard:before{grid-column:1/-1}body[data-phase=board]:not(.stage):not(.many-players) .score{border:0}.game-hero{min-height:180px}.board .topic{font-size:13px}.question-layout{grid-template-columns:minmax(0,1fr) 255px}}
@media(max-width:1000px){.question-layout{grid-template-columns:1fr}.host-controls{grid-template-columns:1fr 1fr}.host-controls>.primary{margin-top:0}.question-card{min-height:350px}.landing-copy{max-width:68%}.landing h1{font-size:43px}.landing-hero{padding:30px 26px}.game-hero img{width:215px;right:7px;top:-9px}.game-hero h2{font-size:30px}.game-hero p{max-width:65%}.masthead>.round{min-width:150px}.stage .board .cell{min-height:70px}.stage .board .topic{font-size:16px;min-height:70px}}
@media(max-width:760px){#game-shell{display:block;width:calc(100% - 20px);margin:10px auto;border-radius:23px}.game-sidebar{padding:17px;border-radius:21px;display:block}.sidebar-brand{font-size:23px;margin:0 0 18px}.sidebar-brand>span{font-size:35px}.sidebar-caption,.sidebar-round,.sidebar-motto{display:none}.game-sidebar nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.game-sidebar nav button{padding:9px 11px;background:#e5ecd9;box-shadow:2px 3px 5px #70815b25;font-size:10px;border-radius:11px}.game-sidebar .motion-control{position:absolute;right:28px;top:12px;font-size:9px}.masthead{padding:20px 17px 12px;gap:12px}.masthead h1{font-size:22px}#game-main{padding:0 15px 20px}.room-strip{padding:0 17px 12px}.room-strip>span{width:auto;font-size:9px}.room-strip b{font-size:10px}.statusline{font-size:9px;gap:7px 12px}.statusline #save-status{width:auto}.game-hero{padding:23px 19px;min-height:191px;margin-bottom:19px}.game-hero h2{font-size:28px;max-width:68%}.game-hero .eyebrow{font-size:8px;letter-spacing:1px}.game-hero p{font-size:10px;max-width:62%}.game-hero img{width:165px;height:185px;right:-18px;top:18px}.buzzer-status{flex-direction:row;align-items:center;padding:11px 12px}.buzzer-status button{width:auto;font-size:10px;padding:8px;flex:none}.buzzer-status p{font-size:13px}.board .board-row{grid-template-columns:minmax(95px,1.7fr) repeat(var(--questions,5),minmax(44px,1fr));gap:7px}.board .topic{font-size:11px;padding:8px;min-height:54px}.board .cell{min-height:54px;font-size:21px;border-radius:12px}.board{gap:10px}.scoreboard{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-phase=board]:not(.stage):not(.many-players) .scoreboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px}.score{padding:13px}.score-number{font-size:26px}.score-name{font-size:12px}.question-card{padding:23px 18px;min-height:340px;border-radius:22px}.question-text{font-size:25px}.question-card.has-image .question-text{font-size:20px}.question-image{max-height:42vh}.host-controls{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.host-answer{grid-column:1/-1}.host-controls .control-note,.hint-controls{grid-column:1/-1}.timer{font-size:32px}.judge button{font-size:11px}.stage .masthead{padding:20px 16px 12px}.stage .masthead>.brand{display:none}.stage .board .topic{font-size:12px;min-height:60px}.stage .board .cell{font-size:24px;min-height:60px}.stage .question-text{font-size:30px}.stage .has-image .question-text{font-size:21px}.stage .buzzer-status p{font-size:16px}.stage .score-number{font-size:28px}dialog{padding:22px;max-width:calc(100vw - 22px);border-radius:22px}.dialog-head h2{font-size:23px}.landing{margin:10px auto 20px;width:calc(100% - 20px);padding:24px 18px;border-radius:23px}.landing>.brand{margin-bottom:26px;font-size:23px}.account-entry{font-size:10px;padding:8px;max-width:180px}.landing-hero{padding:28px 21px 185px}.landing-copy{max-width:none}.landing h1{font-size:37px;letter-spacing:-1.8px}.landing-intro{font-size:13px}.landing .eyebrow{font-size:8px;letter-spacing:1.2px}.landing-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:22px}.landing-actions button{font-size:12px;padding:13px}.landing-trophy{top:auto;bottom:-5px;right:calc(50% - 100px);transform:none;width:200px;height:190px}.landing-features{grid-template-columns:1fr;gap:15px;margin:22px 0}.landing-features article{padding:19px}.landing-features article>span{float:left;margin:0 17px 0 0}.landing-features h2{font-size:15px}.landing-features p{font-size:11px}.join-row{flex-wrap:wrap}.join-row button{width:100%}.saved-room{flex-wrap:wrap}.saved-room b{min-width:100%}.results-header h2{font-size:29px}.round-finish{padding:27px 17px}.connection-warning{margin:0 15px 10px}.stage .room-strip{padding-left:16px;padding-right:16px}}
@media(min-width:1001px) and (max-height:820px){.game-hero{min-height:150px;padding:19px 25px}.game-hero h2{font-size:27px}.game-hero img{width:205px;height:205px;top:-24px}.game-hero p{font-size:11px}.board .topic,.board .cell{height:auto;min-height:57px;max-height:none}.stage .board .topic,.stage .board .cell{min-height:64px;max-height:none}.question-card{min-height:350px}.stage .question-card{min-height:44vh}.stage .question-image{max-height:31vh}}
.reduced-motion *, .reduced-motion *:before, .reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Long user supplied titles must remain readable inside the bounded shell. */
.masthead>.round{min-width:0;max-width:100%}#round-title{overflow-wrap:anywhere}
.admin-bar{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin:-15px 0 24px;color:#667357;font-size:12px;flex-wrap:wrap}.admin-bar button{font-size:12px;padding:9px 14px}.admin-bar>span{margin-right:auto}.landing-actions #admin-create-note{font-size:13px;line-height:1.6;color:#745a40;max-width:470px}#admin-login{max-width:min(460px,calc(100vw - 24px))}#admin-login-submit{width:100%;margin-top:20px}#admin-login-close{font-size:23px;padding:0}#admin-login label{font-size:13px}#admin-login input{font-size:16px}@media(max-width:760px){.admin-bar{margin:0 0 20px;gap:10px;font-size:10px}.admin-bar button{font-size:10px;padding:9px 10px}.landing-actions #admin-create-note{font-size:12px}}

/* Friendly room names are readable words; opaque IDs remain only in links. */
.room-strip #room-code{font-family:inherit;font-size:14px;letter-spacing:0;font-weight:750;text-transform:none;overflow-wrap:anywhere}.room-strip>span{min-width:0}.saved-room b{font-family:inherit;font-size:13px;letter-spacing:0}
@media(max-width:760px){.room-strip #room-code{font-size:13px}.room-strip>span{flex:1 1 100%}}
