*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-deep: #10151c;
  --bg-cold: #161d27;
  --bg-panel: #1a222e;
  --bg-raised: #202a38;
  --line: #2a3646;
  --candle: #e8b866;
  --candle-dim: #b98f4a;
  --candle-glow: rgba(232, 184, 102, 0.18);
  --blood: #7c1f28;
  --blood-bright: #a32732;
  --text: #c9d2de;
  --text-dim: #8794a5;
  --text-faint: #5d6a7c;
  --serif: "Songti SC", "SimSun", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", Arial, sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 55% at 50% -8%, rgba(232, 184, 102, 0.07), transparent 62%),
    radial-gradient(ellipse 64% 48% at 82% 108%, rgba(124, 31, 40, 0.14), transparent 66%),
    linear-gradient(180deg, #0d1218 0%, #161d27 42%, #12181f 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.02em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 18, 24, 0.86);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(232, 184, 102, 0.06), 0 10px 24px -18px #000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--candle);
  text-decoration: none;
  text-shadow: 0 0 14px var(--candle-glow);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #f5d494; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(42, 54, 70, 0.5), rgba(22, 29, 39, 0.5));
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--candle);
  border-color: var(--candle-dim);
  background: linear-gradient(180deg, rgba(232, 184, 102, 0.14), rgba(124, 31, 40, 0.12));
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-title {
  font-size: 19px;
  color: #e6ecf4;
  padding-left: 11px;
  border-left: 3px solid var(--candle);
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-shadow: 0 0 16px var(--candle-glow);
}
.section-subtitle {
  font-size: 14.5px;
  letter-spacing: 0.1em;
  color: var(--candle-dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  margin-bottom: 9px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr) minmax(0, 1.18fr);
  grid-template-areas:
    "poster panel player"
    "poster panel player";
  gap: 16px;
  align-items: start;
  padding-top: 20px;
  margin-bottom: 4px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20px -30px auto -30px;
  height: 78%;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(232, 184, 102, 0.05), transparent 70%),
    repeating-linear-gradient(
      90deg,
      rgba(93, 106, 124, 0.09) 0px,
      rgba(93, 106, 124, 0.09) 2px,
      transparent 2px,
      transparent 15px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(93, 106, 124, 0.07) 0px,
      rgba(93, 106, 124, 0.07) 2px,
      transparent 2px,
      transparent 15px
    );
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 12%, transparent 76%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 12%, transparent 76%);
  pointer-events: none;
}
.hero-poster {
  grid-area: poster;
  align-self: start;
  position: relative;
  border: 1px solid var(--line);
  background: #0c1016;
  box-shadow: 0 20px 46px -26px #000, 0 0 0 1px rgba(232, 184, 102, 0.05) inset;
}
.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(232, 184, 102, 0.12) 0%, transparent 34%, rgba(12, 16, 22, 0.5) 100%);
}
.hero-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.94);
}
.hero-panel {
  grid-area: panel;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: linear-gradient(170deg, rgba(32, 42, 56, 0.72), rgba(22, 29, 39, 0.9));
  border: 1px solid var(--line);
  border-top: 2px solid rgba(232, 184, 102, 0.32);
  padding: 15px 16px 17px;
  box-shadow: 0 18px 40px -30px #000;
}
.hero-titles { display: flex; flex-direction: column; gap: 4px; }
.movie-title {
  font-size: 27px;
  line-height: 1.16;
  color: #f2f6fb;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--candle-dim);
  letter-spacing: 0.1em;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  text-align: justify;
  border-left: 1px solid rgba(124, 31, 40, 0.6);
  padding-left: 10px;
}
.movie-episode-status {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 13px;
  color: var(--text-dim);
}
.status-label { letter-spacing: 0.08em; color: var(--text-faint); }
.status-current {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--candle);
  text-shadow: 0 0 14px var(--candle-glow);
}
.status-sep { color: var(--text-faint); }
.status-total { color: var(--text-dim); letter-spacing: 0.05em; }
.movie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.btn-play, .btn-theater, .btn-light {
  font-size: 12.5px;
  letter-spacing: 0.09em;
  padding: 6px 15px;
  border-radius: 2px;
  border: 1px solid var(--line);
  color: var(--text);
  background: linear-gradient(180deg, rgba(42, 54, 70, 0.7), rgba(22, 29, 39, 0.7));
  transition: color 0.18s, border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.btn-play {
  background: linear-gradient(180deg, var(--blood-bright), var(--blood));
  border-color: #b8363f;
  color: #fbeef0;
  box-shadow: 0 0 18px -6px rgba(163, 39, 50, 0.7);
}
.btn-play:hover {
  background: linear-gradient(180deg, #bc2f3a, #8a222c);
  box-shadow: 0 0 24px -4px rgba(163, 39, 50, 0.9);
}
.btn-theater:hover, .btn-light:hover {
  color: var(--candle);
  border-color: var(--candle-dim);
  box-shadow: 0 0 16px -6px var(--candle-glow);
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 0 12px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(93, 106, 124, 0.22);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}
.detail-value {
  font-size: 12.5px;
  color: var(--text);
  overflow-wrap: anywhere;
}
.synopsis { display: flex; flex-direction: column; gap: 7px; }
.synopsis-para {
  font-size: 13px;
  line-height: 1.74;
  color: var(--text-dim);
  text-align: justify;
  text-indent: 2em;
}
.cast { display: flex; flex-direction: column; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 9px;
  align-items: start;
}
.cast-member {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "avatar name"
    "note note";
  column-gap: 9px;
  row-gap: 4px;
  align-items: start;
  padding: 8px 9px;
  background: linear-gradient(180deg, rgba(32, 42, 56, 0.55), rgba(22, 29, 39, 0.75));
  border: 1px solid var(--line);
  border-left: 2px solid rgba(124, 31, 40, 0.55);
}
.cast-avatar {
  grid-area: avatar;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c1016;
  border-radius: 50%;
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.14) brightness(0.9);
}
.cast-name {
  grid-area: name;
  align-self: center;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #e8eef6;
}
.cast-note {
  grid-area: note;
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--text-faint);
}
.hero-player {
  grid-area: player;
  align-self: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #090d13;
  box-shadow: 0 22px 50px -30px #000, 0 0 34px -18px var(--candle-glow);
}
.hero-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #06090d;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(32, 42, 56, 0.7), rgba(13, 18, 24, 0.9));
}
.ctrl-btn {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.ctrl-btn:hover {
  color: var(--candle);
  border-color: var(--candle-dim);
  background: rgba(232, 184, 102, 0.1);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--candle-dim), rgba(93, 106, 124, 0.35));
  border-radius: 3px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--candle);
  box-shadow: 0 0 10px var(--candle-glow);
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--candle);
}
.ctrl-volume {
  flex: 0 1 66px;
  min-width: 52px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(93, 106, 124, 0.42);
  border-radius: 3px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--text-dim);
}
.ctrl-speed {
  font-size: 11.5px;
  padding: 4px 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #161d27;
  color: var(--text-dim);
  cursor: pointer;
}
.player.is-theater {
  outline: 1px solid var(--candle-dim);
  box-shadow: 0 0 40px -10px var(--candle-glow);
}
.player.is-light { filter: brightness(1.22) contrast(1.04); }
.player.is-muted { opacity: 0.82; }
.timeline-section { display: flex; flex-direction: column; gap: 9px; }
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 3px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(42, 54, 70, 0.35); }
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--candle-dim);
  border-radius: 3px;
}
.timeline-card {
  position: relative;
  flex: 0 0 218px;
  scroll-snap-align: start;
  padding: 11px 12px 16px;
  background: linear-gradient(180deg, rgba(32, 42, 56, 0.68), rgba(20, 26, 35, 0.92));
  border: 1px solid var(--line);
  border-top: 1px solid rgba(232, 184, 102, 0.2);
  box-shadow: inset 0 1px 0 rgba(232, 184, 102, 0.05);
}
.timeline-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--candle) 0%, var(--candle-dim) 26%, rgba(124, 31, 40, 0.6) 62%, transparent 100%);
  opacity: 0.85;
}
.timeline-timecode {
  display: inline-block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--candle);
  margin-bottom: 5px;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
}
.episodes-section { display: flex; flex-direction: column; gap: 9px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px 10px;
  background: linear-gradient(180deg, rgba(30, 39, 52, 0.6), rgba(19, 25, 33, 0.86));
  border: 1px solid var(--line);
  border-left: 3px solid rgba(93, 106, 124, 0.3);
  transition: border-color 0.18s, background 0.18s;
}
.episode-card:hover { border-left-color: var(--candle-dim); }
.episode-card.is-current {
  border-color: rgba(124, 31, 40, 0.9);
  border-left-color: var(--blood-bright);
  background: linear-gradient(180deg, rgba(60, 25, 30, 0.5), rgba(22, 29, 39, 0.9));
  box-shadow: 0 0 22px -10px rgba(163, 39, 50, 0.85), inset 0 0 0 1px rgba(163, 39, 50, 0.22);
}
.episode-number {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--candle-dim);
}
.episode-card.is-current .episode-number { color: #e59aa2; }
.episode-title {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #e8eef6;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-faint);
}
.episode-duration {
  align-self: flex-start;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 6px;
}
.comments-section { display: flex; flex-direction: column; gap: 9px; }
.comment-waterfall {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 11px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.comment-column-wide { padding-top: 14px; }
.comment-card {
  background: linear-gradient(180deg, rgba(30, 39, 52, 0.62), rgba(18, 24, 32, 0.88));
  border: 1px solid var(--line);
  border-top: 1px solid rgba(232, 184, 102, 0.16);
  padding: 9px 11px 10px;
  position: relative;
}
.comment-column-narrow .comment-card { border-right: 2px solid rgba(93, 106, 124, 0.28); }
.comment-column-wide .comment-card {
  border-left: 2px solid rgba(124, 31, 40, 0.5);
  background: linear-gradient(180deg, rgba(34, 40, 52, 0.7), rgba(18, 24, 32, 0.9));
}
.comment-nickname {
  display: inline-block;
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--candle-dim);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--text-dim);
  text-align: justify;
}
.recommend-region { display: flex; flex-direction: column; gap: 9px; }
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 9px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 8px 9px;
  background: linear-gradient(180deg, rgba(30, 39, 52, 0.6), rgba(18, 24, 32, 0.9));
  border: 1px solid var(--line);
  border-top: 2px solid rgba(232, 184, 102, 0.28);
  color: var(--text);
  text-decoration: none;
  align-self: start;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.recommend-item:hover {
  border-color: var(--candle-dim);
  background: linear-gradient(180deg, rgba(44, 52, 66, 0.7), rgba(22, 29, 39, 0.94));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0a0e13;
  filter: saturate(0.7) contrast(1.05) brightness(0.92);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: #e8eef6;
  margin-top: 2px;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.56;
  color: var(--text-faint);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 18, 24, 0.6), #0b0f15);
  padding: 18px 16px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-align: center;
}
.footer-disclaimer {
  max-width: 720px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-faint);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--candle);
  border-bottom-color: var(--candle-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 11px;
  max-width: 900px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  border-right: 1px solid var(--line);
  padding-right: 11px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #6f7c8e;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s;
}
a.runtime-friend-link:hover { color: var(--candle-dim); }
@media (max-width: 1024px) {.hero {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    grid-template-areas:
      "poster panel"
      "player player";
  }
.hero-player { margin-top: 2px; }}
@media (max-width: 760px) {body { font-size: 14px; }
.page-main { gap: 18px; padding: 0 12px 26px; }
.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "panel"
      "player";
    gap: 12px;
    padding-top: 14px;
  }
.hero-poster { max-width: 260px; }
.movie-title { font-size: 23px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-waterfall {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comment-column-wide { padding-top: 0; }
.recommend-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.timeline-card { flex: 0 0 190px; }}
@media (max-width: 460px) {.header-inner { padding: 8px 12px; }
.movie-title { font-size: 21px; }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.timeline-card { flex: 0 0 168px; }
.player-controls { gap: 5px; }
.ctrl-btn { padding: 3px 7px; font-size: 11px; }
.friend-links-label { border-right: none; 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}
