.ev360{position:relative;width:100%;height:var(--ev360-height,520px);max-height:80vh;min-height:240px;background:#202522;color:#fff;overflow:hidden;border-radius:8px;isolation:isolate;font-family:system-ui,sans-serif}.ev360 canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-3px}.ev360 canvas:active{cursor:grabbing}.ev360 button{font:inherit;color:#fff;background:#202522;border:1px solid #ffffff65;border-radius:6px;cursor:pointer;line-height:1.2}.ev360 button:focus-visible{outline:3px solid #fff;outline-offset:2px}.ev360-start{position:absolute;inset:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;background:linear-gradient(rgba(0,0,0,.20),rgba(0,0,0,.45)), var(--ev360-poster) center center / cover no-repeat}.ev360-start span{font-size:44px;text-shadow:0 2px 12px rgba(0,0,0,.45)}.ev360-start strong{font-size:22px;line-height:1.25;max-width:34ch;text-shadow:0 2px 12px rgba(0,0,0,.45)}.ev360-start small{font-size:14px;opacity:.92;text-shadow:0 2px 10px rgba(0,0,0,.45)}.ev360-tools{position:absolute;bottom:12px;right:12px;left:12px;display:flex;justify-content:center;gap:6px;flex-wrap:wrap;pointer-events:none}.ev360-tools button{pointer-events:auto;min-width:44px;min-height:44px;padding:8px 12px;background:#202522df}.ev360-status{position:absolute;top:12px;left:12px;right:12px;background:#202522d9;padding:8px;border-radius:5px;text-align:center;pointer-events:none}.ev360-status:empty{display:none}.ev360:fullscreen{height:100%;max-height:none;border-radius:0}.ev360.ev360-expanded{position:fixed;inset:0;width:100%;height:100%;max-height:none;z-index:2147483647;border-radius:0}.ev360 [hidden]{display:none!important}@media(max-width:600px){.ev360{max-height:65vh}.ev360-tools button{padding:7px 9px}.ev360-start strong{font-size:18px}.ev360-start span{font-size:34px}} 

.ev360-gallery{width:100%;font-family:system-ui,sans-serif}.ev360-gallery .ev360-panel[hidden]{display:none!important}.ev360-gallery .ev360-choices{display:flex;gap:10px;overflow-x:auto;padding:8px 0 4px;scroll-snap-type:x proximity}.ev360-gallery .ev360-choices button.ev360-choice{appearance:none;display:block;flex:0 0 136px;width:136px;height:76px;min-width:0;min-height:0;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;cursor:pointer;scroll-snap-align:start;overflow:hidden}.ev360-gallery .ev360-choices button.ev360-choice:hover,.ev360-gallery .ev360-choices button.ev360-choice[aria-pressed=true]{background:none;border:0;box-shadow:none}.ev360-gallery .ev360-choice img,.ev360-gallery .ev360-thumb-placeholder{display:block;width:100%;height:100%;max-width:none;margin:0;padding:0;object-fit:cover;border:0;border-radius:0;box-shadow:none}.ev360-gallery .ev360-choice:focus-visible{outline:2px solid #202522;outline-offset:-2px}@media(max-width:600px){.ev360-gallery .ev360-choices button.ev360-choice{flex-basis:112px;width:112px;height:62px}}

/* V1.2: bounded responsive dimensions; legacy height limits are preserved. */
.ev360{width:var(--ev360-width,100%);max-width:100%}.ev360-gallery{width:var(--ev360-gallery-width,100%);max-width:100%}.ev360.ev360-explicit-height{min-height:0;max-height:none}.ev360:fullscreen,.ev360.ev360-expanded{width:100%;max-width:none;height:100%;max-height:none}

/* V4.2: only a bounded cover before explicit activation; no panorama as a CSS background. */
.ev360>.ev360-cover{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;display:block;pointer-events:none;z-index:0}
.ev360 canvas{position:relative;z-index:1}.ev360 .ev360-tools,.ev360 .ev360-status{z-index:2}
.ev360 .ev360-start{z-index:3;box-sizing:border-box;background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.48));color:#fff;border:0;border-radius:inherit;text-align:center}
.ev360 .ev360-start:hover{background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.42));color:#fff}
.ev360 .ev360-start.ev360-loading{cursor:wait;opacity:1;background:rgba(0,0,0,.5)}
.ev360 .ev360-start .ev360-spinner{width:42px;height:42px;box-sizing:border-box;border:3px solid rgba(255,255,255,.38);border-top-color:#fff;border-radius:50%;animation:ev360-spin .9s linear infinite}
@keyframes ev360-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.ev360 .ev360-start .ev360-spinner{animation:none}}

/* V4.4: retain the approved artwork, including its embedded CTA. No cropping or double text. */
.ev360>.ev360-universal-cover{object-fit:contain;background:#e6d9c9}
.ev360.ev360-cover-ready .ev360-start:not(.ev360-loading):not(.ev360-error),.ev360.ev360-cover-ready .ev360-start:not(.ev360-loading):not(.ev360-error):hover{background:transparent;box-shadow:none}
.ev360.ev360-cover-ready .ev360-start:not(.ev360-loading):not(.ev360-error)>*{visibility:hidden}
.ev360.ev360-cover-ready .ev360-start:focus-visible{outline:3px solid #503e2e;outline-offset:-4px}
.ev360.ev360-cover-ready .ev360-start.ev360-error{background:rgba(0,0,0,.65)}

/* V4.5: gallery-scoped cover display. No page-level overrides. */
.ev360.ev360-cover-fill{background-size:cover;background-position:center center;background-repeat:no-repeat}
.ev360.ev360-cover-fill>.ev360-universal-cover{object-fit:cover;object-position:center center;background:transparent}
.ev360.ev360-cover-fill.ev360-background-ready>.ev360-universal-cover{visibility:hidden}
.ev360.ev360-custom-cover.ev360-cover-ready .ev360-start:not(.ev360-loading):not(.ev360-error){background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.45))}
.ev360.ev360-custom-cover.ev360-cover-ready .ev360-start:not(.ev360-loading):not(.ev360-error)>*{visibility:visible}
