/* Scoped preview overrides; the original form markup and wording are preserved. */
body{overflow-x:hidden;overflow-y:auto;min-height:100svh}
#scene-host{position:fixed;inset:0;z-index:0;overflow:hidden;contain:layout paint style}
#scene-poster{position:absolute;inset:0;pointer-events:none;opacity:1;transition:opacity .65s ease}
#scene-poster img{position:absolute;left:50%;top:0;width:min(2208.1358px,170.4105345vw);height:auto;transform:translateX(-50%)}
#fallback-map{pointer-events:none;opacity:.9;transition:opacity .65s ease}
#scene-host canvas{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0;transition:opacity .65s ease;touch-action:auto}
#scene-host.ready canvas{opacity:1}
#scene-host.ready #scene-poster,#scene-host.ready #fallback-map{opacity:0}
.scene-shade{position:fixed;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 275px 275px at 50% 50%,#050b145c,transparent 100%),linear-gradient(0deg,#03091382,transparent 24%,transparent 80%,#03091355)}
.login-shell{z-index:5}
.login-card{border-color:#8cc7e62b;background:linear-gradient(155deg,#14273be8,#081322ed);box-shadow:0 25px 70px #0006,inset 0 1px 0 #d7f0ff0a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.login-card h1{font-weight:650;letter-spacing:.035em}
.login-heading-copy p{font-weight:400;color:#9fb2c6}
.security-mark{background:linear-gradient(150deg,#20435c99,#10243799);border-color:#91ccec30;box-shadow:inset 0 1px 0 #d7f0ff0a}
.field{font-weight:500;color:#c5d7e5}.field input{font-weight:400;background:#040c16b8;border-color:#8bb9d329}
.field input:focus{border-color:#84c7edb3;box-shadow:0 0 0 3px #419ac518}
.scene-tools{position:fixed;left:30px;bottom:30px;z-index:7;display:flex;gap:10px}
.scene-tools button,.capture-poster{font:12px/1.4 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;color:#b5d5e9;background:#0a1828b3;border:1px solid #77b9e344;border-radius:7px;padding:10px 15px;cursor:pointer}
.scene-tools button{color:#c2d8f3;background:#071b3feb;border-color:#38639a80}
.scene-tools button:hover{color:#e5efff;border-color:#5689c7b3;background:#103366f2}
.scene-tools button:focus-visible,#close-info:focus-visible{outline:2px solid #91d4ff;outline-offset:4px}
[hidden]{display:none!important}
#explore-hint{position:fixed;bottom:36px;right:30px;z-index:7;font:11px/1.6 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;color:#91adc2;pointer-events:none}
#info-card{position:fixed;right:24px;top:58%;width:300px;z-index:7;background:linear-gradient(145deg,#112438f5,#07111ff5);border:1px solid #7db9de4f;border-radius:12px;padding:20px;color:#a9c5d9;box-shadow:0 16px 50px #0006;font:12px/1.7 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;overflow:auto;color-scheme:dark;scrollbar-width:thin;scrollbar-color:#36596f transparent}
#info-card[data-side=left]{left:24px;right:auto}
.info-type{font-size:10px;letter-spacing:.13em;color:#79aacb}
#info-title{font-size:23px;font-weight:600;line-height:1.3;margin:8px 20px 4px 0;color:#e3f3ff;overflow-wrap:anywhere}
#info-subtitle{margin:0 0 12px;color:#7496b1;font-size:11px}
#info-fields{margin:0;display:grid;gap:6px}#info-fields dt{margin-top:5px;color:#7da3be;font-size:10px}#info-fields dd{margin:0;color:#c3daea;font-size:12px}
#close-info{position:absolute;right:10px;top:7px;border:0;background:transparent;color:#92b9d3;font-size:22px;padding:4px 8px;cursor:pointer}
#hover-label{position:fixed;left:0;top:0;pointer-events:none;z-index:6;border:1px solid #71bbe54d;background:#07121ded;color:#cbe8fa;border-radius:5px;padding:7px 11px;font:11px/1.3 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;white-space:nowrap}
#scene-host canvas{cursor:grab;touch-action:none}#scene-host canvas.dragging{cursor:grabbing}
.capture-poster{position:fixed;left:20px;top:20px;z-index:10}
@media(max-width:1000px){#info-card,#info-card[data-side=left]{left:18px;right:18px;top:18px;width:auto;padding:12px 16px;max-height:160px}#info-title{font-size:17px;margin:3px 20px 3px 0}#info-subtitle{margin-bottom:4px}#info-fields{grid-template-columns:58px 1fr;gap:5px}#info-fields dt{margin:0}.info-type{font-size:9px}#explore-hint{display:none}}
@media(max-width:640px){body{min-height:max(100svh,620px)}#scene-poster img{width:282.0512821vw}.scene-tools{left:18px;bottom:18px}.scene-tools button{padding:9px 13px;font-size:11px}.scene-shade{background:radial-gradient(ellipse 280px 300px at 50% 50%,#050b144d,transparent)}}
@media(prefers-reduced-motion:reduce){#scene-host canvas,#scene-poster{transition:none}}

body.exploring .scene-shade{background:linear-gradient(0deg,#03091350,transparent 25%)}
@media(max-width:1000px){body.exploring #info-card{top:auto!important;bottom:76px}}
@media(max-width:1000px){body.exploring #info-card[data-vertical=top]{top:18px!important;bottom:auto}}
