*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold: #c9a24b;
  --gold-dim: #8a6d2f;
  --gold-bright: #e8c877;
  --crimson: #6e1417;
  --crimson-deep: #3d0b0e;
  --ink: #0b0705;
  --ink-2: #16100c;
  --wood: #3a2417;
  --wood-light: #5a3a22;
  --text: #e8ddc8;
  --text-dim: #a89880;
  --line: rgba(201, 162, 75, 0.28);
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(110, 20, 23, 0.55), transparent 55%),
    radial-gradient(ellipse at 88% 12%, rgba(201, 162, 75, 0.14), transparent 48%),
    repeating-linear-gradient(135deg, rgba(201, 162, 75, 0.035) 0 2px, transparent 2px 9px),
    linear-gradient(175deg, #140c09 0%, #0b0705 42%, #120b0a 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Heiti SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  min-height: 100vh;
  padding: 0;
}
img, video { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3 {
  font-family: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
}
ol, ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(11, 7, 5, 0.96), rgba(20, 12, 9, 0.9));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
  font-family: "Songti SC", "SimSun", serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.22em;
  border-left: 3px solid var(--crimson);
  padding-left: 10px;
  text-shadow: 0 0 12px rgba(201, 162, 75, 0.35);
}
a[data-contract="site-name"]:hover { color: #fff2cf; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(58, 36, 23, 0.5);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(110, 20, 23, 0.55);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.movie-overview {
  position: relative;
  background:
    linear-gradient(180deg, rgba(61, 11, 14, 0.42), rgba(22, 16, 12, 0.86) 30%),
    repeating-linear-gradient(45deg, rgba(201, 162, 75, 0.05) 0 1px, transparent 1px 13px),
    #16100c;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: inset 0 0 90px rgba(110, 20, 23, 0.35), 0 8px 30px rgba(0, 0, 0, 0.55);
  padding: 16px 16px 18px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-frame {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 200px;
  border: 1px solid var(--gold-dim);
  outline: 1px solid rgba(110, 20, 23, 0.7);
  outline-offset: -5px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 10px 26px rgba(0, 0, 0, 0.7);
  background: #0b0705;
  overflow: hidden;
}
.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.poster-caption {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-align: center;
  padding: 5px 4px;
  background: linear-gradient(180deg, rgba(11, 7, 5, 0.9), rgba(61, 11, 14, 0.85));
  border-top: 1px solid var(--line);
}
.overview-lead { min-width: 0; }
.movie-title {
  font-size: 24px;
  color: var(--gold-bright);
  letter-spacing: 0.2em;
  text-shadow: 0 0 18px rgba(201, 162, 75, 0.3), 0 2px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 13px;
  letter-spacing: 0.32em;
  color: #d98a86;
  margin-top: 4px;
  padding-left: 2px;
}
.movie-seo {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
  border-left: 2px solid rgba(201, 162, 75, 0.45);
  padding: 4px 0 4px 10px;
  background: linear-gradient(90deg, rgba(58, 36, 23, 0.42), transparent 70%);
}
.player-shell {
  margin-top: 12px;
  width: 100%;
  max-width: 100%;
  background: #050302;
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(58, 36, 23, 0.7), rgba(11, 7, 5, 0.95));
  border-top: 1px solid var(--line);
}
.player-controls button {
  background: rgba(110, 20, 23, 0.45);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.player-controls button:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(110, 20, 23, 0.8);
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-dim), rgba(58, 36, 23, 0.9));
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 70px;
}
.player-controls input[type="range"][data-player-action="volume"] { flex: 0 1 78px; }
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 1px solid var(--crimson-deep);
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid var(--crimson-deep);
  border-radius: 50%;
  background: var(--gold-bright);
}
.player-controls select {
  background: rgba(22, 16, 12, 0.95);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font-size: 11px;
  padding: 3px 4px;
  cursor: pointer;
}
.player-shell.is-muted .player-controls [data-player-action="mute"] {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(110, 20, 23, 0.85);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--gold-dim), 0 0 40px rgba(201, 162, 75, 0.22);
}
.player-shell.is-lights-off {
  background: #000;
  box-shadow: 0 0 0 3px rgba(110, 20, 23, 0.9), 0 0 60px rgba(0, 0, 0, 0.9);
}
.player-shell.is-lights-off .player-controls {
  background: #000;
  opacity: 0.72;
}
.section-heading {
  font-size: 15px;
  color: var(--gold-bright);
  letter-spacing: 0.24em;
  padding: 0 0 5px 0;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
}
.cast-section, .synopsis-section, .episode-status, .details-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 162, 75, 0.16);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 62px;
  text-align: center;
}
.cast-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(232, 200, 119, 0.4), transparent 55%),
    linear-gradient(150deg, var(--wood-light), var(--crimson-deep) 70%);
  border: 1px solid var(--gold-dim);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.75), 0 0 10px rgba(201, 162, 75, 0.14);
}
.cast-name {
  font-size: 11.5px;
  color: var(--text);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid rgba(201, 162, 75, 0.14);
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.62;
  color: #d3c7b1;
  margin-bottom: 7px;
  break-inside: avoid;
}
.synopsis-paragraph:first-child::first-letter {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 26px;
  line-height: 1;
  float: left;
  margin: 2px 5px 0 0;
  color: var(--gold-bright);
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.status-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px dotted rgba(201, 162, 75, 0.3);
  padding-bottom: 3px;
}
.status-key {
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.status-value {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 17px;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding-bottom: 3px;
  border-bottom: 1px dotted rgba(201, 162, 75, 0.22);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}
.detail-key::after { content: "·"; color: var(--gold-dim); margin-left: 4px; }
.detail-value {
  font-size: 12px;
  color: #e2d6bd;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  background: linear-gradient(180deg, rgba(22, 16, 12, 0.7), rgba(11, 7, 5, 0.5));
  border: 1px solid rgba(201, 162, 75, 0.16);
  border-left: 3px solid var(--crimson);
  border-radius: 3px;
  padding: 14px 16px;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  position: relative;
}
.timeline-item + .timeline-item::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 45px;
  width: 1px;
  height: 7px;
  background: rgba(201, 162, 75, 0.35);
}
.timeline-timecode {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--gold);
  align-self: start;
  padding: 5px 0 5px 0;
  text-align: right;
  border-right: 1px solid rgba(201, 162, 75, 0.3);
  padding-right: 12px;
  position: relative;
}
.timeline-timecode::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 2px rgba(201, 162, 75, 0.5);
}
.timeline-card {
  background: linear-gradient(90deg, rgba(58, 36, 23, 0.62), rgba(22, 16, 12, 0.35));
  border: 1px solid rgba(201, 162, 75, 0.18);
  border-radius: 2px;
  padding: 6px 11px;
  min-width: 0;
  transition: border-color 0.18s, background 0.18s;
}
.timeline-card:hover {
  border-color: var(--gold-dim);
  background: linear-gradient(90deg, rgba(110, 20, 23, 0.5), rgba(22, 16, 12, 0.4));
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: #ded2ba;
}
.episodes-section { }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(180deg, rgba(58, 36, 23, 0.5), rgba(11, 7, 5, 0.72));
  border: 1px solid rgba(201, 162, 75, 0.18);
  border-top: 2px solid var(--crimson);
  border-radius: 2px;
  padding: 8px 10px 9px;
  transition: border-color 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-color: var(--gold-dim);
  border-top-color: var(--gold);
  transform: translateY(-1px);
}
.episode-number {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.episode-title {
  font-size: 14px;
  color: var(--gold-bright);
  letter-spacing: 0.14em;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episode-duration {
  margin-top: auto;
  padding-top: 5px;
  font-size: 11px;
  color: #b08e63;
  letter-spacing: 0.08em;
  border-top: 1px dotted rgba(201, 162, 75, 0.22);
}
.recommendations-section { }
.recommendation-rail {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommendation-rail::-webkit-scrollbar { height: 6px; }
.recommendation-rail::-webkit-scrollbar-track { background: rgba(58, 36, 23, 0.4); }
.recommendation-rail::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 3px;
}
a.recommendation-card {
  flex: 0 0 168px;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(180deg, rgba(58, 36, 23, 0.55), rgba(11, 7, 5, 0.8));
  border: 1px solid rgba(201, 162, 75, 0.2);
  border-radius: 2px;
  padding: 6px;
  color: var(--text);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.18s, box-shadow 0.18s;
}
a.recommendation-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(201, 162, 75, 0.22);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  border: 1px solid rgba(201, 162, 75, 0.16);
  background: #050302;
}
a.recommendation-card [data-runtime="name"] {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.recommendation-card [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.recommendation-card:hover [data-runtime="name"] { color: #fff2cf; }
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.comment-card {
  background: linear-gradient(90deg, rgba(61, 11, 14, 0.42), rgba(22, 16, 12, 0.55));
  border: 1px solid rgba(201, 162, 75, 0.16);
  border-left: 2px solid var(--gold-dim);
  border-radius: 2px;
  padding: 7px 10px;
  transition: border-left-color 0.18s, background 0.18s;
}
.comment-card:hover {
  border-left-color: var(--gold-bright);
  background: linear-gradient(90deg, rgba(110, 20, 23, 0.5), rgba(22, 16, 12, 0.6));
}
.comment-nickname {
  display: inline-block;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 2px;
}
.comment-nickname::before { content: "「"; color: var(--crimson); }
.comment-nickname::after { content: "」"; color: var(--crimson); }
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: #ded2ba;
}
.site-footer {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 16, 12, 0.7), rgba(11, 7, 5, 0.95));
  padding: 16px 14px 22px;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-dim);
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.14);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  border-right: 1px solid rgba(201, 162, 75, 0.3);
  padding-right: 12px;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #9d8a6c;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 14px;
  }
.poster-frame { max-width: 168px; }
.detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 720px) {.movie-title { font-size: 20px; letter-spacing: 0.16em; }
.synopsis-body { columns: 1; }
.detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns { grid-template-columns: minmax(0, 1fr); }
.timeline-item { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; }
.timeline-timecode { font-size: 12.5px; padding-right: 10px; }
.timeline-item + .timeline-item::before { left: 38px; }
.timeline-timecode::after { right: -3px; }}
@media (max-width: 560px) {body { font-size: 12.5px; }
.page-main { padding: 10px 10px 26px; gap: 16px; }
.movie-overview { padding: 12px 11px 14px; }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-frame {
    max-width: 190px;
    margin: 0 auto;
  }
.movie-title { text-align: left; }
.detail-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.cast-item { width: 56px; }
.cast-avatar { width: 44px; height: 44px; }
a.recommendation-card { flex: 0 0 146px; width: 146px; }
.player-controls { gap: 5px; padding: 6px; }
.player-controls button { font-size: 10.5px; padding: 3px 6px; }
.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}
