:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#465445;background:#eee8da;font-synthesis:none;color-scheme:light;--paper:rgba(255,252,242,.89);--green:#647d61;--line:rgba(95,108,80,.14)}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #a77c58;outline-offset:4px}svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}#world,#world canvas{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}
.header{position:fixed;top:30px;left:36px;right:36px;display:flex;align-items:center;justify-content:space-between;gap:20px;pointer-events:none;z-index:2}.brand{display:flex;gap:14px;align-items:center;pointer-events:auto}.brand-mark{width:50px;height:50px;display:grid;place-items:center;border:1px solid #92a08266;border-radius:16px;background:#f9f4e899;backdrop-filter:blur(12px)}.brand-mark svg{width:28px;height:28px}.eyebrow{font-size:10px;letter-spacing:.22em;margin:0 0 6px;color:#7a8770;font-weight:650}h1{font-family:"Songti SC","Noto Serif SC",serif;font-weight:600;font-size:27px;letter-spacing:.08em;margin:0;line-height:1.25}h1 span{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-size:11px;font-weight:400;letter-spacing:.08em;padding-left:14px;color:#7e8875}.utilities{display:flex;gap:9px;pointer-events:auto;align-items:center}.icon-button,.time-toggle,.view-controls button{border:1px solid var(--line);background:var(--paper);backdrop-filter:blur(14px);height:42px;display:flex;align-items:center;justify-content:center;border-radius:50%;box-shadow:0 4px 20px #58543a07;transition:background .2s,transform .2s}.icon-button{width:42px}.time-toggle{border-radius:24px;gap:8px;padding:0 15px;font-size:12px}.time-toggle svg{width:18px}.icon-button:hover,.time-toggle:hover,.view-controls button:hover{background:#fffaf0;transform:translateY(-2px)}.icon-button[aria-pressed=true]{color:#a97f4a;background:#fff0cf}.weather-note{position:fixed;left:39px;top:105px;display:flex;gap:8px;align-items:center;font-size:11px;color:#6e7a62;pointer-events:none}.weather-dot{width:5px;height:5px;border-radius:50%;background:#a6ad7a}
.bottom-ui{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;width:max-content;max-width:calc(100% - 24px);z-index:3;pointer-events:none}#status{background:#fffaf0d9;backdrop-filter:blur(12px);border:1px solid #b7bea333;border-radius:20px;font-size:12px;line-height:1.5;padding:8px 18px;text-align:center;box-shadow:0 3px 20px #44523f06;margin:0 0 13px;max-width:100%}.action-dock{display:flex;gap:4px;background:var(--paper);backdrop-filter:blur(22px);border:1px solid #fff8e9cc;border-radius:25px;padding:9px;box-shadow:0 12px 48px #4c573c1a;pointer-events:auto}.action-dock button{min-width:96px;border:0;border-radius:18px;padding:11px 12px 10px;background:transparent;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11px;letter-spacing:.03em;transition:.2s}.action-dock svg{width:24px;height:24px;stroke-width:1.4}.action-dock button:hover{background:#e9eada}.action-dock button.is-active{background:#788c70;color:#fffdf3;box-shadow:0 3px 9px #566e5620}.gesture-hint{font-size:10px;letter-spacing:.04em;color:#818a75;text-shadow:0 1px 6px #fff;margin:11px 0 0}.gesture-hint span{padding:0 7px}.view-controls{position:fixed;right:30px;bottom:45px;display:grid;gap:8px;z-index:2}.view-controls button{width:40px;height:40px}.view-controls svg{width:18px;height:18px}#hotspots{position:fixed;inset:0;pointer-events:none;z-index:1}#hotspots button{position:absolute;left:0;top:0;white-space:nowrap;pointer-events:auto;border:1px solid #fff8e9aa;background:#fffaf0b8;backdrop-filter:blur(7px);border-radius:24px;padding:7px 11px;font-size:10px;box-shadow:0 4px 14px #40533512;transition:background .2s;will-change:transform}#hotspots button:hover{background:#fffaf0}#hotspots button span{color:#9ba686;padding-left:8px}
.loading{position:fixed;inset:0;background:#eee8daf5;display:grid;place-items:center;z-index:10;transition:opacity .7s}.loading.is-done{opacity:0;pointer-events:none}.loading-card{text-align:center;padding:28px;width:min(420px,90vw)}.loading-house{margin:0 auto 28px;width:86px;height:86px;border:1px solid #bdc3aa;border-radius:28px;display:grid;place-items:center;background:#f9f5e9}.loading-house svg{width:42px;height:42px;stroke-width:1.1}.loading-card h2{font-family:"Songti SC",serif;font-size:29px;font-weight:500;letter-spacing:.06em;margin:14px 0 16px}.loading-card>p:not(.eyebrow){font-size:12px;color:#859077}.loading-track{height:3px;background:#dce0ce;border-radius:3px;margin:27px 40px 0;overflow:hidden}.loading-track i{display:block;width:6%;height:100%;background:#8ca27b;border-radius:3px;transition:width .3s}.error-panel{position:fixed;z-index:12;left:50%;top:50%;transform:translate(-50%,-50%);padding:32px;border-radius:24px;background:#fff9eb;box-shadow:0 20px 90px #4444}.error-panel button{padding:10px 18px;border:0;border-radius:16px;background:#75876a;color:white}.error-panel p{font-size:13px}.error-panel[hidden]{display:none}
dialog{border:1px solid #e1e2d0;border-radius:24px;padding:35px;max-width:min(560px,calc(100vw - 32px));color:#4e5947;background:#fffaf0;box-shadow:0 30px 100px #30462b22}dialog::backdrop{background:#47503f5c;backdrop-filter:blur(7px)}dialog h2{font-family:"Songti SC",serif;font-size:27px;font-weight:500;margin:14px 0 20px}dialog p,dialog li{font-size:13px;line-height:1.9}dialog ul{list-style:none;padding:0;margin:25px 0}.muted{color:#8b9281;font-size:11px!important}.close{position:absolute;right:15px;top:12px;background:transparent;border:0;font-size:25px;color:#98a08e}#gallery-dialog{max-width:min(1060px,calc(100vw - 32px));width:100%;padding:30px}#gallery-dialog img{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:12px;background:#eee7d7}.photo-download{display:flex;justify-content:space-between;color:#687d5b;font-size:12px;margin-top:16px;text-decoration:none}
@media(max-width:700px){.header{top:19px;left:18px;right:18px}.brand{gap:9px}.brand-mark{width:39px;height:39px;border-radius:12px}.brand-mark svg{width:23px}.eyebrow{font-size:8px}h1{font-size:21px}h1 span{display:none}.utilities{gap:5px}.icon-button{width:34px;height:34px}.icon-button svg{width:17px;height:17px}.time-toggle{height:34px;width:34px;padding:0}.time-toggle #time-label{display:none}#help{display:none}.weather-note{left:20px;top:81px;font-size:10px;max-width:80%}.bottom-ui{bottom:max(14px,env(safe-area-inset-bottom))}.action-dock{padding:6px;border-radius:21px;gap:0}.action-dock button{min-width:65px;padding:10px 6px;font-size:10px;border-radius:16px;gap:6px}.action-dock svg{width:22px;height:22px}#status{font-size:11px;padding:7px 13px;margin-bottom:10px;max-width:calc(100vw - 40px)}.gesture-hint{font-size:9px}.gesture-hint span{padding:0 3px}.view-controls{right:16px;bottom:175px;gap:6px}.view-controls button{width:34px;height:34px}#hotspots{display:none}dialog{padding:28px 24px}#gallery-dialog{padding:25px 18px}}
.loading[hidden]{display:none}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.photo-tabs{display:flex;gap:8px;margin:-5px 0 16px}.photo-tabs button{border:1px solid var(--line);background:transparent;padding:7px 13px;border-radius:18px;font-size:11px}.photo-tabs button[aria-pressed=true]{background:#e5eadb;color:#536f50}

/* The embedded frame can be narrower than the phone's screen. */
@media(max-width:700px){
  .bottom-ui{width:calc(100% - 24px)}
  .action-dock{width:min(100%,510px)}
  .action-dock button{flex:1 1 0;min-width:0;white-space:nowrap;padding-inline:3px}
  .gesture-hint{max-width:100%;text-align:center;line-height:1.65}
}
@media(max-width:350px){
  .header{left:12px;right:12px;gap:8px}
  .brand{gap:7px}
  .brand-mark{width:32px;height:32px}
  h1{font-size:19px}
  .utilities{gap:4px}
  .icon-button,.time-toggle{width:32px;height:32px;flex-shrink:0}
  .action-dock button{font-size:9px}
}
