.teaser {padding:24px 0 26px;background:#f4f4f5}
.teaser-shell {width:min(1500px,100%);margin-inline:auto;padding-inline:clamp(15px,3.8vw,40px)}
.showcase-toolbar {display:flex;align-items:center;justify-content:center;gap:9px;margin:0 auto 18px}
.showcase-tabs {display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #ded9e9;background:#eae7f0;border-radius:100px}
.showcase-tabs button {border:0;background:transparent;border-radius:99px;padding:8px 24px;font-size:14px;font-weight:600;line-height:1.2;color:#635c70;min-width:118px;transition:background .18s,color .18s}
.showcase-tabs button[aria-pressed=true] {background:#fff;color:#65518f;box-shadow:0 1px 5px #45366918}
.showcase-navigation {display:flex;align-items:center;gap:2px;color:#71677e;font-size:12px;font-variant-numeric:tabular-nums}
.showcase-navigation button {display:grid;place-items:center;width:27px;height:30px;padding:0;border:0;border-radius:6px;background:transparent;color:#73618f;font-size:24px;line-height:1}
.showcase-navigation button:hover {background:#e6e1ef;color:#4d367a}
.showcase-navigation span {min-width:34px;text-align:center}
.carousel-pause {display:grid;place-items:center;width:34px;height:34px;border:1px solid #ded9e5;border-radius:50%;background:#f9f8fb;color:#706283;font-size:14px;line-height:1}
.carousel-pause:hover,.showcase-tabs button:hover {color:#4d367a}
.carousel-frame {position:relative}
.carousel-viewport {overflow-x:auto;overflow-y:hidden;scrollbar-width:none;container-type:inline-size;overscroll-behavior-inline:contain;scroll-snap-type:x proximity}
.carousel-viewport::-webkit-scrollbar {display:none}
.teaser .carousel-grid {
  --gap:12px;
  /* Three 832:480 videos determine the shared height, regardless of the active group. */
  --tile-height:clamp(140px,calc((100cqw - 24px)/5.2),275px);
  display:flex;align-items:flex-start;justify-content:center;gap:var(--gap);width:max-content;min-width:100%;padding:3px 0 4px;
}
.teaser .gallery-tile {display:flex;flex-direction:column;flex:0 0 auto;gap:8px;width:calc(var(--tile-height)*var(--tile-ratio));min-width:0;aspect-ratio:auto;padding:0;border:0;background:transparent;border-radius:10px;box-shadow:none;overflow:visible;text-align:left;scroll-snap-align:start;isolation:isolate}
.teaser .tile-media {position:relative;width:100%;height:var(--tile-height);border-radius:10px;overflow:hidden;background:#171719;box-shadow:0 1px 3px #00000016;isolation:isolate}
.teaser .tile-media video {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;background:#171719}
.teaser .gallery-tile:focus-visible {outline:3px solid #9171d1;outline-offset:3px}
.teaser .tile-badge {position:absolute;right:8px;bottom:8px;padding:4px 8px;border-radius:50px;border:1px solid #ffffff69;background:#1a1a23b8;color:#fff;font-size:11px;font-weight:600;line-height:1.3;backdrop-filter:blur(5px)}
.teaser .gallery-tile[aria-pressed=true] .tile-badge {background:#68508fce}
.teaser .gallery-tile .tile-label {position:static;display:grid;gap:3px;align-content:start;padding:0 3px;min-height:37px;max-width:100%;color:#34313b;text-shadow:none;background:transparent;text-align:left}
.teaser .tile-label strong {display:block;font-size:14px;font-weight:650;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.teaser .tile-label span {display:block;font-size:12px;font-weight:400;color:#797281;line-height:1.2;padding:0;background:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.teaser .gallery-note {margin:12px auto 0;color:#77717f;font-size:13px;text-align:center}
@media(max-width:900px){.teaser .carousel-grid{--tile-height:clamp(150px,calc((100cqw - 22px)/3.5),215px);--gap:10px}.teaser .tile-label strong{font-size:13px}}
@media(max-width:550px){.teaser{padding:18px 0 20px}.teaser .carousel-grid{--tile-height:clamp(135px,calc((100cqw - 4px)/1.733333),215px);--gap:9px}.showcase-toolbar{margin-bottom:11px}.showcase-tabs button{padding:8px 16px;min-width:96px;font-size:13px}.teaser .tile-label strong{font-size:12px}.teaser .tile-label span{font-size:11px}.teaser .gallery-note{font-size:12px;line-height:1.5}.teaser .tile-badge{right:6px;bottom:6px;font-size:10px}}
@media(max-width:390px){.showcase-toolbar{gap:4px}.showcase-tabs button{min-width:80px;padding:8px 10px}.showcase-navigation button{width:21px}.carousel-pause{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.showcase-tabs button{transition:none}}
