/* Preserve the prototype at its large desktop size; only constrain the player
   when the available content height requires it. Keep the requested extra gap. */
@media (min-width:800px) {
  /* Pointer focus and playback selection share the original active artwork;
     do not add a second outline around either the tab or its disc. */
  body.vg-home .film-cinema .cinema-tab,
  body.vg-home .film-cinema .cinema-tab:focus-visible {
    outline:none;
    border-radius:0;
  }
}
@media (min-width:1700px) and (min-height:1240px) {
  body.vg-home .film-section.film-cinema {
    --film-media-height:max(200px,calc(100svh - var(--vg-header-height) - 648px));
    scroll-margin-top:0;
  }
  .vg-home .film-cinema .cinema-stage {width:min(100%,calc(var(--film-media-height) * 16 / 9));justify-self:end}
  body.vg-home.vg-overlay .film-cinema .cinema-tablist {margin-top:120px}
}
/* Short desktop windows retain the compact layout; content can grow at zoom. */
@media (min-width:800px) and (max-width:1699px), (min-width:1700px) and (max-height:1239px) {
  body.vg-home .film-section.film-cinema {
    --film-media-height:clamp(200px,calc(100svh - var(--vg-header-height) - 356px),760px);
    --vg-section-title:clamp(28px,min(2.8vw,5svh),52px);
    margin-block:24px 56px;
    padding-block:clamp(18px,2.6svh,28px);
    padding-bottom:8px;
    /* The document already reserves the sticky header for anchor scrolling. */
    scroll-margin-top:0;
  }
  .vg-home .film-cinema .cinema-top-row {
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(0,2fr);
    align-items:center;
    gap:clamp(28px,4vw,72px);
  }
  .vg-home .film-cinema .cinema-editorial {display:block;padding:0}
  .vg-home .film-cinema .cinema-editorial>.eyebrow {margin-bottom:16px}
  .vg-home .film-cinema .cinema-intro {margin-top:18px;font-size:clamp(14px,.9vw,17px);line-height:1.75}
  .vg-home .film-cinema .cinema-stage {width:min(100%,calc(var(--film-media-height) * 16 / 9));justify-self:end}
  .vg-home .film-cinema .cinema-media {aspect-ratio:16/9}
  .vg-home .film-cinema .cinema-player-foot {margin-top:10px}
  body.vg-home.vg-overlay .film-cinema .cinema-tablist {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:clamp(20px,1.8vw,32px);
    margin-top:calc(clamp(20px,3svh,32px) + 24px);
    padding-top:14px;
  }
  .vg-home .film-cinema .cinema-tab,
  .vg-home .film-cinema .cinema-tab[data-chapter] {
    --thumb-size:clamp(60px,min(5.2vw,10svh),100px);
    grid-template-columns:calc(var(--thumb-size) + 10px) minmax(0,1fr);
    gap:clamp(12px,1.1vw,20px);
    min-height:0;margin:0;padding:14px 0 8px;
  }
  .vg-home .film-cinema .cinema-tab-copy {gap:6px}
  .vg-home .film-cinema .cinema-tab-title {font-size:clamp(15px,1.05vw,20px);line-height:1.4}
  .vg-home .film-cinema .cinema-tab-description {font-size:clamp(12px,.75vw,14px);line-height:1.65}
  .vg-home .film-cinema .cinema-tab-meta {margin-top:0;min-height:18px;gap:6px;font-size:11px}
  .vg-home .film-cinema .cinema-tab-current {font-size:11px}
  .vg-home .film-cinema .cinema-tab-number {top:-22px}
  .vg-home .film-cinema .cinema-footnote {margin-top:16px;padding-top:12px;font-size:10px}
}
