*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink-0: #06080b;
  --ink-1: #0a0e13;
  --ink-2: #10161d;
  --ink-3: #182029;
  --ink-4: #232e39;
  --line: #2b3742;
  --line-soft: #1e2833;
  --mist: #8b9aa8;
  --mist-dim: #64717e;
  --fog: #c3cdd6;
  --paper: #e7edf2;
  --warm: #e6b055;
  --warm-deep: #c98f34;
  --radius: 3px;
  --radius-lg: 5px;
  --gap: 12px;
  --gap-tight: 8px;
  --pad: 14px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue Condensed", "Arial Narrow", system-ui, sans-serif;
}
html, body {
  background-color: var(--ink-0);
}
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.62;
  color: var(--fog);
  letter-spacing: 0.01em;
  background-image:
    radial-gradient(120% 60% at 82% -10%, rgba(230, 176, 85, 0.07), transparent 60%),
    linear-gradient(180deg, #070a0e 0%, #06080b 40%, #05070a 100%);
  background-repeat: no-repeat;
  min-height: 100vh;
}
h1, h2, h3 {
  font-family: var(--font-narrow);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.3;
}
::selection {
  background: rgba(230, 176, 85, 0.28);
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 8, 11, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}
a[data-contract="site-name"] {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  border-left: 2px solid var(--warm);
  padding-left: 8px;
  transition: color 0.18s ease;
}
a[data-contract="site-name"]:hover {
  color: var(--warm);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(24, 32, 41, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--warm);
  border-color: rgba(230, 176, 85, 0.5);
  background: rgba(230, 176, 85, 0.06);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--paper);
  margin-bottom: 12px;
}
.heading-mark {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--warm);
  flex: 0 0 auto;
}
.hero-section {
  padding-top: 22px;
  margin-bottom: 34px;
}
.hero-backdrop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(230, 176, 85, 0.06), transparent 55%),
    linear-gradient(160deg, #0b1016 0%, #080b10 55%, #06090d 100%);
  overflow: hidden;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px
  );
  background-size: 100% 3px;
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.hero-poster-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.95);
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.9);
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.16;
  color: var(--paper);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}
.hero-tagline {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--mist);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.hero-player-wrap {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 1);
}
.hero-player-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.hero-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(16, 22, 29, 0.72);
}
.ctrl-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(24, 32, 41, 0.85);
  color: var(--fog);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover {
  color: var(--warm);
  border-color: rgba(230, 176, 85, 0.55);
  background: rgba(230, 176, 85, 0.07);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing, .ctrl-btn.is-muted {
  color: var(--ink-0);
  background: var(--warm);
  border-color: var(--warm);
}
.ctrl-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 88px;
  min-width: 74px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink-4);
  cursor: pointer;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--warm);
  border: none;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--warm);
  cursor: pointer;
}
.ctrl-range::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: var(--ink-4);
}
.ctrl-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  background: rgba(24, 32, 41, 0.85);
  color: var(--fog);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--radius);
  cursor: pointer;
}
.ctrl-select.is-active {
  color: var(--warm);
  border-color: rgba(230, 176, 85, 0.55);
}
.hero-section.is-theater .hero-backdrop {
  grid-template-columns: minmax(0, 1fr);
}
.hero-section.is-theater .hero-poster-wrap {
  display: none;
}
.hero-section.is-lights-off {
  position: relative;
}
.hero-section.is-lights-off::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 30;
  pointer-events: none;
}
.hero-section.is-lights-off .hero-player-wrap {
  position: relative;
  z-index: 35;
}
.overview-body {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}
.episode-status {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--warm);
  border-radius: var(--radius);
  background: rgba(16, 22, 29, 0.55);
}
.status-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist-dim);
}
.status-value {
  font-family: var(--font-narrow);
  font-weight: 600;
  font-size: 14px;
  color: var(--warm);
  letter-spacing: 0.06em;
}
.cast-section, .synopsis-section {
  min-width: 0;
}
.cast-section {
  grid-column: 1 / 2;
}
.synopsis-section {
  grid-column: 2 / 3;
  grid-row: span 2;
}
.details-section {
  grid-column: 1 / 2;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 0;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(16, 22, 29, 0.5);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cast-card:hover {
  border-color: rgba(230, 176, 85, 0.4);
  background: rgba(24, 32, 41, 0.7);
}
.cast-avatar {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 34% 28%, rgba(230, 176, 85, 0.35), transparent 62%),
    linear-gradient(150deg, #2a3540, #131a21);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.cast-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0.05em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 12px;
  font-weight: 300;
  color: var(--mist-dim);
  letter-spacing: 0.05em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 13px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(16, 22, 29, 0.5);
}
.synopsis-para {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--mist);
  text-align: justify;
}
.synopsis-para:first-child {
  color: var(--fog);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(12, 17, 23, 0.94);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist-dim);
  white-space: nowrap;
}
.detail-value {
  min-width: 0;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--fog);
  letter-spacing: 0.02em;
}
.timeline-section {
  margin-bottom: 34px;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 4px 16px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.012) 0,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 12px
    ),
    rgba(10, 14, 19, 0.6);
  scrollbar-width: thin;
  scrollbar-color: var(--ink-4) transparent;
  -webkit-overflow-scrolling: touch;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--ink-4);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  min-width: 132px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.timeline-node + .timeline-node {
  border-left: 1px dashed var(--line);
}
.timeline-dot {
  position: relative;
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-1);
  border: 1px solid var(--mist-dim);
  box-shadow: 0 0 0 3px var(--ink-0);
  margin-bottom: 3px;
}
.timeline-dot::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}
.timeline-node:hover .timeline-dot::after {
  background: var(--warm);
}
.timeline-time {
  font-family: var(--font-narrow);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--warm);
}
.timeline-label {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--mist);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.episodes-section {
  margin-bottom: 34px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--ink-4);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(16, 22, 29, 0.9), rgba(10, 14, 19, 0.9));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease,
    box-shadow 0.2s ease;
}
.episode-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--warm);
  border-color: rgba(230, 176, 85, 0.3);
  background: linear-gradient(160deg, rgba(24, 32, 41, 0.95), rgba(12, 17, 23, 0.95));
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, 0.95);
}
.episode-num {
  font-family: var(--font-narrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--warm);
}
.episode-title {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--paper);
  line-height: 1.35;
}
.episode-summary {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.68;
  color: var(--mist);
}
.episode-duration {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist-dim);
  padding-top: 5px;
  border-top: 1px solid var(--line-soft);
}
.comments-section {
  margin-bottom: 34px;
}
.comments-masonry {
  column-count: 2;
  column-gap: var(--gap-tight);
}
.comment-note {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gap-tight);
  padding: 10px 12px 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius) var(--radius) var(--radius) 1px;
  background: rgba(18, 25, 32, 0.72);
  box-shadow: 0 8px 18px -14px rgba(0, 0, 0, 0.9);
  transform: rotate(-0.4deg);
}
.comment-note:nth-child(2n) {
  transform: rotate(0.5deg);
  background: rgba(22, 30, 38, 0.72);
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.7deg);
}
.comment-note:nth-child(4n) {
  transform: rotate(0.3deg);
}
.comment-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--fog);
}
.comment-nickname {
  display: block;
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist-dim);
}
.comment-nickname::before {
  content: "— ";
  color: var(--warm-deep);
}
.rec-region {
  margin-bottom: 28px;
}
.rec-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--paper);
  margin-bottom: 10px;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(14, 19, 25, 0.8);
  color: var(--fog);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
a.rec-card:hover {
  border-color: rgba(230, 176, 85, 0.45);
  background: rgba(24, 32, 41, 0.85);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: var(--ink-3);
  filter: saturate(0.75) brightness(0.92);
  transition: filter 0.2s ease;
}
a.rec-card:hover img {
  filter: saturate(0.95) brightness(1);
}
.rec-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--mist-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(6, 8, 11, 0.9);
  padding: 20px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mist-dim);
  max-width: 70ch;
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
}
.footer-links-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist-dim);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 12px;
  font-weight: 300;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--warm);
  border-bottom-color: rgba(230, 176, 85, 0.6);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.16s ease;
}
a[data-contract="footer-home"] {
  color: var(--fog);
}
a[data-contract="footer-sitemap"] {
  color: var(--mist-dim);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm);
}
@media (max-width: 900px) {.hero-backdrop {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
.hero-title {
    font-size: 25px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-section, .synopsis-section, .details-section {
    grid-column: 1 / -1;
    grid-row: auto;
  }
.synopsis-section {
    order: 2;
  }}
@media (max-width: 680px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 0 12px 32px;
  }
.hero-section {
    padding-top: 16px;
    margin-bottom: 26px;
  }
.hero-backdrop {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.hero-poster-wrap {
    width: min(62%, 220px);
  }
.hero-title {
    font-size: 22px;
  }
.hero-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.ctrl-range {
    flex: 1 1 100%;
    min-width: 100%;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-masonry {
    column-count: 1;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    min-width: 118px;
    padding: 0 12px;
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.site-footer {
    padding: 16px 12px 22px;
  }}
@media (max-width: 420px) {.header-inner {
    padding: 9px 12px;
  }
.hero-title {
    font-size: 20px;
  }
.hero-tagline {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }}

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}
