/* Admin moderation 360 viewer — immersive read-only experience */
.amt-page{
    --amt-glass:rgba(12,16,24,.72);
    --amt-glass-strong:rgba(10,13,20,.9);
    --amt-line:rgba(255,255,255,.15);
    --amt-text:#f8fafc;
    --amt-muted:#c7cfdb;
    --amt-accent:#6f8cff;
    max-width:1600px;
    margin:0 auto;
    padding:1rem 1.2rem 1.5rem;
}
.amt-topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;padding:.15rem .1rem}.amt-topbar-main{display:flex;align-items:flex-start;gap:.85rem;min-width:0}.amt-back{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--bs-border-color);border-radius:13px;color:var(--bs-body-color);background:var(--bs-body-bg);text-decoration:none;box-shadow:0 6px 18px rgba(15,23,42,.06);transition:.2s ease}.amt-back:hover{transform:translateX(2px);border-color:rgba(59,102,245,.45);color:#3b66f5}.amt-heading{min-width:0}.amt-eyebrow{display:flex;align-items:center;gap:.45rem;margin-bottom:.32rem;color:#64748b;font-size:.76rem;font-weight:800}.amt-live-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12)}.amt-heading h1{margin:0;font-size:clamp(1.15rem,2vw,1.55rem);font-weight:950;letter-spacing:-.02em}.amt-heading p{margin:.35rem 0 0;color:#7b8494;font-size:.84rem;line-height:1.8;max-width:700px}.amt-summary{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;justify-content:flex-end}.amt-summary-item{display:flex;align-items:center;gap:.42rem;padding:.52rem .72rem;border:1px solid var(--bs-border-color);border-radius:999px;background:var(--bs-body-bg);font-size:.76rem;font-weight:800;color:#667085}.amt-summary-item i{color:#5774e8}.amt-summary-item strong{color:var(--bs-body-color)}.amt-readonly i{color:#18a06b}

.amt-viewer-shell{position:relative;min-height:clamp(570px,76vh,860px)!important;border-radius:26px!important;border:1px solid rgba(255,255,255,.08);overflow:hidden;background:#080b10;box-shadow:0 26px 70px rgba(4,9,20,.24);isolation:isolate}.amt-viewer{height:clamp(570px,76vh,860px)!important;min-height:570px!important;background:#080b10}.amt-viewer-vignette{position:absolute;inset:0;pointer-events:none;z-index:40;background:linear-gradient(180deg,rgba(0,0,0,.34) 0%,transparent 24%,transparent 57%,rgba(0,0,0,.62) 100%)}

.amt-top-hud{position:absolute;z-index:120;top:1rem;right:1rem;left:1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;direction:rtl;pointer-events:none}.amt-current-scene{display:flex;align-items:center;gap:.65rem;max-width:min(430px,55%);padding:.58rem .78rem;border:1px solid var(--amt-line);border-radius:15px;background:var(--amt-glass);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);color:var(--amt-text);box-shadow:0 10px 30px rgba(0,0,0,.16);pointer-events:auto}.amt-current-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:linear-gradient(135deg,#536fee,#7d94ff);color:white}.amt-current-scene small{display:block;color:var(--amt-muted);font-size:.68rem}.amt-current-scene strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;margin-top:.05rem}.amt-hud-actions{display:flex;align-items:center;gap:.38rem;pointer-events:auto}.amt-control{min-width:39px;height:39px;display:inline-flex;align-items:center;justify-content:center;gap:.42rem;padding:0 .68rem;border:1px solid var(--amt-line);border-radius:12px;color:white;background:var(--amt-glass);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);box-shadow:0 8px 24px rgba(0,0,0,.15);font-weight:800;font-size:.76rem;transition:.18s ease}.amt-control:hover{color:white;background:rgba(83,111,238,.92);border-color:rgba(255,255,255,.22);transform:translateY(-1px)}.amt-control-wide{padding-inline:.82rem}

.amt-center-hint{position:absolute;z-index:90;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:.5rem;padding:.5rem .8rem;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(5,8,13,.53);color:rgba(255,255,255,.88);backdrop-filter:blur(10px);font-size:.76rem;font-weight:750;pointer-events:none;animation:amtHintFade 5s ease forwards}.amt-center-hint i{font-size:1rem}@keyframes amtHintFade{0%,52%{opacity:1}100%{opacity:0;visibility:hidden}}

.amt-bottom-panel{position:absolute;z-index:115;right:1rem;left:1rem;bottom:1rem;padding:.62rem;border:1px solid var(--amt-line);border-radius:18px;background:linear-gradient(180deg,rgba(8,11,17,.68),rgba(8,11,17,.88));backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);direction:rtl;box-shadow:0 18px 45px rgba(0,0,0,.24)}.amt-scene-bar-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.15rem .25rem .55rem;color:white;font-size:.75rem;font-weight:850}.amt-scene-bar-head>div:first-child{display:flex;align-items:center;gap:.42rem}.amt-scene-bar-head i{color:#91a5ff}.amt-scene-progress{padding:.22rem .5rem;border-radius:999px;background:rgba(255,255,255,.09);color:#d5dbea;font-size:.68rem}.amt-scene-list{display:flex!important;flex-wrap:nowrap!important;gap:.5rem!important;overflow-x:auto;padding:.05rem .05rem .12rem;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}.amt-scene-card{min-width:180px;max-width:250px;flex:1 0 180px;display:flex;align-items:center;gap:.55rem;padding:.55rem .62rem!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:13px!important;background:rgba(255,255,255,.065)!important;color:white!important;text-align:right;transition:.18s ease;box-shadow:none!important}.amt-scene-card:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.22)!important;transform:translateY(-1px)}.amt-scene-card.active{background:linear-gradient(135deg,rgba(83,111,238,.92),rgba(102,127,245,.78))!important;border-color:rgba(174,189,255,.5)!important;box-shadow:0 7px 20px rgba(49,73,185,.25)!important}.amt-scene-number{width:31px;height:31px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:rgba(255,255,255,.12);font-size:.73rem;font-weight:900}.amt-scene-copy{min-width:0;flex:1}.amt-scene-copy strong,.amt-scene-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amt-scene-copy strong{font-size:.78rem}.amt-scene-copy small{margin-top:.08rem;color:rgba(255,255,255,.65);font-size:.63rem}.amt-scene-copy small i{color:#cbd5ff}.amt-scene-arrow{font-size:.72rem;color:rgba(255,255,255,.55)}

.amt-review-note{display:flex;align-items:center;gap:.72rem;margin-top:1rem;padding:.8rem 1rem;border:1px solid var(--bs-border-color);border-radius:16px;background:var(--bs-body-bg);box-shadow:0 8px 25px rgba(15,23,42,.045)}.amt-review-note-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#eaf7f1;color:#178755}.amt-review-note>div:nth-child(2){min-width:0;flex:1}.amt-review-note strong{display:block;font-size:.82rem}.amt-review-note span{display:block;margin-top:.12rem;color:#7a8495;font-size:.73rem;line-height:1.65}

/* Hotspots get a more tour-like look in moderation viewer */
/*.amt-viewer-shell .tour-hotspot-link{background:rgba(76,102,229,.94);border:2px solid rgba(255,255,255,.95);box-shadow:0 7px 22px rgba(0,0,0,.34),0 0 0 5px rgba(77,105,232,.15);transition:.18s ease}.amt-viewer-shell .tour-hotspot-link:hover{background:#5572ec;transform:none}.amt-viewer-shell .tour-hotspot-info-button{background:rgba(19,153,103,.95);box-shadow:0 7px 22px rgba(0,0,0,.34),0 0 0 5px rgba(19,153,103,.14)}.amt-viewer-shell .tour-hotspot-info-panel{border:1px solid rgba(15,23,42,.1);border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.25)}

/* Fullscreen keeps all HUD / scene controls visible */
.amt-viewer-shell:fullscreen{width:100vw;height:100vh;min-height:100vh!important;border:0!important;border-radius:0!important}.amt-viewer-shell:fullscreen .amt-viewer{width:100%;height:100vh!important;min-height:100vh!important}.amt-viewer-shell:fullscreen .amt-bottom-panel{bottom:1.2rem}.amt-viewer-shell:fullscreen .amt-top-hud{top:1.2rem}

[data-bs-theme="dark"] .amt-back,[data-bs-theme="dark"] .amt-summary-item,[data-bs-theme="dark"] .amt-review-note{background:#121722;border-color:#2d3442}.theme-dark .amt-back,.theme-dark .amt-summary-item,.theme-dark .amt-review-note{background:#121722;border-color:#2d3442}[data-bs-theme="dark"] .amt-heading p,[data-bs-theme="dark"] .amt-eyebrow,[data-bs-theme="dark"] .amt-summary-item,.theme-dark .amt-heading p,.theme-dark .amt-eyebrow,.theme-dark .amt-summary-item{color:#a8b2c2}[data-bs-theme="dark"] .amt-review-note-icon,.theme-dark .amt-review-note-icon{background:rgba(32,177,119,.13);color:#6bd9a7}[data-bs-theme="dark"] .amt-hotspot-info-panel,.theme-dark .amt-hotspot-info-panel{background:#151b26;color:#eef2f7}

@media(max-width:991.98px){.amt-topbar{align-items:flex-start}.amt-summary{display:none}.amt-viewer-shell{min-height:70vh!important}.amt-viewer{height:70vh!important}.amt-scene-card{flex-basis:165px;min-width:165px}.amt-review-note{align-items:flex-start;flex-wrap:wrap}.amt-review-note .btn{margin-right:auto}}
@media(max-width:767.98px){.amt-page{padding:.65rem 0 .9rem}.amt-topbar{padding:0 .8rem;margin-bottom:.7rem}.amt-heading p{display:none}.amt-back{width:38px;height:38px}.amt-viewer-shell{border-radius:0!important;border-right:0;border-left:0;min-height:74vh!important}.amt-viewer{height:74vh!important;min-height:500px!important}.amt-top-hud{top:.65rem;right:.65rem;left:.65rem;align-items:flex-start}.amt-current-scene{max-width:65%;padding:.45rem .55rem}.amt-current-icon{display:none}.amt-hud-actions{gap:.28rem}.amt-control{min-width:36px;height:36px;padding:0 .5rem}.amt-hud-actions .amt-control:not(.amt-control-wide):nth-child(-n+3){display:none}.amt-bottom-panel{right:.6rem;left:.6rem;bottom:.6rem;padding:.5rem;border-radius:15px}.amt-scene-card{min-width:150px;flex-basis:150px;padding:.48rem .52rem!important}.amt-scene-number{width:28px;height:28px}.amt-center-hint{font-size:.68rem}.amt-review-note{margin:.7rem .8rem 0}.amt-review-note .btn{width:100%}}

/* Public 360 tour specific refinements */
.pvt-page{padding-bottom:1.25rem}
.pvt-eyebrow{color:#5572ec}
.pvt-heading-separator{display:inline-block;margin:0 .35rem;color:#a3acba}
.pvt-summary-primary i{color:#655eea}
.pvt-property-link{text-decoration:none;transition:.18s ease}
.pvt-property-link:hover{border-color:rgba(59,102,245,.42);color:#3b66f5;transform:translateY(-1px)}
.pvt-brand-chip{position:absolute;z-index:100;left:1rem;bottom:8.8rem;display:flex;align-items:center;gap:.42rem;padding:.4rem .62rem;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(7,10,16,.55);color:rgba(255,255,255,.84);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-size:.68rem;font-weight:800;pointer-events:none}
.pvt-brand-chip i{color:#a9b8ff}
.pvt-footerbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding:.82rem 1rem;border:1px solid var(--bs-border-color);border-radius:16px;background:var(--bs-body-bg);box-shadow:0 8px 25px rgba(15,23,42,.045)}
.pvt-footer-copy{display:flex;align-items:center;gap:.72rem;min-width:0}
.pvt-footer-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#eef2ff;color:#5873e9}
.pvt-footer-copy>div{min-width:0}
.pvt-footer-copy strong{display:block;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pvt-footer-copy span{display:block;margin-top:.12rem;color:#7a8495;font-size:.73rem;line-height:1.65}
[data-bs-theme="dark"] .pvt-footerbar{background:#121722;border-color:#2d3442}
[data-bs-theme="dark"] .pvt-footer-icon{background:rgba(88,115,233,.14);color:#9eafff}
[data-bs-theme="dark"] .pvt-footer-copy span{color:#a8b2c2}
[data-bs-theme="dark"] .pvt-property-link:hover{color:#9db0ff}
@media(max-width:767.98px){.pvt-brand-chip{display:none}.pvt-footerbar{margin:.7rem .8rem 0;align-items:flex-start;flex-direction:column}.pvt-footerbar .btn{width:100%}.pvt-footer-copy span{white-space:normal}}
