@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Courier+Prime:wght@400;700&display=swap');
:root{color-scheme:dark;--ink:#0c0805;--paper:#fefaf9;--gray:#b8b2ad;--tan:#cfb698;--orange:#b5530a;--blue:#3261e3;--gold:#b9995d}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--paper);font-family:Inter,Arial,sans-serif;overflow:hidden}button,a,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:2px solid #cfb698;outline-offset:5px}button:disabled{cursor:default;opacity:.6}button{transition:background .18s,transform .18s}button:hover{filter:brightness(1.15)}a{color:inherit;text-decoration:none}#room{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(12,8,5,.96),rgba(12,8,5,.69) 28%,transparent 55%),linear-gradient(0deg,rgba(12,8,5,.8),transparent 22%,transparent 82%,rgba(12,8,5,.6));transition:background .8s}body.playing .vignette{background:linear-gradient(0deg,rgba(12,8,5,.94),transparent 23%,transparent 80%,rgba(12,8,5,.9))}header{position:fixed;top:0;left:0;width:100%;height:104px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;z-index:4;border-bottom:1px solid #ffffff13;background:linear-gradient(#0c080580,transparent)}.brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:20px;letter-spacing:1px}.brand-icon{font-size:42px;color:var(--tan);font-family:Georgia;line-height:1}.brand-sub{display:block;font-size:10px;letter-spacing:6px;font-weight:400;color:var(--gray);margin-top:5px}.chapter{display:flex;flex-direction:column;gap:8px;text-align:center;font-size:14px}.eyebrow{font-family:'Courier Prime',monospace;letter-spacing:2px;font-size:12px;line-height:1.6;color:var(--tan)}.chapter .eyebrow{font-size:10px;color:#8c8277}.session{display:flex;align-items:center;gap:25px;font-family:'Courier Prime',monospace;font-size:16px}.live{font-size:10px;letter-spacing:1.2px;color:#ac9d8b;border:1px solid #b8b2ad33;padding:7px 9px}.icon-btn{border:1px solid #cfb69850;border-radius:50%;height:30px;width:30px;background:transparent}.welcome{position:absolute;top:50%;transform:translateY(-45%);left:7%;max-width:450px;z-index:3}.gold{font-size:10px;letter-spacing:1.5px}.welcome h1{font-size:clamp(45px,5vw,76px);line-height:1.03;font-weight:500;letter-spacing:-3px;margin:23px 0}.welcome h1 em{font-family:Georgia,serif;font-weight:400;color:#c9ae7a;letter-spacing:-2px}.fine-line{height:1px;width:42px;background:#dd524d;margin:27px 0}.welcome p{font-size:17px;line-height:1.6;color:#d0c6bc}.welcome .brief{max-width:340px;font-size:14px;color:#9e948a;margin-bottom:28px}.primary{background:var(--blue);border:0;padding:17px 22px;min-height:50px;border-radius:3px;display:flex;align-items:center;justify-content:space-between;gap:48px;font-weight:600;font-size:14px}.primary span{font-size:20px}.welcome-meta{font:10px 'Courier Prime',monospace;color:#b8b2ad;letter-spacing:.8px;display:flex;align-items:center;gap:10px;margin:20px 0}.welcome-meta i{width:3px;height:3px;background:#736554;border-radius:50%}.welcome .disclaimer{font-size:11px;color:#776e64;line-height:1.7;margin-top:35px}.room-caption{position:fixed;right:43px;bottom:32px;font:10px 'Courier Prime',monospace;letter-spacing:2px;color:#a99c86;display:flex;align-items:center;gap:12px;pointer-events:none}.small-rule{display:inline-block;width:35px;height:1px;background:#9c762f}.room-number{font-size:36px;margin-left:18px;color:#a9997650}.hidden{display:none!important}.objective{position:fixed;left:35px;top:135px;max-width:290px;padding:22px;background:#22180fde;border:1px solid #cfb69828;border-top:2px solid #9c762f;z-index:3;backdrop-filter:blur(12px)}.objective .eyebrow{font-size:10px}.objective h2{font-size:19px;line-height:1.4;font-weight:500;margin:8px 0}.objective p{font-size:14px;line-height:1.6;color:#c0b19e;margin:8px 0 18px}#progress{display:flex;gap:5px}#progress span{height:3px;background:#cfb69825;flex:1}#progress .active{background:#b9995d}.tools{position:fixed;right:30px;top:135px;display:flex;flex-direction:column;gap:8px;z-index:3}.tools button{border:1px solid #cfb69825;background:#22180fee;border-radius:3px;padding:12px 14px;display:flex;align-items:center;gap:10px;font-size:13px;color:var(--tan);min-width:140px;backdrop-filter:blur(12px)}.tools button>span{font-size:20px;width:24px}.tools b{margin-left:auto;font:12px 'Courier Prime',monospace;border:1px solid #cfb69840;border-radius:3px;padding:2px 5px}.stations{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);display:flex;gap:3px;padding:6px;background:#22180ff2;border:1px solid #cfb69825;z-index:3;border-radius:5px;white-space:nowrap}.stations>.eyebrow{display:none}.stations button{font-size:12px;padding:12px 18px;background:transparent;border:0;color:#b8aa95;border-radius:2px}.stations button.selected{background:#cfb69820;color:#f3e5cc}.view-help{position:fixed;bottom:104px;left:50%;transform:translateX(-50%);color:#c7b8a0;font:11px 'Courier Prime',monospace;text-align:center;pointer-events:none;width:90%}.playing .room-caption{display:none}.label{position:absolute;transform:translate(-50%,-50%);border:1px solid #cfb69870;background:#22180fee;color:#f3e6ce;border-radius:3px;padding:9px 12px;font:12px 'Courier Prime',monospace;white-space:nowrap;box-shadow:0 3px 20px #0007;cursor:pointer;z-index:2}.label::before{content:'+';color:#cfb698;font-size:17px;margin-right:9px}.label.read{color:#9e948a;background:#22180fcc}.label.read::before{content:'✓';font-size:13px}.label:hover{background:#523e35;border-color:#cfb698}.label:after{content:'';position:absolute;left:50%;bottom:-16px;width:1px;height:15px;background:#cfb698aa}#toast{position:fixed;bottom:150px;left:50%;transform:translateX(-50%) translateY(12px);padding:12px 20px;background:#22180ff5;border:1px solid #9c762f66;color:#e6d6b9;border-radius:3px;font-size:14px;opacity:0;transition:.25s;pointer-events:none;z-index:12;text-align:center;max-width:90%}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}dialog{background:#22180f;border:1px solid #9c762f66;color:var(--tan);padding:0;max-width:750px;width:calc(100% - 40px);max-height:85dvh;border-radius:5px;box-shadow:0 30px 120px #000b;overflow:auto}dialog::backdrop{background:#090604bd;backdrop-filter:blur(7px)}.close{position:absolute;right:16px;top:13px;background:#22180f;border:1px solid #cfb69840;border-radius:50%;color:#cfb698;font-size:23px;width:34px;height:34px;z-index:3}.modal-head{padding:29px 40px 22px;border-bottom:1px solid #cfb69820}.modal-head h2{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:10px 30px 5px 0;color:#f0e2c7}.modal-head p{font-size:14px;color:#b7a991;line-height:1.6}.modal-body{padding:25px 40px 35px}.document{background:#d2c3a6;color:#22180f;padding:30px 35px;font-family:Georgia,serif;box-shadow:0 7px 20px #0003;transform:rotate(-.6deg);position:relative}.document .stamp{font:12px 'Courier Prime',monospace;color:#8c4a43;border:2px solid #8c4a4380;display:inline-block;padding:7px 10px;letter-spacing:2px;transform:rotate(-4deg);margin-bottom:16px}.document h3{font-size:25px;font-weight:400;margin:8px 0 20px}.document p{font-size:17px;line-height:1.65}.document small{font:12px 'Courier Prime',monospace;letter-spacing:1px}.document table{border-collapse:collapse;width:100%;font-family:'Courier Prime',monospace;font-size:14px;margin:15px 0}.document th{text-align:left;border-bottom:2px solid #523e35;padding:10px 4px}.document td{border-bottom:1px solid #523e3540;padding:13px 4px}.document tr:last-child td{background:#b5530a14}.modal-footer{margin-top:25px;display:flex;align-items:center;justify-content:space-between;gap:15px;font:12px 'Courier Prime',monospace}.case-btn{background:#b5530a;color:#fff4e5;border:1px solid #d1853f;padding:12px 20px;border-radius:3px;font-weight:600;font-family:Inter,sans-serif;min-height:45px;font-size:14px}.secondary{background:transparent;color:#cfb698;border:1px solid #cfb69850;padding:12px 18px;border-radius:3px;font-size:14px;min-height:44px}.lock-display{font:38px 'Courier Prime',monospace;letter-spacing:16px;text-align:center;background:#100b07;border:1px solid #cfb69830;color:#ebd5a7;padding:20px 12px;margin:10px auto 20px;min-height:87px;max-width:300px;border-radius:4px}.keypad{max-width:300px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.keypad button{background:#352719;border:1px solid #cfb69835;border-radius:3px;font:20px 'Courier Prime',monospace;padding:14px}.keypad button.submit{background:#b5530a}.lock-message{min-height:24px;text-align:center;font-size:14px;line-height:1.5;color:#cfb698}#inspection{display:block;width:100%;height:180px;touch-action:none;background:radial-gradient(ellipse,#493423,#1b130d);border:1px solid #cfb69820}.inspect-help{font:11px 'Courier Prime',monospace;text-align:center;color:#a49279;margin:9px 0 20px}.notes{display:grid;gap:13px}.note{border:1px solid #cfb69830;padding:18px;background:#2b1e12}.note h3{font-size:16px;margin:0 0 9px;font-weight:500;color:#ecdbb9}.note p{font-size:14px;line-height:1.6;margin:0}.manual-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.manual-grid h3{font-size:16px;margin:0 0 10px;color:#eddfc4}.manual-grid p{line-height:1.7;font-size:14px;margin:0 0 15px}.manual-grid kbd{background:#523e35;padding:3px 6px;border-radius:3px;font:13px monospace}.result{text-align:center}.result .seal{width:90px;height:90px;border:1px solid #b9995d;border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;font-size:40px;color:#d2b36f;box-shadow:0 0 0 7px #9c762f15}.result h2{font-family:Georgia,serif;font-size:38px;color:#f0e2c7;font-weight:400;margin:12px 0}.result p{font-size:16px;line-height:1.7}.result-stats{display:flex;justify-content:center;gap:50px;margin:28px 0}.result-stats strong{display:block;font:26px 'Courier Prime',monospace;color:#eddbb8}.result-stats span{font:10px 'Courier Prime',monospace;letter-spacing:2px}.result .case-btn{margin:15px auto}#loading{position:fixed;right:8%;bottom:15%;font:12px 'Courier Prime',monospace;color:#cfb698}#fallback{position:fixed;top:35%;left:50%;max-width:400px;background:#22180f;padding:25px;z-index:8;line-height:1.6}#fallback button{background:#3261e3;border:0;padding:12px 20px}.hint-copy{font-family:Georgia,serif;font-size:21px;line-height:1.7;color:#f0dfc1;border-left:2px solid #9c762f;padding-left:23px}.hint-levels{display:flex;gap:8px;margin-top:25px}.hint-levels span{flex:1;border-top:2px solid #523e35;padding:9px 0;font:11px 'Courier Prime',monospace;color:#9e8b70}.hint-levels span.used{border-color:#cfb698;color:#cfb698}@media(max-width:900px){header{padding:0 22px;height:85px}.chapter{display:none}.welcome{left:6%}.welcome h1{font-size:60px}.objective{left:18px;top:105px;max-width:240px;padding:15px}.tools{right:15px;top:105px}.tools button{min-width:0;font-size:0;padding:10px}.tools button span{font-size:23px}.tools b{font-size:12px}.stations button{padding:12px;font-size:11px}.room-caption{right:20px}.session{gap:14px}.live{font-size:9px}}@media(max-width:600px){.welcome{top:48%;max-width:90%}.welcome h1{font-size:49px}.welcome .brief{font-size:14px;max-width:270px}.welcome p{font-size:15px}.welcome .disclaimer{margin-top:18px;font-size:10px}.welcome-meta{font-size:9px;gap:7px}.fine-line{margin:20px 0}.vignette{background:linear-gradient(90deg,#0c0805ed,#0c08058c 85%,#0c080555)}.brand{font-size:16px}.brand-sub{font-size:8px}.session .live{display:none}.room-caption{bottom:20px;font-size:9px}.objective{max-width:220px;top:100px}.objective h2{font-size:16px}.objective p{font-size:12px;margin-bottom:12px}.objective .eyebrow{font-size:9px}.stations{bottom:20px;max-width:94%;gap:0}.stations button{padding:12px 9px;font-size:10px}.view-help{bottom:83px;font-size:10px}.label{font-size:10px;padding:8px}.modal-head{padding:25px}.modal-body{padding:22px}.document{padding:22px}.document p{font-size:16px}.document table{font-size:11px}.manual-grid{grid-template-columns:1fr}.modal-head h2{font-size:25px}.modal-footer{flex-wrap:wrap}.room-number{font-size:25px}.result h2{font-size:30px}#fallback{left:5%;right:5%;top:30%}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.frequency-label{display:block;font-size:16px;margin-bottom:12px}.frequency-row{display:flex;gap:12px}.frequency-row input{width:140px;min-width:0;background:#100b07;border:1px solid #cfb69880;border-radius:3px;padding:12px;color:#f3e6ce;font:28px monospace;letter-spacing:8px}.frequency-row button{flex:1}#signalMessage{font-size:16px;line-height:1.6;min-height:48px}.tools button,.stations button,.label{font-size:14px}.stations{max-width:95vw;overflow-x:auto}.stations button{padding:12px}.welcome .brief,.objective p,.note p,.modal-head p{font-size:16px}@media(max-width:600px){.stations{width:95vw;justify-content:flex-start}.stations button{font-size:12px;padding:12px 9px}.label{font-size:12px}.tools button{font-size:0}.objective p{font-size:14px}.objective{max-width:200px}.frequency-row{gap:8px}.frequency-row input{width:110px}}

/* Three-objective investigation */
.objective{max-width:305px}.objective p{font-size:14px}.objective .eyebrow{font-size:12px}#objectiveList{list-style:none;padding:12px 0 0;margin:10px 0 0;border-top:1px solid #cfb69826;display:grid;gap:12px}#objectiveList li{font-size:13px;line-height:1.45;display:flex;gap:10px;color:#a59989}#objectiveList li span{min-width:22px;font-family:monospace}#objectiveList .current{color:#f6d69d}#objectiveList .done{color:#a2c6aa}#objectiveList .locked{opacity:.55}#progress .done{background:#8aac90}.label.gated{border-style:dashed;color:#b1aaa0}.label.gated:before{content:'–'}.deduction-form{display:grid;gap:12px}.deduction-form label{font-size:16px;color:#f1dfc3}.deduction-form select{width:100%;background:#100e0b;border:1px solid #9d896e;color:#f1dfc3;padding:13px 10px;border-radius:3px;font:16px Inter,Arial,sans-serif}.deduction-form p{font-size:15px;line-height:1.6;min-height:48px}.deduction-form button{margin-top:8px}.settings-panel{position:fixed;bottom:25px;left:25px;z-index:4;display:grid;grid-template-columns:auto auto;align-items:center;gap:9px 12px;padding:12px;background:#17140fdf;border:1px solid #cfb69830;border-radius:4px;font-size:12px;color:#d2c2aa}.settings-panel button,.settings-panel select{background:#29251e;color:#f1dfc3;border:1px solid #cfb69855;border-radius:3px;padding:6px;font-size:13px}.settings-panel button{grid-column:1/-1}.settings-panel input{width:100px;accent-color:#b9995d}.settings-panel select{max-width:110px}#timer.urgent{color:#ff9c84}.failure{color:#e59984!important;border-color:#e59984!important}.welcome .disclaimer{margin-bottom:95px}.result .secondary{margin-left:10px}.stations{bottom:24px;max-width:calc(100vw - 430px)}.view-help{bottom:92px}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #e8c086;outline-offset:4px}@media(max-width:1100px){.stations{left:auto;right:20px;transform:none;max-width:calc(100vw - 240px)}.stations button{font-size:12px}.view-help{bottom:100px}.objective{max-width:260px}}@media(max-width:600px){.objective{max-width:215px;top:95px;padding:12px}.objective p{font-size:12px}#objectiveList{gap:6px}#objectiveList li{font-size:12px}.settings-panel{left:12px;bottom:81px;gap:6px;padding:8px;grid-template-columns:auto auto}.settings-panel label,.settings-panel input{display:none}.settings-panel button{grid-column:auto}.settings-panel select{font-size:12px;width:90px}.stations{left:2.5%;right:auto;bottom:16px;width:95%;max-width:95%;transform:none}.view-help{bottom:140px;font-size:11px}.welcome .disclaimer{margin-bottom:85px}.welcome h1{font-size:42px}.welcome .brief{margin-bottom:18px}.objective h2{font-size:15px}}

/* Team entry and shared investigation */
.welcome{top:110px;transform:none;left:5%;max-width:460px;max-height:calc(100dvh - 130px);overflow-y:auto;padding-right:14px}.welcome h1{font-size:42px;margin:12px 0}.welcome .fine-line,.welcome .brief,.welcome .disclaimer{display:none}.welcome p{margin:10px 0;font-size:15px}.welcome-meta{margin:12px 0}.entry-form{display:grid;gap:9px;margin-top:18px}.entry-form label{font-size:14px;color:#d9c9ad}.entry-form input,.invite-row input{background:#16130ff2;color:#f5ead6;border:1px solid #a78b6066;border-radius:3px;padding:12px;font-size:16px;min-width:0;width:100%}.entry-actions{display:flex;gap:9px}.entry-actions .primary{gap:10px}.entry-actions input{flex:1}.text-button{background:none;border:0;color:#c9ae7a;text-align:left;font-size:14px;text-decoration:underline;padding:5px 0}#entryError{min-height:20px;color:#f4bb9a}.lobby{position:fixed;z-index:5;top:50dvh;left:50%;transform:translate(-50%,-50%);width:min(620px,94vw);max-height:calc(100dvh - 32px);overflow:auto;background:#1c1710f5;border:1px solid #9c762f88;border-top:3px solid #b9995d;border-radius:5px;padding:28px}.lobby h2{font:30px Georgia,serif;color:#f1dfbf;margin:12px 0}.lobby p{font-size:16px;line-height:1.6;color:#cfc0a9}.invite-label{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:20px 0 12px;font-size:14px}.invite-label strong{font:22px monospace;letter-spacing:2px;color:#f0d4a5}.invite-row{display:flex;gap:8px}.player-list{list-style:none;padding:0;display:grid;gap:10px;margin:20px 0}.player-list li{display:flex;justify-content:space-between;gap:14px;background:#ffffff06;border:1px solid #cfb69825;padding:12px;font-size:14px}.player-list li span:last-child{color:#c6b185}.lobby-buttons{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.small-copy{font-size:13px!important;line-height:1.6;color:#b2a08a!important}.team-panel{position:fixed;right:25px;top:370px;width:205px;z-index:3;background:#1c1710ed;border:1px solid #cfb69830;padding:14px}.team-panel .eyebrow{font-size:11px;letter-spacing:.6px}.team-panel ul{padding:0;list-style:none;margin:12px 0}.team-panel li{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;font-size:14px}.team-panel small{font-size:12px;color:#b7a890}.team-panel p{font-size:12px;color:#e6ca9c;line-height:1.6}.network-status{position:fixed;z-index:12;right:25px;bottom:22px;font-size:12px;color:#c7b8a0;text-align:right;max-width:310px}.network-status p{padding:10px;background:#371c14;border:1px solid #b06d43;line-height:1.5}.evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.evidence-grid button{text-align:left;min-height:65px}.evidence-grid small{display:block;font-size:12px;color:#c5ad87;margin-top:8px}#fallback{top:auto;bottom:145px;left:50%;transform:translateX(-50%);max-width:480px;padding:8px 18px;z-index:2;pointer-events:none;font-size:13px;border:1px solid #ffffff20;background:#1a1712bd}.settings-panel{z-index:4}.tools{top:125px}.team-panel .secondary{font-size:12px;padding:5px;min-height:30px}.modal-body>.case-btn{margin-top:20px}@media(max-width:900px){.team-panel{right:15px;top:360px;width:175px}.team-panel p{font-size:12px}.tools{top:105px}.network-status{right:15px;bottom:80px}.welcome{top:100px}}@media(max-width:600px){.welcome{left:5%;width:90%;max-width:none;max-height:calc(100dvh - 180px)}.welcome h1{font-size:34px}.welcome h1 br{display:none}.welcome h1 em{margin-left:8px}.entry-actions button{padding:10px;font-size:13px}.entry-form{gap:7px}.team-panel{top:auto;bottom:180px;right:12px;width:155px;padding:9px}.team-panel ul{display:none}.team-panel p{margin:7px 0}.team-panel .eyebrow{font-size:10px}.network-status{bottom:125px;max-width:220px}.lobby{padding:18px}.lobby h2{font-size:26px}.lobby-buttons .primary{padding:12px}.invite-row{flex-wrap:wrap}.invite-label strong{font-size:18px}.evidence-grid{grid-template-columns:1fr}#fallback{bottom:185px;left:12px;transform:none;max-width:calc(100vw - 195px);font-size:12px;padding:6px 10px}#fallback p{margin:0}}

/* Room chat stays collapsed until needed, leaving the evidence view accessible. */
.room-chat{position:fixed;right:25px;bottom:62px;z-index:8}.chat-toggle{background:#241c13;box-shadow:0 5px 24px #0007;min-height:46px;font-size:14px}.chat-badge{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-left:8px;padding:0 5px;border-radius:20px;background:#b5530a;color:#fff}.chat-panel{position:absolute;right:0;bottom:58px;width:min(360px,calc(100vw - 32px));height:min(430px,calc(100dvh - 170px));display:flex;flex-direction:column;background:#1c1710fa;border:1px solid #b9995d80;border-top:3px solid #b9995d;border-radius:5px;box-shadow:0 18px 65px #000a;overflow:hidden}.chat-heading{padding:15px 16px;border-bottom:1px solid #cfb69830;display:flex;gap:10px;align-items:flex-start;justify-content:space-between}.chat-heading h2{font:23px Georgia,serif;color:#f1dfbf;margin:0 0 6px}.chat-heading p{font-size:12px;color:#bfb19b;line-height:1.5;margin:0}.chat-close{font-size:22px;padding:2px 10px;min-height:34px}.chat-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 16px}.chat-empty{color:#bfb19b;font-size:14px;line-height:1.6}.chat-message{padding:10px 12px;margin:0 16px 12px 0;border:1px solid #cfb69826;border-radius:5px;background:#ffffff05;overflow-wrap:anywhere}.chat-message.mine{margin:0 0 12px 16px;background:#b9995d12;border-color:#b9995d55}.chat-message strong{font-size:14px;color:#efd9b4}.chat-message time{font-size:12px;color:#b8a994;margin-left:8px}.chat-message p{white-space:pre-wrap;font-size:16px;line-height:1.5;margin:7px 0 0}.chat-form{padding:12px 16px;border-top:1px solid #cfb69830}.chat-form label{display:block;font-size:14px;color:#cfc0a9;margin-bottom:8px}.chat-form>div{display:flex;gap:8px}.chat-form input{flex:1;min-width:0;background:#100d09;color:#f5ead6;border:1px solid #a78b6080;border-radius:3px;padding:10px;font-size:16px}.chat-form .case-btn{padding:10px 14px}.chat-error{font-size:13px;line-height:1.4;color:#f4bb9a;margin:6px 0 0}.chat-error:empty{display:none}@media(max-width:900px){.room-chat{right:15px;bottom:112px}}@media(max-width:600px){.room-chat{right:12px;bottom:78px}.chat-panel{height:min(430px,calc(100dvh - 160px))}}
.team-actions{display:grid;gap:8px}.team-actions button{white-space:normal;text-align:center;min-height:40px;padding:8px;font-size:12px}.result #leaveGame{margin:10px 0 0 10px}#roomConfirm{width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;background:#1c1710;color:#f1dfbf;border:1px solid #b9995d;border-top:3px solid #b9995d;border-radius:5px;padding:24px;box-shadow:0 18px 65px #000a}#roomConfirm::backdrop{background:#090704c9}#roomConfirm h2{font:28px Georgia,serif;margin:0 0 12px}#roomConfirm p{color:#d3c2ab;line-height:1.6;margin:0 0 22px}#roomConfirm button{min-height:44px}@media(max-width:600px){.team-panel{max-height:calc(100dvh - 230px);overflow:auto}.team-actions button{font-size:12px}.result #leaveGame{margin-left:0}}
body.stopped #fallback{display:none!important}
