*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #d8d2c8;
  --ink-soft: #a89f93;
  --ink-faint: #7d7568;
  --bg: #17151a;
  --bg-deep: #100f13;
  --panel: #1e1b21;
  --panel-2: #232027;
  --line: #3a333b;
  --line-soft: #2b262e;
  --red: #8e2b28;
  --red-bright: #b8433c;
  --red-deep: #5c1c1c;
  --blue: #4a5f74;
  --blue-dim: #6b7d90;
  --wood: #6b4a34;
  --wood-dark: #3f2c20;
  --gold: #b99a5b;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  --font: "Songti SC", "STSong", "SimSun", "Noto Serif SC", "Source Han Serif SC",
    "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}
body {
  background-color: var(--bg);
  background-image: radial-gradient(
      ellipse at 50% -10%,
      rgba(142, 43, 40, 0.22),
      transparent 62%
    ),
    linear-gradient(180deg, #1b181d 0%, #141318 45%, #100f13 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
body.lights-off {
  background-image: none;
  background-color: #000;
}
body.lights-off .site-header, body.lights-off .hero-panel, body.lights-off .timeline-panel, body.lights-off .episodes-panel, body.lights-off .comments-panel, body.lights-off .recommend-region, body.lights-off .site-footer {
  filter: brightness(0.45) saturate(0.7);
  transition: filter 0.4s ease;
}
body.lights-off .watch-panel {
  filter: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(23, 21, 26, 0.97), rgba(23, 21, 26, 0.86));
  border-bottom: 1px solid var(--red-deep);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  color: var(--ink);
  text-decoration: none;
}
.site-brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-left: 10px;
  border-left: 3px solid var(--red-bright);
  white-space: nowrap;
}
.site-brand:hover {
  color: var(--gold);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(58, 51, 59, 0.28);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #f0e6d8;
  border-color: var(--red-bright);
  background: rgba(142, 43, 40, 0.28);
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 28px;
}
.page-main > section {
  margin-bottom: 22px;
}
.page-main > section:last-child {
  margin-bottom: 0;
}
.block-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e6dccd;
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 3px solid var(--red);
  line-height: 1.2;
}
.hero-panel {
  background: linear-gradient(160deg, #221d22 0%, #1a171c 55%, #16141a 100%);
  border: 1px solid var(--line);
  border-top: 2px solid var(--wood);
  border-radius: 3px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  align-items: start;
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 260px;
  background: var(--bg-deep);
  border: 1px solid var(--wood-dark);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.25) 62%,
    rgba(10, 8, 10, 0.82) 100%
  );
}
.hero-poster-wrap img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero-poster-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-align: center;
  color: #e3d3b6;
  padding: 5px 4px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  writing-mode: horizontal-tb;
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.03em;
  color: #f2e9db;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--red-bright);
  letter-spacing: 0.06em;
  padding: 4px 0 4px 10px;
  border-left: 2px solid var(--red-deep);
  background: linear-gradient(90deg, rgba(142, 43, 40, 0.16), transparent 78%);
}
.hero-roles {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  padding: 6px 8px;
  background: rgba(58, 51, 59, 0.24);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--blue);
  border-radius: 2px;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #e9dfd0;
  letter-spacing: 0.05em;
}
.cast-role-chip {
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink-faint);
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(23, 21, 26, 0.6);
  white-space: normal;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  text-indent: 2em;
  margin-bottom: 6px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(74, 95, 116, 0.16);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.status-label {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.status-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 12px;
}
.detail-pair {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding-bottom: 3px;
  border-bottom: 1px dotted rgba(125, 117, 104, 0.28);
}
.detail-key {
  flex: none;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.detail-key::after {
  content: "·";
  margin-left: 3px;
  color: var(--red-deep);
}
.detail-val {
  font-size: 12px;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.watch-panel {
  background: linear-gradient(180deg, #1c191f, #141218);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.player-shell {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--wood-dark);
  border-radius: 2px;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-shell.is-theater {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 1px rgba(184, 67, 60, 0.6), 0 8px 30px rgba(0, 0, 0, 0.8);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.ctrl-btn {
  appearance: none;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  color: var(--ink-soft);
  background: rgba(58, 51, 59, 0.35);
  border: 1px solid var(--line);
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: #f2e9db;
  border-color: var(--red-bright);
  background: rgba(142, 43, 40, 0.3);
}
.ctrl-btn.is-active {
  color: #f2e9db;
  border-color: var(--gold);
  background: rgba(185, 154, 91, 0.22);
}
.ctrl-btn.is-playing {
  color: #f2e9db;
  border-color: var(--red-bright);
  background: rgba(184, 67, 60, 0.38);
}
.ctrl-btn.is-muted {
  color: var(--red-bright);
  border-color: var(--red-deep);
}
.ctrl-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  margin: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red-deep), var(--line));
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid #000;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #000;
  border-radius: 50%;
  background: var(--gold);
}
.timeline-panel {
  background: linear-gradient(180deg, #1d1a20, #171419);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wood);
  border-radius: 3px;
  padding: 12px 12px 14px;
  box-shadow: var(--shadow);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 6px;
  position: relative;
  align-items: start;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px 9px;
  background: rgba(35, 32, 39, 0.72);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--blue);
  border-radius: 2px;
  min-height: 100%;
}
.node-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.node-tone-a {
  border-top-color: var(--red-bright);
}
.node-tone-a .node-timecode {
  color: #d98b84;
}
.node-tone-b {
  border-top-color: var(--blue-dim);
}
.node-tone-b .node-timecode {
  color: #9fb3c4;
}
.node-tone-c {
  border-top-color: var(--gold);
}
.node-tone-c .node-timecode {
  color: var(--gold);
}
.episodes-panel {
  background: linear-gradient(180deg, #1c191f, #161419);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px;
  background: rgba(58, 51, 59, 0.2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover, .episode-card:focus-within {
  border-color: var(--red);
  background: rgba(142, 43, 40, 0.16);
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--red-bright);
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #e9dfd0;
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.28s ease, margin 0.28s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 9em;
  opacity: 1;
  margin-top: 2px;
}
.episode-duration {
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 2px;
}
.comments-panel {
  background: linear-gradient(180deg, #1d1a20, #161419);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.comment-waterfall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(58, 51, 59, 0.22);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  min-width: 0;
}
.comment-col-a {
  grid-column: 1;
}
.comment-col-a:nth-of-type(odd) {
  transform: translateY(0);
}
.comment-col-a:nth-of-type(3) {
  transform: translateY(10px);
}
.comment-col-a:nth-of-type(5) {
  transform: translateY(4px);
}
.comment-col-b {
  grid-column: 2;
}
.comment-col-b:nth-of-type(even) {
  transform: translateY(14px);
}
.comment-col-b:nth-of-type(4) {
  transform: translateY(6px);
}
.comment-col-b:nth-of-type(6) {
  transform: translateY(16px);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue-dim);
  letter-spacing: 0.05em;
}
.comment-col-b .comment-nickname {
  color: #c08a84;
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.recommend-region {
  background: linear-gradient(180deg, #1c191f, #161419);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red-deep);
  border-radius: 3px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.recommend-list {
  display: grid;
  gap: 6px;
  align-items: start;
}
.region-cols-1 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.region-cols-2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.region-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 7px;
  background: rgba(35, 32, 39, 0.65);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: var(--red-bright);
  background: rgba(142, 43, 40, 0.18);
  transform: translateY(-2px);
}
.recommend-media {
  flex: 0 0 62px;
  width: 62px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--wood-dark);
  border-radius: 2px;
  background: #000;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.recommend-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}
.recommend-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #e9dfd0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
  overflow-wrap: anywhere;
}
.site-footer {
  background: linear-gradient(180deg, #15131a, #0e0d11);
  border-top: 1px solid var(--red-deep);
  margin-top: 10px;
}
.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"] {
  color: var(--gold);
}
a[data-contract="footer-home"]:hover {
  border-bottom-color: var(--gold);
}
a[data-contract="footer-sitemap"] {
  color: var(--ink-soft);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px dotted var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red-bright);
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--blue-dim);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #5f594f;
  padding-top: 8px;
  border-top: 1px dotted var(--line-soft);
}
@media (max-width: 1024px) {.hero-shell {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
.region-cols-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-poster-wrap {
    max-width: 200px;
  }
.movie-title {
    font-size: 21px;
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
.cast-strip {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.region-cols-2, .region-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.header-shell {
    padding: 7px 12px;
  }
.page-main {
    padding: 10px 12px 22px;
  }
.page-main > section {
    margin-bottom: 16px;
  }
.hero-shell {
    padding: 12px;
  }
.movie-title {
    font-size: 19px;
  }
.movie-tagline {
    font-size: 12px;
  }
.details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
  }
.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-waterfall {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
.comment-col-a, .comment-col-b {
    grid-column: 1;
    transform: none;
  }
.comment-col-a:nth-of-type(3), .comment-col-a:nth-of-type(5), .comment-col-b:nth-of-type(4), .comment-col-b:nth-of-type(6) {
    transform: none;
  }
.region-cols-1, .region-cols-2, .region-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-media {
    flex: 0 0 52px;
    width: 52px;
  }
.ctrl-range {
    flex: 1 1 100%;
  }}
@media (max-width: 420px) {.hero-poster-wrap {
    max-width: 168px;
  }
.cast-strip {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.region-cols-1, .region-cols-2, .region-cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.details-grid {
    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}
