/* Preserve each block's original finish. On light palettes only, ease the
   existing poster scrim slightly; desktop and mobile retain their own gradients. */
html[data-color-scheme="light"] :is(.studio-page, .a2-page)[data-page-audience] :is(
  .movie-premiere__shade,
  .studio-taste-lead__shade,
  .studio-taste-card__shade,
  .studio-mood-story__shade,
  .studio-rank-card__shade,
  .news-spectrum-card__shade,
  .studio-hub-card__art > span:empty:not([class])
),
html[data-color-scheme="light"] :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-exact-premiere, .studio-exact-films > a, .latest-identity__card--lead .latest-identity__art
)::after {
  opacity: .9;
}

/* Exclusive films share the site's light palette. Keep the upper artwork
   clear and feather the surface behind the existing lettering at its foot. */
html[data-color-scheme="light"] [data-exclusive-strip] .movie-premiere__panel {
  --film-tint: color-mix(in srgb, var(--studio-color-card) 90%, var(--studio-color-accent));
  --film-title: var(--studio-color-heading);
  --film-detail: color-mix(in srgb, var(--film-title) 90%, var(--studio-color-text-secondary));
  --film-link: color-mix(in srgb, var(--film-title) 88%, var(--studio-color-link));
  --film-copy-depth: 104px;
  background-color: var(--studio-color-card);
  border-color: var(--studio-color-border);
  filter: none;
}
html[data-color-scheme="light"] body.studio-theme .studio-page[data-page-audience] [data-exclusive-strip] .movie-premiere__panel > .movie-premiere__shade {
  opacity: 1;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--film-tint) 78%, transparent) 0,
    color-mix(in srgb, var(--film-tint) 73%, transparent) 48px,
    color-mix(in srgb, var(--film-tint) 68%, transparent) var(--film-copy-depth),
    color-mix(in srgb, var(--film-tint) 32%, transparent) calc(var(--film-copy-depth) + 28px),
    color-mix(in srgb, var(--film-tint) 8%, transparent) calc(var(--film-copy-depth) + 55px),
    transparent calc(var(--film-copy-depth) + 82px));
}
html[data-color-scheme="light"] body.studio-theme .studio-page [data-exclusive-strip] .movie-premiere__panel .movie-premiere__copy > strong {
  color: var(--film-title) !important;
}
html[data-color-scheme="light"] body.studio-theme .studio-page [data-exclusive-strip] .movie-premiere__panel .movie-premiere__copy > em {
  color: var(--film-detail) !important;
}
html[data-color-scheme="light"] [data-exclusive-strip] .movie-premiere__panel .movie-premiere__copy > :is(small, i),
html[data-color-scheme="light"] [data-exclusive-strip] .movie-premiere__panel .movie-premiere__copy > i span {
  color: var(--film-link);
  border-color: color-mix(in srgb, var(--film-title) 18%, transparent);
}
@media (min-width: 1101px) {
  html[data-color-scheme="light"] body.studio-theme .studio-page[data-page-audience] [data-exclusive-strip] .movie-premiere__panel:not(.is-active) > .movie-premiere__shade {
    opacity: .38;
  }
  html[data-color-scheme="light"] [data-exclusive-strip] .movie-premiere__panel.is-active {
    box-shadow: 0 3px 9px color-mix(in srgb, var(--studio-color-accent) 6%, transparent);
  }
  html[data-color-scheme="light"] [data-exclusive-strip] .movie-premiere__panel:focus-visible {
    box-shadow: 0 10px 26px color-mix(in srgb, var(--studio-color-accent) 15%, transparent);
  }
}
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  html[data-color-scheme="light"] [data-exclusive-strip] .movie-premiere__panel:hover {
    box-shadow: 0 10px 26px color-mix(in srgb, var(--studio-color-accent) 15%, transparent);
  }
}
@media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
  html[data-color-scheme="light"] [data-exclusive-strip] .movie-premiere__panel {
    transition: flex .62s cubic-bezier(.16,1,.3,1), transform .4s, border-color .35s, filter .35s, box-shadow .35s;
  }
  html[data-color-scheme="light"] body.studio-theme .studio-page[data-page-audience] [data-exclusive-strip] .movie-premiere__panel > .movie-premiere__shade {
    transition: opacity .4s ease;
  }
}
@media (max-width: 1100px) {
  /* Rail cards always display their caption and allow two lines per title. */
  html[data-color-scheme="light"] [data-exclusive-strip] .movie-premiere__panel {
    --film-copy-depth: 160px;
  }
  html[data-color-scheme="light"] [data-exclusive-strip] .movie-premiere__panel.is-active {
    box-shadow: none;
  }
}

/* Collection artwork uses the hue of its containing palette. These selectors target work and news cards in home blocks. */
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-taste-lead, .studio-taste-card, .studio-hub-card, .studio-hub-finale-card,
  .studio-mood-story, .studio-rank-card, .news-spectrum-card, .latest-identity__card,
  .movie-art-tile, .story-wave-card, .studio-exact-premiere, .studio-exact-films > a,
  .studio-exact-episode, .studio-card, .member-work-card, .a2-card, .builder-news__card, .builder-artist,
  .pulse-art, .movie-screen-art, .movie-frame-scene, .movie-reel-art, .movie-lens-image,
  .bridge-ticket-art, .bridge-passport-poster, .romance-art, .studio-hub-row__visual,
  .cinema-dossier__scene, .cinema-dossier__thumb, .exclusive-doublebill__scene, .exclusive-doublebill__encore-art,
  [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__panel
) {
  --work-art-tint: color-mix(in srgb, var(--studio-color-card) 90%, var(--studio-color-accent));
  --work-art-title: var(--studio-color-heading);
  --work-art-detail: color-mix(in srgb, var(--studio-color-heading) 90%, var(--studio-color-text-secondary));
  --work-art-link: color-mix(in srgb, var(--studio-color-heading) 88%, var(--studio-color-link));
  --work-art-shadow: 0 3px 9px color-mix(in srgb, var(--studio-color-accent) 6%, transparent);
  --work-art-edge: var(--studio-color-border);
  --work-art-copy: 27%;
  --work-art-fade: linear-gradient(to top,
    color-mix(in srgb, var(--work-art-tint) 78%, transparent) 0%,
    color-mix(in srgb, var(--work-art-tint) 73%, transparent) calc(var(--work-art-copy) * .5),
    color-mix(in srgb, var(--work-art-tint) 68%, transparent) var(--work-art-copy),
    color-mix(in srgb, var(--work-art-tint) 32%, transparent) calc(var(--work-art-copy) + 8%),
    color-mix(in srgb, var(--work-art-tint) 8%, transparent) calc(var(--work-art-copy) + 17%),
    transparent calc(var(--work-art-copy) + 26%));
  border-color: var(--work-art-edge) !important;
  box-shadow: var(--work-art-shadow) !important;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .news-spectrum-card, .studio-taste-lead, .studio-hub-card.is-lead,
  .studio-hub-finale-card.is-accent, .latest-identity__card--lead, .movie-art-tile
) {
  --work-art-copy: 36%;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-taste-lead, .studio-taste-card, .studio-hub-card, .studio-hub-finale-card,
  .studio-mood-story, .studio-rank-card, .news-spectrum-card, .latest-identity__card,
  .movie-art-tile, .story-wave-card, .studio-exact-premiere, .studio-exact-films > a,
  .studio-exact-episode, .studio-card, .member-work-card, .a2-card, .builder-news__card, .builder-artist,
  .pulse-art, .movie-screen-art, .movie-frame-scene, .movie-reel-art, .movie-lens-image,
  .bridge-ticket-art, .bridge-passport-poster, .romance-art, .studio-hub-row__visual,
  .cinema-dossier__scene, .cinema-dossier__thumb, .exclusive-doublebill__scene, .exclusive-doublebill__encore-art,
  [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__panel
):is(:focus-visible, :has(:focus-visible)) {
  --work-art-edge: color-mix(in srgb, var(--studio-color-accent) 38%, var(--studio-color-border));
  --work-art-shadow: 0 8px 22px color-mix(in srgb, var(--studio-color-accent) 14%, transparent);
}
@media (hover: hover) and (pointer: fine) {
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-taste-lead, .studio-taste-card, .studio-hub-card, .studio-hub-finale-card,
  .studio-mood-story, .studio-rank-card, .news-spectrum-card, .latest-identity__card,
  .movie-art-tile, .story-wave-card, .studio-exact-premiere, .studio-exact-films > a,
  .studio-exact-episode, .studio-card, .member-work-card, .a2-card, .builder-news__card, .builder-artist,
  .pulse-art, .movie-screen-art, .movie-frame-scene, .movie-reel-art, .movie-lens-image,
  .bridge-ticket-art, .bridge-passport-poster, .romance-art, .studio-hub-row__visual,
  .cinema-dossier__scene, .cinema-dossier__thumb, .exclusive-doublebill__scene, .exclusive-doublebill__encore-art,
  [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__panel
):hover {
  --work-art-edge: color-mix(in srgb, var(--studio-color-accent) 38%, var(--studio-color-border));
  --work-art-shadow: 0 8px 22px color-mix(in srgb, var(--studio-color-accent) 14%, transparent);
}
}

/* Replace only a visual layer that already sits beneath a caption. Cards with separate captions keep a clear photograph. */
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-taste-lead__shade, .studio-taste-card__shade, .studio-rank-card__shade,
  .studio-mood-story__shade, .news-spectrum-card__shade,
  .studio-hub-card__art > span:empty:not([class]),
  [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__shade
),
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-hub-finale-card > .vip-poster, .studio-exact-premiere, .studio-exact-films > a,
  .latest-identity__card--lead .latest-identity__art, .guest-movies .movie-art-tile,
  .story-wave-card, .movie-screen-art
)::after {
  background: var(--work-art-fade) !important;
  opacity: 1;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .pulse-art, .bridge-ticket-art, .movie-frame-scene, .a2-card-img,
  .news-spectrum-card figure
)::after,
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .movie-lens-image-shade {
  background: none !important;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .movie-screen-art {
  --work-art-copy: 12%;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .latest-identity__card--lead {
  --work-art-copy: min(53%, 192px);
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .builder-news__card {
  background-color: var(--studio-color-card) !important;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .builder-news__card h3 {
  color: var(--studio-color-heading) !important;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .builder-news__card > div > :is(p, footer) {
  color: var(--studio-color-text-secondary) !important;
}
@media (max-width: 680px) {
  html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .news-spectrum-card {
    background-color: var(--studio-color-card) !important;
}
}

/* Portrait captions sit outside the photograph. Circle layouts keep the shadow on the round frame. */
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .builder-artists:not(.builder-artists--circles) .builder-artist {
  background: var(--studio-color-card);
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .builder-artists.builder-artists--circles .builder-artist {
  box-shadow: none !important;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .builder-artists--circles .builder-artist figure {
  border-color: var(--work-art-edge);
  box-shadow: var(--work-art-shadow);
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .builder-artist figure {
  background: var(--studio-color-surface);
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .builder-artist h3, .builder-artist footer b
) {
  color: var(--studio-color-heading);
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .builder-artist small, .builder-artist p, .builder-artist footer span
) {
  color: var(--studio-color-text-secondary);
}

/* The standard film rail allows two lines for both names. Keep tint under its whole caption as it wraps. */
@media (max-width: 1100px) {
  html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__panel {
    --work-art-copy: min(55%, 190px);
}
}
@media (min-width: 1101px) {
  html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__panel:not(.is-active) > .movie-premiere__shade {
    opacity: .38;
}
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .romance-art::after {
  background: linear-gradient(90deg, transparent 83%, color-mix(in srgb, var(--studio-color-border) 24%, transparent));
}

/* The scene lead inherits its caption tokens. Preserve the independent lettering of access badges, episode status and play buttons. */
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .latest-identity__card--lead {
  --le-on-art: var(--work-art-title);
  --le-art-scrim: var(--studio-color-card);
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-taste-lead__copy, .studio-taste-card__copy, .studio-mood-story__copy, .studio-rank-card__copy,
  .studio-hub-card__copy, .studio-hub-finale-card > div, .news-spectrum-card__content, .movie-art-copy,
  .story-wave-title, .studio-exact-premiere > div, .studio-exact-films > a > div,
  .latest-identity__card--lead .latest-identity__copy,
  [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__copy
) {
  color: var(--work-art-title) !important;
  text-shadow: none !important;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-taste-lead__copy > strong, .studio-taste-card__copy > strong, .studio-mood-story__copy > strong,
  .studio-rank-card__copy > strong, .studio-hub-card__copy h3, .studio-hub-finale-card > div h3,
  .news-spectrum-card__content h3, .movie-art-copy > strong, .story-wave-title > strong,
  .studio-exact-premiere > div h3, .studio-exact-films > a > div h3, .latest-identity__card--lead h3,
  [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__copy > strong
) {
  color: var(--work-art-title) !important;
  text-shadow: none !important;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-taste-card__copy > em, .studio-taste-lead__copy > em, .studio-mood-story__copy > em,
  .studio-rank-card__copy em, .studio-rank-card__copy span > i, .studio-hub-card__copy > em,
  .studio-hub-card__copy > span > i, .studio-hub-finale-card > div > :is(p, em, small),
  .news-spectrum-card__content > p, .news-spectrum-card__content footer :is(span, b, time),
  .movie-art-secondary, .movie-art-copy .guest-movie-facts, .story-wave-title > :is(small, em),
  .studio-exact-premiere > div > :is(p, small), .studio-exact-films > a > div > :is(p, small),
  .latest-identity__card--lead :is(.latest-identity__secondary, .latest-identity__synopsis, .latest-identity__episode time),
  [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__copy > em
) {
  color: var(--work-art-detail) !important;
  text-shadow: none !important;
}
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-taste-card__copy > small, .studio-taste-lead__copy > :is(small, i), .studio-mood-story__copy > small,
  .news-spectrum-card__content footer em, .news-spectrum-card__pulse,
  .studio-exact-premiere > div > span, .movie-screen-caption, .movie-screen-caption > :is(b, span),
  [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__copy > :is(small, i)
) {
  color: var(--work-art-link) !important;
  text-shadow: none !important;
}

/* Honor the site’s explicit guest artwork effect. The decorative duplicate backdrops and the main slider have independent image behavior. */
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .studio-most-watched__panel.has-rank-focus .studio-rank-card:not(.is-rank-focus),
html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__panel:not(.is-active) {
  filter: none !important;
  opacity: 1 !important;
}
html[data-color-scheme="light"]:not(:has(link[data-guest-work-art])) body.studio-theme[data-guest-art-effect="none"] :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-taste-lead > .vip-poster, .studio-taste-card > .vip-poster,
  .studio-rank-card__art, .studio-mood-story__art, .studio-hub-card__art,
  .studio-hub-finale-card > .vip-poster, .studio-hub-row__visual, .news-spectrum-card figure,
  .movie-art-tile, .studio-exact-premiere, .studio-exact-films > a, .studio-exact-episode > .art,
  .latest-identity__art, .pulse-art, .story-wave-card, .movie-frame-scene, .movie-screen-art,
  .movie-reel-art, .movie-lens-image, .bridge-ticket-art, .bridge-passport-poster, .romance-art,
  .studio-card-art, .member-work-art, .a2-card-img, .builder-news__card figure,
  .cinema-dossier__scene, .cinema-dossier__thumb, .exclusive-doublebill__scene, .exclusive-doublebill__encore-art,
  [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__art
) > img {
  filter: none !important;
}

/* Use the original animation on expanding galleries and add the softer rim to the same transition. */
@media (prefers-reduced-motion: no-preference) {
  html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] :is(
  .studio-taste-card, .studio-taste-lead, .studio-hub-row__visual,
  .movie-screen-art, .movie-frame-scene, .movie-reel-art, .romance-art, .bridge-ticket-art, .builder-artists--circles .builder-artist figure,
  .cinema-dossier__scene, .cinema-dossier__thumb, .exclusive-doublebill__scene, .exclusive-doublebill__encore-art
) {
    transition: border-color .3s, box-shadow .3s;
}
  html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .pulse-art {
    transition: transform .3s ease, border-color .3s, box-shadow .3s;
}
  html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] [data-guest-premiere] > .studio-exact-premiere {
    transition: flex-basis .6s var(--premiere-ease), border-color .3s, box-shadow .3s;
}
  html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] .story-wave-card {
    transition: flex-grow .65s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
}
  html[data-color-scheme="light"] body.studio-theme :is(.studio-page, .a2-page)[data-page-audience] [data-movie-premiere]:not([data-exclusive-strip]) .movie-premiere__panel {
    transition: flex .62s cubic-bezier(.16,1,.3,1), transform .4s, filter .35s, border-color .3s, box-shadow .3s;
}
}

/* Fit home headlines to their own cards. */
body .news-spectrum-card__content, body [data-spectrum-trends] a > span, body .studio-most-watched .studio-rank-card__copy {min-width:0;}
body .news-spectrum-card .news-spectrum-card__content h3, body [data-spectrum-trends] a > span > b, body .studio-most-watched .studio-rank-card__copy > :is(strong,em) {display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%;min-width:0;min-height:0!important;height:auto!important;margin-block:0!important;}
body .news-spectrum-card .news-spectrum-card__content h3 {font-size:clamp(14px,1.18vw,20px)!important;line-height:1.5!important;color:var(--studio-color-heading)!important;}
body .news-spectrum-card.is-pulse .news-spectrum-card__content h3 {font-size:clamp(18px,1.65vw,29px)!important;}
body .studio-most-watched .studio-rank-card__copy {display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:3px!important;}
body .studio-most-watched .studio-rank-card__copy > :is(strong,em) {line-height:1.4!important;}
