/* LUXORA 3D viewer: engine styles only (canvas, projected hotspots, loading bar). Safe to load beside any UI stylesheet. */
.lx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; touch-action: none; user-select: none; -webkit-user-select: none; }
canvas#lx-canvas:active, .lx-canvas:active { cursor: grabbing !important; }
canvas#lx-canvas:focus-visible, .lx-canvas:focus-visible { box-shadow: inset 0 0 0 2px rgba(201, 165, 92, .6); }

/* hotspots: HTML placed every frame from a 3D point. The wrapper has no size; children hang from its origin. */
.lx-hotspots { position: absolute; inset: 0; overflow: hidden; pointer-events: none; contain: layout style; z-index: 5; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.lx-hotspots--fixed { position: fixed; }
.lx-hotspot { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; transition: opacity .25s; }
.lx-hotspot.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.lx-hotspot > * { pointer-events: auto; }

/* generic pill (items without kind) */
.lx-hotspot__pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); margin: -10px 0 0; padding: 7px 12px; min-height: 32px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px;
  font: 500 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #0e2531; white-space: nowrap; cursor: pointer; background: rgba(255, 255, 255, .8); box-shadow: 0 6px 18px rgba(10, 40, 60, .18), inset 0 1px 0 rgba(255, 255, 255, .7); }
.lx-hotspot__pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 10px; margin-left: -1px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 4px rgba(10, 40, 60, .35); }
.lx-hotspot__pin:hover, .lx-hotspot__pin:focus-visible { background: #fff; outline: 2px solid #1086a8; outline-offset: 2px; }

/* site / zone pins (interface contract): ink + gold, matching the LUXORA panels */
.lx-hs { --ink: #0C0B09; --gold: #C9A55C; --cream: #EFE6D2; position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; font: 600 12px/1 "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif; color: var(--cream); -webkit-tap-highlight-color: transparent; }
.lx-hs__dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 11, 9, .84); border: 1.5px solid var(--gold); box-shadow: 0 0 0 5px rgba(12, 11, 9, .32), 0 4px 12px rgba(0, 0, 0, .35);
  transition: transform .2s, background-color .2s, color .2s; font-variant-numeric: tabular-nums; }
.lx-hotspot--zone .lx-hs__dot { width: 18px; height: 18px; border: 2px solid var(--cream); background: rgba(12, 11, 9, .7); }
.lx-hs__label { position: absolute; left: 50%; bottom: calc(50% + 24px); transform: translateX(-50%); padding: 0 11px; height: 26px; line-height: 25px; border-radius: 13px; white-space: nowrap; font-weight: 500; font-size: 13px;
  color: var(--cream); background: rgba(12, 11, 9, .84); border: 1px solid rgba(201, 165, 92, .55); opacity: 0; visibility: hidden; transition: opacity .2s; pointer-events: none; }
html[lang="ar"] .lx-hs__label { font-family: "Tajawal", "Geeza Pro", "Noto Naskh Arabic", Tahoma, sans-serif; }
.lx-hotspot--zone .lx-hs__label, .lx-hotspot.is-active .lx-hs__label, .lx-hotspot.is-hover .lx-hs__label, .lx-hs:hover .lx-hs__label, .lx-hs:focus-visible .lx-hs__label { opacity: 1; visibility: visible; }
.lx-hotspot--zone .lx-hs__label { bottom: calc(50% + 17px); }
.lx-hotspot.is-hover .lx-hs__dot, .lx-hs:hover .lx-hs__dot { background: var(--cream); color: var(--ink); }
.lx-hotspot--zone.is-hover .lx-hs__dot, .lx-hotspot--zone .lx-hs:hover .lx-hs__dot { border-color: #fff; background: rgba(12, 11, 9, .7); }
.lx-hotspot.is-active .lx-hs__dot { background: var(--gold); color: var(--ink); transform: scale(1.18); }
.lx-hs:focus-visible { outline: none; } .lx-hs:focus-visible .lx-hs__dot { outline: 2px solid #E3C98F; outline-offset: 3px; }
.lx-hs__ad { position: absolute; left: 50%; bottom: calc(50% + 56px); width: 112px; height: 63px; margin-left: -56px; object-fit: cover; border: 1px solid var(--gold); border-radius: 4px; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); background: var(--ink);
  opacity: 0; visibility: hidden; transition: opacity .2s; pointer-events: none; }
.lx-hotspot.is-active .lx-hs__ad, .lx-hotspot.is-hover .lx-hs__ad, .lx-hs:hover .lx-hs__ad { opacity: 1; visibility: visible; }

/* loading bar: add <div class="lx-loading" data-lx-loader><i></i></div> */
.lx-loading { position: fixed; left: 50%; top: 50%; width: 180px; height: 3px; margin: -1px 0 0 -90px; border-radius: 3px; background: rgba(14, 37, 49, .18); overflow: hidden; z-index: 6; transition: opacity .6s; pointer-events: none; }
.lx-loading i { display: block; height: 100%; background: #0e2531; transform: scaleX(var(--lx-progress, .04)); transform-origin: left; transition: transform .3s; }
[dir="rtl"] .lx-loading i { transform-origin: right; }
.lx-loading--dark { background: rgba(239, 230, 210, .16); } .lx-loading--dark i { background: #C9A55C; }
.lx-loading.is-done { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .lx-hotspot, .lx-loading, .lx-loading i, .lx-hs__dot, .lx-hs__label, .lx-hs__ad { transition: none; } }
