/* shortbb short-drama pages */
.page-boot {
  --ad-peach: #ffada6;
  width: min(100%, 540px);
  min-height: 100svh;
  margin-inline: auto;
  padding: 0 16px 24px;
  background: #100b0e;
  color: #fff7f4;
}
.page-boot-header { display: flex; align-items: center; justify-content: space-between; min-height: 48px; gap: 12px; }
.page-boot-header a { min-height: 44px; display: inline-flex; align-items: center; }
.page-boot-art { border: 1px solid #ffe3de28; border-radius: 13px; overflow: hidden; background: #160c11; }
.page-boot-art img { display: block; width: 100%; height: clamp(320px, 58svh, 475px); object-fit: contain; }
.page-boot-copy { padding-top: 14px; }
.page-boot-copy h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.1; }
.page-boot-status, .page-boot-source { color: #ffada6; font-size: 14px; }
.page-boot-copy:has(.page-boot-source) .page-boot-status { display: none; }

.conversion-page {
  --ad-bg: #0c0a0b;
  --ad-plum: #171012;
  --ad-ink: #fff7f4;
  --ad-muted: #c4b4b4;
  --ad-line: #ffe3de28;
  --ad-peach: #ffada6;
  --ad-red: #bd2a38;
  --ad-red-hover: #ca3340;
  --ad-page-width: min(100%, 540px);
  --ad-page-gutter: 16px;
  min-height: 100svh;
  color: var(--ad-ink);
  background: #090708;
}

.acquisition {
  width: var(--ad-page-width);
  min-height: 100svh;
  margin-inline: auto;
  padding-inline: var(--ad-page-gutter);
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 10%, #2b1418 0%, var(--ad-bg) 62%);
}

.ad-header {
  min-height: 44px;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shortbb-wordmark, .shortbb-library-brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.065em;
}

.shortbb-wordmark span { color: var(--ad-peach); }
.shortbb-library-brand span { color: var(--accent); }
.ad-header .shortbb-wordmark { min-height: 44px; align-items: center; }
.shortbb-wordmark i {
  width: 4px;
  height: 4px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--ad-peach);
}

.header-home, .discovery-heading a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: var(--ad-peach);
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #ffada66b;
  text-underline-offset: 4px;
}

.header-home svg, .discovery-heading a svg { width: 15px; height: 15px; flex: none; }
.header-home:hover, .discovery-heading a:hover { text-decoration-color: currentColor; }

.header-note, .dock-caption, .end-kicker, .film-eyebrow, .sheet-eyebrow {
  color: var(--ad-muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .11em;
}

.ad-stack {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  gap: 5px;
}

.layout-video .ad-media, .layout-hook .ad-hook { order: 1; }
.layout-video .ad-hook, .layout-hook .ad-media { order: 2; }
.ad-hook {
  flex: none;
  min-width: 0;
  padding: 4px 0 7px;
}

.film-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  color: var(--ad-peach);
}

.film-eyebrow::before {
  width: 12px;
  height: 1px;
  background: currentColor;
  content: "";
}

.ad-hook h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 7vw, 36px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.ad-hook .film-title {
  margin: 4px 0 2px;
  color: var(--ad-muted);
  font-size: 12px;
  line-height: 1.3;
}

.story-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.story-identity img {
  display: block;
  width: 64px;
  height: 80px;
  flex: none;
  object-fit: contain;
  border: 1px solid var(--ad-line);
  border-radius: 6px;
  background: #130a0d;
}
.ad-hook .story-identity .film-title { margin: 0; }

.film-synopsis {
  max-width: 49ch;
  margin: 6px 0;
  color: var(--ad-muted);
  font-size: 13px;
  line-height: 1.38;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 5px;
}

.story-tags span {
  padding: 2px 7px;
  border: 1px solid var(--ad-line);
  border-radius: 999px;
  color: #ebc9b5;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
}

.ad-tagline {
  margin: 4px 0 0;
  color: var(--ad-muted);
  font-size: 13px;
  line-height: 1.3;
}

.film-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 3px 0 0;
  color: var(--ad-muted);
  font-size: 11px;
  line-height: 1.3;
}

.film-facts i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ad-peach);
}

.ad-media { display: flex; flex: 1; flex-direction: column; min-height: 0; min-width: 0; }

.video-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1;
  min-height: 220px;
  border: 1px solid var(--ad-line);
  border-radius: 13px;
  background: #080607;
  box-shadow: 0 15px 30px #03010269;
}

.video-card::before {
  position: absolute;
  z-index: -1;
  inset: -16px;
  background: linear-gradient(#210e15b5, #0d070ad9), var(--story-poster, none) center / cover;
  filter: blur(15px);
  content: "";
}

.ad-player, .ad-cover { position: absolute; inset: 0; }
.ad-player { z-index: 1; }
.ad-cover {
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.ad-cover:has(.cover-editorial) { grid-template-rows: minmax(0, 1fr) auto; }
.ad-player .trailer-video, .ad-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.ad-cover-image { grid-area: 1 / 1; min-height: 0; object-position: center; }
.poster-error .ad-cover-image { visibility: hidden; }
.cover-shade {
  grid-area: 1 / 1;
  z-index: 1;
  background: linear-gradient(0deg, #0905083a, transparent 23%);
  pointer-events: none;
}
.cover-editorial {
  grid-area: 2 / 1;
  z-index: 2;
  padding: 7px 11px 9px;
  border-top: 1px solid #ffb0a92d;
  background: linear-gradient(95deg, #321318, #151011 70%);
  pointer-events: none;
}

.cover-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--ad-peach);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .08em;
}

.cover-line {
  margin: 0;
  color: #fff7f4;
  font-size: clamp(13px, 3.35vw, 16px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.cover-audio-hint {
  display: block;
  margin-top: 6px;
  color: #ffe1d0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.acquisition[data-original-cover="true"] .ad-cover { grid-template-rows: minmax(0, 1fr); }
.acquisition[data-original-cover="true"] .cover-editorial { display: none; }

.acquisition.is-ended .ad-cover { grid-template-rows: minmax(0, 1fr); }
.acquisition.is-ended .cover-editorial { display: none; }

.cover-trigger {
  position: relative;
  z-index: 3;
  grid-area: 1 / 1 / -1 / -1;
  width: 100%;
  min-height: 44px;
  color: #fff5ec;
}

.cover-play-ring {
  position: absolute;
  top: 44%;
  left: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid #fff1e2c0;
  border-radius: 50%;
  background: #290f15c4;
  box-shadow: 0 6px 24px #08030e80;
  backdrop-filter: blur(5px);
  translate: -50% -50%;
  transition: background .18s ease, transform .18s ease;
}

.cover-play-ring svg { width: 25px; height: 25px; }
.cover-trigger:hover .cover-play-ring { transform: scale(1.06); background: #5b1d25eb; }
.cover-trigger:focus-visible { outline-offset: -4px; }
.cover-play-label, .cover-trigger small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.acquisition[data-media-state="error"] .cover-play-label {
  inset: 62% 16px auto;
  width: auto;
  height: auto;
  clip-path: none;
  color: var(--ad-ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 8px #000, 0 0 14px #000;
}

.player-topbar {
  position: absolute;
  z-index: 3;
  inset: 8px 8px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.acquisition[data-media-state="cover"] .player-topbar,
.acquisition[data-media-state="loading"] .player-topbar,
.acquisition[data-media-state="error"] .player-topbar,
.acquisition[data-media-state="ended"] .player-topbar { display: none; }

.trailer-chip, .sound-control {
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: #160e16db;
  color: var(--ad-ink);
  backdrop-filter: blur(8px);
}

.trailer-chip {
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .06em;
  white-space: nowrap;
}

.sound-control {
  min-width: 44px;
  min-height: 44px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: auto;
}

.sound-control:hover, .replay-button:hover { border-color: var(--ad-peach); }
.acquisition[data-media-state="playing"][data-muted="true"] .sound-control,
.acquisition[data-media-state="playing"] .sound-control[data-muted="true"] {
  border-color: #fdafb18c;
  background: var(--ad-red);
  color: #fff;
}

.sound-banner {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 9px 14px;
  border: 1px solid #ffb0a9;
  border-radius: 10px;
  background: var(--ad-red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 5px 18px #bd2a3830;
}
.sound-banner svg { width: 23px; height: 23px; }
.sound-banner:hover { background: var(--ad-red-hover); }

.ad-playback-meta {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: var(--ad-muted);
  font-size: 10px;
}

.ad-playback-meta p { flex: 1; margin: 0; line-height: 1.3; }
.ad-playback-meta a, .ad-playback-meta button, .dock-footer button {
  display: inline-flex;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ad-peach);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.ad-playback-meta a, .ad-playback-meta button { min-height: 28px; }

.end-card {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 100%;
  overflow-y: auto;
  padding: 40px 14px 12px;
  background: linear-gradient(180deg, #09060900 0%, #1b0c12e5 33%, #10090bf9 78%);
  text-align: center;
}

.end-kicker { color: var(--ad-peach); }
.end-card h2 {
  margin: 5px 0 0;
  font-size: clamp(25px, 7vw, 38px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.end-card h2 em { color: var(--ad-peach); }
.end-card p { margin: 4px 0 7px; color: var(--ad-muted); font-size: 11px; line-height: 1.3; }

.end-next-card {
  display: flex;
  width: min(100%, 294px);
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  padding: 5px;
  border: 1px solid var(--ad-line);
  border-radius: 9px;
  background: #1f1015ee;
  text-align: left;
}

.end-next-card img {
  width: 34px;
  height: 43px;
  flex: none;
  border-radius: 4px;
  object-fit: contain;
}

.end-next-card small, .end-next-card strong { display: block; line-height: 1.2; }
.end-next-card small { margin-bottom: 2px; color: var(--ad-peach); font-size: 9px; font-weight: 700; }
.end-next-card strong { color: #fff; font-size: 12px; }
.end-next-card em { color: var(--ad-peach); font-size: 11px; font-style: normal; }
.end-next-card:hover { border-color: var(--ad-peach); }

.replay-button {
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #ffffff58;
  border-radius: 999px;
  background: #190b129e;
  color: var(--ad-ink);
  font-size: 12px;
  font-weight: 650;
}

.end-card .next-preview {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--ad-peach);
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-dock {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0 12px;
  flex: none;
  margin-inline: -16px;
  padding: 6px 16px env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--ad-line);
  background: linear-gradient(180deg, #231215, var(--ad-plum));
}

.dock-intro { min-width: 0; }
.dock-caption { color: #e9c6b5; text-wrap: balance; }

.status-dock {
  display: flex;
  min-width: 0;
  min-height: 27px;
  align-items: center;
  gap: 10px;
}

#watch-time {
  color: var(--ad-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

#watch-progress {
  appearance: none;
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #ffffff24;
  color: var(--ad-peach);
  accent-color: var(--ad-peach);
}

#watch-progress::-webkit-progress-bar { background: transparent; }
#watch-progress::-webkit-progress-value { background: var(--ad-peach); border-radius: 999px; }
#watch-progress::-moz-progress-bar { background: var(--ad-peach); border-radius: 999px; }

.download-dock:has(.reward-preview) {
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 12px;
  padding-top: 6px;
  padding-bottom: max(2px, env(safe-area-inset-bottom, 0px));
}

.download-dock:has(.reward-preview) .dock-intro { display: none; }

/* A long hook or enlarged text can extend the page without covering the trailer. */
.acquisition:has(.reward-preview) { height: auto; min-height: 100svh; }
.acquisition:has(.reward-preview) .ad-stack { min-height: auto; }
.acquisition:has(.reward-preview) .ad-media { min-height: calc(clamp(320px, 58svh, 475px) + 28px); }

.reward-preview {
  padding: 5px 11px 9px;
  border: 1px solid #ffb4a650;
  border-radius: 11px;
  background: linear-gradient(122deg, #3a2026, #25171d 72%);
  color: var(--ad-ink);
}

.reward-preview-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 7px;
}

.reward-preview-label {
  color: #ffe1d0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .045em;
}

.reward-info {
  min-width: 44px;
  min-height: 32px;
  margin-inline-start: auto;
  padding: 0 2px;
  color: #ffe0cc;
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reward-preview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
  align-items: center;
  gap: 8px;
}

.reward-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 7px;
}

.reward-value strong {
  color: #ffe0c8;
  font-family: Georgia, serif;
  font-size: clamp(37px, 10.75vw, 45px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.065em;
  white-space: nowrap;
}

.reward-value span {
  color: #fff0e6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.reward-summary {
  margin: 0;
  color: #f5dcd4;
  font-size: 13px;
  line-height: 1.26;
  text-align: right;
  overflow-wrap: anywhere;
}

.reward-summary em { color: var(--ad-peach); }

.reward-condition {
  margin: 6px 0 0;
  color: #f8e5df;
  font-size: 13px;
  line-height: 1.32;
}

.download-cta {
  display: flex;
  width: 100%;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #f66c7366;
  border-radius: 8px;
  background: #70212d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  transition: background .18s ease, color .18s ease;
}

.download-cta:disabled { cursor: wait; opacity: .7; }
.download-cta svg { width: 17px; height: 17px; flex: none; }
.acquisition[data-media-state="cover"] .download-cta,
.acquisition.is-ended .download-cta {
  background: var(--ad-red);
}
.acquisition .download-cta:hover { background: var(--ad-red-hover); }
.acquisition.is-ended .download-cta { box-shadow: 0 4px 20px #df303345; }
.dock-footer {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  color: var(--ad-muted);
  font-size: 10px;
}
.dock-footer button { min-height: 28px; color: var(--ad-muted); }
.download-dock:has(.reward-preview) .dock-footer,
.download-dock:has(.reward-preview) .dock-footer button { min-height: 24px; }
.conversion-page :focus-visible { outline-color: #ffd6bb; }

.story-discovery {
  width: var(--ad-page-width);
  margin-inline: auto;
  padding: 26px var(--ad-page-gutter) 11px;
}

.story-about {
  margin-bottom: 22px;
  padding: 0 0 17px;
  border-bottom: 1px solid var(--ad-line);
}

.story-about h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: clamp(19px, 4vw, 27px);
  letter-spacing: -.03em;
}

.discovery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.discovery-heading .eyebrow, .next-story-tile small {
  display: block;
  margin: 0 0 5px;
  color: var(--ad-peach);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .09em;
}

.discovery-heading h2 {
  margin: 0;
  font-size: clamp(25px, 5vw, 38px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.discovery-heading a { flex: none; }
.discovery-heading a svg { width: 13px; height: 13px; }

.next-story-tile {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px 9px 9px;
  border: 1px solid var(--ad-line);
  border-radius: 13px;
  background: linear-gradient(128deg, #221217, #131011 73%);
  transition: border-color .18s ease;
}

.next-story-tile:hover { border-color: #ffada690; }
.next-story-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 7px;
  background: #100b11;
  object-fit: contain;
}

.next-story-image img { width: 100%; height: 100%; object-fit: contain; }
.next-story-tile h3 {
  margin: 0 0 4px;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.08;
}

.next-story-tile p {
  max-width: 52ch;
  margin: 0;
  color: var(--ad-muted);
  font-size: 12px;
  line-height: 1.3;
}

.next-story-action {
  display: inline-block;
  margin-top: 6px;
  color: var(--ad-peach);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.next-story-tile > svg { width: 18px; height: 18px; color: var(--ad-peach); }
.site-footnote {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  width: var(--ad-page-width);
  margin-inline: auto;
  padding: 12px var(--ad-page-gutter) max(17px, env(safe-area-inset-bottom, 0px));
  color: var(--ad-muted);
  font-size: 10px;
  line-height: 1.45;
}

.story-discovery .site-footnote { width: 100%; padding-inline: 0; }
.site-footnote p { margin: 0; }

/* Use the same uncropped publisher posters in the comparison library. */
.library .film-cover {
  width: 96px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 9px;
}
.library .film-cover img, .library .mini-screen img { object-fit: contain; }

.download-sheet {
  position: fixed;
  inset: auto 0 0;
  width: min(100%, 440px);
  max-width: none;
  max-height: calc(100svh - 14px);
  margin: 0 auto;
  padding: 24px 20px max(18px, env(safe-area-inset-bottom, 0px));
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--ad-line);
  border-radius: 20px 20px 0 0;
  background: #1f1622;
  box-shadow: 0 -12px 50px #05020790;
  color: var(--ad-ink);
}

.download-sheet::backdrop { background: #09060bd4; backdrop-filter: blur(4px); }
.sheet-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  font-size: 24px;
}

.sheet-close:hover { background: #ffffff12; }
.sheet-eyebrow { margin: 0 46px 9px 0; color: var(--ad-peach); }
.sheet-brand { margin-bottom: 6px; font-size: 20px; font-weight: 700; letter-spacing: -.055em; }
.sheet-title { margin: 0 0 7px; font-size: 26px; line-height: 1.1; letter-spacing: -.04em; }
.sheet-copy, .sheet-note { margin: 0; color: var(--ad-muted); font-size: 13px; line-height: 1.45; }
.store-options { display: grid; gap: 8px; margin: 16px 0 10px; }
.store-option {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  gap: 11px;
  padding: 8px 11px;
  border: 1px solid var(--ad-line);
  border-radius: 11px;
  background: #ffffff0a;
  color: var(--ad-ink);
  text-align: left;
}

.store-option[href]:hover { border-color: var(--ad-peach); }
.store-option:disabled { cursor: default; color: var(--ad-muted); }
.store-icon { display: grid; width: 28px; height: 28px; flex: none; place-items: center; }
.store-icon svg { width: 21px; height: 21px; }
.store-label, .store-detail { display: block; }
.store-label { font-size: 13px; font-weight: 700; }
.store-detail { margin-top: 3px; color: var(--ad-muted); font-size: 11px; }

@media (min-width: 900px) {
  .conversion-page {
    --ad-page-width: min(100% - 96px, 1060px);
    --ad-page-gutter: 0px;
    background: radial-gradient(ellipse at 64% 30%, #2b131a 0%, #110c0e 50%, #090709 93%);
  }

  .acquisition {
    min-height: min(100svh, 900px);
    background: transparent;
  }

  .ad-header { min-height: 62px; border-bottom: 1px solid var(--ad-line); }
  .ad-stack {
    display: grid;
    grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 7vw, 90px);
    padding: 20px 0;
  }

  .layout-hook .ad-stack { grid-template-columns: minmax(0, 1fr) minmax(270px, 330px); }
  .ad-media {
    align-self: center;
    height: clamp(308px, calc(100svh - 165px), 528px);
  }
  .ad-hook { padding: 16px 0; }
  .ad-hook .film-title { margin-bottom: 8px; font-size: 15px; }
  .film-eyebrow { margin-bottom: 15px; font-size: 11px; }
  .film-eyebrow::before { width: 24px; }

  .ad-hook h1 {
    max-width: 620px;
    font-size: clamp(43px, 5.5vw, 70px);
    line-height: 1.01;
  }

  .ad-tagline { max-width: 420px; margin-top: 15px; font-size: 17px; line-height: 1.4; }
  .film-synopsis { margin: 14px 0; font-size: 16px; line-height: 1.5; }
  .story-tags { gap: 6px; margin-top: 9px; }
  .story-tags span { padding: 3px 8px; font-size: 11px; }
  .film-facts { margin-top: 16px; font-size: 12px; }
  .video-card { border-radius: 19px; }
  .ad-playback-meta { font-size: 11px; }

  .download-dock {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 240px);
    gap: 1px 20px;
    margin: 0;
    padding: 10px 15px 3px;
    border: 1px solid var(--ad-line);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
  }

  .download-dock:not(:has(.reward-preview)) > .download-cta,
  .download-dock:not(:has(.reward-preview)) > .status-dock { grid-column: 2; grid-row: 1; }

  .download-dock:not(:has(.reward-preview)) > .dock-footer {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    gap: 14px;
  }

  .download-dock:has(.reward-preview) {
    grid-template-columns: minmax(0, 580px) minmax(170px, 240px);
    justify-content: space-between;
  }

  .acquisition:has(.reward-preview) { min-height: min(100svh, 900px); }

  .reward-preview { padding-inline: 12px; }

  .dock-caption { font-size: 11px; }
  .download-sheet { bottom: 18px; width: 420px; border-radius: 20px; }
  .story-discovery { padding-top: 29px; }
  .next-story-tile { grid-template-columns: 90px minmax(0, 1fr) auto; padding-inline-end: 18px; }
  .next-story-tile h3 { font-size: 23px; }
  .next-story-tile p { font-size: 13px; }
}

@media (max-height: 540px) {
  .acquisition { height: auto; min-height: 100svh; }
  .ad-stack, .ad-media { flex: none; }
  .video-card { flex: none; height: clamp(280px, 61svh, 410px); }
}

@media (max-width: 899px) {
  .ad-stack { min-height: auto; }
  .ad-media { min-height: calc(clamp(245px, 55svh, 475px) + 28px); }
}

@media (max-width: 360px) {
  .conversion-page { --ad-page-gutter: 13px; }
  .download-dock { margin-inline: -13px; padding-inline: 13px; }
  .ad-hook h1 { font-size: 23px; }
  .end-card { padding-top: 30px; }
  .reward-preview-body { grid-template-columns: minmax(0, 1fr) minmax(0, 41%); gap: 6px; }
  .next-story-tile { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 9px; }
}

@media (max-width: 650px) {
  .library .film-cover { width: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover-play-ring, .download-cta, .next-story-tile { transition: none; }
  .cover-trigger:hover .cover-play-ring { transform: none; }
}
