*, *::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 { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:root {
  --ink: #0b0908;
  --char: #14100d;
  --umber: #241a12;
  --umber-2: #2f2115;
  --amber: #c9762a;
  --amber-deep: #8a4d18;
  --gold: #f0b429;
  --gold-soft: #e6c98a;
  --bone: #d8cfc4;
  --ash: #a89c90;
  --ash-dim: #7d7168;
  --rule: rgba(201, 118, 42, 0.28);
  --rule-soft: rgba(216, 207, 196, 0.12);
  --sans-heavy: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --sans-human: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
}
html { -webkit-text-size-adjust: 100%; }
body.page-shell {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans-human);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  padding-bottom: 0;
  background-image:
    radial-gradient(120% 60% at 50% 0%, rgba(201, 118, 42, 0.10), transparent 60%),
    linear-gradient(180deg, #0b0908 0%, #0e0b09 40%, #090706 100%);
  background-attachment: fixed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 9, 8, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 9px 18px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-name {
  font-family: var(--sans-heavy);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  padding-right: 14px;
  border-right: 1px solid var(--rule);
}
a[data-contract="site-name"].site-name:hover { color: #ffd75e; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ash);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  background: rgba(47, 33, 21, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--gold);
  border-color: var(--rule);
  background: rgba(201, 118, 42, 0.12);
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
}
.section-heading {
  font-family: var(--sans-heavy);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.16em;
  color: var(--bone);
  padding-left: 10px;
  margin-bottom: 12px;
  border-left: 3px solid var(--amber);
  line-height: 1.2;
}
.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 26px 0 34px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 26px;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 90% at 18% 30%, rgba(201, 118, 42, 0.14), transparent 65%),
    radial-gradient(90% 70% at 90% 10%, rgba(240, 180, 41, 0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-poster-wrap, .hero-info { position: relative; z-index: 1; }
.hero-poster-wrap {
  position: sticky;
  top: 62px;
  align-self: start;
}
img.hero-poster {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 2px;
  filter: saturate(0.92) contrast(1.08) brightness(0.9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 18px 40px rgba(0, 0, 0, 0.65);
}
.hero-info { min-width: 0; }
.hero-title {
  font-family: var(--sans-heavy);
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: #f4ece2;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6), 0 0 26px rgba(201, 118, 42, 0.28);
  margin-bottom: 6px;
}
.hero-tagline {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--gold-soft);
  letter-spacing: 0.05em;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rule-soft);
}
.player-shell {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--amber), 0 0 46px rgba(201, 118, 42, 0.4);
}
.player-shell.is-dimmed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: none;
  z-index: 3;
}
video.player-video {
  display: block;
  width: 100%;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, var(--umber), var(--char));
  border-top: 1px solid var(--rule);
}
.player-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(216, 207, 196, 0.18);
  border-radius: 999px;
  accent-color: var(--amber);
}
.player-volume {
  flex: 0 1 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(216, 207, 196, 0.18);
  border-radius: 999px;
  accent-color: var(--gold);
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}
.player-btn {
  font-family: var(--sans-human);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ash);
  padding: 4px 9px;
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  background: rgba(20, 16, 13, 0.7);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-btn:hover {
  color: var(--gold);
  border-color: var(--rule);
  background: rgba(201, 118, 42, 0.14);
}
.player-btn.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.player-btn-play.is-playing { color: var(--gold); border-color: var(--rule); }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  padding: 9px 11px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, rgba(47, 33, 21, 0.85), rgba(20, 16, 13, 0.4));
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--amber);
}
.status-label {
  font-family: var(--sans-heavy);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-size: 11.5px;
  text-transform: uppercase;
}
.status-value { color: var(--bone); }
.status-divider { color: var(--amber-deep); }
.detail-strip { margin-bottom: 18px; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px;
  background: var(--char);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ash-dim);
}
.detail-value {
  font-size: 12.5px;
  color: var(--bone);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.rating-value {
  font-family: var(--sans-heavy);
  font-weight: 900;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.synopsis-panel {
  margin-bottom: 24px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(36, 26, 18, 0.72), rgba(20, 16, 13, 0.5));
  border: 1px solid var(--rule-soft);
  border-top: 2px solid var(--amber-deep);
}
.synopsis-body { max-width: 78ch; }
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ash);
  margin-bottom: 8px;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.synopsis-paragraph::first-letter { color: var(--gold-soft); }
.cast-panel { margin-bottom: 26px; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 8px 10px;
  background: linear-gradient(160deg, rgba(47, 33, 21, 0.75), rgba(20, 16, 13, 0.75));
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--amber-deep);
}
.cast-avatar {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  background:
    repeating-linear-gradient(135deg, rgba(201, 118, 42, 0.16) 0 3px, transparent 3px 7px),
    linear-gradient(180deg, #2b1f15, #120e0b);
  border: 1px solid var(--rule);
}
.cast-name {
  font-family: var(--sans-heavy);
  font-weight: 800;
  font-size: 13.5px;
  color: #efe3d4;
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--amber);
}
.timeline-panel {
  margin-bottom: 30px;
  padding-top: 4px;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--rule);
  margin-left: 4px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 34px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 7px 0 7px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-timecode {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  padding-left: 12px;
  white-space: nowrap;
}
.timeline-dot {
  justify-self: center;
  display: block;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.14), 0 0 14px rgba(240, 180, 41, 0.5);
}
.timeline-label {
  font-family: var(--sans-heavy);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--bone);
  padding-right: 6px;
}
.timeline-node-1 .timeline-dot { width: 4px; height: 4px; }
.timeline-node-2 .timeline-dot { width: 6px; height: 6px; }
.timeline-node-3 .timeline-dot { width: 8px; height: 8px; }
.timeline-node-4 .timeline-dot { width: 11px; height: 11px; }
.timeline-node-5 .timeline-dot { width: 14px; height: 14px; }
.timeline-node-6 .timeline-dot { width: 17px; height: 17px; }
.timeline-node-7 .timeline-dot { width: 21px; height: 21px; }
.timeline-node-8 .timeline-dot { width: 26px; height: 26px; }
.timeline-node-8 .timeline-label { color: #f4e6c8; }
.episodes-panel { margin-bottom: 30px; }
.episode-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  max-width: 760px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: linear-gradient(150deg, rgba(47, 33, 21, 0.8), rgba(20, 16, 13, 0.7));
  border: 1px solid var(--rule-soft);
  border-top: 2px solid var(--amber);
}
.episode-title {
  font-family: var(--sans-heavy);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #f2e7d8;
}
.episode-summary {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ash);
}
.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--rule-soft);
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}
.comments-panel { margin-bottom: 30px; }
.comments-masonry {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: rgba(20, 16, 13, 0.78);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid rgba(230, 201, 138, 0.5);
}
.comment-nickname {
  display: block;
  font-family: var(--sans-heavy);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  margin-bottom: 5px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #b9b0a6;
}
.recommend-region {
  margin-bottom: 26px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.recommend-title {
  font-family: var(--sans-heavy);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-align: left;
  margin-bottom: 10px;
  padding-left: 9px;
  border-left: 3px solid var(--gold);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: rgba(20, 16, 13, 0.72);
  border: 1px solid var(--rule-soft);
  color: var(--bone);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--amber);
  background: rgba(47, 33, 21, 0.8);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  background: #120e0b;
  border: 1px solid rgba(0, 0, 0, 0.6);
  filter: saturate(0.9) brightness(0.92);
}
.recommend-name {
  font-family: var(--sans-heavy);
  font-weight: 800;
  font-size: 13px;
  color: #efe3d4;
  line-height: 1.4;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ash-dim);
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(20, 16, 13, 0.6), rgba(9, 7, 6, 0.9));
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}
a.footer-link {
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
}
a.footer-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}
.friend-links-label {
  font-family: var(--sans-heavy);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ash);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 8px;
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  border-color: var(--rule);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ash-dim);
  max-width: 88ch;
}
@media (max-width: 1024px) {.hero-banner {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 20px;
  }
.hero-poster-wrap { top: 58px; }}
@media (max-width: 860px) {.hero-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.hero-poster-wrap {
    position: static;
    max-width: 220px;
  }
.timeline-item {
    grid-template-columns: 84px 28px minmax(0, 1fr);
  }
.comments-masonry { columns: 2; }}
@media (max-width: 620px) {body.page-shell { font-size: 14px; }
.header-inner { padding: 8px 12px; gap: 10px; }
a[data-contract="site-name"].site-name { font-size: 15px; letter-spacing: 0.1em; padding-right: 10px; }
.page-main { padding: 0 12px; }
.hero-banner { padding: 16px 0 22px; margin-bottom: 18px; }
.hero-title { font-size: clamp(24px, 8vw, 34px); }
.hero-poster-wrap { max-width: 170px; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.comments-masonry { columns: 1; }
.episode-cards { grid-template-columns: minmax(0, 1fr); max-width: none; }
.timeline-item {
    grid-template-columns: 72px 24px minmax(0, 1fr);
    padding: 8px 0;
  }
.timeline-timecode { font-size: 11px; padding-left: 8px; }
.timeline-label { font-size: 12.5px; }
.timeline-node-8 .timeline-dot { width: 20px; height: 20px; }
.recommend-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.player-btn { font-size: 11px; padding: 4px 7px; }
.site-footer { padding: 14px 12px; }}
@media (max-width: 400px) {.cast-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-list { grid-template-columns: minmax(0, 1fr); }
.detail-list { grid-template-columns: 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}
