@charset "UTF-8";
:root{color-scheme:dark;--ink:#111c1c;--paper:#ede5cd;--gold:#c0a56d;--gold-light:#ddc79b;--gold-dim:rgba(192,165,109,.35);--muted:#abae9e;--red:#923e30;--serif:"Songti SC","STSong","Noto Serif CJK SC","SimSun",serif;--sans:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--ink);color:var(--paper)}body{font-family:var(--serif);font-weight:400;-webkit-font-smoothing:antialiased;user-select:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,canvas:focus-visible{outline:2px solid var(--gold-light);outline-offset:6px}button:disabled{opacity:.5;cursor:wait}[hidden],.hidden{display:none!important}p,h1,h2{margin:0}button{border-radius:0}#world{position:fixed;inset:0;display:block;width:100%;height:100%;outline:none;touch-action:none}.screen-grain{position:fixed;inset:0;z-index:2;pointer-events:none;opacity:.075;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.4' filter='url(%23n)'/%3E%3C/svg%3E")}.scene-frame{position:fixed;inset:0;z-index:1;pointer-events:none;background:linear-gradient(0deg,rgba(7,15,15,.5),transparent 18%,transparent 86%,rgba(7,15,15,.3))}#damage-vignette{position:fixed;inset:0;z-index:14;pointer-events:none;box-shadow:inset 0 0 170px 65px rgba(130,21,14,.7);opacity:0;transition:opacity .15s}
.intro{position:fixed;inset:0;z-index:8;background:linear-gradient(90deg,rgba(8,18,18,.89) 0%,rgba(8,18,18,.66) 24%,rgba(8,18,18,.17) 49%,transparent 67%);transition:opacity .7s}.intro-masthead{position:absolute;left:5.7vw;right:5.7vw;top:5.4vh;display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.24em;color:var(--gold-light)}.wordmark{display:flex;align-items:center;gap:14px}.seal{display:grid;place-items:center;width:31px;height:35px;color:#c88562;border:1px solid #995f47;font-size:22px;letter-spacing:0;transform:rotate(-3deg);box-shadow:inset 0 0 0 2px rgba(153,95,71,.2)}.mountain-verse{opacity:.66;letter-spacing:.27em;font-size:10px}.mountain-verse span{padding:0 15px;opacity:.45}.intro-copy{position:absolute;top:20.3vh;left:9.2vw;max-width:430px}.chapter-eyebrow{display:flex;align-items:center;gap:14px;font-size:12px;letter-spacing:.32em;color:var(--gold-light);animation:enter .9s .1s both}.fine-rule{display:inline-block;width:33px;height:1px;background:var(--gold)}h1{font-size:clamp(66px,7.1vw,115px);line-height:1.09;letter-spacing:.11em;font-weight:500;margin-top:25px;color:#eee7d2;text-shadow:0 3px 30px rgba(0,0,0,.24);animation:title-reveal 1.25s .2s both}h1>span{display:block;margin-left:.52em}.intro-story{margin:27px 0 30px;font-size:13px;line-height:2.2;letter-spacing:.16em;color:#c0c1af;animation:enter 1s .4s both}.intro-actions{display:flex;align-items:center;gap:25px;animation:enter 1s .55s both}.button-primary{min-height:48px;min-width:179px;border:1px solid rgba(208,184,130,.67);background:linear-gradient(100deg,rgba(171,143,88,.14),rgba(171,143,88,.04));display:flex;align-items:center;justify-content:space-between;gap:28px;padding:12px 23px;color:var(--paper);font-size:14px;letter-spacing:.22em;position:relative;transition:background .2s,border-color .2s,transform .2s}.button-primary:before,.button-primary:after{content:"";position:absolute;width:4px;height:4px;background:var(--gold-light);transform:rotate(45deg);top:calc(50% - 2px)}.button-primary:before{left:-2px}.button-primary:after{right:-2px}.button-primary:hover{background:rgba(190,163,104,.24);border-color:var(--gold-light);transform:translateY(-1px)}.button-primary:active{transform:translateY(1px)}.button-arrow{font-size:20px;font-family:var(--serif);font-weight:300;letter-spacing:0;color:var(--gold-light)}.button-quiet{border:0;background:none;display:flex;align-items:center;gap:9px;padding:13px 0;font-size:12px;color:#c1bdac;letter-spacing:.12em;white-space:nowrap;transition:color .2s}.button-quiet:hover{color:var(--gold-light)}.eye-icon{width:16px;height:10px;display:inline-block;border:1px solid currentColor;border-radius:80% 0;transform:rotate(45deg);position:relative;opacity:.8}.eye-icon:after{content:"";position:absolute;width:4px;height:4px;background:currentColor;border-radius:50%;left:5px;top:2px}.chapter-length{display:flex;align-items:center;gap:9px;margin-top:22px;font-size:10px;letter-spacing:.22em;color:#8f9a8c;animation:enter 1s .65s both}.chapter-dot{width:3px;height:3px;background:var(--gold);transform:rotate(45deg)}.intro-side-note{position:absolute;right:5.7vw;top:32%;display:flex;align-items:center;gap:18px;writing-mode:vertical-rl;font-size:11px;letter-spacing:.45em;color:rgba(233,226,203,.54)}.intro-side-note i{height:47px;width:1px;background:linear-gradient(transparent,var(--gold-dim),transparent)}.intro-footer{position:absolute;bottom:4.2vh;left:5.7vw;right:5.7vw;display:flex;align-items:center;justify-content:space-between;gap:20px;font-family:var(--sans);font-size:10px;color:#abae9e}.chapter-index{display:flex;align-items:center;gap:15px;letter-spacing:.2em;font-family:var(--serif)}.chapter-index b{font-size:22px;font-weight:400;color:var(--gold-light)}.chapter-index i{height:1px;width:28px;background:var(--gold-dim)}.intro-controls{display:flex;gap:20px;opacity:.86}.intro-controls>span,.hud-controls>span{white-space:nowrap}kbd{font:400 10px/1.2 var(--sans);border:1px solid rgba(211,207,181,.26);border-radius:2px;padding:3px 5px;color:#d2d0ba;letter-spacing:.01em;margin-right:4px;background:rgba(8,17,17,.19)}.footer-flourish{font-size:10px;font-family:var(--serif);letter-spacing:.22em;color:#8e988b}
.hud{position:fixed;inset:0;z-index:5;pointer-events:none}.vitals{position:absolute;top:5.5vh;left:4.5vw;width:235px;filter:drop-shadow(0 2px 5px #102020)}.vitals-heading{display:flex;align-items:center;gap:10px;margin-bottom:9px;letter-spacing:.18em;font-size:14px}.vitals-seal{font-size:16px;color:var(--gold);border:1px solid var(--gold-dim);width:24px;height:26px;display:grid;place-items:center;letter-spacing:0}.vitals-level{margin-left:auto;font-size:10px;color:var(--muted);letter-spacing:.1em}.vital-bar{position:relative;height:6px;background:rgba(10,17,16,.75);border:1px solid rgba(200,177,127,.32);transform:skewX(-18deg)}.vital-fill{height:100%;width:100%;transform-origin:left;transition:width .2s;background:linear-gradient(90deg,#85594c,#c69b77)}.health-bar:before{content:"";position:absolute;left:-4px;top:-2px;height:8px;width:2px;background:var(--gold)}.stamina-bar{margin-top:5px;height:4px;width:86%;border-color:rgba(175,194,161,.25)}.stamina-bar .vital-fill{background:linear-gradient(90deg,#617661,#adb795)}.objective{position:absolute;right:4.5vw;top:5.8vh;max-width:330px;text-align:right;border-right:1px solid var(--gold-dim);padding-right:15px;text-shadow:0 2px 8px #0b1615}.objective-kicker{font-size:10px;letter-spacing:.2em;color:var(--gold)}.objective h2{font-size:20px;font-weight:400;letter-spacing:.18em;margin-top:8px}.objective p{font-size:11px;line-height:1.8;letter-spacing:.07em;color:#b8beac;margin-top:6px}.gourd{position:absolute;left:4.5vw;bottom:6.2vh;display:flex;align-items:center;gap:13px;filter:drop-shadow(0 2px 6px #12211c)}.gourd svg{width:28px;height:43px;fill:rgba(189,153,88,.09);stroke:var(--gold);stroke-width:1.2}.gourd>span{display:grid;grid-template-columns:auto auto;align-items:center;gap:6px}.gourd b{font-size:12px;font-weight:400;letter-spacing:.08em}.gourd small{grid-column:1/-1;font-size:9px;color:var(--muted);letter-spacing:.1em;font-family:var(--sans)}.hud-controls{position:absolute;bottom:2.6vh;left:50%;transform:translateX(-50%);display:flex;justify-content:center;align-items:center;gap:13px;font-family:var(--sans);color:#b0b8a7;font-size:9px;text-shadow:0 1px 4px #102018}.hud-controls kbd{font-size:9px;padding:2px 4px}.hud-compass{position:absolute;top:4.8vh;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:5px;letter-spacing:.15em;font-size:9px;color:rgba(227,220,194,.53)}.hud-compass i{width:3px;height:3px;transform:rotate(45deg);background:var(--gold)}.hud-compass span:last-child{font-size:8px;color:rgba(227,220,194,.35)}
.boss-ui{position:fixed;left:50%;bottom:10.5vh;transform:translateX(-50%);z-index:6;width:min(540px,45vw);text-align:center;pointer-events:none;filter:drop-shadow(0 2px 8px #10211d)}.boss-title{font-size:19px;letter-spacing:.35em;margin:0 0 10px 7px}.boss-title span{font-size:8px;vertical-align:middle;color:var(--gold);margin:0 20px}.boss-bar{height:7px;border:1px solid rgba(199,170,121,.65);padding:1px;background:rgba(12,22,19,.8);transform:skewX(-24deg)}#boss-fill{height:100%;width:100%;background:linear-gradient(90deg,#65382f,#ac7460);transition:width .28s}.boss-subtitle{display:block;font-size:9px;letter-spacing:.2em;color:#a29e8a;margin-top:8px}.interact-prompt{position:fixed;z-index:10;left:50%;bottom:26%;transform:translateX(-50%);padding:10px 18px;display:flex;align-items:center;gap:8px;font-size:13px;letter-spacing:.16em;border-top:1px solid rgba(194,169,113,.35);border-bottom:1px solid rgba(194,169,113,.35);background:linear-gradient(90deg,transparent,rgba(11,25,22,.82) 24%,rgba(11,25,22,.82) 76%,transparent);text-shadow:0 2px 5px #0c1818}.interact-prompt kbd{font-size:12px;padding:5px 7px;margin:0}.toast{position:fixed;z-index:18;left:50%;top:22%;transform:translate(-50%,-8px);padding:11px 35px;max-width:80vw;white-space:pre-line;text-align:center;font-size:14px;line-height:1.7;letter-spacing:.12em;color:var(--gold-light);background:linear-gradient(90deg,transparent,rgba(8,20,17,.8) 20%,rgba(8,20,17,.8) 80%,transparent);text-shadow:0 2px 5px #0b1614;pointer-events:none;opacity:0;transition:opacity .3s,transform .3s}.toast.show,.toast.visible{opacity:1;transform:translate(-50%,0)}.fps{position:fixed;bottom:15px;right:20px;z-index:9;pointer-events:none;font:9px/1 var(--sans);letter-spacing:.1em;color:rgba(205,219,194,.38)}
.modal-overlay{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;background:rgba(5,15,15,.76);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:overlay-in .3s}.modal-panel{width:min(370px,84vw);text-align:center;padding:20px 0}.modal-eyebrow{font-size:11px;letter-spacing:.3em;color:var(--gold)}.modal-panel h2{font-size:43px;line-height:1.35;font-weight:400;letter-spacing:.18em;margin:22px 0 12px 8px}.modal-divider{display:flex;align-items:center;justify-content:center;gap:15px;color:var(--gold);font-size:10px;margin:20px 0 28px}.modal-divider i{height:1px;width:61px;background:linear-gradient(90deg,transparent,var(--gold-dim))}.modal-divider i:last-child{transform:rotate(180deg)}.pause-actions{display:flex;flex-direction:column;gap:10px;align-items:stretch;padding:0 57px}.button-menu{background:none;border:0;border-bottom:1px solid rgba(192,165,109,.12);padding:13px 5px;color:#b9bba9;font-size:13px;letter-spacing:.14em;transition:color .2s,background .2s}.button-menu:hover{color:var(--paper);background:rgba(192,165,109,.055)}.modal-hint{font-size:10px;color:#87988b;margin-top:29px;font-family:var(--sans)}.modal-hint kbd{font-size:9px}.result-panel{width:min(430px,85vw)}.result-panel .button-primary{margin:35px auto 0;min-width:205px}.result-seal{display:grid;place-items:center;width:43px;height:46px;border:1px solid #a46246;color:#bf8860;box-shadow:inset 0 0 0 3px rgba(164,98,70,.13);font-size:27px;transform:rotate(-5deg);margin:0 auto 27px}#result-desc{font-size:13px;line-height:2;letter-spacing:.15em;color:#b9bdab}.result-overlay{background:radial-gradient(ellipse at center,rgba(17,30,26,.82),rgba(6,15,16,.89))}
.loading{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#111c1c;transition:opacity .6s}.loading-symbol{position:relative;display:grid;place-items:center;width:65px;height:65px;margin-bottom:29px}.loading-symbol:before,.loading-symbol:after{content:"";position:absolute;inset:0;border:1px solid rgba(192,165,109,.15);transform:rotate(45deg)}.loading-symbol:after{border-top-color:var(--gold);border-left-color:var(--gold);animation:loading-rotate 4s linear infinite}.loading-symbol span{font-size:34px;color:var(--gold-light)}.loading>p{font-size:18px;letter-spacing:.4em;margin-left:.4em;color:var(--paper)}#load-status{font:10px/1.7 var(--sans);color:#8d9c8f;margin-top:14px;letter-spacing:.12em}.loading.fade-out{opacity:0;pointer-events:none}.mobile-note{display:none;position:fixed;top:10px;left:50%;transform:translateX(-50%);z-index:35;color:#c4c5ac;font:9px/1.5 var(--sans);letter-spacing:.04em;white-space:nowrap;pointer-events:none}.touch-controls{display:none;position:fixed;z-index:12;left:18px;right:18px;bottom:35px;pointer-events:none;justify-content:space-between;align-items:flex-end}.touch-controls button{pointer-events:auto;border:1px solid rgba(204,181,135,.35);background:rgba(14,26,24,.4);color:var(--gold-light);width:44px;height:44px;border-radius:50%;font-size:17px;touch-action:none;-webkit-touch-callout:none}.touch-direction{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:5px}.touch-direction button:first-child{grid-column:2}.touch-direction button:nth-child(2){grid-column:1;grid-row:2}.touch-direction button:nth-child(3){grid-column:2;grid-row:2}.touch-direction button:nth-child(4){grid-column:3;grid-row:2}.touch-combat{display:flex;gap:10px;align-items:center}.touch-combat button:last-child{width:59px;height:59px;font-size:23px}body:has(#hud[hidden]) .touch-controls,body:has(#pause:not([hidden])) .touch-controls,body:has(#result:not([hidden])) .touch-controls{display:none}
@keyframes enter{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}@keyframes title-reveal{from{opacity:0;transform:translateY(17px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes overlay-in{from{opacity:0}to{opacity:1}}@keyframes loading-rotate{to{transform:rotate(405deg)}}
@media(min-width:1800px){.intro-copy{top:22vh}.intro-story{font-size:15px;margin-top:32px}.intro-actions{gap:35px}.button-primary{min-width:204px;min-height:54px;font-size:16px}.chapter-eyebrow{font-size:14px}.intro-footer{font-size:12px}.intro-controls{gap:28px}.intro-controls kbd{font-size:11px}.vitals{width:285px}.objective h2{font-size:24px}.objective p{font-size:13px}}
@media(max-height:760px) and (min-width:901px){.intro-copy{top:18.5vh}h1{font-size:clamp(67px,6.6vw,94px);margin-top:19px}.intro-story{margin:19px 0 22px;font-size:12px}.chapter-length{margin-top:17px}.intro-footer{bottom:3.7vh}}
@media(max-height:620px) and (min-width:901px){.intro-copy{top:17vh}h1{font-size:67px;line-height:1.02;margin-top:16px}.intro-story{margin:15px 0 17px;line-height:1.9}.chapter-length{display:none}.intro-masthead{top:4vh}.intro-footer{bottom:3.5vh}.button-primary{min-height:43px}.modal-panel h2{font-size:34px;margin-top:13px}.modal-divider{margin:15px 0 18px}.pause-actions{gap:4px}.modal-hint{margin-top:17px}}
@media(max-width:1100px){.intro-copy{left:7.5vw}.intro-masthead,.intro-footer{left:5vw;right:5vw}.intro-controls{gap:12px}.footer-flourish{display:none}.hud-controls{gap:8px;font-size:8px;width:100%}.hud-controls kbd{font-size:8px}.vitals{width:205px}.objective{max-width:280px}.gourd{bottom:8vh}.boss-ui{bottom:14vh}}
@media(max-width:900px){.intro-copy{left:7vw;top:20vh}.intro{background:linear-gradient(90deg,rgba(8,18,18,.9),rgba(8,18,18,.6) 36%,transparent 83%)}h1{font-size:75px}.intro-controls{gap:9px;font-size:9px}.intro-controls kbd{font-size:8px}.chapter-index{gap:10px}.mountain-verse{font-size:9px}.vitals{left:4vw;width:190px}.objective{right:4vw;max-width:245px}.objective h2{font-size:18px}.objective p{font-size:10px}.hud-compass{display:none}.hud-controls>span:nth-last-child(n+6){display:none}.boss-ui{width:52vw}}
@media(max-width:600px){.intro-masthead{top:5vh}.mountain-verse{display:none}.intro-copy{top:20vh;left:9vw}.chapter-eyebrow{font-size:10px;gap:10px;letter-spacing:.25em}h1{font-size:75px;margin-top:24px;line-height:1.08}.intro-story{font-size:12px;margin:25px 0 27px;letter-spacing:.12em}.intro-actions{gap:23px}.button-primary{min-width:169px;padding:12px 20px}.button-quiet{font-size:11px}.intro-side-note{right:6vw;top:33%;font-size:9px}.intro-footer{bottom:3.8vh}.intro-controls{display:none}.intro-footer:after{content:"执棍入山 · 叩问前尘";font-size:9px;letter-spacing:.1em;color:#89978a}.vitals{top:6vh;left:5vw;width:155px}.vitals-heading{font-size:12px;gap:7px}.vitals-level{font-size:8px}.vitals-seal{width:21px;height:23px;font-size:14px}.objective{top:6vh;right:5vw;max-width:160px;padding-right:10px}.objective h2{font-size:16px}.objective p{font-size:9px;line-height:1.6}.objective-kicker{font-size:8px}.hud-controls{bottom:2vh;font-size:8px;gap:8px}.hud-controls>span:nth-child(-n+5){display:none}.gourd{left:6vw;bottom:18vh}.gourd svg{width:22px;height:35px}.gourd b{font-size:11px}.gourd small{font-size:8px}.boss-ui{width:73vw;bottom:26vh}.boss-title{font-size:16px}.boss-title span{margin:0 13px}.boss-subtitle{font-size:8px}.interact-prompt{bottom:37%;font-size:11px}.toast{top:27%;font-size:12px;max-width:88vw;width:max-content;padding:10px 23px}.fps{font-size:8px;right:10px;bottom:8px}.mobile-note{display:block}.modal-panel h2{font-size:36px}.pause-actions{padding:0 35px}.result-panel{width:80vw}#result-desc{font-size:12px}}
@media(pointer:coarse){.touch-controls{display:flex}.mobile-note{display:block}.hud-controls>span{display:none}.hud-controls:after{content:"E 互动 · F 观景 · Esc 暂停";letter-spacing:.1em}.gourd{bottom:21vh}.boss-ui{bottom:24vh}}
@media(max-height:550px) and (max-width:950px){.intro-masthead{top:5vh}.wordmark{font-size:9px}.seal{width:24px;height:27px;font-size:18px}.intro-copy{top:21vh;left:8vw}.chapter-eyebrow{font-size:9px}h1{font-size:57px;line-height:1;display:flex;gap:.08em;margin-top:19px;letter-spacing:.1em}h1>span{display:inline;margin-left:0}.intro-story{font-size:10px;line-height:1.8;margin:16px 0 16px}.intro-actions{gap:20px}.button-primary{min-height:38px;min-width:158px;font-size:11px;padding:8px 20px}.button-quiet{font-size:10px}.chapter-length{display:none}.intro-footer{bottom:5vh}.intro-side-note{font-size:9px;top:26%}.vitals{top:7vh;width:160px}.objective{top:7vh;max-width:240px}.objective h2{font-size:16px}.objective p{font-size:9px}.gourd{bottom:24vh;left:5vw;transform:scale(.85);transform-origin:left bottom}.boss-ui{bottom:18vh;width:42vw}.boss-title{font-size:14px;margin-bottom:6px}.boss-subtitle{font-size:8px;margin-top:5px}.touch-controls{bottom:20px}.touch-controls button{width:36px;height:36px}.touch-direction{grid-template-columns:repeat(3,36px);grid-template-rows:repeat(2,36px);gap:4px}.touch-combat button:last-child{width:48px;height:48px}.modal-panel{padding:10px 0}.modal-eyebrow{font-size:9px}.modal-panel h2{font-size:29px;margin:10px 0}.modal-divider{margin:10px 0 14px}.pause-actions{gap:3px}.button-menu{padding:8px;font-size:11px}.modal-hint{margin-top:14px}.result-seal{width:31px;height:34px;font-size:22px;margin-bottom:14px}#result-desc{font-size:11px;line-height:1.8}.result-panel .button-primary{margin-top:20px}.toast{top:29%;font-size:11px}.interact-prompt{bottom:36%;padding:7px 17px}}
/* Runtime state classes and multiline game messages. */
.toast.is-visible{opacity:1;transform:translate(-50%,0)}
#result-desc,#objective-desc{white-space:pre-line}
#heal-count{color:var(--gold-light);font-variant-numeric:tabular-nums}
.loading.failed .loading-symbol:after{animation:none;border-color:var(--red)}
.loading.failed #load-status{max-width:min(560px,84vw);text-align:center;overflow-wrap:anywhere;line-height:1.9}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* In-scene character inspection. Controls leave the center of the portrait clear. */
.intro-inspect{margin-top:8px;padding:7px 0;font-size:11px;letter-spacing:.16em;color:#9caa98;animation:enter 1s .65s both}.intro-inspect kbd{font-size:9px;margin-left:5px;color:var(--gold)}
.inspect{position:fixed;inset:0;z-index:31;pointer-events:none;background:linear-gradient(180deg,rgba(5,14,14,.25),transparent 23%,transparent 71%,rgba(5,14,14,.5))}.inspect-heading{position:absolute;left:max(4.5vw,22px);top:max(5vh,20px);text-shadow:0 2px 12px #0c1818}.inspect-heading p{font-size:10px;letter-spacing:.3em;color:var(--gold)}.inspect-heading h2{font-size:27px;font-weight:400;letter-spacing:.2em;margin:13px 0 10px}.inspect-heading>span{font-size:10px;letter-spacing:.13em;color:#b9bfac}.inspect button{pointer-events:auto}.inspect-close{position:absolute;right:max(4.5vw,22px);top:max(5vh,20px);display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--gold-dim);padding:10px 1px;background:transparent;font-size:12px;letter-spacing:.16em;color:var(--gold-light);text-shadow:0 2px 8px #071615}.inspect-close>span{font-size:18px}.inspect-close kbd{font-size:8px;margin-left:2px}.inspect-bottom{position:absolute;left:50%;bottom:max(4.5vh,22px);transform:translateX(-50%);text-align:center;width:max-content;max-width:96vw}.inspect-views{display:inline-flex;border:1px solid var(--gold-dim);background:rgba(8,19,18,.72)}.inspect-views button{min-width:87px;min-height:43px;border:0;background:none;font-size:12px;letter-spacing:.16em;color:#a4af9d;padding:11px 17px;transition:color .2s,background .2s}.inspect-views button+button{border-left:1px solid rgba(192,165,109,.18)}.inspect-views button[aria-pressed=true]{color:var(--gold-light);background:rgba(192,165,109,.15);box-shadow:inset 0 -1px var(--gold)}.inspect-views button:hover,.inspect-close:hover{color:var(--paper);background-color:rgba(192,165,109,.10)}.inspect-bottom p{font:9px/1.8 var(--sans);letter-spacing:.09em;color:#a8b3a2;margin-top:12px;text-shadow:0 2px 7px #071615}.is-inspecting .touch-controls,.is-inspecting .mobile-note{display:none!important}
@media(max-width:600px){.inspect-heading h2{font-size:23px}.inspect-heading>span{font-size:9px}.inspect-close kbd,.inspect-bottom p span{display:none}.inspect-bottom{bottom:max(4vh,24px)}.intro-inspect{margin-top:7px}}
@media(max-height:550px) and (max-width:950px){.intro-inspect{position:absolute;left:0;top:100%;margin-top:5px;font-size:10px}.inspect-heading{top:18px;left:22px}.inspect-heading h2{font-size:20px;margin:8px 0}.inspect-heading p{font-size:9px}.inspect-heading>span{font-size:8px}.inspect-close{top:18px;right:22px;font-size:10px;padding:6px 0}.inspect-close kbd{display:none}.inspect-bottom{bottom:16px}.inspect-views button{min-height:34px;min-width:74px;padding:8px 12px;font-size:10px}.inspect-bottom p{font-size:8px;margin-top:7px}.inspect-bottom p span{display:none}}
@media(pointer:coarse){.inspect-close kbd,.inspect-bottom p span{display:none}}


/* 双钟破瘴: quiet seals around the scene; the center remains for combat. */
.chapter-progress{display:flex;align-items:center;justify-content:flex-end;gap:0;list-style:none;margin:15px 0 0;padding:0;font-family:var(--sans);font-size:9px;letter-spacing:.09em;color:#909c8d}
.chapter-progress li{display:flex;align-items:center;gap:6px;white-space:nowrap;transition:color .25s}
.chapter-progress li+li:before{content:"";width:19px;height:1px;margin:0 7px;background:rgba(170,181,153,.2)}
.chapter-progress i{display:block;width:5px;height:5px;border:1px solid currentColor;transform:rotate(45deg);background:rgba(8,19,18,.6);flex:none}
.chapter-progress [data-state="active"]{color:var(--gold-light)}
.chapter-progress [data-state="active"] i{background:var(--gold);box-shadow:0 0 0 3px rgba(192,165,109,.1),0 0 10px rgba(221,199,155,.24)}
.chapter-progress [data-state="done"]{color:#b7c3a4}
.chapter-progress [data-state="done"] i{background:#b7c3a4;border-color:#b7c3a4}
.chapter-progress [data-state="done"] span:after{content:" · 成";font-size:8px;opacity:.72}
.chapter-progress [data-state="locked"]{color:#929e8e}
.chapter-progress [data-state="locked"] i{opacity:.55}
.chapter-abilities{position:absolute;left:4.5vw;top:calc(5.5vh + 70px);width:235px;display:grid;gap:8px;text-shadow:0 2px 6px #0b1714}
.ability-status{display:flex;align-items:center;gap:8px;min-height:24px;font-size:10px;letter-spacing:.10em}
.ability-status kbd{min-width:22px;margin:0;padding:3px 5px;text-align:center;font-size:9px;border-color:rgba(192,165,109,.32);color:var(--gold-light);background:rgba(8,18,17,.48)}
.ability-name{color:#c7c7b1}.ability-value{margin-left:auto;font:9px/1.5 var(--sans);letter-spacing:.04em;color:var(--gold-light);font-variant-numeric:tabular-nums}
#spell-status[data-state="cooldown"] .ability-value{color:#9fac99}
#spell-status[data-state="cooldown"] kbd{color:#9ba98f;border-color:rgba(159,172,153,.22)}
.focus-meter{margin-left:auto;font:11px/1.5 var(--sans);letter-spacing:.03em;color:var(--gold-light);font-variant-numeric:tabular-nums}
.focus-meter b{font-weight:500}.focus-meter small{font-size:9px;color:#94a18b}.focus-hint{font-size:8px;color:#94a18b;letter-spacing:.03em;margin-left:4px}
#focus-status[data-state="full"] .focus-meter{color:#f1d2a1;text-shadow:0 0 9px rgba(221,199,155,.5)}
.touch-pause{display:none;pointer-events:auto;position:absolute;left:50%;top:max(17px,env(safe-area-inset-top));transform:translateX(-50%);width:44px;height:36px;padding:0;border:1px solid rgba(204,181,135,.25);background:rgba(10,24,21,.36);color:var(--gold-light);border-radius:2px;font:18px/1 var(--serif);touch-action:manipulation}
.touch-combat{display:grid;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px);gap:8px}
.touch-combat button,.touch-combat button:last-child{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:48px;height:48px;padding:2px;font-size:17px;line-height:1.1;background:rgba(9,23,20,.56);box-shadow:inset 0 0 0 3px rgba(12,29,24,.12);-webkit-tap-highlight-color:transparent}
.touch-combat button small{font:8px/1.2 var(--sans);letter-spacing:.03em;opacity:.8;pointer-events:none}.touch-combat button>span{pointer-events:none}
.touch-combat button[data-action="attack"]{border-color:rgba(221,199,155,.6);background:rgba(109,88,48,.4);color:#eee2c1}
.touch-combat button[data-action="spell"]{border-color:rgba(182,193,153,.48);color:#d8dcba}
.touch-combat button:active,.touch-direction button:active,.touch-pause:active{background:rgba(192,165,109,.3);border-color:var(--gold-light)}
.touch-combat button[data-state="cooldown"],.touch-combat button:disabled{opacity:.52}
@media(min-width:1800px){.chapter-abilities{width:285px;top:calc(5.5vh + 74px)}.ability-status{font-size:12px}.ability-value{font-size:10px}.chapter-progress{font-size:10px}}
@media(max-width:1100px){.chapter-abilities{width:205px}.hud-controls{gap:7px}.hud-controls>span{font-size:8px}}
@media(max-width:900px){.chapter-abilities{left:4vw;width:190px}.chapter-progress{font-size:8px}.chapter-progress li+li:before{width:10px;margin:0 5px}.chapter-progress [data-state="done"] span:after{font-size:7px}}
@media(max-width:600px){.chapter-abilities{left:5vw;top:calc(6vh + 63px);width:155px;gap:5px}.ability-status{gap:6px;font-size:9px}.ability-status kbd{font-size:8px;min-width:19px;padding:3px}.ability-value{font-size:8px}.focus-hint{display:none}.chapter-progress{margin-top:11px;gap:5px;justify-content:flex-end}.chapter-progress li{gap:4px}.chapter-progress li+li:before{display:none}.chapter-progress [data-state="done"] span:after{content:"✓";margin-left:2px}.chapter-progress i{width:4px;height:4px}.touch-combat{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:6px}.touch-combat button,.touch-combat button:last-child{width:44px;height:44px;font-size:16px}.objective{max-width:170px}}
@media(pointer:coarse){.touch-pause{display:block}.hud-controls{display:none}.hud-compass{display:none}.chapter-abilities kbd{display:none}.ability-status{border-left:1px solid rgba(192,165,109,.28);padding-left:9px}.gourd{left:22px;bottom:138px;gap:7px}.gourd svg{width:20px;height:28px}.gourd>span{gap:4px}.gourd kbd{display:none}.gourd b{font-size:10px}.gourd small{font-size:8px}.mobile-note{font-size:8px}.intro-controls{row-gap:8px;flex-wrap:wrap;justify-content:flex-end}.intro-inspect kbd{display:none}.is-inspecting .touch-pause{display:none}}
@media(max-height:550px) and (max-width:950px){
  .intro-copy{top:20vh}.intro-story{margin:13px 0;max-width:410px}.intro-actions{gap:17px}.intro-inspect{margin-top:6px}.intro-footer{bottom:5vh}.intro-controls{max-width:64vw;gap:8px;row-gap:8px;justify-content:flex-end;flex-wrap:wrap}.chapter-index{gap:9px}.chapter-index i{width:18px}
  .vitals{top:22px;left:22px;width:166px}.vitals-heading{margin-bottom:7px;font-size:12px;gap:7px}.vitals-seal{width:21px;height:23px;font-size:14px}.vitals-level{font-size:8px}.chapter-abilities{top:83px;left:22px;width:166px;gap:4px}.ability-status{font-size:9px;min-height:21px;gap:6px}.ability-value{font-size:8px}.focus-meter{font-size:10px}.focus-hint{font-size:7px}
  .objective{top:23px;right:22px;max-width:235px;padding-right:11px}.objective-kicker{font-size:8px}.objective h2{font-size:16px;margin-top:6px}.objective p{font-size:9px;line-height:1.65;margin-top:5px}.chapter-progress{margin-top:9px;font-size:8px}.chapter-progress li+li:before{width:14px;margin:0 6px}.chapter-progress li{gap:5px}
  .touch-controls{left:22px;right:22px;bottom:max(17px,env(safe-area-inset-bottom));align-items:flex-end}.touch-direction{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:4px}.touch-direction button{width:44px;height:44px}.touch-combat{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:6px}.touch-combat button,.touch-combat button:last-child{width:44px;height:44px;font-size:16px}.touch-combat button small{font-size:7px}
  .gourd{left:25px;bottom:121px;transform:none}.boss-ui{bottom:31px;width:min(365px,43vw)}.boss-title{font-size:14px;margin-bottom:6px}.boss-subtitle{font-size:7px;margin-top:5px}.interact-prompt{bottom:29%;font-size:11px;max-width:43vw;white-space:normal;text-align:center}.toast{top:32%;font-size:11px;max-width:54vw;line-height:1.6}.mobile-note{display:none}.fps{bottom:7px;right:8px;font-size:7px}
}
@media(pointer:coarse) and (orientation:portrait){.mobile-note{top:auto;bottom:8px}.touch-pause{top:auto;left:auto;right:20px;bottom:140px;transform:none}.gourd{bottom:141px}.boss-ui{bottom:255px}.interact-prompt{bottom:320px}.toast{top:34%;max-width:85vw}}
