*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink-black: #0b0d0e;
  --ink-deep: #12171a;
  --silk-dark: #1a2226;
  --silk-mid: #202b30;
  --silk-teal: #2a3a3e;
  --silk-pale: #d9d2c2;
  --paper-bone: #e8e0cd;
  --paper-aged: #cfc4a9;
  --blood-dark: #6d2b22;
  --blood-dried: #8a3626;
  --cinnabar: #a8332a;
  --mist-blue: #7d9199;
  --mist-dim: #556669;
  --text-body: #c3bcab;
  --text-dim: #8a8477;
  --rule: rgba(160, 140, 110, 0.18);
  --font-body: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --font-title: "Kaiti SC", "STKaiti", "KaiTi", "Noto Serif CJK SC", serif;
  --pad-x: clamp(12px, 3.4vw, 44px);
}
body {
  background-color: var(--ink-black);
  background-image:
    radial-gradient(120% 70% at 12% -8%, rgba(60, 84, 88, 0.32), transparent 62%),
    radial-gradient(90% 55% at 96% 4%, rgba(109, 43, 34, 0.14), transparent 58%),
    linear-gradient(178deg, #10161a 0%, #0b0d0e 46%, #0d1114 100%);
  background-attachment: fixed;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0.045em;
  min-height: 100%;
  overflow-x: hidden;
}
.site-header {
  position: relative;
  z-index: 40;
  background:
    linear-gradient(180deg, rgba(11, 13, 14, 0.96), rgba(16, 22, 26, 0.82) 72%, rgba(16, 22, 26, 0));
  border-bottom: 1px solid rgba(138, 54, 38, 0.28);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  flex-wrap: wrap;
  padding: 8px var(--pad-x) 10px;
  max-width: 1560px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--paper-bone);
  text-decoration: none;
  padding-left: 2px;
  border-left: 3px solid var(--blood-dried);
  padding-left: 9px;
  text-shadow: 0 0 14px rgba(168, 51, 42, 0.25);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: #fff5e2;
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 2px 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--mist-blue);
  text-decoration: none;
  padding: 3px 9px 4px;
  border: 1px solid rgba(125, 145, 153, 0.22);
  border-radius: 1px;
  background: rgba(32, 43, 48, 0.42);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--paper-bone);
  text-decoration: none;
  border-color: rgba(168, 51, 42, 0.6);
  background: rgba(109, 43, 34, 0.28);
}
.page-main {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 26px;
  display: block;
}
.section-heading {
  font-family: var(--font-title);
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--paper-bone);
  padding: 0 0 7px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 54px;
  height: 2px;
  background: var(--blood-dried);
}
.hero-poster {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  grid-template-areas:
    "media meta"
    "media cast"
    "media synopsis"
    "media status"
    "media details";
  column-gap: clamp(16px, 2.6vw, 40px);
  row-gap: 0;
  align-items: start;
  padding-top: clamp(10px, 1.6vw, 22px);
  padding-bottom: clamp(30px, 6vw, 76px);
  border-bottom: 1px solid rgba(138, 54, 38, 0.2);
  margin-bottom: clamp(26px, 5vw, 64px);
}
.hero-media {
  grid-area: media;
  position: relative;
  align-self: start;
  isolation: isolate;
  border: 1px solid rgba(125, 145, 153, 0.2);
  background: linear-gradient(160deg, #1c262a, #0e1215 70%);
  box-shadow: 0 22px 54px -28px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}
.hero-portrait {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.94);
}
.hero-drafts {
  position: absolute;
  inset: -6% -14% 22% 34%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(63deg, rgba(207, 196, 169, 0.055) 0 1px, transparent 1px 15px),
    repeating-linear-gradient(-58deg, rgba(125, 145, 153, 0.05) 0 1px, transparent 1px 21px),
    repeating-linear-gradient(90deg, rgba(207, 196, 169, 0.035) 0 1px, transparent 1px 9px),
    radial-gradient(58% 44% at 66% 30%, rgba(60, 84, 88, 0.42), transparent 70%),
    radial-gradient(44% 36% at 30% 68%, rgba(109, 43, 34, 0.22), transparent 72%);
  clip-path: polygon(6% 0, 100% 3%, 96% 100%, 0 95%);
}
.hero-caption-band {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 5px 10px 6px 14px;
  background: linear-gradient(255deg, var(--paper-bone) 0%, var(--paper-aged) 100%);
  border-left: 1px solid rgba(11, 13, 14, 0.35);
  border-bottom: 1px solid rgba(11, 13, 14, 0.35);
  color: #211c16;
  font-family: var(--font-title);
  letter-spacing: 0.06em;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.85);
}
.hero-year {
  font-size: 12px;
  letter-spacing: 0.16em;
  opacity: 0.78;
}
.hero-score {
  font-size: 15px;
  font-weight: 700;
  color: var(--blood-dark);
  border-left: 1px solid rgba(33, 28, 22, 0.28);
  padding-left: 9px;
}
.hero-title-block {
  grid-area: meta;
  position: relative;
  align-self: start;
  padding: 4px 0 18px;
}
.hero-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 5.2vw, 74px);
  line-height: 1.02;
  letter-spacing: 0.06em;
  color: #f0e9d8;
  text-shadow:
    0 0 30px rgba(168, 51, 42, 0.3),
    0 3px 0 rgba(11, 13, 14, 0.9);
  transform: scaleY(1.14);
  transform-origin: left bottom;
  margin-bottom: 10px;
}
.hero-title::after {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--blood-dried), rgba(168, 51, 42, 0));
}
.hero-tagline {
  font-family: var(--font-title);
  font-size: clamp(13px, 1.35vw, 17px);
  letter-spacing: 0.28em;
  color: var(--blood-dried);
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(109, 43, 34, 0.45);
}
.hero-desc {
  max-width: 62ch;
  font-size: 13.5px;
  line-height: 1.66;
  letter-spacing: 0.05em;
  color: var(--text-body);
  text-align: justify;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.btn-play, .btn-theater {
  font-family: var(--font-title);
  font-size: 13.5px;
  letter-spacing: 0.22em;
  padding: 9px 22px 10px;
  border: 1px solid rgba(125, 145, 153, 0.35);
  color: var(--paper-bone);
  background: linear-gradient(180deg, rgba(42, 58, 62, 0.7), rgba(16, 22, 26, 0.9));
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.btn-play {
  border-color: rgba(168, 51, 42, 0.7);
  background: linear-gradient(180deg, rgba(109, 43, 34, 0.72), rgba(30, 14, 12, 0.9));
  box-shadow: 0 0 0 1px rgba(168, 51, 42, 0.16), 0 10px 26px -16px rgba(168, 51, 42, 0.9);
}
.btn-play:hover, .btn-play:focus-visible {
  color: #fff6e6;
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 1px rgba(168, 51, 42, 0.4), 0 12px 30px -14px rgba(168, 51, 42, 1);
}
.btn-theater:hover, .btn-theater:focus-visible {
  color: #fff6e6;
  border-color: rgba(207, 196, 169, 0.6);
  background: linear-gradient(180deg, rgba(42, 58, 62, 0.95), rgba(16, 22, 26, 1));
}
.cast-strip-section {
  grid-area: cast;
  margin-top: 24px;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  align-items: stretch;
  gap: 6px;
  flex: 0 0 auto;
  padding: 4px 5px 4px 4px;
  border: 1px solid rgba(125, 145, 153, 0.16);
  background: linear-gradient(180deg, rgba(32, 43, 48, 0.5), rgba(14, 18, 21, 0.6));
}
.cast-portrait {
  width: 26px;
  flex: 0 0 26px;
  height: 78px;
  background-image:
    repeating-linear-gradient(78deg, rgba(207, 196, 169, 0.09) 0 1px, transparent 1px 6px),
    linear-gradient(168deg, #37474d 0%, #1b2429 58%, #10161a 100%);
  border: 1px solid rgba(207, 196, 169, 0.14);
  position: relative;
  overflow: hidden;
}
.cast-portrait::after {
  content: "";
  position: absolute;
  inset: 62% 0 0 0;
  background: linear-gradient(180deg, rgba(109, 43, 34, 0.34), rgba(11, 13, 14, 0.85));
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--paper-aged);
  align-self: center;
  padding: 2px 0;
  white-space: nowrap;
}
.synopsis-section {
  grid-area: synopsis;
  margin-top: 26px;
}
.synopsis-body {
  columns: 2;
  column-gap: clamp(18px, 2.4vw, 34px);
  column-rule: 1px solid var(--rule);
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.72;
  letter-spacing: 0.05em;
  color: var(--text-body);
  text-align: justify;
  margin-bottom: 10px;
  break-inside: avoid;
}
.synopsis-paragraph:first-of-type::first-letter {
  font-family: var(--font-title);
  font-size: 2.1em;
  line-height: 1;
  float: left;
  padding: 3px 8px 0 0;
  color: var(--blood-dried);
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 18px;
  padding: 8px 12px;
  border-left: 3px solid var(--blood-dried);
  background: linear-gradient(90deg, rgba(109, 43, 34, 0.18), rgba(14, 18, 21, 0));
}
.episode-status-current {
  font-family: var(--font-title);
  font-size: 13.5px;
  letter-spacing: 0.16em;
  color: var(--paper-bone);
}
.episode-status-total {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--mist-dim);
}
.episode-status-total::before {
  content: "/";
  margin-right: 10px;
  color: rgba(138, 54, 38, 0.7);
}
.details-section {
  grid-area: details;
  margin-top: 24px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px 7px;
  background: rgba(18, 23, 26, 0.86);
  min-height: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist-dim);
}
.detail-key::after {
  content: "·";
  margin-left: 6px;
  color: rgba(138, 54, 38, 0.6);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--paper-aged);
}
.player-shell {
  position: relative;
  margin-bottom: clamp(26px, 4.4vw, 52px);
  border: 1px solid rgba(125, 145, 153, 0.2);
  background: linear-gradient(180deg, rgba(26, 34, 38, 0.72), rgba(11, 13, 14, 0.92));
  padding: 8px;
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.95);
}
.player-frame {
  position: relative;
  width: 100%;
  background: #05070a;
  border: 1px solid rgba(11, 13, 14, 0.9);
  overflow: hidden;
}
.player-frame video {
  width: 100%;
  height: auto;
  display: block;
  background: #05070a;
}
.player-shell.is-theater .player-frame {
  box-shadow: 0 0 0 1px rgba(168, 51, 42, 0.4), 0 0 70px -10px rgba(109, 43, 34, 0.55);
}
.player-shell.is-lights-off {
  background: #000;
  border-color: rgba(168, 51, 42, 0.4);
}
.player-shell.is-lights-off .player-frame {
  box-shadow: 0 0 120px -20px rgba(0, 0, 0, 1);
}
.player-controls {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.player-progress {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--blood-dried) 0%, rgba(125, 145, 153, 0.35) 0%);
  background-color: rgba(125, 145, 153, 0.22);
  border: 0;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 15px;
  background: var(--paper-bone);
  border: 1px solid var(--blood-dark);
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 11px;
  height: 15px;
  border-radius: 0;
  background: var(--paper-bone);
  border: 1px solid var(--blood-dark);
  cursor: pointer;
}
.player-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-controls-row button, .player-controls-row select {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  padding: 5px 11px 6px;
  color: var(--text-body);
  background: rgba(32, 43, 48, 0.6);
  border: 1px solid rgba(125, 145, 153, 0.24);
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.player-controls-row button:hover, .player-controls-row button:focus-visible, .player-controls-row select:hover, .player-controls-row select:focus-visible {
  color: var(--paper-bone);
  border-color: rgba(168, 51, 42, 0.6);
  background: rgba(109, 43, 34, 0.3);
}
.player-controls-row button.is-muted {
  color: var(--cinnabar);
  border-color: rgba(168, 51, 42, 0.7);
}
.player-shell.is-playing .player-controls-row [data-player-action="play"] {
  color: var(--cinnabar);
  border-color: rgba(168, 51, 42, 0.7);
}
.player-volume {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  width: 96px;
  height: 5px;
  background-color: rgba(125, 145, 153, 0.24);
  border: 0;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 13px;
  background: var(--paper-aged);
  border: 1px solid var(--blood-dark);
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 9px;
  height: 13px;
  border-radius: 0;
  background: var(--paper-aged);
  border: 1px solid var(--blood-dark);
  cursor: pointer;
}
.timeline-scroll {
  margin-bottom: clamp(26px, 4.4vw, 52px);
}
.timeline-track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  gap: 0;
  padding: 4px 2px 12px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(90deg, rgba(32, 43, 48, 0.42), rgba(11, 13, 14, 0.2)),
    repeating-linear-gradient(90deg, rgba(207, 196, 169, 0.03) 0 1px, transparent 1px 4px);
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(11, 13, 14, 0.7);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: rgba(109, 43, 34, 0.75);
}
.timeline-item {
  flex: 0 0 clamp(158px, 21vw, 236px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 16px 12px 14px;
  background: linear-gradient(180deg, rgba(26, 34, 38, 0.86), rgba(14, 18, 21, 0.94));
  border-right: 1px solid rgba(11, 13, 14, 0.9);
  clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
  transition: background-color 0.18s ease;
}
.timeline-item:hover {
  background: linear-gradient(180deg, rgba(38, 50, 56, 0.92), rgba(20, 26, 30, 0.96));
}
.timeline-timecode {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cinnabar);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.56;
  letter-spacing: 0.04em;
  color: var(--text-body);
}
.episode-grid-section {
  margin-bottom: clamp(26px, 4.4vw, 52px);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  padding: 11px 13px 12px;
  background: linear-gradient(170deg, rgba(30, 40, 44, 0.72), rgba(14, 18, 21, 0.9));
  border: 1px solid rgba(125, 145, 153, 0.18);
  overflow: hidden;
}
.episode-card::before, .episode-card::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  pointer-events: none;
  border: 1px solid rgba(207, 196, 169, 0.4);
}
.episode-card::before {
  top: 3px;
  left: 3px;
  border-right: 0;
  border-bottom: 0;
}
.episode-card::after {
  bottom: 3px;
  right: 3px;
  border-left: 0;
  border-top: 0;
}
.episode-card:hover {
  border-color: rgba(168, 51, 42, 0.45);
  background: linear-gradient(170deg, rgba(38, 50, 56, 0.82), rgba(18, 23, 26, 0.94));
}
.episode-number {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--cinnabar);
}
.episode-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper-bone);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--text-body);
  text-align: justify;
}
.episode-duration {
  margin-top: 2px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--mist-dim);
}
.episode-duration::before {
  content: "◷ ";
  color: var(--blood-dried);
}
.comments-section {
  margin-bottom: clamp(26px, 4.4vw, 52px);
}
.comments-grid {
  columns: 2;
  column-gap: clamp(14px, 2vw, 30px);
}
.comment-card {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  padding: 9px 11px 10px;
  background: linear-gradient(150deg, rgba(28, 37, 41, 0.62), rgba(13, 17, 20, 0.82));
  border: 1px solid rgba(125, 145, 153, 0.14);
  border-left: 2px solid rgba(109, 43, 34, 0.6);
}
.comment-avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  background-image:
    repeating-linear-gradient(45deg, rgba(207, 196, 169, 0.14) 0 1px, transparent 1px 4px),
    linear-gradient(150deg, #3d4a4f, #171f23);
  border: 1px solid rgba(207, 196, 169, 0.18);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}
.comment-avatar::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(168, 51, 42, 0.5);
  border-radius: 50%;
}
.comment-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nickname {
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--paper-aged);
}
.comment-nickname::after {
  content: "题";
  margin-left: 7px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--blood-dried);
  border: 1px solid rgba(168, 51, 42, 0.5);
  padding: 0 3px;
  vertical-align: 1px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  letter-spacing: 0.045em;
  color: var(--text-body);
  text-align: justify;
}
.rec-strip {
  margin-bottom: clamp(24px, 4vw, 44px);
}
.rec-strip-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--rule);
}
.rec-strip-title {
  position: relative;
  display: inline-block;
  font-family: var(--font-title);
  font-size: clamp(13px, 1.2vw, 15.5px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #f4ecda;
  background: linear-gradient(160deg, #7a2f24, #4d1d16 78%);
  padding: 6px 14px 7px 16px;
  border: 1px solid rgba(207, 196, 169, 0.32);
  box-shadow: 0 0 0 2px rgba(11, 13, 14, 0.9), 0 8px 22px -12px rgba(0, 0, 0, 0.9);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.rec-strip-title::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(207, 196, 169, 0.22);
  pointer-events: none;
}
.rec-strip-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
}
.rec-strip-track::-webkit-scrollbar {
  height: 7px;
}
.rec-strip-track::-webkit-scrollbar-track {
  background: rgba(11, 13, 14, 0.7);
}
.rec-strip-track::-webkit-scrollbar-thumb {
  background: rgba(109, 43, 34, 0.72);
}
a.rec-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(158px, 22vw, 232px);
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 7px 9px;
  color: var(--text-body);
  text-decoration: none;
  background: linear-gradient(172deg, rgba(30, 40, 44, 0.72), rgba(13, 17, 20, 0.92));
  border: 1px solid rgba(125, 145, 153, 0.18);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
a.rec-card:hover, a.rec-card:focus-visible {
  color: var(--paper-bone);
  text-decoration: none;
  border-color: rgba(168, 51, 42, 0.55);
  background: linear-gradient(172deg, rgba(38, 50, 56, 0.85), rgba(18, 23, 26, 0.95));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] .rec-card-poster, [data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  background: #0b0d0e;
  border: 1px solid rgba(11, 13, 14, 0.9);
  filter: saturate(0.78) contrast(1.05);
}
.rec-card-name {
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--paper-bone);
  line-height: 1.4;
}
.rec-card-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid rgba(138, 54, 38, 0.3);
  background: linear-gradient(180deg, rgba(12, 16, 19, 0.9), rgba(8, 10, 12, 1));
  padding: clamp(16px, 2.6vw, 30px) var(--pad-x) clamp(20px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1560px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.66;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--mist-blue);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(125, 145, 153, 0.3);
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--paper-bone);
  text-decoration: none;
  border-bottom-color: var(--blood-dried);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.friend-links-label {
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--blood-dried);
  padding-right: 10px;
  border-right: 1px solid rgba(138, 54, 38, 0.4);
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist-dim);
  text-decoration: none;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--paper-aged);
  text-decoration: underline;
  text-decoration-color: rgba(168, 51, 42, 0.7);
  text-underline-offset: 3px;
}
.player-shell.is-theater .player-controls-row [data-player-action="theater"] {
  color: var(--cinnabar);
  border-color: rgba(168, 51, 42, 0.7);
}
.player-shell.is-lights-off .player-controls-row [data-player-action="light"] {
  color: var(--cinnabar);
  border-color: rgba(168, 51, 42, 0.7);
}
[data-player-action="play"].play, [data-player-action="play"].pause, [data-player-action="mute"].mute, [data-player-action="mute"].volume, [data-player-action="progress"].progress, [data-player-action="speed"].speed, [data-player-action="pip"].pip, [data-player-action="fullscreen"].fullscreen, [data-player-action="light"].light, [data-player-action="theater"].theater, [data-player-action="play"].click, [data-player-action="play"].change, [data-player-action="play"].function, [data-player-action="play"].input, [data-player-action="play"].player, [data-player-action="play"].timeupdate {
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
@media (max-width: 1080px) {.hero-poster {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
.details-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }}
@media (max-width: 900px) {.hero-poster {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "meta"
      "cast"
      "synopsis"
      "status"
      "details";
    row-gap: 0;
  }
.hero-media {
    max-width: 420px;
  }
.synopsis-body {
    columns: 1;
    column-rule: 0;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-grid {
    columns: 1;
  }
.timeline-item {
    flex-basis: clamp(150px, 42vw, 220px);
  }
a.rec-card {
    flex-basis: clamp(150px, 40vw, 210px);
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.header-inner {
    padding: 7px 12px 9px;
  }
.hero-title {
    font-size: clamp(26px, 9vw, 40px);
    transform: scaleY(1.08);
  }
.hero-media {
    max-width: 320px;
    margin: 0 auto;
  }
.hero-desc {
    font-size: 13px;
  }
.btn-play, .btn-theater {
    flex: 1 1 auto;
    text-align: center;
    padding: 9px 14px 10px;
  }
.cast-portrait {
    height: 66px;
  }
.cast-name {
    font-size: 12px;
  }
.details-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls-row button, .player-controls-row select {
    font-size: 12px;
    padding: 5px 9px 6px;
  }
.player-volume {
    width: 70px;
  }
.timeline-item {
    flex-basis: 78%;
  }
a.rec-card {
    flex-basis: 66%;
  }
.rec-strip-title {
    font-size: 12.5px;
    padding: 5px 10px 6px 12px;
  }}
@media (max-width: 400px) {.hero-title {
    font-size: 24px;
  }
.timeline-item {
    flex-basis: 86%;
  }
a.rec-card {
    flex-basis: 78%;
  }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
