/* Deck Featured Player — independent 16:9 editorial player */
.deck-featured {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  box-sizing: border-box;
}

.deck-featured,
.deck-featured *,
.deck-featured *::before,
.deck-featured *::after {
  box-sizing: border-box;
}

/* One-column editorial layout at every viewport size. */
.deck-featured-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
}

.deck-featured-main,
.deck-featured-stage {
  width: 100%;
  min-width: 0;
}

.deck-featured-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080808;
  border-radius: 4px;
  isolation: isolate;
  overflow-anchor: none;
  cursor: pointer;
}

.deck-featured-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #aaa;
  font-size: 12px;
  text-align: center;
}

.deck-featured-screen iframe,
.deck-featured-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
}

.deck-featured-screen iframe {
  z-index: 2;
}

.deck-featured-poster {
  z-index: 1;
  object-fit: cover;
}

/* Elegant floating play glyph — no square or circular background. */
.deck-featured-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, opacity .18s ease;
}

.deck-featured-play:hover,
.deck-featured-play:focus-visible {
  background: transparent;
  opacity: .88;
  transform: translate(-50%, -50%) scale(1.08);
}

.deck-featured-play:focus-visible,
.deck-featured-item:focus-visible {
  outline: 2px solid #b00000;
  outline-offset: 3px;
}

.deck-featured-play svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
  margin-left: 4px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.85));
}

.deck-featured-details {
  min-width: 0;
  padding: 10px 0 0;
}

.deck-featured-title {
  margin: 0 0 5px;
  color: #1a1a1a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.22;
}

.deck-featured-meta {
  color: #777;
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.deck-featured-description {
  margin: 8px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

/* Playlist sits below the main feature and remains left-aligned. */
.deck-featured-playlist {
  width: 100%;
  min-width: 0;
  margin-top: 18px;
  overflow: visible;
}

.deck-featured-playlist-heading {
  margin: 0 0 5px;
  padding: 0 0 8px;
  border-bottom: 1px solid #dedede;
  color: #444;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .09em;
  text-align: left;
}

.deck-featured-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.deck-featured-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid #e8e8e8;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.deck-featured-item:first-child {
  padding-top: 7px;
}

.deck-featured-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.deck-featured-thumb {
  position: relative;
  display: block;
  flex: 0 0 180px;
  width: 180px;
  height: 101px;
  overflow: hidden;
  border-radius: 4px;
  background: #171717;
}

.deck-featured-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 4px;
}

.deck-featured-item-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}

.deck-featured-item-title {
  display: -webkit-box;
  overflow: hidden;
  color: #222;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.deck-featured-item-meta {
  color: #888;
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.deck-featured-message,
.deck-featured-empty {
  margin: 0;
  padding: 12px 0;
  color: #777;
  font-size: 13px;
  line-height: 1.45;
}

.deck-featured-credit-divider {
  width: 100%;
  height: 1px;
  margin: 12px 0 4px;
  background: #dedede;
}

.deck-featured-credit {
  padding: 0 0 4px;
  color: #888;
  font-size: 7pt;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .06em;
}

@media (max-width: 767px) {
  .deck-featured-title {
    font-size: 19px;
  }

  .deck-featured-meta {
    font-size: 10px;
  }

  .deck-featured-playlist {
    margin-top: 15px;
  }

  .deck-featured-thumb {
    flex-basis: 136px;
    width: 136px;
    height: 77px;
  }

  .deck-featured-item {
    gap: 10px;
    padding: 8px 0;
  }

  .deck-featured-item-title {
    font-size: 14px;
    line-height: 1.35;
    -webkit-line-clamp: 3;
  }

  .deck-featured-item-meta {
    font-size: 10px;
  }

  .deck-featured-play {
    width: 58px;
    height: 58px;
  }

  .deck-featured-play svg {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 380px) {
  .deck-featured-thumb {
    flex-basis: 120px;
    width: 120px;
    height: 68px;
  }

  .deck-featured-title {
    font-size: 18px;
  }

  .deck-featured-item-title {
    font-size: 13px;
  }
}


/* Keep layout anchoring local and stable while an embedded player starts. */
.deck-featured,
.deck-featured-layout,
.deck-featured-main,
.deck-featured-stage,
.deck-featured-screen,
.deck-featured-playback-starting {
  overflow-anchor: none;
}

.deck-featured-audio-note {
  margin: 7px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.deck-featured-audio-note[hidden] {
  display: none !important;
}


/* Desktop overrides are intentionally last so base and mobile rules cannot shrink them. */
@media (min-width: 768px) {
  .deck-featured-item {
    align-items: flex-start;
    padding: 8px 0 3px;
  }

  .deck-featured-item:first-child {
    padding-top: 7px;
  }

  .deck-featured-thumb {
    flex: 0 0 315px;
    width: 315px;
    height: 177px;
  }

  .deck-featured-item-copy {
    align-self: flex-start;
    align-items: flex-start;
    padding-top: 0;
    text-align: left;
  }
}

/* Previous/next controls remain available over both poster and playing video. */
.deck-featured-stage {
  position: relative;
}

.deck-featured-nav {
  position: absolute;
  z-index: 10;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 48px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, .58);
  color: #fff;
  font: 300 34px/1 Arial, sans-serif;
  cursor: pointer;
  opacity: .82;
  transition: opacity .16s ease, background .16s ease;
  -webkit-tap-highlight-color: transparent;
}

.deck-featured-nav:hover,
.deck-featured-nav:focus-visible {
  background: rgba(0, 0, 0, .82);
  opacity: 1;
}

.deck-featured-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.deck-featured-nav-prev { left: 10px; }
.deck-featured-nav-next { right: 10px; }

.deck-featured-nav[hidden] {
  display: none !important;
}


/* Deck 1.3.6 — three-column desktop editorial thumbnail grid. */
@media (min-width: 768px) {
  .deck-featured-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 18px;
    width: 100%;
    padding: 3px 0;
    border-bottom: 1px solid #e8e8e8;
  }

  .deck-featured-row:last-child {
    border-bottom: 0;
  }

  .deck-featured-item,
  .deck-featured-item:first-child,
  .deck-featured-item:last-child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .deck-featured-thumb {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .deck-featured-item-copy {
    align-items: flex-start;
    align-self: stretch;
    gap: 4px;
    padding: 0;
    text-align: left;
  }

  .deck-featured-item-title {
    font-size: 15px;
    line-height: 1.32;
    -webkit-line-clamp: 3;
  }

  .deck-featured-item-meta {
    font-size: 10px;
    line-height: 1.3;
    color: #858585;
  }
}

@media (max-width: 767px) {
  /* Flatten row wrappers so the established mobile list remains unchanged. */
  .deck-featured-row {
    display: contents;
  }

  .deck-featured-row .deck-featured-item {
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
  }

  .deck-featured-row:first-child .deck-featured-item:first-child {
    padding-top: 7px;
  }

  .deck-featured-row:not(:first-child) .deck-featured-item:first-child {
    padding-top: 8px;
  }

  .deck-featured-row:last-child .deck-featured-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

/* Independent full-viewport Featured Player lightbox. */
.deck-featured-lightbox[hidden] {
  display: none !important;
}

.deck-featured-lightbox {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  background: rgba(0, 0, 0, .985);
  color: #fff;
  isolation: isolate;
}

.deck-featured-lightbox-frame {
  position: relative;
  flex: 0 0 auto;
  width: min(100vw, calc((100dvh - 96px) * 1.7778));
  max-width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100% - 64px);
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}

.deck-featured-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
  touch-action: none;
}

.deck-featured-lightbox-close,
.deck-featured-lightbox-nav {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(35, 35, 35, .78);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.deck-featured-lightbox-close {
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  width: 42px;
  height: 42px;
  font: 300 32px/1 Arial, sans-serif;
}

.deck-featured-lightbox-nav {
  top: 50%;
  width: 46px;
  height: 58px;
  transform: translateY(-50%);
  font: 300 42px/1 Arial, sans-serif;
  background: rgba(20, 20, 20, .72);
}

.deck-featured-lightbox-prev { left: max(12px, env(safe-area-inset-left)); }
.deck-featured-lightbox-next { right: max(12px, env(safe-area-inset-right)); }

.deck-featured-lightbox-close:hover,
.deck-featured-lightbox-nav:hover,
.deck-featured-lightbox-close:focus-visible,
.deck-featured-lightbox-nav:focus-visible {
  background: rgba(75, 75, 75, .92);
}

.deck-featured-lightbox-close:focus-visible,
.deck-featured-lightbox-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.deck-featured-lightbox-nav[hidden] {
  display: none !important;
}

.deck-featured-lightbox-info {
  width: min(100%, 960px);
  max-height: 18vh;
  overflow: hidden;
  text-align: center;
}

.deck-featured-lightbox-title {
  color: #fff;
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 650;
  line-height: 1.35;
}

.deck-featured-lightbox-meta {
  margin-top: 5px;
  color: #aaa;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .045em;
  text-transform: uppercase;
}

html.deck-featured-lightbox-open,
html.deck-featured-lightbox-open body {
  overscroll-behavior: none;
}

@media (max-width: 767px) {
  .deck-featured-lightbox {
    gap: 12px;
  }

  .deck-featured-lightbox-frame {
    width: min(100vw, calc((100dvh - 96px) * 1.7778));
  }

  .deck-featured-lightbox-nav {
    width: 38px;
    height: 50px;
    font-size: 36px;
  }

  .deck-featured-lightbox-prev { left: 4px; }
  .deck-featured-lightbox-next { right: 4px; }

  .deck-featured-lightbox-title {
    font-size: 14px;
  }

  .deck-featured-lightbox-info {
    max-height: 20vh;
    padding: 0 8px;
  }
}

.deck-featured-lightbox-hint {
  margin-top: 5px;
  color: #aaa;
  font-size: 11px;
  line-height: 1.35;
}

.deck-featured-lightbox-hint[hidden] {
  display: none !important;
}


/* Deck 1.3.7 — inline Featured playback, expand control and tighter rhythm. */
.deck-featured-screen .deck-featured-expand {
  position: absolute;
  z-index: 6;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  font: 24px/1 Arial, sans-serif;
  cursor: pointer;
}
.deck-featured-screen .deck-featured-expand:hover,
.deck-featured-screen .deck-featured-expand:focus-visible {
  background: rgba(0, 0, 0, .88);
}
.deck-featured-screen .deck-featured-expand:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.deck-featured-screen.deck-featured-is-playing { cursor: default; }
.deck-featured-lightbox-loading {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 9px 13px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  pointer-events: none;
}
.deck-featured-lightbox-loading[hidden] { display: none !important; }

/* Reduce excess vertical gaps without changing thumbnail proportions. */
.deck-featured-details { padding-top: 6px; }
.deck-featured-title { margin-bottom: 3px; }
.deck-featured-description { margin-top: 5px; }
.deck-featured-playlist { margin-top: 11px; }
.deck-featured-playlist-heading { margin-bottom: 3px; padding-bottom: 5px; }
.deck-featured-row { padding-top: 1px !important; padding-bottom: 1px !important; }
.deck-featured-row .deck-featured-item { gap: 5px !important; }
.deck-featured-item-copy { gap: 3px; }
.deck-featured-lightbox { gap: 9px; }
@media (max-width: 767px) {
  .deck-featured-playlist { margin-top: 9px; }
  .deck-featured-details { padding-top: 5px; }
  .deck-featured-row .deck-featured-item { gap: 8px !important; }
  .deck-featured-lightbox { gap: 8px; }
}


/* Deck 1.3.8 — harmonized glass controls and uninterrupted inline expansion. */
.deck-featured-play {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: .82;
}
.deck-featured-play:hover,
.deck-featured-play:focus-visible {
  background: rgba(255,255,255,.30);
  opacity: 1;
}
.deck-featured-play svg { width: 22px; height: 22px; margin-left: 3px; filter: none; }
.deck-featured-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 30px;
  opacity: .72;
}
.deck-featured-nav:hover,
.deck-featured-nav:focus-visible { background: rgba(255,255,255,.34); opacity: 1; }
.deck-featured-screen .deck-featured-expand {
  width: 48px;
  height: 27px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 4px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: .82;
  font-size: 18px;
}
.deck-featured-screen .deck-featured-expand svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.deck-featured-screen .deck-featured-expand:hover,
.deck-featured-screen .deck-featured-expand:focus-visible { background: rgba(255,255,255,.32); opacity: 1; }
.deck-featured-lightbox-close,
.deck-featured-lightbox-nav {
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.deck-featured-lightbox-close { width: 42px; height: 42px; padding: 0 0 2px; }
.deck-featured-lightbox-nav { width: 42px; height: 42px; font-size: 32px; }
.deck-featured-lightbox-close:hover,
.deck-featured-lightbox-nav:hover,
.deck-featured-lightbox-close:focus-visible,
.deck-featured-lightbox-nav:focus-visible { background: rgba(255,255,255,.30); }

/* Fallback expanded state retains the iframe in place if Fullscreen API is unavailable. */
.deck-featured-screen.deck-featured-expanded {
  position: fixed;
  z-index: 2147483001;
  top: 50%;
  left: 50%;
  width: min(100vw, calc((100dvh - 40px) * 1.7778));
  max-width: 100vw;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  overflow: visible;
  border-radius: 4px;
  box-shadow: 0 0 0 100vmax rgba(0,0,25,.95);
}
.deck-featured-screen:fullscreen {
  position: relative;
  top: auto;
  left: auto;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  aspect-ratio: auto;
  transform: none;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
  background: #000;
}
.deck-featured-screen:fullscreen iframe {
  inset: auto;
  top: 50%;
  left: 50%;
  width: min(100vw, 177.7778dvh);
  height: min(100dvh, 56.25vw);
  transform: translate(-50%, -50%);
  border-radius: 4px;
}
.deck-featured-screen:fullscreen .deck-featured-expand {
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
}
.deck-featured-screen:fullscreen .deck-featured-expand svg { display: none; }
.deck-featured-screen:fullscreen .deck-featured-expand::before { content: "×"; }
@media (max-width: 767px) {
  .deck-featured-play { width: 44px; height: 44px; }
  .deck-featured-nav { width: 40px; height: 40px; }
  .deck-featured-screen .deck-featured-expand { top: 8px; right: 8px; }
  .deck-featured-screen.deck-featured-expanded { width: min(100vw, calc((100dvh - 24px) * 1.7778)); }
}


/* Deck 1.4.0 — mobile layout anchoring and vertical lightbox navigation. */
/* Keep the main 16:9 stage anchored while mobile browsers resize their chrome
   or embedded players load and update their internal controls. */
.deck-featured,
.deck-featured-main,
.deck-featured-stage,
.deck-featured-screen,
.deck-featured-details,
.deck-featured-playlist {
  overflow-anchor: none;
}
.deck-featured-screen {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

/* In portrait mobile lightbox mode, use the natural space above and below
   the landscape video for large, easy-to-reach previous/next controls. */
@media (max-width: 767px) and (orientation: portrait) {
  .deck-featured-lightbox {
    gap: clamp(6px, 1.5dvh, 12px);
    justify-content: center;
  }

  .deck-featured-lightbox-prev,
  .deck-featured-lightbox-next {
    position: relative;
    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    flex: 0 0 42px;
    width: 48px;
    height: 42px;
    margin: 0 auto;
    border: 0;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    font-size: 0;
    opacity: .9;
  }

  .deck-featured-lightbox-prev { order: 1; }
  .deck-featured-lightbox-frame {
    order: 2;
    width: min(100%, calc((100dvh - 180px) * 1.7778));
    max-height: none;
  }
  .deck-featured-lightbox-next { order: 3; }
  .deck-featured-lightbox-info { order: 4; }

  .deck-featured-lightbox-prev::before,
  .deck-featured-lightbox-next::before {
    display: block;
    color: rgba(255,255,255,.94);
    font: 300 32px/1 Arial, sans-serif;
    text-shadow: 0 1px 5px rgba(0,0,0,.65);
  }
  .deck-featured-lightbox-prev::before { content: "↑"; }
  .deck-featured-lightbox-next::before { content: "↓"; }
  .deck-featured-lightbox-prev:hover,
  .deck-featured-lightbox-next:hover,
  .deck-featured-lightbox-prev:focus-visible,
  .deck-featured-lightbox-next:focus-visible {
    background: rgba(255,255,255,.12);
  }
}

/* Deck 1.5.0 — lightbox-first playback and split editorial gallery. */
.deck-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 20px;
  row-gap: 0;
}

.deck-featured-main,
.deck-featured-playlist {
  min-width: 0;
  width: 100%;
}

.deck-featured-screen {
  cursor: default;
}

.deck-featured-play {
  width: 54px;
  height: 54px;
}

.deck-featured-side-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.deck-featured-side-list .deck-featured-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid #e8e8e8;
}

.deck-featured-side-list .deck-featured-thumb {
  flex: 0 0 42%;
  width: 42%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.deck-featured-side-list .deck-featured-item-copy {
  gap: 4px;
}

.deck-featured-side-list .deck-featured-item-title {
  font-size: 13px;
  line-height: 1.3;
  -webkit-line-clamp: 4;
}

.deck-featured-side-list .deck-featured-item-meta {
  font-size: 9px;
  line-height: 1.3;
}

.deck-featured-bottom-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
  width: 100%;
  margin-top: 18px;
}

.deck-featured-bottom-list:empty {
  display: none;
}

.deck-featured-bottom-list .deck-featured-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
}

.deck-featured-bottom-list .deck-featured-thumb {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.deck-featured-bottom-list .deck-featured-item-copy {
  gap: 4px;
}

.deck-featured-bottom-list .deck-featured-item-title {
  font-size: 14px;
  line-height: 1.32;
  -webkit-line-clamp: 3;
}

.deck-featured-bottom-list .deck-featured-item-meta {
  font-size: 10px;
}

/* All Featured Player playback now happens in the lightbox. */
.deck-featured-lightbox {
  background: rgba(0, 0, 25, .95);
}

@media (max-width: 767px) {
  .deck-featured-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .deck-featured-playlist {
    margin-top: 12px;
  }

  .deck-featured-side-list {
    gap: 0;
  }

  .deck-featured-side-list .deck-featured-item {
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
  }

  .deck-featured-side-list .deck-featured-thumb {
    flex: 0 0 136px;
    width: 136px;
    height: 77px;
  }

  .deck-featured-side-list .deck-featured-item-title {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }

  .deck-featured-side-list .deck-featured-item-meta {
    font-size: 10px;
  }

  .deck-featured-bottom-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
  }

  .deck-featured-bottom-list .deck-featured-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
  }

  .deck-featured-bottom-list .deck-featured-thumb {
    flex: 0 0 136px;
    width: 136px;
    height: 77px;
  }

  .deck-featured-bottom-list .deck-featured-item-title {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }

  .deck-featured-bottom-list .deck-featured-item-meta {
    font-size: 10px;
  }

  /* Keep the video and its headline/meta as one uninterrupted block.
     Previous sits above that block; Next sits below the metadata. */
  .deck-featured-lightbox {
    gap: 7px;
  }

  .deck-featured-lightbox-prev { order: 1; }
  .deck-featured-lightbox-frame { order: 2; }
  .deck-featured-lightbox-info { order: 3; }
  .deck-featured-lightbox-next { order: 4; }

  .deck-featured-lightbox-prev,
  .deck-featured-lightbox-next {
    flex: 0 0 34px;
    width: 48px;
    height: 34px;
    margin: 0 auto;
  }

  .deck-featured-lightbox-frame {
    width: min(100%, calc((100dvh - 210px) * 1.7778));
    max-height: none;
  }

  .deck-featured-lightbox-info {
    width: min(100%, 640px);
    max-height: 22vh;
    padding: 0 8px;
  }
}
@media (min-width: 768px) {
  .deck-featured-playlist { margin-top: 0; }
}


/* Deck 1.5.1 — unified, scroll-safe video-item activation and feedback. */
.deck-featured-screen,
.deck-featured-details,
.deck-featured-item {
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

.deck-featured-screen { cursor: pointer; }
.deck-featured-details {
  cursor: pointer;
  border-radius: 4px;
  transition: background-color .16s ease;
}

.deck-featured-play {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.42);
  color: #fff;
  opacity: .96;
  pointer-events: none;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.deck-featured-play svg {
  width: 29px;
  height: 29px;
  margin-left: 3px;
  filter: none;
}

.deck-featured-screen .deck-featured-poster,
.deck-featured-item .deck-featured-thumb img {
  transition: filter .16s ease;
}
.deck-featured-item {
  border-radius: 4px;
  transition: background-color .16s ease;
}

@media (hover: hover) and (pointer: fine) {
  .deck-featured-screen:hover .deck-featured-poster,
  .deck-featured-item:hover .deck-featured-thumb img {
    filter: brightness(.86);
  }
  .deck-featured-details:hover,
  .deck-featured-item:hover {
    background-color: #f4f4f4;
  }
}

.deck-featured-screen:active .deck-featured-poster,
.deck-featured-item:active .deck-featured-thumb img {
  filter: brightness(.86);
}
.deck-featured-details:active,
.deck-featured-item:active {
  background-color: #f4f4f4;
}

.deck-featured-screen:focus-visible,
.deck-featured-details:focus-visible,
.deck-featured-item:focus-visible {
  outline: 2px solid #b00000;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .deck-featured-screen .deck-featured-poster,
  .deck-featured-item .deck-featured-thumb img,
  .deck-featured-details,
  .deck-featured-item {
    transition: none;
  }
}
