*, *::before, *::after { box-sizing: border-box; }
:root {
  --ink: #0a0908;
  --iron: #16130f;
  --iron-2: #1e1a15;
  --iron-3: #2a241d;
  --rust: #7d2418;
  --rust-hot: #a8341f;
  --rust-dim: #4a1a12;
  --pale: #d8d2c8;
  --pale-dim: #9a9186;
  --line: #332b22;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(125, 36, 24, 0.16), transparent 60%),
    linear-gradient(180deg, #0a0908 0%, #100d0a 40%, #0a0908 100%);
  color: var(--pale);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--pale); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--rust); color: #fff; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.96), rgba(10, 9, 8, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1320px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  font-family: "Source Han Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--pale);
  text-decoration: none;
  padding-right: 14px;
  border-right: 1px solid var(--rust-dim);
  text-shadow: 0 0 14px rgba(168, 52, 31, 0.35);
}
a[data-contract="site-name"].site-brand:hover { color: var(--rust-hot); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--pale-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--rust-hot);
  border-color: var(--rust-dim);
  background: rgba(125, 36, 24, 0.12);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.movie-overview {
  position: relative;
  margin-top: 14px;
  background:
    linear-gradient(180deg, rgba(30, 26, 21, 0.9), rgba(10, 9, 8, 0.94)),
    repeating-linear-gradient(135deg, rgba(125, 36, 24, 0.05) 0 2px, transparent 2px 7px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--rust-dim);
  padding: 14px;
  display: grid;
  gap: 16px;
}
.hero-still {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-frame {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--iron-3);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(125, 36, 24, 0.25) inset;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(200deg, rgba(125, 36, 24, 0.28) 0%, transparent 42%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.85), transparent 55%);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
}
.hero-caption {
  position: relative;
  padding-left: 14px;
  border-left: 1px solid var(--rust-dim);
  min-width: 0;
  align-self: start;
}
.hero-caption::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: 54px;
  background: linear-gradient(180deg, var(--rust-hot), transparent);
}
.movie-title {
  font-family: "Source Han Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #f2ede4;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.8), 0 0 26px rgba(168, 52, 31, 0.28);
}
.movie-tagline {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--rust-hot);
  max-width: 42ch;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.player-shell {
  grid-column: 2;
  position: relative;
  min-width: 0;
  background: #050403;
  border: 1px solid var(--iron-3);
  box-shadow: 0 22px 50px -30px #000;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #12100d, #0a0908);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  appearance: none;
  background: var(--iron-2);
  border: 1px solid var(--iron-3);
  color: var(--pale-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover { color: var(--pale); border-color: var(--rust-dim); }
.ctrl-btn.is-active {
  color: #f6e9df;
  background: rgba(125, 36, 24, 0.5);
  border-color: var(--rust-hot);
}
.ctrl-range {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  flex: 1 1 90px;
  min-width: 70px;
  background: linear-gradient(90deg, var(--rust-dim), var(--iron-3));
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rust-hot);
  border: 1px solid #2a0d08;
  box-shadow: 0 0 8px rgba(168, 52, 31, 0.7);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #2a0d08;
  border-radius: 50%;
  background: var(--rust-hot);
}
.ctrl-select {
  appearance: none;
  background: var(--iron-2);
  border: 1px solid var(--iron-3);
  color: var(--pale-dim);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 2px;
  cursor: pointer;
}
.player-shell.is-playing .player-controls { border-top-color: var(--rust-dim); }
.player-shell.is-muted .ctrl-range:last-of-type { opacity: 0.45; }
.player-shell.is-speed .ctrl-select { color: var(--rust-hot); border-color: var(--rust-dim); }
.player-shell.is-theater {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  border: 0;
}
.player-shell.is-theater video { max-height: 78vh; }
.player-shell.is-fullscreen video { height: calc(100vh - 46px); object-fit: contain; }
.player-shell.is-lights-off { box-shadow: 0 0 0 1px var(--rust-dim), 0 0 60px 10px rgba(125, 36, 24, 0.25); }
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 18px 26px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.episode-status {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 8px 12px;
  background: linear-gradient(90deg, rgba(125, 36, 24, 0.24), rgba(125, 36, 24, 0.02));
  border-left: 3px solid var(--rust-hot);
}
.status-line {
  font-family: "Source Han Serif SC", "Songti SC", "SimSun", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f0e6da;
}
.status-note {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--pale-dim);
}
.section-heading {
  font-family: "Source Han Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--pale);
  padding-left: 10px;
  border-left: 3px solid var(--rust);
  margin-bottom: 10px;
  line-height: 1.2;
}
.cast-section { min-width: 0; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 12px;
  align-items: start;
}
.cast-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  background: rgba(30, 26, 21, 0.5);
  border-left: 2px solid var(--iron-3);
  transition: border-color 0.16s, background 0.16s;
}
.cast-row:hover {
  border-left-color: var(--rust-hot);
  background: rgba(125, 36, 24, 0.14);
}
.cast-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #4a4139, #16130f 70%);
  border: 1px solid var(--iron-3);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 45%, rgba(125, 36, 24, 0.6) 100%);
}
.cast-name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #eae2d7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-weapon {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--rust-hot);
  text-align: right;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-section { min-width: 0; }
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.6;
  color: #c3bcb1;
  text-align: justify;
  margin-bottom: 7px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.synopsis-para:last-child { margin-bottom: 0; }
.details-section { min-width: 0; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  background: var(--ink);
  padding: 5px 9px;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--rust-hot);
  min-width: 4.5em;
}
.detail-value {
  margin: 0;
  font-size: 12.5px;
  color: var(--pale-dim);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 26, 21, 0.55), rgba(10, 9, 8, 0.9));
  border: 1px solid var(--line);
  padding: 14px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 10px 14px;
  align-items: start;
  counter-reset: node;
}
.timeline-node {
  position: relative;
  padding: 10px 10px 10px 34px;
  background: var(--iron-2);
  border: 1px solid var(--iron-3);
  min-width: 0;
}
.timeline-node::before {
  counter-increment: node;
  content: counter(node, decimal-leading-zero);
  position: absolute;
  left: 8px;
  top: 10px;
  font-family: "Source Han Serif SC", "Songti SC", serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--rust-hot);
  letter-spacing: 0.04em;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 26px;
  bottom: -11px;
  width: 1px;
  background: linear-gradient(180deg, var(--rust-dim), transparent);
}
.timeline-node:last-child::after { display: none; }
.node-time {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--rust-hot);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.node-label {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #cdc6bb;
}
.timeline-node:nth-child(4) {
  background: linear-gradient(90deg, rgba(125, 36, 24, 0.4), rgba(30, 26, 21, 0.9));
  border-color: var(--rust-hot);
  box-shadow: 0 0 0 1px rgba(168, 52, 31, 0.35), 0 10px 26px -18px rgba(168, 52, 31, 0.9);
}
.timeline-node:nth-child(4)::before { color: #ffd9c9; }
.timeline-node:nth-child(4) .node-time { color: #ffb69c; }
.timeline-node:nth-child(4) .node-label { color: #f4ece2; }
.episodes-section {
  background: linear-gradient(180deg, rgba(30, 26, 21, 0.4), rgba(10, 9, 8, 0.9));
  border: 1px solid var(--line);
  padding: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--rust-dim) transparent;
}
.episode-grid::-webkit-scrollbar { width: 8px; }
.episode-grid::-webkit-scrollbar-track { background: var(--ink); }
.episode-grid::-webkit-scrollbar-thumb {
  background: var(--rust-dim);
  border: 2px solid var(--ink);
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px;
  background: var(--iron-2);
  border: 1px solid var(--iron-3);
  border-left: 2px solid var(--iron-3);
  min-width: 0;
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
.episode-card:hover {
  background: rgba(125, 36, 24, 0.16);
  border-left-color: var(--rust-hot);
  transform: translateX(2px);
}
.ep-number {
  font-family: "Source Han Serif SC", "Songti SC", serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rust-hot);
}
.ep-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ece4d9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-summary {
  font-size: 11.5px;
  line-height: 1.45;
  color: #9f988d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep-duration {
  margin-top: auto;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--pale-dim);
  opacity: 0.7;
  border-top: 1px solid var(--line);
  padding-top: 3px;
}
.comments-section {
  background: linear-gradient(180deg, rgba(30, 26, 21, 0.4), rgba(10, 9, 8, 0.9));
  border: 1px solid var(--line);
  padding: 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  position: relative;
  padding: 9px 11px 9px 14px;
  background: linear-gradient(160deg, var(--iron-2), #12100d);
  border: 1px solid var(--iron-3);
  min-width: 0;
  box-shadow: 3px 3px 0 -1px rgba(125, 36, 24, 0.22), 0 12px 24px -22px #000;
}
.comment-card:nth-child(2n) { transform: translateY(5px); }
.comment-card:nth-child(3n) { transform: translateY(-3px); }
.comment-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--rust-hot), var(--rust-dim) 60%, transparent);
}
.comment-card::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 14px;
  height: 14px;
  background: var(--ink);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.comment-nick {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rust-hot);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #bcb5aa;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(125, 36, 24, 0.4);
}
.recommend-region:last-of-type { border-bottom: 1px solid rgba(125, 36, 24, 0.4); }
.recommend-title {
  font-family: "Source Han Serif SC", "Songti SC", "STZhongsong", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: #e7dfd3;
  padding-left: 10px;
  border-left: 3px solid var(--rust);
  position: sticky;
  top: 52px;
  align-self: start;
}
.recommend-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 138px), 1fr));
  gap: 8px;
  align-items: start;
  min-width: 0;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 6px;
  background: var(--iron-2);
  border: 1px solid var(--iron-3);
  color: var(--pale);
  text-decoration: none;
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
a.recommend-item:hover {
  background: rgba(125, 36, 24, 0.18);
  border-color: var(--rust-dim);
  transform: translateY(-2px);
}
a.recommend-item:hover .recommend-name { color: var(--rust-hot); }
[data-runtime="recommendation"] img.recommend-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #050403;
  border: 1px solid var(--line);
  filter: saturate(0.8) contrast(1.06) brightness(0.92);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #e6ded2;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.4;
  color: #918a80;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  padding: 18px 16px 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.6), #050403);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #6f6960;
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--pale-dim);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--rust-dim);
  transition: color 0.16s, border-color 0.16s;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--rust-hot);
  border-bottom-color: var(--rust-hot);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(125, 36, 24, 0.22);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--rust-hot);
  padding-right: 10px;
  border-right: 1px solid var(--rust-dim);
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #7d766c;
  text-decoration: none;
  transition: color 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--pale);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 980px) {.hero-still {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 520px;
  }}
@media (max-width: 760px) {.page-main {
    padding: 0 12px 8px;
    gap: 20px;
  }
.movie-overview { padding: 12px; margin-top: 10px; }
.hero-still {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-frame {
    max-width: 220px;
  }
.player-shell {
    grid-column: 1 / -1;
  }
.hero-caption { padding-left: 10px; }
.movie-title { font-size: clamp(24px, 8vw, 34px); }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
    max-height: 460px;
  }
.recommend-region {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.recommend-title {
    position: static;
    font-size: 13.5px;
  }
.recommend-items {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 118px), 1fr));
  }
.comment-card:nth-child(2n), .comment-card:nth-child(3n) { transform: none; }}
@media (max-width: 460px) {.header-inner { padding: 7px 12px; gap: 10px; }
a[data-contract="site-name"].site-brand { font-size: 17px; }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.recommend-items {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
  }
.friend-links-label { border-right: 0; padding-right: 0; }}

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}
