/* Image-led V2 cards. Names remain in the document and in accessible labels. */
body.h6-preview.v2-shell :is(.v2-tile,.h6-card){
  position:relative;display:block;min-width:0;aspect-ratio:80/53;height:auto;
  border:0;border-radius:13px;background:transparent;box-shadow:none;
  overflow:hidden;isolation:isolate;transform:none;
  transition:transform .17s ease,box-shadow .17s ease;
}
body.h6-preview.v2-shell .v2-tile-art{height:100%;aspect-ratio:80/53;border-radius:inherit}
body.h6-preview.v2-shell :is(.v2-tile-art>img,.h6-card>img){width:100%;height:100%;aspect-ratio:80/53;object-fit:contain}
body.h6-preview.v2-shell :is(.v2-tile:hover,.h6-card:hover){transform:none;box-shadow:0 3px 12px #123c4729}
body.h6-preview.v2-shell .v2-home[data-featured-picks=true] [data-section=picks] .v2-tile-caption,
body.h6-preview.v2-shell :is(.v2-tile-caption,.h6-card-caption){
  position:absolute;z-index:3;inset:auto 0 0;display:block;
  height:auto;min-height:0;max-height:none;padding:25px 10px 9px;
  border:0;border-radius:0;background:linear-gradient(transparent,#092f3cd9 58%,#092f3cf5);
  pointer-events:none;
}
body.h6-preview.v2-shell :is(.v2-tile-caption,.h6-card-caption){opacity:0;transform:translateY(4px);transition:opacity .14s ease,transform .14s ease}
body.h6-preview.v2-shell :is(.v2-tile-caption,.h6-card-caption)>strong,
body.h6-preview.v2-shell .v2-home[data-featured-picks=true] .v2-featured-tile .v2-tile-caption>strong{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  min-height:0;max-height:2.7em;overflow:hidden;margin:0;
  color:#fff;font-size:13px;font-weight:650;line-height:1.35;letter-spacing:0;
  text-shadow:0 1px 2px #092f3c80;overflow-wrap:anywhere;
}
body.h6-preview.v2-shell .v2-home[data-featured-picks=true] .v2-featured-tile .v2-tile-caption>strong{font-size:18px}
body.h6-preview.v2-shell :is(.v2-tile-category,.h6-card-category,.v2-play-label){display:none}
body.h6-preview.v2-shell :is(.v2-tile,.h6-card):is(:hover,:focus-visible,.v2-preview-active)>:is(.v2-tile-caption,.h6-card-caption){opacity:1;transform:none}
body.h6-preview.v2-shell :is(.v2-tile,.h6-card):focus-visible{z-index:20;outline:3px solid var(--h6-accent);outline-offset:3px}
body.h6-preview.v2-shell :is(.v2-tile,.h6-card).v2-preview-active{
  z-index:40;transform:scale(var(--v2-preview-scale,1.12))!important;
  transform-origin:var(--v2-preview-origin,center center);
  outline:2px solid var(--category,var(--h6-accent));outline-offset:0;
  box-shadow:0 10px 26px #123c4759;
}
body.h6-preview.v2-shell .v2-tile-preview{z-index:1}
body.h6-preview.v2-shell .h6-card>.v2-tile-preview{height:100%;aspect-ratio:auto}

/* History cards use the same picture/overlay treatment at their smaller size. */
body.h6-preview.v2-shell .v2-home .v2-continue .h9-continue-card{
  border:0;background:transparent;box-shadow:none;aspect-ratio:80/53;min-height:0;
}
body.h6-preview.v2-shell .v2-home .v2-continue .h9-continue-card>img{height:100%;border-radius:inherit}
body.h6-preview.v2-shell .v2-home .v2-continue .h9-continue-card>.h9-continue-name{
  position:absolute;z-index:3;inset:auto 0 0;display:block;
  width:100%;height:auto;min-height:0;max-height:none;margin:0;padding:20px 6px 5px;
  background:linear-gradient(transparent,#092f3ce8);color:#fff;opacity:0;
  pointer-events:none;transition:opacity .14s ease;font-size:11px;line-height:1.25;
}
body.h6-preview.v2-shell .v2-home .v2-continue .h9-continue-card:is(:hover,:focus-visible)>.h9-continue-name{opacity:1}
body.h6-preview.v2-shell .v2-home .v2-continue .h9-continue-card:hover>img{transform:none}
body.h6-preview.v2-shell .v2-home .v2-continue .h9-resume-icon{
  z-index:4;left:auto;right:5px;top:5px;bottom:auto;width:18px;height:18px;
  border:0;border-radius:6px;background:#092f3cad;color:#fff;box-shadow:none;
}
@media(hover:none),(pointer:coarse){
 body.h6-preview.v2-shell :is(.v2-tile-caption,.h6-card-caption),
 body.h6-preview.v2-shell .v2-home .v2-continue .h9-continue-card>.h9-continue-name{opacity:1;transform:none}
 body.h6-preview.v2-shell :is(.v2-tile-caption,.h6-card-caption)>strong{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 body.h6-preview.v2-shell :is(.v2-tile,.h6-card,.v2-tile-caption,.h6-card-caption),
 body.h6-preview.v2-shell .v2-home .v2-continue .h9-continue-card>.h9-continue-name{transition:none}
}
