:root{font-family:Noto Sans CJK SC,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#e5e8d5;background:#091b1d;font-synthesis:none;--gold:#d9b77b;--muted:#91a69b;--line:rgba(185,205,174,.18);--panel:#102b29;--mint:#a0c8ad}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{overscroll-behavior:none}canvas{display:block;touch-action:none}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:2px solid #dfc48e;outline-offset:4px}button:disabled{cursor:default;opacity:.38}button:active:not(:disabled){filter:brightness(1.22)}.game-ui{position:fixed;inset:0;pointer-events:none;z-index:10;-webkit-user-select:none;user-select:none;touch-action:none;font-size:14px}.game-ui button,.game-ui input,.game-ui details{pointer-events:auto}.hud{position:absolute;inset:0}.in-menu .hud{display:none}.player-panel{position:absolute;left:27px;top:24px;display:flex;align-items:center;gap:13px;width:245px;filter:drop-shadow(0 2px 6px #001412)}.avatar-sigil{width:44px;height:44px;border:1px solid #bec7a28c;transform:rotate(45deg);display:grid;place-items:center;background:#12322cdd;color:#dfc38e;font-size:30px}.avatar-sigil:first-letter{transform:rotate(-45deg)}.player-vitals{flex:1}.vital-title{font-size:12px;letter-spacing:2px;font-weight:600;display:flex;justify-content:space-between;align-items:center}.vital-title span{color:#b6c5a8;font-size:9px;font-weight:400;letter-spacing:1px}.health-track{height:6px;margin:9px 0 6px;background:#081e1edd;border:1px solid #a0b39633;overflow:hidden}.health-track i,.boss-track i{height:100%;display:block;background:linear-gradient(90deg,#6c947d,#c6d2a4);transition:width .2s}.vital-sub{font-size:9px;color:#a9bbaa;display:flex;justify-content:space-between;gap:10px}.top-actions{position:absolute;right:23px;top:22px;display:flex;gap:10px}.round-button{height:36px;min-width:36px;border:1px solid #a3bc9e4d;background:#0d2825bb;padding:0 12px;font-size:16px}.round-button span{font-size:10px;letter-spacing:1px;margin-left:5px}.pause-button{font-size:18px;letter-spacing:3px;padding:0 10px}.quest-panel{position:absolute;top:87px;right:26px;max-width:285px;display:flex;align-items:flex-end;gap:8px;flex-direction:column;text-align:right;text-shadow:0 2px 6px #05201a}.eyebrow{font-size:9px;color:var(--gold);letter-spacing:2px;line-height:1.8;display:block}.quest-panel strong{font-size:12px;font-weight:400;line-height:1.7;max-width:260px}.location{font-size:9px;color:#acc4ad;display:flex;align-items:center;gap:6px}.location i{width:4px;height:4px;display:block;background:#8ba986;transform:rotate(45deg)}.boss-panel{position:absolute;top:27px;left:50%;transform:translate(-50%);width:340px;max-width:35vw;text-align:center;filter:drop-shadow(0 2px 5px #001a17)}.boss-title{font-family:Songti SC,SimSun,serif;font-size:16px;letter-spacing:4px;color:#ead4ac}.boss-title span{font:8px system-ui;letter-spacing:1px;display:block;margin:4px 0 6px;color:#bdba9b}.boss-track{height:6px;border:1px solid #b4a47f77;background:#172c2bea;padding:1px}.boss-track i{background:linear-gradient(90deg,#b27e66,#e2c493)}.boss-tip{font-size:9px;margin-top:6px;color:#d4c9ae;letter-spacing:.5px}.region-marker{position:absolute;left:31px;bottom:33px;display:flex;align-items:center;gap:14px;color:#99b39b8c;font-size:7px;letter-spacing:2px}.compass{border:1px solid #99b39b44;width:30px;height:30px;display:grid;place-items:center;font-family:serif;font-size:13px}.action-cluster{position:absolute;right:25px;bottom:25px;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.skill-row{display:flex;gap:10px;padding-right:9px}.skill-button{width:58px;height:60px;position:relative;border:1px solid #adc19e66;background:#102a26d9;box-shadow:0 3px 14px #00161166;display:flex;align-items:center;justify-content:center;flex-direction:column}.skill-glyph{font-family:serif;font-size:26px;color:#ddc593;line-height:1}.skill-name{font-size:8px;color:#b5c6ad;margin-top:4px}.skill-button kbd{position:absolute;top:2px;left:3px;font-size:8px;border:0;padding:0;color:#bac2a7}.skill-button.locked{border-style:dashed;opacity:.5}.skill-button.locked .skill-glyph{opacity:.28}.lock-mark{position:absolute;top:17px;font-size:14px;color:#b4c1ab}.cooldown{position:absolute;inset:0;background:#061d1ad1;display:grid;place-items:center;font-size:18px;font-weight:400;color:#e1c591}.combat-buttons{display:flex;align-items:flex-end;gap:10px}.combat-buttons button{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;background:radial-gradient(circle at 40% 20%,#25473b,#122d28dd);border:1px solid #d0cc9977;border-radius:50%;box-shadow:0 4px 16px #011d1ab3}.combat-buttons button span{font-size:27px;line-height:1;color:#e0cf9f}.combat-buttons button small{font-size:8px;color:#c4ccb0;margin-top:5px}.combat-buttons button kbd{position:absolute;bottom:-8px;background:#142c27ed;font-size:8px;padding:1px 4px;border:1px solid #8a9e7955}.attack-button{height:76px;width:76px}.combat-buttons .attack-button span{transform:rotate(17deg);font-size:42px;line-height:.8}.dodge-button{height:56px;width:56px;margin-bottom:3px}.insight-button{height:58px;width:58px;margin-bottom:1px}.combat-buttons .insight-button span{font-size:22px}.interaction-prompt{position:absolute;left:50%;bottom:108px;transform:translate(-50%);display:none;pointer-events:auto;max-width:40vw}.interaction-prompt.visible{display:block}.interact-button{border:1px solid #e1d09d66;background:#112f2ae8;box-shadow:0 5px 20px #011a18aa;padding:9px 15px;font-size:11px;display:flex;align-items:center;gap:10px;white-space:nowrap}.interact-button kbd{background:#becbb5;color:#1a382d;border:0}.keyboard-hint{position:absolute;bottom:22px;left:50%;transform:translate(-50%);font-size:8px;color:#99b49c;white-space:nowrap;text-shadow:0 1px 4px #00140f}.keyboard-hint span{margin:0 7px;opacity:.6}kbd{font-family:inherit;border:1px solid #a3b49d66;border-radius:2px;font-size:.85em;padding:2px 4px}.joystick-zone{display:none}.modal-layer{position:absolute;inset:0}.modal-backdrop{position:absolute;inset:0;pointer-events:auto;background:#041716b3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:26px;touch-action:pan-y}.panel{position:relative;width:460px;max-width:100%;max-height:calc(100dvh - 52px);overflow:auto;border:1px solid #bdc4a14d;background:linear-gradient(140deg,#1a3731f7,#0c2524fa);box-shadow:0 24px 90px #00100f9c;padding:30px;scrollbar-width:thin;scrollbar-color:#778a67 #132c27;pointer-events:auto;overscroll-behavior:contain}.panel:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,#cbb68588,transparent)}.wide-panel{width:850px}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:23px}.panel-header h2{margin:5px 0 0;font-family:Songti SC,SimSun,serif;font-size:26px;letter-spacing:3px;font-weight:500;line-height:1.4;color:#e5dfc2}.close-button{border:1px solid #93aa8b55;width:32px;height:32px;flex-shrink:0;font-size:22px;line-height:1;color:#bfc7ac;background:#122e27}.panel-description{font-size:12px;line-height:2;color:#adc0ac;margin:0 0 22px}.primary{background:linear-gradient(110deg,#cfb47f,#e0c690);color:#223c31;font-size:12px;letter-spacing:2px;font-weight:600;border:1px solid #e0c899;padding:13px 18px;min-height:44px}.primary span{float:right;letter-spacing:0}.full-button{display:block;width:100%;margin-top:20px}.pause-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pause-actions button{border:1px solid #8da0814d;padding:12px 15px;text-align:left;font-size:11px;min-height:44px;background:#102c25}.pause-actions .primary{background:linear-gradient(110deg,#cfb47f,#e0c690);grid-column:1/-1}.pause-actions .muted-button{grid-column:1/-1;color:#8fa68f;text-align:center;font-size:10px;border:0}.fine-print{font-size:10px;line-height:1.9;color:#7e9986;margin:22px 0 0}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:19px 0;border-top:1px solid var(--line);gap:18px}.setting-row strong{font-size:13px;font-weight:400;color:#dddac0}.setting-row p{font-size:10px;color:#8da68f;margin:6px 0 0;line-height:1.7}.toggle{display:block;width:41px;height:22px;position:relative;flex-shrink:0;pointer-events:auto}.toggle input{position:absolute;inset:0;margin:0;opacity:0;z-index:2;cursor:pointer}.toggle span{display:block;width:41px;height:22px;border:1px solid #7d967b;background:#102c26;border-radius:15px;position:relative}.toggle span:after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#718c76;transition:.15s}.toggle input:checked+span{background:#849e7c}.toggle input:checked+span:after{left:22px;background:#e8e0bc}.setting-note{font-size:11px;line-height:1.9;padding:15px 17px;border-left:2px solid #9caa7f55;color:#97ad94;background:#0e282333;margin:15px 0 0}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px 28px}.help-grid article>span{font-size:9px;color:#c7ad79;letter-spacing:2px}.help-grid h3{font-size:14px;color:#d2d8bc;font-weight:400;margin:10px 0}.help-grid p{font-size:11px;line-height:2;color:#9cb19a;margin:6px 0}.help-grid kbd{font-size:9px;line-height:2}.journal-intro{padding:15px;background:#14352a;border:1px solid #7f9e7329;margin-bottom:20px}.journal-intro p{font-size:12px;color:#b9cab0;line-height:1.8;margin:6px 0 0}.discovery-list{display:grid;gap:12px}.discovery-card{display:flex;gap:20px;border:1px solid #6d8a6b33;padding:18px;background:#0e2823}.discovery-glyph{font-size:36px;color:#688469;min-width:48px;display:grid;place-items:center}.discovered .discovery-glyph{color:#d6bd86}.discovery-card h3{font-family:serif;font-size:18px;letter-spacing:2px;font-weight:400;margin:3px 0 7px;color:#c7d2b6}.discovery-card p{font-size:11px;line-height:1.9;margin:0;color:#8da78d}.discovery-card .eyebrow{font-size:8px;color:#7f9c80}.discovered .eyebrow{color:#c7ae77}.journal-stats{display:flex;justify-content:space-around;border-top:1px solid var(--line);margin-top:22px;padding-top:20px;font-size:10px;color:#8ea78e}.journal-stats b{display:block;text-align:center;margin-top:10px;font-weight:400;color:#dfd4ab;font-size:19px}.dialogue-overlay{position:absolute;inset:0;pointer-events:auto;background:linear-gradient(0deg,#001b1ac9,transparent 65%);display:flex;justify-content:center;align-items:flex-end;padding:32px}.dialogue-card{width:760px;max-width:100%;padding:28px 32px;border:1px solid #aaba9155;background:linear-gradient(120deg,#16382ff7,#0e2b27f7);display:flex;gap:25px;box-shadow:0 10px 50px #001b1988}.speaker-portrait{width:65px;height:80px;flex-shrink:0;display:grid;place-items:center;font-family:serif;font-size:32px;color:#c6bf94;border:1px solid #9aab7b66;background:radial-gradient(#365e43,#1c3c30);margin-top:5px;position:relative}.speaker-portrait:before{content:"";position:absolute;inset:5px;border:1px solid #879e6b44}.dialogue-content{flex:1;min-width:0}.dialogue-content>.eyebrow{font-size:13px;letter-spacing:2px;color:#d9c58f}.dialogue-content p{font-size:14px;color:#d2dbc3;line-height:2;margin:10px 0 12px;white-space:pre-line}.dialogue-footer{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#718e77}.dialogue-footer button{font-size:11px;color:#d7c494;padding:9px 0 5px 20px}.toast{position:absolute;left:50%;top:20%;transform:translate(-50%,-8px);width:max-content;max-width:min(80vw,600px);padding:12px 20px;background:#0b2924ed;border:1px solid #c2c99a66;box-shadow:0 7px 30px #001d1980;font-size:12px;color:#ddd8b8;text-align:center;line-height:1.8;opacity:0;transition:.2s;z-index:50}.toast.visible{opacity:1;transform:translate(-50%)}.orientation-tip{display:none}.method-tabs{display:flex;border-bottom:1px solid #8ca27f44;gap:8px;margin-top:-4px;margin-bottom:22px}.method-tabs button{padding:10px 12px;font-size:11px;color:#8da88d;position:relative}.method-tabs button.active{color:#e2c18a}.method-tabs button.active:after{content:"";position:absolute;bottom:-1px;height:2px;left:0;right:0;background:#d6b87e}.math-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:30px}.math-main{min-width:0}.math-prompt{font-size:14px;line-height:2;color:#d2dbc2;padding:16px 18px;background:#0c2723;border-left:2px solid #bba47388;white-space:normal}.math-form{margin-top:20px}.math-field{display:block;margin-bottom:15px;pointer-events:auto}.math-field>span{font-size:11px;line-height:1.8;display:block;color:#b8c6a9;margin-bottom:7px}.math-field input:not([type=range]){background:#09231f;border:1px solid #78926e66;border-radius:0;width:100%;padding:11px 13px;color:#e1dfbf;font-family:system-ui,sans-serif;font-size:15px;min-height:43px;-webkit-user-select:text;user-select:text}.math-field input::placeholder{font-size:10px;color:#67846d;opacity:1}.math-field small{font-size:9px;line-height:1.8;color:#79997f;display:block;margin-top:6px}.field-error{font-style:normal;color:#e0a184;font-size:10px;line-height:1.7;margin-top:5px;display:block}.math-field.invalid input{border-color:#c18a6a}.math-keypad{display:flex;gap:5px;flex-wrap:wrap;border-top:1px solid #859b7626;padding-top:12px;margin-top:8px}.math-keypad button{border:1px solid #7d976c55;background:#142e25;min-width:31px;height:30px;font-size:15px;color:#c3c9a7}.answer-feedback{font-size:11px;line-height:1.9;margin-top:15px;padding:0;color:#a1bc97}.answer-feedback.error{border-left:2px solid #c49c75;background:#3a332133;padding:10px 12px;color:#d7b393}.answer-feedback.success{color:#b7d0a6}.math-aside{border-left:1px solid var(--line);padding-left:25px}.insight-sigil{font-family:serif;font-size:77px;color:#a3b18166;position:relative;text-align:center;line-height:1.4;margin-bottom:15px}.insight-sigil span{font-size:27px;color:#c8bb8e;position:absolute;left:50%;top:31%;transform:translate(-50%)}.math-aside h3{font-family:serif;font-size:18px;letter-spacing:1px;font-weight:400;color:#d4cfaa;margin:8px 0 10px}.math-aside>p{font-size:10px;line-height:2;color:#90a98c;margin:0 0 15px}.hint-button{border:1px solid #a0ad7f66;width:100%;padding:11px 8px;font-size:10px;color:#c9c195;display:flex;justify-content:space-between;gap:8px}.hint-button span{font-size:8px;color:#8d9d78}.hint-list article{padding:12px 0;border-top:1px solid #7f986833}.hint-list article span{font-size:9px;color:#c8b17d;letter-spacing:1px}.hint-list article p{font-size:11px;line-height:1.95;color:#aab99b;margin:7px 0 0;white-space:pre-line}.math-aside .recognition-note{font-size:9px;color:#698c73;margin-top:20px;line-height:1.9}.range-field{display:flex;align-items:center;gap:15px}.range-field input{width:100%;height:28px;accent-color:#d2be83;margin:0;cursor:ew-resize;touch-action:pan-x}.range-field output{background:#0b241e;border:1px solid #80977055;font-size:13px;min-width:38px;padding:6px;text-align:center;color:#ddcf9f}.square-lab{border:1px solid #6f946c44;margin-top:15px;padding:14px;background:#102d25}.lab-caption{display:flex;flex-direction:column;gap:6px}.lab-caption span{font-size:8px;letter-spacing:1px;color:#8aa080}.lab-caption strong{font-size:11px;font-weight:400;color:#c6c7a4}.square-lab svg{width:100%;display:block;margin-top:5px;max-height:160px}.lab-live{display:flex;justify-content:space-between;font-size:9px;color:#91a789;gap:10px;margin:7px 0}.lab-live b{font-weight:400;color:#dfc18a}.lab-equation{padding:9px;background:#0a231d;text-align:center;font-size:14px;color:#d2d3af;font-family:system-ui,sans-serif}.lab-equation b{color:#d3be87;font-weight:400}.square-lab p{font-size:9px;line-height:1.8;color:#759b7b;margin:10px 0 0}.square-lab.aligned{border-color:#b2ba8477;background:#163c2c}.square-lab.aligned .lab-center{stroke:#c9e5ad}.discovery-success{text-align:center;padding:0 20px 10px}.discovery-success>span{font-family:serif;font-size:75px;line-height:1.5;color:#d8c490;text-shadow:0 0 35px #c9dca32b}.discovery-success p{font-size:14px;line-height:2;color:#c7d3b7;white-space:pre-line}.skill-explanation{font-size:12px;line-height:2;color:#bba978;margin:15px auto 5px;max-width:500px}.verified-proof{border-top:1px solid #8ea67d44;margin-top:15px;padding-top:15px;font-size:11px;color:#94ae8e}.verified-proof summary{cursor:pointer;padding:4px 0;color:#b3c19d}.verified-proof ol{padding-left:25px;line-height:2.1;color:#a6b99c}.death-sigil{text-align:center;font-size:90px;color:#a3b68d;line-height:1.3;margin:0 0 20px}.ending-emblem{text-align:center;font-family:serif;font-size:115px;color:#829c6d88;position:relative;line-height:1.2}.ending-emblem span{font-size:44px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#d4be80}.ending-story{color:#b1c2a6;font-size:13px;line-height:2;text-align:center;max-width:580px;margin:20px auto}.panel blockquote{margin:25px 0;text-align:center;color:#d5c394;font-family:serif;letter-spacing:2px;font-size:18px;line-height:1.9}.panel blockquote span{font-family:system-ui;font-size:11px;color:#839f83;letter-spacing:0}.title-screen{position:absolute;inset:0;overflow:hidden;pointer-events:auto;background:#0b2326;color:#e5e1c4}.title-art{position:absolute;width:100%;height:100%;inset:0;opacity:.95}.title-screen:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#081d20fa,#092124eb 26%,#0c25288c 49%,#0e242500 74%),linear-gradient(0deg,#061d20 0%,transparent 16%,transparent 85%,#0a232966 100%)}.title-grain{position:absolute;inset:0;opacity:.035;z-index:1;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.5' filter='url(%23n)'/%3E%3C/svg%3E");pointer-events:none}.title-top{position:absolute;z-index:2;left:5.5%;right:5.5%;top:29px;display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:2px;color:#9db4a0}.studio-mark{font-size:10px;letter-spacing:3px;color:#d0c99f}.title-copy{position:absolute;top:50%;left:9%;transform:translateY(-45%);z-index:2;max-width:440px}.title-kicker{font-size:7px;letter-spacing:3px;color:#9db698;display:flex;align-items:center;gap:8px;margin-bottom:18px}.title-kicker i{width:20px;height:1px;background:#b8bd94}.title-copy h1{font-family:Songti SC,STSong,SimSun,serif;font-size:76px;font-weight:400;letter-spacing:11px;line-height:1.25;margin:0;color:#e6dfbf;text-shadow:0 4px 35px #01191a}.title-english{font-family:Georgia,serif;font-size:13px;letter-spacing:6.7px;color:#9cac8d;margin-top:12px}.title-intro{font-family:Songti SC,SimSun,serif;font-size:14px;line-height:2.1;letter-spacing:3px;color:#9ab2a0;margin:24px 0}.chapter-chip{display:flex;align-items:center;gap:14px;margin:23px 0}.chapter-chip span{font-size:9px;color:#849f8b;letter-spacing:2px}.chapter-chip strong{font-size:13px;letter-spacing:5px;color:#d4c99d;font-weight:400}.chapter-chip i{font-style:normal;font-size:10px;color:#6e8d7e;border-left:1px solid #7b927355;padding-left:13px}.title-menu{width:285px}.title-start{width:100%;display:flex;align-items:center;justify-content:space-between;font-size:13px;text-align:left;padding:13px 18px;border:0;background:linear-gradient(90deg,#d4ba81,#c4b884);color:#273f32;letter-spacing:4px;min-height:46px;box-shadow:0 4px 35px #96a46b1a}.title-start b{font-weight:400;font-size:20px}.title-continue{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #9bb19133;width:100%;font-size:11px;padding:17px 5px 13px;letter-spacing:2px;color:#d1d3ad}.title-continue span{font-size:8px;letter-spacing:0;color:#849e86}.title-secondary{display:flex;gap:22px;padding-top:16px}.title-secondary button{font-size:9px;color:#8fa88d;padding:0;letter-spacing:1px}.title-bottom{position:absolute;z-index:2;bottom:25px;left:5.5%;right:5.5%;display:flex;justify-content:space-between;font-size:8px;color:#698a79;letter-spacing:1px;line-height:1.8}.title-bottom span:first-child{display:flex;align-items:center;gap:7px}.title-bottom i{width:4px;height:4px;border-radius:50%;background:#8ca881;box-shadow:0 0 7px #8ca88155}.art-caption{position:absolute;bottom:14%;right:9%;z-index:2;text-align:center;color:#8fae9b}.art-caption span{font-family:Georgia,serif;font-size:8px;letter-spacing:5px;display:block}.art-caption i{font-style:normal;font-size:8px;letter-spacing:3px;display:block;margin-top:12px;color:#6f9884}.reduced-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(min-width:1400px){.title-copy{left:12%}.title-copy h1{font-size:92px}.title-intro{margin:34px 0}.title-menu{width:320px}.title-art{width:110%;left:-5%}}@media(max-height:650px)and (min-width:701px){.title-top{top:18px}.title-copy{transform:translateY(-43%);left:8%}.title-kicker{margin-bottom:11px;font-size:6px}.title-copy h1{font-size:60px;letter-spacing:9px}.title-english{font-size:10px;letter-spacing:5px;margin-top:7px}.title-intro{font-size:12px;line-height:1.9;margin:16px 0}.chapter-chip{margin:15px 0}.title-start{min-height:42px;padding:9px 16px}.title-continue{padding:12px 4px 10px}.title-secondary{padding-top:12px}.title-bottom{bottom:15px}.art-caption{bottom:16%}.panel{padding:24px}.panel-header{margin-bottom:18px}.panel-header h2{font-size:23px}.modal-backdrop{padding:18px}.panel{max-height:calc(100dvh - 36px)}}@media(pointer:coarse),(max-width:900px){.player-panel{left:19px;top:17px;width:205px;gap:11px}.avatar-sigil{width:33px;height:33px;font-size:23px}.vital-title{font-size:10px}.vital-title span{font-size:8px}.health-track{height:5px;margin:6px 0 5px}.vital-sub{font-size:8px}.top-actions{right:18px;top:15px;gap:8px}.round-button{height:33px;min-width:33px;font-size:14px;padding:0 9px}.round-button span{font-size:8px}.quest-panel{right:18px;top:64px;gap:4px;max-width:220px}.quest-panel .eyebrow{font-size:7px;letter-spacing:1px}.quest-panel strong{font-size:10px;max-width:210px}.location{font-size:8px}.boss-panel{top:17px;max-width:34vw}.boss-title{font-size:12px;letter-spacing:3px}.boss-title span{font-size:7px;margin:2px 0 4px}.boss-tip{font-size:7px;line-height:1.7;margin-top:3px}.boss-track{height:5px}.keyboard-hint{display:none}.region-marker{left:22px;bottom:159px;gap:9px;font-size:6px;letter-spacing:1px}.compass{height:23px;width:23px;font-size:9px}.joystick-zone{display:block;position:absolute;pointer-events:auto;width:132px;height:132px;left:15px;bottom:14px;touch-action:none}.joystick-base{position:absolute;width:105px;height:105px;border:1px solid #b0c4974d;border-radius:50%;background:radial-gradient(circle,#9bb28b12,#0a2a2326);left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none}.joystick-base:before,.joystick-base:after{content:"";position:absolute;background:#bdcba92e;top:50%;left:10%;width:80%;height:1px}.joystick-base:after{transform:rotate(90deg)}.joystick-knob{position:absolute;width:43px;height:43px;border:1px solid #b6c79770;background:radial-gradient(circle,#7a997a88,#2b564077);border-radius:50%;top:calc(50% - 21.5px);left:calc(50% - 21.5px);box-shadow:0 3px 14px #00171155;z-index:1}.joystick-base i{position:absolute;top:calc(100% + 8px);font-style:normal;left:0;right:0;text-align:center;font-size:8px;letter-spacing:4px;color:#809b7b}.action-cluster{right:18px;bottom:19px;gap:10px}.skill-button{height:46px;width:48px}.skill-glyph{font-size:22px}.skill-name{font-size:7px;margin-top:3px}.skill-row{gap:8px;padding-right:5px}.skill-button kbd,.combat-buttons button kbd{display:none}.combat-buttons{gap:11px}.attack-button{width:68px;height:68px}.dodge-button{width:53px;height:53px}.insight-button{width:55px;height:55px}.combat-buttons button small{font-size:8px}.combat-buttons button span{font-size:24px}.combat-buttons .attack-button span{font-size:36px}.interaction-prompt{bottom:155px;max-width:50vw}.interact-button{padding:8px 13px;font-size:10px;gap:8px}.interaction-prompt kbd{display:none}.modal-backdrop{padding:17px}.panel{max-height:calc(100dvh - 34px);padding:24px}.panel-header h2{font-size:23px}.dialogue-overlay{padding:18px 24px}.dialogue-card{padding:22px 25px;gap:20px}.dialogue-content p{font-size:12px;line-height:1.9}.speaker-portrait{width:50px;height:68px;font-size:26px}.dialogue-content>.eyebrow{font-size:11px}.toast{font-size:11px;padding:10px 16px}.title-menu{width:265px}.math-layout{gap:22px;grid-template-columns:minmax(0,1fr) 190px}.math-aside{padding-left:20px}.math-field input:not([type=range]){font-size:16px}.title-top{font-size:7px;letter-spacing:1px}}@media(max-height:450px)and (min-width:600px){.title-top{top:12px;left:4%;right:4%;font-size:6px}.studio-mark{font-size:8px;letter-spacing:2px}.title-copy{top:49%;left:8%;transform:translateY(-41%)}.title-kicker{font-size:5px;letter-spacing:2px;margin-bottom:8px}.title-copy h1{font-size:48px;letter-spacing:7px}.title-english{font-size:8px;letter-spacing:4px;margin-top:4px}.title-intro{font-size:10px;letter-spacing:2px;line-height:1.8;margin:11px 0}.chapter-chip{margin:11px 0;gap:10px}.chapter-chip strong{font-size:10px;letter-spacing:4px}.chapter-chip span,.chapter-chip i{font-size:7px}.title-menu{width:230px}.title-start{min-height:36px;padding:6px 13px;font-size:11px}.title-continue{font-size:9px;padding:10px 3px 8px}.title-continue span{font-size:7px}.title-secondary{gap:18px;padding-top:10px}.title-secondary button{font-size:8px}.title-bottom{bottom:10px;left:4%;right:4%;font-size:6px}.art-caption{right:9%;bottom:13%}.art-caption span{font-size:6px;letter-spacing:3px}.art-caption i{font-size:6px;margin-top:8px}.player-panel{top:13px;left:17px;width:185px}.quest-panel{top:58px;max-width:180px}.quest-panel strong{font-size:9px}.quest-panel .eyebrow{font-size:6px}.top-actions{top:12px}.round-button span{display:none}.boss-panel{top:12px;width:260px}.region-marker{bottom:139px;font-size:5px}.joystick-zone{width:113px;height:113px;bottom:12px;left:12px}.joystick-base{width:88px;height:88px}.joystick-knob{width:38px;height:38px;left:calc(50% - 19px);top:calc(50% - 19px)}.joystick-base i{font-size:7px;top:calc(100% + 5px)}.action-cluster{bottom:16px;right:15px;gap:8px}.skill-button{width:42px;height:40px}.skill-glyph{font-size:19px}.skill-name{font-size:6px}.skill-row{gap:7px}.attack-button{width:59px;height:59px}.dodge-button,.insight-button{width:47px;height:47px}.combat-buttons{gap:9px}.combat-buttons button small{font-size:6px}.combat-buttons button span{font-size:20px}.combat-buttons .attack-button span{font-size:32px}.interaction-prompt{bottom:132px}.interact-button{font-size:9px;padding:7px 11px}.panel{padding:20px;max-height:calc(100dvh - 26px)}.modal-backdrop{padding:13px}.panel-header{margin-bottom:17px}.panel-header h2{font-size:21px}.panel-header .eyebrow{font-size:7px}.panel-description{font-size:11px;margin-bottom:16px}.dialogue-overlay{padding:14px 22px}.dialogue-card{padding:18px 23px}.dialogue-content p{font-size:12px;margin:7px 0}.dialogue-content>.eyebrow{font-size:10px}.speaker-portrait{width:47px;height:62px}.dialogue-footer button{font-size:10px;padding:6px 0}.math-layout{grid-template-columns:minmax(0,1fr) 180px;gap:23px}.math-prompt{font-size:12px;line-height:1.9;padding:12px 14px}.math-field>span{font-size:10px}.math-aside h3{font-size:15px}.insight-sigil{font-size:60px;margin-bottom:5px}.insight-sigil span{font-size:21px}.help-grid{gap:18px}.help-grid h3{font-size:12px}.help-grid p{font-size:10px}}@media(max-width:599px){.title-top{left:7%;right:7%;top:23px}.title-top>span:last-child{font-size:6px;letter-spacing:0;max-width:108px;line-height:1.8;text-align:right}.studio-mark{font-size:8px;letter-spacing:1px}.title-art{width:170%;height:100%;left:-50%;opacity:.65}.title-screen:after{background:linear-gradient(90deg,#081d20f2,#092124a8 80%),linear-gradient(0deg,#061d20 0%,transparent 40%)}.title-copy{left:10%;top:46%;transform:translateY(-42%);width:85%;max-width:none}.title-kicker{font-size:5px;letter-spacing:2px;margin-bottom:18px}.title-copy h1{font-size:53px;letter-spacing:7px}.title-english{font-size:9px;letter-spacing:4.5px;margin-top:9px}.title-intro{font-size:13px;line-height:2;letter-spacing:2px;margin:27px 0}.chapter-chip{margin:25px 0 20px}.chapter-chip strong{font-size:12px;letter-spacing:4px}.title-menu{width:270px;max-width:90%}.title-start{min-height:47px;font-size:12px}.title-continue{padding:18px 4px 13px}.title-secondary{padding-top:20px;gap:25px}.title-bottom{bottom:27px;left:10%;right:10%;flex-direction:column;gap:8px;font-size:7px}.art-caption{display:none}.orientation-tip{display:block;position:absolute;top:168px;left:50%;transform:translate(-50%);font-size:8px;padding:6px 10px;white-space:nowrap;color:#b7c7a9;background:#0a2623b3;border:1px solid #b7c7a922;pointer-events:none}.in-menu .orientation-tip{top:auto;bottom:108px;background:none;border:0;color:#6b8b78;font-size:8px}.player-panel{left:17px;top:19px;width:185px;gap:10px}.avatar-sigil{width:30px;height:30px;font-size:20px}.vital-title{font-size:9px}.vital-sub{font-size:7px}.top-actions{right:13px;top:15px;gap:7px}.round-button{height:31px;min-width:31px;padding:0 8px}.round-button span{display:none}.quest-panel{left:17px;right:auto;top:78px;align-items:flex-start;text-align:left;max-width:235px}.quest-panel strong{max-width:235px;font-size:10px}.quest-panel .eyebrow{font-size:7px}.boss-panel{top:120px;width:calc(100% - 40px);max-width:none}.boss-title{font-size:12px}.boss-title span{display:inline;font-size:7px;margin-left:10px;letter-spacing:0}.boss-tip{font-size:7px}.region-marker{bottom:168px;left:21px;font-size:5px}.joystick-zone{bottom:20px;left:11px;width:125px;height:125px}.joystick-base{height:99px;width:99px}.action-cluster{bottom:25px;right:12px;gap:12px}.skill-row{gap:6px;padding-right:3px}.skill-button{width:44px;height:44px}.skill-name{font-size:6px}.skill-glyph{font-size:20px}.combat-buttons{gap:7px}.attack-button{width:59px;height:59px}.dodge-button{width:45px;height:45px}.insight-button{width:46px;height:46px}.combat-buttons button small{font-size:6px}.combat-buttons button span{font-size:21px}.combat-buttons .attack-button span{font-size:32px}.interaction-prompt{bottom:191px;max-width:85vw}.interact-button{white-space:normal;line-height:1.7;font-size:10px;padding:8px 13px;text-align:center;justify-content:center}.modal-backdrop{padding:13px}.panel{max-height:calc(100dvh - 26px);padding:21px}.panel-header{margin-bottom:23px}.panel-header h2{font-size:23px;letter-spacing:2px}.panel-header .eyebrow{font-size:7px;letter-spacing:1.5px}.close-button{width:29px;height:29px;font-size:20px}.help-grid{grid-template-columns:1fr;gap:20px}.help-grid h3{font-size:14px}.help-grid p{font-size:11px}.pause-actions{gap:9px}.pause-actions button{font-size:10px;padding:12px}.dialogue-overlay{padding:15px;align-items:center;background:#031b19b3}.dialogue-card{padding:23px 20px;gap:15px;flex-direction:column}.speaker-portrait{width:42px;height:48px;font-size:21px;margin:0}.dialogue-content>.eyebrow{font-size:12px}.dialogue-content p{font-size:13px;line-height:2;margin:13px 0 20px}.dialogue-footer button{font-size:11px}.toast{top:27%;max-width:88vw;width:max-content;font-size:11px}.method-tabs{gap:3px;margin-bottom:18px}.method-tabs button{padding:10px 9px;font-size:10px}.math-layout{grid-template-columns:1fr;gap:25px}.math-prompt{font-size:13px;line-height:2;padding:14px}.math-aside{border-left:0;border-top:1px solid var(--line);padding:22px 0 0}.insight-sigil{display:none}.math-aside>.eyebrow{font-size:8px}.math-aside h3{font-size:17px;margin:7px 0}.math-aside>p{font-size:11px}.hint-button{min-height:43px;font-size:11px;padding:13px}.math-aside .recognition-note{font-size:10px;margin-top:15px}.hint-list article p{font-size:12px;line-height:2}.math-field>span{font-size:11px}.math-field input:not([type=range]){min-height:46px;padding:12px}.math-keypad{gap:6px}.math-keypad button{min-width:33px;height:35px}.answer-feedback{font-size:12px}.discovery-success{padding:0 2px 10px}.discovery-success p{font-size:13px}.skill-explanation{font-size:11px}.discovery-card{gap:12px;padding:14px 12px}.discovery-glyph{min-width:34px;font-size:29px}.discovery-card h3{font-size:16px}.discovery-card p{font-size:10px}.discovery-card .eyebrow{font-size:7px;letter-spacing:1px}.journal-stats{font-size:8px}.journal-stats b{font-size:16px}.ending-story{font-size:12px}.panel blockquote{font-size:16px;letter-spacing:1px}.panel blockquote span{font-size:10px}.range-field input{height:35px}.lab-caption span{font-size:7px}.lab-caption strong{font-size:10px}.square-lab{padding:12px}.lab-live{font-size:8px}}@media(max-width:360px){.title-copy h1{font-size:45px;letter-spacing:5px}.title-english{font-size:8px;letter-spacing:3.5px}.title-menu{width:240px}.joystick-zone{width:111px;height:111px;left:7px}.joystick-base{width:89px;height:89px}.action-cluster{right:9px}.skill-button{width:40px;height:41px}.attack-button{width:55px;height:55px}.dodge-button{width:41px;height:41px}.insight-button{width:42px;height:42px}.combat-buttons,.skill-row{gap:6px}.region-marker{bottom:153px}.panel{padding:18px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.has-modal .orientation-tip{display:none}.insight-routes{display:grid;gap:12px;margin-top:20px}.insight-routes>button{display:flex;align-items:center;text-align:left;gap:20px;border:1px solid #879d7266;background:#102d25;padding:18px 21px;min-height:80px}.insight-routes>button>span{font-family:serif;font-size:36px;color:#d1b982;width:42px;text-align:center}.insight-routes>button>div{flex:1}.insight-routes strong{font-size:14px;font-weight:400;color:#d7d5b5;display:block;letter-spacing:1px}.insight-routes small{font-size:10px;color:#90aa87;display:block;line-height:1.8;margin-top:7px}.insight-routes b{font-size:18px;color:#adbb91;font-weight:400}.mirror-lab{padding:17px 15px;background:#102d25;border:1px solid #77966d44;margin-top:15px}.mirror-lab svg{display:block;width:100%;max-height:130px;margin-top:14px}.mirror-lab p{font-size:9px;color:#84a17d;line-height:1.8;margin:10px 0 0}.mirror-lab.aligned{border-color:#b7be8277;background:#183a2a}.mirror-lab.aligned .mirror-link{opacity:.8}@media(max-width:599px){.insight-routes>button{padding:15px 12px;gap:12px}.insight-routes>button>span{font-size:28px;width:31px}.insight-routes strong{font-size:12px}.insight-routes small{font-size:9px}.mirror-lab{padding:14px 12px}}.game-ui{touch-action:auto}.hint-proof{padding-left:18px;font-size:10px;color:#a5b79a;line-height:2}.hint-proof li{margin:6px 0}.joystick-zone,.attack-button{touch-action:none}@media(max-width:599px){.hint-proof{font-size:11px;line-height:2}}.algebra-tiles{display:flex;gap:6px;margin:12px 0 9px}.algebra-tiles span{border:1px solid #9fb48966;color:#c5d4ae;background:#23463166;min-width:44px;padding:8px 11px;font-size:12px;text-align:center}.algebra-tiles span:nth-child(2),.algebra-tiles span:nth-child(3){background:#57403266;border-color:#a68b6755;color:#cab291}.algebra-tiles span:last-child{background:#68603944;border-color:#c5b37877;color:#d9cc9e}.lab-structure{display:flex;justify-content:space-between;font-size:8px;color:#829e78;margin:0 0 12px;gap:8px}.lab-structure b{font-weight:400;color:#c4c69e}@media(max-width:599px){.algebra-tiles span{min-width:41px;padding:7px 10px;font-size:11px}.lab-structure{font-size:7px}}.forest-map{margin:0 0 24px;padding:17px 19px;background:#102d26;border:1px solid #8fa97c44}.map-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.map-heading h3{margin:4px 0 0;font-size:13px;font-weight:400;color:#c1d0ad;letter-spacing:2px}.map-heading>.eyebrow{font-size:7px}.map-heading>span{font-size:10px;color:#9db18a}.forest-map svg{display:block;width:100%;max-height:340px;margin:16px auto 10px}.map-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:9px;color:#a6b794}.map-legend span{display:flex;align-items:center;gap:7px}.map-legend i{width:5px;height:5px;background:#bccca3;border-radius:50%;display:inline-block}.map-legend .map-player{width:7px;height:7px;background:#e1c185;transform:rotate(45deg);border-radius:0}.map-legend small{font-size:8px;color:#718f73;line-height:1.9}@media(max-width:599px){.forest-map{padding:14px 10px;margin-bottom:20px}.map-heading{padding:0 3px}.map-heading h3{font-size:12px;letter-spacing:1px}.map-heading .eyebrow{font-size:6px;letter-spacing:1px}.map-heading>span{font-size:8px}.forest-map svg{margin:12px 0 8px}.map-legend{font-size:8px;gap:14px;padding:0 3px}.map-legend small{font-size:7px;width:100%}}@media(max-width:599px){.forest-map svg text{font-size:68px;stroke-width:17px}}#game{position:fixed;inset:0;width:100vw;height:100%;height:100dvh;overflow:hidden}
