:root {
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --bg: #08090b;
  --bg-soft: #0d1014;
  --panel: #12161d;
  --panel-2: #171c25;
  --text: #f6f2eb;
  --muted: #9da4b0;
  --muted-2: #737c8a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --red: #c8102e;
  --red-bright: #e63946;
  --gold: #d8b46a;
  --green: #65c18c;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
  --header-h: 76px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(200, 16, 46, 0.16), transparent 60%),
    radial-gradient(700px 420px at 0% 32%, rgba(216, 180, 106, 0.05), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: linear-gradient(to bottom, rgba(8, 9, 11, 0.94), rgba(8, 9, 11, 0.6) 70%, transparent);
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 9, 11, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-picture {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  filter: drop-shadow(0 6px 14px rgba(80, 5, 20, 0.32));
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(246, 242, 235, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-bright), #9f0d25);
  color: #fff;
  box-shadow: 0 14px 32px rgba(200, 16, 46, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(200, 16, 46, 0.42);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.11);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 11px;
}

.btn-block {
  width: 100%;
}

/* Shared type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.25;
}

.muted-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--text);
  border-color: var(--red-bright);
}

/* Hero */
.hero {
  position: relative;
  min-height: 880px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 76px) 0 96px;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media picture,
.page-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: brightness(0.72) saturate(0.82) contrast(1.05);
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.74) 38%, rgba(8, 9, 11, 0.2) 72%, rgba(8, 9, 11, 0.64) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 9, 11, 0.35) 34%, transparent 62%),
    radial-gradient(720px 460px at 78% 18%, rgba(200, 16, 46, 0.2), transparent 66%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 48px));
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 64px;
}

.hero-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.hero-copy {
  max-width: 780px;
}

.hero-kicker {
  margin-bottom: 16px;
  color: rgba(246, 242, 235, 0.66);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 8.6vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-tagline {
  max-width: 580px;
  margin-bottom: 26px;
  color: rgba(246, 242, 235, 0.86);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: rgba(246, 242, 235, 0.73);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta-row li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-row li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 12px;
  border-radius: 50%;
  background: rgba(246, 242, 235, 0.34);
}

.meta-age span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  width: 300px;
  flex-shrink: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(12, 15, 20, 0.52);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.hero-note-label {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-note p {
  margin-bottom: 22px;
  color: rgba(246, 242, 235, 0.86);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.35;
}

.hero-note-bottom {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.16);
}

.install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(216, 180, 106, 0.36);
  border-radius: 999px;
  background: rgba(216, 180, 106, 0.07);
  color: var(--gold);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.install-btn[hidden] {
  display: none;
}

.install-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-btn:hover {
  border-color: rgba(216, 180, 106, 0.65);
  background: rgba(216, 180, 106, 0.13);
  color: var(--text);
}

.install-btn--footer {
  margin-top: 14px;
}

.install-hint {
  max-width: 300px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.install-hint[hidden] {
  display: none;
}

.player-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

.player-actions .install-hint {
  text-align: right;
}

/* Sections */
.section {
  position: relative;
  padding: 96px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head > p {
  max-width: 430px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section-head--compact {
  margin-bottom: 26px;
}

.section-about {
  padding-top: 72px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 64px;
  align-items: start;
}

.about-copy h2 {
  max-width: 720px;
  margin-top: 14px;
}

.about-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
}

.about-copy .lead {
  color: rgba(246, 242, 235, 0.88);
  font-size: 18px;
  line-height: 1.7;
}

.fact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 55%),
    var(--panel);
  box-shadow: var(--shadow);
}

.fact-card h3 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 24px;
}

.fact-list {
  margin: 0;
}

.fact-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.fact-list > div:first-child {
  border-top: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 12px;
}

.fact-list dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
}

/* Season cards */
.season-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.season-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(160px 160px at 90% 0%, rgba(200, 16, 46, 0.24), transparent 62%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), transparent 42%),
    var(--panel);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.season-card::before {
  content: attr(data-number);
  position: absolute;
  right: 8px;
  bottom: -30px;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-display);
  font-size: 190px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.season-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 57, 70, 0.45);
  background:
    radial-gradient(180px 180px at 90% 0%, rgba(200, 16, 46, 0.32), transparent 64%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.07), transparent 42%),
    var(--panel-2);
}

.season-card.is-soon {
  opacity: 0.56;
}

.season-card.is-soon:hover {
  transform: none;
  border-color: var(--line);
}

.season-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.season-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

.season-status {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.season-status.is-live {
  color: var(--red-bright);
}

.season-card-body {
  position: relative;
  z-index: 1;
  margin-top: 26px;
}

.season-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.05;
}

.season-card-meta {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.season-card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.season-card-bottom span:last-child {
  color: var(--text);
}

/* Player */
.player-section {
  padding: 80px 0 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(200, 16, 46, 0.12), transparent 65%),
    #050607;
}

.player-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.player-head h2 {
  margin: 10px 0 0;
}

.player-frame {
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  overflow: visible;
}

.player-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 0;
  background: #000;
}

/* Episodes */
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.episode-grid--season {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

a.episode-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 57, 70, 0.42);
  background: var(--panel-2);
}

.episode-card.is-soon {
  opacity: 0.58;
}

.episode-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.episode-number {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.episode-date {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.episode-card h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 22px;
}

.episode-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.episode-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.episode-card-bottom .arrow {
  color: var(--text);
  font-size: 16px;
}

.soon-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Actors */
.actor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.actor-grid--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.actor-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.actor-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 180, 106, 0.42);
}

.actor-card[hidden] {
  display: none;
}

.actor-photo {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: #0b0d11;
}

.actor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.85) contrast(1.03);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.actor-card:hover .actor-photo img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.05);
}

.actor-photo--initials {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 16, 46, 0.22), transparent 55%),
    #101217;
}

.actor-initials {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1;
}

.actor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.18) 44%, transparent 70%);
}

.actor-info {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 18px;
}

.actor-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.1;
}

.actor-role {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.actor-seasons {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.actors-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.actors-toolbar h2 {
  margin: 10px 0 0;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(360px, 100%);
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel);
}

.search-field svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
  flex-shrink: 0;
}

.search-field input {
  width: 100%;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

.search-field input::placeholder {
  color: var(--muted-2);
}

.empty-state {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}

.section-note {
  padding-top: 0;
}

.note-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 220px at 90% 0%, rgba(216, 180, 106, 0.1), transparent 70%),
    var(--panel);
}

.note-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.note-card p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 72px;
  align-items: start;
}

.faq-intro h2 {
  margin: 12px 0 14px;
}

.faq-intro p {
  max-width: 320px;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--red-bright);
}

.faq-answer {
  max-width: 680px;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

/* CTA */
.cta-section {
  padding-top: 0;
}

.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: 48px;
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(520px 260px at 88% 10%, rgba(230, 57, 70, 0.26), transparent 68%),
    linear-gradient(120deg, #141015, #1a1116 58%, #241017);
}

.cta-card::before {
  content: "1";
  position: absolute;
  right: 90px;
  bottom: -80px;
  color: rgba(255, 255, 255, 0.05);
  font-family: var(--font-display);
  font-size: 320px;
  line-height: 1;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  margin: 8px 0 10px;
}

.cta-card p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 90px) 0 64px;
  overflow: hidden;
}

.page-hero--episode {
  min-height: 560px;
}

.page-hero.page-hero--compact h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1;
}

.page-hero-media,
.page-hero-shade {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  filter: brightness(0.58) saturate(0.8);
}

.page-hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.72) 48%, rgba(8, 9, 11, 0.3) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 9, 11, 0.22) 42%, transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  margin-bottom: 42px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--muted-2);
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text);
}

.page-hero-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.page-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.page-hero-subtitle {
  max-width: 760px;
  margin-bottom: 24px;
  color: rgba(246, 242, 235, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

.page-hero .meta-row {
  margin-bottom: 0;
}

.status-pill {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.status-pill--aired {
  border: 1px solid rgba(101, 193, 140, 0.3);
  color: #a7e7c3;
}

/* Season layout */
.season-layout,
.episode-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  padding-top: 58px;
  padding-bottom: 96px;
}

.episode-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.season-aside,
.episode-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.side-card {
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.side-card h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.side-facts {
  margin: 0 0 20px;
}

.side-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.side-facts > div:first-child {
  border-top: 0;
}

.side-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.side-facts dd {
  margin: 0;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
}

.side-card .btn + .btn {
  margin-top: 10px;
}

.season-nav a,
.season-nav-disabled {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.season-nav a:first-of-type {
  border-top: 0;
}

.season-nav span:first-child,
.season-nav a span:first-child {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  font-size: 11px;
}

.season-nav a.is-current {
  color: var(--text);
}

.season-nav a.is-current span:first-child {
  border-color: var(--red-bright);
  background: var(--red);
}

.season-nav-disabled em {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-card--quote {
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(216, 180, 106, 0.1), transparent 70%),
    var(--panel);
}

.side-card--quote p {
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.45;
}

.side-card--next p {
  color: var(--muted);
  font-size: 13px;
}

.side-card--next .soon-label {
  display: inline-block;
  margin-top: 12px;
}

/* Episode page */
.episode-main {
  min-width: 0;
}

.prose-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.prose-card h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.prose-card p {
  max-width: 760px;
  color: rgba(246, 242, 235, 0.82);
  font-size: 17px;
  line-height: 1.75;
}

.spoiler-note {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.episode-details {
  margin-top: 24px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.episode-details h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.people-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.people-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.people-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(230, 57, 70, 0.3), rgba(216, 180, 106, 0.16));
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.people-list strong {
  display: block;
  font-size: 13px;
}

.people-list small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.episode-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.episode-nav-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.episode-nav-item small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.episode-nav-item strong {
  font-size: 12px;
}

a.episode-nav-item:hover {
  border-color: rgba(230, 57, 70, 0.42);
  background: var(--panel-2);
}

.episode-nav-item.is-disabled {
  opacity: 0.5;
}

/* Dialog */
.actor-dialog {
  width: min(760px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
}

.actor-dialog::backdrop {
  background: rgba(4, 5, 7, 0.72);
  backdrop-filter: blur(8px);
}

.dialog-inner {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  padding: 30px;
}

.dialog-photo {
  overflow: hidden;
  border-radius: 12px;
  background: #0b0d11;
}

.dialog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-copy {
  padding-top: 8px;
}

.dialog-copy h2 {
  margin: 8px 0 4px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.dialog-role {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-copy p {
  color: var(--muted);
  font-size: 14px;
}

.dialog-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted-2) !important;
  font-size: 12px !important;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 9, 11, 0.6);
  cursor: pointer;
}

.dialog-close svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.7;
}

/* Footer */
.site-footer {
  padding: 62px 0 26px;
  border-top: 1px solid var(--line);
  background: #060708;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.6fr) minmax(220px, 0.7fr);
  gap: 48px;
}

.footer-brand p {
  max-width: 380px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-note {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.footer-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-note p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Reveal */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1120px) {
  .season-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .season-card {
    min-height: 300px;
  }

  .hero-note {
    display: none;
  }

  .hero-copy {
    max-width: 820px;
  }

  .actor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.6fr 0.8fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .main-nav {
    position: absolute;
    top: calc(var(--header-h) + 8px);
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(10, 12, 16, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.is-active {
    background: rgba(230, 57, 70, 0.12);
  }

  .nav-toggle {
    display: block;
  }

  .header-watch {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding-top: calc(var(--header-h) + 54px);
  }

  .hero-topline {
    margin-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 11vw, 6rem);
  }

  .hero-note {
    display: none;
  }

  .about-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .season-layout,
  .episode-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .season-aside,
  .episode-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .season-aside .side-card,
  .episode-aside .side-card {
    margin-bottom: 0;
  }

  .episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .episode-grid--season {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .actor-grid,
  .actor-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-note {
    grid-column: 1 / -1;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .actors-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .player-head {
    flex-wrap: wrap;
  }

  .search-field {
    width: 100%;
  }

  .dialog-inner {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .container,
  .hero-content {
    width: calc(100% - 32px);
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-picture {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand-text small {
    font-size: 9px;
  }

  .hero {
    min-height: 700px;
    padding-top: calc(var(--header-h) + 38px);
    padding-bottom: 56px;
  }

  .hero-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .meta-row {
    gap: 8px 12px;
    font-size: 10px;
  }

  .meta-row li + li::before {
    margin-right: 6px;
  }

  .hero-actions .btn {
    flex: 1;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
  }

  .section-head > p {
    max-width: none;
  }

  .season-grid,
  .actor-grid,
  .actor-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .season-card {
    min-height: 280px;
    padding: 18px;
  }

  .season-card h3 {
    font-size: 22px;
  }

  .season-card p {
    -webkit-line-clamp: 3;
  }

  .episode-grid,
  .episode-grid--season {
    grid-template-columns: 1fr;
  }

  .season-aside,
  .episode-aside {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 520px;
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 42px;
  }

  .page-hero-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .page-hero .btn {
    width: 100%;
  }

  .breadcrumbs {
    margin-bottom: 28px;
  }

  .season-layout,
  .episode-layout {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .prose-card,
  .episode-details,
  .note-card,
  .cta-card {
    padding: 24px;
  }

  .people-list {
    grid-template-columns: 1fr;
  }

  .episode-nav {
    grid-template-columns: 1fr;
  }

  .player-section {
    padding: 56px 0 64px;
  }

  .player-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .player-head h2 {
    max-width: 100%;
    font-size: 1.7rem;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .player-actions {
    align-items: stretch;
    width: 100%;
  }

  .player-actions .install-hint {
    text-align: left;
  }

  .player-frame iframe {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }

  .player-frame {
    border-radius: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-note {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .dialog-inner {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .dialog-photo {
    max-height: 320px;
  }

  .dialog-photo img {
    height: 320px;
  }

  .actor-dialog {
    width: calc(100% - 20px);
  }
}

/* The source player cuts its quality selector at 326 px.
   On narrow phones the player gets the full viewport width,
   while the heading keeps the normal page gutters. */
@media (max-width: 400px) {
  .player-section .container {
    width: 100%;
  }

  .player-head {
    padding-inline: 16px;
  }

  .player-frame {
    border-left: 0;
    border-right: 0;
  }
}

@media (max-width: 380px) {
  .season-grid,
  .actor-grid,
  .actor-grid--catalog {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Hub tables, profiles and character catalog */
.episode-grid--latest {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.section-lead {
  max-width: 820px;
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.hub-season-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.hub-season-links a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hub-season-links a:hover {
  border-color: rgba(230, 57, 70, 0.42);
  color: var(--text);
}

.episode-card--announce {
  border-color: rgba(216, 180, 106, 0.32);
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(216, 180, 106, 0.1), transparent 70%),
    var(--panel);
}

.people-link {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  color: inherit;
}

.muted {
  color: var(--muted);
}

.people-link:hover strong {
  color: var(--gold);
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-28 {
  margin-top: 28px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.data-table th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.025);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(216, 180, 106, 0.45);
  text-underline-offset: 3px;
}

.data-table a:hover {
  color: var(--gold);
}

.filter-field {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  margin: 0 0 20px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.filter-field svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
}

.filter-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.filter-field input::placeholder {
  color: var(--muted-2);
}

.profile-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding-top: 58px;
  padding-bottom: 96px;
}

.profile-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.profile-photo-card,
.profile-initials {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.profile-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-initials {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 16, 46, 0.22), transparent 55%),
    var(--panel);
}

.profile-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.profile-main {
  min-width: 0;
}

.profile-main .prose-card + .prose-card {
  margin-top: 16px;
}

.profile-main h1 {
  margin: 8px 0 14px;
}

.profile-role {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.relation-list,
.key-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.relation-list li,
.key-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.relation-list li:last-child,
.key-list li:last-child {
  border-bottom: 0;
}

.relation-list a,
.key-list a {
  color: var(--text);
  font-weight: 700;
}

.relation-list span,
.key-list span {
  text-align: right;
}

.spoiler-box {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
}

.spoiler-box summary {
  cursor: pointer;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spoiler-box p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.character-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.character-card:hover {
  border-color: rgba(230, 57, 70, 0.42);
  background: var(--panel-2);
  transform: translateY(-2px);
}

.character-card strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
}

.character-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.character-card small {
  margin-top: auto;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.family-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.family-heading h2,
.family-heading h3 {
  margin: 0;
  font-size: 26px;
}

.family-heading span {
  color: var(--muted);
  font-size: 12px;
}

.announce-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(216, 180, 106, 0.32);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(216, 180, 106, 0.12), transparent 65%),
    var(--panel);
}

.announce-card h3 {
  margin: 4px 0 6px;
  font-size: 26px;
}

.announce-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.announce-card .btn {
  flex: 0 0 auto;
}

@media (max-width: 1120px) {
  .episode-grid--latest {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .profile-aside {
    position: static;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .profile-caption {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .episode-grid--latest,
  .character-grid {
    grid-template-columns: 1fr;
  }

  .profile-aside {
    grid-template-columns: 1fr;
  }

  .profile-initials {
    font-size: 64px;
  }

  .announce-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
