:root{color-scheme:light;--ink:#282522;--panel:#faf7f1;--active:#eadbc5;--muted:#5e5349}
*{box-sizing:border-box}body{margin:0;background:#232320;color:var(--ink);font:15px/1.4 system-ui,"Microsoft YaHei",sans-serif;overflow:hidden}
#pano{position:fixed;inset:0;cursor:grab;touch-action:none}#pano:active{cursor:grabbing}
header,footer,aside{position:fixed;background:var(--panel);border:1px solid #dcd2c4;box-shadow:0 8px 26px #1f19162c;border-radius:14px}
header{top:14px;left:14px;display:flex;align-items:center;gap:12px;padding:8px 10px 8px 15px}
.brand{font-weight:750;letter-spacing:.16em}.divider{height:18px;border-left:1px solid #c6b8a7}
button{font:inherit;color:inherit;background:#fffaf3;border:1px solid #d5c6b5;border-radius:8px;padding:6px 9px;cursor:pointer}
button:hover,button:focus-visible{background:var(--active);outline-offset:2px}
aside{right:14px;top:14px;bottom:124px;width:305px;overflow:auto;padding:10px;overscroll-behavior:contain}aside[hidden]{display:none}
.map{position:relative;border-radius:7px;overflow:hidden}.map img{width:100%;display:block}.map button{position:absolute;transform:translate(-50%,-50%);width:18px;height:18px;padding:0;background:#fff9ef;color:#362c24;font-size:9px;border-radius:50%;line-height:16px;border-color:#7d6854}.map button[aria-current=true]{background:#6a4e32;color:white;z-index:2}
details{border-bottom:1px solid #e7ded2;padding:6px 2px}summary{cursor:pointer;color:var(--muted);font-weight:650}.zone{display:block;margin:4px 0 0;width:100%;text-align:left;border-color:transparent}.zone[aria-current=true]{background:var(--active)}
footer{left:14px;bottom:14px;max-width:calc(100% - 28px);padding:9px 11px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#count{color:var(--muted);font-variant-numeric:tabular-nums}#title{font-size:16px}.tip{color:var(--muted);font-size:12px;margin-right:6px}
#next{width:100%;display:flex;gap:5px;overflow:auto}#next button{white-space:nowrap;font-size:12px}
.hot{background:#fffbf1;color:#2f2721;border:2px solid #7f6546;box-shadow:0 3px 10px #19161066;white-space:nowrap;border-radius:24px;font-weight:650;line-height:1.2;padding:9px 12px}
#message{position:fixed;top:76px;left:14px;max-width:min(80vw,390px);padding:12px 16px;background:var(--panel);border:1px solid #b49a77;border-radius:8px}
@media(max-width:760px){header{top:8px;left:8px}.tip{display:none}aside{width:min(89vw,330px);top:66px;right:8px;bottom:115px}footer{left:8px;bottom:8px;max-width:calc(100% - 16px)}}

/* Compact labels leave the scene unobstructed while keeping controls easy to tap. */
header{gap:8px;padding:6px 8px 6px 11px;font-size:12px}
header button,footer button{font-size:11px;padding:4px 7px;min-height:30px}
footer{gap:6px;padding:7px 9px;font-size:12px}
#title{font-size:13px}
#next button{font-size:11px;min-height:30px}
.hot{position:relative;font-size:12px;font-weight:600;line-height:1.25;border-width:1px;padding:6px 9px;min-height:29px}
.hot::before{content:"";position:absolute;inset:-4px}
@media(max-width:760px){
  header{gap:7px}
  footer{max-width:calc(100% - 16px)}
  .hot{font-size:11px;padding:5px 8px}
  .zone{font-size:12px}
}

.map button{width:14px;height:14px;font-size:9px}
#message{top:auto;bottom:112px}
