/* Home posters and shelf navigation. */
.hero[data-hero-id] {background:linear-gradient(145deg,#37312c,#181716 72%)}
.hero[data-hero-id]>img {opacity:0;display:block;height:100%;width:100%;object-fit:cover}
.hero[data-hero-id]>img.hero-ready {opacity:1}
main:has(>.heroWrap) {max-width:none}
main:has(>.heroWrap)>.section {max-width:1440px;margin-inline:auto}
.hero[data-hero-id] {min-height:clamp(340px,58svh,540px)}
.hero-controls {position:absolute;right:var(--pad);bottom:4px;display:flex;align-items:center;gap:4px}
.hero-controls .dots {position:static}
.hero-pager {display:none}
@media(max-width:900px){
  .heroWrap .hero-controls {
    top:12px;right:var(--pad);bottom:auto;z-index:1;gap:0;
    background:rgb(14 15 17 / 84%);border:1px solid #ffffff26;border-radius:24px;
  }
  .heroWrap .hero-cycle {border-right:1px solid #ffffff24;border-radius:24px 0 0 24px}
  .hero-controls .dots {display:none}
  .hero-pager {display:flex;align-items:center}
  .hero-pager button {width:44px;height:44px;font-size:24px;color:var(--text)}
  .hero-pager span {min-width:46px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums;color:var(--text)}
}
.hero-cycle {display:grid;place-items:center;width:44px;height:44px;color:var(--text)}
.hero-cycle span {width:9px;height:12px;border-inline:3px solid currentColor}
.hero-cycle[data-playing=false] span {width:0;height:0;border:0;border-block:6px solid transparent;border-left:9px solid currentColor}
@media(min-width:760px){
  #catalogScroll>header {min-height:68px}
  .hero[data-hero-id] {min-height:clamp(310px,calc(100svh - 80px),760px)}
  .hero-controls {bottom:12px}
}
a.card {color:inherit;text-decoration:none}
.card .ct.full-title {
  display:block;overflow:visible;background:var(--panel);border-radius:4px;
  scroll-margin-block:8px calc(76px + var(--safe-bottom));
}
.shelf-actions,.shelf-arrows {display:flex;align-items:center;gap:4px}
.shelf-arrows[hidden] {display:none}
.shelf-arrows button {display:grid;place-items:center;min-width:44px;min-height:44px}
.shelf-arrows svg {width:18px;height:18px}
.shelf-arrows button:disabled {opacity:.3}
@media (hover:none) and (pointer:coarse) {.shelf-arrows {display:none}}

/* Extend each slide with its own artwork on wide and narrow screens. */
.hero[data-hero-id] { background:var(--bg); }
.hero[data-hero-id]::before {
  content:""; position:absolute; inset:-24px; z-index:-3; pointer-events:none;
  background:var(--hero-art) center / cover no-repeat;
  filter:blur(18px) brightness(.68);
}
.hero[data-hero-id]>img {
  inset:0 auto auto 50%; transform:translateX(-50%);
  width:auto; max-width:100%; height:100%; object-fit:contain;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
}
@media(max-width:759px){
  .hero[data-hero-id]>img {
    width:100%; height:auto; max-height:100%; object-position:center top;
    -webkit-mask-image:linear-gradient(#000 75%,transparent);
    mask-image:linear-gradient(#000 75%,transparent);
  }
}
@media (max-width:900px) and (pointer:coarse) {
  html:not(.tv-edition) .heroWrap .hero-controls {
    top:auto; bottom:0; right:var(--pad);
    background:transparent; border:0;
  }
  html:not(.tv-edition) .heroWrap .hero-cycle { border:0; border-radius:50%; }
  html:not(.tv-edition) .heroWrap .hero-pager button { display:none; }
  html:not(.tv-edition) .heroWrap .hero-pager span { min-width:0; color:var(--muted); font-size:12px; }
  html:not(.tv-edition) .heroWrap .heroCopy { padding-bottom:44px; }
}
