:root {
  --bg: oklch(11% 0.018 290);
  --surface: oklch(16% 0.02 290);
  --surface-2: oklch(20% 0.022 290);
  --fg: oklch(96% 0.01 95);
  --muted: oklch(68% 0.02 290);
  --border: oklch(28% 0.02 290);
  --accent: oklch(72% 0.165 45);
  --accent-dim: oklch(42% 0.1 45);
  --success: oklch(72% 0.14 155);
  --warn: oklch(78% 0.14 85);
  --danger: oklch(62% 0.18 25);
  --lock: oklch(55% 0.04 290);
  --font-display:
    "Segoe UI", "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui,
    sans-serif;
  --font-body:
    "Segoe UI", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui,
    sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px oklch(0% 0 0 / 0.45);
  --nav-h: 64px;
  --safe: clamp(16px, 4vw, 40px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
button,
a {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}
p {
  margin: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 var(--safe);
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(
    145deg,
    var(--accent) 0%,
    oklch(48% 0.14 25) 100%
  );
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--accent) 35%, transparent);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px 9px 8px 11px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--bg);
}
.brand-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand-name span {
  color: var(--muted);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.nav-links::-webkit-scrollbar {
  display: none;
}
.nav-link {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 510;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    color 0.15s,
    background 0.15s;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover {
  color: var(--fg);
  background: var(--surface);
}
.nav-link.is-active {
  color: var(--fg);
  background: var(--surface-2);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: 0.02em;
  transition:
    transform 0.12s,
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    box-shadow 0.15s;
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: oklch(16% 0.02 50);
  box-shadow: 0 8px 24px color-mix(in oklch, var(--accent) 28%, transparent);
}
.btn-primary:hover {
  filter: brightness(1.05);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--fg);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: color-mix(in oklch, var(--border) 50%, var(--fg));
}
.btn-soft {
  background: var(--surface-2);
  color: var(--fg);
}
.btn-soft:hover {
  background: color-mix(in oklch, var(--surface-2) 70%, var(--fg));
}
.btn-block {
  width: 100%;
}
.btn-sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--fg);
  display: inline-grid;
  place-items: center;
}
.btn-icon:hover {
  background: var(--surface);
}

.main {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px var(--safe) 64px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0 16px;
}
.section-head h2 {
  font-size: clamp(20px, 2.4vw, 28px);
}
.section-head p {
  color: var(--muted);
  font-size: 14px;
  max-width: 42ch;
}
.link-quiet {
  color: var(--muted);
  font-size: 14px;
  font-weight: 510;
  letter-spacing: 0.02em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.link-quiet:hover {
  color: var(--fg);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 360px;
  box-shadow: var(--shadow);
}
.hero-visual {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(10% 0.02 290 / 0.95) 0%,
    oklch(10% 0.02 290 / 0.2) 45%,
    transparent 70%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 32px);
  gap: 12px;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--bg) 55%, transparent);
  backdrop-filter: blur(8px);
}
.badge-free {
  border-color: color-mix(in oklch, var(--success) 45%, var(--border));
  color: var(--success);
}
.badge-lock {
  border-color: color-mix(in oklch, var(--accent) 35%, var(--border));
  color: var(--accent);
}
.badge-soft {
  color: var(--muted);
}
.hero-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 16ch;
}
.hero-content .lead {
  color: color-mix(in oklch, var(--fg) 82%, var(--muted));
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.meta-line strong {
  color: var(--fg);
  font-weight: 550;
}

.free-rail {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-height: 360px;
}
.free-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.free-rail-head h2 {
  font-size: 18px;
}
.free-rail-head span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.free-stack {
  display: grid;
  gap: 10px;
  grid-template-rows: repeat(3, 1fr);
}
.free-ep {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  transition:
    border-color 0.15s,
    background 0.15s;
  min-height: 96px;
  text-decoration: none;
  color: inherit;
}
.free-ep:hover {
  border-color: color-mix(in oklch, var(--accent) 40%, var(--border));
  background: var(--surface-2);
}
.ep-thumb {
  width: 88px;
  height: 76px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ep-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: oklch(0% 0 0 / 0.28);
}
.ep-play svg {
  width: 22px;
  height: 22px;
  fill: var(--fg);
}
.ep-body h3 {
  font-size: 14px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.ep-body p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.ep-dur {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 168px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.series-card {
  scroll-snap-align: start;
  background: none;
  text-align: left;
  display: grid;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.poster-overlay {
  position: absolute;
  inset: auto 8px 8px 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.poster-lock {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in oklch, var(--bg) 70%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.poster-lock svg {
  width: 14px;
  height: 14px;
  stroke: var(--fg);
  fill: none;
  stroke-width: 1.8;
}
.series-card h3 {
  font-size: 14px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.series-card .sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.series-card:hover .poster {
  border-color: color-mix(in oklch, var(--accent) 35%, var(--border));
}

.genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 510;
  letter-spacing: 0.02em;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.chip:hover,
.chip.is-active {
  color: var(--fg);
  border-color: color-mix(in oklch, var(--fg) 25%, var(--border));
  background: var(--surface-2);
}
.chip.is-active {
  box-shadow: inset 0 0 0 1px
    color-mix(in oklch, var(--accent) 40%, transparent);
}

.grid-genres {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.genre-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 140px;
  text-align: left;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    border-color 0.15s,
    transform 0.12s;
  text-decoration: none;
  color: inherit;
}
.genre-card:hover {
  border-color: color-mix(in oklch, var(--accent) 35%, var(--border));
  transform: translateY(-1px);
}
.genre-card .bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}
.genre-card h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 4px;
}
.genre-card p {
  position: relative;
  color: color-mix(in oklch, var(--fg) 75%, var(--muted));
  font-size: 13px;
}

.g-romance {
  background: linear-gradient(145deg, oklch(30% 0.08 15), oklch(16% 0.03 290));
}
.g-thriller {
  background: linear-gradient(145deg, oklch(28% 0.06 280), oklch(14% 0.03 290));
}
.g-fantasy {
  background: linear-gradient(145deg, oklch(30% 0.08 300), oklch(14% 0.03 280));
}
.g-comedy {
  background: linear-gradient(145deg, oklch(32% 0.08 90), oklch(15% 0.03 290));
}
.g-drama {
  background: linear-gradient(145deg, oklch(28% 0.05 40), oklch(14% 0.02 290));
}
.g-mystery {
  background: linear-gradient(145deg, oklch(26% 0.06 250), oklch(13% 0.03 290));
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 20px;
  align-items: start;
}
.player-stage {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: oklch(8% 0.015 290);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.phone-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 720px);
  margin: 0 auto;
  background: oklch(8% 0.01 290);
}
.phone-stage {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.phone-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(10% 0.02 290 / 0.3) 0%,
    oklch(8% 0.015 290 / 0.5) 45%,
    oklch(6% 0.01 290 / 0.85) 100%
  );
}
.phone-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 28px;
  background: linear-gradient(to bottom, oklch(0% 0 0 / 0.55), transparent);
}
.phone-top .title {
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 48px 14px 16px;
  background: linear-gradient(to top, oklch(0% 0 0 / 0.82) 20%, transparent);
  display: grid;
  gap: 12px;
}
.progress {
  height: 3px;
  border-radius: 99px;
  background: oklch(100% 0 0 / 0.15);
  overflow: hidden;
}
.progress > i {
  display: block;
  height: 100%;
  width: 38%;
  background: var(--accent);
  border-radius: inherit;
}
.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.player-controls .time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: color-mix(in oklch, var(--fg) 80%, transparent);
  font-variant-numeric: tabular-nums;
}
.scene-caption {
  font-size: 13px;
  line-height: 1.4;
  color: color-mix(in oklch, var(--fg) 90%, transparent);
}
.choice-panel {
  display: grid;
  gap: 8px;
}
.choice {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid oklch(100% 0 0 / 0.14);
  background: oklch(100% 0 0 / 0.08);
  backdrop-filter: blur(10px);
  color: var(--fg);
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
  font-weight: 510;
  letter-spacing: 0.01em;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.12s;
}
.choice:hover {
  background: oklch(100% 0 0 / 0.14);
  border-color: color-mix(in oklch, var(--accent) 45%, transparent);
}
.choice.is-locked {
  opacity: 0.72;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
}
.choice.is-locked .lock-tag {
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.player-side {
  display: grid;
  gap: 16px;
}
.panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
}
.panel h2 {
  font-size: 18px;
  margin-bottom: 6px;
}
.panel .desc {
  color: var(--muted);
  font-size: 14px;
  max-width: 52ch;
}
.ep-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.ep-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-align: left;
  transition:
    background 0.15s,
    border-color 0.15s;
  text-decoration: none;
  color: inherit;
  width: 100%;
}
.ep-item:hover {
  background: var(--surface-2);
}
.ep-item.is-current {
  border-color: color-mix(in oklch, var(--accent) 40%, var(--border));
  background: color-mix(in oklch, var(--accent) 8%, var(--surface));
}
.ep-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ep-item.is-current .ep-num {
  color: oklch(16% 0.02 50);
  background: var(--accent);
}
.ep-item h3 {
  font-size: 14px;
  letter-spacing: -0.01em;
}
.ep-item p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.ep-status {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.ep-status.free {
  color: var(--success);
}
.ep-status.locked {
  color: var(--accent);
}

.paywall {
  border: 1px solid color-mix(in oklch, var(--accent) 30%, var(--border));
  background:
    radial-gradient(
      ellipse 80% 80% at 100% 0%,
      color-mix(in oklch, var(--accent) 16%, transparent),
      transparent 55%
    ),
    var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.paywall h3 {
  font-size: 17px;
}
.paywall p {
  color: var(--muted);
  font-size: 14px;
}

.pricing {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}
.pricing-copy h1 {
  font-size: clamp(28px, 4vw, 40px);
  max-width: 14ch;
  margin: 8px 0 12px;
}
.pricing-copy p {
  color: var(--muted);
  max-width: 48ch;
  font-size: 15px;
}
.perks {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.perk {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: color-mix(in oklch, var(--fg) 88%, var(--muted));
  font-size: 14px;
}
.perk i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
}
.perk svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}
.plans {
  display: grid;
  gap: 12px;
}
.plan {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: calc(var(--radius) + 2px);
  padding: 18px;
  text-align: left;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.plan:hover {
  border-color: color-mix(in oklch, var(--fg) 20%, var(--border));
}
.plan.is-selected {
  border-color: color-mix(in oklch, var(--accent) 55%, var(--border));
  box-shadow:
    0 0 0 1px color-mix(in oklch, var(--accent) 35%, transparent),
    var(--shadow);
}
.plan-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.plan h3 {
  font-size: 18px;
}
.plan .save {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: oklch(16% 0.02 50);
  background: var(--accent);
  border-radius: 999px;
  min-height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  font-weight: 650;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 6px;
}
.price strong {
  font-size: clamp(32px, 4vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.price span {
  color: var(--muted);
  font-size: 14px;
}
.plan .note {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.catalog-toolbar h1 {
  font-size: clamp(26px, 3.5vw, 36px);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.catalog-card {
  text-align: left;
  background: none;
  border: 0;
  display: grid;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.catalog-card .poster {
  width: 100%;
}
.catalog-card h3 {
  font-size: 14px;
  letter-spacing: -0.01em;
}
.catalog-card .sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.page-hero {
  margin: 20px 0 28px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 18ch;
  margin-bottom: 10px;
}
.page-hero p {
  color: var(--muted);
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.55;
}

.prose {
  max-width: 72ch;
  color: color-mix(in oklch, var(--fg) 88%, var(--muted));
  font-size: 15px;
  line-height: 1.7;
}
.prose h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 12px;
}
.prose h2 {
  font-size: 22px;
  margin: 28px 0 10px;
}
.prose h3 {
  font-size: 17px;
  margin: 22px 0 8px;
}
.prose p {
  margin: 0 0 14px;
}
.prose ul,
.prose ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.prose li {
  margin-bottom: 6px;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose strong {
  color: var(--fg);
}
.legal-card {
  max-width: 760px;
  margin: 20px auto;
  padding: 28px clamp(18px, 4vw, 40px) 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.contact-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-card h3 {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-card p,
.contact-card a {
  font-size: 15px;
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
}
.contact-card a:hover {
  color: var(--accent);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: color-mix(in oklch, var(--bg) 92%, black);
  padding: 32px var(--safe) 28px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer-brand .brand-name {
  margin-bottom: 8px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  max-width: 36ch;
  line-height: 1.5;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 550;
}
.footer-col a,
.footer-col p {
  display: block;
  color: color-mix(in oklch, var(--fg) 82%, var(--muted));
  font-size: 14px;
  min-height: 32px;
  line-height: 1.4;
}
.footer-col a:hover {
  color: var(--fg);
}
.footer-bottom {
  max-width: 1280px;
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.01em;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer-legal a {
  color: var(--muted);
}
.footer-legal a:hover {
  color: var(--fg);
}

.cookie {
  position: fixed;
  left: var(--safe);
  right: var(--safe);
  bottom: 16px;
  z-index: 50;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  display: none;
  gap: 12px;
  align-items: start;
}
.cookie.is-open {
  display: grid;
  grid-template-columns: 1fr auto;
}
.cookie p {
  color: color-mix(in oklch, var(--fg) 88%, var(--muted));
  font-size: 13px;
  line-height: 1.45;
}
.cookie a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.toast {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: var(--safe);
  z-index: 60;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--fg);
  font-size: 13px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.18s,
    transform 0.18s cubic-bezier(0.23, 1, 0.32, 1);
}
.toast.is-on {
  opacity: 1;
  transform: none;
}

.mobile-bar {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: 35;
  border-top: 1px solid var(--border);
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.mobile-bar a {
  min-height: 52px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  display: grid;
  place-items: center;
  gap: 4px;
  font-weight: 510;
  text-decoration: none;
}
.mobile-bar a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}
.mobile-bar a.is-active {
  color: var(--fg);
  background: var(--surface);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .free-rail {
    min-height: 0;
  }
  .player-layout {
    grid-template-columns: 1fr;
  }
  .phone-frame {
    max-height: min(68vh, 640px);
    width: min(100%, 380px);
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-bar {
    display: grid;
  }
  .nav-actions .btn-ghost {
    display: none;
  }
  .player-stage {
    position: static;
  }
}
@media (max-width: 560px) {
  .free-ep {
    grid-template-columns: 72px 1fr;
  }
  .ep-dur {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie.is-open {
    grid-template-columns: 1fr;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    flex: 1;
  }
  .section-head {
    flex-direction: column;
    align-items: start;
  }
  .hero-card {
    min-height: 320px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }
}
