@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fraunces-vietnamese-wght-normal-CnvboYUG.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fraunces-latin-ext-wght-normal-Ca2vKHc0.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fraunces-latin-wght-normal-ukD16Tqj.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./dm-sans-latin-ext-wght-normal-BOFOeGcA.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./dm-sans-latin-wght-normal-Xz1IZZA0.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:DM Sans Variable,system-ui,PingFang TC,Microsoft JhengHei,sans-serif;color:#f5ead4;background:#0a1720;font-synthesis:none;--serif:"Fraunces Variable",Georgia,"Noto Serif TC",serif;--gold:#dfba70;--ink:#f5ead4;--muted:#c1c9c7;--panel:#101f2ded;--line:#a78b554d}*{box-sizing:border-box}body{margin:0;min-width:320px;overflow:hidden}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;border:0}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible,summary:focus-visible{outline:3px solid #ffe5a4;outline-offset:4px}a{color:inherit}button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}p{line-height:1.75}#app{height:100dvh;min-height:320px}main{height:100%;width:100%;padding:0}.game-frame{position:absolute;inset:0;background:#5b823e;isolation:isolate;overflow:hidden}#world{position:absolute;inset:0;touch-action:none}#world canvas{display:block;width:100%;height:100%}#world:focus-visible{outline:2px solid #fbe4a444;outline-offset:-3px}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#07141d55,transparent 25%,transparent 70%,#07141d66);box-shadow:inset 0 0 100px #07141d22;z-index:1}.site-header{position:absolute;top:0;left:0;right:0;height:73px;padding:0 34px;display:flex;align-items:center;gap:24px;z-index:5;pointer-events:none;background:linear-gradient(#091921a8,transparent)}.site-header a,.site-header button{pointer-events:auto}.brand{display:flex;gap:12px;align-items:center;font:450 23px var(--serif);text-decoration:none;text-shadow:0 2px 6px #061419aa;white-space:nowrap}.brand>svg{width:30px;height:39px;color:var(--gold);filter:drop-shadow(0 0 6px #e4b55b66)}.header-note{font-size:10px;letter-spacing:1px;color:#e4e6d9;display:none}.header-actions{display:flex;align-items:center;gap:9px;margin-left:auto}.icon-button,.language-button{min-width:44px;min-height:44px;background:#0f2330bb;border:1px solid #dbbc7755;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;color:#fff1cf}.icon-button{font-size:24px}.language-button{padding:0 14px;font-size:12px}.icon-button:hover,.language-button:hover{background:#284352}.chapter-heading{position:absolute;left:36px;top:108px;z-index:3;pointer-events:none;text-shadow:0 3px 10px #0c241b99}.chapter-heading .eyebrow{color:#ffe1a4;letter-spacing:2.2px;font-size:9px;margin-bottom:11px;display:flex;align-items:center;gap:11px}.eyebrow i{width:23px;height:1px;background:#e6ce93}.chapter-heading h1{font:450 41px/1.1 var(--serif);margin:0 0 8px;letter-spacing:-1px}.location-sub{font-size:12px;color:#eff0d9;margin:0}.heading-ornament{display:none}.scene-top{position:absolute;right:33px;top:107px;z-index:3;pointer-events:none}.area-badge{display:none}.quest-card{display:flex;align-items:center;gap:13px;pointer-events:auto;background:#142735d9;border:1px solid #dfbc7266;border-left:3px solid #dfbc72;border-radius:4px;padding:13px 17px;max-width:283px;text-align:left;box-shadow:0 5px 25px #06182033}.quest-card:hover{background:#1c3546ed}.tiny{display:block;font-size:9px;letter-spacing:1.7px;font-weight:600}.quest-card .tiny{font-size:8px;color:#f4ce86;margin-bottom:5px;letter-spacing:1.4px}.quest-card #objective-text{font-size:12px;line-height:1.5}.quest-glyph{font-size:25px;color:#efd397}.quest-arrow{font-size:16px;color:#ecd59e;margin-left:4px}.scene-bottom{position:absolute;left:33px;right:33px;bottom:96px;z-index:3;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}.hero-card{display:flex;gap:13px;align-items:center;min-width:251px;max-width:310px;padding:12px 17px 12px 10px;background:linear-gradient(100deg,#122231f5,#122a38da);border:1px solid #d1b27366;border-radius:5px;box-shadow:0 6px 24px #091d1c44}.hero-portrait{width:65px;height:65px;flex-shrink:0;border:1px solid #d9bc79;border-radius:50%;overflow:hidden;background:radial-gradient(ellipse,#62858c,#1b394c)}.hero-portrait img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.3);object-position:50% 35%}.hero-stats{flex:1}.hero-name{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:10px}.hero-name strong{font:450 20px var(--serif)}.hero-name>span{font-size:9px;color:#edd49c;white-space:nowrap}.stat-line{display:flex;align-items:center;gap:7px;margin-top:7px;line-height:1;font-size:9px}.stat-line>span{color:#e6dcc3;min-width:18px}.stat-track{width:90px;height:6px;background:#050e16;border:1px solid #b3c6bf33;border-radius:5px;overflow:hidden}.stat-track i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#b48a43,#f6cd7c)}.mana .stat-track i{background:linear-gradient(90deg,#367d96,#8bd2e2)}.stat-line b{font-weight:500;font-size:9px;min-width:36px;text-align:right}.interact-name{display:block;font-size:11px;text-shadow:0 2px 5px #091c17;text-align:right;margin-bottom:7px}#interact-wrap{opacity:0}#interact-wrap.available{opacity:1}.interact-button{display:flex;gap:10px;align-items:center;pointer-events:auto;min-height:48px;padding:9px 16px 9px 10px;background:#152c39ed;border:1px solid #edc87b;border-radius:4px;box-shadow:0 0 22px #e7bc5d22;font-size:13px}.interact-button:hover{background:#3b493b}kbd{font:12px DM Sans Variable,sans-serif;color:#f1dca8;padding:5px 7px;border:1px solid #e6cd8a88;border-radius:3px;background:#07172488}.under-game{position:absolute;bottom:21px;left:34px;right:34px;display:flex;align-items:center;justify-content:space-between;z-index:4;gap:15px}.keyboard-hints{display:flex;gap:22px;font-size:10px;color:#e5e7d9;text-shadow:0 2px 4px #001a1a}.keyboard-hints span+span{border-left:1px solid #c8cdab55;padding-left:22px}.game-nav{display:flex;gap:9px}.game-nav button{display:flex;align-items:center;gap:10px;min-height:47px;padding:0 16px;border:1px solid #c8b27d66;background:#102938db;border-radius:4px;font-size:12px}.game-nav button:hover{background:#2b4551}.game-nav svg{color:#e2c47e;width:19px}.touch-controls{display:none}footer{display:none}#place-markers{position:absolute;inset:0;pointer-events:none;z-index:2}.place-marker{position:absolute;transform:translate(-50%);display:flex;align-items:center;flex-direction:column;pointer-events:auto;background:none;min-width:44px;min-height:44px;padding:0;color:#fff4d4;white-space:nowrap}.place-marker>span{display:grid;place-items:center;min-width:32px;height:28px;border:1px solid #d4bc7c88;background:#152b3cd9;border-radius:6px;font-size:21px;box-shadow:0 3px 9px #0a211555}.place-marker b{font-size:9px;font-weight:500;background:#112a35dd;border:1px solid #c4b07844;border-radius:3px;padding:4px 7px;margin-top:3px}.place-marker:hover>span{background:#e4ca8e;color:#17303c}.place-marker[hidden]{display:none}#toast{position:absolute;left:50%;bottom:195px;transform:translate(-50%);padding:13px 22px;background:#112b3bf5;border:1px solid #e0bd75;border-radius:5px;max-width:90%;width:max-content;font-size:13px;z-index:7;opacity:0;pointer-events:none;text-align:center;box-shadow:0 8px 25px #061e2266}#toast.visible{opacity:1}#loading{position:absolute;inset:0;z-index:10;display:grid;place-items:center;background:#10232e;color:#eed59d;font:450 25px var(--serif)}.sr-only{position:absolute!important;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}dialog{width:min(550px,calc(100vw - 28px));max-height:calc(100dvh - 36px);overflow-y:auto;background:linear-gradient(130deg,#1b3544f7,#0b1b2bf7);color:#f8eed8;border:1px solid #d7b978;border-radius:7px;padding:49px 32px 29px;box-shadow:0 24px 80px #06131988;scrollbar-width:thin;scrollbar-color:#8e805d #102332}dialog::backdrop{background:#06182366}dialog h2{font:450 30px/1.25 var(--serif);margin:0 0 20px;letter-spacing:-.3px}dialog h3{font:450 19px var(--serif);color:#f2d79f;margin:22px 0 14px}dialog p{font-size:14px;color:#e2e5db;margin:12px 0 24px}.eyebrow{font-size:9px;letter-spacing:2px;text-transform:uppercase;color:#efd29b;line-height:1.5;margin:0 0 11px}.modal-tools{position:absolute;right:10px;top:7px;display:flex;gap:5px;align-items:center}.modal-tools .language-button{border-color:transparent;background:transparent;font-size:11px}.modal-tools .icon-button{border-color:transparent;background:none;font-size:25px}.primary,.secondary{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 23px;border-radius:4px;font-size:13px}.primary{background:linear-gradient(#927442,#6f552f);border:1px solid #f0cf86;color:#fff7df;box-shadow:0 3px #362e23}.primary:hover{background:linear-gradient(#a88a4e,#7b6136)}.secondary{background:#233d4d;border:1px solid #8ca1a1;color:#f5e7c8}.secondary:hover{background:#345366}.stack{display:grid;gap:12px}.fine,dialog .fine{font-size:11px;line-height:1.75;color:#c4cdca}.warning{padding:13px;border:1px solid #cda252;background:#463c24;color:#ffe8b6!important;font-size:12px!important}.panel-start{width:470px;text-align:center;padding:52px 35px 25px}.panel-start h2{font-size:38px}.panel-start .eyebrow{font-size:8px}.welcome-lantern{width:150px;height:170px;margin:-8px auto -3px}.welcome-lantern img{width:100%;height:100%;object-fit:contain;transform:scale(1.3)}.panel-start .welcome-tagline{font:450 18px var(--serif);color:#e5d6b3;margin:8px 0 16px}.panel-start>p:not(.fine):not(.welcome-tagline){font-size:13px;margin-bottom:21px}.name-label{display:block;font-size:11px;text-align:left;margin-bottom:7px;color:#d4ddda}#hero-input{width:100%;height:45px;border:1px solid #879e9a;border-radius:4px;background:#071a28;color:#fff0ce;padding:8px 13px;margin-bottom:17px}.panel-start .fine{font-size:10px}.panel-dialogue{position:fixed;bottom:36px;top:auto;margin:0 auto;width:min(980px,calc(100vw - 46px));max-height:360px;overflow:visible;min-height:205px;padding:28px 28px 22px 244px;border:1px solid #e1c388;background:linear-gradient(100deg,#102837f5,#112534f5)}.panel-dialogue h2{font-size:24px;color:#f2d18d;margin-bottom:8px}.dialogue-body{min-height:80px}.dialogue-body img{position:absolute;left:0;bottom:0;width:230px;height:290px;object-fit:contain;filter:drop-shadow(4px 0 12px #0005)}.dialogue-body p{font-size:17px;line-height:1.8;margin:5px 0 15px;max-width:650px}.dialogue-foot{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialogue-foot>span{font-size:9px;letter-spacing:5px;color:#e1c78c}.dialogue-foot .primary{min-width:130px}.journal-intro{display:flex;gap:20px;align-items:flex-start;border-top:1px solid var(--line);padding-top:20px}.journal-intro>svg{width:36px;flex-shrink:0;color:var(--gold);margin-top:7px}.journal-intro h3{margin:4px 0 10px}.journal-intro p{font-size:12px;margin:0}.quest-list{list-style:none;padding:0;margin:25px 0}.quest-list li{display:flex;align-items:center;gap:14px;font-size:13px;margin:14px 0}.quest-list li>span{display:grid;place-items:center;border:1px solid #a58d5e;border-radius:50%;width:28px;height:28px;flex-shrink:0;color:#e5c98e;font-size:11px}.quest-list .done>span{background:#d1b273;color:#18313e}.satchel{display:flex;flex-wrap:wrap;gap:18px;border-top:1px solid var(--line);padding-top:18px;font-size:11px}.satchel b{color:#f0cf8b;margin-left:6px}.destination-list{display:grid;gap:9px}.destination-list button{display:flex;align-items:center;gap:15px;min-height:59px;padding:10px 16px;border:1px solid #718c8d;background:#172f40;border-radius:4px;text-align:left}.destination-list button:hover{background:#2c4658;border-color:#d4b874}.destination-list strong{font-size:13px;font-weight:500}.destination-list button>span:first-child{font-size:24px;min-width:25px;color:var(--gold)}.destination-list button>span:last-child{margin-left:auto}.settings-list{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0}.settings-list label{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:47px;font-size:13px}.settings-list input[type=checkbox]{appearance:none;width:40px;height:24px;border:1px solid #9db2ac;border-radius:20px;background:#354e5b;position:relative;cursor:pointer}.settings-list input[type=checkbox]:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#e9ddbb}.settings-list input:checked{background:#9b7c42;border-color:#f1cc81}.settings-list input:checked:after{left:19px}.settings-list input[type=range]{width:145px;min-height:44px;accent-color:#e4c17c}.save-slots{display:grid;gap:8px}.save-slots>div{display:flex;align-items:center;gap:9px;border:1px solid #718983;padding:4px 5px 4px 13px;border-radius:4px;min-height:53px;font-size:11px}.save-slots strong{font-size:17px;color:#f1ce86;margin-right:6px}.save-slots span{flex:1;line-height:1.5}.save-slots button{min-width:44px;min-height:44px;border:1px solid #a18b5c;background:#284351;border-radius:4px;font-size:19px}.text-button{background:none;color:#e5cf9f;text-decoration:underline;min-height:44px;padding:10px 0;font-size:12px}.confirmation-actions{display:flex;justify-content:flex-end;gap:14px;margin-top:28px}.panel-result,.panel-complete{text-align:center}.panel-result .primary,.panel-complete .primary{width:100%}.result-emblem{font-size:74px;color:var(--gold);margin:25px 0}.completed-art{height:210px;position:relative;margin:10px auto 20px}.completed-art:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse,#eec15d44,transparent 65%)}.completed-art img{position:relative;display:block;object-fit:contain;width:230px;height:240px;margin:auto}.panel-battle{position:fixed;inset:0;width:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#476c38;box-shadow:none}.panel-battle::backdrop{background:#091c22}.battle-top{position:absolute;left:35px;right:35px;top:30px;z-index:3;display:flex;justify-content:space-between;align-items:flex-start;text-shadow:0 2px 8px #061a23}.battle-top h2{font-size:36px;margin:6px 0}.battle-top .eyebrow{font-size:9px;letter-spacing:2.2px}.battle-top .icon-button{background:#142b3bea}.battle-stage{position:absolute;inset:0;height:100%;isolation:isolate}.battle-canvas{display:block;width:100%;height:100%;position:absolute;inset:0}.battle-stage:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(#061a2744,transparent 30%,transparent 55%,#061524b8)}.battle-atmosphere{display:none}.enemy-card{position:absolute;top:124px;right:35px;z-index:2;background:#142a39ed;border:1px solid #cfb27588;border-radius:4px;min-width:190px;padding:12px 15px;text-align:right}.enemy-card .tiny{font-size:8px;color:#f1dba6}.enemy-track{height:6px;background:#091721;border:1px solid #84988b66;margin:10px 0 6px;border-radius:4px;overflow:hidden}.enemy-track i{display:block;height:100%;background:linear-gradient(90deg,#b48e48,#eedb8b);transition:width .2s}.enemy-card small{font-size:11px}.battle-hero-status{position:absolute;left:35px;bottom:289px;z-index:2;display:flex;align-items:center;gap:18px;background:#122b3bea;border:1px solid #d3b57788;border-radius:4px;padding:11px 17px}.battle-hero-status strong{font:450 22px var(--serif)}.battle-hero-status span{font-size:12px;color:#f5e3bb}.turn-status{position:absolute;left:35px;bottom:240px;right:35px;z-index:3;font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:15px;text-shadow:0 2px 5px #071a22;background:#142938e8;padding:13px 16px;border:1px solid #879a8b66;border-radius:4px;max-width:760px}.turn-status.charged{color:#ffe0a1;border-color:#e9b569}.turn-status>span{font-size:11px;white-space:nowrap;color:#e3d8b6}.battle-commands{position:absolute;left:35px;bottom:42px;z-index:3;width:min(760px,calc(100% - 70px));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.battle-commands>button{display:flex;align-items:center;gap:13px;min-height:75px;padding:13px 16px;background:linear-gradient(120deg,#193447f5,#0d2638f5);border:1px solid #c4ab7377;border-radius:4px;text-align:left;box-shadow:0 4px 14px #07162344}.battle-commands>button:hover:not(:disabled){border-color:#ffe0a1;background:linear-gradient(120deg,#5b5139,#263c43)}.command-symbol{font-family:Georgia,serif;font-size:29px;color:#f0ce88;min-width:26px;text-align:center}.battle-commands strong{display:block;font-size:14px;font-weight:550}.battle-commands small{display:block;font-size:10px;color:#ccd7d4;margin-top:5px;line-height:1.4}.battle-commands b{font-size:14px;font-weight:400;color:#e0c48b;margin-left:auto}.battle-commands>button[data-action=flee]{grid-column:span 2;min-height:62px}.battle-commands .magic-back{justify-content:center;text-align:center}.battle-log{position:absolute;bottom:25px;right:35px;z-index:4;color:#eee2c6;font-size:11px;max-width:320px;width:25%}.battle-log summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:flex-end;gap:8px;text-shadow:0 2px 5px #001d20}.battle-log summary:before{content:"＋";color:#f0cf8c}.battle-log[open] summary:before{content:"−"}.battle-log>div{max-height:200px;overflow:auto;background:#0c2234f5;border:1px solid #b69c62;border-radius:4px;padding:13px 15px}.battle-log p{font-size:11px;line-height:1.6;margin:5px 0;color:#e9e7d9}.battle-impact{position:absolute;left:67%;top:40%;z-index:3;font:550 46px var(--serif);color:#fff3c3;text-shadow:0 2px 3px #823d1a;pointer-events:none;opacity:0}.is-resolving .battle-impact{animation:damage .8s ease-out}.is-resolving[data-phase=enemy] .battle-impact{left:29%;top:42%}@keyframes damage{15%{opacity:1;transform:translateY(-10px)}80%{opacity:1;transform:translateY(-60px)}to{opacity:0;transform:translateY(-75px)}}html[data-text=large] dialog p{font-size:18px}html[data-text=large] .quest-card #objective-text{font-size:15px}html[data-text=large] .battle-commands strong{font-size:18px}html[data-text=large] .battle-commands small{font-size:12px}html[data-text=large] .destination-list strong,html[data-text=large] .quest-list li{font-size:16px}html[data-text=large] .dialogue-body p{font-size:20px}html[data-motion=reduced] *,html[data-motion=reduced] *:before,html[data-motion=reduced] *:after{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:1000px){.site-header{padding:0 23px}.chapter-heading{left:25px;top:98px}.chapter-heading h1{font-size:35px}.scene-top{right:23px;top:99px}.scene-bottom{left:24px;right:24px;bottom:200px}.keyboard-hints{display:none}.under-game{left:24px;right:24px;bottom:22px;justify-content:center}.game-nav{width:100%;justify-content:center}.game-nav button{justify-content:center;min-width:125px}.touch-controls{position:absolute;left:23px;right:23px;bottom:85px;z-index:4;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.touch-controls p{font-size:11px;color:#f3ecd7;text-shadow:0 2px 5px #061d24}.dpad{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,44px);gap:3px;touch-action:none;pointer-events:auto}.dpad button{min-height:44px;min-width:44px;border:1px solid #c9b27899;border-radius:6px;background:#183344c9;font-size:22px;user-select:none;touch-action:none}.dpad button[data-dir=up]{grid-column:2;grid-row:1}.dpad button[data-dir=left]{grid-column:1;grid-row:2}.dpad>span{grid-column:2;grid-row:2;display:grid;place-items:center;color:#e7cc8c}.dpad button[data-dir=right]{grid-column:3;grid-row:2}.dpad button[data-dir=down]{grid-column:2;grid-row:3}.touch-action{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:80px;height:80px;padding:12px;background:#1b3548e8;border:1px solid #edd296;border-radius:50%;pointer-events:auto;box-shadow:0 0 25px #d5ad5622;font-size:11px}.touch-action svg{width:26px;height:32px;stroke:none}.touch-action:disabled{opacity:.65}.battle-log{bottom:12px;width:auto;right:30px}.battle-commands{width:calc(100% - 70px);bottom:67px}.turn-status{bottom:265px}.battle-hero-status{bottom:318px}}@media(max-width:600px){.site-header{height:61px;padding:0 14px;gap:4px}.brand{font-size:18px;gap:8px}.brand>svg{width:23px;height:32px}.header-actions{gap:4px}.header-actions .icon-button{min-width:38px}#settings-top{display:none}.language-button{font-size:10px;padding:0 11px}.chapter-heading{left:18px;top:88px}.chapter-heading .eyebrow{font-size:7px;gap:7px;letter-spacing:1.3px;margin-bottom:8px}.chapter-heading .eyebrow i{width:14px}.chapter-heading h1{font-size:29px;margin-bottom:6px}.location-sub{font-size:10px}.scene-top{top:180px;left:18px;right:auto}.quest-card{max-width:225px;padding:9px 12px;gap:8px}.quest-card .tiny{font-size:6px;letter-spacing:1px}.quest-card #objective-text{font-size:10px}.quest-glyph{font-size:22px}.quest-arrow{display:none}.scene-bottom{left:16px;right:16px;bottom:233px}.hero-card{min-width:196px;padding:9px;gap:8px;max-width:245px}.hero-portrait{width:49px;height:49px}.hero-name{gap:13px;margin-bottom:6px}.hero-name strong{font-size:17px;max-width:100px;overflow:hidden;text-overflow:ellipsis}.hero-name>span{font-size:7px}.stat-line{font-size:8px;gap:4px;margin-top:6px}.stat-track{width:66px;height:5px}.stat-line>span{min-width:15px}.stat-line b{font-size:8px;min-width:29px}.interact-button{font-size:10px;padding:9px;min-height:44px}.interact-button kbd{display:none}.interact-name{font-size:8px}.under-game{left:15px;right:15px;bottom:20px}.game-nav{gap:7px}.game-nav button{min-width:0;flex:1;padding:0 8px;font-size:11px;gap:7px;min-height:46px}.game-nav svg{width:18px}.touch-controls{left:17px;right:17px;bottom:84px}.touch-controls p{font-size:9px;max-width:96px;text-align:center;margin:0 7px}.touch-action{width:76px;height:76px;font-size:10px}.dpad{gap:2px}.place-marker b{font-size:8px;padding:3px 6px}.place-marker>span{font-size:18px;width:29px;height:27px}#toast{bottom:325px;font-size:11px;padding:11px 14px}dialog{width:calc(100vw - 24px);padding:50px 22px 24px;max-height:calc(100dvh - 26px)}dialog h2{font-size:26px}dialog p{font-size:13px}.panel-start{padding-top:52px}.panel-start h2{font-size:31px}.panel-start .welcome-tagline{font-size:16px}.welcome-lantern{height:140px;width:130px}.panel-start>p:not(.fine):not(.welcome-tagline){font-size:12px}.panel-start .fine{font-size:9px}.primary,.secondary{font-size:12px;padding:12px 18px}.panel-dialogue{bottom:30px;width:calc(100vw - 24px);padding:33px 20px 22px;min-height:260px;max-height:70dvh}.panel-dialogue h2{font-size:22px;position:relative;z-index:2;margin-top:13px;margin-left:0}.dialogue-body{position:relative;min-height:100px}.dialogue-body img{width:125px;height:158px;inset:-185px -1px auto auto;filter:drop-shadow(0 4px 12px #06121b88)}.dialogue-body p{font-size:15px;position:relative;z-index:1;line-height:1.8}.dialogue-foot{margin-top:13px}.dialogue-foot .primary{min-width:125px}.journal-intro{gap:14px}.journal-intro>svg{width:28px}.journal-intro h3{font-size:17px}.quest-list li{font-size:12px;gap:11px}.satchel{gap:12px;font-size:10px}.settings-list label{font-size:12px}.settings-list input[type=range]{width:122px}.save-slots>div{font-size:10px;gap:6px;padding-left:10px}.save-slots strong{margin-right:2px}.confirmation-actions{gap:9px}.confirmation-actions button{font-size:11px}.completed-art{height:185px}.completed-art img{width:200px;height:210px}.panel-battle{width:100%;height:100dvh;max-height:none;padding:0;border:0}.battle-top{left:18px;right:18px;top:23px;gap:10px}.battle-top h2{font-size:29px}.battle-top .eyebrow{font-size:8px;letter-spacing:1.4px}.enemy-card{top:115px;right:18px;min-width:150px;padding:10px 12px}.enemy-card .tiny{font-size:7px}.enemy-card small{font-size:9px}.battle-hero-status{left:18px;bottom:325px;padding:9px 13px;gap:12px}.battle-hero-status strong{font-size:18px}.battle-hero-status span{font-size:10px}.turn-status{left:18px;right:18px;bottom:266px;min-height:46px;font-size:11px;padding:10px 12px;line-height:1.5}.turn-status>span{font-size:9px}.battle-commands{left:18px;bottom:61px;width:calc(100% - 36px);grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.battle-commands>button{min-height:61px;padding:10px;gap:8px}.battle-commands strong{font-size:12px}.battle-commands small{font-size:8px}.command-symbol{font-size:25px;min-width:22px}.battle-commands b{font-size:12px}.battle-commands>button[data-action=flee]{grid-column:span 2;min-height:49px}.battle-commands>button[data-action=flee]>span:nth-child(2){display:flex;align-items:center;gap:12px}.battle-commands>button[data-action=flee] small{margin-top:0}.battle-log{right:18px;bottom:7px;max-width:calc(100% - 36px);font-size:10px}.battle-impact{font-size:38px;left:65%;top:34%}.is-resolving[data-phase=enemy] .battle-impact{left:22%;top:36%}html[data-text=large] .quest-card #objective-text{font-size:12px}html[data-text=large] .battle-commands strong{font-size:15px}html[data-text=large] .battle-commands small{font-size:10px}html[data-text=large] .dialogue-body p{font-size:18px}}@media(max-width:355px){.brand{font-size:16px;gap:6px}.site-header{padding:0 12px}.header-actions{gap:2px}.header-actions .icon-button{min-width:36px}.language-button{padding:0 8px;font-size:9px}.scene-top{top:172px}.quest-card{max-width:213px}.scene-bottom{bottom:229px;left:12px;right:12px}.hero-card{min-width:183px;padding:8px;gap:7px}.hero-portrait{width:43px;height:43px}.hero-name strong{font-size:15px}.hero-name>span{font-size:6px}.hero-name{gap:8px}.stat-track{width:60px}.interact-name{font-size:7px}.interact-button{font-size:9px;padding:8px 7px}.touch-controls{left:12px;right:12px}.touch-controls p{max-width:67px;margin:0 4px;font-size:8px}.touch-action{width:68px;height:68px}.battle-commands small{font-size:7.5px}.battle-commands>button{gap:6px}.battle-hero-status{left:14px;font-size:11px}.battle-top{left:14px;right:14px}.battle-top h2{font-size:26px}}@media(max-height:550px)and (orientation:landscape){.site-header{height:55px}.chapter-heading{top:75px;left:20px}.chapter-heading .eyebrow,.location-sub{display:none}.chapter-heading h1{font-size:26px}.scene-top{top:74px;left:auto;right:20px}.quest-card{max-width:230px;padding:8px 12px}.scene-bottom{left:185px;right:20px;bottom:79px}.hero-card{min-width:200px;padding:8px;gap:8px}.hero-portrait{width:44px;height:44px}.hero-name strong{font-size:16px}.hero-name{margin-bottom:5px}.stat-track{width:70px}.touch-controls{bottom:65px;left:18px;right:18px}.touch-controls p{display:none}.dpad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,36px)}.dpad button{min-height:44px}.touch-action{width:62px;height:62px}.under-game{bottom:10px;left:190px;right:20px}.game-nav{justify-content:flex-end}.game-nav button{min-width:100px;flex:0}.panel-battle .battle-top{top:15px;left:20px;right:20px}.battle-top h2{font-size:25px}.battle-top .eyebrow{font-size:7px}.enemy-card{top:85px;min-width:150px;right:20px;padding:8px 12px}.battle-commands{left:20px;bottom:20px;width:64%;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.battle-commands>button{min-height:53px;padding:7px;gap:7px}.battle-commands strong{font-size:11px}.battle-commands small{font-size:7px}.command-symbol{font-size:21px;min-width:19px}.battle-commands>button[data-action=flee]{min-height:44px}.turn-status{left:20px;right:auto;width:64%;bottom:135px;min-height:38px;font-size:10px;padding:8px 12px}.battle-hero-status{left:20px;bottom:182px;padding:7px 11px}.battle-hero-status strong{font-size:16px}.battle-hero-status span{font-size:9px}.battle-log{right:20px;bottom:9px;width:25%}.panel-dialogue{bottom:15px;min-height:180px;padding-top:25px;padding-bottom:15px}.dialogue-body p{font-size:14px}.dialogue-body img{height:230px;width:190px}.panel-dialogue{padding-left:200px}.dialogue-foot .primary{min-height:44px}.panel-start{max-height:calc(100dvh - 20px)}.welcome-lantern{height:70px}.panel-start h2{font-size:28px}.panel-start .welcome-tagline{font-size:14px}}.site-header{margin-top:env(safe-area-inset-top,0px);margin-left:env(safe-area-inset-left,0px);margin-right:env(safe-area-inset-right,0px)}.chapter-heading,.scene-top,.battle-top,.enemy-card{margin-top:env(safe-area-inset-top,0px)}.chapter-heading{margin-left:env(safe-area-inset-left,0px)}.scene-top{margin-right:env(safe-area-inset-right,0px)}.scene-bottom,.under-game,.touch-controls,.battle-commands,.turn-status,.battle-hero-status,.battle-log{margin-bottom:env(safe-area-inset-bottom,0px);margin-left:env(safe-area-inset-left,0px);margin-right:env(safe-area-inset-right,0px)}.panel-dialogue{margin-bottom:env(safe-area-inset-bottom,0px)}.panel-battle{max-width:none}.quest-arrow svg,.battle-commands b svg{width:14px;height:14px}.panel-equipment,.panel-shop{width:min(830px,calc(100vw - 28px))}.equipment-summary{display:grid;grid-template-columns:170px 1fr;gap:24px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:20px}.equipment-summary>img{width:170px;height:230px;object-fit:contain}.equipment-summary p{margin:7px 0;font-size:13px}.equipment-summary h3{margin:4px 0 16px}.gear-list{display:grid;gap:9px}.gear-row{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#152d3c;border:1px solid #74857577;border-radius:4px;min-height:70px}.gear-row>img{height:65px;width:54px;object-fit:contain}.gear-row>div{flex:1;font-size:13px}.gear-row strong{display:block;font-size:13px}.gear-row small{display:block;font-size:11px;line-height:1.5;color:#d1d9cf;margin-top:6px}.gear-row>button,.rune-buttons>button{min-height:44px;min-width:70px;padding:10px 14px;background:#6d5533;border:1px solid #e0c184;border-radius:4px;font-size:12px;white-space:nowrap}.gear-row>button:hover:not(:disabled),.rune-buttons>button:hover{background:#8a7045}.shop-coins{position:sticky;top:0;padding:12px 15px;background:#102938;z-index:2;border:1px solid #cbb179}.spell-list p{padding:10px;border-bottom:1px solid var(--line);margin:0;font-size:12px}.rune-buttons{display:flex;gap:12px;justify-content:center}.rune-buttons>button{flex:1;min-height:64px;font-size:20px}.reward-line{color:#ffe2a2}.battle-commands>button[data-action=flee]{grid-column:auto;min-height:75px}.battle-commands.magic-menu{max-height:190px;overflow-y:auto;scrollbar-width:thin}.battle-commands>button[data-action=flee]>span:nth-child(2){display:block}.battle-commands>button[data-action=flee] small{margin-top:5px}@media(max-width:600px){.game-nav svg{display:none}.game-nav button{font-size:10px;gap:0;padding:0 5px}.equipment-summary{grid-template-columns:90px 1fr;gap:12px}.equipment-summary>img{width:90px;height:180px}.equipment-summary p{font-size:11px}.equipment-summary h3{font-size:17px}.gear-row{padding:9px;gap:8px}.gear-row>img{width:35px;height:46px}.gear-row strong,.gear-row>div{font-size:11px}.gear-row small{font-size:10px}.gear-row>button{min-width:59px;padding:10px 8px;font-size:10px}.battle-commands>button[data-action=flee]{min-height:61px}.battle-commands.magic-menu{max-height:200px}.battle-commands>button[data-action=flee]>span:nth-child(2){display:block}}@media(max-height:550px)and (orientation:landscape){.battle-commands>button[data-action=flee]{min-height:53px}.battle-commands.magic-menu{max-height:116px}.equipment-summary>img{height:150px}}#scene-loading{position:fixed;inset:0;z-index:30;background:#10232ef5;display:grid;place-items:center;color:#f2d29b;font:450 23px var(--serif);text-align:center;padding:24px}#scene-loading[hidden]{display:none}.element-line{display:block;font-size:9px!important;margin-top:8px;color:#e4dbbb}.place-marker>span svg{width:19px;height:19px}.destination-list button>span:first-child svg{width:25px;height:25px}@media(max-width:355px){.battle-commands{gap:6px}.battle-commands .command-symbol,.battle-commands b{display:none}.battle-commands>button{padding:8px}.battle-commands small{line-height:1.2}}@media(max-height:550px)and (orientation:landscape)and (max-width:700px){.under-game{left:175px;right:14px}.game-nav button{min-width:0;flex:1;padding:0 7px;font-size:10px;gap:4px}.scene-top{display:none}.scene-bottom{inset:85px 18px auto auto}.scene-bottom #interact-wrap{display:none}.hero-card{min-width:190px;max-width:200px;padding:7px;gap:7px}.hero-portrait{width:36px;height:36px}.hero-name{gap:8px;margin-bottom:5px}.hero-name strong{font-size:15px}.hero-name>span{font-size:7px}.stat-line{margin-top:4px;font-size:8px;gap:4px}.stat-line b{font-size:8px}.stat-track{width:64px}.battle-commands{max-height:112px;overflow-y:auto}.battle-commands .command-symbol,.battle-commands b{display:none}}
