*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-deep: #10151c;
  --bg-panel: #161d27;
  --bg-raised: #1c2531;
  --bg-tint: #1a222d;
  --line: #2a3543;
  --line-soft: #212b37;
  --ink: #e8edf3;
  --ink-dim: #9aa7b6;
  --ink-faint: #6d7b8c;
  --gold: #b99a4e;
  --gold-bright: #d8b96a;
  --cold: #c9d6e4;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ol, ul { list-style: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 21, 28, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
a.runtime-category {
  color: var(--cold);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-tint);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: #202b38;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 34px;
}
.hero-shell {
  margin: 18px 0 14px;
}
.hero-silhouette {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, #141b24 0%, #0e141b 62%, #0b1015 100%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  isolation: isolate;
}
.hero-case-texture {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.28;
  background-image:
    repeating-linear-gradient(0deg, rgba(201, 214, 228, 0.09) 0 1px, transparent 1px 17px),
    repeating-linear-gradient(90deg, rgba(201, 214, 228, 0.06) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(185, 154, 78, 0.05) 0 2px, transparent 2px 46px);
  filter: blur(0.6px);
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 20%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 20%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
}
.hero-figure {
  position: absolute;
  bottom: 0;
  z-index: 2;
  width: 46%;
  height: 86%;
  background: linear-gradient(180deg, rgba(6, 9, 13, 0.86) 0%, #06090d 70%);
  filter: drop-shadow(0 0 26px rgba(0, 0, 0, 0.7));
}
.hero-figure-left {
  left: 4%;
  clip-path: polygon(50% 0%, 62% 9%, 60% 22%, 74% 30%, 82% 52%, 80% 100%, 20% 100%, 18% 50%, 28% 28%, 40% 21%, 38% 8%);
  background: linear-gradient(180deg, rgba(9, 13, 18, 0.9) 0%, #05080b 66%);
}
.hero-figure-right {
  right: 4%;
  clip-path: polygon(50% 0%, 62% 9%, 60% 22%, 74% 30%, 82% 52%, 80% 100%, 20% 100%, 18% 50%, 28% 28%, 40% 21%, 38% 8%);
  background: linear-gradient(180deg, rgba(11, 16, 22, 0.92) 0%, #060a0e 66%);
  transform: scaleX(-1);
}
.hero-tagline {
  position: relative;
  z-index: 3;
  align-self: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: var(--cold);
  padding: 6px 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.8);
  border-left: 1px solid rgba(185, 154, 78, 0.35);
  border-right: 1px solid rgba(185, 154, 78, 0.35);
}
.overview-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 16px 18px 18px;
  margin-bottom: 14px;
}
.overview-heading-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.movie-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.poster-wrapper {
  align-self: start;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.player-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #05080b;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.player-wrapper video {
  display: block;
  width: 100%;
  background: #05080b;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--bg-tint);
  border-top: 1px solid var(--line-soft);
}
.ctrl-btn {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--cold);
  font-size: 12px;
  padding: 4px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.ctrl-btn:hover { color: var(--gold-bright); border-color: var(--gold); }
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 100px;
  height: 4px;
  accent-color: var(--gold);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 0 76px;
  width: 76px;
  height: 4px;
  accent-color: var(--cold);
  cursor: pointer;
}
.ctrl-speed {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--cold);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 4px;
  cursor: pointer;
}
.player-wrapper.theater-mode {
  background: #020406;
  box-shadow: 0 0 0 1px var(--gold);
}
body.lights-off {
  background: #05080b;
}
body.lights-off .overview-panel, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommend-region {
  opacity: 0.42;
  transition: opacity 0.3s;
}
.player-wrapper .play .ctrl-play, .ctrl-play.play { color: var(--gold-bright); }
.ctrl-btn.mute, .ctrl-btn.pip, .ctrl-btn.fullscreen, .ctrl-btn.theater, .ctrl-btn.light { color: var(--cold); }
.cast-section { min-width: 0; }
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding-left: 9px;
  border-left: 2px solid var(--gold);
  margin-bottom: 10px;
  line-height: 1.2;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 8px 4px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  min-width: 0;
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 50% 34%, #3b4a5d 0 26%, transparent 27%),
    radial-gradient(circle at 50% 88%, #2b3644 0 44%, transparent 45%),
    linear-gradient(180deg, #232e3c, #1a2330);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 2px rgba(16, 21, 28, 0.6);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.cast-role {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
.synopsis-section { min-width: 0; }
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 11px;
  border-left: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-dim);
  text-align: justify;
}
.synopsis-para:first-child { color: var(--ink); }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 8px 11px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.status-value {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-bright);
}
.status-current {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cold);
  margin-left: auto;
  letter-spacing: 0.02em;
}
.details-section { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 10px 5px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: none;
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}
.timeline-section {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 14px 18px 16px;
  margin-bottom: 14px;
}
.timeline-track {
  position: relative;
  overflow-x: auto;
  padding: 26px 2px 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 6%, var(--line) 94%, transparent 100%);
}
.timeline-list {
  position: relative;
  display: flex;
  gap: 14px;
  min-width: max-content;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 20px;
}
.node-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 2px solid var(--line);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.node-timecode {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cold);
  letter-spacing: 0.03em;
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.timeline-node-active .node-dot {
  width: 15px;
  height: 15px;
  top: -2px;
  background: var(--gold-bright);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 154, 78, 0.18), 0 0 14px rgba(216, 185, 106, 0.55);
}
.timeline-node-active .node-timecode {
  color: var(--gold-bright);
  font-weight: 700;
}
.timeline-node-active .node-label {
  color: var(--ink);
  font-weight: 600;
}
.episodes-section {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 14px 18px 16px;
  margin-bottom: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.episode-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 9px;
  row-gap: 2px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.episode-number {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.episode-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.episode-duration {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.episode-summary {
  grid-column: 1 / -1;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.24s ease, margin 0.24s ease;
}
.episode-item:hover .episode-summary, .episode-item:focus-within .episode-summary {
  max-height: 8em;
  opacity: 1;
  margin-top: 3px;
}
.episode-item:hover {
  background: var(--bg-tint);
}
.episode-item:hover .episode-number { color: var(--gold-bright); }
.comments-section {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 14px 18px 16px;
  margin-bottom: 14px;
}
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
}
.comment-item:first-child { border-top: none; }
.comment-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-dim);
}
.comment-nickname {
  align-self: flex-end;
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.comment-nickname::before {
  content: "— ";
  color: var(--ink-faint);
}
.recommend-region {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 14px 18px 16px;
  margin-bottom: 14px;
}
.recommend-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cold);
  text-align: left;
  padding-left: 9px;
  border-left: 2px solid var(--gold);
  margin-bottom: 10px;
  line-height: 1.2;
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.recommend-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.recommend-region-1 .recommend-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recommend-region-2 .recommend-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-region-3 .recommend-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 7px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.recommend-item:hover {
  border-color: var(--gold);
  background: #1f2a37;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1px;
  background: #0b1015;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.recommend-item:hover [data-runtime="name"] { color: var(--gold-bright); }
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #0c1117;
  padding: 18px 20px 26px;
}
.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--cold);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
  transition: color 0.18s;
}
a.runtime-friend-link:hover { color: var(--gold); }
@media (min-width: 760px) {.overview-body {
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: start;
  }
.cast-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
  }
.comment-item:nth-child(2) { border-top: none; }}
@media (min-width: 1024px) {body { font-size: 14.5px; }
.hero-silhouette { min-height: 380px; }
.overview-body { grid-template-columns: 240px minmax(0, 1fr); }
.movie-title { font-size: 24px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.comment-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; }
.comment-item:nth-child(3) { border-top: none; }}
@media (max-width: 759px) {.page-main { padding: 0 13px 26px; }
.header-inner { padding: 9px 13px; gap: 10px; }
.hero-silhouette { min-height: 260px; }
.hero-tagline { font-size: 16px; letter-spacing: 0.24em; }
.hero-figure { width: 54%; }
.overview-panel, .timeline-section, .episodes-section, .comments-section, .recommend-region { padding: 12px 13px 14px; }
.poster-wrapper { max-width: 220px; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary { max-height: none; opacity: 1; margin-top: 3px; }
.status-current { margin-left: 0; width: 100%; }
.recommend-region-1 .recommend-columns, .recommend-region-2 .recommend-columns, .recommend-region-3 .recommend-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-controls { gap: 4px; }
.ctrl-btn { font-size: 11px; padding: 4px 7px; }
.ctrl-volume { flex: 0 0 60px; width: 60px; }}
@media (max-width: 420px) {.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 6px; }
.recommend-region-1 .recommend-columns, .recommend-region-2 .recommend-columns, .recommend-region-3 .recommend-columns { grid-template-columns: minmax(0, 1fr); }
.hero-tagline { font-size: 14px; }}

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}
