:root{--ink:#14343b;--panel:#f0f3f1;--text:#18323a;--muted:#617279;--red:#9e342d;--gold:#c6aa68;--line:#c9d3d3;--white:#f7faf9;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:var(--text);font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#173c46}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d7ae4f;outline-offset:4px}button:disabled{opacity:.6;cursor:wait}button:active{transform:scale(.975)}button,a{touch-action:manipulation}a{color:inherit}button small{display:block}button,button span,a{white-space:nowrap}button span{pointer-events:none}[hidden]{display:none!important}#world{display:block;width:100%;height:100%;touch-action:none}#loading{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:var(--ink);color:var(--white);font-family:Songti SC,SimSun,serif;font-size:26px;letter-spacing:.15em}#loading small{font:13px -apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;letter-spacing:0;opacity:.7}body.ready #loading{opacity:0;pointer-events:none;transition:opacity .5s}.entry{position:fixed;inset:0;z-index:20;background:url(../assets/exterior.jpg) center center/cover no-repeat;color:#fff;transition:opacity .6s,transform 1.1s cubic-bezier(.2,.8,.2,1);isolation:isolate}.entry-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0d272ff5,#0d272fd9 24%,#0d272f4d 68%,#0d272f26);z-index:-1}.entry-back{position:absolute;left:5vw;top:max(28px,env(safe-area-inset-top));font-size:13px;text-decoration:none;border-bottom:1px solid #ffffff55;padding-bottom:7px}.entry-copy{position:absolute;left:8vw;top:50%;transform:translateY(-46%);width:450px;max-width:80vw}.entry-kicker{font-size:14px;margin:0 0 20px;color:#d5dfdc}.entry h1{font:500 clamp(52px,7vw,88px)/1.08 "Songti SC","STSong",SimSun,serif;letter-spacing:.08em;margin:0}.entry h1 span{display:block;font-size:.62em;letter-spacing:.25em;margin-top:14px;color:#e0e7e2}.entry-description{font-size:15px;line-height:1.85;margin:25px 0 28px;color:#d7e4e0}.entry-modes{display:flex;gap:10px;margin-bottom:18px}.entry-modes button{flex:1;text-align:left;padding:15px 17px;background:#0d30384d;border:1px solid #e6eeee66;border-radius:8px;font-size:15px}.entry-modes button.selected{border-color:#e8d6a9;background:#14343bd9}.entry-modes small{font-size:11px;color:#d4ddd8;margin-top:5px}.primary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;background:var(--ink);color:#fff;border-radius:8px;padding:13px 24px;font-weight:550}.entry .primary{background:#f0e8d6;color:#17343b;width:100%;font-size:16px}.entry-note{font-size:11px;color:#c9d4d0;margin-top:14px}.entry-credit{position:absolute;bottom:20px;right:30px;font-size:10px;color:#e9eee9b3}.entry.leaving{opacity:0;transform:scale(1.035);pointer-events:none}#hud{position:fixed;left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));top:max(24px,env(safe-area-inset-top));z-index:4;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.place{display:flex;align-items:center;gap:11px;color:#f8faf8;text-shadow:0 1px 8px #15323ed9;background:#14343be0;padding:10px 15px 10px 10px;border-radius:10px}.seal{display:grid;place-items:center;width:31px;height:34px;border:1px solid #e7d5ad;color:#eadabc;font-family:Songti SC,serif;font-size:20px}.place strong{font-size:14px;font-weight:550}.place small{display:block;font-size:10px;color:#d0dfdd;margin-top:3px}.header-actions{display:flex;gap:8px;pointer-events:auto}.header-actions button{min-width:48px;padding:12px 16px;border-radius:9px;background:#eff3f0e8;box-shadow:0 2px 12px #17343b1c;font-size:13px}.header-actions button.active{background:var(--ink);color:#fff}#crosshair{position:fixed;width:4px;height:4px;border-radius:50%;background:#ffffffb0;left:calc(50% - 2px);top:calc(50% - 2px);pointer-events:none;box-shadow:0 0 2px #1c303a}#hint{position:fixed;bottom:27px;left:50%;transform:translate(-50%);background:#17363cba;color:#eef4f1;padding:10px 18px;border-radius:30px;font-size:12px;pointer-events:none;z-index:3}#route{position:fixed;top:max(96px,calc(env(safe-area-inset-top) + 80px));left:50%;transform:translate(-50%);border-radius:8px;background:#f0f3f1f0;padding:11px 12px 11px 18px;font-size:13px;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 40px);z-index:5;box-shadow:0 3px 20px #102c3e15}#routeText{white-space:normal}#route button{font-size:20px;padding:2px 6px}#nearby{position:fixed;left:50%;bottom:max(70px,calc(env(safe-area-inset-bottom) + 60px));transform:translate(-50%);background:#eff4f0f2;box-shadow:0 4px 24px #12334438;border-radius:12px;padding:13px 24px;text-align:center;z-index:7}#nearby span{font:18px Songti SC,serif}#nearby small{font-size:10px;color:var(--muted);margin-top:5px}.caption{position:fixed;right:24px;bottom:30px;width:340px;max-width:calc(100vw - 48px);background:#f0f3f1f5;border-radius:12px;padding:17px 32px 17px 19px;box-shadow:0 4px 20px #17343b25;z-index:6}.caption small{font-size:11px;color:var(--red);font-weight:600}.caption p{font-size:13px;line-height:1.8;margin:7px 0 0;white-space:normal}.caption button{position:absolute;top:6px;right:6px;font-size:20px;width:27px;height:27px}#joystick{position:fixed;left:max(22px,env(safe-area-inset-left));bottom:max(27px,env(safe-area-inset-bottom));width:120px;height:139px;z-index:5;touch-action:none;user-select:none;display:flex;flex-direction:column;align-items:center;gap:7px;color:#fff;font-size:10px;opacity:.75}.stick-base{width:120px;height:120px;border-radius:50%;border:1px solid #fff8;background:#173f453b;display:grid;place-items:center}.stick-knob{width:45px;height:45px;background:#edf3eee0;border:1px solid #fff;border-radius:50%;box-shadow:0 3px 13px #1b2d324d}#touchLook{position:fixed;z-index:2;top:0;right:0;width:64%;height:100%;touch-action:none;user-select:none}#touchLook span{position:absolute;right:27px;bottom:70px;font-size:10px;color:#fff;text-shadow:0 1px 5px #17343b;opacity:.65;pointer-events:none}.backdrop{position:fixed;inset:0;background:#102f3859;z-index:9}.sheet{position:fixed;right:0;top:0;bottom:0;width:360px;max-width:91vw;background:var(--panel);z-index:10;padding:max(27px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom));box-shadow:-12px 0 40px #17343b24;overflow:auto}.sheet-heading,.reader-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.sheet h2{font:26px Songti SC,serif;margin:0}.sheet-heading button,.reader-heading button{width:36px;height:36px;border-radius:50%;background:#e2e8e4;font-size:24px}.menu-era{display:flex;background:#dde5e1;border-radius:9px;padding:4px;margin:28px 0 18px}.menu-era button{flex:1;border-radius:6px;padding:10px 2px;font-size:13px}.menu-era button.selected{background:#f9fcfa;box-shadow:0 2px 5px #223d3a12}.menu-links{margin:20px 0}.menu-links button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:16px 0;border-bottom:1px solid var(--line);font-size:14px}.menu-links button:last-child{border-bottom:0}.menu-links span{font-size:11px;color:var(--muted)}.toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;padding:14px 0}.toggle small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.toggle input{accent-color:var(--ink);width:19px;height:19px}.return-link{display:block;margin-top:26px;text-align:center;text-decoration:none;border:1px solid #b6c6c4;border-radius:8px;padding:13px;font-size:13px}.menu-foot{font-size:10px;line-height:1.8;color:var(--muted);margin:16px 0 0}dialog{border:0;background:var(--panel);color:var(--text);border-radius:18px;padding:25px 30px 27px;width:600px;max-width:calc(100vw - 26px);max-height:88dvh;box-shadow:0 15px 80px #071f3b5c;overflow:auto}dialog::backdrop{background:#102e3e80}dialog h2{font:32px Songti SC,SimSun,serif;margin:18px 0 19px;line-height:1.2}.reader-heading small{color:var(--red);font-size:11px}.reader-actions{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:28px;position:sticky;bottom:-27px;background:var(--panel);padding:12px 0 0}.reader-actions>button:first-child{font-size:12px;color:var(--muted)}#readerBody{font-size:14px;line-height:1.85;overflow-wrap:anywhere}#readerBody p{white-space:normal}#readerBody img{width:100%;height:auto;border-radius:9px}#readerBody figcaption{font-size:10px;color:var(--muted);line-height:1.5;margin-top:5px}#readerBody figure{margin:20px 0}#readerBody h3{font-size:17px;margin:23px 0 8px;font-weight:600}#readerBody .source-link{display:block;padding:9px 0;font-size:12px;color:#45646a;text-decoration:underline;white-space:normal}#readerBody .notice{padding:13px 15px;border-left:3px solid #aa8b4d;background:#e7ece6;font-size:12px;line-height:1.8}#readerBody .history-action{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:22px 0}#readerBody .history-action button{padding:10px 15px;background:#dce5df;border-radius:7px;font-size:12px}#readerBody .history-action .primary{background:var(--ink);color:#fff}#readerBody .record{display:block;text-align:left;white-space:normal;width:100%;padding:16px 0;border-bottom:1px solid var(--line)}#readerBody .record:last-child{border:0}#readerBody .record small{display:block;color:var(--muted);font-size:11px;margin-top:5px;white-space:normal}body.portal .entry{animation:portal-arrival .9s cubic-bezier(.2,.8,.2,1)}@keyframes portal-arrival{0%{opacity:0;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}@media(max-width:700px){.entry{background-position:62% center}.entry-shade{background:linear-gradient(0deg,#0d272ffa,#0d272fe0 33%,#0d272f2b)}.entry-copy{left:7vw;top:auto;bottom:max(45px,env(safe-area-inset-bottom));transform:none;width:86vw;max-width:none}.entry-kicker{margin-bottom:13px;font-size:12px}.entry h1{font-size:53px}.entry h1 span{display:inline;margin-left:12px;font-size:.53em;letter-spacing:.15em}.entry-description{font-size:13px;margin:18px 0 20px}.entry-modes button{padding:12px 14px;font-size:14px}.entry-back{left:7vw;top:max(23px,env(safe-area-inset-top))}.entry-credit{bottom:9px;right:15px;font-size:8px}.entry-note{margin-top:10px}#hud{left:14px;right:14px;top:max(14px,env(safe-area-inset-top))}.place{padding:9px 12px 9px 8px;gap:8px}.place strong{font-size:12px}.seal{width:27px;height:30px;font-size:18px}.header-actions button{padding:11px 13px;font-size:12px}.caption{bottom:max(180px,calc(env(safe-area-inset-bottom) + 155px));right:15px;width:300px;max-width:calc(100vw - 30px);padding:14px 31px 14px 16px}.caption p{font-size:12px}#nearby{bottom:33px;padding:12px 16px}#hint{bottom:175px;max-width:90vw;width:max-content;white-space:normal;text-align:center;font-size:10px;padding:9px 15px}#route{top:max(83px,calc(env(safe-area-inset-top) + 72px));font-size:11px;padding:10px 9px 10px 13px}dialog{padding:19px 21px 22px;border-radius:15px}dialog h2{font-size:27px}#readerBody{font-size:13px}.reader-actions{bottom:-22px}.sheet{width:340px}}@media(max-height:550px)and (orientation:landscape){.entry-copy{left:7vw;bottom:24px;width:360px}.entry h1{font-size:43px}.entry h1 span{display:inline;font-size:25px;margin-left:12px}.entry-kicker,.entry-note{display:none}.entry-description{margin:12px 0;font-size:12px}.entry-modes{margin-bottom:10px}.entry-modes button{padding:9px 12px}.entry .primary{min-height:38px;padding:10px}.entry-back{left:auto;right:22px;top:20px}.caption{bottom:140px}.stick-base{width:96px;height:96px}#joystick{width:96px;height:115px;bottom:18px}.caption p{font-size:11px}}@media(any-pointer:coarse)and (orientation:landscape){#hud .place,#guideBtn,#crosshair,#hint,#joystick>span,#touchLook>span{display:none!important}#hud{left:auto;top:max(10px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}.header-actions #menuBtn{padding:8px 11px;min-width:42px;background:#eff3f0b8;font-size:11px}#nearby{left:auto;right:18px;bottom:max(18px,env(safe-area-inset-bottom));transform:none;padding:9px 13px;max-width:38vw}#nearby span{font-size:14px}#nearby small{display:none}.caption{bottom:18px;right:50%;transform:translate(50%);width:min(430px,56vw);padding:9px 26px 9px 12px;max-height:29dvh;overflow:auto}.caption p{font-size:11px;line-height:1.55;margin:4px 0}#route{top:10px;max-width:64vw}#joystick{bottom:max(18px,env(safe-area-inset-bottom));height:96px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.entry.leaving{transform:none}}.photo-tool{box-sizing:border-box;width:min(1320px,96vw);max-width:96vw;max-height:94dvh;border:1px solid rgba(204,196,171,.28);border-radius:18px;padding:22px;background:#17232b;color:#f2f0e8;overflow:auto;box-shadow:0 22px 90px #0009;font-family:inherit}.photo-tool::backdrop{background:#09121edb}.photo-tool *{box-sizing:border-box}.photo-tool [hidden]{display:none!important}.photo-tool-head{display:flex;gap:20px;align-items:flex-start;justify-content:space-between}.photo-tool h2{font-size:clamp(23px,3vw,35px);margin:0;font-weight:500;letter-spacing:.06em}.photo-tool p{line-height:1.65}.photo-tool-head p{margin:6px 0 18px;color:#b7c8d2;font-size:13px}.photo-tool button,.photo-tool select,.photo-tool input[type=number]{font:inherit;color:inherit;border:1px solid #b7c8d24a;background:#243640;border-radius:8px;padding:8px 12px}.photo-tool button{cursor:pointer}.photo-tool button:hover{background:#37515b}.photo-tool button:focus-visible,.photo-tool select:focus-visible,.photo-tool input:focus-visible{outline:2px solid #e5be70;outline-offset:3px}.photo-tool button[aria-pressed=true]{background:#dbc88c;color:#18242b;border-color:#dbc88c}.photo-tool-close{flex:none;white-space:nowrap}.photo-tool-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}.photo-tool-bar label{display:flex;gap:10px;align-items:center;font-size:13px}.photo-tool select{max-width:min(360px,64vw)}.photo-tool-modes{display:flex;gap:6px}.photo-tool-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.photo-tool figure{min-width:0;margin:0;background:#0c1820;border:1px solid #93aabb26;border-radius:10px;overflow:hidden}.photo-tool figcaption{padding:9px 12px;font-size:12px;color:#c9d5df;letter-spacing:.08em}.photo-tool-original img{display:block;width:100%;height:auto}.photo-tool-frame{position:relative;background:#071017}.photo-tool-frame img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.photo-tool-combined .photo-tool-original{display:none}.photo-tool-combined .photo-tool-pair{display:block}.photo-tool-combined .photo-tool-render{max-width:980px;margin:0 auto}.photo-tool-credit{font-size:12px;color:#b8c9d3;margin:14px 0 7px}.photo-tool a{color:#ecd18d}.photo-tool-boundary{font-size:12px;color:#9fb3c0;margin:7px 0 14px}.photo-tool-calibration{border-top:1px solid #b7c8d233;padding-top:12px}.photo-tool summary{cursor:pointer;font-size:14px}.photo-tool summary span{font-size:11px;color:#a9bdcb;margin-left:10px}.photo-tool-inputs{display:grid;grid-template-columns:repeat(7,minmax(80px,1fr));gap:10px;margin:16px 0}.photo-tool-inputs label{display:grid;gap:6px;font-size:12px;color:#b8c9d3}.photo-tool-inputs input{width:100%;min-width:0;padding:7px!important}.photo-tool-actions{display:flex;gap:8px;flex-wrap:wrap}.photo-tool-actions button{font-size:12px}.photo-tool-status{font-size:12px;color:#c6d2da;margin-bottom:0;min-height:1.7em}.photo-tool input[type=range]{width:120px;accent-color:#dbc88c}@media(max-width:760px){.photo-tool{padding:15px;border-radius:12px}.photo-tool-pair{gap:7px}.photo-tool figcaption{padding:6px 8px;font-size:10px}.photo-tool-inputs{grid-template-columns:repeat(3,minmax(70px,1fr))}.photo-tool-head p{margin-bottom:10px}.photo-tool-bar{gap:9px}.photo-tool summary span{display:block;margin:5px 0}.photo-tool-head{gap:10px}}@media(max-height:500px)and (orientation:landscape){.photo-tool{padding:12px 16px;max-height:96dvh}.photo-tool h2{font-size:22px}.photo-tool-head p{margin:4px 0 8px}.photo-tool-bar{margin-bottom:8px}.photo-tool-pair{max-width:760px;margin:auto}.photo-tool-credit,.photo-tool-boundary{margin:6px 0}.photo-tool-combined .photo-tool-render{max-width:650px}}
