[data-featured-gallery] {
  background: transparent;
}
[data-featured-gallery].has-film-motion {
  margin-top: calc(var(--handoff-space) * -.64);
}
[data-featured-gallery] .selected-stage {
  background: transparent;
}
[data-featured-gallery] .selected-stage::before {
  content: "";
  background:
    radial-gradient(ellipse 55% 37% at 82% 94%, #81503927, transparent 84%),
    radial-gradient(ellipse 66% 58% at 49% 79%, #334035 0%, #222b24 41%, transparent 88%),
    linear-gradient(180deg, var(--chapter-ink) 0%, #151a15 48%, #25271e 100%);
  mask-image: linear-gradient(180deg, transparent, #000 30%);
}
[data-featured-gallery] .gallery-scrubber { display: none; }
[data-featured-gallery].has-film-motion .gallery-scrubber {
  position: absolute;
  z-index: 4;
  bottom: clamp(1rem, 5svh, 3.7rem);
  left: 50%;
  translate: -50% 0;
  display: grid;
  align-items: center;
  width: clamp(6rem, 13vw, 10rem);
  height: 2.7rem;
}
[data-featured-gallery] .gallery-scrubber-track {
  position: relative;
  height: 3px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #e2edca5c 0 1px, #e2edca23 1px 9px);
  pointer-events: none;
}
[data-featured-gallery] .gallery-scrubber-track > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--sequence, 0) * 100%);
  background: #c8d1ad;
}
[data-featured-gallery] .gallery-scrubber-track > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  translate: 50% -50%;
  rotate: 45deg;
  background: #ffd0a6;
  box-shadow: 0 0 .75rem #ffd0a660;
}
[data-featured-gallery] .gallery-scrubber input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
[data-featured-gallery] .gallery-scrubber:focus-within {
  outline: 1px solid #c8d1ad;
  outline-offset: 4px;
}
[data-featured-gallery] .selected-stage::after,
[data-featured-gallery] .film-cover::before,
[data-featured-gallery] .film-cover::after { content: none; }
[data-featured-gallery] .selected-intro {
  border-bottom: 1px solid rgb(225 238 224 / calc(.035 + var(--ribbon-in, 1) * .10));
  padding-bottom: .8rem;
}
[data-featured-gallery] .film-name { color: #e7e9e6; }
[data-featured-gallery] .film-kind { background: transparent; color: #bbbdb9; }
[data-featured-gallery] .film-action { background: #e9ebe4; color: #151716; }
[data-featured-gallery] .film-cover,
[data-featured-gallery] .film-card[data-current] .film-cover { background: #111; box-shadow: none; }
[data-featured-gallery] .film-cover > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
[data-featured-gallery] .gallery-liquid,
.gallery-viewer .gallery-liquid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.gallery-viewer .gallery-liquid-video {
  right: auto;
  bottom: auto;
  clip-path: inset(0 0 min(18%, 55px) 0);
}
[data-featured-gallery].has-film-motion .film-card { width: min(54vw, 108svh, 70rem); }
@media (max-width: 700px) {
  [data-featured-gallery].has-film-motion .film-card { width: min(88vw, 104svh); }
}
[data-featured-gallery] .film-cover {
  scale: calc(1 + var(--screen-bulge, 0) * .035);
}
