@import "https://fonts.googleapis.com/css2?family=DotGothic16&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap";:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f1ead7;font-synthesis:none;-webkit-text-size-adjust:100%;background:#0b1219;font-family:Zen Kaku Gothic New,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;-webkit-user-select:none;user-select:none}button:focus-visible{outline-offset:2px;outline:2px solid #ead28b}button:disabled{cursor:default}.game-shell{width:min(100%,520px);height:100dvh;min-height:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);background:#0b1720;border-inline:2px solid #5d6f6b;flex-direction:column;margin:0 auto;display:flex;overflow:hidden}.toolbar{background:#121d25;border-bottom:2px solid #718377;width:100%;height:47px;min-height:47px;padding:5px 8px;font-family:DotGothic16,monospace}.transport{justify-content:space-between;align-items:center;gap:4px;width:100%;height:100%;display:flex}.toolbar-caption{color:#c0cbb6;white-space:nowrap;flex:1;min-width:24px;font-size:12px}.speed-group{gap:3px;display:flex}.transport-btn{color:#e1e7d4;white-space:nowrap;background:#1b2a32;border:1px solid #67796d;border-radius:2px;min-width:32px;height:32px;padding:3px 5px;font-family:DotGothic16,monospace;font-size:12px}.transport-btn.symbol{min-width:30px}.transport-btn:active:not(:disabled),.start-button:active{transform:translateY(2px)}.build-view{background:linear-gradient(170deg,#1c302b 0%,#162621 68%,#0c1b20 100%);flex-direction:column;flex:1;gap:10px;min-height:0;padding:clamp(10px,2dvh,18px) 15px 14px;display:flex}.build-lead{flex:none;align-items:center;gap:16px;min-height:112px;display:flex}.build-avatar{background:radial-gradient(#4d8058,#2b594c 80%);border:3px solid #e2d5aa;border-radius:2px;flex:0 0 96px;justify-content:center;align-items:center;height:105px;display:flex;box-shadow:inset 0 0 0 4px #203e34,3px 3px #0d1a1b}.pipoya-character{aspect-ratio:1;background-repeat:no-repeat;background-size:300% 400%;background-position:50% var(--facing,0%);width:32px;height:32px;image-rendering:pixelated;flex-shrink:0;display:inline-block}.build-avatar .sprite{width:74px;height:74px;image-rendering:pixelated;filter:drop-shadow(3px 5px #17392e)}@keyframes pipoya-step{0%,to{background-position-x:50%}25%{background-position-x:0%}75%{background-position-x:100%}}.hero-block .pipoya-character,.enemy-block .pipoya-character{animation:.76s step-end infinite pipoya-step}.build-identity{flex-direction:column;gap:4px;min-width:0;display:flex}.minor{color:#e0c993;font:12px DotGothic16,monospace}.build-identity strong{letter-spacing:.06em;color:#f3e7bd;flex-wrap:wrap;align-items:baseline;font-size:28px;display:flex}.build-identity strong small{color:#b0c4ad;margin-left:10px;font:14px DotGothic16,monospace}.hint{color:#b6c2b3;font-size:11px;line-height:1.6}.wallet-row{color:#afc2b3;border-top:1px solid #657d67;border-bottom:1px solid #657d67;flex:none;justify-content:space-between;gap:8px;padding:10px 2px;font-size:12px;display:flex}.wallet-row strong{color:#ede2bf;margin-left:5px;font:17px DotGothic16,monospace}.wallet-row .wallet-coin{color:#f0cf7d}.build-choices{flex-direction:column;flex:1;min-height:0;display:flex}.build-title{justify-content:space-between;align-items:center;gap:8px;min-height:36px;font-size:15px;display:flex}.build-title strong{font-weight:900}.build-title span{color:#8eaa9b;font-size:11px}.choice-stack{flex-direction:column;flex:1;justify-content:flex-start;gap:7px;min-height:0;display:flex}.build-choice{text-align:left;background:#22392f;border:2px solid #527159;flex:0 67px;align-items:center;gap:10px;width:100%;min-height:0;padding:9px 12px;display:flex;box-shadow:inset 0 -3px #183128}.choice-mark{color:#f1d18a;flex:0 0 17px;font:20px DotGothic16,monospace}.choice-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.choice-copy strong{color:#f1e8cf;white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;overflow:hidden}.choice-copy small{color:#aec8b4;white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.cost-label{color:#edcb79;white-space:nowrap;font:14px DotGothic16,monospace}.no-choice{color:#b1c4b4;margin:0;padding:20px 7px;font-size:16px;line-height:1.8}.pager{color:#c9d3bf;flex:0 0 30px;justify-content:center;align-items:center;gap:18px;padding-top:3px;font:12px DotGothic16,monospace;display:flex}.pager button{background:#293d33;border:1px solid #637d69;border-radius:2px;height:28px;padding:1px 14px}.pager button:disabled{opacity:.35}.build-actions{border-top:1px solid #587464;flex:none;padding-top:11px}.next-hint{color:#b4c6b3;margin:0 0 9px;font-size:11px}.start-button{color:#273b2e;background:#e8d298;border:3px solid #fff0bb;justify-content:center;align-items:center;width:100%;min-height:54px;font-size:19px;font-weight:900;display:flex;box-shadow:3px 3px #081418}.start-button span{margin-left:14px;font:16px DotGothic16,monospace}.story-stage{isolation:isolate;background:#437b5a;flex:1;min-height:0;position:relative;overflow:hidden}.world-canvas{width:100%;height:100%;image-rendering:pixelated;display:block}.location-tag,.field-hud{text-shadow:1px 1px #000;background:#0c1a26e6;border:2px solid #e2dfc7;padding:7px 10px;font:15px DotGothic16,monospace;position:absolute;top:12px;box-shadow:2px 3px #192c25}.location-tag{left:11px}.field-hud{right:11px}.field-message{text-shadow:1px 1px #000;background:#071627ed;border:3px solid #f2ead6;border-radius:4px;outline:3px solid #152524;align-items:center;min-height:84px;padding:14px 18px;font:clamp(15px,3.6vw,19px)/1.65 DotGothic16,monospace;display:flex;position:absolute;bottom:13px;left:12px;right:12px;box-shadow:3px 5px #102b27aa}.prologue-mask{background:linear-gradient(#06131bd6 0%,#0b1b2cd9 25%,#071a28ee 62%,#06131cf7 100%);justify-content:center;align-items:center;padding:25px;display:flex;position:absolute;inset:0}.prologue-chapter{background:#081421f5;border:3px solid #e9dcb8;outline:3px solid #101b24;flex-direction:column;justify-content:space-between;width:100%;max-width:400px;min-height:240px;padding:24px 20px;display:flex;box-shadow:0 0 0 1px #7d8169,6px 7px #04151c}.prologue-who{color:#e6c887;border-bottom:1px solid #788578;padding-bottom:16px;font:14px DotGothic16,monospace}.story-monologue{color:#f4ecd7;letter-spacing:.02em;text-shadow:1px 2px #06131a;margin:0;font:clamp(21px,5.6vw,28px)/1.85 DotGothic16,monospace}.read-indicator{color:#e8d19a;align-self:flex-end;font:15px DotGothic16;animation:1s steps(2,end) infinite bob}@keyframes bob{50%{transform:translateY(3px)}}.is-encounter{animation:.12s steps(2,end) 3 encounter-shudder}.attention{color:#ffd987;margin-right:14px;font-size:28px}.encounter-effects{pointer-events:none;mix-blend-mode:screen;z-index:4;background:#fbf4d8;animation:.28s steps(2,end) forwards encounter-screen;position:absolute;inset:0}.encounter-effects i{background:#d9edff;width:10%;height:160%;display:block;position:absolute;top:-30%;left:25%;transform:rotate(40deg)}.encounter-effects i:nth-child(2){left:50%;transform:rotate(-42deg)}.encounter-effects i:nth-child(3){width:6%;left:70%;transform:rotate(10deg)}.encounter-effects i:nth-child(4){width:6%;left:7%;transform:rotate(-18deg)}@keyframes encounter-screen{0%{opacity:.95}to{opacity:0}}@keyframes encounter-shudder{25%{transform:translate(6px)}50%{transform:translate(-5px)}}.battle-stage{isolation:isolate;background:#4f827c;flex:1;min-height:0;font-family:DotGothic16,monospace;position:relative;overflow:hidden}.battle-sky{background:linear-gradient(#244e6d 0%,#4e8897 54%,#a0ad8d 54%,#567c5a 100%);position:absolute;inset:0;overflow:hidden}.battle-clouds{opacity:.64;width:55px;height:12px;image-rendering:pixelated;background:#bdd8d4;position:absolute;top:12%;left:8%;box-shadow:18px -10px #bdd8d4,46px 3px #bdd8d4,200px 17px #aed1d0,220px 9px #aed1d0,235px 23px #aed1d0}.battle-mountains{clip-path:polygon(0 100%,0 60%,9% 40%,20% 73%,29% 18%,39% 72%,48% 27%,60% 70%,69% 20%,81% 74%,92% 35%,100% 58%,100% 100%);background:#567962;height:28%;position:absolute;top:40%;left:-10%;right:-10%;box-shadow:inset 0 -15px #456d57}.battle-trees{clip-path:polygon(0 100%,0 50%,6% 0,13% 55%,18% 18%,23% 60%,29% 5%,37% 55%,45% 15%,52% 66%,63% 0,72% 55%,82% 11%,91% 55%,97% 12%,100% 44%,100% 100%);background:repeating-linear-gradient(90deg,#0000 0 13px,#325b4b 13px 24px,#0000 24px 36px);width:100%;height:20%;position:absolute;top:50%}.battle-terrain{background:radial-gradient(at 45% 70%,#648b61 0%,#557d54 59%,#3d694a 100%);border-top:13px solid #628767;width:120%;height:39%;position:absolute;bottom:0;left:-10%}.enemy-block{flex-direction:column;justify-content:flex-end;align-items:center;width:45%;height:65%;display:flex;position:absolute;top:20%;left:9%}.enemy-label{color:#f4eacc;background:#0a1829f2;border:2px solid #e9e1c8;padding:5px 8px;font-size:12px;position:absolute;top:0;left:0;right:0}.enemy-label strong{font-weight:400}.hp-meter{background:#2f353b;border:1px solid #162a2d;width:100%;height:6px;display:block}.enemy-label .hp-meter{margin-top:6px}.hp-fill{background:#c4d693;height:100%;display:block}.hp-fill.enemy{background:#d89b85}.enemy-sprite{filter:drop-shadow(6px 7px #1d373c7f);width:min(95%,155px);max-height:77%;image-rendering:pixelated;animation:1.4s steps(3,end) infinite enemy-idle}@keyframes enemy-idle{50%{transform:translateY(-5px)scaleX(1.04)}}.hero-block{filter:drop-shadow(5px 7px #1c443588);justify-content:center;align-items:end;width:40%;height:45%;display:flex;position:absolute;bottom:20%;right:6%}.hero-sprite{width:min(80%,148px);height:min(100%,148px)}.pipoya-character.hero-sprite{aspect-ratio:1;width:min(80%,132px);height:auto}.pipoya-character.enemy-sprite{aspect-ratio:1;height:auto}.boss-art{object-fit:contain}.ally-sprite{width:60%;height:70%;position:absolute;left:-30%}.hero-block.fallen .hero-sprite{filter:grayscale(.7);opacity:.75;transform:rotate(70deg)translate(20px)}.taking-hit{animation:.23s steps(3,end) strike}@keyframes strike{0%,to{filter:none;transform:translate(0)}20%{filter:brightness(2);transform:translate(8px)}60%{filter:brightness(.5);transform:translate(-7px)}}.slash-mark{background:#fff5bf;border-radius:45% 10%;width:20px;height:62px;position:absolute;top:38%;left:26%;transform:rotate(-35deg);box-shadow:8px 3px #dfb36b}.damage-popup{color:#fff1c5;text-shadow:2px 2px #781d30;z-index:3;font:24px DotGothic16,monospace;animation:.48s steps(4,end) both damage-rise;position:absolute}.enemy-damage{top:25%;right:-5%}.hero-damage{top:16%;left:40%}@keyframes damage-rise{0%{opacity:0;transform:translateY(15px)}30%{opacity:1}to{opacity:0;transform:translateY(-23px)}}.hero-status{background:#091629f2;border:2px solid #f4e4be;flex-direction:column;gap:5px;width:min(36%,145px);padding:7px 9px;font-size:13px;display:flex;position:absolute;top:10px;right:10px}.hero-status strong{justify-content:space-between;gap:5px;font-weight:400;display:flex}.hero-status strong span{color:#dcc88d}.hero-hp{font-size:12px}.hero-hp .hp-meter{margin-top:3px}.battle-message{background:#091527e8;border:2px solid #e8d9b4;outline:2px solid #122f29;align-items:center;min-height:55px;padding:8px 12px;font-size:clamp(13px,3.5vw,16px);line-height:1.5;display:flex;position:absolute;bottom:9px;left:10px;right:10px}.log-panel{background:#0b1721;border-top:3px solid #bfc4ab;flex-direction:column;flex:0 0 clamp(145px,27dvh,245px);min-height:0;display:flex}.log-heading{border-bottom:1px solid #4c6660;flex:none;justify-content:space-between;align-items:center;height:33px;padding:4px 12px;font-size:13px;display:flex}.log-heading span:last-child{color:#a6b6ac;font-size:11px}.log-lines{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#57756b transparent;flex:1;min-height:0;margin:0;padding:7px 11px 10px;list-style:none;overflow-y:auto}.log-line{color:#e0e6d8;gap:7px;margin-bottom:5px;font-size:12px;line-height:1.6;display:flex}.log-line.is-pending-hit:not(.hit-revealed){display:none}.log-line>span:first-child{color:#78968c}.log-hurt,.log-loss{color:#e9a49b}.log-gain,.log-win{color:#c2dea2}.log-story{color:#dec9a5}.log-only .log-panel{flex:1}.log-only .log-lines{padding:18px}.log-only .log-line{font-size:14px;line-height:1.8}.result-overlay{z-index:5;background:#06101ad9;justify-content:center;align-items:center;padding:10px;display:flex;position:absolute;inset:0}.result-window{background:#101c2b;border:3px solid #efdfba;outline:2px solid #172731;width:100%;max-width:360px;padding:clamp(9px,2vh,16px);box-shadow:4px 5px #0b1b21}.game-over{text-align:center;letter-spacing:.08em;color:#f0b3a6;border-bottom:1px solid #708274;padding-bottom:8px;font:clamp(25px,6vw,34px) DotGothic16,monospace;display:block}.result-numbers{justify-content:space-around;gap:8px;margin:10px 0 8px;font-size:14px;display:flex}.result-numbers b{color:#f0d398;font-size:24px}.result-window p{color:#b7c4bd;flex-wrap:wrap;justify-content:space-around;align-items:center;gap:7px;margin:7px 0 11px;font-size:13px;display:flex}.result-window em{color:#eccb7d;font-size:21px;font-style:normal}.result-actions{gap:8px;display:flex}.result-actions button{background:#2f4a3f;border:2px solid #a2b3a0;flex:1;min-width:0;min-height:46px;font-size:13px;font-weight:900}.result-actions button:last-child{color:#22332c;background:#e7d098;border-color:#ffedb4}@media (height<=700px){.toolbar{height:42px;min-height:42px;padding:3px 6px}.build-view{gap:5px;padding-top:7px;padding-bottom:8px}.build-lead{gap:11px;min-height:77px}.build-avatar{flex-basis:69px;height:72px}.build-avatar .sprite{width:52px;height:52px}.build-identity strong{font-size:23px}.wallet-row{padding:7px 2px}.build-title{min-height:28px}.choice-stack{gap:4px}.build-choice{flex-basis:60px;padding-block:5px}.build-actions{padding-top:7px}.start-button{min-height:46px}.next-hint{margin-bottom:5px}.pager{flex-basis:26px}}@media (width<=365px){.transport{gap:2px}.transport-btn{min-width:27px;padding-inline:3px;font-size:11px}.toolbar-caption{font-size:11px}.build-view{padding-inline:9px}.hint{font-size:10px}.choice-copy strong{font-size:13px}.choice-copy small{font-size:10px}.field-hud{font-size:12px;right:6px}.location-tag{font-size:12px;left:6px}.hero-status{width:41%}}@media (prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.001ms!important}}.story-stage,.battle-stage,.world-canvas,.battle-sky{touch-action:none}.log-lines{touch-action:pan-y}.ally-name{z-index:2;text-align:center;color:#f1e8ce;white-space:nowrap;background:#091829;border:1px solid #e2d8b8;min-width:72px;padding:3px 5px;font:11px DotGothic16,monospace;position:absolute;top:12%;left:-34%}.hero-block .pipoya-character.ally-sprite{aspect-ratio:1;width:68%;height:auto;bottom:0;left:-29%}.hero-block .ally-name{top:31%;left:-31%}.build-tabs{flex:none;gap:5px;margin:0 0 9px;display:flex}.build-tab{color:#c6d0c0;white-space:nowrap;text-overflow:ellipsis;background:#20392f;border:1px solid #648073;flex:1;min-width:0;height:35px;padding:3px;font:12px DotGothic16,monospace;overflow:hidden}.build-tab.active{color:#20362c;background:#e8d298;border-color:#f8e9b3}.build-pane{flex-direction:column;flex:1;min-height:0;display:flex}.personality-grid{flex:1;grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-height:0;display:grid}.personality-choice{text-align:left;background:#22392f;border:2px solid #527159;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:0;padding:5px 8px;display:flex}.personality-choice.equipped{background:#46553a;border-color:#f0d388}.personality-choice:disabled{opacity:.4}.personality-name{color:#f4e8c7;justify-content:space-between;align-items:center;font-size:13px;font-weight:900;display:flex}.personality-name small{color:#e7cb83;font:11px DotGothic16,monospace}.personality-detail{color:#a8c0ac;font-size:10px;line-height:1.45}.build-footnote{color:#a8c6af;flex:none;margin:7px 0 0;font-size:10px;line-height:1.5}.ending-grid{flex:1;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-height:0;display:grid}.ending-entry{background:#1c302d;border:2px solid #4d6159;flex-direction:column;justify-content:center;gap:7px;min-width:0;padding:12px;display:flex}.ending-entry.discovered{border-color:#d5be83}.ending-entry strong{color:#f1e4c4;font:16px DotGothic16,monospace}.ending-entry small{color:#b0c7b9;font-size:11px}.game-over.happy-end{color:#f1d58e;font-size:clamp(22px,5vw,29px)}.record-toggle{color:#d5e3d8;background:#1d3440;border:1px solid #6c8477;width:100%;min-height:31px;margin:0 0 9px;font:12px DotGothic16,monospace}.result-record{color:#dddec6;max-height:112px;margin:8px 0;font-size:12px;line-height:1.5;overflow-y:auto}.result-record strong{color:#f2d994;margin-bottom:6px;font-size:12px;display:block}.result-record p{text-align:left;margin:3px 0;font-size:11px;display:block}.battle-stage.area-castle .battle-sky{filter:saturate(.48)brightness(.75)}.battle-stage.area-forest .battle-sky{filter:saturate(.75)brightness(.85)}@media (height<=700px){.build-tabs{margin-bottom:5px}.build-tab{height:30px;font-size:11px}.personality-grid{gap:4px}.personality-choice{padding:3px 5px}.personality-name{font-size:12px}.personality-detail{font-size:9px}.build-footnote{margin-top:4px;font-size:9px}.ending-entry{padding:7px}.ending-entry strong{font-size:13px}}@media (width<=365px){.build-tab{font-size:10px}.personality-name{font-size:11px}}.game-shell{position:relative}.transport-btn.watch-access{text-overflow:ellipsis;color:#eddfa7;border-color:#abbd9e;min-width:59px;max-width:68px;overflow:hidden}.watch-screen{z-index:20;background:#07131ced;justify-content:center;align-items:center;padding:12px;display:flex;position:absolute;inset:47px 0 0}.watch-window{overscroll-behavior:contain;background:#11232a;border:3px solid #e0d4ab;flex-direction:column;gap:10px;width:100%;max-width:425px;max-height:100%;padding:clamp(10px,2vh,18px);font-family:DotGothic16,monospace;display:flex;overflow-y:auto;box-shadow:4px 5px #08121b}.watch-head{border-bottom:1px solid #63746d;justify-content:space-between;align-items:center;padding-bottom:7px;display:flex}.watch-head strong{color:#f2dfa6;font-size:18px}.watch-head button{background:#213e3c;border:1px solid #7c9885;width:31px;height:30px;font-size:20px}.watch-label{color:#d0dfcb;margin:2px 0 0;font-size:13px}.watch-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.watch-option{background:#192e34;border:2px solid #657971;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:68px;padding:7px 3px;display:flex}.watch-option strong{white-space:nowrap;font-size:clamp(11px,3vw,14px)}.watch-option small{color:#aabfb3;white-space:nowrap;font-size:10px}.watch-option.active,.watch-moment.active{color:#1b2e2b;background:#e5d094;border-color:#fff0b0}.watch-option.active small{color:#354d43}.watch-moments{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.watch-moment{background:#192e34;border:2px solid #657971;min-width:0;min-height:46px;padding:5px 0;font-size:clamp(10px,2.8vw,13px)}.watch-repeat{text-align:left;background:#1c3734;border:1px solid #789383;width:100%;padding:9px 7px;font-size:12px}.watch-repeat span{color:#efd495;font-size:16px}.watch-note{color:#acc1b8;margin:0;font-size:10px;line-height:1.5}.watch-done{color:#23342d;background:#dbcb94;border:2px solid #fff0b4;min-height:41px;font-size:14px}.decision-overlay{z-index:4;background:#071323b8;justify-content:center;align-items:center;padding:9px;display:flex;position:absolute;inset:0}.decision-window{background:#0f2030f5;border:3px solid #d0d0b8;flex-direction:column;width:100%;max-width:400px;max-height:100%;padding:clamp(10px,2.4vw,17px);font-family:DotGothic16,monospace;display:flex;overflow-y:auto;box-shadow:3px 4px #101e26}.decision-topline{color:#c4cbbd;justify-content:space-between;align-items:center;font-size:11px;display:flex}.decision-topline strong{color:#e7d18e}.decision-window h2{color:#f2e7bd;margin:10px 0 8px;font-size:clamp(17px,4.6vw,22px);line-height:1.35}.decision-window .decision-prompt{color:#e5e9dc;margin:0 0 10px;font-size:clamp(12px,3.4vw,15px);line-height:1.6}.decision-options{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.decision-options li{color:#afc1c2;background:#182c3b;border:1px solid #3b5560;align-items:center;gap:5px;min-height:clamp(26px,4.5dvh,37px);padding:3px 7px;font-size:clamp(11px,3vw,13px);display:flex}.decision-options li span{color:#77959a}.decision-options li.selected span{color:#efcf83}.decision-bottom{color:#a9c5ba;border-top:1px solid #607467;justify-content:space-between;align-items:center;gap:9px;margin-top:11px;padding-top:9px;font-size:11px;display:flex}.decision-bottom strong{color:#f4d991;text-align:right;font-size:13px}.decision-continue{color:#1e332d;background:#dfce91;border:2px solid #f8eab4;min-height:40px;margin-top:10px;font-size:14px}.decision-auto{text-align:right;color:#aebfb0;margin-top:8px;font-size:10px}.replay-back{z-index:6;background:#142534;border:1px solid #ddcea6;min-height:31px;padding:2px 8px;font:12px DotGothic16,monospace;position:absolute;top:6px;left:9px}.journey-log-stage{background:#0c1b28;flex-direction:column;flex:1;min-height:0;font-family:DotGothic16,monospace;display:flex;position:relative}.journey-log-title{color:#e9d59a;border-bottom:2px solid #83937e;justify-content:space-between;padding:13px;font-size:14px;display:flex}.journey-log-title span{color:#a8bdad;font-size:11px}.journey-log-stage .log-lines{padding:13px}.journey-log-stage .log-line{margin-bottom:12px;font-size:13px}.journey-decision{background:#19353b;border:1px solid #978858;padding:6px 8px}.result-record{flex-direction:column;gap:3px;display:flex}.result-record .record-event{text-align:left;background:#1b323a;border:1px solid #57766b;grid-template-rows:auto auto;grid-template-columns:1fr 19px;align-items:center;width:100%;padding:6px;font:11px DotGothic16,monospace;display:grid}.record-event span{color:#efdeb7;grid-column:1}.record-event strong{color:#b1d1b5;grid-column:1;margin:4px 0 0 10px;font-size:11px}.record-event small{color:#e0ca8e;grid-area:1/2/3}@media (height<=700px){.watch-screen{padding:7px;inset-block-start:42px}.watch-window{gap:6px;padding:8px}.watch-option{gap:3px;min-height:56px}.watch-moment{min-height:37px}.decision-window h2{margin:5px 0}.decision-window .decision-prompt{margin-bottom:6px}.decision-bottom{margin-top:6px;padding-top:6px}}@media (width<=365px){.transport-btn.watch-access{min-width:53px;padding-inline:1px;font-size:10px}.decision-overlay{padding:6px}.decision-window{padding:8px}.decision-options{gap:2px}}.result-record{max-height:none;overflow:visible}.record-pages{color:#dcc99d;justify-content:center;align-items:center;gap:16px;margin-top:4px;font:12px DotGothic16,monospace;display:flex}.record-pages button{background:#28403d;border:1px solid #758879;min-width:43px;min-height:27px}.record-pages button:disabled{opacity:.3}.build-tabs{gap:3px}.build-tabs .build-tab{padding-inline:2px;font-size:clamp(10px,2.85vw,12px)}.ending-entry.lost.discovered{border-color:#d59c94}.archive-stack{flex-direction:column;flex:1;gap:7px;min-height:0;display:flex}.archive-entry{text-align:left;background:#223735;border:2px solid #688373;flex-direction:column;flex:1 1 0;justify-content:center;gap:5px;min-width:0;min-height:0;padding:9px 12px;display:flex}.archive-title{color:#f4db9f;white-space:nowrap;text-overflow:ellipsis;font:clamp(12px,3.4vw,16px) DotGothic16,monospace;overflow:hidden}.archive-entry small{color:#b6cfbf;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.archive-hint{color:#eed49e;font-size:10px}.archive-empty{color:#becabf;text-align:center;align-self:center;margin:auto;font:13px/1.6 DotGothic16,monospace}.archive-error{line-height:1.4;color:#ffd0b7!important;margin:3px 0!important;font-size:11px!important}.result-ending-name{font:13px DotGothic16,monospace;color:#edb7a8!important;margin:6px 0 0!important}.journal-overlay{align-items:stretch;padding:clamp(5px,1.5vh,12px)}.journal-window{background:#0d1c2b;border:3px solid #e9d8af;flex-direction:column;gap:8px;width:100%;max-width:470px;min-height:0;max-height:100%;margin:auto;padding:clamp(9px,2vh,17px);font-family:DotGothic16,monospace;display:flex;box-shadow:4px 4px #06121b}.journal-head{border-bottom:1px solid #6d837b;justify-content:space-between;align-items:center;gap:8px;padding-bottom:7px;display:flex}.journal-head strong{color:#f1dfa5;font-size:clamp(15px,4vw,19px)}.journal-head button{background:#263f46;border:1px solid #a0b7a3;flex:0 0 30px;height:30px}.journal-summary{flex-direction:column;gap:2px;display:flex}.journal-summary strong{color:#efd59a;font-size:14px}.journal-summary span{color:#b5c4b5;font-size:10px}.journal-moments{overscroll-behavior:contain;flex-direction:column;flex:1;gap:5px;min-height:0;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.journal-moments li{flex:1 1 0;min-height:0;display:flex}.journal-event{text-align:left;background:#1b3038;border:1px solid #5e8179;flex-direction:column;justify-content:center;gap:4px;width:100%;min-height:0;padding:6px 9px;display:flex}.journal-event.decision{background:#283b39;border-color:#bf9a59}.journal-event.battle{border-color:#9f6b69}.journal-step{color:#e7c98c;font-size:10px;line-height:1.35}.journal-line{color:#ece8d1;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:clamp(11px,3.3vw,13px);line-height:1.4;display:-webkit-box;overflow:hidden}.journal-actions{gap:6px;display:flex}.journal-actions button{color:#23392f;background:#d8c58f;border:2px solid #f2e3ad;flex:1;min-width:0;min-height:39px;font-size:12px;font-weight:700}.journal-actions button:last-child{color:#e5d7ae;background:#223d40;border-color:#82978b}.journal-window>.record-toggle{flex:0 0 32px;margin:0}.replay-tools{z-index:10;top:calc(47px + env(safe-area-inset-top));background:#091724ed;border:2px solid #d9ca9f;flex-direction:column;gap:4px;padding:6px 8px;font:11px DotGothic16,monospace;display:flex;position:absolute;left:4px;right:4px}.replay-tools-row{justify-content:space-between;align-items:center;gap:4px;display:flex}.replay-tools button{background:#2b4548;border:1px solid #829a88;min-width:36px;min-height:30px;padding:2px 6px}.replay-tools span{color:#edcf89;text-align:center;flex:1}.replay-tools input{accent-color:#e7cd8d;touch-action:pan-x;width:100%;height:23px}@media (height<=700px){.journal-window{gap:5px;padding:8px}.journal-event{gap:2px;padding:4px 7px}.journal-head{padding-bottom:3px}.journal-actions button{min-height:35px}.replay-tools{top:calc(42px + env(safe-area-inset-top))}}.journal-overlay{inset:calc(47px + env(safe-area-inset-top)) 0 0;z-index:12}.journal-window{height:100%;max-height:100%}.journal-moments li{flex:1 0 53px}@media (height<=700px){.journal-overlay{inset-block-start:calc(42px + env(safe-area-inset-top))}}.archive-stack{justify-content:flex-start}.archive-entry{flex:none;min-height:clamp(76px,11dvh,100px)}.combat-character{image-rendering:pixelated;aspect-ratio:1;background-repeat:no-repeat;flex-shrink:0;display:inline-block}.hero-block .hero-combat-art{align-self:flex-end;width:min(113%,165px);height:auto;margin-bottom:-3%;margin-right:0}.hero-block .combat-character.ally-sprite{aspect-ratio:1;width:68%;height:auto;bottom:0;left:-29%}.hero-block.fallen .hero-combat-art{opacity:.8;transform:rotate(65deg)translateY(8px)}.combat-character.enemy-sprite{width:min(95%,155px);height:auto;max-height:77%;animation:none}.battle-stage.has-combat-cue .enemy-sprite,.battle-stage.has-combat-cue .hero-combat-art,.battle-stage.has-combat-cue .ally-sprite{animation:none!important}.battle-stage.has-combat-cue .damage-popup,.battle-stage.has-combat-cue .slash-mark,.battle-stage.has-combat-cue .impact-star{opacity:0;animation:none}.impact-star{clip-path:polygon(45% 0,58% 32%,100% 38%,65% 53%,75% 95%,47% 68%,7% 90%,28% 53%,0 28%,39% 30%);filter:drop-shadow(3px 2px #dba467);z-index:3;background:#fff3b5;width:33px;height:33px;position:absolute;top:45%;left:24%}.ally-damage{top:26%;left:-29%}.enemy-block .enemy-damage{top:auto;bottom:20%;right:3%}.enemy-block .slash-mark{top:auto;bottom:21%;left:64%}.enemy-block .impact-star{top:auto;bottom:26%;left:62%}.game-shell.is-paused .enemy-sprite,.game-shell.is-paused .read-indicator,.game-shell.is-paused .damage-popup,.game-shell.is-paused .taking-hit{animation-play-state:paused!important}.game-shell{background:#09131e;border-inline-color:#46564c}.toolbar{background:#0c1825;border-bottom:2px solid #756f59;height:44px;min-height:44px;padding:4px 9px}.toolbar-caption{color:#dccb9b;font-size:13px;font-weight:700}.transport{gap:5px}.transport-btn{background:#152632;border-color:#67746c;min-width:33px;height:34px;font-size:13px}.transport-btn.chosen{color:#15242b;background:#e9d59c;border-color:#f5e5b8}.transport-btn:disabled{opacity:.24}.build-view{padding:12px 13px max(11px, env(safe-area-inset-bottom));background:#111f29;gap:8px}.build-lead{gap:13px;min-height:82px;padding-bottom:7px}.build-avatar{background:#26483d;border-width:2px;flex:0 0 74px;height:79px;box-shadow:inset 0 0 0 4px #162c2c}.build-avatar .sprite{width:63px;height:63px}.build-identity{gap:2px}.build-identity strong{font-size:25px}.build-identity .minor{font-size:12px}.hint{color:#c4c7ae;font-size:11px}.wallet-row{background:#142732;border-top-color:#566a64;border-bottom-color:#566a64;padding:8px 3px 9px;font-size:12px}.wallet-row strong{font-size:16px}.build-tabs{gap:4px;margin-bottom:7px}.build-tab{background:#172c33;border-color:#596d66;height:38px;font-size:12px}.build-tab.active{background:#e7d39b}.build-choice{background:#1b3339;border:1px solid #587168;border-left:4px solid #7b8c74;border-radius:0;flex:0 0 69px;padding:9px 11px;box-shadow:inset 0 -2px #10262d}.build-choice.equipped{background:#34483e;border-color:#e8cd88 #e8cd88 #e8cd88 #f5dfa1}.build-choice:disabled{opacity:.46}.choice-copy strong{font-size:15px}.choice-copy small{font-size:12px}.choice-stack{gap:6px}.build-actions{border-top:1px solid #50645f;padding-top:7px}.next-hint{min-height:15px;margin-bottom:5px;font-size:10px}.start-button{color:#192c28;background:#ead498;min-height:55px;font-size:19px}.first-run .build-choices,.first-run .build-pane{min-height:0}.first-run .empty-choice-stack{height:100%;min-height:0}.first-run .pager{display:none}.first-adventure{background:#0e1f29;border:2px solid #64776a;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.first-adventure-art{background:#578a61;flex:1;min-height:0;position:relative;overflow:hidden}.origin-canvas{width:100%;height:100%;image-rendering:pixelated;display:block}.origin-sign{color:#f2e1bb;background:#091c2de8;border:1px solid #e4d4ab;padding:4px 9px;font:13px DotGothic16,monospace;position:absolute;top:9px;left:9px}.first-adventure-status{background:#122431;border-top:2px solid #ddc68f;flex-wrap:wrap;flex:none;align-items:baseline;gap:3px 11px;padding:9px 14px 11px;display:flex}.origin-state{color:#dcba72;width:100%;font:11px DotGothic16,monospace}.first-adventure-status strong{color:#f3e5b7;font-size:18px}.first-adventure-status>span:last-child{color:#b5c8b7;font-size:11px}.personality-choice,.ending-entry{background:#1b3037;border:1px solid #65786a}.personality-choice.equipped,.ending-entry.discovered{background:#34483f;border:2px solid #e6c982}.personality-name{font-size:14px}.personality-detail,.build-footnote{font-size:11px}.prologue-dusk{pointer-events:none;background:linear-gradient(#09172636 0%,#0000 45%,#07132188 92%);position:absolute;inset:0}.prologue-caption{background:#081523ee;border:3px solid #e7d9b9;outline:2px solid #10252b;flex-direction:column;gap:4px;min-height:104px;max-height:40%;padding:12px 16px 10px;display:flex;position:absolute;bottom:14px;left:11px;right:11px;box-shadow:3px 4px #0a232796}.prologue-who{color:#dfc485;border:0;padding:0;font-size:11px}.story-monologue{color:#fff3d7;letter-spacing:0;flex:1;margin:0;font:clamp(15px,3.5vw,20px)/1.45 DotGothic16,monospace}.prologue-caption .read-indicator{font-size:11px;line-height:1}.location-tag,.field-hud{background:#0a1a29d9;border:1px solid #eadbbd;padding:5px 7px;font-size:13px;top:10px}.field-message{background:#0a1b2cea;border:2px solid #efdfba;outline:2px solid #0e2729;min-height:66px;padding:10px 14px;font-size:clamp(14px,3.6vw,18px);line-height:1.48;bottom:10px;left:10px;right:10px}.attention{font-size:24px}.log-panel{border-top:3px solid #c7b788;flex:0 0 clamp(120px,19dvh,170px)}.log-heading{background:#102331;border-bottom-color:#526a67;height:30px}.log-lines{padding:7px 11px 5px}.log-line{margin-bottom:4px;font-size:12px;line-height:1.45}.battle-stage{background:#557e75}.battle-message{background:#0a1b2ae8;min-height:41px;padding:7px 11px;font-size:clamp(13px,3.3vw,16px);bottom:12px;left:13px;right:13px}.enemy-block{height:50%;top:18%}.enemy-sprite{max-height:73%}.hero-block{bottom:18%}.enemy-label,.hero-status{border-color:#eadbb8}.hero-status{width:min(38%,150px)}.battle-emphasis{border-color:#f1d391}.end-stage{min-height:0;padding:clamp(12px, 2dvh, 20px) 13px max(12px, env(safe-area-inset-bottom));background:linear-gradient(#101d2b,#132b33 58%,#101d28);flex-direction:column;flex:1;align-items:stretch;font-family:DotGothic16,monospace;display:flex;overflow:hidden}.end-heading{text-align:center;flex:none}.end-chapter{color:#c4c4a9;margin:2px 0 5px;font-size:11px;display:block}.end-heading .game-over{color:#e1a49a;letter-spacing:.03em;border:0;padding:0;font:clamp(24px,6.8vw,34px) DotGothic16,monospace;display:block}.end-heading .happy-end{color:#efd69a}.end-illustration{background:radial-gradient(at 50% 70%,#304a4b 0%,#1c303d 48%,#0c1e2b 100%);border-block:1px solid #4d6869;flex:205px;min-height:68px;max-height:30dvh;margin-top:7px;position:relative;overflow:hidden}.end-hero{z-index:2;filter:drop-shadow(7px 8px #0b1d2699);position:absolute;bottom:15%;left:50%;transform:translate(-50%)}.end-hero .sprite{width:clamp(73px,23vw,112px);height:clamp(73px,23vw,112px)}.end-fallen{filter:grayscale(.7)brightness(.8)drop-shadow(5px 6px #09141a);transform:translate(-50%)rotate(83deg)}.end-horizon{background:#26473c;border-top:4px solid #426451;width:100%;height:16%;position:absolute;bottom:0}.end-victory .end-horizon{background:#43614c}.end-summary{flex-direction:column;flex:0 auto;justify-content:center;gap:10px;min-height:0;padding:9px 5px 8px;display:flex}.end-story{text-align:center;color:#efe1c4;margin:0;font-size:clamp(13px,3.3vw,16px);line-height:1.45}.end-reward{color:#bacebb;border-block:1px solid #536a64;justify-content:space-between;align-items:baseline;gap:6px;padding:9px 5px;font-size:12px;display:flex}.end-reward strong{color:#f2d186;font-size:clamp(21px,5.5vw,29px)}.end-stats{color:#c3cbb9;justify-content:space-around;align-items:center;gap:8px;font-size:11px;display:flex}.end-stats b{color:#f1ddaf;font-size:18px}.end-unlock{text-align:center;color:#e6c988;font-size:11px}.end-actions{border-top:1px solid #526b67;flex-direction:column;flex:none;gap:8px;margin-top:auto;padding-top:9px;display:flex}.end-actions .record-toggle{color:#ebdfc3;background:#17333a;border:1px solid #708d83;min-height:37px;margin:0;font-size:12px}.end-actions .result-actions{gap:7px;display:flex}.end-actions .result-actions button{flex:1;min-height:52px;padding:5px;font-size:clamp(12px,3.3vw,14px);line-height:1.35}.end-actions .result-actions button:first-child{background:#294740;border-color:#a6bbaa}.end-actions .result-actions button:last-child{color:#24342b;background:#e7d297;border-color:#fce5ac}.end-journey{flex:auto;justify-content:flex-start}.end-section-label{color:#ebd59f;font-size:13px}.end-journey .result-record{min-height:0;max-height:none;margin:0;display:block;overflow-y:auto}.end-journey .result-record p{text-align:left;color:#ecdcb0;border-bottom:1px solid #3c5354;margin:0;padding:8px 4px}.end-journey .result-record small{color:#bfd0b9;margin:3px 0 0 18px;font-size:11px;display:block}@media (height<=700px){.toolbar{height:42px;min-height:42px}.build-view{gap:5px;padding:7px 9px 8px}.build-lead{min-height:68px;padding:0}.build-avatar{flex-basis:60px;height:65px}.build-avatar .sprite{width:53px;height:53px}.build-identity strong{font-size:23px}.wallet-row{padding:6px 3px}.build-tabs{margin-bottom:5px}.build-tab{height:31px}.first-adventure-status{padding:5px 10px 7px}.first-adventure-status strong{font-size:16px}.first-adventure-status>span:last-child{font-size:10px}.build-choice{flex-basis:61px}.next-hint{margin-bottom:3px}.start-button{min-height:47px}.prologue-caption{min-height:88px;padding:8px 12px 7px;bottom:9px}.story-monologue{font-size:15px}.end-stage{padding:9px}.end-illustration{flex:85px;min-height:58px;max-height:21dvh}.end-summary{gap:5px;padding:5px 2px}.end-reward{padding:5px 3px}.end-actions{gap:5px;padding-top:6px}.end-actions .record-toggle{min-height:32px}.end-actions .result-actions button{min-height:43px}}@media (width<=365px){.toolbar-caption{min-width:0;font-size:11px}.transport-btn{min-width:28px;padding:3px;font-size:11px}.transport{gap:3px}.build-tab,.hint{font-size:10px}.first-adventure-status{gap:1px 6px}.end-stats{font-size:10px}.end-stats b{font-size:15px}}.build-scene-preview{background:#557f60;border:1px solid #5d766b;flex:1;min-height:70px;margin-top:7px;position:relative;overflow:hidden}.build-scene-preview .origin-canvas{width:100%;height:100%;display:block}.build-scene-preview>span{color:#eddfb7;background:#091b2add;padding:8px 11px;font:12px DotGothic16,monospace;position:absolute;bottom:0;left:0;right:0}.pager:empty{display:none}.end-summary:not(.end-journey){flex:auto}@media (height<=700px){.end-illustration{max-height:30dvh}.build-scene-preview{min-height:40px}}.story-stage.is-story-event .location-tag{background:#0a1a29e8;border-color:#e6d49f}.decision-overlay{padding:8px 9px max(10px, env(safe-area-inset-bottom));background:linear-gradient(#07132300 0%,#07132316 25%,#07132378 60%,#071323a3 100%);justify-content:center;align-items:flex-end}.decision-window{background:#0b1c2b;border:2px solid #e1d0ab;outline:2px solid #0b1d29;gap:0;max-width:440px;max-height:min(70%,440px);padding:10px 12px;box-shadow:3px 4px #0717209e}.decision-overlay.important .decision-window{border-color:#e8d39e}.decision-window h2{margin:5px 0 4px;font-size:clamp(16px,4.3vw,21px)}.decision-window .decision-prompt{margin:0 0 7px;font-size:clamp(12px,3.25vw,15px);line-height:1.45}.decision-options{gap:3px}.decision-options li{color:#d5ddd0;background:#122a37e6;min-height:28px;padding:3px 7px;font-size:clamp(12px,3.2vw,14px)}.decision-options li.selected{color:#fff0b9;background:#344b3d;border-color:#eccf86}.decision-bottom{gap:8px;margin-top:7px;padding-top:6px}.decision-bottom strong{max-width:55%;font-size:12px}.decision-auto{margin-top:4px}.decision-continue{min-height:38px;margin-top:6px}@media (height<=700px){.decision-window{max-height:min(72%,410px);padding:7px 9px}.decision-options li{min-height:27px;padding:2px 6px;font-size:12px}.decision-window .decision-prompt{margin-bottom:4px;font-size:12px}.decision-bottom{margin-top:4px;padding-top:4px}}@media (height<=560px){.decision-window{max-height:76%}.decision-options li{min-height:24px}}@media (prefers-reduced-motion:reduce){.decision-window{animation:none!important}}.end-stage.area-town .end-illustration{image-rendering:pixelated;background:linear-gradient(#0b182c66,#0b182c9e),url(/assets/town-bRjOSBXZ.png) 50% 52%/auto 500px no-repeat}.end-stage.area-forest .end-illustration{image-rendering:pixelated;background:linear-gradient(#09162866,#091628a8),url(/assets/forest-C9kDiTZp.png) 50% 58%/auto 500px no-repeat}.end-stage.area-castle .end-illustration{image-rendering:pixelated;background:linear-gradient(#0c102266,#0c1022b3),url(/assets/castle-Cy75EDdA.png) 50% 57%/auto 500px no-repeat}.end-stage.area-village .end-illustration{background:linear-gradient(#233a42,#416b53 72%,#617a4f)}.end-opponent{z-index:3;filter:drop-shadow(3px 4px #04131ac9);position:absolute;bottom:20%;right:12%}.end-opponent .sprite{width:clamp(48px,15vw,82px);height:clamp(48px,15vw,82px)}.end-actions .result-extras{gap:6px;min-width:0;display:flex}.end-actions .result-extras .record-toggle{flex:1;min-width:0;padding:3px 5px;font-size:clamp(10px,2.9vw,12px);line-height:1.2}.end-stage .end-heading .game-over{font-size:clamp(18px,5.5vw,30px);line-height:1.2}.end-stage .archive-error{max-height:40px;overflow-y:auto}.end-actions .result-actions button{overflow-wrap:anywhere}@media (height<=700px){.end-actions .result-extras .record-toggle{min-height:32px}.end-stage .end-story{font-size:12px}.end-stage .end-chapter{margin:0 0 3px}}.end-stage .end-summary{justify-content:flex-start;padding-top:13px}.end-path{color:#c0cbb8;border-top:1px solid #455e5b;flex-direction:column;gap:4px;margin-top:4px;padding:8px 9px;font:11px/1.4 DotGothic16,monospace;display:flex}.end-path>span{color:#e7d09d;font-size:12px}.end-path p{justify-content:space-between;gap:6px;margin:0;display:flex}.end-path strong{color:#e7deb9;text-align:right;font-weight:400}@media (height<=700px){.end-stage .end-summary{padding-top:6px}.end-path{padding:4px;font-size:10px}}@media (width<=365px){.hero-block .hero-sword{margin-right:0}}
