*{box-sizing:border-box}body{margin:0;background:#edf0e9;color:#26372e;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif}main{height:100dvh;display:flex;flex-direction:column}header{height:83px;flex:none;display:flex;align-items:center;gap:15px;padding:16px 25px;background:#fbfcf8;border-bottom:1px solid #dfe4dc}.brand{height:43px;width:43px;border-radius:12px;background:#293f34;color:#fff;font-weight:700;font-size:20px;padding:9px 5px;letter-spacing:-2px}.brand span{color:#c3dbaf}h1{font-size:20px;letter-spacing:1px;margin:0 0 5px}header p{font-size:12px;color:#778177;margin:0}.badge{margin-left:10px;color:#576d56;background:#e9eee1;padding:3px 7px;border-radius:4px}.download{margin-left:auto;text-decoration:none;border:1px solid #d7ddd1;padding:9px 12px;border-radius:6px;font-size:12px;color:#3b5945;background:#fff}.workspace{display:flex;flex:1;min-height:0}aside{width:292px;flex-shrink:0;background:#fbfcf8;padding:27px 23px;overflow:auto;border-right:1px solid #dce2d7}.eyebrow{font-size:10px;color:#8c977f;font-weight:700;letter-spacing:2px}h2{font-size:23px;letter-spacing:.5px;margin:11px 0}.intro{font-size:12px;line-height:1.8;color:#778174;margin:0 0 20px}.stats{display:grid;grid-template-columns:1fr 1fr;padding:13px 0 17px;border-top:1px solid #e6eae1;border-bottom:1px solid #e6eae1}.stats strong{display:block;font-size:29px;font-weight:500}.stats span{font-size:10px;color:#87917f}h3{font-size:11px;margin:21px 0 10px;color:#76846c;letter-spacing:1px}.views{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}button{font-family:inherit;font-size:12px;cursor:pointer;border:1px solid #dce2d5;color:#5c6d55;padding:8px;border-radius:5px;background:#fff}button:hover{border-color:#859a76}button.active{background:#344e3d;border-color:#344e3d;color:white}.toggle{font-size:12px;display:flex;align-items:center;margin:11px 0;color:#627459;gap:7px}.toggle input{accent-color:#416040}.toggle small{font-size:9px;color:#8f9987;margin-left:auto}.legend{display:flex;gap:12px;font-size:10px;color:#6a765f;margin:23px 0}.legend span{display:flex;gap:5px;align-items:center}.legend i{width:8px;height:8px;border-radius:2px}.west{background:#bd9a77}.south{background:#86a293}.east{background:#e6aa50}.notice{background:#f2f0e5;border:1px solid #e7e2ce;border-radius:7px;padding:12px}.notice strong{font-size:11px;color:#80734c}.notice p{font-size:11px;line-height:1.8;color:#8b8061;margin:5px 0 0}details{font-size:11px;line-height:1.8;margin-top:18px;color:#78866d}summary{cursor:pointer}details a{color:#45633d;display:block;margin-top:7px}details p{margin:8px 0}.viewport{position:relative;flex:1;min-width:0;background:#e6ebdf;overflow:hidden}#canvas{position:absolute;inset:0;touch-action:none}canvas{display:block;width:100%;height:100%}.scene-title{position:absolute;left:22px;top:21px;font-size:11px;pointer-events:none;color:#4f6550;display:flex;align-items:center;gap:7px}.dot{width:6px;height:6px;background:#6e8c5b;border-radius:50%}#state{font-size:10px;color:#87977b;margin-left:4px}.north{position:absolute;right:23px;top:20px;pointer-events:none;font-size:30px;color:#5f7356;text-align:center;line-height:1}.north span{display:block;font-size:9px;line-height:2;letter-spacing:1px}.help{position:absolute;bottom:39px;left:50%;transform:translateX(-50%);font-size:10px;color:#687c5d;background:#f8faf2e8;padding:8px 12px;border-radius:20px;white-space:nowrap;pointer-events:none}.attribution{position:absolute;bottom:10px;right:14px;font-size:9px;color:#65725d;text-decoration:none}.selection{position:absolute;right:18px;bottom:84px;width:260px;background:#fffef7f5;padding:15px;border:1px solid #d7dfcc;box-shadow:0 5px 20px #35452b10;border-radius:9px;font-size:11px;line-height:1.8}.selection strong{display:block;color:#344b32;font-size:13px;line-height:1.5;margin-bottom:7px}.selection button{float:right;padding:0 5px;border:0;background:none}.selection p{margin:3px 0;color:#788368}.selection a{color:#476840;font-size:10px}#error{position:absolute;inset:35%;background:#fff;padding:18px;color:#9a4b41;font-size:13px}@media(max-width:800px){header{height:72px;padding:12px 15px}h1{font-size:16px}.brand{display:none}.badge{font-size:9px;margin-left:3px}.download{font-size:10px;padding:7px}.workspace{flex-direction:column}aside{width:100%;padding:12px 15px;overflow:visible;display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-bottom:1px solid #dce2d7}.eyebrow,aside h2,.intro,.stats,aside h3,.legend,.notice,aside details{display:none}.views{display:flex}.views button{font-size:11px;padding:7px 10px}.toggle{margin:3px;font-size:10px}.toggle small{display:none}.viewport{min-height:330px}.scene-title{left:12px;top:14px}.help{font-size:9px;bottom:35px}.selection{width:240px;bottom:74px}.north{top:13px;right:15px}}
.north b{display:block;font-weight:400}.scene-note{position:absolute;left:22px;top:44px;font-size:10px;color:#8b8061;background:#faf8e8d9;padding:4px 7px;border-radius:4px;pointer-events:none}@media(max-width:800px){.scene-note{left:12px;top:35px;font-size:9px}}

#walk-hud[hidden]{display:none}#walk-hud{position:absolute;inset:0;pointer-events:none;color:white}.walk-toolbar{position:absolute;left:12px;right:12px;top:12px;display:flex;gap:6px;align-items:center;background:#293f34eb;padding:9px;border-radius:9px;pointer-events:auto}.walk-toolbar strong{font-size:11px;white-space:nowrap}.walk-toolbar select{flex:1;min-width:80px;padding:8px;border-radius:5px;border:1px solid #dce2d5;font:inherit;font-size:11px}.walk-toolbar button{white-space:nowrap}.walk-hint{position:absolute;left:12px;top:61px;font-size:10px;line-height:1.8;background:#293f34cc;border-radius:5px;padding:6px 10px}.walk-pad{position:absolute;left:18px;bottom:54px;display:grid;grid-template-columns:repeat(3,44px);gap:5px;pointer-events:auto}.walk-pad button{height:43px;font-size:19px;background:#ffffffe8;touch-action:none;user-select:none}.walk-pad button[data-walk=forward]{grid-column:2}.walk-pad button[data-walk=left]{grid-column:1}.walk-pad button:active{background:#b6d8ad}#walk-position{position:absolute;right:12px;bottom:40px;background:#293f34bd;padding:6px 9px;border-radius:5px;font-size:10px}.crosshair{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#ffffffa9}body.walking aside,body.walking .scene-title,body.walking .scene-note,body.walking .help,body.walking .selection{display:none}body.walking .north{top:114px}#walk{background:#344e3d;color:white}#walk:disabled{opacity:.5;cursor:wait}@media(max-width:600px){.walk-toolbar strong{display:none}.walk-toolbar button{font-size:10px;padding:8px 5px}.walk-hint{right:12px;font-size:9px}}

.walk-map{position:absolute;right:12px;bottom:76px;width:180px;overflow:hidden;background:#f6f5eef2;color:#395145;border:1px solid #fff9;border-radius:8px;box-shadow:0 4px 18px #293f3428}.walk-map[hidden]{display:none}.walk-map>span{display:block;padding:6px 8px;font-size:10px;background:#e4ebdf}.walk-map canvas{width:180px;height:270px}@media(max-width:600px){.walk-map{width:120px}.walk-map canvas{width:120px;height:180px}}

@media(max-width:800px){.views{flex-wrap:wrap;max-width:100%}.views button{flex:1;min-width:72px}}

.quality-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;color:#52635c;font-size:13px}.quality-setting select{width:130px;max-width:55%;margin:0;padding:8px 10px;border:1px solid #d1dbd3;border-radius:6px;background:#fff;color:#344e3d;font:inherit}.quality-setting select:focus-visible{outline:3px solid #6fa788;outline-offset:2px}

/* The site keeps its map/attribution; shared controller supplies the wardrobe and view toggle. */
.walk-toolbar strong{display:none}.walk-toolbar select{min-width:0;font-size:12px;flex:1 1 0}.walk-toolbar button{flex:none}#walk-outfit{max-width:205px}
#walk-performance{position:absolute;left:12px;bottom:28px;background:#293f34bd;padding:6px 9px;border-radius:5px;font-size:10px}.crosshair{display:none}
@media(max-width:720px){.walk-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.walk-toolbar select{grid-column:span 2;width:100%;max-width:none}.walk-toolbar button{width:100%;padding:8px 3px;font-size:11px}.walk-hint{top:100px;right:12px;font-size:9px}body.walking .north{top:170px}}

/* Numbered plan: larger badges, with an explicit temporary-locator note. */
.walk-map{width:220px;pointer-events:auto}.walk-map canvas{width:220px;height:330px}.walk-map>span{display:flex;align-items:center;justify-content:space-between}.walk-map .map-size{font-size:10px;padding:2px 6px}.walk-map>small{display:block;padding:4px 8px;font-size:9px;background:#f6f5ee;color:#66775f}
.walk-map.expanded{width:min(330px,calc((100dvh - 365px) * 2 / 3));max-width:calc(100% - 24px)}.walk-map.expanded canvas{width:100%;height:auto;aspect-ratio:2/3}
@media(max-width:600px){.walk-map{width:145px}.walk-map canvas{width:145px;height:217.5px}.walk-map>small{font-size:8px}.walk-map.expanded{bottom:76px;width:min(280px,calc((100dvh - 400px) * 2 / 3))}}

/* One mode button stays reachable in both overview and roaming. */
header .time-of-day{margin-left:auto;white-space:nowrap;color:#344e3d;background:#eef4e9;font-size:12px}header .time-of-day[aria-pressed="true"]{background:#233c58;color:#e6edfa;border-color:#3f5873}header .time-of-day+.download{margin-left:0}
