:root{--paper:#f5f3e9;--ink:#354639;--muted:#8b9380;--line:#dddfd1;--olive:#526749;--gold:#b69a5c;--dark:#354b3d;--sidebar:294px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}body{min-width:320px}button,input,select,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit;color:inherit}button,a,select{touch-action:manipulation}button{border:0;background:none;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[role=button]:focus-visible{outline:2px solid #b19453;outline-offset:3px}button svg,[data-icon] svg{width:17px;height:17px;display:block;stroke-width:1.5}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}[hidden]{display:none!important}button,a{transition:background .16s,color .16s,border-color .16s}.eyebrow{font-size:8px;font-weight:600;line-height:1.5;letter-spacing:1.55px;color:#889078}.icon-button{width:27px;height:27px;display:grid;place-items:center;border-radius:4px;color:#85917a;flex-shrink:0}.icon-button:hover{background:#e5e9da}.icon-button svg{width:15px;height:15px}
.realm-header{height:76px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px;position:relative;z-index:30;background:var(--paper)}.realm-brand{display:flex;gap:13px;align-items:center;font-size:12px;letter-spacing:2px;font-weight:600;white-space:nowrap}.realm-brand small{display:block;font-size:7px;letter-spacing:1.8px;font-weight:400;color:#8b927e;margin-top:7px}.realm-seal{display:grid;place-items:center;font:32px Georgia,serif;width:43px;height:43px;border:1px solid #bdbf9e;color:#7d8a5c;position:relative}.realm-seal:after{content:"";position:absolute;inset:3px;border:1px solid #d9d7bb;pointer-events:none}.realm-navigation{display:flex;height:100%;gap:30px;align-items:center}.realm-navigation a{font-size:11px;color:#8c927e;position:relative;align-self:stretch;display:flex;align-items:center;gap:7px}.realm-navigation a span{font-size:12px;color:#a4ac94}.realm-navigation .active{color:#3a4e38}.realm-navigation .active:after{content:"";height:2px;background:#a08c51;position:absolute;left:0;right:0;bottom:0}.realm-navigation a:hover{color:var(--ink)}.realm-mobile-menu{display:none}
.realm-workspace{height:calc(100dvh - 76px);display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}.realm-sidebar{min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--paper);z-index:22}.realm-intro{padding:27px 24px 22px;border-bottom:1px solid var(--line)}.realm-intro .eyebrow{font-size:7px;letter-spacing:1.35px}.realm-intro-title{display:flex;align-items:center;justify-content:space-between}.realm-intro h1{font:34px/1.16 Georgia,"Times New Roman",serif;letter-spacing:-1px;margin:14px 0 12px;color:#3b513a}.intro-flower{font:53px Georgia,serif;color:#b7bd9f;display:block;transform:rotate(-15deg);margin:8px -3px 0 4px}.realm-intro p{font-size:10px;line-height:1.8;color:#8d9581;margin:0}.realm-stats{margin-top:19px;display:flex;align-items:center;justify-content:space-between;gap:7px;color:#909780;font-size:8px;white-space:nowrap}.realm-stats strong{font:18px Georgia,serif;color:#526544;margin-right:3px}.live-pill{font-size:6px;display:flex;gap:4px;align-items:center;padding:6px 7px;background:#e8ebdc;border-radius:20px}.live-pill i,.scene-status i{width:4px;height:4px;background:#879a65;border-radius:50%;display:inline-block;flex-shrink:0}.realm-directory-controls{padding:20px 22px 15px}.realm-search{display:flex;align-items:center;border:1px solid #d9decd;border-radius:5px;background:#faf9f2;gap:8px;padding:10px}.realm-search svg{color:#98a186;width:15px;height:15px}.realm-search input{min-width:0;width:100%;outline:none;border:0;background:transparent;font:inherit;font-size:10px;color:var(--ink)}.realm-search input::placeholder{color:#99a08b}.zone-select-row{display:flex;align-items:center;gap:10px;margin-top:15px;min-width:0}.zone-select-row label{font-size:8px;color:#9ba18e;white-space:nowrap}.zone-select-row select{background:transparent;border:0;outline:none;min-width:0;max-width:100%;flex:1;font-size:9px;padding:4px 2px;color:#5d7051;cursor:pointer}.directory-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 23px 10px;border-bottom:1px solid #e6e8dc}.directory-caption h2{font-size:10px;font-weight:500;margin:0}.directory-caption>span{font-size:8px;color:#97a086}.realm-location-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd2bc transparent;flex:1;padding:0 12px 12px}.realm-location-row{display:flex;width:100%;text-align:left;align-items:center;gap:10px;padding:12px 10px;border-bottom:1px solid #e5e7d9;border-radius:4px;min-width:0;position:relative}.realm-location-row:hover{background:#e9eddf}.realm-location-row.active{background:#e4e9d9;border-bottom-color:transparent}.location-symbol{width:30px;height:33px;background:#eaeddf;display:grid;place-items:center;color:#81936e;flex-shrink:0;border-radius:3px}.location-symbol svg{width:18px;height:18px;stroke-width:1.3}.active .location-symbol{background:#d4ddc3;color:#596e49}.location-row-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:5px}.location-row-copy strong{font-size:10px;font-weight:500;line-height:1.45}.location-row-copy small{font-size:7px;color:#949e84;line-height:1.5}.location-index{font-size:7px;letter-spacing:.4px;color:#aab19b;align-self:flex-start;padding-top:4px}.location-chevron{color:#91a17e;font-size:17px;line-height:1}.empty-locations{padding:18px 12px;font-size:10px;line-height:1.7;color:#939d84}.realm-sidebar-footer{display:flex;align-items:center;gap:9px;padding:15px 22px;border-top:1px solid var(--line);font-size:7px;color:#a0a58e;line-height:1.8}.realm-sidebar-footer strong{font-weight:400;color:#8c967c}.footer-mark{font-size:24px;color:#adb597}.realm-sidebar-footer>a{margin-left:auto;color:#96a080;padding:7px}.realm-sidebar-footer>a svg{width:14px;height:14px}
.realm-viewport{position:relative;min-width:0;min-height:0;overflow:hidden;background:#dfe6d4}#realm-canvas{display:block;width:100%;height:100%;outline:none;touch-action:none}.realm-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.realm-label{position:absolute;font-size:8px;line-height:1.4;white-space:nowrap;padding:5px 8px;background:#f8f8ece8;border:1px solid #cfd7bc;color:#526746;box-shadow:0 2px 8px #374d3112;border-radius:3px;transform:translate(-50%,-100%);pointer-events:none}.realm-label.selected{color:#fbf6df;background:#4b6045;border-color:#65774c}.realm-scene-heading{position:absolute;left:29px;top:25px;pointer-events:none;max-width:calc(100% - 290px);text-shadow:0 1px 8px #f4f5e8aa}.realm-scene-heading .eyebrow{font-size:7px;color:#839076;letter-spacing:1.6px}.realm-scene-heading h2{font:24px/1.25 Georgia,serif;font-weight:400;letter-spacing:-.5px;color:#4b6346;margin:9px 0}.scene-status{display:flex;gap:6px;align-items:center;font-size:7px;color:#89977c;line-height:1.6}.realm-layer-controls{position:absolute;right:22px;top:25px;display:flex;gap:4px;padding:4px;background:#f6f7eceb;border:1px solid #d8dec9;box-shadow:0 3px 18px #33472f07;border-radius:6px;backdrop-filter:blur(9px)}.realm-layer-controls button{display:flex;align-items:center;gap:6px;font-size:8px;padding:8px;border-radius:3px;color:#8b987d}.realm-layer-controls button:hover{background:#e8eddd}.realm-layer-controls button[aria-pressed=true]{background:#e0e8d2;color:#4b6541}.realm-layer-controls button svg{width:14px;height:14px}.realm-layer-controls .reset-button{border-left:1px solid #e0e5d4;padding-left:11px;border-radius:0}
.realm-minimap{position:absolute;right:23px;bottom:124px;width:220px;padding:12px 13px 11px;border:1px solid #d8deca;border-radius:6px;background:#f7f7eced;box-shadow:0 6px 20px #24361d08;backdrop-filter:blur(10px)}.minimap-heading{display:flex;align-items:center;justify-content:space-between}.minimap-heading>span{font-size:7px;color:#8c967c;letter-spacing:1.5px}.minimap-heading .icon-button{height:18px;width:18px}.minimap-heading svg{width:12px;height:12px}#realm-map{display:block;width:100%;height:auto;margin-top:8px;overflow:visible}.map-zone{cursor:pointer;outline:none}.map-zone rect{stroke:#f5f5e9;stroke-width:2;fill-opacity:.43;transition:fill-opacity .15s,stroke .15s}.map-zone:hover rect,.map-zone:focus rect{fill-opacity:.82;stroke:#a18f5c}.map-zone.active rect{fill-opacity:.82;stroke:#8a783f;stroke-width:1.5}.map-zone text{fill:#586b4d;font-size:6px;text-anchor:middle;font-family:inherit;pointer-events:none}.map-zone .map-zone-number{font-family:Georgia,serif;font-size:12px;fill:#6c7f58;opacity:.75}.minimap-route{fill:none;stroke:#a8b28f;stroke-width:1;stroke-dasharray:3 3;opacity:.7}.minimap-caption{font-size:6px;display:flex;gap:4px;align-items:center;color:#9aa289;border-top:1px solid #e1e5d5;padding-top:8px}.minimap-caption>span:first-child{border-right:1px solid #d7ddc9;padding-right:6px;color:#6c815a;font-size:7px}.minimap-legend{margin-left:auto;font-size:5px;color:#adb39d}.realm-minimap.collapsed{width:140px}.realm-view-caption{position:absolute;left:28px;bottom:132px;display:flex;align-items:center;gap:12px;pointer-events:none}.caption-rule{width:26px;height:1px;background:#94a17d}.realm-view-caption>span:last-child{font:18px Georgia,serif;color:#5a704c}.realm-view-caption small{display:block;font:5px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:1.6px;color:#9ba68b;margin-top:8px}.realm-bottom-panel{position:absolute;left:50%;bottom:17px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;max-width:calc(100% - 32px);z-index:5}.realm-toolbar{display:flex;align-items:center;gap:5px;background:#f8f8eef5;border:1px solid #d7deca;border-radius:7px;padding:5px;box-shadow:0 5px 25px #2844230d;backdrop-filter:blur(10px);white-space:nowrap}.camera-controls,.light-controls{display:flex;align-items:center;gap:2px}.realm-toolbar button{font-size:9px;color:#88977b;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 12px;border-radius:4px}.realm-toolbar button:hover{background:#e9eddd;color:#526c43}.realm-toolbar button.active{background:#e1e8d5;color:#425e37}.realm-toolbar button svg{width:16px;height:16px}.light-controls button{padding:10px 9px;font-size:8px;gap:5px}.light-controls button.active{background:#eee5ca;color:#9b7d37}.toolbar-separator{height:24px;width:1px;background:#dce2cf;margin:0 4px}.realm-interaction-hint{font-size:7px;color:#8b9b7b;white-space:nowrap;margin:11px 0 0;text-align:center}.realm-interaction-hint>span{margin:0 7px;color:#a7b296}.realm-reconstruction-note{position:absolute;left:26px;bottom:20px;max-width:275px;z-index:8}.realm-reconstruction-note>button{display:flex;align-items:center;gap:6px;font-size:7px;color:#8a977c;padding:5px 0}.realm-reconstruction-note>button>span:first-child{display:grid;place-items:center;width:13px;height:13px;border:1px solid #a1ad90;border-radius:50%;font:9px Georgia,serif}.realm-reconstruction-note>button svg{width:10px;height:10px}.realm-reconstruction-note>div{position:absolute;left:0;bottom:31px;padding:15px 16px;width:275px;border:1px solid #d7dfc8;border-radius:5px;background:#f8f8eef7;box-shadow:0 6px 20px #263c230e;backdrop-filter:blur(8px)}.realm-reconstruction-note p{font-size:9px;line-height:1.8;color:#859378;margin:0 0 8px}.realm-reconstruction-note a{font-size:8px;color:#627b51;text-decoration:underline;text-underline-offset:3px}
.realm-inspector{position:absolute;right:22px;top:86px;width:287px;max-height:calc(100% - 204px);padding:17px 18px 12px;border:1px solid #d8dfca;border-radius:7px;background:#f9f9f0f7;backdrop-filter:blur(12px);box-shadow:0 8px 30px #2b402b12;display:flex;flex-direction:column;z-index:10}.inspector-topline{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.inspector-topline .eyebrow{font-size:7px;letter-spacing:1.4px}.inspector-topline .icon-button{margin-right:-5px;margin-top:-5px}.inspector-scroll{overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#d2d9c3 transparent;padding-right:2px}.realm-inspector h2{font:24px/1.2 Georgia,serif;letter-spacing:-.4px;margin:9px 0;color:#455c3d}.selected-purpose{font-size:9px;line-height:1.8;color:#8b967c;margin:0 0 12px}.selected-zone{font-size:7px;letter-spacing:.6px;text-transform:uppercase;color:#8e9b7d;padding-bottom:13px;border-bottom:1px solid #e0e5d5;display:flex;align-items:center;gap:6px}.selected-zone:before{content:"";width:5px;height:5px;background:#a2ad81;border-radius:50%;flex-shrink:0}.selected-frame{margin:14px 0}.selected-frame>a{position:relative;display:block}.selected-frame img{width:100%;height:130px;object-fit:cover;border:1px solid #dce2d2;border-radius:3px;display:block}.selected-frame>a>span{position:absolute;right:7px;bottom:7px;font-size:6px;background:#f4f5e9e6;padding:4px 6px;border-radius:2px;color:#6a7b58}.selected-frame figcaption{font-size:6px;line-height:1.7;color:#a0a78f;margin-top:6px}.no-frame{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #e5e9da;color:#a1ac8d}.no-frame svg{width:23px;height:23px}.no-frame p{font-size:8px;line-height:1.7;margin:0}.placement-evidence{display:flex;gap:8px;margin:15px 0}.evidence-dot{width:5px;height:5px;border-radius:50%;background:#94a575;margin-top:4px;flex-shrink:0}.placement-evidence h3{font-size:8px;font-weight:500;margin:0 0 5px;color:#6c8059}.placement-evidence p{font-size:8px;line-height:1.85;color:#8e987f;margin:0}.conditional .evidence-dot{background:#c4ae76}.conditional h3{color:#a58c52}.model-dimensions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:13px 0;border-top:1px solid #e0e5d5;border-bottom:1px solid #e0e5d5}.model-dimensions>div{display:flex;flex-direction:column;gap:7px}.model-dimensions span{font-size:7px;color:#a0a88e}.model-dimensions strong{font-size:11px;font-weight:400;color:#697e55;white-space:nowrap}.dimension-notice{font-size:7px;line-height:1.8;color:#a4ac95;margin:9px 0 14px}.inspector-actions{display:flex;align-items:center;gap:8px}.action-primary{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#4b6546;color:#f4f3df;border:1px solid #4b6546;border-radius:4px;padding:11px 12px;font-size:9px}.action-primary:hover{background:#3c5536}.inspector-actions .action-primary{flex:1}.inspector-actions button{display:flex;align-items:center;gap:4px;font-size:8px;color:#879878;padding:10px 4px}.inspector-actions button svg{width:13px;height:13px}.selected-id{font-size:6px;font-family:monospace;color:#aab19b;display:block;overflow-wrap:anywhere;margin-top:10px}.realm-viewport:has(.realm-inspector:not([hidden])) .realm-minimap{opacity:0;pointer-events:none}
.realm-loading,.realm-error{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#e8eddd;text-align:center;padding:25px}.loading-seal{font:65px Georgia,serif;color:#8c9e74;margin-bottom:22px;line-height:1;border:1px solid #b8c2a3;padding:10px 6px 6px}.realm-loading .eyebrow{font-size:7px;letter-spacing:2px;margin-bottom:4px}.realm-loading h2,.realm-error h2{font:32px Georgia,serif;letter-spacing:-.6px;color:#5e764c;margin:12px 0}.realm-loading p,.realm-error p{font-size:10px;line-height:1.8;color:#95a181;max-width:300px;margin:0}.loading-line{margin-top:26px;width:92px;height:1px;background:#c8d1b6;position:relative;overflow:hidden}.loading-line:after{content:"";width:35px;position:absolute;top:0;bottom:0;background:#8da36d;animation:loading 2s ease-in-out infinite}.realm-error .action-primary{margin-top:20px}.realm-error .loading-seal{font-size:48px}@keyframes loading{0%{transform:translateX(-40px)}100%{transform:translateX(100px)}}
@media(min-width:1600px){:root{--sidebar:324px}.realm-header{height:84px;padding:0 34px}.realm-workspace{height:calc(100dvh - 84px)}.realm-intro{padding:32px 28px 24px}.realm-intro h1{font-size:38px}.realm-intro p{font-size:11px}.realm-directory-controls{padding:23px 25px 17px}.realm-location-row{padding:13px 13px}.location-row-copy strong{font-size:11px}.realm-scene-heading{top:32px;left:34px}.realm-scene-heading h2{font-size:29px}.realm-layer-controls{top:32px;right:28px}.realm-minimap{width:250px;right:28px;bottom:130px}.realm-inspector{right:28px;top:96px;width:310px}.realm-inspector h2{font-size:27px}.selected-frame img{height:150px}.realm-toolbar button{font-size:10px;padding:12px 16px}.light-controls button{font-size:9px;padding:12px}.realm-view-caption{left:34px;bottom:142px}}
@media(max-width:1200px){:root{--sidebar:264px}.realm-intro{padding:23px 21px 20px}.realm-intro h1{font-size:30px}.intro-flower{font-size:43px}.realm-directory-controls{padding:17px 18px 13px}.realm-stats{font-size:7px}.live-pill{font-size:5px}.realm-scene-heading{left:22px;max-width:calc(100% - 250px)}.realm-scene-heading h2{font-size:20px}.realm-layer-controls{right:16px}.realm-layer-controls button{padding:8px 6px;font-size:7px}.realm-minimap{right:17px;width:190px;bottom:140px}.realm-inspector{right:16px;width:265px}.realm-toolbar button{padding:10px 9px;font-size:8px;gap:5px}.light-controls button{padding:10px 7px}.light-controls button>span:last-child{display:none}.realm-view-caption{left:22px;bottom:142px}.realm-view-caption>span:last-child{font-size:16px}.realm-reconstruction-note{left:21px;bottom:17px}.realm-bottom-panel{bottom:43px}.realm-interaction-hint{font-size:6px}.realm-inspector{max-height:calc(100% - 221px)}.realm-sidebar-footer{padding:14px 17px}.realm-location-list{padding:0 8px 10px}.realm-location-row{padding:11px 9px}}
@media(max-width:900px){:root{--sidebar:240px}.realm-header{padding:0 20px}.realm-navigation{gap:20px}.realm-intro h1{font-size:28px}.realm-intro .eyebrow{font-size:6px}.realm-intro p{font-size:9px}.intro-flower{font-size:35px}.realm-stats>span:nth-child(2){display:none}.realm-stats{justify-content:flex-start;gap:17px}.realm-directory-controls{padding-left:15px;padding-right:15px}.zone-select-row label{font-size:7px}.zone-select-row select{font-size:8px}.location-row-copy strong{font-size:9px}.location-row-copy small{font-size:6px}.location-symbol{width:26px;height:29px}.realm-scene-heading{top:22px;max-width:calc(100% - 46px)}.realm-scene-heading h2{font-size:21px}.realm-layer-controls{top:118px;right:17px}.realm-layer-controls button{padding:8px}.realm-layer-controls button>span:last-child:not(:first-child){display:none}.realm-inspector{top:168px;width:251px;max-height:calc(100% - 296px)}.realm-minimap{width:164px;bottom:140px}.minimap-legend{display:none}.realm-view-caption{bottom:148px;max-width:130px}.realm-view-caption small{font-size:4px;letter-spacing:1.2px}.realm-toolbar button{padding:10px 7px}.realm-toolbar button svg{width:14px;height:14px}.realm-toolbar{gap:2px}.toolbar-separator{margin:0 2px}.light-controls button{padding:10px 6px}.realm-interaction-hint{font-size:5px}.realm-inspector h2{font-size:22px}.selected-frame img{height:112px}}
@media(max-width:680px){html,body{overflow:hidden}.realm-header{height:66px;padding:0 15px;gap:10px}.realm-brand{gap:9px;font-size:9px;letter-spacing:1.25px}.realm-brand small{font-size:5px;letter-spacing:1.2px;margin-top:5px}.realm-seal{width:34px;height:34px;font-size:25px}.realm-navigation{gap:13px;margin-left:auto}.realm-navigation a{font-size:8px;gap:3px}.realm-navigation a span{display:none}.realm-navigation a:first-child{display:none}.realm-mobile-menu{display:grid;width:28px;height:28px}.realm-workspace{height:calc(100dvh - 66px);display:block}.realm-viewport{width:100%;height:100%}.realm-sidebar{position:absolute;left:0;top:66px;bottom:0;width:min(310px,87vw);box-shadow:10px 0 45px #243c2425;transform:translateX(-110%);transition:transform .25s ease;z-index:25;border-top:0}.realm-sidebar.is-open{transform:translateX(0)}.realm-intro{padding:23px 23px 19px}.realm-intro h1{font-size:31px}.realm-intro .eyebrow{font-size:7px}.realm-intro p{font-size:10px}.intro-flower{font-size:45px}.realm-stats{justify-content:space-between;gap:8px}.realm-stats>span:nth-child(2){display:inline}.realm-stats strong{font-size:18px}.realm-directory-controls{padding:18px 21px 14px}.realm-search input{font-size:11px}.zone-select-row label{font-size:8px}.zone-select-row select{font-size:9px}.realm-location-row{padding:12px}.location-symbol{width:30px;height:32px}.location-row-copy strong{font-size:11px}.location-row-copy small{font-size:8px}.location-index{font-size:8px}.realm-sidebar-footer{font-size:8px;padding:14px 21px}.realm-scene-heading{left:18px;top:21px;max-width:calc(100% - 90px)}.realm-scene-heading .eyebrow{font-size:6px;letter-spacing:1.2px}.realm-scene-heading h2{font-size:24px;line-height:1.2;margin-top:8px}.scene-status{font-size:6px}.realm-layer-controls{top:20px;right:14px;flex-direction:column;padding:3px;gap:2px}.realm-layer-controls button{padding:8px;justify-content:center}.realm-layer-controls .reset-button{border-left:0;border-top:1px solid #e0e5d4;padding:8px;border-radius:0}.realm-layer-controls button svg{width:15px;height:15px}.realm-minimap{right:13px;bottom:139px;width:138px;padding:9px 10px}.minimap-heading>span{font-size:6px;letter-spacing:1px}#realm-map{margin-top:3px}.minimap-caption{font-size:5px;gap:5px;padding-top:6px}.minimap-caption>span:first-child{font-size:6px}.realm-minimap.collapsed{width:120px}.realm-view-caption{left:18px;bottom:153px;gap:8px;max-width:150px}.caption-rule{width:17px}.realm-view-caption>span:last-child{font-size:15px}.realm-view-caption small{font-size:4px;letter-spacing:1px;max-width:120px;line-height:1.6}.realm-bottom-panel{bottom:47px;max-width:calc(100% - 24px);width:100%}.realm-toolbar{padding:4px;border-radius:6px;justify-content:center;gap:3px;max-width:100%;width:max-content}.realm-toolbar button{font-size:8px;padding:9px 8px;gap:5px}.realm-toolbar button svg{width:14px;height:14px}.light-controls{gap:1px}.light-controls button{padding:9px 7px}.toolbar-separator{margin:0 3px;height:20px}.realm-interaction-hint{font-size:5px;margin-top:9px}.realm-interaction-hint>span{margin:0 4px}.realm-reconstruction-note{left:18px;bottom:15px}.realm-reconstruction-note>button{font-size:6px}.realm-reconstruction-note>div{width:min(285px,calc(100vw - 36px))}.realm-inspector{top:145px;right:13px;width:calc(100% - 26px);max-height:calc(100% - 278px);padding:14px 16px 11px}.realm-inspector h2{font-size:25px}.selected-purpose{font-size:10px}.selected-zone{font-size:7px}.selected-frame img{height:148px}.selected-frame figcaption{font-size:7px}.placement-evidence h3{font-size:9px}.placement-evidence p{font-size:9px}.model-dimensions span{font-size:8px}.model-dimensions strong{font-size:12px}.dimension-notice{font-size:8px}.inspector-actions .action-primary{font-size:10px}.inspector-actions button{font-size:9px;padding:12px 6px}.realm-viewport:has(.realm-inspector:not([hidden])) .realm-view-caption{opacity:0}.loading-seal{font-size:56px}.realm-loading h2,.realm-error h2{font-size:29px}}
@media(max-width:370px){.realm-brand{font-size:8px;letter-spacing:1px}.realm-brand small{font-size:4px}.realm-navigation{gap:9px}.realm-navigation a{font-size:7px}.realm-header{padding:0 11px;gap:6px}.realm-toolbar button{padding:9px 6px;font-size:7px}.light-controls button{padding:9px 6px}.realm-toolbar button svg{width:13px;height:13px}.realm-view-caption{max-width:120px}.realm-minimap{width:126px}.realm-scene-heading h2{font-size:22px}.realm-interaction-hint{font-size:4.5px}.realm-inspector{max-height:calc(100% - 278px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Читаемые подписи назначения и расположения на широком и узком экране. */
.location-row-copy strong{font-size:12px}.location-row-copy small{font-size:9px}.realm-search input,.zone-select-row select{font-size:12px}.selected-purpose,.placement-evidence p{font-size:12px;line-height:1.75}.selected-frame figcaption,.dimension-notice{font-size:10px}.placement-evidence h3{font-size:11px}.realm-inspector{width:310px}.realm-layer-controls button,.realm-toolbar button{font-size:10px}.realm-labels button{max-width:240px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:680px){.realm-inspector{width:calc(100% - 26px)}.realm-search input{font-size:13px}.location-row-copy strong{font-size:12px}.realm-toolbar button{font-size:8px}.realm-labels button{max-width:180px}}

/* Прогулка, погодные состояния и сопоставление с сохранёнными кадрами. */
.realm-directory-panel{display:flex;flex:1;flex-direction:column;min-height:0}
.realm-sidebar-tabs{display:flex;flex-shrink:0;border-bottom:1px solid var(--line);padding:0 18px;gap:13px}
.realm-sidebar-tabs button{position:relative;padding:16px 1px 13px;font-size:11px;color:#8c967f}
.realm-sidebar-tabs button[aria-selected=true]{color:#3e5739}
.realm-sidebar-tabs button[aria-selected=true]:after{position:absolute;content:"";height:2px;left:0;right:0;bottom:0;background:#9b8752}
.realm-sidebar-tabs button span{font-size:9px;margin-left:4px;color:#a8aa91}
.realm-shots-panel{min-height:0;overflow:auto;flex:1;padding:15px 13px 20px;scrollbar-width:thin;scrollbar-color:#cbd2bc transparent}
.realm-shots-intro,.realm-shots-notice{font-size:11px;line-height:1.7;color:#87927b;margin:0 9px 13px}
.realm-shots-notice{font-size:10px;margin-top:18px}
.realm-reference-shot{display:flex;align-items:center;gap:10px;padding:12px 9px;border-bottom:1px solid #e1e5d7;border-radius:4px}
.realm-reference-shot:hover,.realm-reference-shot.active{background:#e3e9d8}
.realm-reference-shot>img{width:74px;height:49px;object-fit:cover;border-radius:3px;flex-shrink:0;background:#d9dfcc}
.realm-reference-shot>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:6px;flex:1}
.realm-reference-shot strong{font-size:11px;line-height:1.45;font-weight:500}
.realm-reference-shot small{font-size:7px;letter-spacing:1px;color:#9b9d81}
.realm-reference-shot>span:last-child{font-size:13px;color:#889475}
.realm-walk-cta{position:absolute;left:28px;top:121px;z-index:4;display:flex;align-items:center;gap:13px;padding:14px 17px;color:#f8f3dc;background:#456346;border:1px solid #5b7853;border-radius:5px;box-shadow:0 5px 20px #27482c20;text-align:left}
.realm-walk-cta:hover{background:#36543b}
.realm-walk-cta>span:nth-child(2){font-size:14px;line-height:1.5;font-weight:500}
.realm-walk-cta small{display:block;font-size:9px;font-weight:400;color:#c4d1b8;margin-top:2px}
.realm-walk-cta>span:last-child{font-size:19px;margin-left:9px;color:#cfbe84}
.realm-walk-cta svg{width:22px;height:22px}
.realm-weather-controls{display:flex;align-items:center;gap:3px;background:#f7f8eeed;border:1px solid #d7deca;padding:4px;border-radius:5px;margin-bottom:7px;backdrop-filter:blur(8px)}
.realm-weather-controls button{display:flex;align-items:center;gap:6px;font-size:10px;padding:7px 11px;border-radius:3px;color:#849278}
.realm-weather-controls button svg{width:15px;height:15px}
.realm-weather-controls button:hover{background:#e7eddc}
.realm-weather-controls button.active{background:#e0e8d3;color:#46613d}
.realm-bottom-panel{bottom:18px}
.realm-minimap{bottom:171px}
.realm-view-caption{bottom:184px}
.realm-interaction-hint{font-size:8px}
.realm-walking-hud{position:absolute;left:26px;top:24px;z-index:8;max-width:470px;padding:13px 15px;background:#f8f9eeed;border:1px solid #d7dfca;border-radius:6px;backdrop-filter:blur(10px);box-shadow:0 5px 22px #203d2612}
.walking-hud-title{display:flex;align-items:center;justify-content:space-between;gap:24px}
.walking-hud-title>span{font-size:12px;color:#496442;display:flex;align-items:center;gap:7px}
.walking-hud-title i{width:5px;height:5px;border-radius:50%;background:#7e9b65}
.walking-hud-title button{font-size:11px;background:#e6ebdc;padding:7px 9px;border-radius:3px;color:#657956;white-space:nowrap}
.walking-hud-title kbd{font:inherit;font-size:9px;display:inline-block;border:1px solid #b9c4a9;border-radius:3px;padding:2px 3px;margin-left:5px;color:#8a987b}
.realm-walking-hud p{font-size:10px;line-height:1.8;color:#8a957c;margin:9px 0 0}
.realm-walking-hud strong{font-weight:500;color:#5c7351}
.realm-walking-dpad{position:absolute;left:20px;bottom:154px;z-index:12;width:140px;height:140px;display:none;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,44px);gap:4px;touch-action:none;user-select:none}
.realm-walking-dpad button{display:grid;place-items:center;background:#f6f8ecef;border:1px solid #cdd8bf;border-radius:8px;box-shadow:0 3px 12px #2a432b13;font-size:22px;color:#536f47;touch-action:none}
.realm-walking-dpad button.is-held{background:#b8c8a4;border-color:#6e8a5c;color:#304d2a}
.dpad-forward{grid-area:1/2}.dpad-left{grid-area:2/1}.dpad-right{grid-area:2/3}.dpad-backward{grid-area:3/2}
.realm-walking-dpad>span{grid-area:2/2;display:grid;place-items:center;color:#8da579;font-size:22px}
body.is-walking .realm-scene-heading,body.is-walking .realm-walk-cta,body.is-walking .realm-view-caption,body.is-walking .realm-interaction-hint,body.has-reference-shot .realm-walk-cta{display:none}
.realm-model-frame{width:100%;height:100%;min-width:0;min-height:0}
.comparison-frame-label{display:none}
.reference-comparison-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.reference-comparison-heading .eyebrow{font-size:8px;letter-spacing:1.3px}
.reference-comparison-heading h2{font:24px/1.25 Georgia,serif;color:#496343;margin:5px 0 0}
.reference-image-button{display:block;position:relative;width:100%;padding:0;background:#d8dfce;border-radius:3px;overflow:hidden;aspect-ratio:16/9}
.reference-image-button img{width:100%;height:100%;object-fit:contain;display:block}
.reference-image-button>span{position:absolute;right:8px;bottom:8px;color:#586f49;background:#f7f8eeeb;padding:6px 8px;border-radius:3px;font-size:10px}
.reference-comparison-notes p{font-size:12px;line-height:1.6;color:#77846c;margin:0 0 5px}
.reference-comparison-notes a{font-size:11px;color:#607d4f;text-decoration:underline;text-underline-offset:3px}

/* Сравнение занимает собственные области: кадр и модель имеют одинаковое соотношение 16:9. */
body.has-reference-shot .realm-viewport{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,max-content);grid-template-areas:"comparison-heading comparison-heading" "model reference" "notes notes" "controls controls";align-content:center;gap:16px 24px;padding:24px;background:#eef0e3;overflow:auto}
body.has-reference-shot .realm-model-frame{grid-area:model;height:auto;align-self:start}
body.has-reference-shot #realm-canvas{height:auto;aspect-ratio:16/9;border-radius:3px}
body.has-reference-shot .comparison-frame-label{display:block;font-size:10px;color:#728267;letter-spacing:.7px;line-height:18px;margin-bottom:6px}
body.has-reference-shot .realm-reference-comparison{display:contents}
body.has-reference-shot .reference-comparison-heading{grid-area:comparison-heading}
body.has-reference-shot .reference-source-frame{grid-area:reference;min-width:0}
body.has-reference-shot .reference-image-button img{height:100%}
body.has-reference-shot .reference-comparison-notes{grid-area:notes;max-width:820px}
body.has-reference-shot .realm-bottom-panel{grid-area:controls;position:static;transform:none;width:auto;max-width:100%;justify-self:center;margin-top:4px}
body.has-reference-shot .realm-layer-controls,body.has-reference-shot .realm-minimap,body.has-reference-shot .realm-view-caption,body.has-reference-shot .realm-reconstruction-note,body.has-reference-shot .realm-interaction-hint{display:none}
@media(max-width:1250px){body.has-reference-shot .realm-viewport{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(5,max-content);grid-template-areas:"comparison-heading" "model" "reference" "notes" "controls";gap:12px;padding:16px;align-content:safe center}body.has-reference-shot .realm-model-frame,body.has-reference-shot .reference-source-frame{width:min(100%,max(280px,calc(88.8889dvh - 373.333px)));justify-self:center}body.has-reference-shot .reference-comparison-heading h2{font-size:22px}}
@media(max-width:680px){body.has-reference-shot .realm-viewport{padding:12px;gap:10px;align-content:start}body.has-reference-shot .realm-model-frame,body.has-reference-shot .reference-source-frame{width:100%}body.has-reference-shot .reference-comparison-heading h2{font-size:20px}body.has-reference-shot .reference-comparison-notes p{font-size:11px}body.has-reference-shot .realm-bottom-panel{margin-top:0}body.has-reference-shot .reference-comparison-heading .eyebrow{font-size:7px}}
.realm-reference-lightbox{padding:25px;max-width:min(1000px,calc(100vw - 30px));max-height:calc(100dvh - 30px);border:1px solid #cbd4bc;border-radius:8px;background:#f5f5e9;color:#3e5739;box-shadow:0 15px 70px #182b2550;overflow:auto}
.realm-reference-lightbox::backdrop{background:#1f332bcc;backdrop-filter:blur(4px)}
.realm-reference-lightbox>.icon-button{position:absolute;right:12px;top:12px}
.realm-reference-lightbox h2{font:24px/1.3 Georgia,serif;margin:0 35px 18px 0}
.realm-reference-lightbox img{display:block;max-width:100%;max-height:65dvh;object-fit:contain;margin:auto}
.realm-reference-lightbox p{font-size:12px;line-height:1.7;color:#7b8a70;max-width:780px}
.realm-reference-lightbox>a{font-size:11px;color:#496c3f;text-decoration:underline;text-underline-offset:3px}
.map-footprint{outline:none;cursor:pointer}
.map-footprint rect{stroke:#f5f6e8;stroke-width:.25;fill-opacity:.8;transition:fill-opacity .15s,stroke .15s}
.map-footprint:hover rect,.map-footprint:focus rect{stroke:#a17a35;stroke-width:1;fill-opacity:1}
.map-footprint.map-outline rect{stroke:#8c9f84;stroke-width:.6;fill-opacity:0}
.map-footprint.map-scenery rect{fill-opacity:.52}
.minimap-caption{font-size:7px;justify-content:space-between;gap:6px}
.minimap-caption a{color:#718565;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.minimap-caption>span:first-child{font-size:8px;white-space:nowrap}
@media(pointer:coarse){body.is-walking .realm-walking-dpad{display:grid}}
@media(max-width:1200px){.realm-view-caption{bottom:188px}.realm-minimap{bottom:176px}.realm-walk-cta{left:22px}.realm-reference-comparison{right:16px;width:280px}}
@media(max-width:900px){.realm-walk-cta{top:118px;left:22px;padding:12px}.realm-walk-cta>span:nth-child(2){font-size:12px}.realm-layer-controls{top:25px}.realm-reference-comparison{top:118px;width:260px}.realm-scene-heading{max-width:calc(100% - 90px)}.realm-minimap{width:180px}.realm-view-caption{display:none}.realm-walking-hud{max-width:calc(100% - 40px)}body.is-walking .realm-layer-controls{display:none}}
@media(max-width:680px){
  .realm-sidebar-tabs{padding:0 22px;gap:22px}.realm-sidebar-tabs button{font-size:12px}
  .realm-shots-panel{padding:16px}.realm-reference-shot>img{width:80px;height:53px}.realm-reference-shot strong{font-size:12px}
  .realm-scene-heading{left:18px;top:20px;max-width:calc(100% - 85px)}.realm-scene-heading h2{font-size:23px}.scene-status{font-size:8px;max-width:240px}
  .realm-walk-cta{top:123px;left:18px;padding:12px 14px;gap:10px}.realm-walk-cta>span:nth-child(2){font-size:13px}.realm-walk-cta small{font-size:9px}.realm-walk-cta>span:last-child{margin-left:5px}
  .realm-bottom-panel{bottom:35px;max-width:calc(100% - 20px)}.realm-toolbar{gap:2px}.realm-toolbar button{padding:10px 7px;font-size:9px;gap:4px}.light-controls button{padding:10px 7px}.realm-weather-controls button{font-size:10px;padding:7px 12px}.realm-weather-controls{margin-bottom:6px}.realm-interaction-hint{font-size:6px;margin-top:8px}.realm-interaction-hint>span{margin:0 3px}
  .realm-minimap{bottom:171px;right:14px;width:174px}.realm-minimap.collapsed{width:123px}.minimap-caption{font-size:6px}.minimap-caption>span:first-child{font-size:7px}
  .realm-walking-hud{left:14px;top:15px;max-width:none;width:calc(100% - 28px);padding:11px 12px}.walking-hud-title{gap:8px}.walking-hud-title>span{font-size:11px}.walking-hud-title button{font-size:10px;padding:7px}.realm-walking-hud p{font-size:10px;line-height:1.65;margin-top:8px}
  body.is-walking .realm-walking-dpad{display:grid}body.is-walking .realm-reconstruction-note{display:none}body.is-walking .realm-bottom-panel{bottom:19px}body.is-walking .realm-minimap{bottom:150px}.realm-walking-dpad{bottom:148px;left:15px}
  .realm-reference-comparison{top:133px;right:14px;width:calc(100% - 28px);max-height:calc(100% - 302px);padding:12px}.realm-reference-comparison h2{font-size:20px}.reference-image-button img{height:148px}.realm-reference-comparison p{font-size:10px;margin:8px 0}.reference-comparison-heading .eyebrow{font-size:7px}.realm-reference-lightbox{padding:18px}.realm-reference-lightbox h2{font-size:21px}.realm-reference-lightbox p{font-size:11px}
  .realm-inspector{top:173px;max-height:calc(100% - 326px)}
}
@media(max-width:370px){.realm-toolbar button{font-size:8px;padding:9px 6px}.light-controls button{padding:9px 6px}.realm-walk-cta{padding:11px;gap:8px}.realm-walk-cta>span:nth-child(2){font-size:12px}.realm-walk-cta>span:last-child{font-size:17px}.walking-hud-title>span{font-size:10px}.realm-walking-hud p{font-size:9px}}

/* В режиме сравнения название уже показано рядом с исходным кадром. */
body.has-reference-shot .realm-scene-heading{display:none}

/* Ракурс раскрывается в свободную сцену одной доступной с клавиатуры ссылкой. */
.realm-model-frame{position:relative}
.open-model-shot{position:absolute;inset:24px 0 0;z-index:2;cursor:pointer;border-radius:3px}
.open-model-shot>span{position:absolute;bottom:10px;right:10px;padding:8px 11px;background:#f7f8eef0;color:#48653d;border:1px solid #d2dbc6;border-radius:4px;font-size:11px;box-shadow:0 2px 12px #20362715}
.open-model-shot:hover>span,.open-model-shot:focus-visible>span{background:#456343;color:#fff8df}
.open-model-shot:focus-visible{outline:3px solid #a78c4d;outline-offset:3px}
.drone-start-button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px;margin:4px 0 12px;background:#4c6846;color:#fff7df;border-radius:5px;font-size:12px;text-align:left}
.drone-start-button:hover{background:#365438}
.realm-drone-hud{position:absolute;top:22px;left:24px;z-index:15;width:min(355px,calc(100% - 48px));max-height:calc(100% - 150px);overflow:auto;padding:17px 18px;background:#f7f7ecf0;border:1px solid #d5dec7;border-radius:8px;backdrop-filter:blur(12px);box-shadow:0 6px 28px #19351f1a}
.drone-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#7d8c6e}
.drone-topline>button{padding:6px 0 6px 9px;font-size:11px;color:#6d7f5b;white-space:nowrap}
.realm-drone-hud h2{font:25px/1.2 Georgia,serif;color:#435f3b;margin:10px 0 7px}
.realm-drone-hud>p{font-size:11px;line-height:1.6;color:#758668;margin:0 0 12px}
.drone-stop-picker label{font-size:10px;color:#869375;display:block;margin-bottom:5px}
.drone-stop-picker select{width:100%;padding:8px;border:1px solid #cbd5bd;background:#f6f6e9;color:#4b6640;border-radius:3px;font-size:11px}
.drone-progress{height:3px;background:#dfe5d3;border-radius:3px;margin:13px 0;overflow:hidden}
.drone-progress>span{display:block;height:100%;background:#9c8852;transition:width .25s}
.drone-buttons{display:flex;align-items:center;gap:6px}
.drone-buttons>button{padding:8px 11px;border:1px solid #d0dac0;background:#e7eddc;border-radius:4px;color:#49623d;font-size:12px}
.drone-buttons>button:disabled{opacity:.4;cursor:default}
.drone-buttons>label{margin-left:auto;font-size:10px;color:#81916f;display:flex;gap:5px;align-items:center}
.drone-buttons select{background:#f1f4e6;color:#4d6940;border:1px solid #ced8be;border-radius:3px;padding:6px;font-size:11px}
#drone-reference-link{display:block;font-size:11px;color:#6b7948;text-decoration:underline;text-underline-offset:3px;margin-top:12px}
.realm-drone-hud .drone-guide{font-size:9px;margin:12px 0 0;color:#8b967b}
body.is-drone .realm-scene-heading,body.is-drone .realm-walk-cta,body.is-drone .realm-layer-controls,body.is-drone .realm-inspector,body.is-drone .realm-view-caption,body.is-drone .realm-labels,body.is-drone .realm-reconstruction-note,body.is-drone .realm-interaction-hint{display:none}
body.is-drone .realm-minimap{bottom:145px}
body.is-drone .realm-sidebar{display:none}
body.is-drone .realm-workspace{grid-template-columns:minmax(0,1fr)}
.realm-toolbar:has([data-start-drone]) .camera-controls{gap:2px}
@media(max-width:680px){.realm-drone-hud{top:12px;left:12px;width:calc(100% - 24px);padding:11px 13px}.realm-drone-hud h2{font-size:21px;margin:6px 0}.realm-drone-hud>p{font-size:10px;margin-bottom:7px}.drone-stop-picker{display:flex;align-items:center;gap:8px}.drone-stop-picker label{margin:0}.drone-stop-picker select{min-width:0;flex:1;padding:6px}.drone-progress{margin:9px 0}.drone-buttons>button{padding:7px 10px}.realm-drone-hud .drone-guide{display:none}.realm-toolbar button{padding:9px 6px!important}.toolbar-separator{margin:0 2px}.open-model-shot>span{font-size:10px;padding:6px 8px}body.is-drone .realm-minimap{display:none}}
@media(max-height:550px){.realm-drone-hud{top:10px;left:12px;width:min(320px,calc(100% - 24px));padding:10px 12px;max-height:calc(100% - 138px)}.realm-drone-hud h2{font-size:18px;margin:5px 0}.realm-drone-hud>p,.realm-drone-hud .drone-stop-picker{display:none}.drone-progress{margin:7px 0}.drone-buttons>button{padding:6px 9px}.drone-topline{font-size:9px}.drone-topline>button{padding:3px 0 3px 9px}#drone-reference-link{font-size:10px;margin-top:6px}}

/* Индивидуальные изменения модели: короткая экскурсия и подробности выбранного места. */
.refinement-stop{display:flex;gap:10px;padding:15px 8px;border-bottom:1px solid #dce3d2;color:#496143;text-decoration:none}.refinement-stop>span{font-size:10px;color:#9a875c;padding-top:2px}.refinement-stop>div{flex:1}.refinement-stop strong{font-size:12px;font-weight:500}.refinement-stop p{font-size:10px;line-height:1.6;color:#849178;margin:6px 0 0}.refinement-stop:hover{background:#eaf0e2}.refinement-report-link{display:block;font-size:11px;line-height:1.6;color:#647b55;padding:18px 8px;text-underline-offset:4px}.selected-refinements{padding:13px 0 15px;border-bottom:1px solid #dce3d2;margin:0 0 13px}.refinement-label{font-size:8px;color:#7b8b65;line-height:1.5}.selected-refinements h3{font-size:12px;color:#496143;margin:7px 0}.selected-refinements ul{padding-left:15px;margin:8px 0 12px}.selected-refinements li{font-size:10px;line-height:1.7;color:#6d7d60;margin-bottom:5px}.selected-refinements a{font-size:10px;color:#617b50;text-underline-offset:3px}
.realm-viewport:has(.realm-inspector:not([hidden])) .realm-walk-cta,.realm-viewport:has(.realm-inspector:not([hidden])) .realm-view-caption{display:none}
/* На узком экране карточка оставляет верхнюю часть сцены свободной для модели. */
@media(max-width:680px){.realm-inspector{top:auto;bottom:143px;max-height:30%;padding:12px 14px}.realm-inspector h2{font-size:20px}.selected-refinements{padding-top:5px}.selected-refinements li{font-size:10px}}

/* Пеший маршрут остаётся подсказкой: движение всегда управляется самим пользователем. */
.walk-location-button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:12px;margin:12px 0;background:#536c48;color:#fff8df;border-radius:4px;font-size:11px}.walk-location-button svg{width:16px;height:16px}.walking-route-control{display:none;position:absolute;left:28px;top:165px;width:min(310px,calc(100% - 80px));background:#f8f7eaf0;border:1px solid #d2dac3;border-radius:6px;padding:12px;z-index:12;box-shadow:0 5px 22px #293f2420}.is-walking .walking-route-control{display:block}.walking-route-control label{display:block;font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#788768;margin-bottom:7px}.walking-route-control select{width:100%;font-size:11px;color:#415739;background:#f5f5e9;border:1px solid #cad2bb;border-radius:3px;padding:8px}.walking-route-control strong{display:block;font-size:12px;color:#465d3c;margin-top:12px}.walking-route-control p{font-size:10px;line-height:1.5;color:#7a896b;margin:7px 0}.walking-route-control button{font-size:10px;color:#8d7b4f;text-decoration:underline;text-underline-offset:3px}#walking-route-error{color:#9a624b}@media(max-width:680px){.walking-route-control{left:14px;top:164px;width:calc(100% - 80px);padding:9px}.walking-route-control strong{font-size:11px}.walking-route-control select{padding:7px}.walk-location-button{padding:10px;margin:9px 0}}

#bank-profile { display: none; }
.realm-viewport:has(#realm-canvas[data-shore-view]) .realm-walk-cta,
.realm-viewport:has(#realm-canvas[data-shore-view]) .realm-scene-heading .eyebrow,
.realm-viewport:has(#realm-canvas[data-shore-view]) #scene-status { display: none; }
.realm-viewport:has(#realm-canvas[data-shore-view]) .realm-scene-heading h2 { color: #fff9e9; text-shadow: 0 1px 7px #19272e; }
.realm-viewport:has(#realm-canvas[data-shore-view]):has(#realm-inspector[hidden]) #bank-profile {
  display: inline-block; pointer-events: auto; margin-top: 8px; padding: 6px 12px; border: 1px solid #ced6bd;
  color: #354939; background: #f5f3e9ed; border-radius: 4px; font: inherit; font-size: 12px; cursor: pointer;
}
#castle-nav { display: none; }
.realm-viewport:has(#realm-canvas[data-castle-view]) #castle-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; pointer-events: auto; }
#castle-nav label { position: absolute; clip-path: inset(50%); }
#castle-nav select, #castle-nav button { min-height: 32px; border: 1px solid #c2c4af; border-radius: 5px; color: #344736; background: #fffcf1ef; padding: .25rem .55rem; font: 500 11px/1.2 system-ui,sans-serif; cursor: pointer; }
.realm-viewport:has(#realm-canvas[data-castle-view]) :is(.realm-scene-heading .eyebrow,#scene-status,.realm-walk-cta,.realm-minimap,.realm-view-caption) { display: none; }
.realm-viewport:has(#realm-canvas[data-castle-view]) .realm-scene-heading h2 { color: #fff7e4; text-shadow: 0 1px 6px #242522,0 0 13px #22312a; }

#residents-panel[hidden], #resident-info[hidden] { display: none; }
.resident-row { text-decoration: none; color: inherit; }
.resident-row[aria-current] { background: #e4ead9; }
.resident-avatar { display: grid; flex: 0 0 33px; place-items: center; width: 33px; height: 37px; overflow: hidden; color: #536d58; border-radius: 4px; background: #e4e8d8; font: 21px Georgia, serif; }
.resident-avatar img { width: 100%; height: 100%; object-fit: cover; }
.resident-row > span:last-child { margin-left: auto; color: #859375; }
body.is-with-resident :is(.realm-walk-cta,.realm-view-caption,.realm-scene-heading > .eyebrow,#scene-status) { display: none; }
body.is-with-resident .realm-scene-heading { color: #304434; background: #faf8eaf0; border: 1px solid #c6ccb8; border-radius: 5px; padding: 10px 13px; }
body.is-with-resident .realm-scene-heading h2 { margin: 0 0 3px; font-size: 20px; }
#resident-info { pointer-events: auto; font-size: 11px; }
#resident-place { color: #596b50; }
#resident-info > div { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
#resident-info button { background: #49664a; color: #fffbe9; padding: 5px 9px; border-radius: 3px; }
#resident-info a { color: #52694c; text-decoration: underline; }
@media (max-width:680px) {
  body.is-with-resident .realm-scene-heading { top: 12px; left: 12px; }
  #resident-info { font-size: 10px; }
}

.realm-market-entry{position:absolute;left:28px;top:198px;z-index:4;padding:10px 13px;border:1px solid #c6c6a8;border-radius:5px;background:#f8f7e8;color:#435839;font-size:12px;box-shadow:0 3px 14px #27482c15}
.realm-market-entry span{margin-left:8px}
.realm-market-entry:hover,.realm-market-entry:focus-visible{background:#edebd2}
body:is(.is-walking,.is-drone,.is-with-resident,.has-reference-shot) .realm-market-entry,.realm-viewport:has(.realm-inspector:not([hidden])) .realm-market-entry{display:none}
.realm-market-counter{position:absolute;left:50%;bottom:153px;transform:translateX(-50%);width:max-content;max-width:min(410px,calc(100% - 32px));z-index:11;text-align:center;color:#293a26}
.realm-market-counter[hidden]{display:none}
.realm-market-counter button{padding:9px 15px;border:1px solid #d0d5b7;border-radius:5px;background:#f8f7e7;box-shadow:0 3px 15px #25372333;font-size:12px}
.realm-market-counter button:hover,.realm-market-counter button:focus-visible{background:#e7e8cc}
.realm-market-counter kbd{margin-left:9px;padding:2px 5px;border-radius:3px;background:#e5e8d3}
.realm-interaction-reply:not(:empty){margin:6px 0 0;padding:8px 12px;border-radius:5px;background:#f8f7e7;font-size:12px;line-height:1.4}
@media(max-width:680px){.realm-market-entry{left:18px;top:186px}.realm-market-counter{bottom:244px}}

#player-hud[hidden], #play-maomao[hidden] { display: none; }
#player-hud { position: absolute; top: 18px; left: 18px; z-index: 9; padding: 11px 14px; max-width: calc(100% - 36px); background: #f8f6e9ef; color: #344c39; border: 1px solid #c2cbb4; border-radius: 5px; }
#player-hud > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#player-hud strong { font: 20px Georgia, serif; }
#player-hud p { font-size: 10px; line-height: 1.65; margin: 5px 0 0; }
#player-hud button { border: 1px solid #b7c5ae; border-radius: 3px; padding: 4px 7px; font: 11px system-ui,sans-serif; }
#player-hud kbd { font: inherit; color: #697a63; }
#player-run, #player-jump { display: none; }
body.is-player :is(.realm-walk-cta,.realm-scene-heading,.realm-layer-controls,.realm-view-caption,.realm-minimap,.realm-reconstruction-note,.realm-bottom-panel,.realm-market-entry) { display: none; }
body.is-player #realm-canvas { touch-action: none; cursor: grab; }
body.is-player #realm-canvas:active { cursor: grabbing; }
@media (max-width:680px),(pointer:coarse) {
  body.is-player .realm-walking-dpad { display: grid; bottom: 22px; left: 18px; touch-action: none; }
  #player-hud { top: 12px; left: 12px; }
  #player-hud .player-keys { display: none; }
  #player-run { display: block; margin-top: 6px; }
  #player-jump:not([hidden]) { display: block; position: absolute; z-index: 12; right: max(20px, env(safe-area-inset-right)); bottom: max(50px, env(safe-area-inset-bottom)); min-width: 70px; min-height: 52px; border: 1px solid #b7c5ae; border-radius: 12px; background: #f6f8ecef; color: #344c39; font: 14px system-ui,sans-serif; touch-action: manipulation; }
  #player-jump:active { background: #b8c8a4; }
  #player-run[aria-pressed="true"] { background: #49664a; color: white; }
}
