/* Event controls overlay the safe viewport instead of reducing the image area. */
.event-heading{max-width:1600px;margin:0 auto 12px;padding:0 40px;display:flex;justify-content:space-between;align-items:end;gap:16px}
.event-heading h2{font-size:clamp(30px,4vw,48px);line-height:1.05;margin:0 0 7px}
.event-heading time,.event-heading p{font-size:14px;color:var(--subtle);margin:0}
.gallery-launch{position:relative;display:block;border:0;background:#111;color:white;padding:0;width:100%;cursor:pointer;text-align:left;font:inherit}
.gallery-launch-label{display:block;background:var(--yellow,#ffe24d);color:#111;padding:13px 18px;font-weight:700;font-size:16px}
.gallery-launch:hover .gallery-launch-label{text-decoration:underline;text-underline-offset:4px}
.gallery-launch:focus-visible{outline:4px solid #111;outline-offset:4px}
.gallery-card-note{font-size:13px;color:var(--subtle);margin:7px 0 0}
.event-social{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap}
.tse-gallery{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);box-sizing:border-box;position:fixed;inset:auto;margin:0;left:var(--gallery-left,0px);top:var(--gallery-top,0px);width:var(--gallery-width,100vw);height:var(--gallery-height,100dvh);max-width:none;max-height:none;border:0;background:#080808;color:#fff;padding:0;overflow:hidden;overscroll-behavior:contain}
.tse-gallery[open]{display:block}.tse-gallery::backdrop{background:#080808}
.gallery-stage{position:absolute;inset:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);min-width:0;min-height:0;display:flex;justify-content:center;align-items:center;touch-action:none;overflow:hidden}
.gallery-image{display:block;flex:none;max-width:100%;max-height:100%;object-fit:contain;margin:0;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.tse-gallery [hidden]{display:none!important}
.gallery-header{position:absolute;z-index:2;left:calc(var(--safe-left) + 6px);right:calc(var(--safe-right) + 6px);top:calc(var(--safe-top) + 4px);display:flex;align-items:start;justify-content:space-between;gap:8px;pointer-events:none}
.gallery-header h2{font-family:inherit;font-size:12px;line-height:1.25;font-weight:500;margin:0;padding:6px 8px;background:#080808b8;border-radius:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 56px);pointer-events:auto}
.tse-gallery button{font:inherit;color:#fff;background:#111b;border:1px solid #ffffff50;border-radius:50%;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;touch-action:manipulation}
.tse-gallery button:focus-visible,.tse-gallery a:focus-visible{outline:3px solid #ffe24d;outline-offset:2px}
.tse-gallery button:disabled{opacity:.25;cursor:default}
.tse-gallery .gallery-close{pointer-events:auto;flex-shrink:0;font-size:26px;line-height:1}
.gallery-controls{position:absolute;inset:0;pointer-events:none;z-index:2}
.gallery-controls button,.gallery-controls a{pointer-events:auto}
.gallery-controls .gallery-prev,.gallery-controls .gallery-next{position:absolute;top:calc(50% - 22px);font-size:28px}
.gallery-prev{left:calc(var(--safe-left) + 6px)}.gallery-next{right:calc(var(--safe-right) + 6px)}
.gallery-details{position:absolute;bottom:calc(var(--safe-bottom) + 4px);left:calc(var(--safe-left) + 6px);font-size:11px;line-height:1.25;background:#080808bc;padding:4px 7px;border-radius:3px;max-width:calc(100% - var(--safe-left) - var(--safe-right) - 76px)}
.gallery-details p{margin:0}.gallery-details a{display:inline-block;color:#ffe24d;text-decoration:underline;text-underline-offset:2px;padding:2px 0}.gallery-help{opacity:.75}
.tse-gallery .gallery-rotate{position:absolute;right:calc(var(--safe-right) + 6px);bottom:calc(var(--safe-bottom) + 4px);color:#ffe24d;border-color:#ffe24d;background:#111e;z-index:4}
.gallery-rotate svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gallery-rotate[data-selected="landscape"] .rotate-phone{transform:rotate(90deg);transform-origin:center}
.gallery-prompt{max-width:440px;text-align:center;padding:56px 16px;overflow:auto;max-height:100%;box-sizing:border-box}
.gallery-prompt h3{font-size:clamp(21px,4vw,30px);line-height:1.1;margin:0 0 12px;color:#ffe24d}.gallery-prompt p{font-size:14px;line-height:1.45;margin:0}
.tse-gallery .gallery-empty-switch{width:auto;border-radius:4px;padding:8px 14px;margin-top:18px;color:#ffe24d}
.phone-motion{display:block;width:120px;height:120px;color:#ffe24d;margin:auto}
.phone-motion svg{width:100%;height:100%;overflow:visible;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.phone-motion .phone-body{transform-origin:60px 60px;animation:phone-to-landscape 2.4s ease-in-out infinite}.phone-motion[data-target="portrait"] .phone-body{animation-name:phone-to-portrait}.phone-motion .motion-arrow{opacity:.6}
.gallery-prompt.is-rotation h3,.gallery-prompt.is-rotation p,.gallery-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gallery-tip{position:absolute;z-index:5;right:calc(var(--safe-right) + 6px);bottom:calc(var(--safe-bottom) + 58px);width:min(330px,calc(100% - var(--safe-left) - var(--safe-right) - 12px));box-sizing:border-box;padding:14px 48px 14px 15px;color:#111;background:#ffe24d;border-radius:8px;box-shadow:0 5px 24px #0008;font-size:13px;line-height:1.4}
.gallery-tip:after{content:"";position:absolute;right:16px;bottom:-8px;border:8px solid transparent;border-top-color:#ffe24d;border-bottom:0}.gallery-tip p{margin:0}
.tse-gallery .gallery-tip-toggle{display:block;background:none;color:inherit;border:0;border-radius:0;width:100%;height:auto;min-width:44px;min-height:44px;padding:0;text-align:left;font-size:inherit;line-height:inherit}
.tse-gallery .gallery-tip-toggle:focus-visible,.tse-gallery .gallery-tip-dismiss:focus-visible{outline-color:#111}
.tse-gallery .gallery-tip-dismiss{position:absolute;top:1px;right:1px;background:transparent;color:#111;border:0;font-size:23px}
.gallery-rotate.is-highlighted{box-shadow:0 0 0 4px #ffe24d60;animation:rotate-highlight 1.2s ease-in-out infinite alternate}
body.gallery-open{overflow:hidden}
@keyframes phone-to-landscape{0%,15%{transform:rotate(0deg)}55%,85%{transform:rotate(90deg)}100%{transform:rotate(0deg)}}
@keyframes phone-to-portrait{0%,15%{transform:rotate(90deg)}55%,85%{transform:rotate(0deg)}100%{transform:rotate(90deg)}}
@keyframes rotate-highlight{to{box-shadow:0 0 0 7px #ffe24d30}}
@media(max-width:760px){.event-heading{padding-inline:12px;align-items:start;flex-direction:column;gap:6px}.gallery-launch-label{padding:12px;font-size:15px}.event-social{text-align:left}.gallery-card-note{font-size:12px}}
@media(hover:none) and (pointer:coarse){.gallery-help{display:none}.gallery-header h2{font-size:10px;padding:4px 6px}.gallery-details{font-size:10px}}
@media(max-height:350px){.gallery-header h2{font-size:10px}.gallery-help{display:none}.phone-motion{width:90px;height:90px}.gallery-tip{font-size:12px;padding-block:10px}}
@media(prefers-reduced-motion:reduce){.phone-motion .phone-body,.gallery-rotate.is-highlighted{animation:none}.phone-motion[data-target="landscape"] .phone-body{transform:rotate(90deg)}.phone-motion[data-target="portrait"] .phone-body{transform:rotate(0deg)}}

.tse-gallery .gallery-reset{position:absolute;z-index:4;right:calc(var(--safe-right) + 58px);bottom:calc(var(--safe-bottom) + 4px);width:auto;padding:0 12px;border-radius:22px;font-size:12px;background:#111e}
.gallery-image{transform-origin:center;will-change:transform}
.tse-gallery.is-zoomed .gallery-details{max-width:calc(100% - var(--safe-left) - var(--safe-right) - 170px)}
