:root {
  --bg: #000;
  --surface: #131313;
  --surface-hi: #1f1f1f;
  --surface-lo: #0f0f0f;
  --text: #e9e9e9;
  --muted: #b0b0b0;
  --brand: #e50914;
  --match: #46d369;
  --border: #333;
  --gutter: clamp(16px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  padding: 0 var(--gutter);
  background: transparent;
  backdrop-filter: none;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(34px, 3vw, 46px);
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: clamp(10px, 1.5vw, 24px);
  font-size: 14px;
  margin-left: auto;
}

.main-nav a {
  color: #d0d0d0;
  transition: color 180ms ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-toggle {
  display: none;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 160;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.hero {
  position: relative;
  min-height: min(86vh, 900px);
  padding: max(100px, 14vh) var(--gutter) clamp(48px, 8vh, 88px);
  display: flex;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.home-hub {
  min-height: auto;
  padding: 20px var(--gutter) 12px;
  align-items: stretch;
}

.home-hub::before,
.home-hub::after {
  display: none;
}

.home-hub-bg {
  display: none;
}

.home-hub-card {
  max-width: min(760px, 94vw);
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid #1d2336;
  background: radial-gradient(circle at top, rgba(45, 62, 143, 0.25), rgba(5, 6, 20, 0.94));
  padding: clamp(26px, 5vw, 46px) clamp(18px, 4vw, 42px);
  text-align: center;
}

.home-hub-card h1 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 4.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home-search-form {
  margin: 0 auto;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid #2b2f43;
  background: rgba(8, 10, 20, 0.88);
  padding: 12px 16px;
}

.home-search-form .material-symbols-outlined {
  color: #a2a5b7;
}

.home-search-form input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #f1f1f5;
  outline: none;
  font-size: 1rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.97) 0%,
    rgba(0, 0, 0, 0.92) 12%,
    rgba(0, 0, 0, 0.76) 25%,
    rgba(0, 0, 0, 0.51) 39%,
    rgba(0, 0, 0, 0.26) 55%,
    rgba(0, 0, 0, 0.13) 72%,
    rgba(0, 0, 0, 0.07) 100%
  );
}

.hero::after {
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.23) 17%, rgba(0, 0, 0, 0) 36%),
    linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.26) 32%, rgba(0, 0, 0, 0.07) 59%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(129% 94% at 50% 50%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.33) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: min(760px, 92vw);
}

.hero-content-blend {
  animation: heroFadeIn 340ms ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f2f2f2;
  background: rgba(0, 0, 0, 0.45);
}

.hero h1,
.program-title {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 7vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-meta,
.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.94rem;
}

.match {
  color: var(--match);
  font-weight: 700;
}

.pill {
  border: 1px solid #6a6a6a;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.76rem;
}

.hero p,
.program-description {
  margin: 0 0 24px;
  color: #d0d0d0;
  max-width: 70ch;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  border: 0;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary {
  background: #fff;
  color: #111;
}

.btn-secondary {
  background: rgba(109, 109, 110, 0.58);
  color: #fff;
}

.hero-dots {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
  padding: 0;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.hero-dot.active {
  width: 22px;
  background: #fff;
}

.hero-dot:hover {
  transform: scale(1.12);
}

.content {
  padding: 0 var(--gutter) 50px;
}

.row {
  margin-bottom: 38px;
}

.row h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.card-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 15vw);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.poster-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease;
}

.poster-card:hover {
  transform: translateY(-3px);
}

.poster-media {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #2b2b2b;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.card-meta {
  padding: 10px 3px 2px;
}

.card-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f4f4f4;
  line-height: 1.2;
  margin-bottom: 4px;
}

.card-subtitle {
  display: block;
  font-size: 0.82rem;
  color: #aab1bd;
}

.card-rating {
  color: #38bdf8;
  font-weight: 700;
}

.continue-card .poster-media {
  border-color: #2f3250;
}

.continue-tag {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
}

.continue-progress {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.continue-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #7c84ff;
}

.rank-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(208px, 20vw);
  gap: 16px;
  overflow-x: auto;
}

.rank-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  align-items: center;
}

.rank-number {
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.8;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px #646464;
}

.rank-card button {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.rank-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.program-hero {
  position: relative;
  min-height: min(88vh, 960px);
  padding: max(96px, 13vh) var(--gutter) 60px;
  display: flex;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.program-hero::before,
.program-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.program-hero::before {
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.97) 0%,
    rgba(0, 0, 0, 0.92) 12%,
    rgba(0, 0, 0, 0.76) 25%,
    rgba(0, 0, 0, 0.51) 39%,
    rgba(0, 0, 0, 0.26) 55%,
    rgba(0, 0, 0, 0.13) 72%,
    rgba(0, 0, 0, 0.07) 100%
  );
}

.program-hero::after {
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.23) 17%, rgba(0, 0, 0, 0) 36%),
    linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.26) 32%, rgba(0, 0, 0, 0.07) 59%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(129% 94% at 50% 50%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.33) 100%);
}

.program-content {
  position: relative;
  z-index: 3;
  max-width: min(900px, 92vw);
}

.meta-grid {
  margin-top: 16px;
  display: grid;
  gap: 6px;
  color: #b8b8b8;
}

.meta-grid span strong {
  color: #898989;
  font-weight: 500;
}

.episodes {
  padding: 22px var(--gutter) 60px;
}

.episodes h2 {
  margin: 0 0 16px;
  font-size: 1.7rem;
}

.episode-list {
  display: grid;
  gap: 8px;
}

.episode-item {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease;
}

.episode-item:hover {
  background: var(--surface-lo);
  border-color: #242424;
}

.episode-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.episode-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.episode-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.episode-time {
  font-size: 0.85rem;
  color: #9e9e9e;
}

.episode-desc {
  margin: 0;
  color: #bbbbbb;
  line-height: 1.45;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .top-nav {
    justify-content: space-between;
    gap: 10px;
    height: 68px;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .brand-logo {
    height: clamp(30px, 6vw, 38px);
  }

  .header-actions {
    gap: 6px;
  }

  .mobile-nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 170;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    width: min(84vw, 340px);
    margin-left: 0;
    padding: 90px 22px 22px;
    background: rgba(9, 10, 14, 0.97);
    border-left: 1px solid #232838;
    box-shadow: -16px 0 42px rgba(0, 0, 0, 0.48);
    transform: translateX(108%);
    transition: transform 260ms ease;
  }

  body.mobile-nav-open .main-nav {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1.04rem;
    line-height: 1.3;
    color: #f3f4fb;
  }

  body.mobile-nav-open .mobile-nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .program-hero,
  .hero {
    min-height: min(76vh, 720px);
    padding: max(88px, 11vh) max(14px, env(safe-area-inset-right)) clamp(34px, 8vh, 58px)
      max(14px, env(safe-area-inset-left));
  }

  .hero-content {
    max-width: min(94vw, 640px);
  }

  .hero h1,
  .program-title {
    font-size: clamp(1.92rem, 10vw, 3rem);
    line-height: 0.98;
    margin-bottom: 10px;
  }

  .hero p,
  .program-description {
    margin-bottom: 18px;
    font-size: 0.94rem;
    max-width: 100%;
  }

  .hero-meta,
  .program-meta {
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.85rem;
  }

  .cta-row {
    width: 100%;
  }

  .btn {
    min-height: 44px;
  }

  .content {
    padding: 0 max(14px, env(safe-area-inset-right)) 40px max(14px, env(safe-area-inset-left));
  }

  .row {
    margin-bottom: 30px;
  }

  .row h2 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .card-strip,
  .rank-row {
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .card-strip {
    grid-auto-columns: minmax(144px, 46vw);
    gap: 10px;
  }

  .rank-row {
    grid-auto-columns: minmax(178px, 64vw);
  }

  .poster-card,
  .rank-card {
    scroll-snap-align: start;
  }

  .episode-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px;
  }

  .episode-title {
    font-size: 1rem;
  }

  .episodes {
    padding: 18px max(14px, env(safe-area-inset-right)) 44px max(14px, env(safe-area-inset-left));
  }

  .episodes h2 {
    font-size: 1.32rem;
    margin-bottom: 12px;
  }

  .search-page {
    padding: 84px max(14px, env(safe-area-inset-right)) 42px max(14px, env(safe-area-inset-left));
  }

  .search-head {
    margin-bottom: 14px;
  }

  .search-head h1 {
    margin-bottom: 10px;
    font-size: clamp(1.48rem, 7vw, 2rem);
  }

  .search-page-input-wrap {
    border-radius: 12px;
    padding: 10px 12px;
  }

  .search-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .legal-page {
    padding-top: 84px;
  }

  .site-footer {
    padding: 18px max(14px, env(safe-area-inset-right)) 24px max(14px, env(safe-area-inset-left));
  }
}

.status-line {
  margin: 0;
  color: #d5d5d5;
  font-size: 1rem;
}

.status-line.error {
  color: #ffb4ab;
}

.site-footer {
  padding: 20px var(--gutter) 28px;
  color: #969696;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
}

.search-panel {
  position: fixed;
  inset: 72px 0 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  padding: 12px var(--gutter) 20px;
}

.search-panel-inner {
  margin-left: auto;
  width: min(640px, 100%);
  background: #101010;
  border: 1px solid #252525;
  border-radius: 10px;
  overflow: hidden;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #252525;
  color: #cfcfcf;
}

.search-input-wrap input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font-size: 1rem;
}

.search-results {
  max-height: min(58vh, 520px);
  overflow: auto;
}

.search-result-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #1f1f1f;
  align-items: center;
}

.search-result-item:hover {
  background: #1a1a1a;
}

.search-result-item img {
  width: 56px;
  height: 82px;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-item strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}

.search-result-item em {
  display: block;
  font-style: normal;
  color: #adadad;
  font-size: 0.8rem;
}

.player-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.9);
  display: grid;
  place-items: center;
  padding: 24px;
}

.player-dialog {
  width: min(1180px, 100%);
  background: #080808;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  overflow: hidden;
}

.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #1f1f1f;
}

.player-header h3 {
  margin: 0;
  font-size: 1rem;
}

.player-frame-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-frame-wrap iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.episodes-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.season-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.season-controls label {
  color: #b5b5b5;
  font-size: 0.9rem;
}

.season-controls select {
  background: #161616;
  border: 1px solid #363636;
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.episode-button {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.episode-button:hover {
  background: var(--surface-lo);
  border-color: #2b2b2b;
}

body.search-open,
body.player-open {
  overflow: hidden;
}

body.mobile-nav-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .search-panel {
    inset: 72px 0 0;
    padding: 8px max(10px, env(safe-area-inset-right)) 12px max(10px, env(safe-area-inset-left));
  }

  .search-panel-inner {
    border-radius: 12px;
  }

  .search-results {
    max-height: min(64vh, 520px);
  }

  .episodes-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .player-modal {
    padding: 0;
    place-items: end stretch;
  }

  .player-dialog {
    width: 100%;
    border-radius: 14px 14px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .player-header {
    padding: 12px 12px 10px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: min(72vh, 620px);
    padding-top: max(78px, 10vh);
  }

  .hero h1,
  .program-title {
    font-size: clamp(1.65rem, 10.2vw, 2.4rem);
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .btn {
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .card-strip {
    grid-auto-columns: minmax(132px, 48vw);
  }

  .search-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-card-info h3 {
    font-size: 0.88rem;
  }

  .watch-back {
    font-size: 0.86rem;
  }

  .watch-title {
    max-width: 52vw;
    font-size: 0.78rem;
  }
}

.search-page {
  padding: 94px var(--gutter) 60px;
}

.search-head {
  margin-bottom: 20px;
}

.search-head h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.search-page-input-wrap {
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #121212;
  border: 1px solid #2d2d2d;
  border-radius: 10px;
  padding: 12px 14px;
}

.search-page-input-wrap input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 1rem;
}

.search-page-meta {
  color: #b4b4b4;
  margin-bottom: 12px;
  min-height: 20px;
}

.search-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}

.search-card {
  background: #101010;
  border: 1px solid #212121;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.search-card:hover {
  transform: translateY(-3px);
  border-color: #373737;
}

.search-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.search-card-info {
  padding: 10px;
}

.search-card-info h3 {
  margin: 0 0 4px;
  font-size: 0.94rem;
}

.search-card-info p {
  margin: 0;
  font-size: 0.8rem;
  color: #a9a9a9;
}

.legal-page {
  max-width: 980px;
  padding-top: 94px;
}

.legal-copy {
  display: grid;
  gap: 12px;
}

.legal-copy p {
  margin: 0;
  color: #c9c9c9;
  line-height: 1.55;
}

.page-watch,
.page-watch body {
  overflow: hidden;
}

.watch-shell {
  height: 100vh;
  height: 100dvh;
  position: relative;
  background: #000;
  overflow: hidden;
}

.watch-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) brightness(0.3);
  transform: scale(1.08);
}

.watch-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.88));
  pointer-events: none;
}

.watch-topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(14px, 3vw, 28px);
  pointer-events: none;
}

.watch-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #fff;
  opacity: 0.92;
  pointer-events: auto;
}

.watch-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.watch-title {
  font-size: 0.96rem;
  color: #e8e8e8;
  max-width: 60vw;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.watch-player-section {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
}

.watch-player-section iframe {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.watch-paused-overlay {
  position: absolute;
  left: clamp(14px, 3vw, 34px);
  right: auto;
  top: auto;
  bottom: clamp(86px, 12vh, 140px);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  justify-items: start;
  align-items: flex-start;
  gap: 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  padding: 0;
  pointer-events: none;
  max-width: min(58vw, 660px);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.72);
}

.watch-paused-overlay h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2.7vw, 2.1rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  max-width: 100%;
}

.watch-paused-logo {
  max-width: min(56vw, 520px);
  max-height: 128px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.65));
}

.watch-paused-overlay p {
  margin: 0;
}

.watch-paused-meta {
  font-size: 0.98rem;
  color: #cfcfcf;
  letter-spacing: 0.015em;
  font-weight: 500;
  margin-top: -2px;
}

.watch-paused-episode-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-top: 2px;
}

.watch-paused-description {
  margin: 4px 0 0;
  color: #cfcfcf;
  font-size: clamp(0.98rem, 1.45vw, 1.28rem);
  line-height: 1.42;
  font-weight: 400;
  max-width: min(58vw, 760px);
}

.watch-paused-overlay[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .watch-topbar {
    padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px
      max(12px, env(safe-area-inset-left));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  }

  .watch-title {
    max-width: 45vw;
    font-size: 0.84rem;
  }

  .watch-paused-overlay {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    max-width: none;
    bottom: max(88px, calc(env(safe-area-inset-bottom) + 62px));
    gap: 6px;
  }

  .watch-paused-logo {
    max-width: min(88vw, 480px);
    max-height: 88px;
  }

  .watch-paused-meta {
    font-size: 0.82rem;
  }

  .watch-paused-episode-title {
    font-size: clamp(1.1rem, 5.6vw, 1.65rem);
  }

  .watch-paused-description {
    max-width: min(92vw, 640px);
    font-size: 0.88rem;
    line-height: 1.36;
  }
}
