*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, figcaption, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --ink: #0d151c;
  --deep: #101c26;
  --slate: #16242f;
  --slate-2: #1d2f3c;
  --line: #2c4250;
  --line-soft: #223541;
  --fog: #8fa6b4;
  --fog-dim: #64798a;
  --paper: #d7e2e8;
  --paper-dim: #a9bcc7;
  --rust: #a8432c;
  --rust-bright: #c4573a;
  --rust-dim: #6e2f22;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(120% 70% at 12% 0%, #1a2b38 0%, rgba(16,28,38,0) 60%),
    linear-gradient(180deg, #0c141b 0%, #0f1f29 46%, #1a2028 78%, #241f1d 100%);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(143,166,180,0.045) 0 1px, rgba(0,0,0,0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(143,166,180,0.03) 0 1px, rgba(0,0,0,0) 1px 4px);
  mix-blend-mode: screen;
}
.site-header, .page-main, .site-footer { position: relative; z-index: 1; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13,21,28,0.96), rgba(13,21,28,0.72));
  backdrop-filter: blur(2px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 14px;
  padding: 6px 12px;
  max-width: 1220px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--paper);
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.22em;
  border-left: 3px solid var(--rust);
  padding-left: 8px;
  line-height: 1.2;
}
a[data-contract="site-name"]:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.categories-shell { display: flex; flex-wrap: wrap; gap: 4px; }
a.runtime-category {
  color: var(--fog);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 2px 8px;
  line-height: 1.5;
  transition: color .15s, border-color .15s, background-color .15s;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--rust);
  background: rgba(168,67,44,0.14);
  text-decoration: none;
}
.page-main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-dossier {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13,26,35,0.94), rgba(11,20,27,0.86)),
    repeating-radial-gradient(circle at 62% 34%, rgba(143,166,180,0.10) 0 1px, rgba(0,0,0,0) 1px 22px);
  padding: 0;
  overflow: hidden;
}
.hero-dossier::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(6,12,17,0.72) 100%);
}
.hero-silhouette {
  position: relative;
  padding: 26px 16px 30px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.hero-silhouette::before {
  content: "";
  position: absolute;
  right: 6%;
  top: -6%;
  width: 190px;
  height: 132%;
  background:
    radial-gradient(48% 34% at 52% 14%, rgba(143,166,180,0.30) 0 62%, rgba(0,0,0,0) 63%),
    linear-gradient(180deg, rgba(143,166,180,0.16), rgba(143,166,180,0.02) 70%, rgba(0,0,0,0));
  border-radius: 50% 50% 42% 42% / 34% 34% 60% 60%;
  filter: blur(1px);
  clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}
.hero-contour-note {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--fog-dim);
  font-family: var(--mono);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 4px;
  max-width: 320px;
}
.hero-title {
  position: relative;
  font-size: clamp(30px, 7vw, 54px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.02;
  color: #e6eef3;
  text-shadow: 0 2px 0 rgba(0,0,0,0.5), 0 0 26px rgba(143,166,180,0.18);
}
.hero-tagline {
  position: relative;
  font-size: 13px;
  color: var(--paper-dim);
  letter-spacing: 0.16em;
  border-left: 2px solid var(--rust);
  padding-left: 8px;
  max-width: 30ch;
}
.hero-year-scale {
  position: absolute;
  top: 16px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  border-right: 1px solid var(--line);
  padding-right: 8px;
}
.year-tick {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fog-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 2px 0;
  border-top: 1px solid var(--rust-dim);
}
.year-tick:first-child { color: var(--rust-bright); border-top-color: var(--rust); }
.overview-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22,36,47,0.55), rgba(13,21,28,0.35));
}
.poster-frame {
  border: 1px solid var(--line);
  background: #0b141b;
  padding: 5px;
  width: 100%;
  align-self: start;
}
.poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.94);
}
.poster-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fog-dim);
  padding-top: 5px;
  border-top: 1px dashed var(--line-soft);
  margin-top: 5px;
  word-break: break-all;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.panel-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--paper);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.panel-heading::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--rust);
  flex: none;
}
.synopsis-panel, .episode-status-panel, .cast-panel, .details-panel { min-width: 0; }
.synopsis-lede {
  font-size: 13.5px;
  color: #c9d7de;
  letter-spacing: 0.02em;
  padding-left: 9px;
  border-left: 2px solid var(--rust-dim);
  margin-bottom: 7px;
}
.synopsis-para { font-size: 13px; color: var(--fog); margin-bottom: 6px; text-align: justify; }
.synopsis-para:last-child { margin-bottom: 0; }
.status-list { display: flex; flex-wrap: wrap; gap: 6px; }
.status-chip {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 2px 8px;
  line-height: 1.5;
}
.status-chip-current {
  color: #f2ded6;
  border-color: var(--rust);
  background: rgba(168,67,44,0.22);
}
.cast-strip { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.cast-item { display: flex; align-items: center; gap: 6px; }
.cast-avatar {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(215,226,232,0.55) 0 22%, rgba(0,0,0,0) 23%),
    linear-gradient(160deg, #33485400, #33485400),
    linear-gradient(160deg, #3a5061, #1b2a35);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(13,21,28,0.7);
}
.cast-name {
  font-size: 12.5px;
  color: var(--paper-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.08em;
  max-height: 46px;
  line-height: 1.15;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 12px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: none;
  width: 62px;
  font-size: 11.5px;
  color: var(--fog-dim);
  letter-spacing: 0.08em;
}
.detail-value { font-size: 12.5px; color: var(--paper-dim); min-width: 0; }
.player-shell {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: #080f14;
  padding: 8px;
}
.player-shell.theater-mode {
  background: #04080b;
  box-shadow: 0 0 0 1px var(--rust-dim) inset;
}
.player-shell.lights-off { background: #000; }
.player-shell.lights-off .player-video { filter: brightness(1.06); }
.player-video {
  display: block;
  width: 100%;
  background: #000;
  border: 1px solid var(--line);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.ctrl-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fog);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  cursor: pointer;
  line-height: 1.5;
  transition: color .15s, border-color .15s, background-color .15s;
}
.ctrl-btn:hover { color: var(--paper); border-color: var(--rust); background: rgba(168,67,44,0.15); }
.ctrl-btn.is-active, .ctrl-btn:active {
  color: #f3e2db;
  border-color: var(--rust-bright);
  background: rgba(168,67,44,0.3);
}
.ctrl-btn.play.is-active { color: #fff; }
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 160px;
  min-width: 90px;
  height: 16px;
  background: transparent;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, var(--rust) 0%, var(--rust-dim) 40%, var(--line) 40%, var(--line) 100%);
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  border-radius: 0;
  background: var(--paper);
  border: 1px solid var(--rust);
}
.ctrl-range::-moz-range-track { height: 3px; background: var(--line); }
.ctrl-range::-moz-range-progress { height: 3px; background: var(--rust); }
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: var(--paper);
  border: 1px solid var(--rust);
}
.ctrl-range-volume { flex: 0 1 110px; }
.timeline-section {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,31,41,0.6), rgba(13,21,28,0.5));
  padding: 10px 10px 14px;
  margin-top: 4px;
  margin-bottom: 6px;
  overflow: hidden;
}
.section-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.26em;
  color: var(--paper);
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, rgba(0,0,0,0) 6px 12px);
}
.timeline-track {
  position: relative;
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--rust-dim) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: var(--line-soft); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--rust-dim); }
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--rust-dim), var(--line) 40%, var(--line));
  z-index: 0;
}
.timeline-node {
  position: relative;
  flex: 0 0 200px;
  padding: 0 12px 0 0;
  z-index: 1;
}
.timeline-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 3px rgba(168,67,44,0.16);
  margin: 18px 0 10px;
  position: relative;
}
.timeline-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: 1px;
  height: 8px;
  background: var(--rust-dim);
  transform: translateX(-50%);
}
.timeline-time {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--rust-bright);
  margin-bottom: 4px;
}
.timeline-label {
  display: block;
  font-size: 12.5px;
  color: var(--fog);
  line-height: 1.5;
  padding-right: 6px;
  border-left: 1px solid var(--line-soft);
  padding-left: 8px;
}
.timeline-rain {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
}
.rain-drop {
  position: absolute;
  top: -10%;
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, rgba(143,166,180,0), rgba(143,166,180,0.7));
  animation: rainfall 2.6s linear infinite;
}
.rain-drop:nth-child(1) { left: 6%; animation-delay: 0s; }
.rain-drop:nth-child(2) { left: 18%; animation-delay: -0.5s; }
.rain-drop:nth-child(3) { left: 31%; animation-delay: -1.1s; }
.rain-drop:nth-child(4) { left: 44%; animation-delay: -1.7s; }
.rain-drop:nth-child(5) { left: 57%; animation-delay: -0.9s; }
.rain-drop:nth-child(6) { left: 69%; animation-delay: -2.1s; }
.rain-drop:nth-child(7) { left: 82%; animation-delay: -1.4s; }
.rain-drop:nth-child(8) { left: 94%; animation-delay: -0.2s; }
@keyframes rainfall {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.85; }
  100% { transform: translateY(320px); opacity: 0; }
}
.episodes-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,31,41,0.66), rgba(15,25,34,0.5));
  padding: 10px;
  margin-bottom: 4px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--rust-dim);
  background: rgba(13,21,28,0.6);
  padding: 8px 9px 9px;
  min-width: 0;
  transition: border-color .15s, background-color .15s;
}
.episode-card:hover {
  border-color: var(--rust);
  border-left-color: var(--rust-bright);
  background: rgba(28,43,55,0.7);
}
.episode-duration {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #f0dcd4;
  background: var(--rust);
  padding: 1px 6px;
  line-height: 1.6;
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.04em;
  padding-right: 58px;
  line-height: 1.45;
  margin-bottom: 5px;
}
.episode-summary {
  font-size: 12px;
  color: var(--fog);
  line-height: 1.5;
  text-align: justify;
}
.comments-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24,34,42,0.7), rgba(30,33,36,0.55));
  padding: 10px;
}
.comments-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.comments-col { min-width: 0; }
.comments-subheading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--rust-bright);
  margin-bottom: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-soft);
}
.comments-col-short .comments-subheading { color: var(--paper-dim); }
.comment-list { display: flex; flex-direction: column; gap: 7px; }
.comment-item {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  padding: 6px 7px;
  border: 1px solid var(--line-soft);
  background: rgba(13,21,28,0.5);
}
.comments-col-long .comment-item { border-left: 2px solid var(--rust-dim); }
.comment-avatar {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(160deg, #4a5560, #262f36);
  border: 1px solid var(--line);
  opacity: 0.72;
}
.comment-body { min-width: 0; }
.comment-nick {
  font-size: 11.5px;
  color: var(--fog-dim);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.comment-text { font-size: 12.5px; color: #bccbd4; line-height: 1.5; text-align: justify; }
.rec-region {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30,32,34,0.6), rgba(38,32,29,0.5));
  padding: 9px 10px 10px;
}
.rec-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #e2d4cd;
  text-align: center;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-soft);
}
.rec-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  border: 1px solid var(--line-soft);
  background: rgba(13,21,28,0.55);
  padding: 5px;
  color: var(--paper-dim);
  text-decoration: none;
  transition: border-color .15s, background-color .15s, transform .15s;
}
a.rec-item:hover {
  border-color: var(--rust);
  background: rgba(168,67,44,0.16);
  text-decoration: none;
}
a.rec-item:hover .rec-name { color: #fff; }
[data-runtime="recommendation"] .rec-pic {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  filter: saturate(0.85) brightness(0.95);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rec-blurb {
  font-size: 11.5px;
  color: var(--fog-dim);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24,25,26,0.7), rgba(34,28,25,0.85));
  padding: 12px;
  margin-top: 14px;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  color: var(--fog-dim);
  line-height: 1.5;
  margin-bottom: 8px;
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: var(--paper-dim); }
a[data-contract="footer-home"]:hover { color: var(--rust-bright); text-decoration: underline; text-underline-offset: 3px; }
a[data-contract="footer-sitemap"] { color: var(--fog-dim); }
a[data-contract="footer-sitemap"]:hover { color: var(--rust-bright); text-decoration: underline; text-underline-offset: 3px; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fog-dim);
  border-right: 1px solid var(--line-soft);
  padding-right: 10px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
a.runtime-friend-link:hover {
  color: var(--rust-bright);
  border-bottom-color: var(--rust);
  text-decoration: none;
}
@media (max-width: 980px) {.overview-body { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 820px) {.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-columns { grid-template-columns: minmax(0, 1fr); }
.rec-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {.page-main { padding: 8px 8px 14px; gap: 10px; }
.overview-body { grid-template-columns: minmax(0, 1fr); }
.poster-frame { max-width: 190px; }
.hero-silhouette { min-height: 180px; padding: 22px 12px 24px; }
.hero-year-scale { top: 12px; right: 6px; gap: 7px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.rec-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-name { writing-mode: horizontal-tb; max-height: none; }
.ctrl-range { flex: 1 1 100%; }}
@media (max-width: 420px) {body { font-size: 14px; }
.rec-column { grid-template-columns: minmax(0, 1fr); }
.header-inner { padding: 6px 8px; }
.timeline-node { flex-basis: 168px; }}
@media (prefers-reduced-motion: reduce) {.rain-drop { animation: none; opacity: 0.25; }
* { transition: none !important; }}

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}
