.idom-lightbox { box-sizing: border-box; position: fixed; inset: 0; margin: 0; border: 0; padding: 64px 16px 112px; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; background: rgba(10,12,15,.96); color: white; overflow: hidden; }
.idom-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.idom-lightbox::backdrop { background: #0a0c0f; }
.idom-lightbox .idom-lightbox__image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; touch-action: pan-y pinch-zoom; user-select: none; }
.idom-lightbox button { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 8px; border: 1px solid #aaa; border-radius: 8px; background: #20242a; color: #fff; font: 28px/1 sans-serif; cursor: pointer; }
.idom-lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.idom-lightbox button:disabled { color: #aaa; cursor: default; }
.idom-lightbox__close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }
.idom-lightbox__controls { position: absolute; bottom: max(16px, env(safe-area-inset-bottom)); left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 24px; }
.idom-lightbox [role=status] { min-width: 64px; text-align: center; font: 18px/1.5 sans-serif; }
.idom-lightbox__caption { position: absolute; left: 16px; right: 16px; bottom: 72px; margin: 0; color: #fff; text-align: center; font: 14px/1.4 sans-serif; }
.gallery__item:has(.gallery__caption) { position: relative; }
.gallery__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; background: rgba(10,12,15,.84); color: #fff; font-size: 12px; line-height: 1.35; }
.gallery-shell { position: relative; min-width: 0; }
.gallery-shell > .slider { scrollbar-width: none; }
.gallery-shell > .slider::-webkit-scrollbar { display: none; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 0; color: var(--c-text); }
.gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c2cbd3; border-radius: 50%; background: #fff; color: #06070f; font: 24px/1 sans-serif; cursor: pointer; }
.gallery-controls button:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.gallery-controls [role=status] { min-width: 64px; text-align: center; font-size: 14px; }
/* The original Zero element supplies geometry, the native slider fills it. */
.tn-atom__gallery, .tn-atom__gallery > .gallery-shell, .tn-atom__gallery .slider { width: 100%; height: 100%; }
.tn-atom__gallery .slider .gallery__item, .tn-atom__gallery .slider img { width: 100%; height: 100%; object-fit: cover; }
.tn-atom__gallery .gallery-controls { position: absolute; bottom: 8px; left: 8px; right: 8px; padding: 4px; width: fit-content; margin-inline: auto; border-radius: 32px; background: rgba(255,255,255,.95); }
.embed--tour [data-tour-status] { position: relative; z-index: 1; margin: 0; padding: 24px; max-width: 48ch; text-align: center; }
.embed--tour button { position: relative; z-index: 1; }
.embed--tour .tour-fallback { position: absolute; z-index: 2; bottom: 8px; right: 8px; left: 8px; margin: auto; width: fit-content; padding: 8px 12px; border-radius: 8px; background: #fff; color: #06070f; font-size: 13px; }
.embed--tour [hidden] { display: none; }
