:root{--ink:#343d34;--wine:#803d40;--paper:#faf6e9;--gold:#a6854e;--muted:#7b8174;--line:rgba(74,76,55,.16);font-family:"Microsoft YaHei UI","PingFang SC",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.58}button:focus-visible,summary:focus-visible{outline:3px solid #c89d55;outline-offset:4px}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}button:hover{filter:brightness(1.04)}[hidden]{display:none!important}#world{position:fixed;inset:0;display:block;width:100%;height:100%;touch-action:none;outline:none}.vignette{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 120px #354d3626;background:linear-gradient(0deg,#263f3219,transparent 25%,transparent 85%,#fff8e320)}.topbar{position:fixed;left:40px;right:40px;top:28px;display:flex;justify-content:space-between;align-items:center;z-index:12;pointer-events:none}.brand{display:flex;align-items:center;gap:12px;filter:drop-shadow(0 1px 6px #fff8e8)}.brand img{width:47px;height:47px;border-radius:50%;opacity:.88;mix-blend-mode:multiply}.brand span{font-family:"STZhongsong","Noto Serif SC","SimSun",serif;font-size:19px;font-weight:bold;letter-spacing:3px}.brand small{display:block;font-size:10px;letter-spacing:3px;margin-top:6px;color:#626d5f}.topbar nav{display:flex;align-items:center;gap:9px;pointer-events:auto}.day-label{font-size:12px;letter-spacing:2px;margin-right:16px;text-shadow:0 1px 5px #fff}.day-label i{display:inline-block;width:6px;height:6px;background:#c39749;border-radius:50%;margin:0 10px}.tool{border:1px solid #fff8;background:#faf6e9c9;backdrop-filter:blur(10px);border-radius:50px;height:38px;min-width:38px;padding:0 13px;font-size:12px;box-shadow:0 3px 15px #30422a0b}.tool kbd{font-size:9px;margin-left:5px;color:#7b8174}.welcome{position:fixed;inset:0;z-index:10;pointer-events:none;background:linear-gradient(90deg,#f4f1e3f5 0%,#f4f1e3e8 20%,#f4f1e389 39%,transparent 60%)}.welcome-copy{position:absolute;left:7.2%;top:50%;transform:translateY(-42%);pointer-events:auto;max-width:430px}.eyebrow{font-size:10px;letter-spacing:2.2px;color:var(--muted);font-weight:500}.eyebrow>span{display:inline-block;width:23px;height:1px;background:var(--wine);vertical-align:middle;margin-right:10px}h1{font-family:"STZhongsong","Songti SC","Noto Serif SC","SimSun",serif;font-weight:500;font-size:clamp(68px,7.8vw,112px);letter-spacing:8px;line-height:1.12;margin:25px 0 21px}h1 em{color:var(--wine);font-style:normal}.intro{font-size:14px;line-height:2.1;letter-spacing:1px;color:#65705e}.route-picker{display:flex;margin:25px 0 18px;border-bottom:1px solid #93927b4f;gap:25px;width:290px}.route-picker button{border:0;background:none;color:#8c8f81;padding:10px 0 13px;position:relative;font-size:13px}.route-picker button.selected{color:var(--wine)}.route-picker button.selected:after{content:"";position:absolute;height:2px;background:var(--wine);bottom:-1px;left:0;right:0}.start-row{display:flex;gap:20px;align-items:center}.primary{background:var(--wine);color:var(--paper);border:none;padding:17px 23px;display:flex;align-items:center;justify-content:space-between;gap:35px;min-width:244px;box-shadow:0 6px 20px #803d4020;border-radius:3px;letter-spacing:1px}.primary>span:last-child{font-size:20px}.text-btn{background:none;border:0;border-bottom:1px solid #ad9d7e;padding:5px 0;font-size:12px;color:#6f735f}.load-progress{height:2px;width:244px;background:#a9a4873b;margin-top:10px}.load-progress>div{height:100%;width:8%;background:var(--gold);transition:width .5s}.load-note{color:#888a77;font-size:11px;margin:8px 0 0}.preview-note{font-size:10px;line-height:1.9;color:#7d8478;margin-top:24px}.scene-caption{position:absolute;right:48px;bottom:38px;color:#fff8e9;text-shadow:0 2px 10px #273b30}.scene-caption span{font-size:10px;letter-spacing:3px}.scene-caption p{font-family:"SimSun",serif;font-size:20px;letter-spacing:3px;margin-top:10px}.quest-panel{position:fixed;left:36px;top:115px;width:266px;padding:21px 22px 17px;background:#faf7e8e8;backdrop-filter:blur(14px);border:1px solid #ffffff91;border-radius:5px;box-shadow:0 8px 30px #2e443217;z-index:5}.quest-header{display:flex;justify-content:space-between}.quest-header>span:last-child{font:10px Georgia;color:#a08661}.quest-panel h2{font-family:"SimSun",serif;font-size:20px;margin:15px 0 10px;font-weight:bold}.quest-panel>p{font-size:12px;line-height:1.8;color:#76806c;margin:0;min-height:42px}.quest-line{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:10px;color:#818775}.quest-line>span:first-child{color:var(--wine)}.quest-steps{display:flex;gap:5px;margin-top:13px}.quest-step{width:100%;height:3px;background:#dddfd0;border-radius:2px}.quest-step.done{background:#698566}.quest-step.current{background:#b59766}.location-pill{position:fixed;top:113px;left:50%;transform:translateX(-50%);font-size:11px;letter-spacing:2px;color:#f9f7ea;background:#324c3c99;padding:9px 17px;border-radius:30px;backdrop-filter:blur(5px);pointer-events:none}.location-pill i{display:inline-block;width:5px;height:5px;margin-right:9px;border-radius:50%;background:#d6bf81}.bottom-left{position:fixed;bottom:32px;left:38px;color:#fff9e6;text-shadow:0 2px 8px #243626;z-index:6;pointer-events:none}.bottom-left>span:first-child{font-family:"SimSun",serif;font-size:23px;margin-right:12px}.bottom-left>span:nth-child(2){font-size:10px;letter-spacing:2px;border-left:1px solid #fff6;padding-left:12px}.keyboard-hint{margin-top:13px;font-size:10px;color:#fffbe3c4;line-height:2}kbd{font:inherit;font-size:10px;border:1px solid currentColor;border-radius:3px;padding:2px 4px;margin-right:3px}.minimap{position:fixed;width:174px;bottom:29px;right:36px;background:#faf6e9eb;border:1px solid #fff9;backdrop-filter:blur(8px);padding:7px;border-radius:5px;z-index:6;box-shadow:0 4px 25px #25402e1a}.minimap canvas{display:block;width:158px;height:158px;border-radius:3px}.minimap>span{display:block;text-align:left;font-size:10px;letter-spacing:2px;padding:6px 3px 2px;color:#7b806c}.minimap b{float:right;font-size:13px;font-weight:400}.interact{position:fixed;bottom:68px;left:50%;transform:translateX(-50%);background:#fff9e9f2;border:1px solid #fff;padding:11px 19px 11px 11px;border-radius:6px;box-shadow:0 4px 22px #233a4020;z-index:7;font-size:13px;white-space:nowrap;display:flex;align-items:center;gap:10px}.interact kbd{padding:6px 10px;color:#faf4e7;background:var(--wine);border:0;font-size:14px}.floating-labels{position:fixed;inset:0;pointer-events:none;z-index:4}.npc-label{position:absolute;white-space:nowrap;text-align:center;transform:translate(-50%,-100%);font-size:11px;letter-spacing:1px;color:#fffdeb;text-shadow:0 1px 5px #20392b,0 1px 2px #20392b;padding:3px 6px;pointer-events:none}.npc-label .marker{width:20px;height:26px;background:#f6d589;color:#725332;display:flex;justify-content:center;align-items:center;border-radius:50% 50% 50% 3px;transform:rotate(-45deg);margin:0 auto 9px;box-shadow:0 1px 9px #92764250;font-size:14px}.npc-label .marker span{transform:rotate(45deg)}.toast{position:fixed;top:85px;left:50%;transform:translateX(-50%);z-index:42;background:#384c3eed;color:#f9f3e4;border:1px solid #ffffff39;backdrop-filter:blur(14px);border-radius:4px;padding:13px 22px;font-size:12px;letter-spacing:1px;max-width:85%;text-align:center}.dialog-backdrop{position:fixed;inset:0;background:linear-gradient(0deg,#1f302a88,transparent 80%);z-index:30;display:flex;align-items:flex-end;justify-content:center;padding:22px}.dialog-card{background:var(--paper);width:760px;max-width:100%;border:1px solid #fff9;box-shadow:0 15px 80px #14291e50;border-radius:8px;padding:25px 30px 17px;max-height:84dvh;overflow:auto}.dialog-top{display:flex;align-items:center;gap:14px}.avatar-initial{width:46px;height:46px;background:#e5e8d7;color:#768564;border:1px solid #c5cead;border-radius:50%;font:23px "SimSun",serif;display:flex;align-items:center;justify-content:center}.dialog-top h2{font-family:"SimSun",serif;font-size:22px;margin:5px 0 0;letter-spacing:2px}.close-btn{background:transparent;border:0;font-size:25px;color:#90927e;width:34px;height:34px;line-height:30px}.dialog-top .close-btn{margin-left:auto}.dialog-body>p{font-size:14px;line-height:1.9;margin:19px 0 13px;white-space:pre-line}.dialog-body details{margin:10px 0 15px;font-size:11px;color:#8a826c}.dialog-body summary{cursor:pointer;letter-spacing:1px;padding:5px 0}.dialog-body details>div{font-size:12px;color:#737866;line-height:1.9;max-height:200px;overflow:auto;padding:13px;background:#eeecdc;margin-top:6px;border-radius:3px}.dialog-body details img{max-width:100%;height:auto}.dialog-choices{display:flex;flex-direction:column;gap:7px}.choice{border:1px solid #d1d2bc;background:#fdfaed;text-align:left;padding:12px 16px;border-radius:4px;font-size:12px;line-height:1.7;display:flex;gap:13px;align-items:flex-start;transition:background .15s,border-color .15s}.choice:hover{background:#e9ecdb;border-color:#a5b292}.choice b{font:12px Georgia;color:#af9364;min-width:16px;padding-top:3px}.choice span{flex:1}.choice.result{background:#e5ebdc;border-color:#b6c3a6}.feedback{background:#f3e8cc;border-left:2px solid #c2a96b;padding:12px 14px;margin:12px 0;font-size:12px;line-height:1.9;max-height:145px;overflow:auto}.dialog-foot{display:flex;justify-content:space-between;color:#979987;font-size:9px;margin-top:15px}.modal-backdrop{position:fixed;inset:0;z-index:40;background:#243e2d70;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:22px}.modal-card{background:var(--paper);padding:35px;border-radius:8px;width:640px;max-height:90dvh;overflow:auto;position:relative;box-shadow:0 25px 100px #11251950}.modal-card>.close-btn{position:absolute;top:20px;right:18px}.modal-card>h2{font:28px "SimSun",serif;letter-spacing:2px;margin:15px 0 23px}.modal-card p{font-size:13px;line-height:1.9;color:#777e6d}.modal-map{display:block;width:100%;max-height:49dvh;object-fit:contain;border-radius:4px}.map-legend{display:flex;flex-wrap:wrap;gap:12px;margin:17px 0;font-size:11px}.map-legend span::before{content:"";width:7px;height:7px;display:inline-block;margin-right:7px;border-radius:50%;background:#a98559}.map-legend span:first-child::before{background:var(--wine)}.help-grid{display:grid;grid-template-columns:100px 1fr;gap:15px 10px;font-size:13px;line-height:1.6;border-top:1px solid var(--line);padding-top:20px}.help-grid b{font-weight:400;color:#9d8257}.modal-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin-top:25px}.modal-actions a{color:var(--wine);font-size:12px}.achievement{font:68px Georgia;color:var(--wine);line-height:1.2;letter-spacing:-4px}.achievement small{font:14px "SimSun";letter-spacing:2px;margin-left:13px;color:#8c977f}.credits{font-size:10px!important;color:#939582!important;border-top:1px solid var(--line);padding-top:15px}.credits a{color:inherit}.mobile-controls{display:none}.button-outline{border:1px solid #d4d7bd;border-radius:4px;background:transparent;padding:10px 14px;color:#727e64;font-size:12px}body.playing .brand{opacity:.9}body.playing .topbar{top:22px}body.playing .topbar .brand img{width:39px;height:39px}body.playing .topbar .brand span{font-size:17px}
@media(max-width:800px){.topbar{left:20px;right:20px;top:20px}.day-label{display:none}.brand span{font-size:15px;letter-spacing:1px}.brand img{width:38px;height:38px}.brand small{font-size:8px;letter-spacing:1.3px}.topbar nav{gap:5px}.tool{padding:0 11px;min-width:34px;height:34px;font-size:10px}.tool kbd{display:none}.welcome{background:linear-gradient(90deg,#f4f1e3f0,#f4f1e3c9 35%,#f4f1e320)}.welcome-copy{left:7%;transform:translateY(-43%);top:51%}h1{font-size:78px;letter-spacing:6px}.scene-caption{display:none}.quest-panel{left:18px;top:90px;width:218px;padding:15px 17px}.quest-panel h2{font-size:18px;margin:12px 0 8px}.quest-panel>p{font-size:11px;min-height:0}.quest-line{margin-top:10px;font-size:9px}.quest-steps{margin-top:10px}.location-pill{top:91px;left:auto;right:18px;transform:none;font-size:9px;padding:8px 10px;max-width:125px}.minimap{right:18px;bottom:25px;width:132px}.minimap canvas{width:116px;height:116px}.minimap>span{font-size:9px}.bottom-left{bottom:27px;left:20px}.bottom-left>span:first-child{font-size:19px}.keyboard-hint{font-size:9px}.dialog-card{padding:20px 20px 15px}.dialog-top h2{font-size:21px}.dialog-body>p{font-size:13px}.dialog-backdrop{padding:12px}.modal-card{padding:28px 23px}.dialog-foot{font-size:8px}.toast{top:70px;font-size:11px}}
@media(pointer:coarse){.mobile-controls{display:block}.joystick{position:fixed;left:30px;bottom:42px;width:100px;height:100px;border-radius:50%;border:1px solid #fff9;background:#fff3;touch-action:none;z-index:10;box-shadow:inset 0 0 25px #fff2}.joystick span{position:absolute;left:32px;top:32px;width:36px;height:36px;background:#f4efdcc9;border:1px solid #fff;border-radius:50%;pointer-events:none}.run-btn{position:fixed;left:142px;bottom:50px;width:46px;height:46px;border-radius:50%;border:1px solid #fff9;background:#faf6e978;z-index:10;color:#fffce7;font-size:10px;touch-action:none}.keyboard-hint{display:none}.bottom-left{bottom:165px}.minimap{bottom:38px}.interact{bottom:206px;padding:9px 14px 9px 10px;font-size:12px}.interact kbd{display:none}}
@media(max-height:660px){.welcome-copy{top:53%;transform:translateY(-45%)}h1{font-size:60px;margin:15px 0 12px}.intro{font-size:12px}.route-picker{margin:12px 0}.preview-note{margin-top:12px}.eyebrow{font-size:9px}.primary{padding:12px 20px}.dialog-card{max-height:86dvh}.quest-panel{top:87px}.quest-panel>p{min-height:0}.location-pill{top:87px}}
.quality-select{border:1px solid #d4d7bd;border-radius:4px;background:transparent;padding:5px 8px;color:#727e64;font:12px "Noto Serif SC",serif;margin-right:7px;vertical-align:middle}#quality-note{font-style:normal;color:#9a9c8c;font-size:11px}
