:root{font-family:Trebuchet MS,Avenir Next,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18334a;background:#f7f6ee;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--navy:#173c55;--navydark:#113044;--mint:#40ad9d;--gold:#f4b85e;--coral:#ed846f;--paper:#fffdf5;--ink:#163b50}*,*:before,*:after{box-sizing:border-box}html,body,#root{margin:0;min-width:300px;min-height:100%}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #f7bc63;outline-offset:3px}button:focus:not(:focus-visible){outline:0}.app-shell{min-height:100vh;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(circle at 95% 15%,#e2f4e9 0,transparent 27%),radial-gradient(circle at 0% 75%,#feebd4 0,transparent 22%),#f7f6ee}.top-nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px clamp(18px,4.5vw,70px);background:#fffdf8;border-bottom:1px solid #e3e6dc;position:relative;z-index:8}.nav-brand{display:flex;align-items:center;gap:13px}.brand-emblem{background:#214f69;color:#ffcc73;border-radius:15px;width:46px;height:46px;display:grid;place-items:center;transform:rotate(-8deg);font-size:26px;box-shadow:0 3px #112c41}.nav-brand strong{font-size:15px;letter-spacing:.075em;display:block;line-height:1.35;color:var(--navy)}.nav-brand span{display:block;color:#70908b;font-size:11px;font-weight:900;letter-spacing:.15em}.nav-brand b{background:#fae1a5;color:#664627;padding:2px 5px;border-radius:4px;letter-spacing:0;font-size:10px}.top-nav-actions{display:flex;align-items:center;gap:9px}.nav-button{background:#eef6f1;border:1px solid #d3e8dd;color:#2b5265;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:11px;font-size:13px;font-weight:900;transition:transform .2s,background .2s}.nav-button:hover{background:#dfeee7;transform:translateY(-1px)}.ranking-link{background:#214e67;color:#fff;border-color:#214e67}.ranking-link:hover{background:#173f56}.footer-note{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:12px;padding:14px clamp(18px,4.5vw,70px);background:#fffdf8;border-top:1px solid #e7ede2;font-size:11px;font-weight:800;letter-spacing:.03em;color:#5d7570;position:relative;z-index:6}.footer-content{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;text-align:center}.footer-sesc{color:#32534c;font-weight:900;letter-spacing:.04em}.footer-sep{color:#94b1ab;font-weight:400;-webkit-user-select:none;user-select:none}.footer-creator{display:inline-flex;align-items:center;gap:6px;color:#526f6b;font-weight:800}.creator-link{display:inline-flex;align-items:center;gap:5px;color:#24586d;background:#eef6f1;border:1px solid #cce1d6;border-radius:8px;padding:3px 9px 3px 8px;text-decoration:none;font-weight:950;transition:all .2s ease}.creator-link:hover{background:#d8ede3;color:#123746;border-color:#9ccdb8;transform:translateY(-1px)}.creator-icon{color:#e1306c;flex-shrink:0}.eyebrow{font-size:11px;font-weight:950;letter-spacing:.17em;color:#6e9189}.eyebrow.muted-light{color:#9bc9c6}.start-shell{width:min(1370px,100%);margin:auto;display:grid;grid-template-columns:52% 48%;align-items:center;gap:0;min-height:calc(100vh - 164px);padding:25px clamp(18px,4vw,55px)}.hero-left{padding:15px 2vw 30px 0;position:relative;z-index:2}.hero-pretitle{font-size:11px;font-weight:1000;letter-spacing:.15em;color:#508376;display:flex;align-items:center;gap:9px;margin-bottom:26px}.pretitle-dot{display:block;background:#fcaf63;border-radius:50%;width:11px;height:11px;box-shadow:0 0 0 5px #ffe7b8}.hero-left h1{font-size:clamp(45px,5.9vw,83px);font-weight:1000;max-width:700px;line-height:1.065;letter-spacing:-.075em;margin:0;color:#173b54}.hero-left h1 em{font-style:normal;color:#39aa97;white-space:nowrap;text-decoration:underline;text-decoration-color:#f6c878;text-decoration-thickness:7px;text-underline-offset:9px}.hero-lede{font-size:clamp(16px,1.5vw,20px);font-weight:600;line-height:1.6;color:#5c747b;max-width:575px;margin:27px 0}.feature-pills{display:flex;flex-wrap:wrap;gap:10px;margin:21px 0 38px}.feature-pills span{display:flex;align-items:center;gap:8px;border:1px solid #dce9d8;background:#fffdf8;border-radius:30px;font-size:12px;font-weight:900;color:#315f62;padding:11px 14px;box-shadow:0 3px #1f4f590b}.feature-pills svg{color:#df8b59}.name-form{max-width:570px;background:#fffdf9;border:1px solid #e3e9da;border-radius:22px;box-shadow:0 17px 50px #2a4b4212;padding:24px 26px}.name-form>label{display:block;font-size:11px;font-weight:950;letter-spacing:.16em;color:#526b6c;margin-bottom:12px}.start-form-row{display:flex;gap:9px}.start-form-row input{flex:1;min-width:0;height:52px;border:2px solid #dce9e4;background:#f7faf6;color:#234961;border-radius:12px;padding:0 15px;font-size:15px;font-weight:750;outline:0}.start-form-row input:focus{border-color:#47aa99;background:#fff}.start-form-row button{display:flex;justify-content:center;align-items:center;gap:8px;padding:0 22px;border:0;background:#ef9c58;color:#17394e;border-radius:12px;box-shadow:0 4px #cb744d;font-weight:1000;font-size:13px;transition:transform .2s}.start-form-row button:hover{transform:translateY(-2px)}.name-form>span{display:block;font-size:11px;color:#78918c;margin-top:12px}.hero-right{position:relative;min-height:590px;display:flex;align-items:center;justify-content:center;flex-direction:column}.hero-art{height:505px;width:min(100%,635px);position:relative;display:grid;place-items:center}.hero-island{position:absolute;width:80%;height:55%;background:radial-gradient(ellipse at 52% 49%,#e7f5cf,#a5deaf 80%);border-radius:47% 53% 50% 50%;bottom:6%;transform:rotate(-8deg);box-shadow:inset 0 -20px #7ebd92,0 17px #629e85,0 30px 45px #17494321}.island-path{position:absolute;top:21%;right:21%;bottom:21%;left:21%;border:14px dashed #fff9d8;border-radius:50%;transform:rotate(-20deg);opacity:.85}.art-tree,.art-thing,.art-gate{position:absolute;font-size:55px;filter:drop-shadow(0 5px 1px rgba(39,93,69,.18));line-height:1}.art-tree-1{left:5%;top:18%}.art-tree-2{right:4%;top:12%}.art-robot{right:16%;top:39%}.art-mail{left:21%;top:58%}.art-book{right:17%;bottom:10%}.art-gate{right:0%;bottom:30%}.hero-lila{position:absolute;width:57%;max-height:78%;top:2%;left:12%;filter:drop-shadow(0 17px 9px rgba(23,64,66,.09));transform:rotate(-2deg)}.hero-art-bubble{position:absolute;top:3%;right:0;background:#fffdf7;color:#2c5770;padding:12px 16px;border-radius:17px;max-width:142px;font-weight:950;font-size:14px;line-height:1.3;transform:rotate(8deg);box-shadow:0 7px 20px #1550511a;border:2px solid #f7dcaa}.hero-spark{position:absolute;color:#efb75f;font-size:38px;font-weight:900}.hero-spark-one{top:4%;left:0}.hero-spark-two{bottom:29%;right:5%}.hero-spark-three{top:25%;right:3%}.hero-caption{font-weight:950;font-size:11px;letter-spacing:.08em;color:#a08b65;display:flex;align-items:center;gap:10px}.hero-caption svg{color:#edb757}.game-layout{width:min(1310px,100%);margin:0 auto;flex:1;display:flex;flex-direction:column;gap:12px;padding:18px clamp(12px,2.6vw,35px) 8px}.game-summary{display:flex;justify-content:space-between;align-items:center;gap:18px}.summary-location{display:flex;align-items:center;gap:16px;min-width:0}.location-icon{width:57px;height:57px;flex-shrink:0;display:grid;place-items:center;border-radius:15px;background:#fce7bd;border:1px solid #f0d2a4;color:#9e7041}.summary-location h1{font-size:clamp(20px,2.4vw,31px);font-weight:1000;letter-spacing:-.05em;margin:2px 0 1px;color:#214456;line-height:1.12}.summary-location p{font-size:12px;font-weight:750;color:#738987;margin:4px 0 0}.summary-stats{display:flex;gap:7px}.hud-stat{background:#fffefa;border:1px solid #e4ebe3;min-width:120px;border-radius:14px;padding:9px 14px;box-shadow:0 3px #1242440d}.hud-stat span{font-size:9px;font-weight:950;letter-spacing:.15em;color:#859a96;display:block}.hud-stat strong{font-size:22px;font-weight:1000;display:flex;gap:6px;align-items:center;line-height:1.25;color:#294e60}.hud-stat strong small{font-size:12px;color:#91a6a1}.hud-streak strong{color:#ec786e}.journey-track{height:8px;width:100%;background:#dce8e0;border-radius:8px;position:relative;overflow:visible}.journey-track-bar{height:100%;background:linear-gradient(90deg,#47a999,#f1ba67);border-radius:8px;transition:width .45s}.journey-track-dots span{position:absolute;top:-4px;width:15px;height:15px;border:3px solid #bfd3c9;border-radius:50%;background:#f7f6ee;transition:background .3s}.journey-track-dots span.track-dot-active{background:#f3ae69;border-color:#fff}.world-panel{aspect-ratio:1000/540;max-height:calc(100vh - 290px);min-height:340px;width:100%;margin:0 auto;position:relative;overflow:hidden;border:7px solid #fffefb;background:#c7dfc4;border-radius:26px;box-shadow:0 8px #18494c16,0 14px 45px #18434924;isolation:isolate}.world-svg{height:100%;width:100%;display:block;touch-action:manipulation;cursor:crosshair}.world-svg [role=button]{cursor:pointer;outline:none}.world-svg [role=button]:focus-visible{filter:drop-shadow(0 0 9px #fcf08d)}.station-open:hover .station-aura{opacity:.48}.station-done{opacity:.65;cursor:default!important}.station-float{animation:float 2.7s ease-in-out infinite;transform-origin:center}.station-aura{animation:pulse 2.2s ease-in-out infinite}.world-player .player-walk{animation:playerBob .26s ease-in-out infinite alternate}.portal-unlocked .portal-glow{animation:pulse 1.1s ease-in-out infinite}.portal-unlocked{cursor:pointer}.portal-locked{cursor:not-allowed}.scene-info{position:absolute;z-index:3;left:18px;top:16px;background:#fffdf4eb;border:1px solid rgba(255,255,255,.87);border-radius:16px;padding:13px 17px;max-width:min(415px,46%);box-shadow:0 5px 17px #1f4e4314;pointer-events:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.scene-label{color:#698880;font-size:10px;font-weight:1000;letter-spacing:.13em}.scene-label span{color:#f1a968;font-size:14px}.scene-info h2{margin:3px 0;font-size:21px;line-height:1.1;font-weight:1000;color:#234959}.scene-info p{font-size:11px;color:#66807c;font-weight:750;margin:0}.world-info-right{position:absolute;z-index:3;right:17px;top:16px}.minimap{width:170px;position:relative;background:#fffef6ed;border:2px solid rgba(255,255,255,.93);border-radius:15px;padding:11px 12px 6px;box-shadow:0 5px 18px #1e4d441f;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.minimap-grid{height:78px;position:relative;background:#bfdbd0;border:1px dashed #76ad9d;border-radius:8px;overflow:hidden;background-image:linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px);background-size:20px 20px}.minidot{position:absolute;transform:translate(-50%,-50%);width:11px;height:11px;background:#ffbc65;border:2px solid white;border-radius:50%;box-shadow:0 1px 3px #34576470}.minidot-done{background:#6aab99}.minidot-player{z-index:2;width:12px;height:12px;background:#ef6a5c;border-color:#183e55;box-shadow:0 0 0 4px #f9edc2}.minidot-portal{border-radius:2px;background:#647d89}.minidot-portal-open{background:#ffd06a;box-shadow:0 0 0 4px #f9e8b1}.minimap-text{display:block;text-align:center;color:#537b75;font-size:9px;letter-spacing:.14em;font-weight:1000;padding-top:5px}.world-bottom-overlay{position:absolute;z-index:3;bottom:11px;left:15px;right:15px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}.world-bottom-overlay span{padding:8px 11px;background:#20495cd9;color:#fff;border-radius:12px;font-size:11px;letter-spacing:.09em;font-weight:950;display:flex;align-items:center;gap:7px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.world-bottom-overlay span:last-child{background:#fffbeddb;color:#577078}.game-footer{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:5px 0 0;min-height:44px}.how-move{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.control-key{display:inline-grid;place-items:center;background:#fdfdf6;border:1px solid #d5dfda;box-shadow:0 3px #d1ddd7;border-radius:6px;font-size:11px;min-width:25px;height:25px;color:#416271;font-weight:950}.control-key-large{padding:0 8px;white-space:nowrap}.or-text,.instruction-text,.room-count,.instruction-sep{font-size:10px;font-weight:850;color:#899c95;margin:0 4px}.instruction-sep{margin:0 8px}.how-move>svg{color:#bd9465}.room-count{display:flex;align-items:center;gap:13px;white-space:nowrap;letter-spacing:.09em}.room-squares{display:flex;gap:4px}.room-squares span{display:block;height:10px;width:20px;background:#dce6dc;border-radius:4px}.room-squares span.room-square-done{background:#4baa94}.dpad{display:none}.case-shade{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;background:#112938bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:18px}.case-dialog{width:min(1180px,100%);max-height:calc(100vh - 36px);display:flex;flex-direction:column;overflow:hidden;border:4px solid #fff3d6;border-radius:23px;background:#f8f3e6;box-shadow:0 27px 80px #05172366}.case-topbar{display:flex;justify-content:space-between;align-items:center;min-height:86px;gap:15px;padding:14px 24px;background:#173c56;color:#fff;box-shadow:0 5px #0000000d;position:relative;z-index:2}.case-topbar-left{display:flex;align-items:center;gap:15px}.case-top-icon{display:grid;place-items:center;font-size:32px;background:#345d6f;width:58px;height:58px;border-radius:14px}.case-spot{font-size:20px;font-weight:1000;letter-spacing:-.03em}.timer-dial{height:64px;width:64px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#f8c776 var(--time-ratio),#496475 var(--time-ratio));padding:5px;flex-shrink:0;box-shadow:0 0 0 1px #75909a}.timer-inner{border-radius:50%;width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0;background:#193e57;color:#fff;font-weight:1000;font-size:15px;line-height:1.2}.timer-danger{animation:dangerFlash .65s ease-in-out infinite;background:conic-gradient(#fb6c66 var(--time-ratio),#496475 var(--time-ratio))}.timer-danger .timer-inner{color:#ffd7c5}.case-body{display:grid;grid-template-columns:minmax(0,.89fr) minmax(0,1.3fr);min-height:0;overflow:auto}.case-briefing{padding:27px 30px 26px;background:radial-gradient(circle at 20% 93%,#fce5b9,transparent 34%),#fff7e7;position:relative;min-height:500px;display:flex;flex-direction:column}.case-tag{align-self:flex-start;border:1px solid #eddbb7;background:#fffdfa;border-radius:30px;color:#7d8766;font-weight:900;font-size:11px;padding:8px 12px;display:flex;align-items:center;gap:7px}.case-hintlabel{font-size:12px;font-weight:950;letter-spacing:.1em;color:#bb8564;margin:24px 0 12px;text-transform:uppercase}.case-briefing h2{font-weight:1000;line-height:1.35;font-size:clamp(20px,2.25vw,29px);letter-spacing:-.035em;margin:0;color:#264b5c;overflow-wrap:anywhere}.case-paper-rule{height:5px;background:repeating-linear-gradient(90deg,#e0d2b8 0px,#e0d2b8 15px,transparent 15px,transparent 25px);margin:22px 0 10px;opacity:.65}.case-help{color:#70827a;font-size:14px;line-height:1.55;font-weight:750}.read-button{align-self:flex-start;background:#e6f5ed;color:#277066;border:1px solid #c8e5d8;padding:9px 13px;border-radius:11px;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:900}.case-lila{display:flex;align-items:end;gap:5px;margin-top:auto;min-height:132px;padding-top:6px}.case-lila svg{height:150px;width:145px;flex-shrink:0}.case-lila-bubble{background:#fffefa;color:#5a7b77;border:1px solid #e3e6d3;border-radius:15px 15px 15px 0;padding:13px 16px;font-weight:900;font-size:13px;line-height:1.4;margin-bottom:35px}.evidence-panel{padding:27px 27px 24px;background:linear-gradient(140deg,#eef5ef,#e4f0ea);display:flex;flex-direction:column;min-width:0}.evidence-panel-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.evidence-panel-head h3{font-weight:1000;letter-spacing:-.045em;color:#254d5d;font-size:24px;margin:4px 0 16px}.case-note{font-size:10px;letter-spacing:.14em;font-weight:1000;color:#76978b;border:1px solid #b9d7c8;border-radius:25px;padding:8px;white-space:nowrap}.evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(142px,1fr);gap:13px}.evidence-card{position:relative;min-width:0;text-align:left;display:flex;flex-direction:column;gap:8px;background:#fffefa;border:2px solid #d3e4d7;border-radius:15px;box-shadow:0 4px #bfd9cc;padding:12px 13px 10px;color:#244758;transition:transform .15s,border-color .15s,background .15s}.evidence-card:hover{transform:translateY(-3px);border-color:#89cbb4}.evidence-card.evidence-picked{background:#fff5d6;border-color:#f1ae59;box-shadow:0 4px #d9aa6e;transform:translateY(-2px)}.evidence-card-top{display:flex;justify-content:space-between;align-items:center;gap:7px}.evidence-symbol{font-size:22px;line-height:1}.evidence-indicator{font-size:9px;letter-spacing:.08em;font-weight:1000;color:#7c9a90}.evidence-copy{font-size:clamp(12px,1.1vw,15px);line-height:1.42;font-weight:900;flex:1;overflow-wrap:anywhere}.evidence-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px;font-weight:1000;letter-spacing:.09em;color:#80aaa0}.evidence-drop{border:2px dashed #88bcb1;min-height:67px;margin-top:16px;border-radius:14px;background:#daece4;display:flex;align-items:center;justify-content:center;gap:13px;font-size:13px;letter-spacing:.06em;font-weight:1000;color:#709b92;transition:background .18s,border-color .18s,transform .18s}.evidence-drop-mark{font-size:25px;line-height:1}.evidence-drop.evidence-ready{background:#e5ad62;color:#22435a;border-color:#d4954b;border-style:solid;box-shadow:0 4px #bc8145}.evidence-drop.evidence-ready:hover{background:#f2bc73;transform:translateY(-1px)}.evidence-drop.evidence-over{background:#fff7d1;border-color:#f2ab50}.evidence-drop:disabled{opacity:.75}.case-bottom-note{display:flex;justify-content:space-between;gap:10px;color:#83a19a;font-size:10px;font-weight:750;margin-top:16px}.mode-circuito .evidence-card{border-radius:8px;clip-path:polygon(0 0,96% 0,100% 8%,100% 100%,4% 100%,0 90%)}.mode-radio .evidence-card{background:repeating-linear-gradient(0deg,#fffcf2 0,#fffcf2 19px,#f0eee0 20px)}.mode-scanner .evidence-panel{background:linear-gradient(115deg,#e1f3f1,#e9f4ff)}.ranking-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;background:#112c41bc;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);padding:16px}.ranking-modal,.help-modal{background:#fffdf4;border:4px solid #f8eacb;border-radius:23px;box-shadow:0 20px 80px #11283c7a;width:min(800px,100%);padding:27px;max-height:calc(100vh - 36px);overflow:auto}.ranking-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ranking-head h2{display:flex;align-items:center;gap:10px;font-size:27px;letter-spacing:-.05em;color:#204458;margin:5px 0}.ranking-head h2 svg{color:#eba458}.icon-btn{border:0;display:grid;place-items:center;border-radius:12px;background:#edf3ed;color:#466c72;width:43px;height:43px;flex-shrink:0}.ranking-explain{font-size:14px;line-height:1.6;color:#738782;font-weight:650}.ranking-table-wrap{overflow:auto;border:1px solid #e6e7d9;border-radius:14px;margin-top:20px}.ranking-table-wrap table{width:100%;border-collapse:collapse;min-width:500px}.ranking-table-wrap th{background:#e6f0e8;color:#55766b;font-weight:1000;letter-spacing:.08em;font-size:10px;text-align:left;padding:13px}.ranking-table-wrap td{border-top:1px solid #eef0e7;padding:13px 12px;font-size:13px;color:#436376}.ranking-table-wrap tbody tr:nth-child(2n){background:#f8f9f1}.empty-rank{padding:42px 16px;text-align:center;color:#b38a5f;display:flex;align-items:center;flex-direction:column;gap:13px}.empty-rank strong{color:#37626b}.empty-rank p{font-size:13px;color:#7e9991;margin:0}.help-modal{max-width:695px}.help-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.help-steps>div{background:#eff4ec;border:1px solid #dfebda;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:7px}.help-steps svg{color:#d38d54}.help-steps strong{font-size:14px;color:#335b68}.help-steps p{font-size:12px;font-weight:650;line-height:1.55;color:#75847e;margin:0}.primary-button,.secondary-button{border:0;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:11px 20px;font-size:14px;font-weight:1000}.primary-button{background:#edaa62;color:#1c4055;box-shadow:0 4px #d18c4c}.secondary-button{background:#e6f1e9;color:#2e6471;border:1px solid #bad7c7}.help-close{margin-top:24px}.finish-shell{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:50px 18px;min-height:600px}.finish-crown{font-size:74px;filter:drop-shadow(0 8px 0 #e2e1d5);margin-bottom:10px}.finish-shell h1{font-size:clamp(31px,4vw,55px);letter-spacing:-.055em;margin:12px 0;color:#204658}.finish-shell>p{max-width:540px;color:#6d8883;font-weight:700;font-size:16px;line-height:1.6;margin:2px auto 25px}.finish-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;width:min(820px,100%)}.finish-stats>div{padding:20px 12px;border:1px solid #d9e6d7;background:#fff;border-radius:15px;display:flex;flex-direction:column;align-items:center;gap:7px}.finish-stats svg{color:#dba05b}.finish-stats strong{font-size:24px;color:#285365}.finish-stats span{font-size:11px;font-weight:850;color:#7c918c}.finish-actions{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap;justify-content:center}.toast{position:fixed;z-index:90;top:90px;left:50%;transform:translate(-50%);min-width:min(400px,calc(100% - 30px));max-width:620px;padding:14px 20px;border-radius:14px;background:#fffcf3;color:#32566a;box-shadow:0 12px 45px #172d414d;border:2px solid #d9eee6;font-weight:950;text-align:center;display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px}.toast-good{border-color:#8dd2ac}.toast-bad{border-color:#edb49a}.toast-note{border-color:#f7d38e}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes pulse{0%,to{opacity:.4}50%{opacity:.95}}@keyframes playerBob{0%{transform:translateY(0)}to{transform:translateY(-4px)}}@keyframes dangerFlash{0%,to{filter:none}50%{filter:brightness(1.3)}}@media(max-width:1000px){.hero-left h1{font-size:clamp(45px,6.5vw,70px)}.hero-right{min-height:430px}.hero-art{height:420px}.feature-pills{margin-bottom:24px}.case-briefing{padding:23px 22px}.evidence-panel{padding:22px}.case-lila svg{height:123px;width:112px}.evidence-grid{grid-auto-rows:minmax(148px,1fr)}.scene-info{max-width:55%}.world-panel{max-height:none}}@media(max-width:740px){.app-shell{overflow:visible}.top-nav{min-height:66px;padding:10px 14px}.brand-emblem{height:39px;width:39px;font-size:24px;border-radius:12px}.nav-brand{gap:10px}.nav-brand strong{font-size:11px}.nav-brand span{font-size:8px;letter-spacing:.12em}.nav-button{padding:9px 11px}.nav-button span{display:none}.nav-button svg{width:19px;height:19px}.footer-note{padding:12px 14px;font-size:10px;line-height:1.4}.footer-content{gap:6px 8px}.start-shell{grid-template-columns:1fr;gap:0;min-height:auto;padding:28px 20px 32px}.hero-left{padding:0}.hero-pretitle{margin-bottom:17px;font-size:10px}.hero-left h1{font-size:clamp(45px,10vw,67px)}.hero-lede{font-size:15px;margin:20px 0}.feature-pills{gap:7px;margin:16px 0 20px}.feature-pills span{font-size:10px;padding:9px 10px}.name-form{padding:18px;border-radius:18px}.start-form-row{flex-direction:column}.start-form-row input,.start-form-row button{width:100%;height:49px}.hero-right{min-height:310px}.hero-art{height:290px;width:370px;max-width:100%}.hero-lila{max-height:220px;max-width:180px;top:0;left:19%}.hero-art-bubble{right:2%;top:12%;font-size:11px;width:116px}.hero-caption{font-size:8px;text-align:center}.art-tree,.art-thing,.art-gate{font-size:34px}.hero-spark{font-size:24px}.game-layout{gap:8px;padding:10px 9px 12px}.game-summary{align-items:flex-start;flex-direction:column;gap:8px}.summary-location{gap:9px}.location-icon{height:41px;width:41px;border-radius:10px}.location-icon svg{width:21px}.summary-location h1{font-size:23px}.summary-location p{font-size:10px}.summary-location .eyebrow{font-size:9px}.summary-stats{width:100%}.hud-stat{flex:1;min-width:0;padding:8px 10px;border-radius:10px}.hud-stat strong{font-size:19px}.hud-stat span{font-size:8px}.world-panel{aspect-ratio:1/1.14;max-height:630px;min-height:390px;border-width:4px;border-radius:15px}.scene-info{max-width:72%;left:9px;top:9px;padding:8px 10px;border-radius:10px}.scene-label{font-size:8px}.scene-info h2{font-size:15px}.scene-info p{font-size:9px;line-height:1.25}.world-info-right{top:9px;right:8px}.minimap{width:98px;padding:6px;border-radius:10px}.minimap-grid{height:52px}.minidot{height:8px;width:8px;border-width:1.5px}.minidot-player{height:9px;width:9px}.minimap-text{font-size:7px}.world-bottom-overlay{left:7px;right:7px;bottom:6px}.world-bottom-overlay span{font-size:8px;padding:6px 7px;border-radius:7px}.world-bottom-overlay span svg{height:13px;width:13px}.game-footer{min-height:0;justify-content:center}.how-move{display:none}.room-count{font-size:9px}.dpad{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:3px 6px 10px}.dpad-arrows{display:grid;grid-template-areas:". up ." "left down right";grid-template-columns:repeat(3,52px);grid-template-rows:repeat(2,52px);gap:5px}.dpad-arrows button,.dpad-action{touch-action:none;border:2px solid #b6d5c8;background:#eef9ec;color:#255b6e;border-radius:13px;font-weight:950;box-shadow:0 3px #c4d9ce;display:grid;place-items:center}.dpad-arrows button:active,.dpad-action:active{background:#cce7d9;transform:translateY(2px)}.dpad-up{grid-area:up}.dpad-left{grid-area:left}.dpad-right{grid-area:right}.dpad-down{grid-area:down}.dpad-action{display:flex;align-items:center;gap:8px;padding:0 15px;height:63px;align-self:flex-end;white-space:nowrap;background:#ffdea2;border-color:#efc579;font-size:13px}.dpad-action span{font-size:21px;color:#ca8556}.case-shade{padding:6px;align-items:stretch}.case-dialog{max-height:none;height:100%;border-width:2px;border-radius:16px}.case-topbar{padding:9px 12px;min-height:68px}.case-topbar-left{gap:9px}.case-top-icon{height:44px;width:44px;font-size:26px}.case-spot{font-size:14px}.muted-light{font-size:8px}.timer-dial{height:56px;width:56px}.timer-inner{font-size:13px}.case-body{grid-template-columns:1fr;display:block;overflow:auto;padding-bottom:30px}.case-briefing{min-height:0;padding:17px 18px 14px}.case-tag{font-size:9px;padding:6px 8px}.case-hintlabel{font-size:10px;margin:12px 0 6px}.case-briefing h2{font-size:clamp(18px,5vw,23px)}.case-paper-rule{margin:11px 0 5px;height:3px}.case-help{font-size:12px;margin:5px 0 8px}.read-button{font-size:11px;padding:6px 10px}.case-lila{display:none}.evidence-panel{padding:15px 13px 20px}.evidence-panel-head h3{font-size:19px;margin-bottom:12px}.case-note{display:none}.evidence-grid{grid-auto-rows:minmax(107px,auto);gap:8px}.evidence-card{padding:9px;gap:6px;border-radius:11px;box-shadow:0 3px #bfd9cc}.evidence-symbol{font-size:19px}.evidence-indicator{font-size:8px}.evidence-copy{font-size:clamp(10.5px,3.1vw,13px);line-height:1.35}.evidence-card-bottom{font-size:8px}.evidence-drop{min-height:55px;margin-top:11px;font-size:11px}.case-bottom-note{font-size:9px;flex-direction:column;gap:2px;margin-top:12px}.finish-shell{min-height:unset}.finish-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.finish-stats strong{font-size:21px}.ranking-modal,.help-modal{padding:17px}.ranking-head h2{font-size:21px}.help-steps{grid-template-columns:1fr;gap:8px}.help-steps>div{padding:12px}.help-steps p{font-size:11px}.toast{top:72px}.room-count{flex:1;justify-content:center}}@media(max-width:390px){.scene-info{max-width:68%}.scene-info p{font-size:8px}.minimap{width:78px}.minimap-grid{height:40px}.dpad-arrows{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,45px)}.dpad-action{font-size:11px;padding:0 10px}.evidence-card{padding:8px}.evidence-copy{font-size:10.5px}.evidence-grid{grid-auto-rows:minmax(113px,auto)}}@media(max-height:690px)and (min-width:741px){.case-dialog{max-height:98vh}.case-body{overflow:auto}.case-briefing{min-height:400px}.case-lila{display:none}.evidence-grid{grid-auto-rows:minmax(112px,1fr)}.evidence-panel{padding:16px 21px}.evidence-card{padding:9px}.case-topbar{min-height:65px;padding:9px 18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.scene-info{max-width:none;padding:8px 13px;border-radius:11px}.scene-info h2,.scene-info p{display:none}@media(min-width:741px){.world-panel{width:min(100%,calc((100vh - 290px)*1.85185));max-height:none}}@media(max-width:740px){.scene-info{max-width:61%;padding:7px 9px}.scene-label{font-size:7.5px}}
