*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0a0605;
  --ink-2: #120a09;
  --ink-3: #1b0e0d;
  --blood: #6e1010;
  --blood-lt: #a01c1c;
  --blood-dk: #3d0808;
  --gold: #c9a227;
  --gold-lt: #e8cd6a;
  --gold-dim: #8a701f;
  --bone: #e8ddc8;
  --bone-dim: #b9ab93;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(110, 16, 16, 0.42) 0%, rgba(10, 6, 5, 0) 46%),
    radial-gradient(circle at 86% 30%, rgba(61, 8, 8, 0.38) 0%, rgba(10, 6, 5, 0) 52%),
    repeating-linear-gradient(115deg, rgba(233, 205, 106, 0.022) 0 1px, rgba(0, 0, 0, 0) 1px 7px);
  color: var(--bone);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: var(--gold-lt); text-decoration: none; }
a:hover { color: var(--blood-lt); }
button, input, select { font: inherit; color: inherit; }
ol, ul { list-style: none; }
.page-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 40px;
  position: relative;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 -18px 20px;
  padding: 0 18px;
  background: linear-gradient(180deg, rgba(10, 6, 5, 0.97) 0%, rgba(10, 6, 5, 0.86) 70%, rgba(10, 6, 5, 0) 100%);
  backdrop-filter: blur(3px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 0 10px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
}
a[data-contract="site-name"].site-name {
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-lt);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(160, 28, 28, 0.5);
  white-space: nowrap;
}
a[data-contract="site-name"].site-name:hover {
  color: var(--blood-lt);
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  text-decoration: none;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 2px;
  background: rgba(30, 12, 12, 0.5);
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  text-decoration: none;
}
.section-title {
  position: relative;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-lt);
  padding: 0 0 7px 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 3px;
  height: 1.05em;
  background: linear-gradient(180deg, var(--gold-lt), var(--blood));
}
.movie-overview {
  display: block;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(61, 8, 8, 0.6) 0%, rgba(18, 10, 9, 0.9) 48%, rgba(10, 6, 5, 0.95) 100%);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.overview-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(233, 205, 106, 0.03) 0 1px, rgba(0,0,0,0) 1px 5px);
  pointer-events: none;
}
.poster-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  align-self: start;
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.7), inset 0 0 40px rgba(61, 8, 8, 0.6);
  overflow: hidden;
}
.main-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.12) saturate(0.86) sepia(0.14);
}
.poster-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(110, 16, 16, 0.34) 0%, rgba(10, 6, 5, 0) 55%, rgba(10, 6, 5, 0.72) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--bone);
  text-shadow: 0 1px 0 rgba(0,0,0,0.8), 0 0 22px rgba(160, 28, 28, 0.55);
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
  padding-bottom: 10px;
}
.movie-tagline {
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  color: var(--gold-lt);
  font-style: italic;
}
.movie-intro {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--bone-dim);
  text-align: justify;
  max-width: 62ch;
}
.player-shell {
  margin-top: 14px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(27, 14, 13, 0.95), rgba(10, 6, 5, 0.98));
  border: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 3px;
  width: 100%;
}
.player-shell video {
  display: block;
  background: #000;
  border: 1px solid rgba(110, 16, 16, 0.55);
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
}
.ctrl-btn {
  padding: 4px 11px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  background: rgba(27, 14, 13, 0.9);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ctrl-btn:hover, .ctrl-btn.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold-lt);
}
.ctrl-progress {
  flex: 1 1 180px;
  min-width: 120px;
  height: 5px;
  accent-color: var(--blood-lt);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 5px;
  accent-color: var(--gold);
  cursor: pointer;
}
.ctrl-speed {
  padding: 4px 8px;
  font-size: 0.78rem;
  color: var(--bone-dim);
  background: rgba(10, 6, 5, 0.95);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 2px;
  cursor: pointer;
}
.player-shell.is-theater {
  margin-left: -18px;
  margin-right: -18px;
  width: auto;
  padding-left: 18px;
  padding-right: 18px;
  border-left: none;
  border-right: none;
  border-radius: 0;
}
body.lights-off {
  background-color: #000;
}
body.lights-off .main-content > *:not(.movie-overview), body.lights-off .site-footer, body.lights-off .site-header {
  opacity: 0.16;
  transition: opacity 0.4s;
}
.episode-status {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin-top: 14px;
  padding: 9px 14px;
  background: linear-gradient(90deg, rgba(61, 8, 8, 0.55), rgba(18, 10, 9, 0.85));
  border: 1px solid rgba(160, 28, 28, 0.4);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
}
.status-label { font-size: 0.82rem; color: var(--bone-dim); letter-spacing: 0.1em; }
.status-current { font-size: 1.2rem; font-weight: 700; color: var(--gold-lt); }
.status-sep { color: var(--gold-dim); }
.status-total { font-size: 0.95rem; color: var(--bone-dim); }
.status-unit { font-size: 0.82rem; color: var(--bone-dim); }
.status-tag {
  margin-left: auto;
  padding: 2px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: var(--gold);
  border-radius: 1px;
}
.detail-block {
  margin-top: 18px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: rgba(201, 162, 39, 0.14);
  border: 1px solid rgba(201, 162, 39, 0.18);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(18, 10, 9, 0.94);
}
.detail-row dt {
  flex: 0 0 auto;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
}
.detail-row dd {
  flex: 1 1 auto;
  font-size: 0.86rem;
  color: var(--bone);
  text-align: right;
  min-width: 0;
}
.synopsis-block {
  margin-top: 18px;
}
.synopsis-body {
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(27, 14, 13, 0.72), rgba(18, 10, 9, 0.72));
  border-left: 2px solid rgba(160, 28, 28, 0.6);
  border-radius: 2px;
}
.synopsis-paragraph {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--bone-dim);
  text-align: justify;
  text-indent: 2em;
}
.synopsis-paragraph + .synopsis-paragraph {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed rgba(201, 162, 39, 0.16);
}
.cast-block {
  margin-top: 18px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}
.cast-member {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: linear-gradient(160deg, rgba(27, 14, 13, 0.9), rgba(10, 6, 5, 0.9));
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 2px;
}
.cast-avatar {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(201, 162, 39, 0.5), rgba(61, 8, 8, 0.9) 62%, rgba(10, 6, 5, 1) 100%);
  border: 1px solid rgba(201, 162, 39, 0.42);
  box-shadow: inset 0 0 12px rgba(110, 16, 16, 0.8);
}
.cast-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 0.74rem;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-section {
  margin-top: 24px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 22px;
  padding-left: 26px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.5), rgba(110, 16, 16, 0.7), rgba(201, 162, 39, 0.2));
}
.timeline-node {
  position: relative;
  padding: 8px 10px 8px 0;
}
.node-marker {
  position: absolute;
  left: -26px;
  top: 13px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-lt), var(--blood) 70%, var(--blood-dk));
  border: 1px solid rgba(201, 162, 39, 0.7);
  box-shadow: 0 0 0 3px rgba(10, 6, 5, 0.95), 0 0 10px rgba(160, 28, 28, 0.7);
}
.node-content {
  padding: 6px 10px;
  background: rgba(18, 10, 9, 0.78);
  border-left: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 2px;
}
.node-time {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--gold-lt);
  margin-bottom: 3px;
}
.node-label {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--bone-dim);
}
.episodes-section {
  margin-top: 24px;
}
.episode-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: linear-gradient(120deg, rgba(61, 8, 8, 0.42), rgba(18, 10, 9, 0.92));
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-top: 2px solid var(--blood-lt);
  border-radius: 2px;
}
.episode-number {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold-lt);
}
.episode-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bone);
}
.episode-summary {
  font-size: 0.84rem;
  line-height: 1.78;
  color: var(--bone-dim);
  text-align: justify;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 9px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: linear-gradient(90deg, var(--gold-lt), var(--gold-dim));
  border-radius: 1px;
}
.comments-section {
  margin-top: 24px;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  padding: 10px 13px;
  background: rgba(18, 10, 9, 0.82);
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-left: 2px solid rgba(160, 28, 28, 0.7);
  border-radius: 2px;
}
.comment-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-lt);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--bone-dim);
  text-align: justify;
}
.recommend-region {
  margin-top: 24px;
}
.region-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-lt);
  padding: 0 0 6px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.26);
  border-left: 3px solid var(--blood-lt);
  line-height: 1.2;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  color: var(--bone);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(27, 14, 13, 0.9), rgba(10, 6, 5, 0.94));
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 2px;
  transition: border-color 0.15s, transform 0.15s;
}
a.recommend-card:hover {
  color: var(--gold-lt);
  text-decoration: none;
  border-color: rgba(201, 162, 39, 0.6);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  border: 1px solid rgba(110, 16, 16, 0.45);
}
.rec-name {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--bone-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 34px;
  border-top: 1px solid rgba(201, 162, 39, 0.26);
  background: linear-gradient(180deg, rgba(18, 10, 9, 0.6), rgba(10, 6, 5, 1));
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 0.76rem;
  line-height: 1.7;
  color: #7d7264;
  text-align: justify;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.friend-label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  margin-right: 3px;
}
a.runtime-friend-link {
  font-size: 0.76rem;
  color: var(--bone-dim);
  text-decoration: none;
  padding: 1px 7px;
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 1px;
}
a.runtime-friend-link:hover {
  color: var(--gold-lt);
  text-decoration: none;
  border-color: rgba(201, 162, 39, 0.5);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 162, 39, 0.16);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-lt);
  text-decoration: underline;
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 16px;
  }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 700px) {body { font-size: 14.5px; }
.page-shell { padding: 0 12px 32px; }
.site-header { margin: 0 -12px 16px; padding: 0 12px; }
.header-inner { padding: 10px 0 8px; }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
.poster-wrapper {
    max-width: 220px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 24px;
  }
.comments-grid { grid-template-columns: minmax(0, 1fr); }
.episode-cards { grid-template-columns: minmax(0, 1fr); }
.player-shell.is-theater { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }}
@media (max-width: 520px) {.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.movie-title { font-size: 1.3rem; }}
@media (max-width: 400px) {.recommend-grid { grid-template-columns: minmax(0, 1fr); }
.cast-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}
