*, *::before, *::after { box-sizing: border-box; }
html, 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%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:root {
  --ink: #0d1219;
  --ink-2: #131a24;
  --panel: #1a2331;
  --panel-2: #202b3b;
  --steel: #48576b;
  --steel-2: #6b7a8f;
  --frost: #cdd7e2;
  --frost-2: #93a1b3;
  --rust: #a4442e;
  --rust-2: #c25a3d;
  --seal: #b8552f;
  --line: rgba(147, 161, 179, 0.22);
  --line-soft: rgba(147, 161, 179, 0.12);
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(72, 87, 107, 0.35), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(164, 68, 46, 0.10), transparent 55%),
    var(--ink);
  color: var(--frost);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-stretch: condensed;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(13, 18, 25, 0.96), rgba(13, 18, 25, 0.82));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  max-width: 1240px;
  margin: 0 auto;
}
a[data-contract="site-name"].brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--frost);
  padding: 2px 0;
  border-left: 3px solid var(--rust);
  padding-left: 8px;
  white-space: nowrap;
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
a.nav-link {
  text-decoration: none;
  color: var(--frost-2);
  font-size: 13px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.nav-link:hover {
  color: var(--frost);
  border-color: var(--line);
  background: rgba(72, 87, 107, 0.18);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  padding: 6px 16px 8px;
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
}
a.runtime-category {
  text-decoration: none;
  color: var(--frost-2);
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(26, 35, 49, 0.6);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--frost);
  border-color: var(--rust);
  background: rgba(164, 68, 46, 0.18);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--frost);
  text-transform: none;
  padding-left: 9px;
  border-left: 3px solid var(--rust);
  margin-bottom: 10px;
  line-height: 1.2;
}
.hero-poster-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 14px 18px;
  align-items: start;
  background: linear-gradient(135deg, rgba(26, 35, 49, 0.92), rgba(19, 26, 36, 0.92));
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.hero-poster-panel::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--rust), transparent 70%);
  pointer-events: none;
}
.hero-media-wrap {
  position: relative;
  align-self: start;
  border: 1px solid var(--line);
  background: #0a0e14;
  overflow: hidden;
}
img.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.05);
}
.hero-poster-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--frost);
  background: linear-gradient(0deg, rgba(10, 14, 20, 0.88), rgba(10, 14, 20, 0));
  padding: 18px 8px 6px;
  text-align: right;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: #f2f6fa;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--rust-2);
  font-weight: 700;
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--frost-2);
  max-width: 62ch;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2px;
}
.stat-block {
  background: rgba(13, 18, 25, 0.85);
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.stat-value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #eef3f8;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
}
a.btn-primary, .btn-primary {
  display: inline-block;
  text-decoration: none;
  background: var(--rust);
  color: #fdf3ee;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 20px;
  border: 1px solid var(--rust-2);
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
a.btn-primary:hover { background: var(--rust-2); }
.btn-ghost {
  background: transparent;
  color: var(--frost);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 20px;
  border: 1px solid var(--steel);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-ghost:hover {
  border-color: var(--frost-2);
  background: rgba(72, 87, 107, 0.22);
}
.hero-cast-strip { margin-top: 4px; }
.hero-cast-strip .section-heading { font-size: 12px; margin-bottom: 8px; }
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 4px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(13, 18, 25, 0.55);
  transition: border-color 0.15s, background 0.15s;
}
.cast-card:hover {
  border-color: var(--steel);
  background: rgba(32, 43, 59, 0.7);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fdf3ee;
  background: linear-gradient(140deg, var(--steel), #2b3546);
  border: 1px solid rgba(164, 68, 46, 0.55);
  letter-spacing: 0;
}
.cast-name {
  font-size: 12px;
  color: var(--frost);
  white-space: nowrap;
  letter-spacing: 0.06em;
}
.hero-synopsis { margin-top: 4px; }
.hero-synopsis .section-heading { font-size: 12px; margin-bottom: 8px; }
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--frost-2);
  margin-bottom: 6px;
  max-width: 70ch;
}
.synopsis-para:last-child { margin-bottom: 0; }
.hero-details { margin-top: 4px; }
.hero-details .section-heading { font-size: 12px; margin-bottom: 8px; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  background: rgba(13, 18, 25, 0.5);
  padding: 5px 8px;
}
.detail-key {
  font-size: 11.5px;
  color: var(--steel-2);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.detail-value {
  font-size: 12px;
  color: var(--frost);
  text-align: right;
  margin: 0;
  min-width: 0;
}
.player-section {
  display: flex;
  flex-direction: column;
}
.player-shell {
  width: 100%;
  position: relative;
  background: #05080c;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: background 0.2s;
}
.player-shell.is-lights-off { background: #000; }
.player-shell.is-lights-off video { filter: brightness(0.55); }
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--rust), 0 18px 48px rgba(0, 0, 0, 0.6);
}
.player-shell video { display: block; width: 100%; height: auto; }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  margin-top: 6px;
  background: rgba(19, 26, 36, 0.85);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.ctrl-btn {
  background: rgba(32, 43, 59, 0.85);
  border: 1px solid var(--line);
  color: var(--frost);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ctrl-btn:hover { border-color: var(--steel); background: rgba(72, 87, 107, 0.35); }
.ctrl-btn.is-active, .ctrl-btn.is-muted {
  border-color: var(--rust);
  color: #fdf3ee;
  background: rgba(164, 68, 46, 0.4);
}
.ctrl-range {
  flex: 1 1 110px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--steel);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rust-2);
  border: 1px solid #fdf3ee;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rust-2);
  border: 1px solid #fdf3ee;
}
.ctrl-select {
  background: rgba(32, 43, 59, 0.85);
  border: 1px solid var(--line);
  color: var(--frost);
  font-size: 12px;
  padding: 5px 6px;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-select:hover { border-color: var(--steel); }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  position: relative;
  padding-left: 2px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px 9px 13px;
  background: linear-gradient(180deg, rgba(26, 35, 49, 0.9), rgba(19, 26, 36, 0.9));
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  border-radius: 2px;
  align-self: start;
  transition: border-color 0.15s, background 0.15s;
}
.timeline-node:hover { border-color: var(--steel-2); }
.timeline-node.is-active {
  border-left-color: var(--rust);
  background: linear-gradient(180deg, rgba(164, 68, 46, 0.22), rgba(26, 35, 49, 0.92));
  box-shadow: 0 0 0 1px rgba(164, 68, 46, 0.5);
}
.node-seal {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fdf3ee;
  background: var(--seal);
  padding: 2px 7px;
  border-radius: 1px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 88% 100%, 0 100%);
  white-space: nowrap;
}
.timeline-node.is-active .node-seal { background: var(--rust-2); }
.node-label {
  font-size: 12.5px;
  color: var(--frost-2);
  line-height: 1.45;
}
.timeline-node.is-active .node-label { color: var(--frost); font-weight: 700; }
.episode-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  grid-template-rows: auto;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-color: var(--steel) transparent;
  scrollbar-width: thin;
}
.episode-scroller::-webkit-scrollbar { height: 7px; }
.episode-scroller::-webkit-scrollbar-track { background: rgba(13, 18, 25, 0.6); }
.episode-scroller::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 4px; }
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  background: linear-gradient(180deg, rgba(26, 35, 49, 0.92), rgba(19, 26, 36, 0.92));
  border: 1px solid var(--line);
  border-top: 2px solid var(--steel);
  border-radius: 2px;
  padding: 9px 10px;
  min-height: 100%;
  transition: border-color 0.15s, transform 0.15s;
}
.episode-card:hover { border-color: var(--steel-2); }
.episode-card.is-active {
  border-top-color: var(--rust);
  background: linear-gradient(180deg, rgba(164, 68, 46, 0.2), rgba(19, 26, 36, 0.94));
  box-shadow: inset 0 0 0 1px rgba(164, 68, 46, 0.4);
}
.episode-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--rust-2);
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--frost);
  line-height: 1.3;
  letter-spacing: 0.04em;
}
.episode-duration {
  font-size: 11px;
  color: var(--steel-2);
  letter-spacing: 0.08em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--frost-2);
  margin-top: 3px;
  border-top: 1px solid var(--line-soft);
  padding-top: 5px;
}
.comment-wall {
  columns: 2;
  column-gap: 12px;
}
.comment-note {
  break-inside: avoid;
  display: block;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(32, 43, 59, 0.95), rgba(26, 35, 49, 0.95));
  border: 1px solid var(--line);
  border-left: 3px solid var(--seal);
  border-radius: 2px;
  padding: 9px 11px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  position: relative;
}
.comment-note:nth-child(2n) { transform: rotate(-0.35deg); }
.comment-note:nth-child(3n) { transform: rotate(0.3deg); }
.comment-nickname {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--rust-2);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--frost-2);
}
.rec-region { display: flex; flex-direction: column; }
.rec-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.rec-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(26, 35, 49, 0.92), rgba(19, 26, 36, 0.92));
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px;
  align-self: start;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
a.rec-card:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(32, 43, 59, 0.95), rgba(19, 26, 36, 0.95));
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  background: #0a0e14;
  filter: saturate(0.85) contrast(1.04);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--frost);
  letter-spacing: 0.04em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--steel-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(13, 18, 25, 0.9);
  padding: 14px 16px 20px;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  text-decoration: none;
  font-size: 12.5px;
  color: var(--frost-2);
  letter-spacing: 0.08em;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--frost);
  border-bottom-color: var(--rust);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--steel-2);
  white-space: nowrap;
}
a.runtime-friend-link {
  text-decoration: none;
  font-size: 11.5px;
  color: var(--frost-2);
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover { color: var(--rust-2); }
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--steel-2);
  max-width: 90ch;
}
@media (max-width: 1024px) {.hero-poster-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.hero-title { font-size: 26px; }
.rec-grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.detail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-poster-panel { grid-template-columns: minmax(0, 1fr); }
.hero-media-wrap { max-width: 320px; }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {body { font-size: 13.5px; }
.header-top { flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px 12px; }
.category-bar { padding: 6px 12px 8px; }
.page-main { padding: 12px 12px 22px; gap: 18px; }
.hero-poster-panel { padding: 10px; gap: 12px; }
.hero-title { font-size: 22px; }
.hero-seo { font-size: 12px; }
.hero-media-wrap { max-width: 260px; }
.comment-wall { columns: 1; }
.comment-note:nth-child(2n), .comment-note:nth-child(3n) { transform: none; }
.timeline-track { grid-template-columns: minmax(0, 1fr); }
.rec-grid-3, .rec-grid-4, .rec-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.episode-scroller { grid-auto-columns: minmax(180px, 85%); }
.player-controls { gap: 5px; padding: 7px; }
.ctrl-range { flex: 1 1 100%; }}
@media (max-width: 380px) {.rec-grid-3, .rec-grid-4, .rec-grid-5 { grid-template-columns: minmax(0, 1fr); }
.hero-stats { grid-template-columns: repeat(2, minmax(0, 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}
