@charset "UTF-8";
:root{color-scheme:dark;--ink:#101919;--deep:#0a1213;--cream:#e8e0d0;--muted:#9caaa1;--copper:#bd9470;--warm:#d1ae83;--sage:#9eb6a9;--line:rgba(206,190,160,.22);--sans:Arial,Helvetica,sans-serif;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--deep);color:var(--cream)}body{font-family:var(--sans);-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid var(--warm);outline-offset:5px}[hidden]{display:none!important}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.svg-library{position:absolute;width:0;height:0;overflow:hidden}#game{position:relative;width:100%;height:100%;min-height:100%;isolation:isolate}#game-canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.screen-vignette,.screen-grain{pointer-events:none;position:absolute;inset:0}.screen-vignette{z-index:1;background:radial-gradient(ellipse at 60% 40%,transparent 32%,rgba(3,10,11,.4) 100%)}.screen-grain{z-index:30;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
.topbar{position:absolute;z-index:8;left:max(4.3vw,env(safe-area-inset-left));right:max(4.3vw,env(safe-area-inset-right));top:max(29px,env(safe-area-inset-top));display:flex;align-items:center;justify-content:space-between;pointer-events:none}.wordmark{display:flex;gap:13px;align-items:center;color:var(--cream);text-decoration:none;pointer-events:auto;font:15px var(--serif);letter-spacing:4px}.wordmark svg{width:30px;height:38px;stroke:var(--copper);stroke-width:1.1}.wordmark-edition{display:block;font:7px var(--sans);letter-spacing:2.35px;margin-top:6px;color:var(--muted)}.topbar-actions{display:flex;align-items:center;gap:12px;pointer-events:auto}.chapter-tag{font-size:8px;letter-spacing:2px;color:var(--muted);margin-right:21px}.icon-button{height:44px;min-width:44px;background:rgba(12,22,23,.35);border:1px solid rgba(174,183,161,.21);display:inline-flex;gap:10px;align-items:center;justify-content:center;transition:background .2s,border-color .2s}.icon-button:hover{background:rgba(173,147,111,.12);border-color:var(--copper)}.icon-button svg{width:17px;height:17px}.sound-toggle{padding:0 14px}.sound-label{font-size:8px;letter-spacing:1.6px}
.title-screen{position:absolute;inset:0;z-index:3;overflow:hidden;background:linear-gradient(90deg,rgba(8,17,18,.94) 0%,rgba(8,17,18,.83) 25%,rgba(8,17,18,.4) 45%,transparent 68%);pointer-events:none}.title-content{position:absolute;left:8.2%;top:50%;transform:translateY(-44%);max-width:640px;pointer-events:auto}.chapter-eyebrow{display:flex;align-items:center;gap:13px;font-size:9px;line-height:1.5;letter-spacing:2.5px;color:var(--copper);margin-bottom:27px}.rule{width:31px;height:1px;background:var(--copper);opacity:.65}.tiny-diamond{font-size:5px;color:#8b806a;margin:0 2px}h1{font:clamp(65px,8.7vw,140px)/.95 var(--serif);letter-spacing:.075em;font-weight:400;margin:0 0 17px -.045em;color:var(--cream);text-shadow:0 3px 35px rgba(0,0,0,.12)}.title-subtitle{display:flex;align-items:center;gap:16px;letter-spacing:6px;font-size:11px;color:var(--warm);margin:0 0 34px 0}.title-subtitle span{height:1px;width:30px;background:var(--copper);opacity:.5}.title-subtitle span:first-child{width:13px}.title-poem{font:italic 25px/1.45 var(--serif);letter-spacing:-.2px;margin:0 0 17px;color:#dedace}.title-description{font:12px/1.85 var(--sans);color:#a4ada4;margin:0 0 30px;letter-spacing:.1px}.title-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.button{min-height:54px;padding:0 25px;border:1px solid var(--line);font-size:10px;text-transform:uppercase;letter-spacing:2.5px;display:inline-flex;align-items:center;justify-content:space-between;gap:42px;transition:background .2s,border-color .2s,transform .2s;text-decoration:none}.button svg{width:22px;height:22px}.button-primary{color:#132021;background:var(--warm);border-color:var(--warm);min-width:255px;box-shadow:inset 0 0 0 3px rgba(15,25,24,.08)}.button-primary:hover{background:#e1c39d;border-color:#e1c39d;transform:translateY(-1px)}.button-primary:active{transform:translateY(1px)}.button-primary:disabled{opacity:.38;transform:none}.button-secondary{background:rgba(15,28,28,.65);color:var(--cream);min-width:255px}.button-secondary:hover{background:rgba(89,103,87,.3);border-color:var(--warm)}.text-button{display:flex;align-items:center;gap:11px;border:0;background:transparent;padding:8px 0;color:#b3b5a9;font-size:10px;letter-spacing:.4px;min-height:37px}.text-button:hover{color:var(--warm)}.text-button>span:last-child{margin-left:13px;font-size:17px;color:var(--copper)}.small-cross{font-size:19px;color:var(--copper)}.title-details{display:flex;gap:25px;color:#788c84;font-size:7px;letter-spacing:1.4px;margin-top:27px;align-items:center}.title-details>span{display:flex;align-items:center;gap:7px}.status-dot{width:4px;height:4px;border-radius:50%;background:var(--sage);box-shadow:0 0 10px var(--sage)}.scene-caption{position:absolute;right:8%;bottom:21%;text-align:center}.caption-line{display:block;margin:0 auto 14px;width:1px;height:36px;background:linear-gradient(transparent,#a19374)}.scene-caption p{font:9px var(--sans);letter-spacing:3px;color:#cec2a5;margin:0 0 9px}.scene-caption>span:last-child{font:italic 12px var(--serif);color:#96a497}.title-footer{position:absolute;bottom:max(28px,env(safe-area-inset-bottom));left:4.3%;right:4.3%;display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(180,184,158,.17);padding-top:23px;color:#81918a;font-size:8px;letter-spacing:1.5px}.footer-cross{color:var(--copper);font-size:13px;margin-right:10px}.desktop-instruction{color:#c7c6b8;letter-spacing:1px}.desktop-instruction i{font-style:normal;text-transform:none;letter-spacing:.2px;color:#85978e;margin-left:5px}.desktop-instruction b{padding:0 13px;font-weight:400;color:#687b71}.mobile-instruction{display:none}.loading{position:absolute;z-index:9;left:8.2%;bottom:100px;width:255px;pointer-events:none}.loading-info{display:flex;justify-content:space-between;gap:10px;font-size:8px;letter-spacing:1.2px;color:var(--copper);margin-bottom:9px;text-transform:uppercase}.load-track{height:1px;background:#34443e;width:100%}#load-progress{height:100%;width:0;background:var(--warm);transition:width .3s}
.hud{position:absolute;z-index:6;inset:0;pointer-events:none}.player-status{position:absolute;top:max(104px,calc(env(safe-area-inset-top) + 70px));left:max(4.3vw,env(safe-area-inset-left));display:flex;align-items:flex-start;gap:12px;filter:drop-shadow(0 2px 10px #061012)}.health-emblem{border:1px solid var(--line);width:40px;height:40px;display:grid;place-items:center;transform:rotate(45deg);font:26px var(--serif);color:var(--warm);background:#102020aa;line-height:1}.health-body{width:210px;padding-top:1px}.health-heading{display:flex;justify-content:space-between;margin-bottom:10px;color:#d7d6c6;font-size:8px;letter-spacing:2px}#health-value{color:#a4bbae;font-variant-numeric:tabular-nums;letter-spacing:1px}.health-track{height:5px;border:1px solid #73938455;background:#08121099;transform:skewX(-24deg);overflow:hidden}#health-fill{height:100%;width:100%;background:linear-gradient(90deg,#578071,#b6c4a1);transition:width .15s}.resource-row{display:flex;gap:20px;align-items:center;font-size:7px;letter-spacing:1.25px;color:#95a498;margin-top:10px}.resource-row>span{display:flex;align-items:center;gap:6px}.resource-row svg{width:11px;height:13px;color:var(--warm)}.resource-row strong{font-size:10px;font-weight:400;color:var(--cream);letter-spacing:1px}.journey-status{position:absolute;top:max(102px,calc(env(safe-area-inset-top) + 70px));left:50%;transform:translateX(-50%);text-align:center;text-shadow:0 1px 12px #000;width:40%;max-width:450px}.area-name{font:19px/1.3 var(--serif);color:#ded7c4}.objective{font-size:9px;line-height:1.6;letter-spacing:.5px;color:#a7b8a8;margin-top:6px}.pause-button{position:absolute;right:max(4.3vw,env(safe-area-inset-right));top:max(100px,calc(env(safe-area-inset-top) + 68px));pointer-events:auto}.desktop-game-hint{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#a8b2a8;font-size:9px;text-shadow:0 1px 8px #000}.desktop-game-hint kbd{font:8px var(--sans);letter-spacing:.7px;color:#d5d5c2;padding:4px 5px;border:1px solid #a2b5a533;margin-right:4px;background:#0b191966}.desktop-game-hint>span{padding:0 12px;color:#768c7d}.boss-hud{position:absolute;z-index:7;bottom:65px;left:50%;transform:translateX(-50%);width:min(450px,60%);text-align:center;pointer-events:none}#boss-name{font:15px var(--serif);color:#deceba;margin-bottom:9px;letter-spacing:1px;text-shadow:0 2px 8px #000}.boss-health-track{height:7px;border:1px solid #b78f6b88;padding:1px;background:#0b171ccc}#boss-health{width:100%;height:100%;background:linear-gradient(90deg,#723e35,#bb7659);transition:width .18s}
.touch-controls{position:absolute;inset:0;z-index:10;pointer-events:none;touch-action:none;user-select:none;-webkit-user-select:none}.joystick-zone{position:absolute;left:max(28px,env(safe-area-inset-left));bottom:max(23px,env(safe-area-inset-bottom));width:142px;height:142px;pointer-events:auto;touch-action:none;display:flex;justify-content:center;align-items:center}.joystick-ring{position:relative;border:1px solid #b5c5af44;background:radial-gradient(circle,#16302b4a,#101d2055);width:112px;height:112px;border-radius:50%;box-shadow:0 0 0 12px #13282722,inset 0 0 30px #09171566}.joystick-ring>span{position:absolute;background:#b6c4ad6b}.joystick-north,.joystick-south{width:1px;height:6px;left:50%}.joystick-north{top:7px}.joystick-south{bottom:7px}.joystick-east,.joystick-west{height:1px;width:6px;top:50%}.joystick-east{right:7px}.joystick-west{left:7px}.joystick-stick{position:absolute;width:45px;height:45px;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #b5c5af77;border-radius:50%;background:radial-gradient(circle at 40% 35%,#98a68b33,#192e2ac9);box-shadow:0 3px 12px #07161044;will-change:transform}.joystick-label{position:absolute;bottom:-4px;font-size:7px;letter-spacing:2px;color:#a7b49c88}.touch-actions{position:absolute;right:max(27px,env(safe-area-inset-right));bottom:max(28px,env(safe-area-inset-bottom));width:197px;height:163px}.touch-button{position:absolute;border-radius:50%;border:1px solid #c0c2a66b;background:#172724b3;width:61px;height:61px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;pointer-events:auto;touch-action:none;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);color:#d2d6bb}.touch-button:active,.touch-button.pressed{background:#8e9b7466;border-color:#dfdcbe;transform:scale(.95)}.touch-button svg{width:24px;height:24px}.touch-button span{font-size:6px;letter-spacing:1.1px}.dash-button{left:0;bottom:6px;width:56px;height:56px}.jump-button{left:55px;top:0}.attack-button{right:0;bottom:0;width:78px;height:78px;background:#725d4366;border-color:#bda07b99;color:#e3cba7}.attack-button svg{width:29px;height:29px}
.toast{position:absolute;z-index:11;left:50%;bottom:130px;transform:translateX(-50%);display:flex;align-items:center;gap:17px;padding:17px 25px;border-top:1px solid #b49b7277;border-bottom:1px solid #b49b7244;background:linear-gradient(90deg,#101f1dea,#142922ee,#101f1dea);box-shadow:0 5px 40px #0004;pointer-events:none;max-width:90vw;min-width:280px}.toast-emblem{font:30px var(--serif);color:var(--warm)}#toast-title{font:17px var(--serif);color:#e3d3b8}#toast-text{font-size:10px;line-height:1.5;color:#aeb9a5;margin:5px 0 0}.damage-flash{position:absolute;inset:0;z-index:5;pointer-events:none;opacity:0;background:radial-gradient(ellipse at center,transparent 30%,#ad322c66 100%);transition:opacity .16s}.damage-flash.active{opacity:1}
.modal-backdrop{position:absolute;inset:0;z-index:20;background:#060f11bb;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto}.modal{position:relative;border:1px solid #ae967449;background:linear-gradient(145deg,#182725fa,#0b1718fa);box-shadow:0 30px 100px #0007;color:#a9b6a8}.modal::before{content:'';position:absolute;inset:7px;border:1px solid #b29b7520;pointer-events:none}.eyebrow{display:block;font-size:8px;line-height:1.7;letter-spacing:2.5px;color:var(--copper)}.modal h2{font:normal 44px/1.07 var(--serif);color:var(--cream);margin:20px 0 21px;letter-spacing:-1px}.modal p{font-size:12px;line-height:1.9}.lore-modal{width:min(700px,100%);max-height:calc(100dvh - 48px);overflow-y:auto;padding:39px 46px 28px;scrollbar-width:thin;scrollbar-color:#7e8067 #162321}.close-button{position:absolute;z-index:1;right:12px;top:9px;background:none;border:0;width:44px;height:44px;font:28px var(--serif);color:#b9b69e}.close-button:hover{color:var(--cream)}.lore-modal h2{font-size:39px;margin-bottom:18px}.lore-modal .lore-intro{font:italic 17px/1.6 var(--serif);color:#d0cbb6}.lore-divider{display:flex;align-items:center;gap:15px;color:var(--copper);margin:24px 0}.lore-divider>span{height:1px;background:var(--line);flex:1}.guide-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.guide-heading h3{font:23px var(--serif);color:var(--cream);margin:0}.guide-heading>span{font-size:7px;letter-spacing:1.5px;color:#8d9e90}.how-to-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 27px;margin-top:25px}.how-to-grid>div{position:relative;padding-left:30px}.guide-number{position:absolute;top:1px;left:0;color:var(--copper);font:16px var(--serif)}.how-to-grid h4{margin:0 0 7px;font:15px var(--serif);color:#d4d0ba}.how-to-grid p{margin:0;font-size:10px;line-height:1.8}.lore-modal .touch-guide{display:flex;gap:14px;padding:16px 0 0;margin:24px 0 0;border-top:1px solid var(--line);font-size:10px;line-height:1.7}.touch-guide svg{flex-shrink:0;color:var(--copper);width:22px;height:22px}.lore-modal .lore-footnote{font-size:8px;letter-spacing:1px;color:#72897b;margin:16px 0 0;text-align:center}.state-modal{width:min(440px,100%);padding:35px 42px;text-align:center}.state-ornament{font:38px var(--serif);color:var(--warm);display:block;margin-bottom:25px}.state-modal .eyebrow{font-size:7px;letter-spacing:2px}.state-modal p{margin:0;color:#a2b0a0;font-size:12px;line-height:1.8}.modal-actions{display:flex;flex-direction:column;gap:12px;margin-top:28px}.modal-actions .button{width:100%;min-width:0;letter-spacing:1.8px;font-size:9px}.modal-actions .button-secondary{justify-content:center}.modal-footnote{display:block;font-size:7px;letter-spacing:2px;color:#768c7e;margin-top:26px}.death-backdrop{background:#190c0ecc}.death-backdrop .state-ornament{color:#be8a76}.win-backdrop{background:#101b15b3}.win-stats{font-size:11px;line-height:1.8;color:var(--warm);margin-top:18px}.noscript-message{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:var(--ink);padding:30px}.noscript-message h1{font-size:45px}.noscript-message p{font-size:14px;color:var(--muted)}
@media(min-width:1450px){.title-content{left:9%}.title-poem{font-size:29px}.title-description{font-size:13px}.button{min-height:59px}.title-details{margin-top:30px}.loading{left:9%}}
@media(max-height:800px) and (min-width:801px){.title-content{transform:translateY(-42%)}h1{font-size:clamp(70px,8vw,116px)}.chapter-eyebrow{margin-bottom:21px}.title-subtitle{margin-bottom:24px}.title-poem{font-size:22px;margin-bottom:14px}.title-description{margin-bottom:22px}.title-details{margin-top:18px}.title-actions{gap:8px}.loading{bottom:80px}.scene-caption{bottom:19%}}
@media(max-width:1000px){.chapter-tag{display:none}.title-content{left:7%}.chapter-eyebrow{font-size:8px;letter-spacing:1.7px;gap:9px}.title-subtitle{font-size:9px;letter-spacing:4.2px}.title-description{font-size:11px}.scene-caption{right:7%;bottom:19%}.title-details{font-size:6px;gap:18px}.title-footer{font-size:7px}.desktop-instruction b{padding:0 8px}.loading{left:7%}.health-body{width:160px}.journey-status{width:35%;left:53%}.area-name{font-size:17px}.resource-row{gap:10px}.health-emblem{width:33px;height:33px;font-size:21px}}
@media(pointer:coarse){.icon-button{min-height:48px;min-width:48px}.desktop-instruction,.desktop-game-hint{display:none}.mobile-instruction{display:block;font-size:6px;letter-spacing:1px}.button{min-height:54px}.text-button{min-height:44px}.scene-caption{bottom:20%}.toast{bottom:195px}.boss-hud{bottom:24px}.topbar{top:max(18px,env(safe-area-inset-top))}.player-status{top:max(87px,calc(env(safe-area-inset-top) + 60px))}.journey-status{top:max(88px,calc(env(safe-area-inset-top) + 61px))}.pause-button{top:max(85px,calc(env(safe-area-inset-top) + 58px))}}
@media(max-width:600px) and (orientation:portrait){.topbar{left:max(23px,env(safe-area-inset-left));right:max(23px,env(safe-area-inset-right));top:max(19px,env(safe-area-inset-top))}.wordmark{font-size:12px;gap:8px;letter-spacing:3px}.wordmark svg{width:25px;height:33px}.wordmark-edition{font-size:6px;letter-spacing:1.65px}.topbar-actions{gap:7px}.icon-button{background:#0b17194d;min-width:44px;height:44px;min-height:44px}.sound-toggle{padding:0 12px}.sound-label{display:none}.title-screen{background:linear-gradient(0deg,#091719f5 0%,#091719eb 33%,#09171977 59%,#09171900 80%)}.title-content{left:7%;right:7%;top:auto;bottom:13%;transform:none;max-width:none}.chapter-eyebrow{font-size:7px;letter-spacing:1.4px;margin-bottom:17px;gap:8px}.rule{width:21px}h1{font-size:clamp(60px,17vw,99px);margin-bottom:12px}.title-subtitle{letter-spacing:4px;font-size:9px;margin-bottom:25px;gap:12px}.title-subtitle span{width:22px}.title-poem{font-size:22px;line-height:1.4;margin-bottom:14px}.title-description{font-size:10px;line-height:1.8;margin-bottom:22px;max-width:310px}.desktop-break{display:none}.title-actions{gap:6px}.button-primary,.button-secondary{min-width:250px}.title-details{display:none}.title-footer{left:7%;right:7%;bottom:max(22px,env(safe-area-inset-bottom));padding-top:16px;display:block;font-size:6px;letter-spacing:1.1px}.footer-cross{font-size:10px;margin-right:5px}.mobile-instruction{margin-top:10px;font-size:5px;color:#627c70;letter-spacing:1px}.scene-caption{display:none}.loading{left:7%;bottom:10%;width:250px}.loading-info{font-size:7px}.player-status{left:24px;top:91px;gap:10px}.health-body{width:153px}.health-emblem{width:28px;height:28px;font-size:18px}.health-heading{font-size:7px;margin-bottom:8px}.resource-row{font-size:6px;gap:16px;margin-top:8px}.resource-row strong{font-size:9px}.journey-status{top:153px;left:24px;transform:none;text-align:left;width:calc(100% - 48px);max-width:none}.area-name{font-size:17px}.objective{font-size:8px;margin-top:4px;max-width:280px}.pause-button{top:89px;right:23px}.toast{bottom:210px;width:calc(100% - 48px);padding:14px 18px;gap:13px}.toast-emblem{font-size:25px}#toast-title{font-size:16px}#toast-text{font-size:9px}.joystick-zone{left:15px;bottom:max(35px,env(safe-area-inset-bottom));width:128px;height:128px}.joystick-ring{width:104px;height:104px}.touch-actions{right:19px;bottom:max(38px,env(safe-area-inset-bottom));width:180px;height:156px}.jump-button{left:49px}.dash-button{width:51px;height:51px}.attack-button{width:74px;height:74px}.boss-hud{width:76%;bottom:18px}.boss-hud #boss-name{font-size:12px}.modal-backdrop{padding:15px}.lore-modal{padding:37px 24px 24px;max-height:calc(100dvh - 30px)}.modal h2{font-size:38px}.lore-modal .eyebrow{font-size:7px;letter-spacing:1.4px}.lore-modal .lore-intro{font-size:16px}.lore-modal p{font-size:11px}.guide-heading h3{font-size:21px}.guide-heading>span{font-size:6px;letter-spacing:1px}.how-to-grid{gap:22px 18px}.how-to-grid>div{padding-left:21px}.how-to-grid h4{font-size:14px}.how-to-grid p{font-size:9px}.guide-number{font-size:14px}.state-modal{padding:30px 27px}.state-modal .eyebrow{font-size:6px}.state-ornament{margin-bottom:22px}.modal-footnote{font-size:6px}}
@media(max-width:600px) and (max-height:720px) and (orientation:portrait){.title-content{bottom:12%}.title-poem{font-size:19px}.title-subtitle{margin-bottom:17px}.title-description{margin-bottom:16px;font-size:9px}.chapter-eyebrow{margin-bottom:13px}h1{font-size:16vw}.title-actions .button{min-height:49px}.title-footer{bottom:17px;padding-top:13px}.topbar{top:15px}}
@media(max-height:560px) and (orientation:landscape){.topbar{top:max(13px,env(safe-area-inset-top));left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right))}.wordmark{font-size:11px;gap:9px;letter-spacing:3px}.wordmark svg{width:24px;height:30px}.wordmark-edition{font-size:5px;letter-spacing:1.9px}.icon-button{min-width:40px;min-height:40px;height:40px}.sound-label{font-size:7px}.topbar-actions{gap:8px}.title-content{left:max(6.5%,calc(env(safe-area-inset-left) + 18px));top:50%;transform:translateY(-37%)}.chapter-eyebrow{font-size:6px;letter-spacing:1.4px;margin-bottom:14px;gap:7px}.rule{width:20px}h1{font-size:65px;margin-bottom:9px;letter-spacing:.055em}.title-subtitle{font-size:7px;letter-spacing:3.6px;gap:10px;margin-bottom:17px}.title-subtitle span{width:21px}.title-poem{font-size:17px;line-height:1.35;margin-bottom:11px}.title-description{display:none}.title-actions{gap:3px}.title-actions .button{min-height:44px;min-width:224px;font-size:8px;padding:0 18px;letter-spacing:1.8px}.text-button{min-height:32px;font-size:8px;gap:8px;padding:3px 0}.small-cross{font-size:16px}.text-button>span:last-child{font-size:14px}.title-details{display:none}.title-footer{left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));bottom:max(15px,env(safe-area-inset-bottom));padding-top:13px;font-size:6px;letter-spacing:1px}.footer-cross{font-size:10px}.mobile-instruction{font-size:5px}.scene-caption{bottom:24%;right:9%}.scene-caption p{font-size:7px;letter-spacing:2px}.scene-caption>span:last-child{font-size:10px}.caption-line{height:25px;margin-bottom:10px}.loading{left:max(6.5%,calc(env(safe-area-inset-left) + 18px));bottom:48px;width:224px}.loading-info{font-size:6px;margin-bottom:6px}.player-status{top:72px;left:max(28px,env(safe-area-inset-left));gap:11px}.health-emblem{width:26px;height:26px;font-size:18px}.health-body{width:140px}.health-heading{font-size:6px;margin-bottom:7px}.resource-row{font-size:5px;margin-top:6px;gap:14px}.resource-row strong{font-size:8px}.health-track{height:4px}.resource-row svg{width:9px;height:11px}.journey-status{top:22px;left:50%;width:40%;max-width:310px}.area-name{font-size:15px}.objective{font-size:7px;margin-top:4px}.pause-button{top:68px;right:max(24px,env(safe-area-inset-right));min-height:40px;height:40px;min-width:40px}.joystick-zone{bottom:max(18px,env(safe-area-inset-bottom));left:max(27px,env(safe-area-inset-left));width:119px;height:119px}.joystick-ring{width:99px;height:99px}.joystick-stick{width:39px;height:39px;left:50%;top:50%}.joystick-label{font-size:6px}.touch-actions{right:max(23px,env(safe-area-inset-right));bottom:max(19px,env(safe-area-inset-bottom));width:176px;height:135px}.touch-button{width:55px;height:55px}.jump-button{left:48px}.dash-button{width:49px;height:49px}.attack-button{width:68px;height:68px}.touch-button svg{width:21px;height:21px}.attack-button svg{width:26px;height:26px}.touch-button span{font-size:5px}.boss-hud{bottom:22px;max-width:280px;width:36%}#boss-name{font-size:11px;margin-bottom:6px}.boss-health-track{height:5px}.toast{bottom:90px;max-width:42%;min-width:220px;padding:11px 15px;gap:12px}.toast-emblem{font-size:24px}#toast-title{font-size:14px}#toast-text{font-size:8px}.modal-backdrop{padding:15px}.lore-modal{max-height:calc(100dvh - 30px);padding:32px 35px 25px}.state-modal{max-height:calc(100dvh - 30px);overflow-y:auto;padding:20px 40px;width:370px}.state-ornament{font-size:26px;margin-bottom:12px}.state-modal .eyebrow{font-size:6px}.state-modal h2{font-size:32px;margin:13px 0}.state-modal h2 br{display:none}.state-modal p{font-size:10px}.modal-actions{margin-top:18px;gap:8px}.modal-actions .button{min-height:43px}.modal-footnote{margin-top:17px;font-size:6px}}
@media(max-height:370px) and (orientation:landscape){.title-content{transform:translateY(-33%)}.chapter-eyebrow{margin-bottom:9px;font-size:5px}h1{font-size:52px}.title-subtitle{margin-bottom:12px;font-size:6px}.title-poem{font-size:14px;margin-bottom:9px}.text-button{min-height:28px}.title-footer{bottom:11px;padding-top:9px;font-size:5px}.scene-caption{display:none}.title-actions .button{min-height:40px}.loading{bottom:37px}.wordmark-edition{display:none}.joystick-zone{bottom:10px}.touch-actions{bottom:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media(pointer:coarse){.icon-button{min-width:48px;min-height:48px;height:48px}.title-actions .button{min-height:48px}.text-button{min-height:48px}.close-button{width:48px;height:48px}}

.touch-button.cooldown{opacity:.42;border-color:#9caa9633;background:#14211ed9}.touch-button.cooldown svg{opacity:.65}
@media(max-width:600px) and (orientation:portrait){.toast{top:215px;bottom:auto}}
@media(max-height:560px) and (orientation:landscape){.toast{top:96px;bottom:auto}}
.loading.load-error{z-index:40;position:fixed;left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(420px,90vw);padding:30px;background:#102020;border:1px solid var(--copper);pointer-events:auto;box-shadow:0 20px 100px #000c}.load-error .loading-info{line-height:1.9;font-size:12px;letter-spacing:.4px;text-transform:none;margin-bottom:22px}.load-error .load-track{display:none}.load-error .button{min-width:0;width:100%;margin-top:5px}
@media(pointer:coarse){.touch-button span{font-size:8px;letter-spacing:.7px}.joystick-label{font-size:8px}.health-heading{font-size:8px}.resource-row{font-size:7px}.resource-row strong{font-size:10px}.objective{font-size:10px}#toast-text{font-size:11px}}
@media(pointer:coarse) and (max-height:560px) and (orientation:landscape){.objective{font-size:9px}#toast-text{font-size:10px}.touch-button span{font-size:7px}}
.resource-row,.resource-row strong{white-space:nowrap}

/* Match the visible viewport as Safari bars, fullscreen and orientation change. */
html,body{overscroll-behavior:none}
#game{position:fixed;inset:0 auto auto 0;width:var(--game-width,100vw);height:var(--game-height,100dvh);min-height:0}
html:fullscreen,html:-webkit-full-screen{width:100%;height:100%;background:var(--deep)}
.fullscreen-help{z-index:45;touch-action:pan-y}
.fullscreen-modal{width:min(490px,100%);max-height:calc(var(--game-height,100dvh) - 32px);overflow-y:auto;padding:38px 32px 30px}
.fullscreen-modal h2{font-size:37px;margin:18px 0}
.fullscreen-modal ol{padding-left:23px;margin:22px 0;color:#c0c9b9;font-size:13px;line-height:1.7}
.fullscreen-modal li{padding:0 0 12px 5px}
.fullscreen-modal strong{color:var(--cream)}
.fullscreen-modal .fullscreen-note{font-size:11px;color:#a0b0a4}
.fullscreen-modal .button{margin-top:15px;width:100%;min-width:0;font-size:9px;letter-spacing:1.5px}
#fullscreen-button[aria-pressed="true"]{border-color:var(--warm);background:#d1ae8320}
@media(display-mode:standalone),(display-mode:fullscreen){.topbar{top:max(15px,calc(env(safe-area-inset-top) + 8px))}.title-footer{bottom:max(15px,calc(env(safe-area-inset-bottom) + 8px))}}
@media(max-height:560px) and (orientation:landscape){.fullscreen-modal{padding:25px 32px;max-width:630px}.fullscreen-modal h2{font-size:27px;margin:12px 0}.fullscreen-modal ol{font-size:11px;margin:14px 0}.fullscreen-modal li{padding-bottom:5px}.fullscreen-modal .button{min-height:42px}.fullscreen-modal p{font-size:11px}}
@media(max-width:600px) and (orientation:portrait){.topbar{top:max(19px,calc(env(safe-area-inset-top) + 8px))}.player-status{top:max(91px,calc(env(safe-area-inset-top) + 70px))}.pause-button{top:max(89px,calc(env(safe-area-inset-top) + 68px))}.journey-status{top:max(153px,calc(env(safe-area-inset-top) + 132px))}.toast{top:max(215px,calc(env(safe-area-inset-top) + 194px))}}
