:root{font-family:Segoe UI,Microsoft YaHei UI,Microsoft YaHei,sans-serif;color:#263f40;background:#d9e7e2;font-synthesis:none;text-rendering:optimizeLegibility;font-size:16px;font-weight:400;--ink: #263f40;--muted: #728481;--accent: #2b6965;--paper: #fcfbf5;--line: #dbe2da;--gold: #b89959}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.42;cursor:not-allowed}button,a,input,select{touch-action:manipulation}button{border:0;background:none}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d4994c;outline-offset:4px}button:not(:disabled){transition:background .18s,color .18s,box-shadow .18s,transform .18s}h1,h2,h3,p{margin:0}h1,h2{font-weight:500}h3{font-size:17px;font-weight:600}p{font-size:16px;line-height:1.85}small{font-size:12px}svg{flex-shrink:0}main{position:relative;min-height:100dvh;isolation:isolate;overflow:hidden}.large-text{font-size:18px}.large-text p,.large-text button,.large-text small{font-size:1.05em}#world{position:fixed;inset:0;width:100%;height:100%;outline:none;z-index:-3;touch-action:none}.scene-vignette{position:fixed;inset:0;pointer-events:none;z-index:-2;background:linear-gradient(180deg,#f1f2e869 0,transparent 25%,transparent 65%,#263f4024)}.title-mode .scene-vignette{background:linear-gradient(90deg,#eff1eaf5 0%,#edf0e8e8 27%,#e8ede645 51%,transparent 74%),linear-gradient(0deg,#e7ece57d,transparent 24%)}.paper{background:#fcfbf5ec;border:1px solid #ffffff91;box-shadow:0 9px 35px #183e3c16;backdrop-filter:blur(16px);border-radius:12px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:.19em;color:var(--muted);text-transform:uppercase}.muted{color:var(--muted)}.thin-line{height:1px;background:var(--line);margin:24px 0}.topbar{height:91px;position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 38px;z-index:12;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:13px;text-align:left;font-size:17px;letter-spacing:.12em;padding:0}.brand-mark{width:41px;height:45px;display:flex;align-items:center;justify-content:center;border:1px solid #65878175;border-radius:50% 50% 42% 42%;color:var(--accent)}.brand b{font-size:20px;font-weight:600;letter-spacing:.14em}.brand small{display:block;font-size:8px;letter-spacing:.3em;margin-top:5px;color:#7a8982}.top-actions{display:flex;align-items:center;gap:13px}.save-status{display:flex;align-items:center;gap:6px;font-size:11px;color:#607d72;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.save-status i{width:5px;height:5px;border-radius:50%;background:#6f9a7c}.save-status.fault,.fault{color:#a7543b}.icon-button{width:40px;height:40px;display:grid;place-items:center;border:1px solid #7b969335;border-radius:50%;background:#f9fbf463}.icon-button:hover{background:#ffffffe6}.title-content{position:relative;width:590px;max-width:48vw;padding-top:clamp(155px,22vh,250px);margin-left:8vw;min-height:80vh}.chapter-tag{font-size:10px;letter-spacing:.2em;color:#567a71;display:flex;align-items:center;gap:9px}.chapter-tag span{width:28px;height:1px;background:#839b82}.title-kicker{font-size:14px;letter-spacing:.23em;margin:34px 0 13px;color:#627c74}.title-content h1{font-family:Yu Mincho,"Noto Serif SC",Songti SC,SimSun,serif;font-size:clamp(31px,3.6vw,56px);line-height:1.6;letter-spacing:.11em;color:#294c48;font-weight:500}.title-description{font-size:14px;line-height:2.1;color:#6b8177;margin-top:22px;letter-spacing:.05em}.title-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:33px}.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:18px;border-radius:6px;padding:14px 22px;font-size:14px;min-height:48px;font-weight:500}.primary{background:var(--accent);color:#fffcf0;border:1px solid var(--accent);box-shadow:0 5px 15px #2c5e561c}.primary:hover:not(:disabled){background:#20534e;box-shadow:0 6px 20px #2c5e5630;transform:translateY(-1px)}.secondary{border:1px solid #65888052;background:#f6f6ed80;color:#345f57}.secondary:hover:not(:disabled){background:#e3eadd}.title-buttons .primary{min-width:202px;justify-content:space-between}.title-buttons .secondary{padding:12px 18px}.seed-control{display:flex;align-items:center;gap:9px;margin-top:18px;font-size:10px;color:#7f9086}.seed-control input{width:94px;background:transparent;border:0;border-bottom:1px solid #788c743a;font-size:11px;color:#6a7c73;padding:4px}.seed-control button{font-size:20px}.title-meta{display:flex;gap:25px;margin-top:28px;color:#6c887c}.title-meta span{display:flex;align-items:center;gap:6px;font-size:10px}.title-bottom{position:absolute;bottom:32px;left:8vw;right:38px;display:flex;justify-content:space-between;align-items:end;color:#72897b}.title-bottom>span{font-size:11px;letter-spacing:.16em}.title-bottom small{line-height:1.8;text-align:right;font-size:10px}.hub-card{position:absolute;left:38px;top:140px;width:295px;padding:27px}.hub-card h1{font-family:SimSun,serif;font-size:32px;letter-spacing:.12em;margin:14px 0 17px}.hub-card p{font-size:12px;color:#71857b;line-height:2}.hub-card .quest-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#72866e}.hub-card h3{font-size:17px;margin:10px 0}.hub-card .primary{width:100%;margin-top:23px;font-size:13px;justify-content:space-between}.quiet-button{display:inline-flex;align-items:center;gap:8px;color:#718776;font-size:12px;padding:12px 0;background:none}.quiet-button:hover{color:#254f43}.hub-card .quiet-button{width:100%;justify-content:space-between;padding-bottom:0}.hub-nav{position:absolute;bottom:42px;left:50%;transform:translate(-50%);display:flex;padding:10px 15px;gap:10px}.text-button{display:flex;gap:9px;align-items:center;justify-content:center;padding:13px 18px;font-size:12px;border-radius:7px;white-space:nowrap}.text-button:hover{background:#dee8dd}.hub-location{position:absolute;bottom:135px;left:50%;transform:translate(-50%);background:#fffbedc2;border:1px solid #ffffffe6;padding:8px 15px;border-radius:25px;font-size:10px;letter-spacing:.08em;white-space:nowrap}.location-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#619c76;margin-right:7px}.player-hud{position:absolute;left:30px;top:105px;width:306px;padding:15px;display:flex;gap:13px}.portrait{width:56px;flex-shrink:0;height:65px;background:linear-gradient(145deg,#dee2e5,#aabcc0);border:3px solid #fff;border-radius:50% 50% 9px 9px;display:grid;place-content:center;text-align:center;font-family:SimSun,serif;font-size:26px;color:#fff;position:relative}.portrait span{position:absolute;font-family:Segoe UI,sans-serif;bottom:-8px;left:7px;right:7px;font-size:10px;background:#405e60;border-radius:3px;padding:2px}.resource-panel{flex:1;min-width:0}.name-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px;font-size:13px}.name-row span{font-size:10px;color:#829187}.resource{display:flex;align-items:center;gap:6px;font-size:9px;margin:5px 0}.resource>span{width:20px;font-size:9px;font-weight:600;color:#72837a}.meter{height:5px;flex:1;border-radius:5px;background:#dfe5dc;overflow:hidden}.meter i{height:100%;display:block;background:#82a886;border-radius:5px;transition:width .16s}.resource.energy .meter i{background:#8cbbbe}.resource.boss .meter i{background:#be7465}.resource small{width:50px;text-align:right;font-size:10px;font-variant-numeric:tabular-nums}.resource small em{font-style:normal;color:#97a49b;font-size:9px}.satiety{display:flex;align-items:center;gap:5px;margin-top:9px;color:#849180;font-size:10px;white-space:nowrap}.satiety span:last-child{margin-left:auto;font-size:9px}.minimap{position:absolute;right:30px;top:105px;padding:12px;width:192px;background:#f6f9eedb}.map-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:10px}.map-heading b{font-size:21px;font-weight:500}.map-heading small{font-size:10px;color:#839286}.minimap-button{display:block;background:#203c3d;border-radius:4px;padding:4px;width:100%}.minimap-canvas{display:block;width:100%;height:auto;image-rendering:pixelated}.floor-timer{text-align:center;font-size:9px;color:#87917d;margin-top:7px}.floor-heading{position:absolute;top:105px;left:50%;transform:translate(-50%);text-align:center;white-space:nowrap;text-shadow:0 1px 9px #d9ede8a8}.floor-heading>span{font-size:8px;letter-spacing:.3em;color:#6a8c83}.floor-heading h2{font-size:24px;letter-spacing:.15em;font-family:SimSun,serif;margin:7px 0}.floor-heading p{font-size:10px;color:#5f8279}.status-row{position:absolute;left:30px;top:215px;display:flex;gap:8px}.status-chip{padding:5px 10px;font-size:11px;border-radius:20px;background:#f9f3e0d9;border:1px solid #fff}.status-chip.warning{color:#954c3e}.journey-log{position:absolute;left:30px;bottom:174px;width:282px;padding:15px 18px;background:#f6f8edca}.journey-log .eyebrow{display:flex;justify-content:space-between}.journey-log .eyebrow button{padding:0;color:#647f74}.journey-log ol{list-style:none;margin:8px 0 0;padding:0;font-size:11px;line-height:1.85;color:#7e8d7c}.journey-log li{max-height:42px;overflow:hidden}.journey-log li:last-child{color:#435f55}.partner-card{position:absolute;right:30px;bottom:174px;display:flex;align-items:center;gap:10px;padding:11px 14px;width:220px}.partner-portrait{display:grid;place-items:center;width:34px;height:40px;background:#e9c577;border:2px solid #fff;border-radius:50% 50% 6px 6px;color:#fff;font-family:SimSun,serif}.partner-card b{font-size:10px;font-weight:500}.partner-card small{display:block;font-size:9px;margin-top:4px;color:#919a86}.partner-card select{width:66px;margin-left:auto;background:transparent;border:1px solid #788f6a42;border-radius:4px;padding:4px;font-size:10px;color:#637d60}.boss-health{position:absolute;top:215px;left:50%;transform:translate(-50%);width:300px;padding:13px 17px;background:#fff8efd9}.boss-health>div:first-child{display:flex;justify-content:space-between;font-size:12px}.boss-health .resource>span,.boss-health .resource>small{display:none}.boss-health>small{font-size:10px;color:#997c64}.danger-reminder{position:absolute;top:190px;left:50%;transform:translate(-50%);font-size:11px;color:#975348;background:#fff2e4eb;border:1px solid #deaa81;border-radius:20px;padding:7px 13px;display:flex;align-items:center;gap:7px;white-space:nowrap}.boss-health~.danger-reminder{top:300px}.controls-dock{position:absolute;bottom:45px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:17px}.dpad{width:119px;height:119px;display:grid;grid-template-columns:repeat(3,1fr);padding:8px;gap:2px;border-radius:50%}.dpad button{display:grid;place-items:center;border-radius:10px;font-size:18px;line-height:1;color:#648275;min-width:30px;min-height:30px}.dpad button:hover{background:#dae5d9}.dpad button:nth-child(5){background:#e2e8dc;border-radius:50%;font-size:24px}.action-dock{padding:11px;display:flex;align-items:center;gap:11px;min-height:94px;border-radius:10px}.skill-buttons{display:flex;gap:6px}.skill-button{position:relative;width:75px;height:77px;border-radius:5px;background:linear-gradient(150deg,#f4f5ec,#e0e9df);border:1px solid #fff;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;color:#547265}.skill-button:hover:not(:disabled){background:#dbe7d6}.skill-button kbd{position:absolute;left:6px;top:4px;font-size:8px;color:#91a08e}.skill-button b{font-size:10px;font-weight:500}.skill-button small{font-size:8px;color:#839480}.quick-items{display:flex;gap:4px;border-left:1px solid #d6dfd2;padding-left:11px}.quick-item{height:64px;width:40px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;color:#8b986f;border-radius:4px}.quick-item:hover{background:#e3e9db}.quick-item small{font-size:9px}.utility-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;border-left:1px solid #d6dfd2;padding-left:11px}.utility-actions button{display:flex;align-items:center;gap:5px;padding:8px;border-radius:4px;font-size:10px;color:#638068;min-height:35px}.utility-actions button:hover{background:#e2e9dc}.keyboard-hint{position:absolute;bottom:18px;left:50%;transform:translate(-50%);white-space:nowrap;color:#5f8174;font-size:9px;letter-spacing:.07em;background:#e5ebe273;border-radius:20px;padding:3px 12px}.aim-strip{min-width:430px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:12px}.aim-strip b{display:flex;gap:15px;align-items:baseline;font-size:17px;margin-top:8px}.aim-strip small{font-size:11px;color:#8c967f}.aim-strip .secondary{min-height:43px;font-size:12px;padding:10px 15px}.exit-prompt{position:absolute;bottom:180px;left:50%;transform:translate(-50%);font-size:12px;z-index:5}.exit-prompt:hover:not(:disabled){transform:translate(-50%) translateY(-1px)}.modal-scrim{position:fixed;inset:0;background:#203c3b63;backdrop-filter:blur(5px);display:flex;justify-content:center;align-items:center;padding:25px;z-index:30;animation:arrive .2s ease}.modal{background:var(--paper);color:var(--ink);border:1px solid #fff;box-shadow:0 20px 120px #122c3b55;border-radius:14px;width:570px;max-width:100%;max-height:90dvh;overflow:auto;padding:30px}.modal.wide{width:800px}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:20px}.modal-header h2{font-family:SimSun,serif;font-size:27px;letter-spacing:.1em;margin-top:8px}.modal-header .icon-button{background:#eaf0e444}.modal p{font-size:14px}.modal-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}.modal-footer>span{font-size:11px;color:#889180;line-height:1.7}.modal-footer .primary,.modal-footer .secondary{font-size:12px;white-space:nowrap}.loadout-banner{display:flex;gap:20px;align-items:center;padding:20px;background:linear-gradient(110deg,#e1eee8,#edf0df);border:1px solid #d6e1d4;border-radius:8px}.loadout-banner h3{font-size:24px;font-family:SimSun,serif;letter-spacing:.1em;margin:6px 0}.loadout-banner p{font-size:11px;color:#7d8e7c}.loadout-banner>svg{color:#628f80}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:26px}.two-column h3{font-size:14px;margin-bottom:13px}.loadout-items{display:flex;flex-direction:column;gap:9px}.loadout-items span{display:flex;align-items:center;gap:9px;font-size:11px;color:#6d8276}.loadout-items b{font-size:10px;margin-left:auto;font-weight:500}.rule-card{border:1px solid #e0e4d8;border-radius:7px;padding:19px;background:#f2f3e9}.rule-card ul{padding-left:14px;margin:0;display:flex;flex-direction:column;gap:12px;font-size:11px;line-height:1.8;color:#82917d}.inventory-summary{display:flex;justify-content:space-between;font-size:11px;color:#84917b;margin-bottom:20px}.inventory-summary span{display:flex;align-items:center;gap:7px}.inventory-layout{display:grid;grid-template-columns:1fr 215px;gap:25px}.inventory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-content:start}.inventory-slot{height:100px;padding:10px 5px;border:1px solid #dce3d6;border-radius:6px;background:#f1f2e9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#849478}.inventory-slot span{font-size:10px;color:#607459;white-space:nowrap}.inventory-slot small{font-size:8px;color:#8b977b}.inventory-slot.selected{border-color:#6b977d;background:#e8eee0;box-shadow:inset 0 0 0 1px #6b977d}.item-detail{border-left:1px solid #e0e3d6;padding-left:24px}.item-display{height:130px;background:radial-gradient(#dce8d3,transparent 68%);display:grid;place-items:center;color:#7b916c}.item-detail h3{font-family:SimSun,serif;font-size:22px;margin:14px 0}.item-detail p{font-size:12px;line-height:1.9;color:#85937b}.cost-tag{display:inline-block;font-size:9px;border:1px solid #d0d9c5;padding:5px 8px;border-radius:20px;color:#8e997b;margin:14px 0}.item-detail .primary{width:100%;font-size:12px;margin-top:10px}.shop-note{display:flex;justify-content:space-between;align-items:center;padding:0 0 18px;border-bottom:1px solid var(--line)}.shop-note p{font-family:SimSun,serif;font-size:14px;color:#7a8d73}.shop-note>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#9a9776}.shop-note b{font-size:20px;font-weight:500}.shop-list{display:flex;flex-direction:column}.shop-row{display:flex;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid #e5e7db}.shop-icon{width:45px;height:52px;display:grid;place-items:center;background:#ebefdf;border-radius:6px;color:#8f9b74;flex-shrink:0}.shop-row>div{flex:1}.shop-row h3{font-size:13px}.shop-row p{font-size:10px;color:#929a85;line-height:1.7;margin-top:4px}.shop-row .secondary{padding:9px;gap:6px;font-size:11px;min-width:91px}.shop-row .secondary span{font-size:10px;margin-left:3px}.map-paper{padding:18px;background:#2e4a46;border-radius:6px;display:flex;align-items:center;justify-content:center}.map-large{display:block;image-rendering:pixelated;width:100%;height:auto}.map-legend{display:flex;gap:13px;flex-wrap:wrap;margin:15px 0;font-size:10px;color:#7c8d6f}.tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:22px}.tabs button{font-size:12px;padding:12px 17px;color:#8b977f}.tabs button.active{border-bottom:2px solid var(--accent);color:var(--accent)}.story-records article{display:flex;gap:16px;padding:15px 0;border-bottom:1px solid #e1e6d9;align-items:baseline}.story-records h3{font-size:14px;margin-bottom:5px}.story-records small{font-size:9px;color:#9ba18e}.story-records .locked{color:#9ba391}.story-records details{font-size:11px;color:#7c8f6f;margin-top:10px}.story-records summary{cursor:pointer}.story-records details p{font-size:12px;margin-top:9px}.story-records details b{color:#557763;margin-right:6px}.full-log{font-size:12px;line-height:2.1;color:#7f9073;padding-left:24px}.bestiary article{display:flex;gap:19px;padding:20px 0;border-bottom:1px solid #e2e7d8}.creature-symbol{min-width:60px;display:grid;place-items:center;color:#8ba170}.bestiary h3{font-size:16px}.bestiary p{font-size:12px;margin-top:8px}.bestiary small{display:block;font-size:10px;margin-top:10px;color:#8d9a77}.pause-note{font-family:SimSun,serif;color:#89967c;margin-bottom:20px}.settings-list{display:flex;flex-direction:column}.settings-list label{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #e2e6d8;gap:14px}.settings-list b{display:block;font-size:13px;font-weight:500}.settings-list small{display:block;font-size:10px;line-height:1.7;color:#8e9a80;margin-top:4px}.settings-list input{width:19px;height:19px;accent-color:var(--accent)}.storage-detail{background:#eaf0df;border:1px solid #dbe2cd;border-radius:5px;padding:13px;display:flex;align-items:start;gap:8px;font-size:11px;margin-top:24px;line-height:1.7}.storage-detail.fault{background:#f4e8d7}.save-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:9px 0}.save-buttons .text-button{padding:13px 5px;font-size:11px}.fine-print{font-size:10px!important;line-height:1.9;color:#98a08b}.help-rows{margin:20px 0}.help-rows p{font-size:12px;margin:10px 0}.help-rows kbd,kbd{font-family:inherit;background:#e2e9dc70;border-radius:3px;padding:2px 4px;font-size:.85em;font-weight:400}.rest-scene{text-align:center;padding:20px;color:#7f9974}.rest-scene>svg{margin:auto}.rest-scene blockquote{font-family:SimSun,serif;font-size:23px;line-height:1.9;letter-spacing:.08em;margin:25px 0}.rest-scene p{font-size:12px;color:#a0a78c;line-height:2}.rest-scene .primary{margin:28px auto 0;font-size:12px}.route-list>div{display:flex;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid #e0e6d6}.route-list>div>span{font-family:Georgia,serif;font-size:22px;color:#b3b797}.route-list>div>div{flex:1}.route-list h3{font-size:15px;margin-bottom:5px}.route-list small{font-size:10px;color:#a3ac92}.route-list .locked{color:#abb19c}.route-list .secondary{padding:7px 14px;min-height:38px;font-size:11px}.dialogue-wrap{position:fixed;inset:0;display:flex;flex-direction:column;justify-content:end;align-items:center;padding:35px;z-index:14;background:linear-gradient(0deg,#173d3977 0%,transparent 60%)}.dialogue-box{width:850px;max-width:95vw;min-height:205px;padding:26px 33px}.dialogue-top{display:flex;justify-content:space-between;align-items:center}.dialogue-top b{font-size:16px;letter-spacing:.1em;color:#3f7b6c}.dialogue-top span{font-size:10px;color:#99a486}.dialogue-text{font-family:SimSun,serif;font-size:21px;line-height:1.9;min-height:66px;margin-top:17px;letter-spacing:.055em}.dialogue-bottom{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:15px}.dialogue-bottom>div:first-child{display:flex;gap:20px}.dialogue-bottom .quiet-button{font-size:10px;padding:7px 0}.next-dialogue{display:flex;align-items:center;gap:15px;font-size:12px;color:#65906f;padding:8px 0}.dialogue-history{max-height:40vh;overflow:auto;margin-top:15px}.dialogue-history p{font-size:14px;margin:9px 0}.dialogue-history strong{display:inline-block;min-width:105px;color:#6d916e;font-size:12px}.story-choices{display:flex;gap:10px}.story-choices button{font-size:11px;padding:9px 12px}.scene-caption{position:absolute;top:135px;left:50%;transform:translate(-50%);text-align:center;white-space:nowrap}.scene-caption .eyebrow{font-size:9px;color:#426e60;text-shadow:0 0 10px #fff}.scene-caption h2{font-family:SimSun,serif;font-size:26px;letter-spacing:.1em;color:#386351;margin-top:12px;text-shadow:0 0 12px #edf5dd}.result-wrap{position:fixed;inset:0;display:grid;place-items:center;background:#46695545;backdrop-filter:blur(4px);z-index:15;padding:25px}.result-card{text-align:center;width:450px;max-width:100%;padding:38px}.result-emblem{width:78px;height:78px;border:1px solid #c4d3b4;border-radius:50%;display:grid;place-items:center;margin:0 auto 25px;color:#8eac79}.result-card h1{font-family:SimSun,serif;font-size:27px;margin:18px 0;line-height:1.7;letter-spacing:.1em}.result-card p{font-size:12px;color:#95a182}.result-stats{display:flex;justify-content:space-around;border-top:1px solid #dce2d0;border-bottom:1px solid #dce2d0;padding:24px 0;margin:23px 0;color:#9da78c;font-size:10px}.result-stats b{display:block;font-family:Georgia,serif;font-size:25px;font-weight:400;color:#577f5f;margin-bottom:7px}.result-card .primary,.result-card .secondary{width:100%;margin-top:12px;font-size:12px}.toast{position:fixed;bottom:13px;left:50%;transform:translate(-50%);z-index:80;max-width:calc(100vw - 30px);width:max-content;border:1px solid #ffffff99;background:#284941f2;color:#fafde9;font-size:13px;line-height:1.8;border-radius:8px;padding:13px 22px;box-shadow:0 7px 20px #153c3833;animation:arrive .15s ease}.storage-warning{position:fixed;bottom:10px;right:15px;background:#f8e8c7;border:1px solid #d3ab74;color:#986940;font-size:11px;padding:8px 12px;z-index:21;border-radius:5px}.readonly-banner,.graphics-error{position:fixed;top:85px;left:50%;transform:translate(-50%);background:#f5e6c8;color:#825c43;padding:14px 22px;font-size:12px;line-height:1.8;border-radius:7px;z-index:25;max-width:90vw}.graphics-error{top:50%;width:550px}.high-contrast .paper,.high-contrast .modal{background:#fffef6;color:#183f2b}.high-contrast .muted,.high-contrast p,.high-contrast small{color:#476c4a}.high-contrast button{outline-color:#ab7417}@keyframes arrive{0%{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}@media(min-width:1700px){.title-content{max-width:650px}.hub-card{top:18vh}.controls-dock{bottom:58px}.keyboard-hint{bottom:29px}}@media(max-width:1150px){.title-content{margin-left:6vw;max-width:52vw}.topbar{padding:0 25px}.hub-card{left:25px;width:270px;top:125px;padding:24px}.player-hud{left:20px;width:268px}.minimap{right:20px;width:172px}.floor-heading{left:55%}.floor-heading h2{font-size:20px}.journey-log{left:20px;width:240px;bottom:189px}.partner-card{right:20px;bottom:185px;width:200px}.action-dock{gap:7px}.skill-button{width:67px}.dpad{width:112px;height:112px}.controls-dock{gap:12px}.utility-actions,.quick-items{padding-left:6px}.utility-actions button{padding:7px 5px}.boss-health{left:55%;width:260px}}@media(max-width:800px){.topbar{height:78px;padding:0 18px}.brand{font-size:13px;gap:9px}.brand b{font-size:16px}.brand small{font-size:7px}.brand-mark{width:32px;height:37px}.top-actions{gap:8px}.save-status{max-width:120px;font-size:9px}.icon-button{width:35px;height:35px}.title-content{padding-top:19vh;max-width:57vw;margin-left:6vw}.title-content h1{font-size:33px}.title-description{font-size:12px}.title-kicker{font-size:11px;margin-top:25px}.title-buttons{margin-top:26px}.title-meta{gap:12px;margin-top:20px}.title-meta span{font-size:9px}.title-bottom{left:6vw;right:20px;bottom:25px}.hub-card{width:249px;top:110px;left:18px;padding:22px}.hub-card h1{font-size:27px}.hub-card p{font-size:11px}.hub-nav{bottom:30px;padding:8px;gap:3px}.text-button{padding:12px;font-size:11px}.player-hud{top:88px;left:15px;width:243px;padding:12px;gap:9px}.portrait{width:42px;font-size:23px;height:57px}.portrait span{left:1px;right:1px}.name-row b{font-size:12px}.satiety{font-size:9px}.satiety span:last-child{display:none}.minimap{top:88px;right:15px;width:140px;padding:9px}.map-heading{font-size:10px;margin-bottom:7px}.map-heading b{font-size:18px}.floor-heading{top:94px;left:52%}.floor-heading>span{font-size:6px}.floor-heading h2{font-size:17px;letter-spacing:.04em}.floor-heading p{font-size:9px}.floor-timer{font-size:8px}.journey-log{left:15px;bottom:173px;width:220px;padding:12px}.journey-log li{font-size:10px}.partner-card{right:15px;bottom:173px;padding:10px;width:186px}.dpad{width:104px;height:104px;padding:6px;gap:0}.action-dock{padding:8px;gap:6px}.skill-button{width:57px;height:76px}.skill-button b{font-size:9px}.quick-items{gap:0}.quick-item{width:33px}.utility-actions{gap:2px}.utility-actions button{font-size:9px;padding:6px 4px}.utility-actions svg{width:16px}.controls-dock{gap:8px;bottom:44px}.keyboard-hint{font-size:8px}.status-row{left:15px;top:190px}.boss-health{top:195px;left:50%}.danger-reminder{top:169px}.boss-health~.danger-reminder{top:283px}.modal{padding:25px}.modal-header h2{font-size:24px}.inventory-layout{grid-template-columns:1fr 190px;gap:18px}.item-detail{padding-left:18px}.inventory-grid{grid-template-columns:repeat(3,1fr)}.dialogue-wrap{padding:20px}.dialogue-box{padding:24px}.dialogue-text{font-size:18px}.scene-caption{top:116px}}@media(max-width:600px){main{min-height:100dvh}.topbar{padding:0 15px;height:69px}.brand{font-size:12px}.brand b{font-size:14px}.brand small{font-size:6px}.brand-mark{width:29px;height:32px}.top-actions{gap:5px}.top-actions .icon-button{width:32px;height:32px}.save-status{max-width:68px;font-size:8px}.title-mode .scene-vignette{background:linear-gradient(0deg,#edf1eafc 0%,#edf1eaf2 42%,#e5eee394 61%,transparent 81%),linear-gradient(180deg,#dce8e06b,transparent 20%)}.title-content{position:absolute;bottom:95px;margin:0;left:26px;right:20px;width:auto;max-width:none;min-height:0;padding:0}.chapter-tag{font-size:8px;letter-spacing:.14em}.title-kicker{font-size:11px;margin:16px 0 8px}.title-content h1{font-size:32px;line-height:1.55;letter-spacing:.085em}.title-description{font-size:11px;margin-top:15px;line-height:1.9}.title-buttons{margin-top:23px;gap:8px}.title-buttons .primary{min-width:160px}.primary,.secondary{padding:12px 18px;min-height:48px;font-size:12px}.title-buttons .secondary{font-size:11px}.seed-control{margin-top:10px;gap:6px}.title-meta{display:none}.title-bottom{bottom:23px;left:26px;right:20px;align-items:end}.title-bottom>span{font-size:9px}.title-bottom small{font-size:8px}.hub-card{position:absolute;inset:auto 16px 140px;width:auto;padding:20px}.hub-card>p:first-of-type{display:none}.hub-card h1{margin:8px 0 0;font-size:27px}.hub-card .thin-line{margin:16px 0}.hub-card h3{font-size:15px;margin:8px 0}.hub-card .primary{margin-top:16px;min-height:47px}.hub-card .muted{font-size:11px}.hub-card .quiet-button{font-size:10px}.hub-location{top:85px;bottom:auto;font-size:8px;padding:6px 10px}.hub-nav{left:15px;right:15px;bottom:30px;transform:none;justify-content:space-around;padding:5px;gap:1px}.hub-nav .text-button{flex-direction:column;font-size:10px;gap:7px;padding:10px;min-width:65px;min-height:68px}.hub-nav svg{width:21px}.player-hud{left:12px;top:83px;width:calc(100% - 137px);padding:10px;gap:8px}.portrait{width:37px;height:52px;font-size:21px}.portrait span{font-size:8px;left:1px;right:1px;bottom:-5px}.name-row{font-size:10px;margin-bottom:4px}.name-row b{font-size:10px}.name-row span{font-size:8px}.resource{gap:4px}.resource>span{font-size:8px;width:15px}.resource small{font-size:8px;width:39px}.resource small em{font-size:7px}.meter{height:4px}.satiety{margin-top:5px;font-size:8px}.satiety svg{width:12px;height:12px}.minimap{top:83px;right:12px;width:104px;padding:7px}.map-heading{font-size:8px;margin-bottom:4px}.map-heading b{font-size:14px}.map-heading small{font-size:7px}.floor-timer{font-size:7px;margin-top:4px}.floor-heading{top:184px;left:50%}.floor-heading>span{font-size:7px;letter-spacing:.2em}.floor-heading h2{font-size:18px;margin:5px 0}.floor-heading p{font-size:9px}.status-row{top:173px;left:12px;right:12px;flex-wrap:wrap}.status-chip{font-size:8px;padding:3px 7px}.journey-log{bottom:244px;left:12px;right:12px;width:auto;padding:10px 13px;border-radius:7px;background:#f7f9ecd9}.journey-log .eyebrow{font-size:8px}.journey-log ol{margin-top:5px}.journey-log li{display:none}.journey-log li:last-child{display:block;font-size:10px;max-height:38px}.partner-card{bottom:208px;left:12px;right:12px;width:auto;border-radius:5px;padding:5px 10px;height:31px;gap:7px}.partner-portrait{width:21px;height:21px;font-size:10px;border:1px solid white;border-radius:50%}.partner-card>div{display:flex;align-items:center;gap:8px}.partner-card small{font-size:8px;margin:0}.partner-card b{font-size:8px}.partner-card select{font-size:9px;padding:2px 4px;width:63px}.controls-dock{left:12px;right:12px;bottom:28px;transform:none;gap:9px;align-items:center;min-height:168px}.dpad{width:146px;height:146px;min-width:146px;padding:3px;border-radius:22px;gap:0;box-shadow:0 5px 20px #294a3c22}.dpad button{min-width:44px;min-height:44px;font-size:23px;border-radius:14px}.dpad button:nth-child(5){width:42px;height:42px;place-self:center;min-width:42px;min-height:42px;font-size:28px}.action-dock{padding:7px;display:flex;flex-wrap:wrap;gap:5px;flex:1;min-width:0;justify-content:center;min-height:168px}.skill-buttons{width:100%;gap:3px}.skill-button{flex:1;min-width:0;width:auto;height:67px;gap:4px;padding:5px 2px}.skill-button>svg{width:20px;height:20px}.skill-button kbd{font-size:7px;left:3px;top:2px}.skill-button b{font-size:8px}.skill-button small{font-size:7px}.quick-items{padding-left:0;border-left:0;gap:3px;width:100%;justify-content:center;position:absolute;bottom:-3px;right:0;display:none}.utility-actions{padding:0;border:0;gap:3px;width:100%;grid-template-columns:repeat(2,1fr)}.utility-actions button{min-height:35px;min-width:0;justify-content:center;font-size:9px;padding:5px 4px;background:#e5ecde}.utility-actions svg{width:16px;height:16px}.keyboard-hint{display:none}.aim-strip{min-width:0;min-height:145px;width:100%;flex-direction:column;justify-content:center;padding:4px;gap:12px;text-align:center}.aim-strip .eyebrow{font-size:8px;letter-spacing:0}.aim-strip b{font-size:14px;display:flex;flex-direction:column;gap:5px;align-items:center}.aim-strip small{font-size:9px}.aim-strip .secondary{font-size:10px;min-height:37px;padding:8px 17px}.exit-prompt{bottom:313px;min-height:43px;font-size:11px}.danger-reminder{top:253px;padding:6px 11px;font-size:9px}.boss-health{width:235px;top:248px;padding:10px}.boss-health>div:first-child{font-size:10px}.boss-health>small{font-size:9px}.boss-health~.danger-reminder{top:324px}.modal-scrim{padding:13px}.modal{padding:22px 20px;border-radius:12px;max-height:93dvh}.modal-header{margin-bottom:22px;gap:10px}.modal-header h2{font-size:24px}.modal-header .eyebrow{font-size:8px}.modal p{font-size:12px}.modal-footer{gap:10px;margin-top:22px;padding-top:17px;flex-wrap:wrap}.modal-footer>span{font-size:9px;max-width:48%}.modal-footer .primary,.modal-footer .secondary{font-size:11px;padding:10px 15px}.two-column{grid-template-columns:1fr;gap:20px;margin-top:20px}.two-column .rule-card{padding:17px}.two-column h3{font-size:13px}.rule-card ul{font-size:10px;gap:8px}.loadout-items{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 17px}.loadout-items span{font-size:10px;gap:5px}.loadout-items svg{width:15px}.loadout-banner{padding:16px;gap:13px}.loadout-banner>svg{width:28px}.loadout-banner h3{font-size:22px}.loadout-banner p{font-size:9px}.loadout-banner .eyebrow{font-size:8px}.inventory-layout{grid-template-columns:1fr;gap:20px}.inventory-grid{grid-template-columns:repeat(4,1fr);gap:5px;max-height:37vh;overflow:auto}.inventory-slot{height:78px;padding:6px 2px;gap:5px}.inventory-slot svg{width:22px;height:22px}.inventory-slot span{font-size:8px}.inventory-slot small{font-size:7px}.item-detail{padding:17px 0 0;border-left:0;border-top:1px solid #dfe5d6;display:grid;grid-template-columns:70px 1fr;gap:0 16px}.item-display{grid-row:1/5;height:86px;width:70px}.item-display svg{width:40px}.item-detail h3{font-size:20px;margin:0 0 8px}.item-detail p{font-size:11px}.item-detail .cost-tag{font-size:8px;justify-self:start;margin:9px 0}.item-detail .primary{grid-column:1/3;min-height:43px;font-size:11px;margin-top:9px}.inventory-summary{font-size:9px;margin-bottom:14px}.shop-note p{font-size:12px}.shop-note>span{font-size:9px}.shop-note b{font-size:18px}.shop-row{gap:9px;padding:14px 0}.shop-icon{width:36px;height:43px}.shop-row h3{font-size:12px}.shop-row p{font-size:9px}.shop-row .secondary{min-width:69px;gap:3px;padding:6px;font-size:10px;flex-wrap:wrap;max-width:72px}.shop-row .secondary span{font-size:9px}.shop-row .secondary svg{width:12px}.tabs button{font-size:10px;padding:12px}.story-records article{gap:11px}.story-records h3{font-size:12px}.story-records small{font-size:8px}.bestiary article{gap:13px}.creature-symbol{min-width:43px}.bestiary p{font-size:11px}.bestiary h3{font-size:14px}.bestiary small{font-size:9px}.dialogue-wrap{padding:12px 12px 25px}.dialogue-box{padding:20px;max-width:100%;min-height:210px}.dialogue-top b{font-size:14px}.dialogue-top span{font-size:9px}.dialogue-text{font-size:18px;min-height:90px;margin-top:18px;line-height:1.8}.dialogue-bottom{gap:10px;flex-wrap:wrap;margin-top:13px}.dialogue-bottom>div:first-child{gap:15px}.dialogue-bottom .quiet-button{font-size:10px;min-height:36px}.next-dialogue{min-height:40px;font-size:11px}.story-choices{gap:6px}.story-choices button{font-size:10px;min-height:43px;padding:8px 11px}.scene-caption{top:105px}.scene-caption h2{font-size:22px}.dialogue-history p{font-size:12px}.dialogue-history strong{font-size:11px;min-width:90px}.result-card{padding:29px 25px}.result-card h1{font-size:25px}.result-card p{font-size:11px}.result-emblem{width:65px;height:65px}.result-stats{padding:20px 0}.toast{bottom:9px;font-size:11px;line-height:1.7;padding:11px 16px}.storage-warning{bottom:4px;font-size:8px;right:10px;padding:4px 7px}.readonly-banner{top:68px;font-size:10px;padding:9px 13px;width:90%}.rest-scene{padding:10px 0}.rest-scene blockquote{font-size:21px}.rest-scene p{font-size:11px}.settings-list b{font-size:12px}.settings-list small{font-size:9px}.settings-list input{width:22px;height:22px}.storage-detail{font-size:10px;padding:12px}.save-buttons{gap:10px;justify-content:space-between}.save-buttons .text-button{font-size:10px;padding:12px 0}.save-buttons svg{width:17px}.large-text .player-hud{width:calc(100% - 126px)}.large-text .modal p,.large-text .modal button{font-size:15px}.large-text .dialogue-text{font-size:22px}}@media(max-width:380px){.brand-mark{display:none}.title-content{left:21px;bottom:81px}.title-content h1{font-size:28px}.title-kicker{margin-top:11px}.title-buttons{margin-top:17px}.title-description{font-size:10px}.title-bottom{left:21px}.title-bottom>span{display:none}.title-bottom small{text-align:left}.dpad{width:137px;height:137px;min-width:137px}.dpad button{min-width:42px;min-height:42px}.controls-dock{gap:6px;left:10px;right:10px}.skill-button b{font-size:7px}.player-hud{gap:5px}.portrait{display:none}.save-status{max-width:74px}.inventory-grid{grid-template-columns:repeat(3,1fr)}}@media(max-height:650px)and (min-width:601px){.topbar{height:70px}.title-content{padding-top:100px}.title-kicker{margin-top:20px}.title-description{margin-top:12px}.title-buttons{margin-top:17px}.title-meta{display:none}.title-content h1{font-size:34px}.hub-card{top:86px;padding:19px}.hub-card h1{margin:8px 0}.hub-card .thin-line{margin:14px 0}.hub-card .primary{margin-top:13px}.hub-nav{bottom:20px}.hub-location{bottom:112px}.player-hud,.minimap{top:78px}.floor-heading{top:80px}.journey-log{bottom:157px;padding:10px 15px}.partner-card{bottom:155px}.controls-dock{bottom:25px}.keyboard-hint{bottom:4px}.scene-caption{top:90px}.dialogue-wrap{padding-bottom:20px}.dialogue-box{min-height:175px;padding:21px}.dialogue-text{min-height:45px}.boss-health{top:184px}.danger-reminder{top:159px}.boss-health~.danger-reminder{top:268px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.exploration-controls{position:fixed;left:24px;bottom:24px;z-index:12;padding:12px;border-radius:10px;max-width:260px}.exploration-controls small{display:block;font-size:12px;margin-bottom:8px}.exploration-pad{display:grid;grid-template-columns:repeat(3,48px);gap:4px}.exploration-pad button{min-height:48px;touch-action:none;background:#dfe8da;border-radius:6px}@media(max-width:600px){.exploration-controls{left:12px;bottom:12px;padding:8px}}@media(min-width:601px){main.exploring-mode .hub-card{left:auto;right:24px;top:90px;width:280px;padding:18px;max-height:calc(100dvh - 230px)}}@media(max-width:600px){main.exploring-mode .hub-card{top:78px;bottom:auto;left:12px;width:calc(100% - 24px);padding:12px;max-height:180px}main.exploring-mode .hub-card h1{font-size:20px;margin:3px 0}main.exploring-mode .hub-card>p,main.exploring-mode .hub-card>.eyebrow{display:none}main.exploring-mode .hub-nav{left:auto;right:12px;bottom:12px;width:180px;transform:none;display:grid;grid-template-columns:1fr;gap:2px;padding:6px}}main.hub-mode .scene-caption{top:78px;left:24px;transform:none;text-align:left;padding:8px 12px;border-radius:8px;background:#f4f6ebf0;max-width:calc(100vw - 48px)}main.hub-mode .scene-caption h2{font-size:18px;margin:3px 0 0;text-shadow:none}@media(max-width:600px){main.hub-mode .scene-caption{top:76px;left:12px;padding:6px 10px}main.hub-mode .scene-caption h2{font-size:16px}}main .modal p,main .modal button,main .modal label b,main .dialogue-bottom button,main .loadout-items span,main .inventory-slot span,main .item-detail p,main .shop-row p,main .shop-row h3,main .shop-row button,main .story-records h3,main .story-records details p,main .bestiary p,main .full-log,main .hub-card p,main .hub-card .primary,main .hub-nav .text-button,main .title-description,main .primary,main .secondary,main .utility-actions button,main .skill-button b,main .aim-strip b,main .rest-scene p,main .help-rows p{font-size:16px;line-height:1.55}main .modal small,main .modal-footer>span,main .modal .fine-print,main .modal .cost-tag,main .inventory-summary,main .map-legend,main .settings-list small,main .storage-detail,main .hub-card .quiet-button,main .quest-label,main .journey-log li,main .floor-timer,main .name-row,main .name-row span,main .satiety,main .resource small,main .resource small em,main .skill-button small,main .partner-card b,main .partner-card small,main .partner-card select,main .dialogue-top span,main .toast,main .result-card p{font-size:14px;line-height:1.55}main .resource>span,main .map-heading,main .floor-heading p,main .status-chip,main .danger-reminder,main .boss-health>small,main .save-status{font-size:12px}main .hub-card{width:320px;padding:26px;max-height:calc(100dvh - 245px);overflow:auto}main .hub-card .thin-line{margin:18px 0}main .hub-card h3{font-size:19px}main .hub-card .primary{margin-top:18px}main .hub-nav .text-button{min-height:48px}main .hub-nav{gap:5px}main .player-hud{width:328px}main .resource small{width:73px}main .resource>span{width:23px}main .name-row{gap:12px}main .satiety span:last-child{font-size:11px}main .minimap{width:206px}main .partner-card{width:260px}main .partner-card select{width:76px;min-height:36px}main .skill-button{width:96px;height:94px}main .skill-button b{white-space:nowrap}main .skill-button small{font-size:12px}main .skill-button kbd{font-size:11px}main .utility-actions button{min-height:42px;min-width:74px;white-space:nowrap}main .utility-actions svg{flex-shrink:0}main .quick-item{width:43px;min-height:48px}main .journey-log{width:324px;bottom:185px}main .journey-log li{max-height:44px}main .journey-log .eyebrow{font-size:12px}main .inventory-layout{grid-template-columns:1fr 240px}main .inventory-slot{min-height:116px}main .inventory-slot span{white-space:normal}main .inventory-slot small{font-size:12px}main .shop-row .secondary{min-width:105px}main .modal{width:620px}main .modal.wide{width:900px}main .modal .eyebrow{font-size:11px}main .settings-list input{width:22px;height:22px}main .tabs button{font-size:16px}main .dialogue-box{min-height:226px}.compact-skill-name{display:none}.item-art{display:block;object-fit:contain;flex-shrink:0}.item-display .item-art{width:125px;height:125px}.inventory-slot .item-art{max-height:45px;width:45px}.equipped-role{color:#486e64!important;font-size:14px!important;padding:8px 0}.playtest-panel label{display:flex;flex-direction:column;gap:10px;margin:20px 0;font-size:16px}.playtest-panel select,.playtest-panel textarea{width:100%;font:inherit;color:var(--ink);background:#f5f6ed;border:1px solid #b7caba;border-radius:7px;padding:12px;line-height:1.6}.playtest-panel textarea{resize:vertical}.animation-speed{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;font-size:16px}.animation-speed select{min-height:48px;border:1px solid #b7caba;border-radius:6px;background:#f6f7ef;padding:8px 12px;color:var(--ink)}.skills-panel,.warehouse{margin-top:25px;padding-top:21px;border-top:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}.section-heading h3{margin:7px 0 0;font-size:20px}.section-heading>span{font-size:14px;color:#6f8475}.skills-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.skills-slots label{display:flex;flex-direction:column;gap:8px;border:1px solid #dbe3d4;border-radius:8px;padding:16px;background:#eef2e8}.skills-slots label>span{font-size:14px;color:#78906e}.skills-slots select{padding:9px;border:1px solid #bacaaf;border-radius:5px;color:#2d5b4d;background:#fbfcf6;min-height:44px}.skills-slots p{font-size:14px!important;color:#72856b}.skills-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:17px}.skills-footer p{max-width:65%;font-size:14px!important;color:#748469}.skills-footer button{white-space:nowrap}.inventory-tools{display:flex;flex-direction:column;gap:9px;margin-top:16px}.inventory-tools button{font-size:14px!important;min-height:44px;width:100%;padding:8px 10px}.inventory-tools p{font-size:14px!important}.inventory-tools small{font-size:12px!important}.pot-contents h4{margin:0 0 9px;font-weight:500}.pot-contents>div{display:flex;gap:8px;padding:8px 0;align-items:center;border-bottom:1px solid #d5dfcf;font-size:14px}.pot-contents>div>span{flex:1}.pot-contents>div>button{width:auto;min-width:60px}.warehouse>p{color:#708268}.empty-warehouse{margin-top:14px;background:#eef0e6;border-radius:6px;padding:15px}.warehouse-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #dbe3d5}.warehouse-row b{display:block;font-size:16px;font-weight:500}.warehouse-row small{display:block;font-size:12px!important;color:#809276;margin-top:5px}@media(max-width:1050px)and (min-width:601px){main .player-hud{width:296px}main .portrait{display:none}main .minimap{width:168px}main .floor-heading{top:215px;left:53%}main .floor-heading h2{font-size:22px}main .journey-log{width:275px}main .skill-button{width:76px}main .skill-button b{font-size:14px}main .quick-items{display:none}main .hub-card{width:288px;top:112px}}@media(max-width:600px){main .topbar{height:70px}main .top-actions .icon-button{width:48px;height:48px}main .brand{min-height:48px}main .seed-control input,main .seed-control button{min-height:48px}main .top-actions .save-status{display:none}main .title-content{bottom:84px}main .title-description{font-size:16px}main .title-buttons{margin-top:17px}main .title-buttons .primary,main .title-buttons .secondary{font-size:16px;min-height:48px}main .hub-card{inset:auto 14px 130px;width:auto;padding:19px;max-height:calc(100dvh - 270px)}main .hub-card>p:first-of-type{display:none}main .hub-card p,main .hub-card .muted{font-size:16px}main .hub-card h3{font-size:18px}main .hub-card .quest-label{font-size:14px}main .hub-card .thin-line{margin:13px 0}main .hub-card .primary{margin-top:15px}main .hub-nav{bottom:24px;left:14px;right:14px;gap:0;padding:6px 1px}main .hub-nav .text-button{padding:9px 4px;font-size:14px;min-width:0;flex:1}main .player-hud{left:12px;width:calc(100% - 140px);min-height:105px;padding:11px}main .portrait{display:none}main .name-row b,main .name-row span{font-size:14px}main .resource{margin:7px 0}main .resource small,main .resource small em{font-size:14px}main .resource small{width:64px}main .satiety{font-size:12px}main .minimap{width:116px;top:83px}main .map-heading{font-size:11px}main .floor-timer{font-size:10px}main .floor-heading{top:207px;left:50%}main .floor-heading h2{font-size:21px}main .floor-heading p{font-size:12px}main .status-row{top:195px}main .controls-dock{left:12px;right:12px;gap:8px;bottom:24px;min-height:190px}main .dpad{width:148px;min-width:148px;height:148px;padding:0;grid-template-columns:repeat(3,1fr);border-radius:20px}main .dpad button{min-width:48px;min-height:48px;font-size:26px}main .dpad button:nth-child(5){width:48px;height:48px;min-width:48px;min-height:48px}main .action-dock{min-height:190px;padding:5px;gap:5px}main .skill-buttons{gap:3px}main .skill-button{width:auto;min-width:48px;height:80px;padding:4px 0;gap:6px}main .skill-button b{font-size:16px;line-height:1}main .skill-button small{font-size:12px}main .skill-button kbd{display:none}.compact-skill-name{display:inline}.full-skill-name{display:none}main .utility-actions{gap:4px}main .utility-actions button{min-width:54px;min-height:48px;font-size:14px;gap:3px;padding:4px 2px}main .utility-actions svg{width:16px;height:16px}main .journey-log{left:12px;right:12px;width:auto;bottom:292px;padding:10px 12px}main .journey-log .eyebrow{font-size:11px}main .journey-log li:last-child{font-size:14px;max-height:44px}main .partner-card{left:12px;right:12px;width:auto;bottom:222px;min-height:58px;padding:5px 10px}main .partner-card b{font-size:12px}main .partner-card small{font-size:12px}main .partner-card select{font-size:14px;min-height:48px}main .exit-prompt{bottom:346px;min-height:48px;font-size:16px}main .danger-reminder{top:275px;font-size:12px}main .boss-health{top:263px}main .boss-health~.danger-reminder{top:345px}main .modal{padding:20px 16px}main .modal-header h2{font-size:25px}main .modal-header .icon-button{min-width:48px;min-height:48px}main .modal-footer .primary,main .modal-footer .secondary{font-size:16px;min-height:48px}main .modal-footer>span{max-width:100%}main .loadout-items{grid-template-columns:1fr}main .loadout-items span{font-size:16px}main .rule-card ul{font-size:16px}main .two-column{grid-template-columns:1fr}main .inventory-layout{grid-template-columns:1fr}main .inventory-grid{grid-template-columns:repeat(3,1fr);max-height:34dvh}main .inventory-slot{min-height:104px}main .inventory-slot span{font-size:14px}main .inventory-slot small{font-size:12px}main .item-detail h3{font-size:22px}main .item-detail p{font-size:16px}.skills-slots{grid-template-columns:1fr}.skills-footer{flex-wrap:wrap}.skills-footer p{max-width:none}.skills-footer button{width:100%}.inventory-tools{grid-column:1 / -1}.inventory-tools button{font-size:16px!important;min-height:48px}.warehouse-row .secondary{font-size:14px!important}main .shop-row{flex-wrap:wrap}main .shop-row p{font-size:14px}main .shop-row .secondary{margin-left:auto;max-width:none;min-width:102px}main .dialogue-text{font-size:20px}main .dialogue-bottom button{font-size:16px;min-height:48px}main .dialogue-bottom{flex-wrap:wrap}main .story-choices{flex-wrap:wrap}main .save-buttons .text-button{font-size:14px;min-height:48px}main .aim-strip .secondary{min-height:48px;font-size:16px}}@media(max-height:700px)and (max-width:600px){main .title-description{margin-top:7px}main .title-content h1{font-size:28px}main .title-kicker{margin-top:12px}main .floor-heading{display:none}main .journey-log{display:none}main .boss-health{top:207px}main .boss-health~.danger-reminder{top:284px}main .hub-card{max-height:calc(100dvh - 235px)}}main{--muted: #586f69;--line: #d0dad0}main .paper{border-color:#ffffffb8;box-shadow:0 8px 28px #122d3229,inset 0 1px #fff8}main .floor-heading{padding:10px 20px;border:1px solid #ffffff82;border-radius:12px;background:#fcfbf0ed;box-shadow:0 4px 20px #172e3626;color:#284b47}main .floor-heading h2{color:#254b46;text-shadow:none;font-size:24px;letter-spacing:.06em}main .floor-heading>span,main .floor-heading p{color:#4f6b64;text-shadow:none}main .player-hud{background:#fcfbf1f5}main .resource small{font-variant-numeric:tabular-nums;color:#294d47}main .resource small em{color:#687d72}main .status-chip{background:#fcf1def5;color:#61462e;border-color:#d7bd91}main .skill-button{position:relative;border:1px solid #ffffff80}main .skill-button:disabled{opacity:.72;filter:saturate(.45)}main .utility-actions button{border:1px solid #c7d5c8;border-radius:7px}main .utility-actions button:not(:disabled):hover{background:#dde9df;border-color:#829d8c}main .dialogue-wrap{padding:26px;pointer-events:none}main .dialogue-wrap .dialogue-box{pointer-events:auto}main .dialogue-box{width:880px;max-width:calc(100vw - 40px);min-height:0;padding:22px 28px 18px;background:#fffdf5f7;border-radius:14px}main .dialogue-top b{color:#24594e;font-weight:650}main .dialogue-top span{font-size:13px;color:#627369;font-variant-numeric:tabular-nums}main .dialogue-text{color:#203e3c;line-height:1.75;letter-spacing:.035em;margin-top:14px}main .dialogue-bottom{align-items:center;margin-top:14px;gap:16px}main .dialogue-bottom>div:first-child{gap:16px}main .dialogue-bottom .quiet-button{min-height:40px;color:#506e62;font-size:14px}main .next-dialogue{min-height:44px;padding:9px 16px;border-radius:8px;color:#254f45;background:#e5eddf;font-weight:600}main .next-dialogue:not(:disabled):hover{background:#d0e1cf;box-shadow:inset 0 0 0 1px #9fb99f}main .dialogue-interlude{background:none}main .dialogue-interlude .dialogue-top,main .dialogue-interlude .dialogue-text{display:none}main .dialogue-interlude .dialogue-box{width:740px;padding:8px 20px;background:#fcfbf1df}main .dialogue-interlude .dialogue-bottom{margin:0}main .tutorial-gate{background:linear-gradient(0deg,#102e3855,transparent 42%)}main .tutorial-gate .dialogue-box{width:690px;border-top:3px solid #8ba981}.tutorial-step{display:flex;gap:18px;align-items:center;padding:18px 0 3px}.tutorial-step-key{width:52px;height:58px;display:grid;place-items:center;flex-shrink:0;font-size:32px;border-radius:10px;color:#386150;background:#e9efdf;box-shadow:inset 0 -3px #c5d3b8}.tutorial-step h3{color:#2a4b40;margin-bottom:7px;font-size:19px}.tutorial-step p{color:#426054;font-size:16px;line-height:1.6}.tutorial-step small{display:block;margin-top:9px;color:#617365;font-size:13px}.tutorial-step kbd{font:inherit;display:inline-block;border:1px solid #c9d5c0;border-bottom-width:2px;border-radius:4px;padding:0 5px;background:#f2f5e9}main .tutorial-gate .scene-caption{display:none}main .dialogue-history{scrollbar-gutter:stable;padding-right:12px}main .dialogue-history p{line-height:1.75;color:#2a4541}main .dialogue-history strong{color:#2f6254;font-size:14px}@media(max-width:600px){main .dialogue-wrap{padding:12px 12px max(12px,env(safe-area-inset-bottom))}main .dialogue-box{width:100%;max-width:none;padding:16px 18px 12px}main .dialogue-text{font-size:19px;line-height:1.75;min-height:60px;max-height:29dvh;overflow:auto}main .dialogue-bottom{gap:8px;margin-top:10px}main .dialogue-bottom>div:first-child{gap:10px}main .dialogue-bottom .quiet-button{font-size:13px;min-height:44px}main .next-dialogue{margin-left:auto;min-height:48px;padding:8px 13px;font-size:15px}main .dialogue-interlude .dialogue-box{padding:6px 12px}.tutorial-step{gap:10px;padding-top:12px}.tutorial-step-key{width:36px;height:46px;font-size:26px}.tutorial-step h3{font-size:17px;line-height:1.5}.tutorial-step p{font-size:15px}.tutorial-step small{font-size:12px}main .tutorial-gate .dialogue-bottom>div:first-child{gap:12px}main .tutorial-gate .dialogue-bottom .next-dialogue{font-size:14px}}main.large-text .dialogue-text{font-size:24px}main.dungeon-mode:has(.boss-health) .floor-heading{display:none}main.dungeon-mode .boss-health{top:105px;width:300px;padding:13px 18px}main.dungeon-mode .boss-health~.danger-reminder{top:199px}main .equipment-comparison{margin:16px 0;padding:14px 12px;background:#edf2e9;border:1px solid #d0ddcc;border-radius:10px}main .equipment-comparison h4{margin:0 0 8px;font-size:15px;color:#244d49}main .equipment-comparison .comparison-current{font-size:12px;line-height:1.5;color:#526961;margin-bottom:8px}main .equipment-comparison dl{margin:0}main .equipment-comparison dl>div{display:flex;justify-content:space-between;gap:9px;padding:6px 0;border-bottom:1px solid #dce5d6}main .equipment-comparison dt{font-size:12px;line-height:1.6}main .equipment-comparison dd{margin:0;font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}main .equipment-comparison dd small{font-size:10px}main .comparison-before{color:#65776f;font-size:12px}main .equipment-comparison em{font-style:normal;font-size:12px;margin-left:6px;padding:1px 4px;border-radius:4px}main .stat-gain{color:#235f49;background:#d9eadf}main .stat-loss{color:#914b36;background:#f2e0d5}main .equipment-comparison .comparison-cost{font-size:12px;line-height:1.6;color:#536a62;margin-top:10px}@media(max-width:600px){main.dungeon-mode .boss-health{top:216px;left:12px;right:12px;width:auto;transform:none;padding:10px 14px}main.dungeon-mode .boss-health~.danger-reminder{top:302px;max-width:calc(100% - 24px)}main .equipment-comparison dt,main .comparison-before{font-size:14px}main .equipment-comparison .comparison-cost{font-size:13px}}@media(max-width:600px)and (max-height:700px){main.dungeon-mode .boss-health{top:194px;padding:7px 12px}main.dungeon-mode .boss-health~.danger-reminder{top:270px}}main .result-card{width:min(520px,100%);min-width:0;max-width:100%;overflow-wrap:anywhere}main .result-card p{color:#51675d}main .result-stats{min-width:0;gap:12px}main .result-stats>span{min-width:0;flex:1}@media(max-width:600px){main .result-wrap{padding:16px;overflow:auto}main .result-card{width:100%;padding:26px 20px;margin:auto}main .result-card h1{font-size:24px;line-height:1.5;letter-spacing:.03em;white-space:normal}main .result-card p{font-size:15px;line-height:1.75}main .result-stats{padding:20px 0;margin:20px 0}main .result-stats b{font-size:26px}main .result-card .primary,main .result-card .secondary{width:100%;white-space:normal;min-height:48px}main .item-detail{grid-template-columns:70px minmax(0,1fr);column-gap:14px}main .item-detail>.item-display{grid-column:1;grid-row:1/4;width:70px;height:86px;align-self:start}main .item-detail .item-display .item-art{width:70px;height:86px;max-width:100%;object-fit:contain}main .item-detail>h3,main .item-detail>p,main .item-detail>.cost-tag{grid-column:2;min-width:0;overflow-wrap:anywhere}main .item-detail>.equipment-comparison,main .item-detail>.inventory-tools,main .item-detail>.primary{grid-column:1/-1}main .inventory-grid{scroll-padding:5px}main .floor-heading{padding:7px 13px;top:216px;max-width:calc(100vw - 24px)}main .floor-heading h2{font-size:17px;line-height:1.5;margin:0}main .floor-heading>span,main .floor-heading>p{display:none}}.free-move-pad{position:relative;width:154px;height:154px;border-radius:50%;border:1px solid #a1bbae;background:radial-gradient(circle,#eef3e5 22%,#d8e4d8 23%,#e2eadd 62%,#c8daca);touch-action:none;user-select:none;-webkit-user-select:none}.free-move-pad button{position:absolute;transform:translate(-50%,-50%);width:38px;min-height:38px;padding:0;color:#45675e;background:transparent;border-radius:50%;touch-action:none}.free-move-pad button:focus-visible{outline:2px solid #357c6f;outline-offset:1px}.free-move-thumb{position:absolute;left:calc(50% - 19px);top:calc(50% - 19px);width:38px;height:38px;border-radius:50%;border:2px solid #8faa9b;background:#fcfcf1ec;box-shadow:0 3px 8px #31564b30;pointer-events:none}main .dpad button{touch-action:none;user-select:none;-webkit-user-select:none}main .dpad button[aria-disabled=true]{opacity:.7}.movement-help{display:block;color:#526d63;font-size:11px;margin:6px 0 0;max-width:180px;line-height:1.5}main .aim-strip .aim-help{display:block;font-size:12px;line-height:1.5;margin-top:5px;color:#496e64;white-space:normal}@media(max-width:700px){main.exploring-mode .hub-card{top:76px;left:12px;right:12px;width:auto;padding:12px 15px;max-height:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center}main.exploring-mode .hub-card>p,main.exploring-mode .hub-card>.eyebrow,main.exploring-mode .hub-card>.thin-line,main.exploring-mode .hub-card>.quest-label{display:none}main.exploring-mode .hub-card h1{grid-column:1;font-size:13px;margin:0;color:#667f72}main.exploring-mode .hub-card h3{grid-column:1;font-size:15px;margin:0}main.exploring-mode .hub-card .primary{grid-column:2;grid-row:1/3;width:auto;min-height:44px;margin:0;padding:10px 13px;font-size:12px}main.exploring-mode .hub-card .quiet-button{grid-column:1/-1;padding:4px 0 0;margin:0;font-size:11px}main.exploring-mode .hub-nav{left:auto;right:12px;bottom:12px;width:164px;transform:none;display:grid;grid-template-columns:1fr;gap:2px;padding:6px}main.exploring-mode .hub-nav button{font-size:12px;min-height:43px;padding:8px}main .exploration-controls{left:12px;bottom:12px;max-width:178px;padding:10px}main .exploration-controls>small{font-size:10px;line-height:1.5}main .exploration-controls>.secondary{display:block;width:100%;padding:9px;font-size:12px;margin-top:4px}main.exploring-mode .hub-location{bottom:205px;font-size:9px;padding:6px 10px}.free-move-pad{width:136px;height:136px}.free-move-pad button{width:36px;min-height:36px}}main:not(.title-mode){--hud-ink:#f8f4e6;--hud-shadow:0 1px 3px #102c2fee,0 1px 8px #102c2f99}main:not(.title-mode) .scene-vignette{background:linear-gradient(180deg,#10282e42,transparent 22%,transparent 70%,#10282e36)}.game-topbar{position:fixed;top:max(16px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));z-index:20}.game-topbar .top-actions{gap:12px}.game-topbar .save-status{color:#fff9e3;text-shadow:var(--hud-shadow);font-size:10px;max-width:95px}.game-topbar .icon-button{width:38px;height:38px;background:#183c42aa;border:1px solid #d0d6b775;color:#f6f3df;box-shadow:0 2px #10292b80;border-radius:50%}.world-objective{position:fixed;top:max(19px,env(safe-area-inset-top));left:max(24px,env(safe-area-inset-left));max-width:calc(100vw - 178px);z-index:9;color:var(--hud-ink);text-shadow:var(--hud-shadow);pointer-events:none}.world-objective h1{font-size:21px;font-weight:600;letter-spacing:.1em;line-height:1.5;margin:0 0 7px}.objective-line{display:flex;gap:8px;align-items:center;font-size:12px;line-height:1.6;color:#f0e5b7}.objective-guide{pointer-events:auto;color:#d6e7d1;font-size:11px;padding:6px 0;text-shadow:var(--hud-shadow);text-align:left}.objective-guide span{padding-left:9px}main .exploration-controls{left:max(24px,env(safe-area-inset-left));bottom:max(24px,env(safe-area-inset-bottom));z-index:12;padding:0;border:0;box-shadow:none;background:none;border-radius:0;backdrop-filter:none;max-width:160px}.free-move-pad{width:146px;height:146px;border:1px solid #e1e5cf7a;background:radial-gradient(circle,#a9bba122 34%,transparent 35%,#294b4538 67%,#d7dfc533 69%,transparent 72%);box-shadow:inset 0 0 15px #c8d4ba17}.free-move-pad button{color:#fff8d5be;text-shadow:var(--hud-shadow);font-size:16px}.free-move-thumb{background:#e4e8d68c;border:2px solid #fff8dcaf;box-shadow:0 3px 8px #162e2c65,inset 0 0 8px #ffffff60;width:43px;height:43px;left:calc(50% - 21.5px);top:calc(50% - 21.5px)}main .movement-help{text-align:center;color:#eef1d9b0;text-shadow:var(--hud-shadow);font-size:10px;margin:8px 0 0}.world-actions{position:fixed;right:max(25px,env(safe-area-inset-right));bottom:max(25px,env(safe-area-inset-bottom));z-index:12;display:flex;flex-direction:column;align-items:flex-end;gap:11px;width:200px}.world-quick-actions{display:flex;gap:10px}.world-quick-actions button{width:43px;height:43px;display:grid;place-items:center;border:1px solid #dfd7ad9c;color:#f9f2d7;background:#204951ac;border-radius:50%;box-shadow:0 3px #112f3566}.world-interact{min-width:148px;min-height:67px;display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 16px;border:2px solid #f0dfa5;border-radius:35px;color:#fff8d8;background:#315e62ee;box-shadow:0 4px #142e33bb,inset 0 0 0 3px #d8cc9c20;font-size:15px}.world-interact kbd{font-size:11px;color:#f2e5bd;border:1px solid #e2d6aa7a;background:#15363e60;padding:2px 5px;border-radius:3px}.world-interact.secondary-target{min-height:42px;font-size:12px;border-width:1px}.interaction-hint{color:#f6edd0c9;text-shadow:var(--hud-shadow);text-align:right;font-size:11px;line-height:1.7;padding:5px 5px 0}.world-route-action{display:flex;gap:8px;align-items:center;color:#fff0b4;border:1px solid #e5d9a17a;border-radius:22px;padding:10px 17px;background:#214c50c9;font-size:13px}.world-return{display:flex;align-items:center;gap:7px;padding:5px 0;font-size:11px;color:#e4edda;text-shadow:var(--hud-shadow)}.world-return svg{transform:rotate(180deg)}.world-guidance{position:fixed;top:105px;left:max(24px,env(safe-area-inset-left));width:min(280px,calc(100vw - 48px));z-index:9;pointer-events:none}.world-guidance .sekai-quest-compass{display:flex;flex-wrap:nowrap;gap:8px;border:0;border-left:2px solid #d8c58b;border-radius:0;padding:6px 8px;background:#173d4666}.world-guidance .sekai-quest-compass>div{min-width:0}.world-guidance .sekai-quest-compass strong{font-size:11px}.world-guidance .sekai-quest-compass p{font-size:10px;margin-top:2px}.world-guidance .sekai-quest-compass small,.world-guidance .sekai-quest-compass button{display:none}.world-guidance .sekai-quest-arrow,.world-guidance .sekai-quest-state{width:23px;height:23px;flex-basis:23px}.world-loading{position:fixed;z-index:45;left:50%;top:50%;transform:translate(-50%,-50%);max-width:calc(100vw - 40px);padding:16px 22px;border:1px solid #d4c394;border-radius:4px;color:#f8edc8;background:#153842eb;font-size:14px}.world-loading button{margin-left:12px;color:#ffe7a5;border:1px solid #bca970;padding:5px 10px}main.dungeon-mode .player-hud{top:20px;left:20px;width:248px;padding:10px 12px;color:#fff6d6;background:#173a3cdf;border:1px solid #d4d1a772;border-radius:5px 18px 5px 5px;backdrop-filter:none;box-shadow:0 3px #10252a77}main.dungeon-mode .player-hud b,main.dungeon-mode .resource small,main.dungeon-mode .satiety{color:#f6edd3}main.dungeon-mode .resource small em{color:#c5d2bd}main.dungeon-mode .name-row{margin-bottom:5px}main.dungeon-mode .portrait{width:42px;height:52px}main.dungeon-mode .minimap{top:70px;right:20px;width:154px;padding:8px;background:#16363b9c;border:1px solid #d9d6ad66;border-radius:5px;box-shadow:none;backdrop-filter:none;color:#fbf3da}main.dungeon-mode .map-heading,main.dungeon-mode .map-heading b,main.dungeon-mode .floor-timer{color:#efe4c6}main.dungeon-mode .floor-heading{top:21px;left:50%;transform:translate(-50%);padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:none}main.dungeon-mode .floor-heading>span,main.dungeon-mode .floor-heading p{display:none}main.dungeon-mode .floor-heading h2{font-size:14px;color:#f8efcf;text-shadow:var(--hud-shadow)}main.dungeon-mode .journey-log{background:linear-gradient(90deg,#19363dad,transparent);border:0;border-radius:0;box-shadow:none;backdrop-filter:none;color:#fff0cc;width:270px;left:22px;bottom:205px;top:auto;padding:8px;pointer-events:none}main.dungeon-mode .journey-log .eyebrow{display:none}main.dungeon-mode .journey-log li{color:#f3eacf;text-shadow:var(--hud-shadow);font-size:11px}main.dungeon-mode .journey-log li:not(:last-child){display:none}main.dungeon-mode .controls-dock{position:fixed;inset:auto 22px 22px;width:auto;transform:none;display:flex;justify-content:space-between;align-items:flex-end;gap:25px;pointer-events:none}main.dungeon-mode .dpad,main.dungeon-mode .action-dock{pointer-events:auto}main.dungeon-mode .dpad{width:158px;flex-shrink:0;padding:5px;gap:3px;background:#1d444638;border:1px solid #e1dfbb4a;border-radius:50%;box-shadow:none;backdrop-filter:none}main.dungeon-mode .dpad button{min-width:0;width:46px;height:46px;min-height:46px;padding:0;color:#f8efd0;background:#244b516b;border:1px solid #d6d4ad46;border-radius:50%;text-shadow:var(--hud-shadow)}main.dungeon-mode .dpad button:nth-child(5){background:#e4d6a25e;color:#fff6cc}main.dungeon-mode .action-dock{width:292px;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none}main.dungeon-mode .skill-buttons{gap:8px}main.dungeon-mode .skill-button{width:88px;min-width:0;min-height:83px;padding:8px 4px;background:#21464ddd;color:#fff2cd;border:1px solid #dbc88dc4;border-radius:18px 18px 8px 8px;box-shadow:0 3px #102a30b3}main.dungeon-mode .skill-button b,main.dungeon-mode .skill-button small{color:#f1e5bc}main.dungeon-mode .utility-actions{margin-top:10px;gap:7px}main.dungeon-mode .utility-actions button{color:#f4eaca;background:#1e444dc9;border:1px solid #d1c79873;border-radius:18px;padding:8px 10px}main.dungeon-mode .partner-card{top:129px;left:22px;padding:7px 9px;width:226px;color:#f1e8ca;background:#1c4245c4;border:0;border-radius:4px;box-shadow:none;backdrop-filter:none}main.dungeon-mode .partner-card b,main.dungeon-mode .partner-card small{color:#f1e8ca}main.dungeon-mode .partner-card select{background:#133539;color:#e5e9d4;border:1px solid #899c80}main.dungeon-mode .aim-strip{background:#193b43eb;border:1px solid #d9cc99;border-radius:8px;color:#fff2cc;padding:12px}main.dungeon-mode .aim-strip .eyebrow,main.dungeon-mode .aim-strip b,main.dungeon-mode .aim-strip small,main.dungeon-mode .aim-strip .aim-help{color:#f3e7c4}@media(max-width:700px){.world-objective{top:17px;left:17px;max-width:calc(100vw - 133px)}.world-objective h1{font-size:18px}.objective-line{font-size:11px}.game-topbar{right:14px;top:16px}.game-topbar .top-actions{gap:7px}.game-topbar .save-status{max-width:60px;font-size:9px}main .exploration-controls{left:17px;bottom:20px;max-width:136px}.free-move-pad{width:128px;height:128px}.world-actions{right:17px;bottom:20px;width:177px;gap:10px}.world-quick-actions{gap:8px}.world-quick-actions button{width:40px;height:40px}.world-interact{min-width:144px;min-height:62px;padding:10px 12px;font-size:13px}main.dungeon-mode .player-hud{top:15px;left:12px;width:211px;padding:8px}main.dungeon-mode .player-hud .portrait{width:32px;height:43px}main.dungeon-mode .player-hud .resource-panel{gap:3px}main.dungeon-mode .minimap{top:65px;right:12px;width:110px;padding:5px}main.dungeon-mode .partner-card{top:130px;left:12px;width:207px}main.dungeon-mode .floor-heading{top:181px;left:17px;transform:none}main.dungeon-mode .floor-heading h2{font-size:12px}main.dungeon-mode .controls-dock{inset:auto 12px 20px;gap:12px}main.dungeon-mode .dpad{width:131px;gap:2px;padding:3px}main.dungeon-mode .dpad button{width:39px;height:39px;min-height:39px}main.dungeon-mode .action-dock{width:204px}main.dungeon-mode .skill-button{width:62px;min-height:72px;padding:7px 2px;border-radius:13px 13px 6px 6px}main.dungeon-mode .skill-button b{font-size:11px}main.dungeon-mode .skill-button small{font-size:9px}main.dungeon-mode .utility-actions{flex-wrap:wrap;gap:5px;margin-top:7px}main.dungeon-mode .utility-actions button{font-size:10px;padding:7px 8px;min-height:35px}main.dungeon-mode .journey-log{bottom:207px;left:12px;max-width:260px}}@media(max-width:374px){main.dungeon-mode .dpad{width:119px}main.dungeon-mode .dpad button{width:35px;height:35px;min-height:35px}main.dungeon-mode .action-dock{width:185px}main.dungeon-mode .skill-button{width:56px}main.dungeon-mode .controls-dock{gap:7px}}main{--accent:#305d67;--ink:#203f47;--muted:#506963;--line:#b4aa80}.title-mode .scene-vignette{background:linear-gradient(0deg,#102d39d1,transparent 49%,#122d394d)}.title-mode .brand{display:none}.title-mode .topbar{justify-content:flex-end}.title-mode .top-actions .save-status{color:#fff0ca;text-shadow:0 2px 4px #183c43}.title-mode .title-content{position:fixed;inset:9vh 0 0;width:100%;max-width:none;padding:0;margin:0;display:flex;flex-direction:column;align-items:center;text-align:center;pointer-events:none}.game-title-logo{position:relative;color:#fffbe7;filter:drop-shadow(0 6px 0 #173c4990) drop-shadow(0 8px 12px #12384360)}.game-title-logo h1{margin:0;font-family:Yu Gothic,Microsoft YaHei,sans-serif;font-weight:900;line-height:.98;letter-spacing:.04em;transform:rotate(-3deg)}.game-title-logo h1 span{display:block;font-size:clamp(36px,6vw,64px);font-weight:900;-webkit-text-stroke:4px #254c58;paint-order:stroke fill;text-shadow:2px 3px 0 #bfb675}.game-title-logo h1 b{display:block;font-size:clamp(66px,10vw,108px);font-weight:950;letter-spacing:.085em;-webkit-text-stroke:6px #254c58;paint-order:stroke fill;text-shadow:3px 5px 0 #aba36d}.game-title-logo h1 span,.game-title-logo h1 b{color:#fcf5d1;-webkit-text-fill-color:#fcf5d1}.title-crest{display:block;font-size:32px;color:#f5d681;line-height:1;margin-bottom:10px;text-shadow:0 2px #3a6971}.game-title-logo p{display:inline-block;margin-top:20px;padding:5px 27px;background:#1c4453d9;border-top:1px solid #e4d597;border-bottom:1px solid #e4d597;font-size:16px;color:#fff0bc;letter-spacing:.32em}.title-mode .title-buttons{position:absolute;top:53%;display:flex;flex-direction:column;align-items:stretch;width:264px;gap:11px;margin:0;pointer-events:auto}.title-mode .title-buttons button{position:relative;width:100%;min-height:49px;border:1px solid #e7d6a0;border-radius:2px 14px;background:linear-gradient(#32636b,#234b55);box-shadow:0 3px #0d2c34,inset 0 0 0 3px #93b6ad26;color:#fff4d1;font-weight:700;font-size:17px;letter-spacing:.12em;text-shadow:0 2px 0 #193a44;justify-content:center;padding:11px 18px}.title-mode .title-buttons button:before{content:"◆";position:absolute;left:14px;color:#e9d393;font-size:11px}.title-mode .title-buttons button:focus-visible,.title-mode .title-buttons button:hover{background:linear-gradient(#487e7e,#2b5a61);outline:2px solid #fff2b0;outline-offset:3px;transform:translate(3px)}.title-mode .title-buttons button svg{position:absolute;right:12px;width:16px}.title-mode .seed-control{position:absolute;top:calc(53% + 129px);padding:0;margin:0;pointer-events:auto;display:block;width:264px;color:#e1e8d0;text-shadow:0 1px 3px #17333b;font-size:11px}.seed-control summary{cursor:pointer;list-style:none;padding:7px}.seed-control summary:before{content:"◇ ";color:#dfd3a1}.title-mode .seed-control input{display:inline-block;background:#133841de;color:#fff3c5;border:1px solid #a89d70;width:128px;padding:5px 8px;margin:5px}.title-mode .seed-control label{display:none}.title-mode .seed-control button{color:#eee1b4}.title-bottom{color:#d6deca;text-shadow:0 1px 3px #183842;opacity:.85;font-size:10px}.title-bottom small{color:#d6deca;font-size:10px}.portrait{overflow:visible;position:relative}main.dungeon-mode .portrait{width:58px;height:67px;flex-shrink:0;border-radius:40% 40% 8px 8px;border:2px solid #dcc388;background:radial-gradient(circle,#7d9a95,#355668);box-shadow:0 2px #102e39}.portrait img{width:100%;height:100%;object-fit:cover;object-position:center 28%;border-radius:inherit}.portrait span{position:absolute;right:-5px;bottom:-7px;padding:2px 5px;border:1px solid #c6af76;background:#163947;color:#f7e1a0;font-size:9px;border-radius:3px}.partner-portrait{overflow:hidden;border:1px solid #d9c795;border-radius:50%;background:#537b7c}.partner-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 23%}main.dungeon-mode .player-hud{width:260px;border:2px solid #bdb387;border-radius:3px 16px 4px 4px;box-shadow:0 3px #12313b,inset 0 0 0 2px #dae0c920}main.dungeon-mode .resource-track{height:8px;border:1px solid #112f36;box-shadow:0 1px #c1c7a94d;border-radius:2px}main.dungeon-mode .quick-item{width:47px;height:47px;border-radius:50%;background:#1a3e49e0;border:1px solid #d6c08a;box-shadow:0 2px #102b32;position:relative}main.dungeon-mode .quick-item .item-art{filter:drop-shadow(0 2px 2px #0c2539)}main.dungeon-mode .quick-item small{position:absolute;bottom:1px;right:3px;border-radius:8px;background:#122c38;color:#fae0a0;min-width:16px;font-size:10px}main.dungeon-mode .skill-button{box-shadow:0 4px #0b2634,inset 0 0 0 3px #d5bd762b;background:radial-gradient(ellipse at 50% 35%,#467779,#234454 75%);border:2px solid #cbb377}main.dungeon-mode .skill-button svg{filter:drop-shadow(0 2px 0 #123340);color:#f9e5ac;stroke-width:2}main.dungeon-mode .skill-button kbd{background:#0f2c3a;color:#e7d09a;border:1px solid #b79d64;border-radius:3px;box-shadow:none}.modal-scrim{background:#071923a8;backdrop-filter:none}main .modal{background:#e8e5ce;border:3px solid #425f61;border-radius:4px 17px 4px 4px;box-shadow:0 0 0 2px #d8bf80,0 8px #0a253779,0 18px 55px #081c3380,inset 0 0 0 4px #c6bf9c;backdrop-filter:none;color:#203d45}main .modal-header{border-bottom:2px solid #a3a37f;background:#304f59;margin:-1px -1px 18px;padding:15px 20px;color:#fbebbe}main .modal-header h2{color:#fff1c5;font-size:23px;font-weight:700;letter-spacing:.1em}main .modal-header .eyebrow{display:none}main .modal .primary,main .result-card .primary{background:linear-gradient(#467777,#2a525c);color:#fff0bc;border:2px solid #a99561;border-radius:3px 10px;box-shadow:0 3px #24424b;font-weight:700}main .modal .secondary{background:#d2d8be;color:#284b51;border:1px solid #788e77;border-radius:3px}main .tabs{border-bottom:2px solid #819278;gap:5px}main .tabs button{font-weight:700;color:#506255}main .tabs button.active{background:#345963;color:#f2e4b7;border-bottom-color:#c0aa6d;border-radius:4px 4px 0 0}main .inventory-grid{gap:7px}main .inventory-grid button{background:#c6cdb0;border:2px solid #8d9f85;border-radius:4px;box-shadow:inset 0 2px 4px #354e3433}main .inventory-grid button.selected{border-color:#d5aa48;outline:2px solid #fff0ad;background:#e8dfab}main .dialogue-wrap .scene-caption{display:none}main .dialogue-box{position:relative;background:#173e4aef;border:3px solid #b9ac7e;border-radius:4px 18px 4px 4px;box-shadow:0 0 0 2px #1b3545,0 6px #0b2239a0,inset 0 0 0 3px #e2d1a224;backdrop-filter:none;color:#fff2cb;padding:24px 28px 15px}main .dialogue-top{border:0;margin:0 0 12px}main .dialogue-top>b{position:absolute;top:-20px;left:24px;padding:5px 22px;border:2px solid #d3bd86;border-radius:3px 9px 2px 2px;background:#345b64;color:#fff0bc;text-shadow:0 1px #163240;min-width:96px;text-align:center;font-size:16px}main .dialogue-top>span{display:none}main .dialogue-text{color:#fff4d8;text-shadow:0 1px #102d3c;font-size:19px;font-weight:500;line-height:1.85}main .dialogue-controls{border-top:1px solid #82948a50;padding-top:10px}main .dialogue-controls button{color:#e1dbbe;background:none;border:0;box-shadow:none;font-size:12px}main .dialogue-controls .next-dialogue{color:#ffe7a3;background:#315563;border:1px solid #a79569;border-radius:3px 8px;min-width:85px}main .result-card{background:#e9e4c9;border:3px solid #42615d;border-radius:4px 18px;box-shadow:0 0 0 2px #d8c184,0 12px 45px #0b2035a8,inset 0 0 0 4px #c6bd93}main .result-card .eyebrow{display:none}main .result-card h1{color:#284850;font-weight:800}@media(max-width:700px){.title-mode .title-content{inset:10vh 0 0}.title-mode .title-buttons{top:53%;width:235px}.game-title-logo h1 span{font-size:43px}.game-title-logo h1 b{font-size:78px}.game-title-logo p{font-size:13px}.title-bottom{bottom:12px;left:14px;right:14px}main.dungeon-mode .player-hud{width:216px}main.dungeon-mode .player-hud .portrait{width:45px;height:58px}main .dialogue-box{padding:21px 16px 11px}main .dialogue-text{font-size:16px;line-height:1.85}main .dialogue-top>b{left:17px;font-size:14px}main .modal-header h2{font-size:19px}}@media(max-height:580px){.title-mode .title-content{inset:3vh 0 0}.game-title-logo h1 span{font-size:31px}.game-title-logo h1 b{font-size:58px}.game-title-logo p{margin-top:10px;font-size:12px}.title-mode .title-buttons{top:52%;gap:7px}.title-mode .title-buttons button{min-height:39px;padding:7px}.title-mode .seed-control{top:calc(52% + 101px)}.title-crest{font-size:19px;margin-bottom:5px}}
