:root{--ink:#25343c;--navy:#25343c;--sage:#54786b;--sage-deep:#355d52;--sage-light:#dfe7d9;--paper:#f0f0e6;--cream:#fffdf2;--line:#d0d8c9;--muted:#788373;--gold:#dcb469;--red:#bc5248;--red-soft:#f5e3dc;--white:#fffef7;--visual-height:100dvh;--visual-top:0px;color:var(--ink);background:var(--paper);font-family:'Avenir Next','Segoe UI',Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior:none}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{opacity:.42;cursor:default}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #c59842;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid var(--sage);outline-offset:2px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button{touch-action:manipulation}a{color:inherit}body[data-screen=game]{overflow:hidden}.screen{min-height:100dvh}.eyebrow,.section-label{font-size:10px;letter-spacing:1.6px;font-weight:750;color:var(--muted);line-height:1.5}.section-label{margin-bottom:12px}.logo-mark{display:inline-grid;place-items:center;width:34px;height:37px;border:2px solid currentColor;border-radius:10px 10px 4px 4px;font:28px Georgia,serif;transform:rotate(-5deg)}.small-wordmark{display:flex;align-items:center;gap:13px;font-size:9px;letter-spacing:1.6px;font-weight:750}.demo-label{display:flex;align-items:center;gap:8px;color:#83917d;font-size:9px;letter-spacing:1.5px;font-weight:650}.demo-label i,.lobby-room i{width:5px;height:5px;display:inline-block;background:#81a377;border-radius:50%}.menu-screen{position:relative;padding:32px max(40px,calc((100vw - 1400px)/2));overflow:hidden;background:radial-gradient(ellipse at 80% 35%,#d5dfcf 0,transparent 59%),#eceee2;display:flex;flex-direction:column}.menu-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:2}.menu-layout{flex:1;min-height:660px;display:grid;grid-template-columns:43% 57%;align-items:center;max-width:1450px;width:100%;margin:auto}.menu-copy{z-index:2;padding:30px 0 46px 20px}.chapter-label{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:1.7px;font-weight:700;color:#74876c}.chapter-label>span{background:var(--sage);color:var(--cream);padding:6px 8px;border-radius:4px;font:11px ui-monospace,monospace}.menu-copy h1{position:relative;font-size:clamp(48px,5.2vw,82px);line-height:1.04;letter-spacing:-4.2px;font-weight:900;margin:25px 0 23px;display:inline-block}.menu-copy h1>span{color:var(--sage-deep)}.menu-copy h1>b{position:absolute;right:-49px;bottom:-2px;display:grid;place-items:center;font:75px Georgia,serif;background:var(--gold);color:#fdf7e4;width:58px;height:85px;transform:rotate(8deg);border-radius:7px}.menu-tagline{font-size:19px;line-height:1.5;letter-spacing:-.3px;color:#7a8774}.menu-buttons{max-width:288px;display:grid;gap:11px;margin:35px 0 23px}.play-button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:17px 22px;background:var(--navy);border-radius:10px;color:#fffdf2;box-shadow:0 5px 0 #17262b;font-size:20px;font-weight:700;transition:transform .15s,box-shadow .15s}.play-button:hover{transform:translateY(-2px);box-shadow:0 7px 0 #17262b}.play-button:active{transform:translateY(3px);box-shadow:0 2px 0 #17262b}.play-arrow{font-size:27px;font-weight:400}.menu-secondary{min-height:47px;border:1px solid #c9d2c2;background:#f0f2e780;border-radius:9px;padding:13px 20px;text-align:left;font-size:13px;display:flex;align-items:center;justify-content:space-between}.menu-secondary>span{border:1px solid #a7b69b;border-radius:50%;width:18px;height:18px;display:grid;place-items:center;font-size:11px;color:#809573}.menu-secondary:hover{background:#fffef0}.menu-meta{display:flex;align-items:center;gap:9px;font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#8d9984}.menu-meta i{height:3px;width:3px;background:#a4af9c;border-radius:50%}.menu-footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#8e9b84;letter-spacing:.25px;position:relative;z-index:2}.menu-footer>span:last-child{font:9px ui-monospace,monospace}.menu-art{height:590px;position:relative;isolation:isolate;margin-left:-15px;margin-top:-12px}.airport-windows{position:absolute;left:4%;right:0;top:42px;height:255px;border:12px solid #a7b9a3;border-bottom:24px solid #acbca4;border-radius:110px 7px 7px 7px;background:linear-gradient(#b5ced0,#d9e5d7);display:flex;overflow:hidden;box-shadow:inset 0 -6px 0 #dfe6d4,0 7px 0 #829b8760;transform:rotate(-3deg)}.airport-windows>i{width:33.333%;border-right:8px solid #afbea8;z-index:2}.airport-windows>i:last-of-type{border-right:0}.window-cloud{position:absolute;width:150px;height:20px;background:#edf2e5;border-radius:40px;top:85px;left:45px;opacity:.7}.window-cloud:before,.window-cloud:after{content:'';position:absolute;width:65px;height:55px;border-radius:50%;background:inherit;left:33px;bottom:0}.window-cloud:after{width:45px;height:38px;left:88px}.cloud-two{top:169px;left:325px;transform:scale(.65)}.window-plane{position:absolute;font-size:105px;line-height:1;color:#7d9d9d;right:40px;top:23px;transform:rotate(-20deg)}.departure-sign{position:absolute;right:0;top:260px;width:154px;background:#2e4850;color:#edf0da;border:6px solid #a5b59c;border-radius:7px;transform:rotate(4deg);padding:12px 13px;box-shadow:0 8px 0 #667e731c;z-index:2}.departure-sign>span{display:block;font-size:7px;letter-spacing:1px;color:#bdccbc}.departure-sign strong{font-size:39px;font-weight:600;line-height:1.2;display:flex;justify-content:space-between}.departure-sign b{font-size:35px;color:#d9c486}.menu-floor{position:absolute;inset:270px -20% 10px -14%;border-radius:50%;background:radial-gradient(ellipse,#c2d0b87a,transparent 66%);transform:rotate(-10deg);z-index:-1}.floor-mark{position:absolute;font-size:120px;letter-spacing:-10px;font-weight:900;color:#c6d1bc;left:200px;bottom:49px;transform:rotate(-10deg) skewX(-8deg);opacity:.5}.menu-cast{position:absolute;left:0;right:0;top:160px;bottom:25px}.menu-character{position:absolute;bottom:0;height:310px;filter:drop-shadow(4px 10px 1px #53664e15)}.menu-character.c0{left:0;height:267px;bottom:18px;z-index:2}.menu-character.c1{left:21%;height:323px;z-index:4}.menu-character.c2{left:45%;height:345px;bottom:25px;z-index:3}.menu-character.c3{left:71%;height:269px;bottom:18px;z-index:2}.menu-character .sprite-art{height:100%;width:auto}.speech-sticker{position:absolute;left:10px;top:40px;padding:17px 20px;background:#fffbed;border:1px solid #d9dcc6;border-radius:12px 12px 12px 2px;transform:rotate(-6deg);box-shadow:0 7px 20px #53664e0e;z-index:4}.speech-sticker span{font-size:13px;font-weight:700}.speech-sticker small{display:block;font-size:7px;letter-spacing:1.5px;color:#9ca98e;margin-top:7px}.hunter-note{position:absolute;right:7px;bottom:4px;padding:12px 14px 12px 40px;background:#f5eddb;border:1px solid #d9d5bd;transform:rotate(-4deg);font-size:9px;line-height:1.6;color:#869078;border-radius:6px;z-index:5}.hunter-note strong{color:#6f7b61;font-weight:600}.red-bag-icon{position:absolute;left:14px;top:17px;width:15px;height:18px;background:var(--red);border:2px solid #94483e;border-radius:4px}.red-bag-icon:before{content:'';position:absolute;width:7px;height:4px;top:-6px;left:2px;border:2px solid #94483e;border-bottom:0;border-radius:3px}.art-cross{position:absolute;color:#a4b39b;font-size:19px;font-weight:300}.cross-one{left:-23px;top:330px}.cross-two{right:33px;top:20px}
.sprite-art{display:block;position:relative;overflow:hidden;flex-shrink:0;image-rendering:pixelated}.sprite-art>img{position:absolute;max-width:none;image-rendering:pixelated;pointer-events:none}.screen-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-bottom:1px solid var(--line);min-height:83px}.back-button{font-size:12px;font-weight:600;min-height:36px;padding:4px 0;color:#65785e}.back-button:hover{color:var(--navy)}.header-location{font:9px ui-monospace,monospace;letter-spacing:1.6px;color:#8d9b82}.header-location i{font-style:normal;margin:0 12px;color:#bbc4b3}.nickname-button{display:flex;align-items:center;gap:8px;font-size:12px}.small-avatar{display:inline-grid;place-items:center;width:27px;height:27px;background:#dedbc4;border-radius:50%;font-size:11px;font-weight:700;color:#758064}.lobby-screen,.results-screen{padding:0 max(28px,calc((100vw - 1180px)/2));background:radial-gradient(ellipse at 100% 30%,#e0e6d56e,transparent 50%),var(--paper)}.lobby-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:33px 0 26px}.lobby-heading h1{font-size:32px;letter-spacing:-1.2px;margin:7px 0 8px;font-weight:750}.lobby-heading p{font-size:12px;line-height:1.6;color:#849079}.lobby-room{font-size:10px;border:1px solid var(--line);border-radius:5px;padding:8px 11px;white-space:nowrap;display:flex;align-items:center;gap:8px;color:#829376}.lobby-grid{display:grid;grid-template-columns:315px minmax(0,1fr);gap:23px;align-items:stretch}.role-ticket{border-radius:13px;background:var(--cream);border:1px solid #d6decc;overflow:hidden;position:relative;min-height:460px;box-shadow:0 8px 14px #33462c06}.ticket-head{display:flex;justify-content:space-between;align-items:center;padding:18px 21px;color:#9daa8f;font:8px ui-monospace,monospace;letter-spacing:1.2px}.ticket-head:after{content:'B4 / 016';letter-spacing:.5px}.role-art{height:201px;position:relative;display:flex;align-items:center;justify-content:center}.role-art:before{content:'';position:absolute;width:159px;height:159px;background:#e9ecd8;border-radius:50%;bottom:10px}.role-art:after{content:'';position:absolute;width:108px;height:14px;background:#74816b12;border-radius:50%;bottom:9px}.role-art .sprite-art{height:192px;width:auto;z-index:1}.role-copy{padding:15px 24px 20px;border-top:1px dashed #d3dcc7}.role-badge{display:inline-flex;align-items:center;gap:5px;color:var(--sage-deep);background:#e6eddf;padding:5px 7px;border-radius:4px;font-size:8px;letter-spacing:1px;font-weight:750}.role-badge.hunter{background:var(--red-soft);color:#a6473f}.role-badge i{width:4px;height:4px;background:currentColor;border-radius:50%}.role-copy h2{font-size:26px;letter-spacing:-.8px;margin:10px 0 6px;line-height:1.1}.role-copy p{font-size:11px;color:#8a957e;line-height:1.6}.role-zone{display:flex;gap:7px;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid #e3e8d9;font-size:10px;color:#738368}.role-bottom{padding:0 24px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:8px;color:#abb59d}.role-bottom button{color:#738568;font-size:9px;text-decoration:underline;text-underline-offset:3px;padding:5px 0}.ticket-sealed{padding:60px 28px 36px;text-align:center;display:flex;flex-direction:column;align-items:center;min-height:424px}.seal-symbol{position:relative;display:grid;place-items:center;background:#e2e9d8;border:1px solid #d4dfc6;width:118px;height:134px;border-radius:50% 50% 15px 15px;font:84px Georgia,serif;color:#9eae90;margin:0 0 25px}.ticket-sealed h2{font-size:24px;letter-spacing:-.5px;margin-bottom:9px}.ticket-sealed p{font-size:11px;line-height:1.65;color:#8b9980;margin-bottom:25px}.preparation-panel{border:1px solid #d6decc;background:#fafbf2;border-radius:13px;overflow:hidden;min-width:0}.preparation-tabs{padding:0 27px;border-bottom:1px solid #e0e6d6;display:flex;gap:28px;min-height:53px;align-items:stretch}.preparation-tabs button{font-size:11px;color:#9aa68f;font-weight:650;padding:15px 2px;position:relative}.preparation-tabs button[aria-selected=true]{color:#466b45}.preparation-tabs button[aria-selected=true]:after{content:'';height:2px;background:var(--sage);position:absolute;bottom:-1px;left:0;right:0}.preparation-tabs small{font:9px ui-monospace,monospace;background:#e4ecd9;border-radius:3px;padding:2px 5px;margin-left:5px}.preparation-body{padding:26px 28px}.preparation-body h2{font-size:23px;letter-spacing:-.5px;line-height:1.3;margin:0 0 11px}.preparation-intro{font-size:12px;line-height:1.65;color:#85977a;margin-bottom:20px}.preparation-locked{height:100%;min-height:430px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:35px}.preparation-locked .lock-glyph{font:42px Georgia,serif;margin-bottom:23px;color:#afbea0}.preparation-locked h2{font-size:23px;letter-spacing:-.5px;margin-bottom:10px}.preparation-locked p{font-size:12px;line-height:1.7;color:#91a082;max-width:295px}.how-list{display:grid;grid-template-columns:1fr;gap:14px;padding:0;margin:0 0 20px;list-style:none}.how-list li{display:flex;gap:13px;align-items:flex-start;font-size:12px;line-height:1.6;color:#697e60}.how-list b{display:grid;place-items:center;border-radius:6px;background:#e7eedc;border:1px solid #dce6d0;width:30px;height:31px;flex-shrink:0;font:14px Georgia,serif;color:#759167}.how-list strong{font-weight:650;color:#4c6845;display:block;font-size:12px;margin-bottom:2px}.how-list small{font-size:11px;color:#8a9a7d;line-height:1.55}.tip-box{font-size:11px;line-height:1.65;padding:12px 14px;border:1px solid #e4e3cd;background:#f2f0df;border-radius:7px;color:#8c9273;margin-top:17px}.tip-box strong{font-weight:700;color:#788264}.tip-box.hunter-tip{background:#f7e9e0;border-color:#e9d8ca;color:#a07465}.topic-preview{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 21px}.topic-preview>span{border:1px solid #d9e3cd;border-radius:5px;padding:6px 9px;font-size:10px;color:#7b916b}.preparation-actions{display:flex;align-items:center;gap:15px;margin-top:22px}.preparation-actions>.primary-button{width:auto;min-width:205px}.primary-button{min-height:46px;background:var(--ink);color:var(--cream);width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 17px;border-radius:7px;font-size:12px;font-weight:650;transition:background .15s,transform .15s}.primary-button:hover{background:#3d5556}.primary-button:active{transform:translateY(1px)}.primary-button.sage{background:var(--sage)}.primary-button.sage:hover{background:#426b5e}.primary-button.danger{background:var(--red)}.primary-button.center{justify-content:center}.button-arrow{font-size:19px}.secondary-button{border:1px solid #d4dec7;background:#fbfcf2;border-radius:7px;min-height:44px;padding:10px 15px;font-size:11px;color:#718765}.text-button{font-size:10px;color:#7e916f;padding:7px 0;text-decoration:underline;text-underline-offset:3px}.text-button:hover{color:#365a34}.lobby-bottom{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:23px 0 10px;padding:20px 23px;border:1px solid #cfdcc1;border-radius:10px;background:#e8efdd}.lobby-readiness{display:flex;gap:13px;align-items:center}.ready-icon{border:1px solid #bfd1b1;border-radius:50%;height:31px;width:31px;display:grid;place-items:center;font-size:14px;color:#8ba27c;flex-shrink:0}.ready-icon.is-ready{background:#718f64;border-color:#718f64;color:white}.lobby-readiness strong{display:block;font-size:12px;font-weight:650;color:#55764a;margin-bottom:4px}.lobby-readiness p{font-size:10px;color:#8e9f81;line-height:1.5}#lobby-action{min-width:247px}.lobby-demo-note{font-size:9px;line-height:1.6;color:#9aaa8b;text-align:center;padding:4px 0 23px}.prep-intro{font-size:12px;color:#87997b;line-height:1.65;margin-bottom:17px}.prep-intro strong{color:#617e52;font-weight:600}.topic-steps{display:flex;gap:7px;margin-bottom:17px}.topic-steps button{flex:1;min-height:40px;border:1px solid #dbe5cf;border-radius:6px;font-size:11px;text-align:left;padding:9px 11px;color:#97a48b;display:flex;align-items:center;gap:7px}.topic-steps button.active{border-color:#8fac7b;background:#edf4e3;color:#5b7d46}.step-num{font:9px ui-monospace,monospace;color:#a0b38f}.question-example{background:#edf1e5;border:1px solid #e2e8d8;border-radius:7px;padding:12px 14px;font-size:13px;line-height:1.55;margin-bottom:17px;color:#68815a}.question-example small{display:block;font-size:8px;letter-spacing:1px;font-weight:700;color:#a0ae90;margin-bottom:7px}.editor-label{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:9px;color:#8a9f7b;letter-spacing:.4px;margin-bottom:8px;font-weight:700}.editor-label>label{margin:0!important;font:inherit!important}.save-state{font-weight:400;font-size:8px;letter-spacing:0;color:#95a786}.answer-textarea{display:block;width:100%;min-height:96px;max-height:170px;resize:vertical;padding:12px 14px;line-height:1.65;font-size:13px;border:1px solid #cfdcbf;background:#fffff8;border-radius:7px;color:#48613d;scroll-margin:30px}.editor-footer{display:flex;justify-content:space-between;gap:14px;font-size:9px;color:#a4b395;margin:8px 0 11px}.preset-chips{display:flex;gap:6px;flex-wrap:wrap}.preset-chips button{border:1px solid #dbe3cf;background:#fafcf1;border-radius:5px;padding:7px 10px;font-size:9px;color:#8ba178;min-height:30px}.preset-chips button:hover{background:#eaf2df}.keyboard-hint{font-size:10px;line-height:1.6;color:#95a286}.answer-help-row{margin-top:14px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.game-screen{position:fixed;inset:0;min-height:0;background:#e9e9df;overflow:hidden;isolation:isolate}.canvas-wrap{position:absolute;inset:0;z-index:0}.canvas-wrap canvas{display:block;width:100%;height:100%;touch-action:none}.game-topbar{position:absolute;top:max(20px,env(safe-area-inset-top));left:24px;right:24px;display:flex;align-items:center;gap:15px;pointer-events:none}.game-topbar>*{pointer-events:auto}.hud-icon{background:#fffff4e8;border:1px solid #cfdbbf;border-radius:9px;width:45px;height:45px;font-size:20px;color:#687e5b;box-shadow:0 4px 12px #354e2710;backdrop-filter:blur(8px)}.game-location{display:flex;gap:10px;align-items:center;background:#fffef2e8;border:1px solid #d4ddc6;border-radius:9px;padding:9px 14px;box-shadow:0 4px 12px #354e2709}.game-location>strong{font-size:21px;letter-spacing:-1px;font-weight:750}.game-location>span{font-size:8px;letter-spacing:1.2px;line-height:1.5;color:#7d916d}.game-location small{font-size:6px;letter-spacing:1px;color:#a5b395}.round-timer{position:absolute;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:4px;background:#fffef0ed;border:1px solid #d4ddc5;border-radius:10px;padding:10px 25px;min-width:130px;box-shadow:0 5px 14px #35502a0d;backdrop-filter:blur(9px)}.round-timer>span{font:8px ui-monospace,monospace;color:#98a58a;letter-spacing:1px}.round-timer strong{font:31px ui-monospace,monospace;color:var(--ink);letter-spacing:-1.5px}.game-role{margin-left:auto;display:flex;gap:10px;align-items:center;background:#fffef2ec;border:1px solid #d3ddc5;border-radius:9px;padding:10px 14px;text-align:left;font-size:11px;color:#587646;min-height:45px;backdrop-filter:blur(8px)}.game-role small{display:block;font-size:7px;letter-spacing:1.1px;color:#97aa87;margin-bottom:4px}.game-role.hunter{border-color:#dfc1b1;color:#a74f41}.role-pip{width:7px;height:7px;border:2px solid #65865b;border-radius:50%}.game-role.hunter .role-pip{background:var(--red);border:0;border-radius:2px}.round-banner{position:absolute;top:114px;left:50%;transform:translateX(-50%);padding:8px 13px;background:#fffff0d9;border:1px solid #d7e0c9;border-radius:6px;font-size:10px;color:#829973;max-width:80%;text-align:center;pointer-events:none;backdrop-filter:blur(5px)}.game-bottom{position:absolute;bottom:max(23px,env(safe-area-inset-bottom));left:27px;right:27px;display:flex;gap:22px;align-items:flex-end;pointer-events:none}.game-bottom>*{pointer-events:auto}.controls-cluster{display:flex;align-items:center;min-width:150px}.desktop-controls{display:flex;flex-wrap:wrap;gap:4px;max-width:118px;padding:9px 10px;border-radius:7px;background:#ffffedba;border:1px solid #d5dfc6}.desktop-controls kbd{display:grid;place-items:center;width:18px;height:19px;border:1px solid #c7d5b9;border-radius:3px;background:#f3f8e9;color:#81946f;font:9px ui-monospace,monospace}.desktop-controls small{display:block;width:100%;text-align:center;font-size:7px;color:#9aad86;margin-top:2px}.game-task{margin:auto auto 0;max-width:400px;padding:12px 17px;background:#fffff2e0;border:1px solid #d5dec9;border-radius:8px;text-align:center;font-size:10px;line-height:1.5;color:#708961;backdrop-filter:blur(8px)}.game-task>span{font-size:7px;letter-spacing:1.4px;color:#a0ae91;display:block;margin-bottom:5px}.game-action{width:224px;flex-shrink:0;background:var(--sage-deep);color:#f4f8e7;border:1px solid #2c5145;border-radius:11px;box-shadow:0 5px 0 #234136,0 8px 16px #203b3220;padding:15px 17px;display:flex;gap:12px;align-items:center;text-align:left}.game-action:hover{background:#426f5d}.game-action .action-symbol{font-size:25px;line-height:1;color:#d9e9c6}.game-action strong{display:block;font-size:13px;font-weight:700;margin-bottom:5px}.game-action small{font-size:9px;letter-spacing:.3px;color:#b3cca1}.game-action .action-clock{margin-left:auto;white-space:nowrap;font:12px ui-monospace,monospace;color:#dbedc8}.game-action.hunter{background:#754b44;border-color:#614039;box-shadow:0 5px 0 #503730,0 8px 16px #203b3220}.game-action.hunter small{color:#d2b4a2}.game-action.done{background:#6a8065;box-shadow:0 5px 0 #4b6246}.joystick{display:none;position:relative;width:99px;height:99px;background:#fefce383;border:1px solid #e6edcce3;border-radius:50%;touch-action:none;box-shadow:0 2px 13px #4761361c,inset 0 0 0 13px #fbffed3b}.joystick-knob{position:absolute;width:44px;height:44px;border-radius:50%;top:calc(50% - 22px);left:calc(50% - 22px);background:#6c8c62a6;border:3px solid #eef4dca6;pointer-events:none}.countdown-overlay{position:absolute;inset:0;background:#e6eddbed;backdrop-filter:blur(5px);z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.countdown-overlay strong{font:180px Georgia,serif;color:#486c43;line-height:1.3}.countdown-overlay p{font-size:14px;color:#7b936b;line-height:1.6}.countdown-overlay .eyebrow{color:#93a77f}.urgent{color:var(--red)!important}
.results-layout{display:grid;grid-template-columns:.95fr 1.05fr;gap:52px;align-items:center;min-height:calc(100dvh - 90px);padding:43px 0}.results-summary h1{font-size:44px;letter-spacing:-1.9px;line-height:1.1;margin:14px 0 17px}.results-summary h1>span{color:var(--sage)}.result-copy{font-size:12px;line-height:1.75;color:#8c9c7f;max-width:390px}.result-stats{display:flex;gap:10px;margin:24px 0 21px}.result-stats>div{flex:1;background:#e6edd9;border:1px solid #d9e3cb;border-radius:9px;padding:16px 11px;text-align:center}.result-stats strong{display:block;font:33px Georgia,serif;color:#658850;margin-bottom:5px}.result-stats span{font-size:9px;color:#94a77f}.result-buttons{display:grid;gap:10px;max-width:305px;margin-top:25px}.result-buttons .text-button{justify-self:start}.result-feed{margin-top:25px;border-top:1px solid #d8e2cb;padding-top:14px}.feed-row{font-size:11px;color:#7e946f;line-height:1.6;padding:9px 0;border-bottom:1px solid #e0e8d6}.feed-row>span{display:block;font-size:7px;letter-spacing:1px;color:#a2b191;margin-bottom:5px}.feed-row:last-child{border:0}.reveal-panel{border:1px solid #d3dfc5;background:#fafcf0;border-radius:14px;padding:25px}.reveal-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.reveal-heading h2{font-size:19px;letter-spacing:-.5px;margin-top:4px}.reveal-heading>span{font:7px ui-monospace,monospace;color:#a4b295;white-space:nowrap}.reveal-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.revealed-character{background:#eef4e3;border:1px solid #e0e9d3;border-radius:6px;position:relative;padding:9px 4px 7px;display:flex;align-items:center;flex-direction:column;min-width:0}.revealed-character.is-human{background:#f6eee0;border-color:#ecddc5}.revealed-character.is-hunter{background:#f4e8dc;border-color:#e8d2bf}.revealed-character .sprite-art{height:72px;width:auto;margin-bottom:6px}.revealed-character>b{font:8px ui-monospace,monospace;color:#8fa57a}.revealed-character>small{font-size:6px;color:#93a580;margin-top:4px;letter-spacing:.25px}.revealed-character.is-human>b,.revealed-character.is-human>small{color:#b0946c}.revealed-character.is-hunter>b,.revealed-character.is-hunter>small{color:#b48268}
dialog{color:var(--ink);background:#fffef3;border:1px solid #d9e3cc;border-radius:14px;width:min(500px,calc(100vw - 32px));max-height:min(88dvh,calc(var(--visual-height) - 32px));padding:30px;box-shadow:0 26px 90px #253a3550;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#253a355a;backdrop-filter:blur(3px)}dialog h2{font-size:26px;letter-spacing:-.8px;line-height:1.2;margin:9px 0 15px}dialog p{font-size:12px;line-height:1.7;color:#8a9d7b;margin-bottom:14px}dialog label{display:block;font-size:10px;color:#7c9469;margin:16px 0 8px;font-weight:650}dialog input,dialog select{font-size:16px;width:100%;padding:12px;border:1px solid #d4dfc6;border-radius:6px;background:#fffffa;color:#5f7a4e}dialog .keyboard-hint{font-size:10px;line-height:1.6;margin-bottom:0}.close-modal{position:absolute;right:11px;top:8px;min-width:35px;min-height:35px;font-size:24px;font-weight:400;color:#a1b38d;z-index:1}.modal-buttons{display:flex;gap:10px;margin-top:21px}.modal-buttons>button{flex:1}.side-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0}.side-choice{padding:16px 12px;text-align:left;border:1px solid #d9e4cc;border-radius:8px;color:#829d6e;font-size:11px;line-height:1.6}.side-choice strong{display:block;font-size:13px;margin-bottom:4px}.side-choice span{font-size:10px;color:#a0b08e}.side-choice.selected{background:#edf5e1;border-color:#9bb986}.side-choice[data-side=hunter].selected{background:#f8e9df;border-color:#d7a891;color:#b0785d}.rules-list{list-style:none;padding:0;margin:20px 0;display:grid;gap:16px}.rules-list li{display:flex;gap:13px;font-size:12px;color:#829a70;line-height:1.7}.rules-list b{font:21px Georgia,serif;color:#b0bf9f;min-width:23px}.answer-clock{font:10px ui-monospace,monospace;white-space:nowrap;background:#edf4e1;border:1px solid #dce8cc;color:#87a274;border-radius:5px;padding:5px 7px}.round-label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.round-label-row .section-label{margin:0}.answer-options{display:grid;gap:8px;margin:15px 0 12px}.answer-option{padding:13px;border:1px solid #dce6d0;background:#fffff8;border-radius:8px;display:flex;text-align:left;gap:11px;font-size:12px;line-height:1.6;color:#839d70}.answer-option.selected{border-color:#92b07e;background:#eff6e5;color:#577945}.choice-dot{flex-shrink:0;width:15px;height:15px;display:grid;place-items:center;border:1px solid #bbcca9;border-radius:50%;font-size:9px;margin-top:3px}.selected .choice-dot{background:#89a576;border-color:#89a576;color:white}.voice-note{font-size:10px;line-height:1.6;color:#9bb088;margin-bottom:15px}.action-note{font-size:9px;line-height:1.5;text-align:center;color:#a6b698;display:block;margin-top:11px}.sent-state{background:#edf5e0;border:1px solid #d9e6c8;border-radius:9px;padding:22px 18px;text-align:center;color:#7a9a60;font-size:13px}.sent-state .sent-check{display:block;margin:0 auto 12px;width:38px;height:38px;border-radius:50%;background:#dceacb;line-height:38px;font-size:21px}.sent-state p{font-size:11px;color:#a0b38b;margin:9px 0 0}.sent-quote{font-size:13px;font-style:italic;line-height:1.65;margin:18px 0;color:#8da777}.counter-row{display:flex;gap:9px;margin-bottom:18px}.counter-row>div{flex:1;background:#f0f4e6;border:1px solid #e0e8d3;border-radius:7px;padding:10px 12px;font-size:9px;color:#a4b393}.counter-row strong{display:block;font-size:21px;line-height:1.4;color:#739461}.hunter-target{display:flex;align-items:center;gap:18px;margin-bottom:18px}.hunter-target .sprite-art{height:84px;width:auto}.hunter-target h2{font-size:22px;margin:0 0 6px}.hunter-target p{font-size:10px;margin:0}.hunter-question{width:100%;display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;border:1px solid #dce5cf;border-radius:7px;padding:12px 13px;font-size:12px;line-height:1.5;margin-top:7px;color:#879f74}.hunter-question:hover{background:#edf4e1}.hunter-reply{border-left:2px solid #a7bc91;padding:12px 14px;background:#f0f6e7;margin-top:16px;font-size:13px;line-height:1.6;color:#849e70}.hunter-reply small{display:block;font-size:8px;letter-spacing:1px;color:#a9bc96;margin-bottom:6px}.hunter-empty{text-align:center;padding:17px 0}.hunter-empty .crosshair{font-size:41px;color:#b3c79e;display:block;margin-bottom:14px}.hunter-empty p{font-size:12px}.target-select{font-size:13px;margin-bottom:4px}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,10px);opacity:0;pointer-events:none;z-index:20;max-width:calc(100vw - 28px);width:max-content;border-radius:7px;padding:12px 18px;font-size:12px;line-height:1.5;background:#304d3e;color:#eef5e1;box-shadow:0 5px 20px #20372330;transition:opacity .18s,transform .18s;text-align:center}.toast.show{transform:translate(-50%,0);opacity:1}#live-composer{top:calc(var(--visual-top) + max(16px,(var(--visual-height) - 560px)/2));bottom:auto;margin:0 auto;max-height:calc(var(--visual-height) - 32px)}#live-composer .modal-buttons{position:sticky;bottom:-30px;padding:10px 0 1px;background:#fffef3}#composer-answer{font-size:16px;min-height:112px}#composer-status{min-height:32px}.modal-section{border-top:1px solid #e0e8d3;margin-top:17px;padding-top:15px}.round-menu-options{display:grid;gap:8px}.round-menu-options button{justify-content:center}
@media(min-width:1550px){.menu-layout{min-height:750px}.menu-art{transform:scale(1.1);transform-origin:right center}.menu-copy h1{font-size:88px}.lobby-screen,.results-screen{padding-left:max(40px,calc((100vw - 1240px)/2));padding-right:max(40px,calc((100vw - 1240px)/2))}.lobby-heading{margin-top:43px}.lobby-grid{grid-template-columns:335px 1fr}.role-ticket{min-height:490px}.role-art{height:231px}.role-art .sprite-art{height:215px}.preparation-body{padding:30px 34px}.preparation-intro{font-size:13px}.how-list{gap:19px}}
@media(max-width:1150px){.menu-screen{padding:27px 30px}.menu-layout{min-height:620px;grid-template-columns:44% 56%}.menu-copy{padding-left:0}.menu-copy h1{font-size:57px;letter-spacing:-3px}.menu-copy h1>b{width:45px;height:65px;font-size:59px;right:-40px}.menu-art{height:530px;transform:scale(.9);transform-origin:right center;width:112%;margin-left:-12%}.menu-character.c0{height:228px}.menu-character.c1{height:278px}.menu-character.c2{height:301px}.menu-character.c3{height:236px}.menu-cast{top:190px;bottom:30px}.speech-sticker{top:45px;left:25px}.airport-windows{height:243px}.hunter-note{bottom:2px;right:-8px}.lobby-grid{grid-template-columns:285px 1fr;gap:19px}.preparation-body{padding:23px}.preparation-tabs{padding:0 23px}.lobby-heading h1{font-size:28px}.lobby-room{display:none}.results-layout{gap:28px}.reveal-panel{padding:18px}.reveal-grid{grid-template-columns:repeat(6,1fr);gap:5px}.revealed-character .sprite-art{height:63px}.results-summary h1{font-size:37px}.game-task{max-width:310px}}
@media(max-width:760px){.menu-screen{padding:21px 23px 19px;min-height:100dvh;overflow:hidden}.menu-topline .small-wordmark{font-size:7px;letter-spacing:1px;gap:8px}.logo-mark{width:26px;height:30px;font-size:22px}.menu-topline>.demo-label{font-size:7px;letter-spacing:1px}.menu-layout{min-height:0;grid-template-columns:1fr;flex:1;position:relative;padding-top:23px}.menu-copy{padding:0;z-index:3}.chapter-label{font-size:8px;letter-spacing:1px}.chapter-label>span{padding:4px 6px;font-size:9px}.menu-copy h1{font-size:47px;line-height:1;letter-spacing:-2.7px;margin:19px 0 14px}.menu-copy h1>b{height:55px;width:38px;font-size:51px;right:-34px;bottom:-1px}.menu-tagline{font-size:13px;line-height:1.5;max-width:190px}.menu-buttons{margin:24px 0 18px;max-width:none;grid-template-columns:1fr 1fr;gap:10px}.play-button{font-size:17px;padding:14px 17px;min-height:55px}.play-arrow{font-size:23px}.menu-secondary{font-size:11px;min-height:55px;padding:13px 14px}.menu-meta{font-size:7px;letter-spacing:.7px;gap:7px;justify-content:center}.menu-art{height:245px;transform:none;width:100%;margin:-26px 0 0;grid-row:2;pointer-events:none}.airport-windows{top:0;left:24%;right:-35px;height:130px;border-width:6px;border-bottom-width:13px;border-top-left-radius:65px}.airport-windows>i{border-right-width:4px}.window-plane{font-size:50px;top:18px;right:28px}.window-cloud{transform:scale(.4);top:36px;left:-32px}.cloud-two{left:91px;top:86px;transform:scale(.3)}.menu-cast{top:23px;bottom:5px;left:15px;right:5px}.menu-character.c0{left:0;height:169px;bottom:11px}.menu-character.c1{left:24%;height:195px;bottom:0}.menu-character.c2{left:50%;height:216px;bottom:9px}.menu-character.c3{left:77%;height:153px;bottom:6px}.departure-sign{top:117px;right:-21px;padding:7px;border-width:4px;width:71px}.departure-sign>span{font-size:4px;letter-spacing:0}.departure-sign strong{font-size:20px}.departure-sign b{font-size:19px}.speech-sticker{display:none}.hunter-note{font-size:6px;right:-3px;bottom:0;padding:7px 9px 7px 27px}.red-bag-icon{width:11px;height:14px;left:8px;top:11px}.red-bag-icon:before{width:5px;left:1px}.menu-floor{inset:109px -15% -5px -17%}.floor-mark{font-size:73px;left:113px;bottom:7px;letter-spacing:-5px}.art-cross{display:none}.menu-footer{font-size:7px;line-height:1.5;gap:15px;padding-top:14px}.menu-footer>span:last-child{font-size:7px;white-space:nowrap}.lobby-screen,.results-screen{padding:0 18px}.screen-header{min-height:70px;padding:15px 0;gap:12px}.back-button{font-size:10px}.header-location{font-size:7px;letter-spacing:.6px}.header-location i{margin:0 6px}.nickname-button{font-size:10px;gap:5px}.small-avatar{height:23px;width:23px;font-size:9px}.lobby-heading{margin:23px 0 19px}.lobby-heading .eyebrow{font-size:8px}.lobby-heading h1{font-size:26px;line-height:1.15;letter-spacing:-.8px;max-width:300px;margin-top:8px}.lobby-heading p{font-size:11px;line-height:1.65}.lobby-grid{display:flex;flex-direction:column;gap:15px}.role-ticket{min-height:0}.ticket-head{padding:13px 17px;font-size:7px}.ticket-sealed{min-height:260px;padding:20px 24px 24px}.seal-symbol{width:66px;height:75px;font-size:47px;margin-bottom:14px}.ticket-sealed h2{font-size:22px;margin-bottom:6px}.ticket-sealed p{font-size:10px;max-width:230px;margin-bottom:17px}.ticket-sealed .primary-button{width:auto;padding:12px 18px;min-width:228px}.role-ticket.is-revealed{display:grid;grid-template-columns:125px 1fr;grid-template-rows:auto 1fr auto}.role-ticket.is-revealed .ticket-head{grid-column:1/-1;padding-bottom:6px}.role-art{grid-column:1;grid-row:2/4;height:166px;margin-left:8px}.role-art:before{width:98px;height:98px;bottom:16px}.role-art:after{width:75px;bottom:15px}.role-art .sprite-art{height:152px}.role-copy{grid-column:2;grid-row:2;padding:13px 15px 11px 7px;border-top:0}.role-copy h2{font-size:24px;margin:9px 0 5px}.role-copy p{font-size:10px}.role-badge{font-size:7px;padding:4px 6px}.role-zone{font-size:9px;margin-top:10px;padding-top:8px}.role-bottom{grid-column:2;grid-row:3;padding:0 15px 13px 7px;font-size:7px;gap:5px}.role-bottom button{font-size:8px}.preparation-locked{min-height:190px;padding:26px 23px}.preparation-locked .lock-glyph{font-size:28px;margin-bottom:13px}.preparation-locked h2{font-size:19px}.preparation-locked p{font-size:11px}.preparation-tabs{min-height:48px;padding:0 19px;gap:24px}.preparation-tabs button{font-size:10px}.preparation-body{padding:21px 19px}.preparation-body h2{font-size:22px}.preparation-intro{font-size:11px}.how-list{gap:14px}.how-list li{font-size:11px;gap:10px}.how-list strong{font-size:11px}.how-list small{font-size:10px}.how-list b{width:27px;height:29px}.tip-box{font-size:10px}.topic-preview{gap:5px}.topic-preview>span{font-size:9px;padding:5px 7px}.preparation-actions{gap:10px;margin-top:18px;flex-wrap:wrap}.preparation-actions>.primary-button{width:100%}.lobby-bottom{margin-top:16px;padding:16px;display:block}.lobby-readiness{margin-bottom:14px}.lobby-readiness p{font-size:9px}.lobby-readiness strong{font-size:11px}.lobby-demo-note{font-size:8px;padding-bottom:18px}.primary-button{font-size:12px;min-height:46px}.prep-intro{font-size:11px}.topic-steps{gap:5px}.topic-steps button{font-size:10px;padding:8px;gap:5px}.question-example{font-size:12px;padding:11px 12px}.answer-textarea{font-size:16px;min-height:112px}.editor-label{font-size:8px}.save-state{font-size:7px}.preset-chips{gap:5px}.preset-chips button{font-size:8px;padding:7px 8px}.editor-footer{font-size:8px}.keyboard-hint{font-size:9px}.results-layout{grid-template-columns:1fr;gap:26px;padding:30px 0}.results-summary h1{font-size:36px}.results-summary>.eyebrow{font-size:8px}.result-copy{font-size:11px}.result-stats{margin:21px 0 18px}.result-stats strong{font-size:29px}.result-buttons{max-width:none}.result-feed{margin-top:20px}.reveal-panel{padding:20px 15px}.reveal-heading h2{font-size:17px}.reveal-heading>span{font-size:6px}.revealed-character .sprite-art{height:66px}.reveal-grid{grid-template-columns:repeat(6,1fr);gap:5px}.revealed-character{padding:8px 3px 6px}.revealed-character small{font-size:5px}.reveal-heading .eyebrow{font-size:7px}.results-screen .demo-label{display:none}.game-topbar{top:max(13px,env(safe-area-inset-top));left:13px;right:13px;gap:8px}.hud-icon{width:38px;height:38px;font-size:17px;border-radius:7px}.game-location{display:none}.round-timer{min-width:103px;padding:9px 17px;border-radius:8px}.round-timer>span{font-size:6px}.round-timer strong{font-size:26px}.game-role{max-width:111px;padding:8px 10px;font-size:9px;min-height:38px;gap:6px;border-radius:7px}.game-role small{font-size:5px;letter-spacing:.6px;margin-bottom:4px}.role-pip{width:6px;height:6px;flex-shrink:0}.round-banner{top:96px;font-size:8px;max-width:80%;width:max-content;padding:7px 10px}.game-bottom{left:17px;right:17px;bottom:max(23px,env(safe-area-inset-bottom));gap:16px}.controls-cluster{min-width:92px}.joystick{display:block;width:88px;height:88px}.joystick-knob{width:40px;height:40px;left:calc(50% - 20px);top:calc(50% - 20px)}.desktop-controls{display:none}.game-task{position:absolute;bottom:114px;left:0;right:0;max-width:none;width:max-content;margin:0 auto;font-size:8px;padding:8px 11px;border-radius:6px;max-width:100%}.game-task>span{font-size:6px;letter-spacing:.9px;margin-bottom:3px}.game-action{width:184px;margin-left:auto;padding:13px 14px;gap:9px}.game-action .action-symbol{font-size:23px}.game-action strong{font-size:11px;margin-bottom:4px}.game-action small{font-size:7px}.game-action .action-clock{font-size:10px}.countdown-overlay strong{font-size:130px}.countdown-overlay .eyebrow{font-size:8px;max-width:250px}.countdown-overlay p{font-size:12px}dialog{padding:26px 21px 21px;max-height:calc(var(--visual-height) - 32px);width:calc(100vw - 28px);border-radius:13px}dialog h2{font-size:24px}dialog p{font-size:11px}.modal-buttons{gap:8px;margin-top:17px}.rules-list{gap:14px}.rules-list li{font-size:11px}.rules-list b{font-size:19px}.answer-option{font-size:12px;padding:12px}.counter-row{margin-bottom:16px}.counter-row>div{font-size:8px}.counter-row strong{font-size:18px}.hunter-question{font-size:12px;padding:12px}.hunter-reply{font-size:12px}.target-select{font-size:16px}.toast{font-size:11px;padding:11px 15px;bottom:17px}#live-composer .modal-buttons{bottom:-21px;padding:10px 0 0}#live-composer{top:calc(var(--visual-top) + 16px)}#composer-answer{min-height:95px;max-height:125px}#live-composer .question-example{margin-bottom:13px}#live-composer h2{margin-bottom:12px}#composer-status{font-size:9px;min-height:28px}.sent-state{font-size:12px;padding:18px 14px}}
@media(max-width:370px){.menu-screen{padding:18px}.menu-copy h1{font-size:43px}.menu-topline .small-wordmark{font-size:6px}.menu-topline>.demo-label{font-size:6px}.menu-character.c2{height:194px}.menu-character.c1{height:178px}.menu-character.c0{height:156px}.menu-character.c3{height:141px}.menu-art{height:222px}.menu-copy h1>b{height:50px;font-size:45px;width:34px;right:-30px}.lobby-screen,.results-screen{padding:0 14px}.header-location{display:none}.role-copy h2{font-size:21px}.role-ticket.is-revealed{grid-template-columns:112px 1fr}.role-art .sprite-art{height:139px}.game-action{width:167px;padding:12px 11px}.game-bottom{gap:8px;left:13px;right:13px}.game-action strong{font-size:10px}.reveal-grid{grid-template-columns:repeat(3,1fr)}.revealed-character .sprite-art{height:77px}}
@media(max-height:650px) and (min-width:761px){.menu-layout{min-height:510px}.menu-art{transform:scale(.82);transform-origin:right center;height:510px}.menu-copy h1{font-size:55px}.menu-copy{padding-top:20px;padding-bottom:20px}.menu-tagline{font-size:15px}.menu-buttons{margin:24px 0 18px}.menu-screen{padding-top:21px;padding-bottom:18px}.menu-copy h1>b{width:41px;height:62px;font-size:56px;right:-36px}.lobby-heading{margin:23px 0 20px}.game-task{font-size:9px}.round-banner{top:94px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Conversation-first rooms: editable chat, never automatic human replies. */
.menu-buttons{max-width:360px;grid-template-columns:1fr}.menu-online-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.menu-buttons>.text-button{justify-self:start}.menu-online-options .menu-secondary{font-size:12px;padding:13px}.menu-buttons .play-button{font-size:23px}.room-presence{display:grid;grid-template-columns:290px 1fr;gap:25px;background:#e8eddf;border:1px solid #cbd7bf;border-radius:12px;padding:19px 22px;margin-bottom:22px}.room-code-card{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}.room-code-card>span{width:100%;font-size:9px;letter-spacing:1.5px;color:#758868}.room-code-card>strong{font:700 28px ui-monospace,monospace;letter-spacing:3px;color:#354c41}.room-code-card button{min-height:34px;padding:7px 10px;font-size:10px}.room-roster-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:12px}.room-roster-heading>span{font-size:10px;color:#7e9070}.room-roster{display:flex;flex-wrap:wrap;gap:7px}.room-player{border:1px solid #ced9c1;border-radius:20px;background:#f5f7eb;display:flex;align-items:center;gap:6px;padding:7px 10px;font-size:11px;color:#667b5c}.room-player i{font-style:normal;color:#99aa8c}.room-player.ready{background:#dbe7ce;border-color:#afc39d}.room-player.ready i{color:#527247}.room-player small{font-size:8px;color:#97a68c}.room-error{min-height:20px;color:#ad493d!important;margin-top:12px!important;font-size:12px!important}#room-code{font:700 22px ui-monospace,monospace;letter-spacing:3px;text-transform:uppercase}#room-nickname{margin-bottom:16px}#room-side{font-size:14px}.chat-dialog{width:min(610px,calc(100vw - 30px));padding:24px;border-color:#b7c6ab;overflow:auto;max-height:calc(var(--visual-height) - 28px)}.chat-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:28px;font-size:9px;letter-spacing:1.2px;color:#7d8e70;margin-bottom:16px}.chat-eyebrow>span:last-child{letter-spacing:0;font-size:10px;color:#557862;white-space:nowrap}.chat-heading{display:flex;align-items:center;gap:13px;margin-bottom:16px}.chat-portrait{height:65px;width:43px;display:flex;justify-content:center;flex-shrink:0}.chat-portrait .sprite-art{height:65px;max-width:43px}.chat-heading h2{font-size:22px;line-height:1.2;margin:0 0 5px}.chat-heading p{font-size:11px;margin:0;color:#819073}.chat-limit{margin-left:auto;white-space:nowrap;font:11px ui-monospace,monospace;padding:7px 9px;border-radius:5px;background:#e9efde;color:#5d7950}.chat-contacts{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;margin-bottom:14px;padding-bottom:6px}.chat-contacts>button{position:relative;flex:1;min-width:64px;padding:8px 6px;border:1px solid #d8e0cb;border-radius:6px;text-align:center;color:#798a6e;background:#f7f8ee;line-height:1.3}.chat-contacts>button.active{background:#e3ecd6;border-color:#91ac7d;color:#3f6244}.chat-contacts b{font:700 11px ui-monospace,monospace}.chat-contacts small{display:block;font-size:8px;margin-top:3px;white-space:nowrap}.chat-contacts i:not(:empty){position:absolute;right:2px;top:1px;min-width:13px;height:13px;border-radius:20px;background:#b84f43;color:white;font:9px system-ui;display:grid;place-items:center}.chat-history{height:clamp(150px,31dvh,270px);min-height:130px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;background:#eff1e7;border:1px solid #dee4d3;border-radius:9px;padding:14px;margin-bottom:12px;scrollbar-width:thin}.chat-message{max-width:86%;width:fit-content;border-radius:10px;padding:10px 13px;flex-shrink:0;overflow-wrap:anywhere}.chat-message small{display:block;font:8px ui-monospace,monospace;letter-spacing:.7px;margin-bottom:5px;opacity:.65}.chat-message p{margin:0;font-size:14px;line-height:1.5;color:inherit;white-space:normal}.chat-message.mine{align-self:flex-end;background:#466957;color:#fffff3;border-bottom-right-radius:2px}.chat-message.theirs{align-self:flex-start;background:#fffef5;color:#34433b;border:1px solid #dbe2cf;border-bottom-left-radius:2px}.chat-empty{margin:auto;text-align:center;padding:12px;max-width:365px;color:#7c8b73}.chat-empty>span{display:block;font:38px Georgia,serif;color:#a7b79b;margin-bottom:9px}.chat-empty strong{display:block;font-size:16px;color:#657a5a}.chat-empty p{font-size:12px;line-height:1.6;margin:8px 0;color:#8a9980}.chat-empty small{font-size:10px;color:#a0ac97}.chat-quick{display:flex;gap:6px;margin-bottom:8px;flex-wrap:wrap}.chat-quick button{border:1px solid #d2ddc5;border-radius:20px;padding:6px 11px;font-size:10px;color:#6e855f;background:#f5f7ec}.chat-quick button:hover{background:#e5eeda}.chat-form{display:flex;align-items:stretch;gap:8px;border:1px solid #a5ba93;background:#fffef6;border-radius:9px;padding:8px}.chat-form:focus-within{outline:2px solid #d4dfc9}.chat-form textarea{resize:none;width:100%;min-height:51px;max-height:100px;border:none;border-radius:0;padding:6px 7px;color:#2b3f35;background:transparent;font:14px/1.45 system-ui;outline:none}.chat-form textarea:focus{outline:none;border:none;box-shadow:none}.chat-form textarea::placeholder{color:#a5b297}.chat-form textarea[readonly]{color:#879879}.chat-send{width:47px;min-width:47px;align-self:center;height:45px;border-radius:7px;background:#496d57;color:#fffdf2;font-size:26px;font-weight:500}.chat-send:disabled{background:#d4dfc8;color:#9daf8f;opacity:1;cursor:default}.chat-editor-note{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#87987b;margin:8px 2px 0;min-height:15px}.chat-editor-note>span:last-child{white-space:nowrap}.chat-footer{display:flex;gap:9px;padding-top:14px;border-top:1px solid #dce3d0;margin-top:14px}.chat-footer>button{flex:1;min-height:41px}.chat-footer .primary-button{width:auto;font-size:11px}.chat-footer .secondary-button{background:transparent}.reveal-grid{grid-template-columns:repeat(4,1fr)}.revealed-character .sprite-art{height:92px}
@media(max-width:760px){.menu-buttons{max-width:none;grid-template-columns:1fr;margin-bottom:11px;gap:8px}.menu-buttons .play-button{font-size:19px;min-height:49px;padding:12px 15px}.menu-online-options .menu-secondary{font-size:11px;min-height:41px;padding:9px 13px}.menu-buttons>.text-button{justify-self:center;font-size:10px;padding:4px}.menu-art{margin-top:-7px;height:223px}.menu-meta{margin-bottom:5px;font-size:7px}.room-presence{grid-template-columns:1fr;gap:17px;padding:16px;margin-bottom:16px}.room-code-card{gap:7px 16px}.room-code-card>strong{font-size:25px}.room-roster-heading{font-size:11px}.room-roster-heading>span{font-size:9px}.room-player{font-size:10px;padding:6px 9px}.chat-dialog{padding:22px 16px 16px;top:calc(var(--visual-top) + 12px);bottom:auto;margin:0 auto;max-height:calc(var(--visual-height) - 24px);width:calc(100vw - 20px)}.chat-eyebrow{font-size:7px;gap:8px;padding-right:24px;margin-bottom:12px}.chat-eyebrow>span:last-child{font-size:8px}.chat-heading{gap:9px;margin-bottom:11px}.chat-heading h2{font-size:18px}.chat-heading p{font-size:9px}.chat-portrait{height:53px;width:33px}.chat-portrait .sprite-art{height:53px;max-width:33px}.chat-limit{font-size:9px;padding:6px}.chat-contacts{gap:5px;margin-bottom:10px}.chat-contacts>button{min-width:61px;padding:7px 4px}.chat-contacts b{font-size:10px}.chat-contacts small{font-size:7px}.chat-history{height:clamp(110px,31dvh,230px);min-height:90px;padding:11px;gap:8px}.chat-message p{font-size:13px}.chat-message{padding:9px 11px;max-width:91%}.chat-form textarea{font-size:16px;min-height:46px}.chat-form{padding:6px}.chat-send{width:41px;min-width:41px;height:42px}.chat-editor-note{font-size:8px}.chat-quick{gap:5px;margin-bottom:7px}.chat-quick button{font-size:9px;padding:6px 10px}.chat-footer{padding-top:11px;margin-top:11px}.chat-footer>button{min-height:39px}.chat-empty{padding:6px}.chat-empty>span{font-size:28px;margin-bottom:6px}.chat-empty strong{font-size:14px}.chat-empty p{font-size:10px;margin:6px 0}.chat-empty small{font-size:9px}.reveal-grid{grid-template-columns:repeat(4,1fr)}.revealed-character .sprite-art{height:76px}}
@media(max-height:580px){.chat-history{height:105px}.chat-heading{margin-bottom:8px}.chat-portrait{height:40px}.chat-portrait .sprite-art{height:40px}.chat-eyebrow{margin-bottom:8px}.chat-contacts{margin-bottom:7px}.chat-footer{margin-top:7px;padding-top:7px}}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Round actions: a quiet work button and a shared, visible rhythm cue. */
.game-actions{display:flex;gap:10px;align-items:flex-end;flex-shrink:0}.role-action-button{position:relative;overflow:hidden;display:flex;gap:10px;align-items:center;min-height:67px;max-width:198px;padding:13px 14px;background:#fffff1eb;border:1px solid #b7c8a6;border-radius:10px;box-shadow:0 3px 0 #c4d2b6;color:#547348;text-align:left;backdrop-filter:blur(7px)}.role-action-button kbd{display:grid;place-items:center;flex-shrink:0;width:27px;height:29px;border:1px solid #afc299;border-radius:5px;font:15px ui-monospace,monospace;background:#edf3df}.role-action-button strong{display:block;font-size:11px;line-height:1.3;margin-bottom:5px}.role-action-button small{display:block;font-size:8px;line-height:1.35;color:#91a380}.role-action-button>i{position:absolute;bottom:0;left:0;height:3px;width:0;background:#7b9d65;pointer-events:none}.role-action-button:disabled{opacity:.73}.role-action-button.working{background:#e5efd7;opacity:1}.game-actions .game-action{margin-left:0}.game-actions~.game-task{max-width:280px}.dance-hud{position:absolute;top:111px;right:24px;z-index:2;width:338px;padding:14px 15px 11px;border:1px solid #b7c6a8;border-radius:11px;background:#fffef0ed;box-shadow:0 7px 24px #314b2c18;backdrop-filter:blur(9px);color:#455c41}.dance-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font:7px ui-monospace,monospace;letter-spacing:1px;color:#8b9b7d}.dance-heading button{font:9px system-ui;letter-spacing:0;color:#728a61;border:1px solid #d6dfc8;border-radius:5px;padding:4px 7px;min-height:25px;min-width:50px;background:#f6f9ed}.dance-main{display:flex;align-items:center;gap:8px;margin:8px 0 10px}.dance-main>div{flex:1}.dance-main h2{font-size:16px;letter-spacing:-.25px;line-height:1.2;margin:0 0 5px}.dance-main p{font-size:9px;line-height:1.5;color:#89997b;margin:0;max-width:230px}.dance-main>strong{display:grid;place-items:center;min-width:45px;height:45px;border-radius:8px;background:#dce8cd;border:1px solid #b7caa3;color:#4a7040;font:700 27px ui-monospace,monospace;line-height:1;padding:5px}.dance-main>strong.hit{background:#477451;border-color:#386443;color:#fffef0}.dance-main>strong.miss{background:#ead6be;border-color:#d8b494;color:#a06442}.dance-sequence{display:flex;gap:5px}.dance-sequence>span{position:relative;flex:1;display:flex;align-items:center;justify-content:center;gap:5px;height:34px;border:1px solid #dbe3ce;border-radius:5px;background:#f6f8ed;color:#9aac8d}.dance-sequence b{font:13px ui-monospace,monospace}.dance-sequence small{font-size:11px}.dance-sequence i{position:absolute;right:2px;top:1px;font:8px system-ui;line-height:1;font-style:normal}.dance-sequence .current{background:#e0ebd2;border:2px solid #739761;color:#4c713f}.dance-sequence .hit{background:#e1ecd6;color:#668752;border-color:#afc79a}.dance-sequence .miss{background:#f1e7d7;color:#ab916f;border-color:#e1d0b6}.dance-beat-track{height:3px;background:#e5ebda;margin-top:9px;overflow:hidden;border-radius:3px}.dance-beat-track i{display:block;height:100%;width:0;background:#7a9c64;border-radius:3px}.dance-feedback{font-size:9px;line-height:1.45;color:#8a9b7c;margin:8px 0 0;min-height:13px}.dance-pad{position:absolute;z-index:3;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);grid-template-columns:repeat(3,62px);grid-template-rows:55px 55px;gap:7px;display:none;touch-action:manipulation}.dance-pad button{border:1px solid #afc39c;border-radius:9px;background:#fffef0ed;box-shadow:0 3px 0 #bdcdae;color:#7c956b;display:flex;align-items:center;justify-content:center;gap:7px;touch-action:manipulation}.dance-pad button[data-key=W]{grid-column:2;grid-row:1}.dance-pad button[data-key=A]{grid-column:1;grid-row:2}.dance-pad button[data-key=S]{grid-column:2;grid-row:2}.dance-pad button[data-key=D]{grid-column:3;grid-row:2}.dance-pad span{font:25px system-ui}.dance-pad small{font:10px ui-monospace,monospace}.dance-pad .expected{background:#deebcf;border:2px solid #739663;color:#3f683e}.dance-pad button:disabled{opacity:.55;box-shadow:none}.game-screen[data-dance=active] .game-task{visibility:hidden}.game-screen[data-dance=active] .controls-cluster{opacity:.24;pointer-events:none}.game-screen[data-dance=active] .game-actions{opacity:.28;pointer-events:none}.game-screen[data-dance=active] .round-banner,.game-screen[data-dance=announce] .round-banner{visibility:hidden}.mechanics-brief{border-top:1px solid #dce4d1;padding-top:17px;margin-top:22px;display:grid;gap:14px}.mechanics-brief>div{display:flex;gap:12px;align-items:flex-start}.mechanics-brief kbd,.mechanic-keys{display:grid;place-items:center;min-width:36px;height:37px;border:1px solid #c7d6b8;background:#eaf1de;color:#7d976a;border-radius:6px;font:14px ui-monospace,monospace}.mechanic-keys{font-size:9px;line-height:1.3;text-align:center;padding:5px 4px}.mechanics-brief strong{display:block;font-size:11px;line-height:1.4;color:#56734c;margin-bottom:5px}.mechanics-brief small{display:block;font-size:10px;line-height:1.6;color:#8b9c7d}.mechanics-brief>p{font-size:9px;line-height:1.6;color:#99a88c;margin:0}
@media(max-width:1150px){.game-bottom{gap:14px}.game-task{max-width:235px;font-size:9px}.game-actions{gap:8px}.role-action-button{max-width:158px;padding:11px;gap:8px}.role-action-button strong{font-size:10px}.role-action-button small{font-size:7px}.game-actions .game-action{width:202px}.dance-hud{right:18px;width:321px}}
@media(max-width:760px){.game-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch;margin-left:auto;max-width:184px}.game-actions .game-action{width:184px}.role-action-button{min-height:44px;max-width:none;padding:8px 10px;gap:9px;border-radius:8px;box-shadow:0 2px 0 #c4d2b6}.role-action-button kbd{width:22px;height:23px;font-size:11px}.role-action-button strong{font-size:10px;margin-bottom:2px}.role-action-button small{font-size:7px}.game-task{bottom:158px;max-width:90%;font-size:8px}.dance-hud{top:95px;left:13px;right:13px;width:auto;padding:11px 12px 9px;border-radius:9px}.dance-main{margin:5px 0 7px}.dance-main h2{font-size:14px}.dance-main p{font-size:8px;max-width:245px}.dance-main>strong{min-width:38px;height:38px;font-size:23px}.dance-heading{font-size:6px;letter-spacing:.8px}.dance-heading button{font-size:8px;min-height:23px}.dance-sequence>span{height:29px}.dance-sequence b{font-size:12px}.dance-sequence small{font-size:10px}.dance-beat-track{margin-top:7px}.dance-feedback{font-size:8px;margin-top:6px;min-height:12px}.dance-pad:not([hidden]){display:grid}.game-screen[data-dance=active] .game-actions,.game-screen[data-dance=active] .controls-cluster{visibility:hidden}.mechanics-brief{gap:13px;margin-top:19px;padding-top:16px}.mechanics-brief strong{font-size:10px}.mechanics-brief small{font-size:9px}.mechanics-brief>p{font-size:8px}}
@media(max-width:370px){.game-actions{max-width:167px}.game-actions .game-action{width:167px}.dance-hud{left:10px;right:10px}.dance-main h2{font-size:13px}.dance-main p{font-size:7px}.dance-feedback{font-size:7px}}
@media(pointer:coarse) and (min-width:761px){.dance-pad:not([hidden]){display:grid}}
@media(max-height:650px) and (min-width:761px){.dance-hud{top:89px;width:308px}.dance-main h2{font-size:14px}.dance-main>strong{height:38px;min-width:38px;font-size:24px}.dance-sequence>span{height:28px}.dance-feedback{font-size:8px}}

/* Terminal B4: a game menu, sized for a phone first. */
:root{--muted:#65725f;--line:#cad3c0;--paper:#eae9dd;--cream:#fffcef}
.menu-screen{padding:25px max(32px,calc((100vw - 1280px)/2)) 20px;background:radial-gradient(ellipse at 80% 10%,#cddccd80,transparent 55%),#eae9dd;min-height:100dvh;gap:24px}
.menu-screen:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.16;background-image:radial-gradient(#577168 0.7px,transparent 0.7px);background-size:6px 6px;mask-image:linear-gradient(transparent 20%,#000)}
.menu-topline{gap:12px}.menu-topline .small-wordmark{font-size:10px;letter-spacing:2px;color:#344e47;line-height:1.25;gap:10px}.small-wordmark b{font-weight:500;font-size:8px;letter-spacing:1.4px}.menu-topline .logo-mark{width:34px;height:38px;background:#344e47;border-color:#344e47;color:#fff6db;transform:rotate(-5deg)}.menu-topline>.demo-label{font:9px ui-monospace,monospace;letter-spacing:.8px;color:#526a55;background:#f6f7e8;border:1px solid #c7d5bf;border-radius:99px;padding:9px 12px}.menu-topline>.demo-label i{background:#729263;box-shadow:0 0 0 3px #72926317}
.menu-layout{display:grid;grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr);grid-template-rows:auto auto;gap:26px 42px;min-height:0;max-width:1280px;align-content:center;align-items:center;padding:22px 0;margin:auto;width:100%}
.menu-copy{grid-column:1;grid-row:1;padding:0;position:relative}.chapter-label{font:9px ui-monospace,monospace;letter-spacing:1.2px;color:#62735d;gap:9px}.chapter-label>span{border-radius:4px;background:#567663;color:#fff9df;font-size:10px;padding:5px 7px}
.menu-copy h1{font-size:clamp(52px,5.6vw,80px);font-weight:900;line-height:.96;letter-spacing:-4px;margin:23px 0 18px}.menu-copy h1>span{color:#365e51}.menu-copy h1>b{background:#e5b868;color:#fff8e6;right:-42px;width:49px;height:70px;bottom:0;font:65px Georgia,serif;box-shadow:3px 4px 0 #cc9d541f;border:1px solid #d9a551;transform:rotate(9deg)}
.menu-tagline{font-size:16px;line-height:1.5;letter-spacing:0;color:#667661}.menu-meta{margin-top:22px;gap:7px;justify-content:flex-start;color:#62715b;font-size:10px;text-transform:none;letter-spacing:0;flex-wrap:wrap}.menu-meta>span{border:1px solid #ccd5c2;border-radius:6px;padding:7px 9px;background:#f2f3e6b0}.menu-meta b{color:#395f4f;font-size:12px;margin-right:2px}
.menu-boarding{grid-column:1;grid-row:2;position:relative;z-index:3;max-width:390px;border:1px solid #c6cebb;border-radius:14px;background:#fffbed;padding:15px;box-shadow:0 8px 0 #405e4310,0 12px 24px #344f4210}.boarding-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px dashed #cbd3bd;padding:0 0 11px;font:8px ui-monospace,monospace;letter-spacing:1px;color:#7a876b}.boarding-heading>span:last-child{color:#3d604c}.boarding-heading i{color:#c59044;font-style:normal;padding:0 5px}
.menu-buttons{max-width:none;display:grid;grid-template-columns:1fr;gap:10px;margin:13px 0 12px}.menu-buttons .play-button{min-height:68px;padding:14px 17px;border-radius:9px;background:#355b4e;box-shadow:0 4px 0 #203f36;color:#fffced;font-size:20px;text-align:left;line-height:1.3}.play-button small{display:block;font:7px ui-monospace,monospace;letter-spacing:1.2px;color:#c4d7b7;margin-bottom:6px}.menu-buttons .play-button:hover{background:#406c58;box-shadow:0 6px 0 #203f36}.menu-buttons .play-button:active{box-shadow:0 1px 0 #203f36}.play-arrow{font-size:29px;color:#d3e3bb}.menu-online-options{gap:8px}.menu-online-options .menu-secondary{min-height:49px;font-size:12px;font-weight:600;padding:12px;border-color:#cdd5bf;background:#f1f2e4;color:#566b4b}.menu-secondary>span{border:0;border-radius:0;font-size:16px;color:#80916e}.boarding-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.boarding-bottom>span{font-size:9px;color:#7d896d}.boarding-bottom .text-button{padding:5px 0;font-size:10px;color:#516b48}
.menu-art{grid-column:2;grid-row:1/3;position:relative;width:100%;height:560px;margin:0;transform:none;isolation:isolate;border:1px solid #bdcab5;background:linear-gradient(#dee6d2,#e0e5cf 45%,#d8e1c9);border-radius:28px 28px 130px 28px;box-shadow:inset 0 1px 0 #fff9e9,0 20px 65px #53755a12}
.terminal-art-label{position:absolute;top:19px;left:23px;right:23px;display:flex;align-items:center;justify-content:space-between;font:8px ui-monospace,monospace;letter-spacing:1.1px;color:#8c9a7d;z-index:2}.terminal-art-label i{width:6px;height:6px;background:#ba6452;border-radius:50%;box-shadow:0 0 0 4px #ba645214;animation:terminal-signal 3s ease-in-out infinite}
.airport-windows{left:7%;right:7%;top:62px;height:223px;transform:none;border-radius:80px 12px 6px 6px;border-width:8px;border-bottom-width:17px;background:linear-gradient(#b6cecc,#e7ede1);box-shadow:inset 0 -4px 0 #f1f1dd,0 5px 0 #8b9f8350}.airport-windows>i{border-right-width:6px}.window-cloud{animation:terminal-cloud 16s ease-in-out infinite alternate;opacity:.6}.cloud-two{animation-delay:-8s}.window-plane{font-size:86px;right:33px;top:26px;opacity:.6;animation:terminal-flight 22s linear infinite}
.departure-sign{right:21px;top:192px;width:137px;padding:11px;transform:rotate(3deg);border-width:4px;border-color:#adbda0;background:#2d4844;box-shadow:0 5px 0 #375c3620}.departure-sign>span{font-size:6px;color:#b8cbb0}.departure-sign strong{font-size:34px;color:#fff2c9}.departure-sign b{font-size:31px;color:#e7bf68}.departure-sign>small{display:block;font:4px ui-monospace,monospace;color:#c5d7b7;letter-spacing:.4px;margin-top:4px}
.menu-floor{inset:270px -10px 28px -10px;transform:none;background:repeating-linear-gradient(0deg,transparent 0,transparent 52px,#8d9e7719 53px,#8d9e7719 54px),radial-gradient(ellipse,#aebb9780,transparent 68%);border-radius:50%;z-index:-1}.floor-mark{left:45%;bottom:51px;font-size:106px;color:#a3b090;opacity:.35}
.menu-cast{left:6%;right:6%;top:170px;bottom:77px}.menu-character{filter:drop-shadow(4px 9px 2px #41553616);transform-origin:bottom center;animation:terminal-idle 4s ease-in-out infinite}.menu-character.c0{left:1%;height:214px;bottom:18px;animation-delay:-1.2s}.menu-character.c1{left:25%;height:270px;bottom:0;animation-delay:-2.5s}.menu-character.c2{left:51%;height:282px;bottom:21px;animation-delay:-.5s}.menu-character.c3{left:77%;height:210px;bottom:17px;animation-delay:-3.2s}.menu-character .sprite-art{height:100%;width:auto}.speech-sticker{left:17px;top:160px;padding:12px 14px;transform:rotate(-5deg);border-radius:10px 10px 10px 2px;animation:terminal-sticker 8s ease-in-out infinite}.speech-sticker span{font-size:10px}.speech-sticker small{font:6px ui-monospace,monospace;letter-spacing:.8px;margin-top:6px;color:#7e8f6e}.hunter-note{right:auto;left:25px;bottom:28px;font-size:8px;line-height:1.6;padding:11px 13px 11px 36px;background:#f6efd7;border-color:#d2ccaf;transform:rotate(-3deg);color:#7d8164}.hunter-note strong{color:#635f4d;font-size:9px}.red-bag-icon{top:15px;left:12px}.art-cross{display:none}.menu-footer{font:9px ui-monospace,monospace;color:#869178;gap:10px;letter-spacing:.25px;padding-top:0}.menu-footer>span:last-child{font-size:8px}
.action-key-touch{display:none}
@keyframes terminal-idle{0%,100%{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-4px) rotate(.5deg)}}
@keyframes terminal-cloud{from{margin-left:-12px}to{margin-left:26px}}
@keyframes terminal-flight{0%,20%{transform:translate(38px,15px) rotate(-18deg);opacity:0}30%{opacity:.6}80%{opacity:.6}95%,100%{transform:translate(-260px,-45px) rotate(-18deg);opacity:0}}
@keyframes terminal-sticker{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-5px) rotate(-3deg)}}
@keyframes terminal-signal{0%,100%{opacity:.55}50%{opacity:1}}
/* Direction is the primary dance language on every device. */
.dance-main>strong{min-width:58px;height:58px;font:700 36px system-ui;border-radius:12px}.dance-main h2{font-size:17px}.dance-main p{font-size:11px;line-height:1.5;color:#687e59}.dance-heading{font-size:8px;color:#6f825f}.dance-heading button{min-height:36px;min-width:62px;font-size:11px}.dance-sequence b{font:700 21px system-ui}.dance-sequence small{font:9px ui-monospace,monospace;opacity:.65}.dance-sequence>span{height:39px;gap:4px}.dance-feedback{font-size:11px;color:#6e835f}.dance-beat-track{height:5px}.dance-pad{grid-template-columns:repeat(3,70px);grid-template-rows:66px 66px;gap:10px;bottom:max(28px,calc(env(safe-area-inset-bottom) + 16px));touch-action:none}.dance-pad button{min-width:66px;min-height:66px;border-radius:15px;box-shadow:0 5px 0 #9fae8e,0 8px 18px #2e4c3a25;background:#fffcf0;transition:background .1s,border-color .1s,transform .08s,box-shadow .08s;color:#5d7851}.dance-pad span{font:32px system-ui}.dance-pad small{font-size:10px}.dance-pad button.expected{background:#e6c579;border-color:#b89348;color:#514224;box-shadow:0 5px 0 #b39551,0 0 0 4px #e6c5792b}.dance-pad button:active,.dance-pad button.pressed{transform:translateY(4px);box-shadow:0 1px 0 #7a936b;background:#466e51;border-color:#34553d;color:#fff7dd}.dance-pad button:disabled{opacity:.65}.dance-pad button.pressed:disabled{opacity:1}.dance-pad button.expected:disabled{opacity:.75}.game-screen[data-dance=announce] .dance-pad{opacity:.8}.dance-hud{background:#fffcefef}.dance-main>strong.hit{background:#466e51}.dance-main>strong.miss{background:#e8d1bd}
@media(max-width:1020px) and (min-width:761px){.menu-layout{gap:25px}.menu-copy h1{font-size:58px;letter-spacing:-3px}.menu-copy h1>b{width:40px;height:57px;font-size:51px;right:-33px}.menu-art{height:520px}.menu-character.c0{height:178px}.menu-character.c1{height:218px}.menu-character.c2{height:230px}.menu-character.c3{height:180px}.menu-cast{bottom:91px}.speech-sticker{left:10px;top:173px}.departure-sign{right:14px;top:189px;width:112px}.hunter-note{left:18px;bottom:31px}.menu-tagline{font-size:14px}.menu-meta{gap:4px}.menu-meta>span{font-size:9px;padding:6px 7px}}
@media(max-width:760px){
  .menu-screen{padding:16px 18px max(16px,env(safe-area-inset-bottom));gap:18px;min-height:100dvh;overflow:hidden}.menu-topline{padding-top:env(safe-area-inset-top)}.menu-topline .small-wordmark{font-size:8px;letter-spacing:1.5px;gap:8px}.small-wordmark b{font-size:7px;letter-spacing:.8px}.menu-topline .logo-mark{width:29px;height:32px;font-size:25px}.menu-topline>.demo-label{font-size:7px;letter-spacing:.5px;padding:8px 9px;gap:6px}
  .menu-layout{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto auto;align-content:start;gap:17px;flex:1;min-height:0;padding:0;margin:0 auto;max-width:450px}.menu-copy{grid-column:1;grid-row:1;padding:0 3px}.chapter-label{font-size:7px;letter-spacing:.9px;gap:8px}.chapter-label>span{font-size:8px;padding:4px 6px}.menu-copy h1{font-size:clamp(43px,12.2vw,57px);line-height:.98;letter-spacing:-2.8px;margin:13px 0 10px}.menu-copy h1>b{width:34px;height:49px;right:-31px;font-size:45px;bottom:1px}.menu-tagline{font-size:12px;line-height:1.55;max-width:none;color:#687761}.menu-tagline br{display:none}.menu-meta{margin:12px 0 0;gap:6px;justify-content:flex-start;font-size:9px}.menu-meta>span{font-size:9px;padding:5px 8px;border-radius:5px}.menu-meta b{font-size:11px}
  .menu-art{grid-column:1;grid-row:2;width:100%;height:224px;border-radius:18px 18px 56px 18px;margin:0;transform:none;pointer-events:none;overflow:hidden;box-shadow:0 8px 20px #53755a0c}.terminal-art-label{top:11px;left:14px;right:14px;font-size:5px;letter-spacing:.9px}.terminal-art-label i{width:4px;height:4px;box-shadow:0 0 0 3px #ba645214}.airport-windows{left:8%;right:7%;top:30px;height:120px;border-width:5px;border-bottom-width:10px;border-radius:49px 8px 4px 4px}.airport-windows>i{border-right-width:4px}.window-plane{font-size:49px;right:20px;top:7px}.window-cloud{top:37px;left:-26px;transform:scale(.45)}.cloud-two{left:104px;top:91px;transform:scale(.3)}.departure-sign{top:79px;right:12px;padding:6px 7px;border-width:3px;width:78px;transform:rotate(4deg)}.departure-sign>span{font-size:3.5px;letter-spacing:.4px}.departure-sign strong{font-size:20px}.departure-sign b{font-size:19px}.departure-sign>small{font-size:2px;letter-spacing:0;margin-top:1px}.menu-floor{inset:126px -15px 0;border-radius:40%;background:radial-gradient(ellipse,#aebb9780,transparent 68%)}.floor-mark{font-size:65px;left:46%;bottom:5px;letter-spacing:-4px;opacity:.25}.menu-cast{left:4%;right:4%;top:40px;bottom:18px}.menu-character.c0{left:2%;height:128px;bottom:13px}.menu-character.c1{left:25%;height:156px;bottom:3px}.menu-character.c2{left:50%;height:169px;bottom:6px}.menu-character.c3{left:77%;height:128px;bottom:14px}.speech-sticker{display:block;top:52px;left:9px;padding:7px 8px;max-width:153px;box-shadow:none;border-radius:7px 7px 7px 2px}.speech-sticker span{font-size:6.5px}.speech-sticker small{font-size:3.8px;letter-spacing:.45px;margin-top:3px}.hunter-note{left:14px;right:auto;bottom:9px;font-size:5px;padding:5px 8px 5px 21px;transform:rotate(-2deg);border-radius:4px}.hunter-note strong{font-size:5.5px}.red-bag-icon{left:7px;top:7px;width:9px;height:11px;border-width:1.5px;border-radius:2px}.red-bag-icon:before{width:4px;height:3px;top:-4px;left:1px;border-width:1.5px}.menu-boarding{grid-column:1;grid-row:3;width:100%;max-width:none;padding:12px;border-radius:12px;box-shadow:0 5px 0 #405e430e,0 6px 16px #344f420b}.boarding-heading{font-size:7px;letter-spacing:.7px;padding-bottom:9px}.menu-buttons{margin:10px 0 10px;gap:9px;max-width:none}.menu-buttons .play-button{font-size:18px;min-height:62px;padding:12px 15px}.play-button small{font-size:6.5px;letter-spacing:.9px;margin-bottom:5px}.play-arrow{font-size:25px}.menu-online-options{gap:8px}.menu-online-options .menu-secondary{min-height:48px;font-size:12px;padding:11px}.boarding-bottom>span{font-size:8px}.boarding-bottom .text-button{font-size:10px;min-height:30px;padding:5px 0}.menu-footer{max-width:450px;width:100%;margin:0 auto;font-size:7px;padding:0;line-height:1.4}.menu-footer>span:last-child{font-size:6px}
  .lobby-screen,.results-screen{padding:0 16px max(20px,env(safe-area-inset-bottom))}.screen-header{padding-top:max(12px,env(safe-area-inset-top));min-height:66px;gap:8px}.back-button,.nickname-button{min-height:44px;font-size:12px}.header-location{font-size:8px;letter-spacing:.3px}.small-avatar{width:28px;height:28px;font-size:11px}.lobby-heading{margin:22px 0 18px}.lobby-heading .eyebrow{font-size:9px}.lobby-heading h1{font-size:28px;line-height:1.14}.lobby-heading p{font-size:13px;line-height:1.6;color:#6e7f61}.room-roster-heading{font-size:13px}.room-roster-heading>span{font-size:10px}.room-player{font-size:12px;padding:8px 10px}.room-player small{font-size:9px}.room-code-card>span{font-size:9px}.room-code-card button{min-height:44px;font-size:11px}.room-code-card>strong{font-size:27px}.role-ticket,.preparation-panel{border-radius:15px}.ticket-sealed p{font-size:13px}.ticket-sealed .primary-button{min-height:50px}.ticket-head{font-size:8px}.role-ticket.is-revealed{grid-template-columns:116px minmax(0,1fr)}.role-art{height:171px;margin-left:1px}.role-art .sprite-art{height:152px}.role-copy{padding:12px 13px 9px 6px}.role-copy h2{font-size:25px}.role-copy p{font-size:11px;line-height:1.5;color:#6f7d63}.role-badge{font-size:8px}.role-zone{font-size:11px;color:#62745b}.role-bottom{padding-right:13px;font-size:7px;flex-wrap:wrap}.role-bottom button{font-size:10px;min-height:34px}.preparation-tabs{min-height:54px;padding:0 17px;gap:22px}.preparation-tabs button{font-size:12px}.preparation-body{padding:20px 17px}.preparation-body h2{font-size:23px}.preparation-intro,.prep-intro{font-size:13px;color:#6e805f;line-height:1.6}.how-list li,.how-list strong{font-size:13px}.how-list small{font-size:12px;color:#7d8d6c}.tip-box{font-size:12px;color:#787e61}.topic-preview>span{font-size:11px;min-height:32px;padding:7px 8px}.preparation-actions .text-button{min-height:40px;font-size:12px}.primary-button,.secondary-button{min-height:49px;font-size:13px}.preparation-locked p{font-size:13px}.preparation-locked h2{font-size:21px}.topic-steps button{min-height:46px;font-size:11px;padding:8px 6px}.question-example{font-size:14px}.question-example small{font-size:9px}.editor-label{font-size:10px}.save-state{font-size:9px}.answer-textarea{font-size:16px;min-height:117px}.editor-footer{font-size:9px}.preset-chips button{font-size:11px;min-height:42px;padding:10px}.keyboard-hint{font-size:11px;color:#7b8b6c}.answer-help-row .text-button{min-height:42px;font-size:12px;white-space:nowrap}.lobby-bottom{padding:15px;margin-top:18px;border-radius:13px}.lobby-readiness strong{font-size:13px}.lobby-readiness p{font-size:11px;color:#748a63}.lobby-demo-note{font-size:10px;padding-top:6px;color:#7a8d69}.mechanics-brief strong{font-size:12px}.mechanics-brief small{font-size:11px;color:#748965}.mechanics-brief>p{font-size:10px}.mechanic-keys{font-size:10px}
  .game-topbar{left:12px;right:12px;top:max(12px,env(safe-area-inset-top));gap:8px}.hud-icon{width:46px;height:46px;font-size:20px;border-radius:12px}.round-timer{min-width:103px;padding:8px 14px;border-radius:12px}.round-timer>span{font-size:8px;color:#738365}.round-timer strong{font-size:27px}.game-role{max-width:126px;min-height:46px;padding:8px 10px;font-size:10px;border-radius:12px}.game-role small{font-size:7px;letter-spacing:.3px;color:#778c65}.round-banner{top:max(89px,calc(env(safe-area-inset-top) + 77px));font-size:10px;color:#6a805d;max-width:90%;padding:8px 11px}.game-bottom{left:15px;right:15px;bottom:max(20px,calc(env(safe-area-inset-bottom) + 12px));gap:13px}.controls-cluster{min-width:98px}.joystick{width:98px;height:98px;background:#fffce5a8;border-color:#c3d0acee;box-shadow:0 3px 16px #36503024,inset 0 0 0 15px #f8ffed4d}.joystick-knob{width:45px;height:45px;top:calc(50% - 22.5px);left:calc(50% - 22.5px);background:#6a8a5ecb;border-color:#f5f4d8c9}.game-actions{max-width:187px;gap:10px}.game-actions .game-action{width:187px;min-height:63px;padding:12px;gap:8px;border-radius:13px}.game-action strong{font-size:13px;margin-bottom:4px}.game-action small{font-size:9px;letter-spacing:0}.game-action .action-symbol{font-size:26px}.role-action-button{min-height:52px;padding:9px 12px;border-radius:11px;gap:9px}.role-action-button kbd{width:28px;height:28px;font-size:18px;border-radius:7px}.action-key-desktop{display:none}.action-key-touch{display:inline}.role-action-button strong{font-size:12px;margin-bottom:3px}.role-action-button small{font-size:9px;line-height:1.2;color:#788e66}.game-task{bottom:148px;font-size:11px;color:#688258;max-width:100%;padding:9px 12px}.game-task>span{font-size:8px;color:#889a76}.game-screen[data-dance=announce] .game-task{visibility:hidden}
  .dance-hud{top:max(90px,calc(env(safe-area-inset-top) + 78px));left:12px;right:12px;padding:12px;border-radius:15px;box-shadow:0 8px 25px #314b2c22}.dance-heading{font-size:8px;letter-spacing:.6px;color:#718660}.dance-heading button{min-height:40px;min-width:62px;font-size:11px;border-radius:8px}.dance-main{margin:5px 0 11px;gap:10px}.dance-main h2{font-size:17px;margin-bottom:5px}.dance-main p{font-size:11px;max-width:240px;color:#6c805e}.dance-main>strong{min-width:59px;height:59px;font-size:38px;border-radius:12px}.dance-sequence{gap:5px}.dance-sequence>span{height:36px;border-radius:7px}.dance-sequence b{font-size:24px}.dance-sequence small{display:none}.dance-sequence i{font-size:10px;right:3px;top:3px}.dance-beat-track{height:5px;margin-top:10px}.dance-feedback{font-size:11px;line-height:1.45;margin-top:9px;min-height:32px;color:#718661}.dance-pad{grid-template-columns:repeat(3,72px);grid-template-rows:68px 68px;gap:10px;bottom:max(26px,calc(env(safe-area-inset-bottom) + 18px))}.dance-pad small{display:none}.dance-pad span{font-size:34px}.dance-pad button{min-width:68px;min-height:68px;border-radius:16px}.game-screen[data-dance=active] .game-actions,.game-screen[data-dance=active] .controls-cluster{visibility:hidden}
  dialog{border-radius:18px;padding:27px 20px 20px;width:calc(100vw - 24px)}dialog p,dialog .rules-list li{font-size:13px;color:#718460}dialog h2{font-size:26px}dialog label{font-size:12px}.close-modal{right:8px;top:6px;min-height:44px;min-width:44px;font-size:29px;color:#768b66}dialog input,dialog select{min-height:48px;font-size:16px;border-radius:9px}.room-error{font-size:13px!important}.side-choice{padding:14px 11px;min-height:91px}.side-choice strong{font-size:14px}.side-choice span{font-size:12px}.modal-buttons .primary-button{min-height:50px}.toast{font-size:12px;bottom:max(17px,env(safe-area-inset-bottom));border-radius:10px}
  .chat-dialog{position:fixed;inset:calc(var(--visual-top) + 8px) 0 auto;margin:0 auto;width:calc(100vw - 16px);height:min(740px,calc(var(--visual-height) - 16px));max-height:calc(var(--visual-height) - 16px);padding:17px 14px 12px;border-radius:18px;overflow:hidden}.chat-dialog[open]{display:flex;flex-direction:column}.chat-dialog #action-content{display:flex;flex-direction:column;min-height:0;flex:1}.chat-eyebrow{font-size:8px;gap:6px;padding-right:34px;margin:0 0 12px;min-height:20px;flex-shrink:0}.chat-eyebrow>span:last-child{font-size:9px}.chat-heading{gap:10px;margin-bottom:11px;flex-shrink:0;min-height:52px}.chat-heading h2{font-size:18px;line-height:1.2;margin-bottom:4px}.chat-heading p{font-size:11px;color:#6e825e}.chat-limit{font-size:10px;padding:7px}.chat-portrait,.chat-portrait .sprite-art{height:50px}.chat-contacts{gap:6px;margin:0 0 10px;padding-bottom:5px;min-height:58px;flex-shrink:0;scroll-snap-type:x proximity}.chat-contacts>button{flex:0 0 73px;min-width:73px;min-height:48px;padding:8px 5px;border-radius:9px;scroll-snap-align:start}.chat-contacts b{font-size:12px}.chat-contacts small{font-size:9px}.chat-history{height:auto;min-height:70px;flex:1;margin-bottom:9px;padding:11px;border-radius:12px;gap:9px}.chat-message{max-width:91%;padding:10px 12px}.chat-message p{font-size:15px;line-height:1.45}.chat-message small{font-size:9px}.chat-empty strong{font-size:16px}.chat-empty p{font-size:12px;line-height:1.5;color:#7a8d68}.chat-empty small{font-size:10px}.chat-quick{gap:6px;flex-wrap:nowrap;flex-shrink:0;margin-bottom:8px;overflow:auto}.chat-quick button{font-size:11px;min-height:41px;padding:9px 12px;white-space:nowrap}.chat-form{flex-shrink:0;padding:6px;border-radius:12px;gap:7px}.chat-form textarea{min-height:48px;height:55px;max-height:80px;font-size:16px;line-height:1.4;padding:5px}.chat-send{height:48px;width:48px;min-width:48px;border-radius:9px;font-size:28px}.chat-editor-note{font-size:9px;line-height:1.35;margin:7px 1px 0;min-height:21px;flex-shrink:0;color:#758968}.chat-footer{margin-top:9px;padding-top:9px;gap:8px;flex-shrink:0}.chat-footer>button{min-height:46px;font-size:12px;border-radius:9px}.chat-footer .primary-button{font-size:12px}.chat-dialog:has(#chat-input:focus) .chat-eyebrow{display:none}.chat-dialog:has(#chat-input:focus) .chat-heading{min-height:29px;margin-bottom:7px;padding-right:28px}.chat-dialog:has(#chat-input:focus) .chat-portrait,.chat-dialog:has(#chat-input:focus) .chat-heading p{display:none}.chat-dialog:has(#chat-input:focus) .chat-heading h2{font-size:16px;margin-bottom:0}.chat-dialog:has(#chat-input:focus) .chat-limit{font-size:9px;padding:5px}.chat-dialog:has(#chat-input:focus) .chat-contacts{min-height:45px;margin-bottom:6px}.chat-dialog:has(#chat-input:focus) .chat-contacts>button{min-height:40px;padding:7px 5px}.chat-dialog:has(#chat-input:focus) .chat-contacts small{display:none}.chat-dialog:has(#chat-input:focus) .chat-quick button{min-height:36px;padding:7px 10px}.chat-dialog:has(#chat-input:focus) .chat-quick{margin-bottom:6px}.chat-dialog:has(#chat-input:focus) .chat-footer{margin-top:7px;padding-top:7px}.chat-dialog:has(#chat-input:focus) .chat-footer>button{min-height:42px}.chat-dialog:has(#chat-input:focus) .chat-history{min-height:45px}.chat-dialog:has(#chat-input:focus) .chat-empty>span{display:none}.chat-dialog:has(#chat-input:focus) .chat-empty p{font-size:11px}.chat-dialog:has(#chat-input:focus) .chat-empty small{display:none}
  .results-summary h1{font-size:38px}.result-copy{font-size:13px;color:#728661}.result-stats span{font-size:11px}.feed-row{font-size:12px}.feed-row>span{font-size:9px}.reveal-heading h2{font-size:19px}.reveal-heading>span{font-size:8px}.revealed-character>b{font-size:10px}.revealed-character>small{font-size:8px}
}
@media(max-width:370px){.menu-screen{padding-left:14px;padding-right:14px;gap:15px}.menu-layout{gap:14px}.menu-copy h1{font-size:43px}.menu-art{height:209px}.menu-character.c0{height:118px}.menu-character.c1{height:144px}.menu-character.c2{height:156px}.menu-character.c3{height:118px}.menu-tagline{font-size:11px}.game-topbar{left:10px;right:10px}.game-role{max-width:112px;font-size:9px}.game-role small{font-size:6px}.game-actions,.game-actions .game-action{max-width:174px;width:174px}.game-action strong{font-size:12px}.game-bottom{left:12px;right:12px;gap:10px}.controls-cluster{min-width:88px}.joystick{width:88px;height:88px}.dance-hud{left:10px;right:10px}.dance-main h2{font-size:15px}.dance-main p{font-size:10px}.dance-feedback{font-size:10px}.chat-limit{font-size:9px}.chat-heading h2{font-size:17px}.boarding-bottom>span{font-size:7px}.header-location{display:none}}
@media(max-height:700px) and (max-width:760px){.menu-screen{gap:13px;padding-top:13px}.menu-layout{gap:12px}.menu-copy h1{font-size:43px;margin-top:11px;margin-bottom:8px}.menu-tagline{font-size:11px}.menu-meta{margin-top:9px}.menu-art{height:185px}.menu-cast{top:26px;bottom:12px}.menu-character.c0{height:109px}.menu-character.c1{height:132px}.menu-character.c2{height:145px}.menu-character.c3{height:110px}.airport-windows{height:101px;top:24px}.speech-sticker{top:39px}.departure-sign{top:65px}.hunter-note{bottom:6px}.menu-boarding{padding:10px 12px}.menu-buttons .play-button{min-height:57px}.menu-online-options .menu-secondary{min-height:45px}.menu-footer{padding-top:0}.dance-hud{padding:10px 12px}.dance-heading button{min-height:35px}.dance-main>strong{min-width:50px;height:50px;font-size:33px}.dance-main{margin-bottom:8px}.dance-main h2{font-size:15px}.dance-main p{font-size:10px}.dance-feedback{font-size:10px;min-height:27px;margin-top:7px}.dance-pad{bottom:max(19px,env(safe-area-inset-bottom));grid-template-columns:repeat(3,68px);grid-template-rows:63px 63px;gap:8px}.dance-pad button{min-width:63px;min-height:63px}}
@media(pointer:coarse) and (min-width:761px){.joystick{display:block}.desktop-controls{display:none}.action-key-desktop{display:none}.action-key-touch{display:inline}.dance-pad small{display:none}}
@media(max-height:500px) and (orientation:landscape){.dance-hud{top:85px;right:14px;left:auto;width:300px;padding:9px 12px}.dance-heading button{min-height:30px}.dance-main{margin:3px 0 7px}.dance-main h2{font-size:14px}.dance-main p{font-size:10px}.dance-main>strong{height:46px;min-width:46px;font-size:30px}.dance-sequence>span{height:28px}.dance-sequence b{font-size:19px}.dance-feedback{font-size:9px;min-height:13px}.dance-pad{left:29%;bottom:17px;grid-template-columns:repeat(3,66px);grid-template-rows:61px 61px;gap:7px}.dance-pad button{min-width:61px;min-height:61px}.game-task{display:none}.chat-dialog{width:min(670px,calc(100vw - 18px));padding:10px 14px}.chat-eyebrow,.chat-portrait,.chat-heading p,.chat-contacts small{display:none}.chat-heading{min-height:28px;margin-bottom:4px;padding-right:35px}.chat-heading h2{font-size:16px;margin:0}.chat-contacts{min-height:42px;margin-bottom:4px}.chat-contacts>button{min-height:37px;padding:6px}.chat-quick{margin-bottom:5px}.chat-quick button{min-height:32px;padding:6px 10px}.chat-history{min-height:40px}.chat-form textarea{height:44px;min-height:44px}.chat-send{height:42px}.chat-editor-note{min-height:13px;margin-top:4px}.chat-footer{margin-top:5px;padding-top:5px}.chat-footer>button{min-height:37px}}
@media(prefers-reduced-motion:reduce){.menu-character,.window-cloud,.window-plane,.speech-sticker,.terminal-art-label i{animation:none!important}.window-plane{opacity:.6;transform:rotate(-18deg)}}

.chat-heading>div:nth-child(2){min-width:0}.chat-heading h2{overflow-wrap:anywhere}
