*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:root {
  --ink: #0d1420;
  --ink-2: #16202e;
  --panel: #131c28;
  --panel-2: #18222f;
  --line: #26333f;
  --line-soft: #1d2833;
  --steel: #7f95a8;
  --steel-dim: #5d7285;
  --text: #c9d4dd;
  --text-dim: #8b9aa8;
  --gold: #c9a227;
  --gold-dim: #8a6f1c;
  --gold-soft: #e3c96b;
  --radius: 4px;
  --radius-lg: 8px;
  --gap: 12px;
  --pad: 14px;
  --maxw: 1180px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  background-image: linear-gradient(180deg, #0f1723 0%, #0d1420 40%, #0a1119 100%);
}
body.theater-mode { background: #05080c; }
body.lights-dim { filter: brightness(0.78); }
body.lights-dim .player-frame { box-shadow: 0 0 0 1px var(--gold-dim), 0 0 32px rgba(201, 162, 39, 0.25); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 17, 25, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  text-decoration: none;
  padding-left: 12px;
  position: relative;
}
a[data-contract="site-name"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
  border-radius: 1px;
}
a[data-contract="site-name"]:hover { color: #f2e2a6; }
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  color: var(--steel);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(127, 149, 168, 0.06);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--gold-soft);
  border-color: var(--gold-dim);
  background: rgba(201, 162, 39, 0.08);
}
.page-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--pad) 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--steel);
  text-transform: uppercase;
  padding-left: 10px;
  position: relative;
  margin-bottom: 8px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
}
.hero-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #16212e 0%, #101822 55%, #0c131b 100%);
  padding: 20px var(--pad);
  isolation: isolate;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-silhouette-pair {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6%;
}
.silhouette {
  display: block;
  width: 34%;
  max-width: 260px;
  height: 74%;
  background: linear-gradient(180deg, rgba(20, 30, 42, 0.15), rgba(9, 14, 20, 0.95));
  border-radius: 46% 46% 8px 8px / 30% 30% 6px 6px;
  filter: blur(0.4px);
}
.silhouette-left {
  transform: translateY(12%) rotate(-3deg);
  background: linear-gradient(180deg, rgba(28, 40, 54, 0.2), rgba(8, 12, 18, 0.96));
}
.silhouette-right {
  transform: translateY(16%) rotate(3deg) scaleX(-1);
  background: linear-gradient(180deg, rgba(40, 34, 22, 0.18), rgba(10, 13, 18, 0.96));
}
.hero-glass-shards { position: absolute; inset: 0; }
.shard {
  position: absolute;
  display: block;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.22), rgba(127, 149, 168, 0.05) 70%);
  border: 1px solid rgba(201, 162, 39, 0.22);
  opacity: 0.55;
}
.shard-a {
  top: 8%;
  left: 12%;
  width: 84px;
  height: 110px;
  clip-path: polygon(0 0, 100% 18%, 66% 100%, 8% 74%);
  transform: rotate(-8deg);
}
.shard-b {
  top: 4%;
  right: 16%;
  width: 62px;
  height: 88px;
  clip-path: polygon(30% 0, 100% 26%, 76% 100%, 0 62%);
  transform: rotate(11deg);
  background: linear-gradient(200deg, rgba(127, 149, 168, 0.2), rgba(201, 162, 39, 0.05) 70%);
  border-color: rgba(127, 149, 168, 0.25);
}
.shard-c {
  bottom: 26%;
  left: 46%;
  width: 52px;
  height: 70px;
  clip-path: polygon(50% 0, 100% 44%, 62% 100%, 0 52%);
  transform: rotate(-16deg);
  opacity: 0.4;
}
.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 4px;
  opacity: 0.7;
}
.tower {
  display: block;
  flex: 1 1 0;
  background: linear-gradient(180deg, rgba(38, 51, 63, 0.9), rgba(13, 20, 32, 0.98));
  border-top: 1px solid rgba(127, 149, 168, 0.22);
}
.tower-a { height: 46%; }
.tower-b { height: 72%; }
.tower-c { height: 100%; border-top-color: rgba(201, 162, 39, 0.35); }
.tower-d { height: 58%; }
.tower-e { height: 84%; }
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.poster-column { min-width: 0; }
.poster-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a1119;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(201, 162, 39, 0.12), transparent 46%);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-info { min-width: 0; }
.movie-title {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: #eef3f7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 300;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  max-width: 62ch;
}
.movie-seo-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 72ch;
}
.episode-status { margin-top: 14px; }
.status-heading { margin-bottom: 6px; }
.status-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  font-size: 12px;
  color: var(--text);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(24, 34, 47, 0.75);
  white-space: nowrap;
}
.status-chip:nth-child(4) {
  color: var(--gold-soft);
  border-color: var(--gold-dim);
  background: rgba(201, 162, 39, 0.08);
}
.cast-block { margin-top: 16px; }
.cast-heading { margin-bottom: 6px; }
.cast-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.cast-track::-webkit-scrollbar { height: 6px; }
.cast-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.cast-track::-webkit-scrollbar-track { background: transparent; }
.cast-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold-dim);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(24, 34, 47, 0.95), rgba(16, 24, 34, 0.95));
  align-self: flex-start;
}
.cast-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 4px;
  background:
    radial-gradient(circle at 50% 34%, rgba(201, 162, 39, 0.55) 0 26%, transparent 27%),
    linear-gradient(180deg, rgba(127, 149, 168, 0.4), rgba(19, 28, 40, 0.9));
  border: 1px solid var(--line);
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #e6edf3;
}
.cast-role {
  font-size: 11.5px;
  color: var(--gold-soft);
}
.cast-relation {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.synopsis-block { margin-top: 16px; }
.synopsis-heading { margin-bottom: 6px; }
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-dim);
}
.details-block { margin-top: 16px; }
.details-heading { margin-bottom: 6px; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2px 16px;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(38, 51, 63, 0.7);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--steel-dim);
  letter-spacing: 0.06em;
}
.detail-value {
  font-size: 12.5px;
  color: var(--text);
  font-weight: 400;
  min-width: 0;
}
.player-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #111a24, #0d151d);
  padding: var(--pad);
}
.player-heading { margin-bottom: 8px; }
.player-frame {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #05080c;
}
.player-frame video {
  display: block;
  width: 100%;
}
.player-controls {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.control-btn {
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 10px;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.control-btn:hover {
  color: var(--gold-soft);
  border-color: var(--gold-dim);
  background: rgba(201, 162, 39, 0.08);
}
.control-btn.is-active {
  color: #0d1420;
  background: var(--gold);
  border-color: var(--gold);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  outline: none;
  flex: 1 1 120px;
  min-width: 90px;
  max-width: 260px;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}
.control-select {
  font-size: 12px;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 6px;
}
.episodes-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 26, 36, 0.7);
  padding: var(--pad);
}
.episodes-heading { margin-bottom: 8px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(24, 34, 47, 0.9), rgba(15, 23, 32, 0.9));
  position: relative;
  overflow: hidden;
}
.episode-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-dim), transparent);
}
.episode-index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #e6edf3;
  line-height: 1.35;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-dim);
}
.episode-duration {
  margin-top: 3px;
  align-self: flex-start;
  font-size: 11px;
  color: var(--steel);
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.timeline-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 26, 36, 0.7);
  padding: var(--pad);
}
.timeline-heading { margin-bottom: 10px; }
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  align-items: stretch;
  padding-top: 12px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), var(--line), var(--gold-dim));
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.16);
}
.node-timecode {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--steel-dim);
}
.node-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #e6edf3;
  line-height: 1.35;
}
.node-stage-a { border-top: 2px solid #3b5b7a; }
.node-stage-b { border-top: 2px solid #4a6b8a; }
.node-stage-c { border-top: 2px solid #6b7f4a; }
.node-stage-d { border-top: 2px solid #8a6f1c; }
.node-stage-e { border-top: 2px solid #a8842a; }
.node-stage-f { border-top: 2px solid #c9a227; }
.node-stage-f { background: linear-gradient(180deg, rgba(201, 162, 39, 0.12), rgba(24, 34, 47, 0.95)); }
.comments-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 26, 36, 0.7);
  padding: var(--pad);
}
.comments-heading { margin-bottom: 8px; }
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.comment-card {
  border-left: 2px solid var(--line);
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(120deg, rgba(24, 34, 47, 0.85), rgba(15, 23, 32, 0.85));
  padding: 7px 10px;
  min-width: 0;
}
.comment-card:nth-child(odd) { border-left-color: var(--gold-dim); }
.comment-nickname {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.03em;
}
.comment-text {
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
.recommend-region {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 26, 36, 0.7);
  padding: var(--pad);
}
.recommend-region .section-heading { margin-bottom: 8px; }
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item { min-width: 0; }
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(24, 34, 47, 0.9), rgba(15, 23, 32, 0.92));
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #0a1119;
  border: 1px solid var(--line-soft);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 13px;
  font-weight: 700;
  color: #e6edf3;
  line-height: 1.35;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0e1721, #090f17);
  margin-top: 12px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--pad) 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--steel-dim);
  max-width: 88ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--steel);
  text-decoration: none;
  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-soft);
  border-bottom-color: var(--gold-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--steel-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s;
}
a.runtime-friend-link:hover { color: var(--gold-soft); text-decoration: underline; }
@media (max-width: 900px) {.hero-content {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 16px;
  }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.comments-columns { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 720px) {.page-main { gap: 20px; padding: 12px 12px 22px; }
.hero-shell { padding: 16px 12px; }
.hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-column { max-width: 200px; }
.movie-title { font-size: 24px; }
.episode-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.recommend-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.timeline-track { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
.cast-card { width: 150px; }}
@media (max-width: 480px) {.header-inner { padding: 7px 10px; }
a[data-contract="site-name"] { font-size: 15px; }
.hero-shell { padding: 14px 10px; }
.poster-column { max-width: 100%; }
.poster-frame { max-width: 190px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track::before { display: none; }
.timeline-node::before { display: none; }
.hero-skyline { height: 60px; }
.control-range { flex: 1 1 100%; max-width: none; }
.player-shell, .episodes-shell, .timeline-shell, .comments-shell, .recommend-region { padding: 11px; }}

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}
