/* 360 controls stay independent of gallery image and button styling. */
.panorama-stage{position:relative;width:100%;height:100%;background:#171814 center/cover;border-radius:18px;overflow:hidden}
.panorama-stage .panorama-video{display:block!important;position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;opacity:.001;pointer-events:none}.panorama-stage canvas{display:block;width:100%;height:100%;touch-action:none}
.panorama-badge{position:absolute;top:12px;left:12px;padding:4px 7px;border-radius:14px;background:#2228;color:#fff;font:10px monospace;pointer-events:none}
.panorama-stage button{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:50%;padding:0;background:transparent;color:#fff;font:600 10px/1 Arial;cursor:pointer;isolation:isolate;box-sizing:border-box}
.panorama-stage button::before{content:"";position:absolute;inset:5px;border:1px solid #fff4;background:#2229;border-radius:50%;z-index:-1}
.panorama-stage button:focus-visible::before{background:#b6543d}.panorama-stage button:focus-visible{outline:2px solid #fff;outline-offset:1px}
.panorama-stage button svg{display:block;width:18px;height:18px;margin:0;pointer-events:none}.panorama-stage [data-audio][aria-pressed=false] svg{opacity:.6}.panorama-stage [data-audio][aria-pressed=true]{color:#f5c28b}
.panorama-stage .panorama-full{position:absolute;top:4px;right:4px;z-index:4}
.panorama-tools{position:absolute;bottom:4px;left:4px;right:4px;display:flex;gap:0;justify-content:flex-start;z-index:4}.panorama-tools [data-quality]{margin-left:auto}
.panorama-message{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;background:#222b;border-radius:8px;padding:8px;max-width:80%;font:12px/1.4 Arial;pointer-events:none;text-align:center}.panorama-message[hidden],.panorama-loading[hidden]{display:none!important}
.panorama-loading{position:absolute;left:50%;top:50%;width:56px;height:56px;transform:translate(-50%,-50%);pointer-events:none;z-index:3;background:none}
.panorama-stage .panorama-loading img[alt]{display:block;width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;max-width:56px!important;max-height:56px!important;object-fit:contain!important;object-position:center;border-radius:0;filter:none!important;transform:none!important;animation:ride-load 1.2s ease-in-out infinite;box-shadow:none}
.panorama-loading:not([hidden])~.panorama-message{top:calc(50% + 47px);padding:0;background:none;border:0;box-shadow:none;text-shadow:0 1px 4px #000;z-index:3;font:11px/1.3 Arial;width:80%;white-space:normal}
@keyframes ride-load{0%,100%{opacity:1;scale:1}50%{opacity:.22;scale:.88}}@media(prefers-reduced-motion:reduce){.panorama-stage .panorama-loading img[alt]{animation:none}}
.panorama-stage:fullscreen{border-radius:0;width:100vw;height:100dvh}.panorama-stage:fullscreen canvas,.panorama-overlay canvas{touch-action:none}.panorama-overlay{padding:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;background:#171814}.panorama-overlay .panorama-stage{height:100dvh;border-radius:0}.panorama-overlay::backdrop{background:#111}.panorama-window{aspect-ratio:16/9}.panorama-fullscreen .phone-tilt-status{display:none}
.reel-360 .reel-heading h2{font-size:clamp(48px,7vw,100px)}.reel-360 .memory-open{translate:none!important;rotate:none!important}
@media(max-width:800px){.reel-360 .reel-heading h2{font-size:clamp(32px,9.2vw,46px)}.panorama-badge{top:10px;left:10px}.panorama-stage .panorama-loading img[alt],.panorama-loading{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;max-height:48px!important}.panorama-stage .panorama-loading:not([hidden])~.panorama-message{top:calc(50% + 40px)}}

.panorama-stage button[data-quality]{width:96px;min-width:96px;flex-basis:96px;display:flex;justify-content:center;gap:2px;border-radius:24px;padding:5px}.panorama-stage button[data-quality]::before{inset:5px 0;border-radius:24px}.panorama-stage .quality-option{display:grid;place-items:center;width:42px;height:30px;border-radius:18px;font:600 11px/1 Arial;color:#ddd}.panorama-stage .quality-option.selected{background:#eeeedd;color:#292a26;box-shadow:0 1px 4px #0004}

@media(hover:hover){.panorama-stage button:not([data-reset]):hover::before{background:#b6543d}}
.panorama-stage [data-reset]:focus-visible::before{background:#2229}
.panorama-stage [data-reset]:active::before{background:#b6543d}
