:root{color-scheme:dark;--bg:#0a0a0f;--surface:#131319;--surface2:#191921;--border:#28282f;--text:#f7f5f2;--muted:#96949b;--accent:#efcf83;--accent2:#dfb966;--green:#b8e6b6;--shadow:0 20px 90px #0008}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{font-family:Inter,"Segoe UI",Arial,Helvetica,sans-serif;background:radial-gradient(ellipse at 50% -35%,#2d2921 0%,transparent 57%),var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}.noise{position:fixed;inset:0;pointer-events:none;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E")}.site-shell{max-width:1640px;margin:0 auto;padding:0 4.5%;min-height:100vh;display:flex;flex-direction:column;position:relative}.topbar{height:91px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid var(--border)}.wordmark{font-weight:900;letter-spacing:-2px;font-size:26px;white-space:nowrap}.wordmark>span:first-child{font-weight:300}.mark,.highlight-dot{color:var(--accent)}.top-center{display:flex;align-items:center;gap:13px;color:#a6a2a0;font-size:11px;font-weight:750;letter-spacing:2px}.tiny-square{height:7px;width:7px;background:var(--accent);transform:rotate(45deg);margin-right:5px}.top-divider{color:#53525a}.top-actions{display:flex;gap:18px;justify-content:flex-end;min-width:180px}.header-link{border:0;background:none;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:1.3px;padding:8px 0}.header-link:hover{color:var(--accent)}.header-link span{color:var(--accent);padding-left:5px}.admin-chip,.phone-chip{color:var(--accent);font-size:10px;letter-spacing:1.6px;font-weight:800;border:1px solid #6b5a3988;padding:10px 14px;border-radius:30px}.online-dot,.screen-led{display:inline-block;background:#a4dfa3;width:7px;height:7px;border-radius:50%;margin-right:8px;box-shadow:0 0 14px #6de68f88}.main-content{display:flex;flex-direction:column;flex:1}.display-topline{padding:30px 0 18px;display:flex;align-items:center;justify-content:space-between}.mini-heading{display:flex;align-items:center;gap:13px;font-size:11px;font-weight:800;letter-spacing:2px;color:#adaaa8}.icon-box{font-size:19px;color:var(--accent)}.round-meta{font-size:11px;letter-spacing:1.7px;color:var(--muted);font-weight:750}.round-meta span{padding:0 8px;color:var(--accent)}.stage{flex:1;min-height:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:16px 0 48px}.loading-state{display:flex;gap:15px;align-items:center;color:var(--muted);font-size:13px;letter-spacing:1px}.loading-circle{height:20px;width:20px;border-radius:50%;border:2px solid #555;border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.eyebrow{color:var(--accent);font-size:12px;font-weight:900;letter-spacing:4px;text-transform:uppercase}.hero-title{font-size:clamp(70px,9vw,150px);line-height:.99;font-weight:850;letter-spacing:-.085em;text-align:center;margin:25px 0}.hero-title i{font-family:Georgia,serif;color:var(--accent);font-weight:400}.hero-subtitle{font-size:clamp(16px,1.35vw,22px);color:var(--muted);text-align:center;line-height:1.65;max-width:680px;margin:4px auto 0}.lobby-players{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;width:min(100%,1100px);margin:50px auto 28px}.player-slot{border:1px solid var(--border);background:linear-gradient(145deg,#1a1a20,#111117);border-radius:12px;padding:17px 6px;text-align:center;min-width:0}.player-slot .slot-number{font-size:10px;color:#777783;letter-spacing:1px}.player-slot .slot-name{font-size:13px;margin-top:11px;font-weight:750;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.player-slot .slot-state{font-size:9px;margin-top:9px;letter-spacing:1px;color:#807d86;font-weight:700}.player-slot.claimed{border-color:#645942}.player-slot.claimed .slot-state{color:var(--accent)}.lobby-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;justify-content:center;margin-top:12px}.primary-button{background:var(--accent);color:#111015;border:1px solid var(--accent);padding:20px 30px;min-height:60px;display:inline-flex;align-items:center;justify-content:space-between;gap:70px;font-size:12px;font-weight:950;letter-spacing:1.35px;transition:transform .2s,background .2s;border-radius:5px;white-space:nowrap}.primary-button:hover:not(:disabled){background:#ffdf9b;transform:translateY(-2px)}.primary-button span{font-size:20px;font-weight:400}.quiet-button{background:transparent;color:var(--text);border:1px solid #66605a;padding:19px 24px;border-radius:5px;font-size:11px;letter-spacing:1.3px;font-weight:800;min-height:60px}.quiet-button:hover{border-color:var(--accent);color:var(--accent)}.join-link{font-size:12px;color:var(--muted);margin-top:29px;text-align:center;line-height:2}.join-link b{color:var(--text)}.url-text{display:inline-block;border-bottom:1px dotted #777;max-width:90%;overflow-wrap:anywhere;color:var(--accent)}.display-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:70px;border-top:1px solid var(--border);font-size:10px;color:#77747c;letter-spacing:1.5px;font-weight:750}.display-footer-left{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.screen-indicator{color:#aaa6a2}.footer-divider{color:#4d4d55}.footer-right{color:#88818b}.question-stage{width:100%;max-width:1200px;text-align:center}.question-stage .eyebrow{margin-bottom:25px}.question-text{font-size:clamp(40px,5.3vw,90px);font-weight:770;line-height:1.17;letter-spacing:-.055em;max-width:1220px;margin:0 auto;text-wrap:balance}.voting-info{display:flex;justify-content:center;gap:70px;margin:42px auto 0;align-items:center}.voting-stat{display:flex;flex-direction:column;gap:8px}.voting-stat .stat-value{font-size:clamp(38px,4.5vw,62px);font-weight:850;letter-spacing:-3px;line-height:1}.voting-stat .stat-label{font-size:10px;color:var(--muted);letter-spacing:2px;font-weight:800}.timer-ring{width:108px;height:108px;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(var(--accent) 360deg,#28282f 0deg);transition:background .1s}.timer-ring:before{content:'';position:absolute;inset:9px;border-radius:50%;background:var(--bg)}.timer-number{position:relative;font-size:37px;font-weight:800}.timer-label{color:var(--muted);font-size:11px;letter-spacing:1px;margin-top:3px}.progress-track{margin:40px auto 0;width:min(100%,750px);display:grid;grid-template-columns:repeat(9,1fr);gap:8px}.progress-tick{height:6px;border-radius:4px;background:#302f35;transition:background .25s}.progress-tick.filled{background:var(--accent)}.voting-note{margin-top:25px;color:var(--muted);font-size:12px;letter-spacing:1.5px}.results-stage{width:100%;max-width:1200px;padding-top:8px}.result-header{text-align:center}.result-header .eyebrow{margin-bottom:13px}.result-header h1{font-size:clamp(36px,4.2vw,66px);font-weight:750;line-height:1.15;margin:0;letter-spacing:-.055em}.result-header p{font-size:13px;color:var(--muted);margin:17px 0 28px}.result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.result-row{min-width:0;position:relative;overflow:hidden;border:1px solid var(--border);background:#17171d;border-radius:9px;min-height:76px;display:flex;align-items:center;gap:12px;padding:16px 19px}.result-fill{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#62543760,#b9974930);transition:width .7s ease-out;max-width:100%}.result-row.winner{border-color:#a58d5d}.result-rank{font-size:10px;color:#88838a;width:18px;position:relative}.result-name{position:relative;font-weight:800;font-size:18px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-score{position:relative;font-size:30px;font-weight:900;color:var(--accent);font-variant-numeric:tabular-nums;line-height:1}.result-score small{font-size:10px;letter-spacing:1px;color:#a5a0a0;margin-left:5px;font-weight:700}.results-bottom{text-align:center;margin-top:30px}.results-bottom .primary-button{padding:15px 24px;min-height:55px}.result-total{font-size:11px;color:var(--muted);letter-spacing:2px;margin-top:15px}.modal-scrim{position:fixed;inset:0;background:#050507df;z-index:20;display:flex;justify-content:center;align-items:center;padding:18px;backdrop-filter:blur(11px)}.modal-scrim[hidden]{display:none}.modal-card{background:#17171d;border:1px solid #44403d;border-radius:15px;box-shadow:var(--shadow);padding:36px;position:relative;width:min(100%,490px);max-height:90vh;overflow-y:auto}.settings-modal{width:min(100%,780px)}.modal-close{position:absolute;top:24px;right:25px;color:#a3a0a0;border:0;background:none;font-size:18px}.modal-kicker{color:var(--accent);font-size:10px;letter-spacing:2px;font-weight:900}.modal-card h2{font-size:37px;letter-spacing:-2px;margin:12px 0}.modal-card p{color:var(--muted);font-size:13px;line-height:1.7;margin:0 0 27px}.form-label{display:block;font-size:10px;font-weight:850;color:#b6b2b3;letter-spacing:1.2px;margin:18px 0 9px}.text-input{width:100%;border:1px solid #414149;background:#0e0e13;color:var(--text);padding:15px;border-radius:6px;outline:none;transition:border-color .15s}.text-input:focus{border-color:var(--accent)}.full-width{width:100%;margin-top:18px}.settings-section-title{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:850;letter-spacing:1.5px;border-top:1px solid var(--border);padding-top:25px;margin-top:22px}.settings-section-title span{color:var(--accent)}.settings-section-title small{font-size:10px;font-weight:650;color:var(--muted);margin-left:auto}.names-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.names-grid label{font-size:10px;color:#a39ea4;letter-spacing:1px}.names-grid input{margin-top:7px}.question-input{resize:vertical;min-height:230px;font-size:13px;line-height:1.65}.duration-options{display:flex;gap:13px;margin-top:16px}.duration-options label{flex:1;cursor:pointer}.duration-options input{position:absolute;opacity:0}.duration-options span{display:block;text-align:center;padding:14px;border:1px solid var(--border);border-radius:6px;font-size:12px;font-weight:850;letter-spacing:1.5px}.duration-options input:checked+span{border-color:var(--accent);color:var(--accent);background:#4940263b}.danger-row{display:flex;flex-wrap:wrap;gap:9px;border-top:1px solid var(--border);padding-top:22px;margin-top:23px}.danger-row button{flex:1;background:transparent;border:1px solid #5d4242;color:#d0a4a4;font-size:10px;letter-spacing:.8px;padding:12px 10px;border-radius:5px;font-weight:800}.danger-row button:hover{background:#3c1f21}.toast{position:fixed;bottom:27px;left:50%;transform:translate(-50%,30px);background:var(--accent);color:#151218;font-size:12px;font-weight:850;z-index:45;opacity:0;pointer-events:none;padding:15px 25px;border-radius:7px;box-shadow:var(--shadow);transition:transform .2s,opacity .2s}.toast.show{transform:translate(-50%,0);opacity:1}.vote-root{max-width:660px;width:100%;align-self:center;min-height:calc(100dvh - 90px);padding-top:35px}.vote-stage{flex:1;display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding-bottom:20px}.phone-footer{display:flex;justify-content:space-between;gap:10px;color:#807b85;border-top:1px solid var(--border);font-size:10px;letter-spacing:1.5px;font-weight:800;padding:22px 0 27px}.phone-footer span:first-child{color:var(--accent)}.vote-eyebrow{font-size:11px;color:var(--accent);letter-spacing:2.5px;font-weight:900;margin-bottom:15px}.vote-title{font-size:clamp(43px,8vw,73px);letter-spacing:-.07em;line-height:1.05;font-weight:800;margin:0 0 13px}.vote-help{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 27px}.vote-players{display:grid;grid-template-columns:1fr 1fr;gap:10px}.name-button{border:1px solid #38363e;background:#17171d;color:var(--text);border-radius:8px;padding:19px 14px;text-align:left;font-weight:800;font-size:15px;display:flex;align-items:center;gap:10px;min-height:65px;transition:border-color .15s,background .15s}.name-button:hover:not(:disabled),.name-button:active:not(:disabled){border-color:var(--accent);background:#29251f}.name-button .name-id{font-size:10px;color:#817e88;flex:0 0 22px}.name-button.taken{opacity:.38;cursor:not-allowed}.name-button.own{opacity:.38;cursor:not-allowed}.vote-question{font-size:clamp(26px,5vw,42px);line-height:1.27;letter-spacing:-.04em;font-weight:800;margin:0 0 23px}.vote-question-caption{color:var(--accent);font-size:11px;letter-spacing:1.8px;font-weight:850;margin:0 0 14px}.vote-toprow{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;color:#a4a0a7;font-size:11px;font-weight:850;letter-spacing:1.5px}.time-pill{color:var(--accent);border:1px solid #65563c;background:#42371e36;padding:8px 12px;border-radius:99px;font-variant-numeric:tabular-nums}.voted-state,.waiting-state{text-align:center;padding:38px 0}.giant-check{border:1px solid #725f38;color:var(--accent);height:105px;width:105px;border-radius:50%;display:grid;place-items:center;font-size:53px;margin:0 auto 30px}.waiting-state h2,.voted-state h2{font-size:44px;letter-spacing:-2px;margin:0 0 15px;line-height:1.12}.waiting-state p,.voted-state p{color:var(--muted);line-height:1.65;font-size:15px;max-width:400px;margin:0 auto}.waiting-orbit{width:98px;height:98px;border:2px solid #444049;border-top-color:var(--accent);border-radius:50%;margin:0 auto 29px;animation:spin 2s linear infinite;display:grid;place-items:center}.waiting-orbit span{font-size:28px;font-weight:850;color:var(--accent);animation:back-spin 2s linear infinite}@keyframes back-spin{to{transform:rotate(-360deg)}}.identity-label{padding:12px 15px;border:1px solid #5e523b;border-radius:7px;display:flex;justify-content:space-between;gap:12px;margin-bottom:24px;font-size:12px;color:#b9b2a4}.identity-label b{color:var(--accent)}.reconnect-note{font-size:11px;color:#89838e;margin-top:20px;line-height:1.6}.empty-lobby-status{margin-top:14px;font-size:12px;color:var(--muted);text-align:center}.mini-q{border-left:2px solid var(--accent);padding-left:16px;text-align:left;color:var(--muted);font-size:14px;line-height:1.5;margin:24px auto;max-width:450px}.all-set{font-size:13px;margin-top:13px;color:var(--green)}.footer-mini{font-size:11px;color:#85818a;letter-spacing:1px;margin-top:15px}.reveal-round{color:var(--accent);font-size:11px;letter-spacing:1.5px;font-weight:850;margin-bottom:12px}
@media(max-width:1000px){.lobby-players{grid-template-columns:repeat(3,1fr)}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-center{display:none}.question-text{font-size:clamp(38px,6vw,66px)}}
@media(max-width:620px){.site-shell{padding:0 20px}.topbar{height:74px}.wordmark{font-size:23px}.top-actions{min-width:unset}.header-link{font-size:10px}.phone-chip{font-size:9px;padding:8px}.display-topline{padding-top:20px}.stage{min-height:590px}.hero-title{font-size:clamp(72px,15vw,120px)}.hero-subtitle{font-size:15px}.lobby-players{margin-top:29px;grid-template-columns:repeat(3,1fr)}.player-slot{padding:13px 5px}.player-slot .slot-name{font-size:12px}.lobby-actions{flex-direction:column;align-items:stretch;width:100%;gap:11px}.lobby-actions>*{justify-content:center}.join-link{font-size:11px}.result-grid{grid-template-columns:1fr}.results-stage{padding-top:17px}.result-row{min-height:65px}.result-name{font-size:16px}.result-score{font-size:24px}.question-text{font-size:clamp(37px,8vw,63px)}.voting-info{gap:28px}.timer-ring{width:84px;height:84px}.timer-ring:before{inset:7px}.timer-number{font-size:27px}.voting-stat .stat-value{font-size:38px}.display-footer{font-size:9px}.footer-right{display:none}.vote-root{min-height:calc(100dvh - 75px);padding-top:22px}.vote-players{gap:8px}.name-button{min-height:66px;font-size:14px;padding:12px 9px}.modal-card{padding:27px 20px}.modal-card h2{font-size:30px}.names-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-modal{max-height:94dvh}.vote-title{font-size:55px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
.qr-block{display:flex;justify-content:center;align-items:center;gap:16px;margin:26px 0 0;border:1px solid #39353a;padding:13px 21px;border-radius:10px;background:#15141a}.qr-graphic{width:76px;height:76px;display:grid;place-items:center;background:white;border-radius:5px;padding:5px}.qr-graphic img,.qr-graphic canvas{display:block!important;max-width:100%;max-height:100%}.qr-desc{text-align:left;max-width:330px}.qr-desc b{font-size:13px;display:block;margin-bottom:5px}.qr-desc span{display:block;color:var(--muted);font-size:11px;line-height:1.5}.qr-desc button{color:var(--accent);border:0;background:none;padding:6px 0;font-size:11px;font-weight:800}.loading-qr{font-size:10px;color:#17171d;text-align:center}
@media (min-width:1100px) and (max-height:1050px){.topbar{height:76px}.display-topline{padding:18px 0 9px}.stage{min-height:0;padding:0 0 15px}.hero-title{font-size:clamp(72px,8vw,122px);margin:16px 0}.hero-subtitle{font-size:17px}.lobby-players{margin:26px auto 13px}.lobby-actions{margin-top:3px}.qr-block{margin:12px 0 0;padding:9px 15px}.qr-graphic{width:65px;height:65px}.qr-graphic img,.qr-graphic canvas{max-height:55px;max-width:55px}.display-footer{min-height:56px}}

/* RBA GAMES · FRIENDLY FIRE v2 */
[hidden]{display:none!important}
.brand-lockup{display:flex;flex-direction:column;align-items:flex-start;flex-shrink:0;gap:2px;text-decoration:none}
.brand-top{font-size:clamp(22px,2vw,31px);font-weight:950;letter-spacing:-1.8px;line-height:1;white-space:nowrap}
.brand-top>span{font-weight:350;margin-left:5px}
.brand-top b{color:var(--accent);font-weight:900}
.brand-bottom{font-size:9px;color:var(--accent);font-weight:900;letter-spacing:2.7px;white-space:nowrap;margin-top:6px}
.top-actions{align-items:center;gap:19px;min-width:0;flex-wrap:wrap}
.top-actions .header-link{white-space:nowrap}
.sound-button{color:var(--accent);display:flex;align-items:center;gap:6px;border:1px solid #504531;padding:9px 11px;border-radius:5px;font-size:15px}
.sound-button #soundLabel{color:#bdb7ab;font-size:10px;padding:0}
.sound-button[aria-pressed="false"]{color:#817e89;border-color:var(--border)}
.setup-stage,.finished-stage{text-align:center;display:flex;flex-direction:column;align-items:center;gap:0;padding:35px 0}
.setup-stage .hero-title,.finished-stage .hero-title{font-size:clamp(54px,8vw,132px);line-height:1.04}
.setup-hero i,.finished-stage .hero-title i{font-size:.72em;letter-spacing:-.055em}
.setup-stage .lobby-actions{margin-top:35px}
.lobby-players{grid-template-columns:repeat(auto-fit,minmax(104px,1fr));max-width:1200px;margin:35px auto 18px}
.lobby-players .player-slot{padding:15px 8px}
.connected-hint{font-size:12px;color:var(--muted);letter-spacing:1px;text-align:center}
.stat-suffix{color:var(--muted);font-size:.52em}
.infinity-stat{width:156px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;position:relative;color:var(--accent)}
.infinity-stat:before{content:"";display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:108px;height:108px;border:1px solid #786542;border-radius:50%;box-shadow:inset 0 0 35px #ecbc5320,0 0 35px #edc7630c;z-index:-1}
.infinity-stat>span{font-family:Georgia,serif;font-size:67px;line-height:1}
.infinity-stat small{color:var(--muted);font-size:9px;letter-spacing:1px;font-weight:850;white-space:nowrap}
.finished-stage .primary-button{margin-top:38px;display:inline-flex}
.finished-stage .quiet-button{margin-top:18px;min-height:45px}
.finish-symbol{font-size:55px;color:var(--accent);margin-top:15px}
.archive-inline-link{display:inline-flex;align-items:center;color:var(--accent);font-size:11px;letter-spacing:1.1px;font-weight:900;padding:14px 20px;text-decoration:none}
.archive-inline-link:hover{text-decoration:underline}
.text-button{background:transparent;border:0;color:#9d95a1;font-size:10px;letter-spacing:1.2px;font-weight:850;padding:16px;display:inline-block;margin-left:12px}
.text-button:hover{color:var(--accent)}
.results-bottom .archive-inline-link{display:block;margin-top:10px}
.count-editor{display:flex;gap:9px;align-items:center;margin-top:14px;max-width:220px}
.count-editor button{background:#212028;border:1px solid #4b4751;color:var(--accent);height:49px;width:51px;border-radius:7px;font-size:27px;flex:none;line-height:1}
.count-editor input{text-align:center;min-width:0;font-size:19px;font-weight:800;padding:11px}
.count-editor input::-webkit-inner-spin-button,.count-editor input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.no-timer-badge{border:1px solid #625338;background:#282317;padding:15px 19px;border-radius:6px;color:var(--accent);font-size:11px;line-height:1.7;font-weight:850;letter-spacing:1px;margin-top:26px}
/* The result archive is a separate read-only page, responsive to both phones and projection. */
.history-root{width:100%;padding:36px 0 60px}
.history-screen{width:100%}
.archive-heading{margin-bottom:32px}
.archive-heading h1{font-size:clamp(48px,7vw,100px);margin:12px 0 10px;letter-spacing:-.075em;line-height:1}
.archive-heading h1 i{font-family:Georgia,serif;color:var(--accent);font-weight:400}
.archive-heading p{color:var(--muted);font-size:15px;line-height:1.7;margin:12px 0}
.archive-layout{display:grid;grid-template-columns:minmax(265px,325px) minmax(0,1fr);gap:24px;align-items:start}
.archive-sidebar,.archive-detail{background:linear-gradient(150deg,#18171e,#111118);border:1px solid #34323a;border-radius:12px;padding:22px}
.archive-label{font-size:11px;letter-spacing:1.9px;color:var(--accent);font-weight:850;margin-bottom:12px}
.archive-label small{color:var(--muted);margin-left:8px}
.archive-sessions{display:flex;flex-direction:column;gap:7px;max-height:245px;overflow-y:auto}
.archive-session{border:1px solid #393640;border-radius:7px;background:#111117;display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;width:100%;padding:13px;color:var(--text)}
.archive-session.active,.round-button.active{border-color:#b49a5f;background:#4a402b52}
.archive-session-number{font-size:10px;color:var(--accent);letter-spacing:1.4px}
.archive-session strong{font-size:13px}
.archive-session small{font-size:10px;color:var(--muted);letter-spacing:.5px}
.round-label{margin-top:23px}
.archive-questions{display:flex;flex-direction:column;gap:6px;max-height:550px;overflow-y:auto;padding-right:3px}
.round-button{display:flex;align-items:center;gap:11px;color:#e5e1e3;border:1px solid #35333b;background:#101017;text-align:left;border-radius:7px;padding:13px;min-height:55px;width:100%}
.round-button span:first-child{font-size:11px;color:var(--accent);font-weight:850;flex-shrink:0}
.round-button b{font-size:12px;font-weight:650;line-height:1.4;flex:1}
.round-button span:last-child{color:var(--accent)}
.archive-round-number{font-size:10px;letter-spacing:1.4px;color:var(--accent);font-weight:850;margin-bottom:18px}
.archive-round-number span{color:var(--muted);padding:0 7px}
.archive-detail h2{font-size:clamp(25px,3vw,42px);line-height:1.15;letter-spacing:-.04em;margin:0 0 25px}
.archive-scores{grid-template-columns:repeat(2,minmax(0,1fr))}
.archive-scores .result-row{padding:12px;min-height:60px}
.archive-scores .result-name{font-size:15px}
.archive-scores .result-score{font-size:23px}
.archive-votes{color:var(--muted);font-size:10px;font-weight:850;letter-spacing:1.4px;text-align:right;padding:21px 0}
.archive-votes span{color:var(--accent);padding:0 9px}
.archive-total-panel{border-top:1px solid #35303a;padding-top:25px;margin-top:10px}
.archive-overall{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.archive-overall .result-row{min-height:55px;padding:11px}
.archive-overall .result-name{font-size:14px}
.archive-overall .result-score{font-size:22px}
.empty-history{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:55vh}
.empty-history h1{font-size:clamp(38px,6vw,68px);letter-spacing:-.06em}
.empty-history p{color:var(--muted);max-width:560px;line-height:1.65;margin:0 0 30px}
/* Fit many participant cards and results without hardcoding nine. */
.result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1300px){.lobby-players{grid-template-columns:repeat(auto-fit,minmax(106px,1fr))}}
@media(max-width:1100px){.archive-layout{grid-template-columns:260px minmax(0,1fr)}.archive-scores,.archive-overall{grid-template-columns:1fr}.top-actions{gap:11px}}
@media(max-width:850px){.archive-layout{grid-template-columns:1fr}.archive-questions{max-height:250px}.archive-scores,.archive-overall{grid-template-columns:repeat(2,minmax(0,1fr))}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{gap:8px}}
@media(max-width:620px){.brand-top{font-size:22px}.brand-bottom{font-size:7px;letter-spacing:1.6px}.top-actions{gap:8px}.sound-button{padding:6px 7px}.sound-button #soundLabel{font-size:9px}.top-actions .header-link{font-size:9px}.lobby-players{grid-template-columns:repeat(auto-fit,minmax(92px,1fr));margin-top:25px;gap:7px}.lobby-players .player-slot{padding:12px 5px}.hero-title{font-size:clamp(59px,14vw,99px)}.archive-heading h1{font-size:clamp(43px,10vw,70px)}.archive-sidebar,.archive-detail{padding:16px}.archive-scores,.archive-overall{grid-template-columns:1fr}.result-grid{grid-template-columns:1fr}.voting-info{gap:12px}.infinity-stat{width:104px}.infinity-stat>span{font-size:48px}.infinity-stat:before{width:80px;height:80px}.infinity-stat small{font-size:8px}.top-actions .phone-chip{display:none}.name-button{padding:13px 9px;min-height:66px}.result-total{line-height:1.6}.history-root{padding-top:28px}.settings-modal{max-height:92dvh}}
@media(max-width:400px){.brand-bottom{letter-spacing:1px}.top-actions{gap:5px}.top-actions .header-link{font-size:8px}.sound-button #soundLabel{font-size:8px}.site-shell{padding:0 14px}}

@media(max-width:620px){.topbar{height:auto;min-height:74px;padding:12px 0;flex-wrap:wrap}.top-actions{justify-content:flex-end;flex:1}}

/* Friendly Fire v3: skip control, question presets and independent soundtrack */
.music-button{color:#f5d591;display:inline-flex;align-items:center;gap:7px;border:1px solid #5a4c31;background:rgba(212,177,98,.07);padding:9px 12px;border-radius:6px;font-weight:850}
.music-button:hover{background:rgba(212,177,98,.16)}
.music-button[aria-pressed="true"]{border-color:#caa867;background:rgba(212,177,98,.18)}
.music-button span{font-size:10px;letter-spacing:1.1px;white-space:nowrap}
.skip-question-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:21px;padding:13px 24px;background:transparent;border:1px solid #6f514b;border-radius:6px;color:#e4aaa0;font-weight:850;font-size:12px;letter-spacing:1.4px;transition:background .2s}
.skip-question-button:hover{background:#633b3633;border-color:#cc887d}
.preset-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:8px 0 11px}
.preset-row span{font-size:11px;color:var(--muted);line-height:1.5}
.preset-button{background:rgba(209,169,90,.12);border:1px solid #8d7543;border-radius:6px;padding:12px 17px;color:var(--accent);font-size:11px;font-weight:850;letter-spacing:1px}
.preset-button:hover{background:rgba(209,169,90,.25)}
.music-setting{margin-top:14px;border:1px solid #514636;border-radius:7px;background:#19171a;display:flex;gap:18px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:17px 19px}
.music-setting strong{display:block;font-size:15px;color:#f4e8d2;margin-bottom:5px}
.music-setting small{display:block;font-size:11px;line-height:1.6;color:var(--muted)}
.music-setting label{display:flex;align-items:center;gap:10px;color:var(--accent);font-size:10px;letter-spacing:1px;white-space:nowrap;font-weight:800}
.music-setting input{accent-color:#dbb56c;width:125px;cursor:pointer}
.music-setting output{color:white;font-size:12px;min-width:31px}
@media(max-width:620px){.top-actions{gap:7px}.music-button{padding:7px 8px}.music-button span{font-size:9px}.skip-question-button{width:100%;max-width:380px}}
