.ivi360-host{position:relative;overflow:hidden;background:#111;isolation:isolate}.ivi360-canvas,.ivi360-fallback{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab;user-select:none}.ivi360-canvas:active,.ivi360-fallback:active{cursor:grabbing}.ivi360-fallback{background-repeat:repeat-x;background-color:#111;background-position:50% 50%;transition:background-size .08s linear}.ivi360-overlay{position:absolute;inset:0;pointer-events:none}.ivi360-hotspot{position:absolute;z-index:5;display:flex;align-items:center;gap:6px;transform:translate(-50%,-50%);padding:0;border:0;background:transparent;color:#fff;pointer-events:auto;cursor:pointer;filter:drop-shadow(0 4px 9px rgba(0,0,0,.35))}.ivi360-hotspot>span{width:30px;height:30px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:var(--ivi-accent,#19452f);font:800 10px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.ivi360-hotspot>b{max-width:150px;padding:5px 7px;border-radius:7px;background:rgba(15,13,18,.76);font:700 9px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap}.ivi360-controls{position:absolute;z-index:7;left:10px;bottom:10px;display:flex;gap:5px}.ivi360-controls button{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.65);border-radius:9px;background:rgba(20,17,23,.72);color:#fff;font:700 17px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;backdrop-filter:blur(8px);cursor:pointer}.ivi360-controls button:last-child{font-size:15px}.ivi360-status{position:absolute;z-index:8;inset:0;display:grid;place-items:center;align-content:center;gap:9px;padding:22px;background:linear-gradient(145deg,#f4f1f5,#ece8ef);color:#6d6671;text-align:center}.ivi360-status[hidden]{display:none}.ivi360-status small{font:750 9px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.ivi360-status strong{max-width:420px;font:750 12px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#312b35}.ivi360-status button{padding:8px 13px;border:0;border-radius:9px;background:var(--ivi-accent,#19452f);color:#fff;font:750 10px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.ivi360-spinner{width:29px;height:29px;border:2px solid #d9d1dd;border-top-color:var(--ivi-accent,#19452f);border-radius:50%;animation:ivi360spin .75s linear infinite}@keyframes ivi360spin{to{transform:rotate(360deg)}}
.ivi360-host.is-placement-mode .ivi360-canvas,.ivi360-host.is-placement-mode .ivi360-fallback{cursor:crosshair}.ivi360-placement-marker{position:absolute;z-index:9;width:24px;height:24px;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:var(--ivi-accent,#19452f);box-shadow:0 4px 16px rgba(0,0,0,.45);pointer-events:none}
@media(max-width:760px){.ivi360-hotspot>b{display:none}.ivi360-hotspot>span{width:34px;height:34px}.ivi360-controls{left:8px;bottom:8px}.ivi360-controls button{width:38px;height:38px}}

/* 0.16.4 — cleaner immersive hotspot pins */
.ivi360-hotspot{width:48px;height:48px;display:grid;place-items:center;filter:none}.ivi360-hotspot>span{position:relative;width:38px!important;height:38px!important;border:1px solid rgba(255,255,255,.92)!important;background:rgba(255,255,255,.88)!important;color:transparent!important;font-size:0!important;box-shadow:0 9px 24px rgba(0,0,0,.3),0 0 0 7px rgba(255,255,255,.14)!important;backdrop-filter:blur(8px);transition:transform .18s,box-shadow .18s}.ivi360-hotspot>span:before{content:"";position:absolute;left:50%;top:50%;width:11px;height:11px;transform:translate(-50%,-50%);border-radius:50%;background:var(--ivi-accent,#19452f);box-shadow:0 0 0 4px color-mix(in srgb,var(--ivi-accent,#19452f) 20%,transparent)}.ivi360-hotspot>b{position:absolute;left:50%;bottom:51px;max-width:190px;padding:7px 9px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(14,11,16,.84);font:720 9px/1.25 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transform:translate(-50%,5px);pointer-events:none;transition:.16s;backdrop-filter:blur(9px)}.ivi360-hotspot:hover>span,.ivi360-hotspot:focus-visible>span{transform:scale(1.08);box-shadow:0 11px 30px rgba(0,0,0,.36),0 0 0 8px rgba(255,255,255,.18)!important}.ivi360-hotspot:hover>b,.ivi360-hotspot:focus-visible>b{opacity:1;transform:translate(-50%,0)}
@media(max-width:760px){.ivi360-hotspot{width:50px;height:50px}.ivi360-hotspot>span{width:40px!important;height:40px!important}.ivi360-hotspot>b{display:none}}

/* 0.16.5 — hotspot leggibili, nominati e chiaramente interattivi */
.ivi360-hotspot{
  width:auto!important;min-width:48px;height:48px;display:flex!important;align-items:center!important;gap:8px!important;
  overflow:visible!important;filter:none!important;isolation:isolate;
}
.ivi360-hotspot>span{
  position:relative;width:40px!important;height:40px!important;flex:0 0 40px;display:grid!important;place-items:center!important;
  border:2px solid rgba(255,255,255,.98)!important;border-radius:50%!important;background:rgba(20,17,23,.78)!important;
  box-shadow:0 8px 26px rgba(0,0,0,.34),0 0 0 5px rgba(255,255,255,.16)!important;backdrop-filter:blur(9px);
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.ivi360-hotspot>span i{display:block;width:12px;height:12px;border-radius:50%;background:var(--ivi-accent,#19452f);box-shadow:0 0 0 4px color-mix(in srgb,var(--ivi-accent,#19452f) 24%,transparent)}
.ivi360-hotspot>span:before{content:none!important}
.ivi360-hotspot>span:after{
  content:"";position:absolute;inset:-8px;border:2px solid rgba(255,255,255,.68);border-radius:50%;opacity:.15;
  animation:ivi360HotspotPulse 2.15s ease-out infinite;pointer-events:none;
}
.ivi360-hotspot>b{
  position:static!important;display:block!important;max-width:190px!important;padding:8px 11px!important;border:1px solid rgba(255,255,255,.6)!important;
  border-radius:11px!important;background:rgba(255,255,255,.94)!important;color:#241e27!important;box-shadow:0 8px 24px rgba(0,0,0,.2)!important;
  font:780 11px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  opacity:1!important;transform:none!important;pointer-events:none;backdrop-filter:blur(10px);
}
.ivi360-hotspot:hover>span,.ivi360-hotspot:focus-visible>span{transform:scale(1.1)!important;box-shadow:0 10px 32px rgba(0,0,0,.4),0 0 0 7px rgba(255,255,255,.2)!important}
.ivi360-hotspot:hover>b,.ivi360-hotspot:focus-visible>b{transform:translateY(-1px)!important;background:#fff!important}
@keyframes ivi360HotspotPulse{0%{transform:scale(.72);opacity:.7}70%,100%{transform:scale(1.36);opacity:0}}
@media(prefers-reduced-motion:reduce){.ivi360-hotspot>span:after{animation:none}.ivi360-hotspot>span{transition:none!important}}
@media(max-width:760px){
  .ivi360-hotspot{min-width:44px;height:44px;gap:6px!important}.ivi360-hotspot>span{width:38px!important;height:38px!important;flex-basis:38px}.ivi360-hotspot>b{display:block!important;max-width:124px!important;padding:6px 8px!important;border-radius:9px!important;font-size:9.5px!important}
}
@media(max-width:420px){.ivi360-hotspot>b{max-width:104px!important;font-size:9px!important}.ivi360-hotspot>span{width:36px!important;height:36px!important;flex-basis:36px}.ivi360-hotspot>span i{width:10px;height:10px}}

/* 0.16.7 — gesture loader inspired by immersive camera viewers */
.ivi360-status{background:rgba(8,11,13,.82)!important;color:#fff!important;backdrop-filter:blur(7px);transition:opacity .18s ease}
.ivi360-gesture-loader{display:grid;justify-items:center;gap:10px;width:min(520px,88vw);padding:24px 18px;text-align:center;color:#fff}
.ivi360-gesture-loader>strong{margin-top:5px;font:760 clamp(18px,2.5vw,28px)/1.12 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.025em}
.ivi360-gesture-loader>small{font:520 clamp(12px,1.55vw,16px)/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:rgba(255,255,255,.86)}
.ivi360-drag-track{position:relative;width:min(320px,72vw);height:104px;display:flex;align-items:center;justify-content:center}
.ivi360-drag-track>i{position:absolute;top:27px;width:96px;height:14px;border-top:6px solid rgba(255,255,255,.68);opacity:.88}
.ivi360-drag-track>i.left{left:12px}.ivi360-drag-track>i.right{right:12px}
.ivi360-drag-track>i:before{content:"";position:absolute;top:-14px;width:24px;height:24px;border-top:7px solid rgba(255,255,255,.78);border-left:7px solid rgba(255,255,255,.78);border-radius:3px}
.ivi360-drag-track>i.left:before{left:-1px;transform:rotate(-45deg)}.ivi360-drag-track>i.right:before{right:-1px;transform:rotate(135deg)}
.ivi360-drag-device{position:relative;z-index:2;width:54px;height:82px;border:3px solid rgba(255,255,255,.96);border-radius:28px;background:rgba(0,0,0,.17);box-shadow:0 8px 32px rgba(0,0,0,.28)}
.ivi360-drag-device:before{content:"";position:absolute;left:50%;top:14px;width:6px;height:20px;border:2px solid #fff;border-radius:99px;transform:translateX(-50%);box-shadow:0 0 0 5px rgba(255,255,255,.08)}
.ivi360-drag-device b{position:absolute;left:50%;top:15px;width:6px;height:18px;border-radius:99px;background:#fff;transform:translateX(-50%);animation:ivi360DragNudge 1.45s ease-in-out infinite}
@keyframes ivi360DragNudge{0%,100%{transform:translateX(-50%)}35%{transform:translateX(-16px)}70%{transform:translateX(10px)}}
@media(prefers-reduced-motion:reduce){.ivi360-drag-device b{animation:none}}
@media(max-width:540px){.ivi360-drag-track{height:88px}.ivi360-drag-device{width:47px;height:70px}.ivi360-drag-track>i{width:74px;top:24px}.ivi360-gesture-loader{padding:18px 12px}}

/* 0.16.11 — mobile panorama interaction stabilization */
@media (max-width:900px){
  .ivi360-host{width:100%!important;max-width:100%!important;min-height:180px!important;touch-action:none!important}.ivi360-canvas,.ivi360-fallback{touch-action:none!important}.ivi360-controls{left:8px!important;bottom:max(8px,env(safe-area-inset-bottom,0px))!important;gap:6px!important}.ivi360-controls button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:12px!important}.ivi360-hotspot{min-width:46px!important;min-height:46px!important}.ivi360-hotspot>span{width:40px!important;height:40px!important;flex-basis:40px!important}.ivi360-hotspot>b{max-width:min(34vw,132px)!important;font-size:9.5px!important}.ivi360-status{padding:14px!important}.ivi360-gesture-loader{width:min(94vw,520px)!important;padding:16px 10px!important}.ivi360-drag-track{width:min(290px,78vw)!important}
}
@media (max-width:420px){.ivi360-hotspot>b{max-width:110px!important}.ivi360-controls button{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}.ivi360-gesture-loader>strong{font-size:19px!important}.ivi360-gesture-loader>small{font-size:12px!important}}


/* =========================================================
   0.16.12 — mobile 360 engine hardening
   ========================================================= */
.ivi360-host{contain:layout paint;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.ivi360-host,.ivi360-canvas,.ivi360-fallback{touch-action:none!important}
.ivi360-host.is-fallback .ivi360-fallback{display:block!important}
.ivi360-host.is-fallback .ivi360-canvas{display:none!important}
.ivi360-controls button[hidden]{display:none!important}
.ivi360-hotspot{-webkit-tap-highlight-color:transparent;touch-action:manipulation!important}
@media (pointer:coarse),(max-width:900px){
  .ivi360-host{min-width:0!important;min-height:0!important;width:100%!important;height:100%!important}
  .ivi360-canvas,.ivi360-fallback{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
  .ivi360-controls{left:max(10px,env(safe-area-inset-left,0px))!important;bottom:max(10px,env(safe-area-inset-bottom,0px))!important;gap:7px!important}
  .ivi360-controls button{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;border-radius:14px!important;font-size:18px!important;box-shadow:0 8px 24px rgba(0,0,0,.25)!important}
  .ivi360-hotspot{min-width:48px!important;min-height:48px!important;gap:6px!important}
  .ivi360-hotspot>span{width:42px!important;height:42px!important;flex-basis:42px!important}
  .ivi360-status{padding:max(18px,env(safe-area-inset-top,0px)) 14px max(18px,env(safe-area-inset-bottom,0px))!important}
  .ivi360-gesture-loader{width:min(92vw,430px)!important;gap:8px!important}
  .ivi360-gesture-loader>strong{font-size:clamp(19px,5.5vw,25px)!important}
  .ivi360-gesture-loader>small{max-width:30ch;font-size:12px!important;line-height:1.45!important}
}
@media (max-width:540px){
  .ivi360-hotspot>b{display:none!important}
  .ivi360-controls button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
}
@media (orientation:landscape) and (max-height:520px){
  .ivi360-gesture-loader{transform:scale(.84);transform-origin:center}
  .ivi360-controls{bottom:max(8px,env(safe-area-inset-bottom,0px))!important}
}

/* =========================================================
   0.16.23 — hotspot touch reliability + permanent labels
   ========================================================= */
.ivi360-overlay{pointer-events:none!important;z-index:6!important}
.ivi360-hotspot{
  width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;
  display:grid!important;place-items:center!important;padding:0!important;border:0!important;
  overflow:visible!important;pointer-events:auto!important;touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;cursor:pointer!important;isolation:isolate!important
}
.ivi360-hotspot>span{width:40px!important;height:40px!important;flex:none!important;position:relative!important;z-index:2!important}
.ivi360-hotspot>b{
  position:absolute!important;left:calc(100% + 7px)!important;right:auto!important;top:50%!important;bottom:auto!important;
  transform:translateY(-50%)!important;display:block!important;max-width:min(210px,34vw)!important;
  padding:7px 10px!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:10px!important;
  background:rgba(255,255,255,.96)!important;color:#211b24!important;box-shadow:0 8px 24px rgba(0,0,0,.22)!important;
  font:800 10.5px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;opacity:1!important;
  pointer-events:none!important;backdrop-filter:blur(10px)!important
}
.ivi360-hotspot.is-edge-right>b{left:auto!important;right:calc(100% + 7px)!important}
.ivi360-hotspot.is-edge-top>b{top:calc(100% + 5px)!important;transform:none!important}
.ivi360-hotspot.is-edge-bottom>b{top:auto!important;bottom:calc(100% + 5px)!important;transform:none!important}
.ivi360-hotspot:focus-visible{outline:3px solid rgba(255,255,255,.96)!important;outline-offset:4px!important;border-radius:999px!important}
@media(max-width:760px),(pointer:coarse){
  .ivi360-hotspot{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important}
  .ivi360-hotspot>span{width:42px!important;height:42px!important}
  .ivi360-hotspot>b{display:block!important;max-width:min(150px,38vw)!important;padding:7px 9px!important;font-size:10px!important}
}
@media(max-width:390px){.ivi360-hotspot>b{max-width:124px!important;font-size:9.5px!important}}
