*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-deep: #0e1620;
  --bg-deeper: #0a1119;
  --bg-panel: #141e2a;
  --bg-panel-2: #18242f;
  --line: #22303d;
  --line-soft: #1b2833;
  --ink: #d6dfe6;
  --ink-dim: #8b9aa7;
  --ink-faint: #63717e;
  --red: #8c1c22;
  --red-bright: #c02a2f;
  --red-glow: #e0484d;
  --cool: #a8c6da;
  --warm: #d8a24a;
  --radius: 3px;
  --gap: 8px;
}
html {
  background: var(--bg-deep);
  color-scheme: dark;
}
body {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, .section-heading, .movie-title, .site-brand, .cast-name, .episode-number, .episode-title, .timeline-timecode, .status-value, .detail-key, .comment-nickname, .player-btn, .runtime-category, .friend-links-label, .interlude-text, .final-text {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input[type="range"] { cursor: pointer; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 17, 25, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding: 6px 10px;
  flex-wrap: wrap;
  border-left: 3px solid var(--red);
}
a[data-contract="site-name"] {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
}
a[data-contract="site-name"]:hover { color: var(--red-glow); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-dim);
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-category:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red-bright);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--gap) 10px 24px;
}
.movie-overview {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: var(--gap);
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}
.poster-frame {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(140, 28, 34, 0.25), 0 12px 30px rgba(0, 0, 0, 0.55);
  background: var(--bg-deeper);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(168, 198, 218, 0.16) 0%, rgba(14, 22, 32, 0) 38%, rgba(140, 28, 34, 0.22) 100%);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.movie-title {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #eef4f8;
  border-left: 4px solid var(--red-bright);
  padding-left: 8px;
}
.movie-tagline {
  font-size: 12px;
  color: var(--red-glow);
  letter-spacing: 0.06em;
  padding-left: 12px;
  border-left: 1px solid var(--red);
}
.movie-seo {
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-dim);
  text-align: justify;
}
.player-shell {
  width: 100%;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #05090d;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  background: linear-gradient(180deg, #121b24, #0b131b);
  border-top: 1px solid var(--line);
}
.player-btn {
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-dim);
  white-space: nowrap;
  transition: color .12s, border-color .12s, background .12s;
}
.player-btn:hover {
  color: #fff;
  border-color: var(--red-bright);
  background: rgba(140, 28, 34, 0.4);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 60px;
  height: 4px;
  border-radius: 2px;
  background: #22303d;
  outline: none;
}
.player-range[data-player-action="volume"] { flex: 0 1 70px; }
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-bright);
  border: 1px solid var(--red-glow);
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid var(--red-glow);
  border-radius: 50%;
  background: var(--red-bright);
}
.player-shell.is-theater {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  border: none;
  border-radius: 0;
  background: #000;
}
.player-shell.is-theater video { max-height: 82vh; }
.player-shell.is-lights-off video { filter: brightness(0.35) contrast(1.15); }
.section-heading {
  font-size: 14px;
  color: #e8eef3;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  padding-left: 9px;
  border-left: 3px solid var(--red);
  line-height: 1.3;
}
.episode-status, .cast-section, .synopsis-section, .details-section {
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}
.status-item {
  flex: 1 1 90px;
  min-width: 0;
  background: var(--bg-panel-2);
  border-left: 2px solid var(--red);
  padding: 5px 8px;
  border-radius: 2px;
}
.status-key {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  margin-bottom: 1px;
}
.status-value {
  font-size: 17px;
  color: var(--red-glow);
  line-height: 1.2;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  padding: 7px 5px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  min-width: 0;
}
.cast-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 35% 30%, rgba(224, 72, 77, 0.85), rgba(140, 28, 34, 0.15) 62%),
    linear-gradient(150deg, #2b3a49, #101a24);
  border: 1px solid var(--red);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
  flex: 0 0 auto;
}
.cast-name {
  font-size: 12px;
  color: #dfe7ed;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cast-role {
  font-size: 11px;
  color: var(--ink-faint);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-dim);
  text-align: justify;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 10px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dotted var(--line);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #cbd6de;
  text-align: right;
  overflow-wrap: break-word;
}
.timeline-section {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px 12px;
  margin-bottom: var(--gap);
}
.timeline-track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 14px 2px 6px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #101a24;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: #101a24; }
.timeline-track::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 19px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red) 6%, var(--line) 50%, var(--red) 94%, transparent);
  pointer-events: none;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-dot {
  position: absolute;
  top: 13px;
  left: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red-bright);
  border: 2px solid var(--bg-panel);
  box-shadow: 0 0 0 1px var(--red-bright), 0 0 10px rgba(224, 72, 77, 0.6);
  z-index: 1;
  transition: transform .18s, box-shadow .18s;
}
.timeline-timecode {
  font-size: 12px;
  color: var(--red-glow);
  letter-spacing: 0.06em;
  padding-left: 24px;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-faint);
  border-left: 1px solid var(--line);
  padding-left: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .25s ease, color .25s;
}
.timeline-node:hover .timeline-label {
  max-height: 220px;
  opacity: 1;
  color: var(--ink-dim);
}
.timeline-node:hover .timeline-dot {
  transform: scale(1.35);
  box-shadow: 0 0 0 1px var(--red-glow), 0 0 16px rgba(224, 72, 77, 0.95);
}
.interlude-band, .final-band {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: var(--gap);
  background: linear-gradient(100deg, #5c1116 0%, var(--red) 42%, #3d0d11 100%);
  border-top: 1px solid #a02328;
  border-bottom: 1px solid #a02328;
}
.interlude-text, .final-text {
  font-size: 16px;
  line-height: 1.45;
  color: #f4e6e6;
  letter-spacing: 0.1em;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
.final-band {
  background: linear-gradient(100deg, #cfd8dd 0%, #eef2f4 50%, #b9c4cb 100%);
  border-color: #eef2f4;
  margin-top: var(--gap);
}
.final-text {
  color: #5c1116;
  text-shadow: none;
}
.episodes-section {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px 10px;
  margin-bottom: var(--gap);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 5px;
  align-items: start;
}
.episode-card {
  background: var(--bg-panel-2);
  border: 1px solid var(--line-soft);
  border-left: 2px solid #2c3d4c;
  border-radius: 2px;
  min-width: 0;
  transition: border-color .15s, background .15s;
}
.episode-card:hover {
  border-left-color: var(--red-bright);
  background: #1b2837;
}
.episode-details { min-width: 0; }
.episode-summary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 7px;
  cursor: pointer;
  list-style: none;
  min-width: 0;
}
.episode-summary::-webkit-details-marker { display: none; }
.episode-number {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--red-glow);
  letter-spacing: 0.04em;
}
.episode-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #d2dce4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-text {
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-faint);
  padding: 0 7px 4px 7px;
  border-top: 1px solid var(--line-soft);
  margin-top: 2px;
  padding-top: 5px;
}
.episode-duration {
  display: block;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  padding: 0 7px 6px;
}
.comments-section {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px 10px;
  margin-bottom: var(--gap);
}
.comment-columns {
  column-count: 2;
  column-gap: 6px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  background: var(--bg-panel-2);
  border-left: 2px solid var(--red);
  border-radius: 2px;
  padding: 6px 8px;
  margin-bottom: 6px;
}
.comment-nickname {
  display: block;
  font-size: 12px;
  color: #e3eaef;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-faint);
  text-align: justify;
}
.recommend-region {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px 10px;
  margin-bottom: var(--gap);
}
.recommend-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #101a24;
}
.recommend-strip::-webkit-scrollbar { height: 5px; }
.recommend-strip::-webkit-scrollbar-track { background: #101a24; }
.recommend-strip::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
a.recommend-card {
  flex: 0 0 auto;
  width: 132px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 5px;
  color: var(--ink-dim);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
a.recommend-card:hover {
  border-color: var(--red-bright);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--bg-deeper);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #dbe4ea;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 10px 26px;
  border-top: 2px solid var(--red);
  background: var(--bg-deeper);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--red);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-glow);
  text-decoration-color: var(--red-glow);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.friend-links-label {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.14em;
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--ink-faint);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--cool);
  border-bottom-color: var(--red-bright);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #4e5b66;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.player-shell.play { border-color: var(--red-bright); }
.player-shell.pause .player-btn { color: var(--ink); }
.player-shell.mute .player-btn[data-player-action="mute"] {
  color: #fff;
  background: var(--red);
  border-color: var(--red-bright);
}
.player-shell.pip .player-btn[data-player-action="pip"], .player-shell.fullscreen .player-btn[data-player-action="fullscreen"], .player-shell.theater .player-btn[data-player-action="theater"], .player-shell.light .player-btn[data-player-action="light"] {
  color: #fff;
  background: var(--red);
  border-color: var(--red-bright);
}
.player-shell.speed .player-btn[data-player-action="speed"] {
  color: var(--red-glow);
  border-color: var(--red);
}
.player-shell.volume .player-range[data-player-action="volume"] { background: #33506a; }
.player-shell.progress .player-range[data-player-action="progress"] { background: #33506a; }
.player-shell.timeupdate .player-range[data-player-action="progress"] { background: #2a3d4d; }
.player-shell.input .player-range { outline: 1px solid var(--red-bright); outline-offset: 2px; }
.player-shell.click .player-bar { background: #16222d; }
.player-shell .player-btn:active { transform: translateY(1px); }
@media (min-width: 560px) {.overview-hero {
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: start;
  }
.poster-frame { max-width: none; }
.synopsis-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns { column-count: 2; }}
@media (min-width: 720px) {.page-main { padding: 10px 16px 30px; }
.header-inner { padding: 7px 16px; }
.movie-title { font-size: 26px; }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-columns { column-count: 2; }
.details-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cast-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }}
@media (min-width: 960px) {.page-main { padding: 12px 20px 34px; }
.overview-hero { grid-template-columns: 230px minmax(0, 1fr); gap: 12px; }
.movie-title { font-size: 28px; }
.synopsis-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns { column-count: 2; }
.details-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
a.recommend-card { width: 150px; }}
@media (min-width: 1180px) {.page-main { padding: 14px 24px 40px; }
.details-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.comment-columns { column-count: 2; }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.recommend-card { width: 158px; }}
@media (max-width: 559px) {.comment-columns { column-count: 1; }
.cast-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.movie-title { font-size: 20px; }
.section-heading { font-size: 13px; }
.player-range[data-player-action="volume"] { flex: 1 1 60px; }
a.recommend-card { width: 118px; }
.status-item { flex: 1 1 calc(50% - 8px); }}
@media (max-width: 360px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.cast-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: minmax(0, 1fr); }
a.recommend-card { width: 104px; }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }}

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}
