:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--deck-height:148px;--surface-top:env(safe-area-inset-top);--surface-right:env(safe-area-inset-right);--surface-bottom:env(safe-area-inset-bottom);--surface-left:env(safe-area-inset-left);background:#14161b;font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif}body{--safe-left:max(16px, var(--surface-left));--safe-right:max(16px, var(--surface-right))}*{box-sizing:border-box}html,body{overscroll-behavior:none;width:100%;height:100dvh;margin:0;overflow:hidden}#play-surface{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;position:fixed;inset:0}#game-container{justify-content:center;align-items:center;display:flex;position:absolute;inset:0;overflow:hidden}canvas{touch-action:none;display:block}#run-ui,#touch-layer{pointer-events:none;color:#e4e3df;position:absolute;inset:0}#run-ui{z-index:20}#touch-layer{z-index:10}[hidden]{display:none!important}.run-hud{padding:max(18px, var(--surface-top)) 24px 12px;background:linear-gradient(#14161bea,#0000);justify-content:space-between;display:flex}.player-bars{gap:7px;width:min(390px,38vw);font-size:13px;display:grid}.resource-row{grid-template-columns:100px minmax(0,1fr);align-items:center;gap:12px;display:grid}.player-bars span{color:#aaaeb6;min-height:15px;font-size:12px}.hp-track,.stamina-track,.enemy-bars i{background:#34343a;height:7px;display:block;overflow:hidden}.hp-track>i,.stamina-track>i,.enemy-bars i>i{background:#ca776e;height:100%;display:block}.enemy-bars{text-align:right;color:#c2b9ab;align-content:start;gap:9px;width:min(260px,27vw);font-size:12px;display:grid}.enemy-bars i{margin-top:4px}.enemy-bars i>i{background:#b98791;margin:0}.boss-hud{color:#d5b56f;font-weight:600}.boss-hud i>i{background:#c7a45d}.run-toolbar{top:max(14px, var(--surface-top));pointer-events:auto;gap:6px;display:flex;position:absolute;left:50%;transform:translate(-50%)}#run-ui button{cursor:pointer;font:inherit;color:#e4e3df;pointer-events:auto;touch-action:manipulation;background:#20232bf0;border:1px solid #4a4b4d;border-radius:6px;min-height:44px;padding:12px 18px}#run-ui button:hover{border-color:#d3bb8f}#run-ui button:focus-visible{outline-offset:3px;outline:2px solid #d3bb8f}#run-ui .run-toolbar button{padding:8px 12px;font-size:12px}.run-controls{bottom:max(16px, var(--surface-bottom));text-align:center;color:#92959d;background:#14161b99;width:100%;padding:8px;font-size:12px;position:absolute}#run-ui .checkpoint-action{color:#efd1a1;border-color:#a38360;position:absolute;bottom:70px;left:50%;transform:translate(-50%)}.run-panel{pointer-events:auto;background:#101218dc;place-items:center;padding:16px;display:grid;position:absolute;inset:0;overflow:auto}.run-dialog{text-align:center;background:#161920ed;border:1px solid #45434a;border-radius:10px;max-width:680px;padding:28px}.run-dialog h1{letter-spacing:.08em;margin:12px 0;font-size:clamp(28px,5vw,52px);font-weight:400}.run-dialog h2{margin:0 0 12px;font-weight:400}.run-dialog p{color:#a9abb2;line-height:1.7}.run-dialog button{margin:5px}.eyebrow{color:#bca782;letter-spacing:.16em;font-size:11px}.touch-deck,.rotate-prompt{display:none}.touch-mode #game-container{bottom:calc(var(--deck-height) + var(--surface-bottom));left:var(--surface-left);right:var(--surface-right);top:var(--surface-top)}.touch-mode .touch-deck{height:calc(var(--deck-height) + var(--surface-bottom));padding:6px var(--safe-right) calc(6px + var(--surface-bottom)) var(--safe-left);pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:linear-gradient(#1d222b,#14161b);border-top:1px solid #383d46;justify-content:space-between;align-items:center;display:flex;position:absolute;bottom:0;left:0;right:0}.move-area{flex-shrink:0;justify-items:center;width:164px;display:grid}.move-stick{touch-action:none;width:164px;height:120px;position:relative}.move-stick:before{content:"";pointer-events:none;background:#10151c;border:1px solid #495461;border-radius:50%;width:108px;height:108px;position:absolute;top:6px;left:calc(50% - 54px)}.stick-knob{pointer-events:none;background:#46515d;border:2px solid #8c9caa;border-radius:50%;width:58px;height:58px;position:absolute;top:31px;left:calc(50% - 29px)}.stick-arrow{color:#7f8c99;pointer-events:none;font-size:30px;line-height:32px;position:absolute;top:44px}.stick-arrow.left{left:34px}.stick-arrow.right{right:34px}.move-caption{color:#96a2af;font-size:11px}.move-stick.is-pressed .stick-knob{background:#66778a}.touch-actions{flex-shrink:0;width:284px;height:132px;position:relative}.touch-actions button{width:60px;height:60px;font:inherit;color:#dfdfdf;touch-action:none;-webkit-tap-highlight-color:transparent;background:#2c323d;border:2px solid #686d76;border-radius:50%;padding:0;font-size:13px;position:absolute}.touch-actions [data-touch=block]{top:8px;left:0}.touch-actions [data-touch=heavy]{top:0;left:80px}.touch-actions [data-touch=jump]{width:64px;height:64px;top:0;left:218px}.touch-actions button span{opacity:.65;font-size:10px;display:block}.touch-actions .main-action{color:#f5dfbd;background:#4b4032;border-color:#b59a70;width:76px;height:76px;font-size:16px;top:56px;left:164px}.touch-actions .dodge-action{color:#b6dce9;background:#293f4b;border-color:#7694a1;width:64px;height:64px;top:68px;left:72px}.touch-actions .is-pressed{background:#68788c;border-color:#e7e3d8;transform:translateY(1px)}.controls-blocked .touch-deck{pointer-events:none;opacity:.4}.touch-mode .run-controls,.touch-mode .keyboard-hint{display:none}.touch-mode .run-hud{padding:max(8px, var(--surface-top)) var(--safe-right) 8px var(--safe-left)}.touch-mode .player-bars{gap:4px;width:min(220px,31vw);font-size:12px}.touch-mode .player-bars span{font-size:11px}.touch-mode .location-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.touch-mode .enemy-bars{gap:5px;width:min(160px,23vw);padding-top:48px;font-size:11px}.touch-mode .run-toolbar{left:auto;right:var(--safe-right);top:max(5px, var(--surface-top));transform:none}.touch-mode #run-ui .run-toolbar button{padding:7px 9px}.touch-mode #run-ui .checkpoint-action{bottom:calc(var(--deck-height) + var(--surface-bottom) + 8px);padding:8px 16px}.touch-mode .run-dialog{padding:18px 24px}.touch-mode .run-dialog p{margin:10px 0;font-size:13px}.touch-portrait .rotate-prompt{z-index:40;text-align:center;pointer-events:auto;background:#141922;flex-direction:column;justify-content:center;align-items:center;padding:32px;display:flex;position:fixed;inset:0}.touch-portrait #touch-layer{z-index:30}.touch-portrait .rotate-prompt h1{font-size:25px;font-weight:400}.touch-portrait .rotate-prompt p{color:#a6b0bd;max-width:270px;font-size:14px;line-height:1.8}.rotate-icon{color:#d3b68c;font-size:64px}.touch-portrait .rotate-detail{margin-top:22px;color:#d3b68c!important}.rotate-prompt button{color:#17191d;min-height:52px;font:inherit;cursor:pointer;touch-action:manipulation;background:#d0b78b;border:1px solid #d0b78b;border-radius:8px;padding:14px 22px}.rotate-prompt button:focus-visible{outline-offset:4px;outline:2px solid #fff}.touch-portrait .rotate-help{font-size:12px}.touch-rotated{--surface-top:env(safe-area-inset-right);--surface-right:env(safe-area-inset-bottom);--surface-bottom:env(safe-area-inset-left);--surface-left:env(safe-area-inset-top)}.touch-rotated #play-surface{transform-origin:0 0;width:100dvh;height:100vw;inset:0 auto auto 100vw;transform:rotate(90deg)}@media (height<=360px) and (orientation:landscape),(width<=360px) and (orientation:portrait){:root{--deck-height:132px}.touch-actions{transform-origin:100%;transform:scale(.88)}.move-stick{height:104px}.move-stick:before{width:96px;height:96px;top:4px;left:calc(50% - 48px)}.stick-knob{top:23px}.stick-arrow{top:36px}.touch-mode .run-dialog{padding:12px 18px}.touch-mode .run-dialog h1{font-size:28px}}@media (width<=700px){.touch-mode .player-bars{width:210px}.touch-mode .run-notice{max-width:210px}.touch-mode .run-toolbar button{font-size:11px!important}}:root{color:#eee7d5;background:#151b22}#play-surface{background:linear-gradient(#151b2294,#151b22ed),url(./ash-ruins-G2HsPjD5.png) 50%/cover}.run-hud{background:linear-gradient(#101820eb,#10182055 65%,#0000)}.run-wordmark{letter-spacing:.2em;color:#e4d6b9;font-family:Georgia,Times New Roman,serif;font-size:19px;font-weight:400;line-height:1.2}.run-wordmark small{color:#87959c;letter-spacing:.13em;margin-left:8px;font-family:Arial,PingFang SC,sans-serif;font-size:10px}.resource-row b{color:#d2d5ce;font-variant-numeric:tabular-nums;font-size:12px;font-weight:400}.hp-track,.stamina-track,.enemy-bars i{background:#111c24cb;border:1px solid #71808744;height:6px}.hp-track>i{background:linear-gradient(90deg,#98544f,#c56e68)}.stamina-track>i{background:linear-gradient(90deg,#918265,#c3ac7c)}.stamina-track.low>i{background:#d28169}.enemy-bars i>i{background:#a16b70}.player-bars span{color:#9da9ac}.player-bars .location-label{color:#b6c1c0}.player-bars .run-notice{color:#dac49c}#run-ui button{color:#dedbcf;background:#1b2730ef;border-color:#65707877;border-radius:3px;box-shadow:inset 0 1px #ccd0be0a}#run-ui button:hover{background:#293640;border-color:#bba67a}#run-ui .run-toolbar button{background:#14212ce8;justify-content:center;align-items:center;gap:5px;display:flex}.action-glyph{pointer-events:none;flex-shrink:0;width:26px;height:26px;display:block}.run-toolbar .action-glyph{color:#bcbaaa;width:16px;height:16px}#run-ui .primary{color:#18212a;background:linear-gradient(#d4bd95,#b99d71);border-color:#d3bd96}.run-controls{color:#a2acac;letter-spacing:.03em;background:linear-gradient(#0000,#10171ecc)}#run-ui .checkpoint-action{background:#302b25eb;border-color:#aa8054;align-items:center;gap:7px;display:flex}.checkpoint-action .action-glyph{width:22px;height:22px}.run-panel{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0d151cd9}.run-dialog{background:linear-gradient(#1d2930f5,#121d25f7);border-color:#84908a55;border-radius:3px;position:relative;box-shadow:0 12px 60px #050b1180,inset 0 0 0 5px #b1a27c06}.run-dialog:before,.run-dialog:after{content:"";background:#b5a179;width:36px;height:1px;position:absolute;top:-1px}.run-dialog:before{left:0}.run-dialog:after{right:0}.dialog-mark{color:#ceb58a;letter-spacing:.2em;justify-content:center;align-items:center;gap:7px;margin-bottom:17px;font-family:Georgia,serif;font-size:12px;display:flex}.dialog-mark .action-glyph{width:25px;height:25px}.run-dialog h1,.run-dialog h2{color:#e4dfce;letter-spacing:.12em}.run-dialog p{color:#aab8b9}.touch-mode .touch-deck{background:linear-gradient(#1f2a33,#121d26);border-top-color:#76807755;box-shadow:0 -6px 20px #0b141a40}.stick-knob{background:radial-gradient(at 40% 30%,#52626b,#293944);border-color:#a5ada48a;box-shadow:0 3px 8px #060f1755,inset 0 0 0 4px #afb6a711}.move-caption{color:#85979f;letter-spacing:.1em}.move-stick.is-pressed:before{border-color:#cfbd998f}.move-stick.is-pressed .stick-knob{background:#617379;border-color:#c6c2ad}.touch-actions button{color:#d6dcd7;background:linear-gradient(#34444e,#20303b);border-color:#8a969c80;flex-direction:column;justify-content:center;align-items:center;gap:1px;display:flex;box-shadow:inset 0 0 0 3px #a3afb90a,0 3px 8px #08101855}.touch-actions button .action-label{opacity:1;letter-spacing:.06em;font-size:11px;line-height:14px}.touch-actions button .hold-label{opacity:.65;font-size:8px;line-height:9px}.touch-actions [data-touch=block] .action-glyph{width:22px;height:22px}.touch-actions [data-touch=heavy]{color:#e0c99e;border-color:#9f8d718a}.touch-actions .main-action{color:#ead3a8;background:linear-gradient(#514634,#352f29);border-color:#b59b71;box-shadow:inset 0 0 0 4px #d6b9890b,0 3px 8px #08101855}.touch-actions .main-action .action-label{font-size:13px}.touch-mode .run-wordmark{font-size:12px}.touch-mode .run-toolbar .action-glyph{display:none}.touch-mode .dialog-mark{margin-bottom:10px}.touch-portrait .rotate-prompt{background:linear-gradient(#101b2580,#111e28fa 80%),url(./ash-ruins-G2HsPjD5.png) 65%/cover}.rotate-wordmark{letter-spacing:.14em;color:#dbc79f;margin-bottom:24px;font-family:Georgia,PingFang SC,serif;font-size:17px}.rotate-icon{color:#d4b687}.rotate-prompt button{background:linear-gradient(#d4bd95,#b99d71);border-color:#d3bd96;border-radius:3px}@media (height<=360px) and (orientation:landscape),(width<=360px) and (orientation:portrait){.touch-mode .run-wordmark{font-size:10px}.touch-mode .player-bars{gap:3px}.touch-mode .dialog-mark{display:none}}.player-bars{gap:5px;width:420px}.run-wordmark{letter-spacing:.22em;text-shadow:0 2px 8px #050c13;font-size:28px}.run-wordmark small{color:#c1ac85;font-size:10px}.resource-frame{grid-template-columns:52px minmax(0,1fr);align-items:center;gap:10px;display:grid}.resource-stack{gap:8px;display:grid}.resource-row{grid-template-columns:minmax(0,1fr) 83px;gap:8px}.resource-row b{color:#c7c5b7;order:1;font-size:11px;font-weight:400}.hp-track,.stamina-track{clip-path:polygon(0 0,100% 0,calc(100% - 6px) 100%,0 100%);background:#0b131dde;border-color:#bdc1af99;height:10px}.stamina-track{border-color:#bca78099;width:87%;height:8px}.ember-crest{background:radial-gradient(#e1a55c20,#101923 55%);border:1px solid #c3b896b0;border-radius:50%;place-items:center;width:48px;height:48px;display:grid;position:relative;box-shadow:inset 0 0 0 5px #101923,inset 0 0 0 6px #bda77f50}.ember-crest:before{content:"";clip-path:polygon(0 0,25% 0,25% 25%,75% 25%,75% 0,100% 0,100% 100%,75% 100%,75% 75%,25% 75%,25% 100%,0 100%);pointer-events:none;border:1px solid #bfa88280;position:absolute;inset:-4px;transform:rotate(45deg)}.ember-crest .action-glyph{color:#f1d2a0;filter:drop-shadow(0 0 4px #e0a45f);width:19px;height:19px}.run-meta{flex-wrap:wrap;gap:4px 12px;display:flex}.run-meta span{min-height:12px;font-size:10px}.run-notice{padding-left:0;font-size:11px!important}.touch-mode .player-bars{gap:3px;width:290px;max-width:calc(100% - 210px)}.touch-mode .run-wordmark{letter-spacing:.2em;font-size:18px}.touch-mode .run-wordmark small{font-size:9px}.touch-mode .resource-frame{grid-template-columns:39px minmax(0,1fr);gap:8px}.touch-mode .ember-crest{width:36px;height:36px}.touch-mode .ember-crest .action-glyph{width:15px;height:15px}.touch-mode .resource-stack{gap:6px}.touch-mode .resource-row{grid-template-columns:minmax(0,1fr) 79px;gap:6px}.touch-mode .resource-row b{font-size:10px}.touch-mode .hp-track{height:8px}.touch-mode .stamina-track{height:7px}.touch-mode .run-meta span{font-size:9px}.touch-mode .run-meta .location-label{max-width:180px}.touch-mode .run-notice{font-size:10px!important}.touch-mode .enemy-bars{width:150px;max-width:26%}.touch-mode .touch-deck{box-shadow:none;background:linear-gradient(#101923e8,#0b131bf7),url(./ash-ruins-G2HsPjD5.png) bottom/cover;border-top-color:#a9a18c55}.move-stick:before{background:radial-gradient(#a6a99b07,#0a121a45);border-color:#b5b5a27a;box-shadow:inset 0 0 0 4px #070d1500,inset 0 0 0 5px #a9ac9740}.move-stick:after{content:"";pointer-events:none;background:linear-gradient(90deg,#9da99840,#0000 25% 75%,#9da99840);height:1px;position:absolute;top:60px;left:0;right:0}.stick-knob{background:radial-gradient(at 40% 30%,#6d716a,#3b4142);border:1px solid #d3c5a3a6;box-shadow:inset 0 0 0 3px #c6c3ae09}.stick-arrow{color:#a7ac9f}.touch-actions button{color:#e7dfcb;background:radial-gradient(#47504a20,#070f173b);border-width:1px;border-color:#b7b6a37a;box-shadow:inset 0 0 0 3px #adb39704}.touch-actions .action-glyph{width:30px;height:30px}.touch-actions .main-action{background:radial-gradient(#b7823730,#0d141a50);border-color:#dfbf85b0;box-shadow:0 0 8px #d29c4415}.touch-actions .main-action .action-glyph{width:36px;height:36px}.touch-actions .dodge-action{color:#e7dfcb;background:radial-gradient(#6a909421,#070f173b);border-color:#b8bdb19c}.touch-actions .icon-blade{fill:#eee7d5;stroke-width:.8px}.touch-actions .icon-accent{stroke:#e4a252;stroke-width:2.7px;filter:drop-shadow(0 0 2px #d89b50)}.touch-actions [data-touch=block] .action-glyph>path{fill:#86bbcc20}.touch-actions .is-pressed{background:#ab916e45;border-color:#eee7d5;box-shadow:inset 0 0 12px #e4d1a71f}@media (height<=360px) and (orientation:landscape),(width<=360px) and (orientation:portrait){.touch-mode .run-wordmark{font-size:15px}.move-stick:after{top:52px}}
