*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0f1419;
  color: #c8cdd4;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Songti SC", "SimSun", serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, dt, figure, ol, ul, li, nav, header, footer, section, article, main {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img {
  display: block;
  max-width: 100%;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
video { display: block; }
:root {
  --ink: #0b0e12;
  --ink-2: #121820;
  --slate: #1a222d;
  --slate-2: #202a37;
  --line: #2c3745;
  --line-soft: #232c38;
  --bronze: #a8722f;
  --bronze-2: #c98f43;
  --bronze-dim: #6d4a1f;
  --ember: #d98c3a;
  --gold: #e0b45c;
  --text: #c8cdd4;
  --text-dim: #8b949f;
  --text-faint: #616b78;
  --ember-glow: rgba(201, 143, 67, 0.16);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(11,14,18,0.96), rgba(11,14,18,0.82));
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--gold);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 0 10px rgba(224, 180, 92, 0.28);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--ember);
  text-decoration: none;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(32, 42, 55, 0.5);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--gold);
  border-color: var(--bronze-dim);
  background: rgba(109, 74, 31, 0.22);
  text-decoration: none;
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px;
  background: linear-gradient(160deg, #131a24 0%, #0d1219 60%, #0a0d12 100%);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70%;
  height: 130%;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(217, 140, 58, 0.30) 0%, rgba(168, 114, 47, 0.12) 34%, rgba(15, 20, 25, 0) 68%),
    radial-gradient(ellipse at 42% 78%, rgba(201, 143, 67, 0.14) 0%, rgba(15, 20, 25, 0) 60%);
  filter: blur(2px);
}
.hero-silhouette {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 42% at 26% 30%, rgba(8, 10, 14, 0.95) 0%, rgba(8, 10, 14, 0.55) 52%, rgba(8, 10, 14, 0) 78%),
    linear-gradient(90deg, rgba(8, 10, 14, 0.9) 0%, rgba(8, 10, 14, 0.35) 55%, rgba(8, 10, 14, 0) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
}
.poster-column {
  min-width: 0;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--bronze-dim);
  border-radius: 2px;
  padding: 3px;
  background: linear-gradient(180deg, rgba(109, 74, 31, 0.28), rgba(11, 14, 18, 0.6));
  box-shadow: 0 0 0 1px rgba(11, 14, 18, 0.8), 0 6px 26px rgba(0, 0, 0, 0.6);
  max-width: 100%;
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-size: clamp(26px, 4.4vw, 52px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #e6e2d8;
  text-shadow:
    1px 0 0 rgba(217, 140, 58, 0.35),
    -1px 0 0 rgba(11, 14, 18, 0.9),
    0 0 26px rgba(217, 140, 58, 0.22);
  position: relative;
}
.movie-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--ember), rgba(168, 114, 47, 0));
}
.movie-tagline {
  color: var(--bronze-2);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  border-left: 2px solid var(--bronze-dim);
  padding-left: 9px;
}
.movie-seo {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
  max-width: 74ch;
}
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.meta-chip {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--gold);
  border: 1px solid var(--bronze-dim);
  background: rgba(109, 74, 31, 0.16);
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-primary, .btn-ghost {
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-primary {
  color: #14100a;
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  border: 1px solid var(--bronze-2);
  font-weight: 700;
  box-shadow: 0 0 16px rgba(224, 180, 92, 0.22);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #f0c874, #b87c33);
  box-shadow: 0 0 22px rgba(224, 180, 92, 0.4);
}
.btn-ghost {
  color: var(--text);
  background: rgba(32, 42, 55, 0.5);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  color: var(--gold);
  border-color: var(--bronze-dim);
  background: rgba(109, 74, 31, 0.22);
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #05070a;
  overflow: hidden;
}
.player-shell video {
  display: block;
  background: #05070a;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(11, 14, 18, 0.9), rgba(18, 24, 32, 0.98));
  border-top: 1px solid var(--line-soft);
}
.ctrl {
  font-size: 11.5px;
  color: var(--text-dim);
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(32, 42, 55, 0.45);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl:hover {
  color: var(--gold);
  border-color: var(--bronze-dim);
  background: rgba(109, 74, 31, 0.22);
}
.ctrl.is-active {
  color: #14100a;
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  border-color: var(--bronze-2);
}
.page-main.is-theater .player-shell {
  box-shadow: 0 0 0 1px var(--bronze-dim), 0 0 40px rgba(217, 140, 58, 0.28);
}
.page-main.is-lights-off {
  background: #05070a;
}
.page-main.is-lights-off .hero-backdrop {
  opacity: 0.28;
}
.panel-heading {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.panel-heading::before {
  content: "";
  width: 4px;
  height: 15px;
  background: linear-gradient(180deg, var(--ember), var(--bronze-dim));
  flex: 0 0 auto;
}
.panel-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line), rgba(44, 55, 69, 0));
}
.detail-panel, .synopsis-panel, .status-panel, .cast-panel {
  position: relative;
  z-index: 1;
  background: rgba(16, 21, 28, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 12px 14px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 14px;
}
.detail-item {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-key {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.detail-value {
  font-size: 12.5px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 8px;
  background: rgba(32, 42, 55, 0.4);
  min-width: 0;
  overflow-wrap: anywhere;
}
.synopsis-flow {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
  margin: 0 0 8px;
  break-inside: avoid;
}
.synopsis-para:first-child::first-letter {
  font-size: 2.1em;
  line-height: 1;
  color: var(--ember);
  float: left;
  margin: 2px 6px 0 0;
}
.status-line {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.status-num {
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  padding: 0 2px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 0;
}
.cast-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--bronze-dim);
  background:
    radial-gradient(circle at 38% 30%, rgba(201, 143, 67, 0.35) 0%, rgba(32, 42, 55, 0.9) 58%, rgba(11, 14, 18, 0.95) 100%);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(168, 114, 47, 0.12);
  flex: 0 0 auto;
}
.cast-name {
  font-size: 12px;
  color: var(--text);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.cast-role {
  font-size: 10.5px;
  color: var(--text-faint);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.timeline-panel {
  background: rgba(16, 21, 28, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 12px 14px;
}
.timeline-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-color: var(--bronze-dim) var(--ink-2);
  scrollbar-width: thin;
}
.timeline-scroller::-webkit-scrollbar { height: 7px; }
.timeline-scroller::-webkit-scrollbar-track { background: var(--ink-2); }
.timeline-scroller::-webkit-scrollbar-thumb {
  background: var(--bronze-dim);
  border-radius: 4px;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  min-width: max-content;
  padding: 6px 2px 2px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 21px;
  height: 1px;
  background: linear-gradient(90deg, rgba(109, 74, 31, 0), var(--bronze-dim) 6%, var(--bronze-dim) 94%, rgba(109, 74, 31, 0));
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 158px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s;
}
.timeline-node:hover { transform: translateY(-2px); }
.node-snitch {
  width: 16px;
  height: 16px;
  position: relative;
  flex: 0 0 auto;
  background: radial-gradient(circle at 50% 50%, #f6dda0 0%, var(--gold) 42%, var(--bronze-dim) 100%);
  border-radius: 50% 50% 46% 46%;
  box-shadow: 0 0 10px rgba(224, 180, 92, 0.5), 0 0 2px rgba(0, 0, 0, 0.8);
  transform: rotate(-8deg);
}
.node-snitch::before, .node-snitch::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 9px;
  height: 6px;
  border-radius: 60% 10% 60% 10%;
  background: linear-gradient(90deg, rgba(224, 180, 92, 0.85), rgba(109, 74, 31, 0.2));
}
.node-snitch::before { left: -8px; transform: rotate(-24deg); }
.node-snitch::after {
  right: -8px;
  transform: rotate(24deg) scaleX(-1);
}
.node-time {
  font-size: 11px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--bronze-2);
  white-space: nowrap;
}
.node-label {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.timeline-node.is-active .node-snitch {
  box-shadow: 0 0 18px rgba(224, 180, 92, 0.9), 0 0 4px rgba(0, 0, 0, 0.9);
}
.timeline-node.is-active .node-label { color: var(--gold); }
.episodes-panel {
  background: rgba(16, 21, 28, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 12px 14px;
}
.episode-wide-card {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 9px;
  background: linear-gradient(90deg, rgba(32, 42, 55, 0.55), rgba(18, 24, 32, 0.75));
  border: 1px solid var(--line);
  border-radius: 2px;
}
.episode-thumb {
  border: 1px solid var(--bronze-dim);
  border-radius: 2px;
  overflow: hidden;
  background: #05070a;
}
.episode-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.episode-title {
  font-size: 14.5px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-dim);
}
.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 1px;
}
.comments-panel {
  background: rgba(16, 21, 28, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 12px 14px;
}
.comments-masonry {
  columns: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 12px;
  padding: 9px 11px;
  background: linear-gradient(180deg, rgba(26, 34, 45, 0.72), rgba(18, 24, 32, 0.72));
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(168, 114, 47, 0.08), 0 0 14px rgba(168, 114, 47, 0.08);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.comment-card:hover {
  border-color: var(--bronze-dim);
  box-shadow: 0 0 0 1px rgba(201, 143, 67, 0.22), 0 0 20px rgba(201, 143, 67, 0.18);
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.comment-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: 0 0 auto;
  border: 1px solid var(--bronze-dim);
  background: radial-gradient(circle at 36% 30%, rgba(201, 143, 67, 0.4), rgba(32, 42, 55, 0.9) 70%);
}
.comment-nickname {
  font-size: 12px;
  color: var(--bronze-2);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}
.rec-region {
  background: rgba(16, 21, 28, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 12px 14px;
}
.rec-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: linear-gradient(180deg, rgba(26, 34, 45, 0.72), rgba(15, 20, 26, 0.85));
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}
a.rec-card:hover {
  border-color: var(--bronze-dim);
  box-shadow: 0 0 0 1px rgba(201, 143, 67, 0.2), 0 0 18px rgba(201, 143, 67, 0.16);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 104px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #05070a;
}
.rec-name {
  font-size: 12.5px;
  color: var(--gold);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.rec-blurb {
  font-size: 11.5px;
  color: var(--text-faint);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(11, 14, 18, 0.7), rgba(8, 10, 14, 0.98));
  border-top: 1px solid var(--line-soft);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.disclaimer {
  max-width: 900px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  border-bottom-color: var(--bronze-dim);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  max-width: 1100px;
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  border: 1px solid var(--line-soft);
  padding: 1px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--bronze-2);
  text-decoration: underline;
}
@media (max-width: 1080px) {.cast-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }}
@media (max-width: 920px) {.hero-content { grid-template-columns: minmax(0, 1fr); }
.poster-column { max-width: 280px; }
.synopsis-flow { columns: 1; column-rule: none; }
.comment-card { margin-bottom: 10px; }}
@media (max-width: 760px) {.page-main { padding: 12px 12px 26px; gap: 14px; }
.hero-shell { padding: 14px 12px; gap: 12px; }
.detail-grid { grid-template-columns: minmax(0, 1fr); }
.cast-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.comments-masonry { columns: 2; }
.episode-wide-card { grid-template-columns: minmax(0, 1fr); }
.episode-thumb img { max-height: 190px; }
.movie-title { font-size: clamp(24px, 8vw, 38px); }}
@media (max-width: 560px) {.header-inner { gap: 8px; padding: 7px 12px; }
.page-main { padding: 10px 10px 22px; gap: 12px; }
.hero-shell, .detail-panel, .synopsis-panel, .status-panel, .cast-panel, .timeline-panel, .episodes-panel, .comments-panel, .rec-region { padding: 10px 11px; }
.detail-panel, .synopsis-panel, .status-panel, .cast-panel { background: rgba(16, 21, 28, 0.85); }
.cast-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 6px; }
.cast-avatar { width: 50px; height: 50px; }
.comments-masonry { columns: 1; }
.rec-strip { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
[data-runtime="recommendation"] img { height: 88px; }
.timeline-node { width: 138px; }
.poster-column { max-width: 220px; }
.player-controls { gap: 3px; padding: 5px; }
.ctrl { font-size: 11px; padding: 2px 7px; }
.hero-actions { gap: 6px; }
.btn-primary, .btn-ghost { padding: 6px 13px; font-size: 12.5px; }}
@media (max-width: 380px) {.cast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-strip { grid-template-columns: minmax(0, 1fr); }
.poster-column { max-width: 180px; }}

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}
