:root{--paper: #f5f0e4;--ink: #262d25;--olive: #4b5940;--line: #d3cfbf;--serif: "Songti SC", "Noto Serif CJK SC", "SimSun", serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 PingFang SC,Microsoft YaHei,sans-serif}button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation}button:focus-visible,canvas:focus-visible{outline:3px solid #cc7e32;outline-offset:-3px}header,footer{display:flex;align-items:center;gap:20px;padding:0 clamp(16px,3vw,52px)}header{height:74px;border-bottom:1px solid var(--line)}h1,h2,h3,p{margin:0}h1{font-family:var(--serif);font-size:32px;letter-spacing:4px;line-height:1}.mark{display:flex;align-items:center;gap:13px}.mark i{width:32px;height:32px;display:grid;place-items:center;background:#9e5036;color:#fff3db;border-radius:3px;font:24px var(--serif)}.subtitle{color:#656b5c;border-left:1px solid var(--line);padding-left:18px;font-size:13px;letter-spacing:1px}header nav{margin-left:0;display:flex;gap:8px}.tool,#next,.link{background:transparent;border:1px solid var(--line);border-radius:5px;padding:7px 13px;font-size:13px}.tool:hover,.link:hover{background:#e8e3d5}.tool[aria-expanded=true],#next{background:var(--olive);color:#fff;border-color:var(--olive)}main{height:calc(100dvh - 140px);height:calc(100svh - 140px);position:relative;overflow:hidden;background:#cbd2bc;isolation:isolate}canvas#view{width:100%;height:100%;display:block;touch-action:none;cursor:grab}canvas#view.from-visit:focus{outline:none}canvas#view:active{cursor:grabbing}.loc{position:absolute;bottom:20px;left:clamp(12px,3vw,52px);color:#fff;text-shadow:0 1px 7px #000;pointer-events:none}.loc h2{font:500 clamp(26px,3vw,43px) var(--serif);letter-spacing:4px}.loc span{font-size:12px;letter-spacing:2px}.shade{position:absolute;inset:65% 0 0;pointer-events:none;background:linear-gradient(transparent,#161d1777)}#spots{position:absolute;inset:0;pointer-events:none}.spot{pointer-events:auto;position:absolute;transform:translate(-50%,-100%);border:1px solid #f3f0d6aa;background:#26352bd9;box-shadow:0 2px 10px #0004;color:#fffced;white-space:nowrap;border-radius:20px;padding:5px 11px;font-size:12px}.spot:after{content:"";width:5px;height:5px;background:#ffedbe;position:absolute;left:50%;bottom:-9px;border-radius:50%}.pad{position:absolute;right:clamp(12px,3vw,52px);bottom:15px;display:grid;grid-template-columns:repeat(3,39px);gap:3px}.pad button{width:39px;height:35px;background:#263128c7;border:1px solid #eee8d67d;border-radius:4px;color:#fff;font-size:18px;touch-action:none}.pad button:first-child{grid-column:2}.pad button:nth-child(2){grid-column:1}footer{min-height:66px;justify-content:space-between;gap:12px}.hint{font-size:13px;color:#626757}.hint b{font-weight:600;color:#333d31}.panel{position:absolute;top:12px;right:12px;bottom:12px;width:min(365px,calc(100% - 24px));background:var(--paper);border:1px solid #fff8;border-radius:6px;box-shadow:0 8px 36px #14221444;overflow:auto;z-index:3;padding:20px}.panelhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.panelhead h2{font:600 24px var(--serif)}.close{border:0;background:transparent;font-size:21px;padding:0 7px}.group{font-size:12px;color:#646b58;margin:16px 0 6px;letter-spacing:2px}.place{background:transparent;width:100%;padding:9px 5px;display:flex;text-align:left;justify-content:space-between;border:0;border-bottom:1px solid var(--line)}.place:hover,.place[aria-current=true]{color:#944c34;background:#eae5d6}.panel p{font-size:13px;color:#5b6054;line-height:1.8}#status{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:30px;background:var(--paper);z-index:2}.status-box{width:min(300px,84vw);display:flex;flex-direction:column;align-items:center;gap:10px}.status-title{font:500 17px var(--serif);letter-spacing:2px;color:var(--ink)}.status-track{width:100%;height:6px;border-radius:999px;background:#ddd7c6;overflow:hidden}.status-fill{height:100%;width:12%;background:var(--olive);border-radius:999px;transition:width .25s ease}.status-sub{font-size:12px;color:#666f5e}#status[hidden],[hidden]{display:none!important}.tiny{font-size:11px;color:#666f5e}.switches{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.switches button{font-size:12px}.seasons{display:flex;margin-left:auto;border:1px solid #bdbbab;border-radius:5px;overflow:hidden}.seasons button{background:transparent;border:0;padding:7px 13px;font-size:13px}.seasons button[aria-pressed=true]{background:#536044;color:#fffdf3}.actions{display:flex;gap:6px;align-items:center}.actions button{white-space:nowrap}header .mark,header .seasons,header nav{flex-shrink:0}header h1,header button,.subtitle{white-space:nowrap}#sound[aria-pressed=true]{background:#536044;color:#fffdf3}@media(max-width:650px){header{height:62px;gap:8px;padding:0 12px}.mark{gap:7px}.mark i{width:24px;height:27px;font-size:18px}h1{font-size:23px;letter-spacing:1px}.subtitle{display:none}header nav{gap:4px}.tool{padding:6px 9px}.hint{font-size:11px}main{height:calc(100svh - 121px)}footer{min-height:59px;padding:0 12px}#next{padding:7px 10px;white-space:nowrap}.loc{bottom:12px}.pad{bottom:8px}.loc span{letter-spacing:1px}footer .hint span{display:none}}@media(max-width:720px){header{height:92px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:44px 40px;gap:0 5px}.subtitle{display:none}.seasons{grid-row:2;grid-column:1 / 3;margin:0;justify-self:start}.seasons button{padding:4px 13px}header nav{grid-column:2;grid-row:1;justify-self:end}header nav .tool{font-size:12px;padding:5px 6px}main{height:calc(100svh - 151px)}}@media(min-width:721px)and (max-width:950px){header{gap:8px}.subtitle{display:none}}@media(min-width:721px)and (max-width:1190px){header{gap:12px}.subtitle{display:none}header .seasons{margin-left:auto}}@media(min-width:721px)and (max-width:855px){header{padding:0 12px;gap:7px}.seasons button,header .tool{padding:6px 8px}header nav{gap:4px}}@media(max-width:465px){header nav{gap:3px}header nav .tool{padding:4px 6px}.mark i{display:none}h1{font-size:20px}}@media(max-width:390px){.mark i{display:none}header nav{gap:2px}}
