*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #05060c;
  --ink-2: #0a0d18;
  --panel: #0d111f;
  --panel-2: #111729;
  --line: #222a44;
  --line-soft: #1a2138;
  --red: #c8202f;
  --red-bright: #ff2f43;
  --red-dim: #7d1420;
  --blue: #4a6fa5;
  --blue-soft: #7d95bd;
  --text: #c8d2e4;
  --text-dim: #7b87a3;
  --mono: "SFMono-Regular", "Consolas", "Menlo", "Courier New", monospace;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--blue-soft); text-decoration: none; }
ul, ol, dl { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 6, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eef2fa;
  text-decoration: none;
  text-shadow: 1px 0 0 rgba(255, 47, 67, 0.5), -1px 0 0 rgba(74, 111, 165, 0.6);
}
a[data-contract="site-name"]:hover { color: var(--red-bright); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blue-soft);
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #fff;
  background: var(--red-dim);
  border-color: var(--red-bright);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hero-section {
  position: relative;
  isolation: isolate;
  margin: 0 -16px;
  padding: 26px 16px 34px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(200, 32, 47, 0.16), transparent 60%),
    linear-gradient(180deg, #070912 0%, #05060c 100%);
}
.hero-noise {
  position: absolute;
  inset: -30%;
  z-index: -2;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(74, 111, 165, 0.09) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(200, 32, 47, 0.05) 0 2px, transparent 2px 9px);
  filter: blur(0.4px);
  animation: hero-jitter 1.1s steps(2, end) infinite;
  pointer-events: none;
}
@keyframes hero-jitter {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-1%, 1%, 0); }
  100% { transform: translate3d(1%, -1%, 0); }
}
.hero-signal-waves {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    radial-gradient(60% 60% at 50% 45%, rgba(255, 47, 67, 0.22), transparent 70%),
    repeating-radial-gradient(circle at 50% 45%, rgba(125, 149, 189, 0.16) 0 1px, transparent 1px 26px);
  animation: wave-drift 5.5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes wave-drift {
  from { transform: scale(1); opacity: 0.34; }
  to { transform: scale(1.06); opacity: 0.6; }
}
.hero-player-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(200, 32, 47, 0.18), 0 22px 48px rgba(0, 0, 0, 0.7);
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(13, 17, 31, 0.96), rgba(5, 6, 12, 0.98));
  border-top: 1px solid var(--line);
}
.player-controls button {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 5px 9px;
  color: var(--text-dim);
  border: 1px solid var(--line-soft);
  background: var(--panel);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-controls button:hover {
  color: #fff;
  border-color: var(--red-bright);
  background: var(--red-dim);
}
.player-controls button.is-active, .player-controls button.click {
  color: #fff;
  border-color: var(--red-bright);
  background: var(--red-dim);
  box-shadow: inset 0 0 0 1px rgba(255, 47, 67, 0.35);
}
.btn-play {
  color: #fff !important;
  background: var(--red) !important;
  border-color: var(--red-bright) !important;
  font-weight: 700;
}
.btn-play.play { background: var(--red) !important; }
.btn-play.pause { background: #2a3350 !important; border-color: var(--blue) !important; }
.hero-section.theater-mode {
  margin: 0 -16px;
  padding-left: 0;
  padding-right: 0;
}
.hero-section.theater-mode .hero-player-shell {
  max-width: 100%;
  border-left: none;
  border-right: none;
}
body.lights-dim .hero-noise { opacity: 0.22; }
body.lights-dim .hero-signal-waves { opacity: 0.2; }
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(74, 111, 165, 0.07);
}
.overview-poster-wrap {
  align-self: start;
  width: 100%;
  border: 1px solid var(--line);
  background: #000;
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.overview-title {
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: #f2f6ff;
  text-shadow: 1px 0 0 rgba(255, 47, 67, 0.45), -1px 0 0 rgba(74, 111, 165, 0.5);
}
.overview-tagline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--red-bright);
  border-left: 3px solid var(--red);
  padding-left: 8px;
}
.overview-seo {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  border-top: 1px dashed var(--line-soft);
  padding-top: 10px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--blue-soft);
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
}
.detail-block, .cast-block, .synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.detail-heading, .cast-heading, .synopsis-heading {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #dfe6f4;
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}
.detail-heading::before, .cast-heading::before, .synopsis-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 5px;
  height: 5px;
  background: var(--red-bright);
  box-shadow: 0 0 6px var(--red-bright);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 4px 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--text);
  text-align: right;
}
.cast-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--red-dim) transparent;
}
.cast-track::-webkit-scrollbar { height: 5px; }
.cast-track::-webkit-scrollbar-thumb { background: var(--red-dim); }
.cast-card {
  position: relative;
  flex: 0 0 auto;
  min-width: 108px;
  padding: 12px 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cast-name {
  position: relative;
  z-index: 2;
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #eaf0fb;
}
.cast-ghost {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 1;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--red-bright);
  opacity: 0.55;
  pointer-events: none;
  animation: ghost-shift 2.6s steps(3, end) infinite;
}
@keyframes ghost-shift {
  0% { transform: translate(0, 0); clip-path: inset(0 0 60% 0); }
  33% { transform: translate(2px, -1px); clip-path: inset(45% 0 20% 0); }
  66% { transform: translate(-2px, 1px); clip-path: inset(70% 0 0 0); }
  100% { transform: translate(0, 0); clip-path: inset(0 0 60% 0); }
}
.cast-card:hover { border-color: var(--red-bright); }
.cast-card:hover .cast-ghost { color: var(--blue-soft); opacity: 0.8; }
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
  border-left: 2px solid var(--line);
  padding-left: 10px;
}
.timeline-section {
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline-heading, .episodes-heading, .comments-heading {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #eef2fa;
  margin-bottom: 14px;
  position: relative;
  padding-left: 14px;
}
.timeline-heading::before, .episodes-heading::before, .comments-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 6px;
  height: 6px;
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red-bright);
}
.timeline-track {
  position: relative;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 0 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--red-dim) transparent;
}
.timeline-track::-webkit-scrollbar { height: 5px; }
.timeline-track::-webkit-scrollbar-thumb { background: var(--red-dim); }
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(125, 149, 189, 0.5) 0 6px, transparent 6px 12px);
  pointer-events: none;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.node-dot {
  position: absolute;
  top: 6px;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--red-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(200, 32, 47, 0.18), 0 0 10px var(--red-bright);
  animation: dot-blink 1.6s steps(2, end) infinite;
}
.timeline-node:nth-child(even) .node-dot { animation-delay: 0.5s; }
.timeline-node:nth-child(3n) .node-dot { animation-delay: 0.9s; }
@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.node-timecode {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red-bright);
}
.node-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
  border-left: 1px solid var(--line);
  padding-left: 8px;
}
.episodes-section { padding-top: 4px; }
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 6px;
}
.episode-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--red-dim);
  transition: border-color 0.15s, background 0.15s;
}
.episode-item:hover {
  background: var(--panel-2);
  border-left-color: var(--red-bright);
}
.episode-number {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--red-bright);
  min-width: 24px;
}
.episode-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #e8eefb;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
}
.episode-duration {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--blue-soft);
  white-space: nowrap;
}
.comments-section { padding-top: 4px; }
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(5, 6, 12, 0.6));
}
.comment-nickname {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red-bright);
  padding-bottom: 5px;
  border-bottom: 1px dashed var(--line-soft);
}
.comment-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
}
.rec-region {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.rec-heading {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: #eef2fa;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rec-heading::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red-bright);
  flex: 0 0 auto;
}
.rec-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.rec-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.rec-card img, [data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  filter: saturate(0.8) contrast(1.05);
}
.rec-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #e8eefb;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rec-card:hover {
  border-color: var(--red-bright);
  background: var(--panel-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(200, 32, 47, 0.28);
}
.rec-card:hover .rec-name { color: #fff; }
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding: 20px 16px 28px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1240px;
  margin: 0 auto 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--blue-soft);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  background: var(--panel);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-color: var(--red-bright);
  background: var(--red-dim);
}
.footer-disclaimer {
  max-width: 1240px;
  margin: 0 auto 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
  border-left: 2px solid var(--red-dim);
  padding-left: 10px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--red-bright);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--panel-2);
}
@media (max-width: 900px) {.movie-overview { grid-template-columns: minmax(0, 160px) minmax(0, 1fr); }
.comments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 700px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
  }
.overview-poster-wrap { max-width: 220px; }
.overview-title { font-size: 19px; }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.comments-grid { grid-template-columns: minmax(0, 1fr); }
.rec-track { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.detail-list { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 480px) {body { font-size: 13.5px; }
.page-main { padding: 0 12px 30px; gap: 22px; }
.hero-section { margin: 0 -12px; padding: 18px 12px 24px; }
.player-controls { gap: 4px; padding: 6px; }
.player-controls button { font-size: 10px; padding: 4px 7px; }
.overview-poster-wrap { max-width: 170px; }
.overview-title { font-size: 17px; }
.rec-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-node { width: 148px; }
.footer-nav, .footer-disclaimer, .friend-links { padding-left: 0; padding-right: 0; }}
@media (min-width: 1100px) {.rec-region-1 .rec-track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rec-region-2 .rec-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-region-3 .rec-track { grid-template-columns: repeat(6, minmax(0, 1fr)); }}
.rec-region-2 { border-top-style: dashed; }
.rec-region-3 { border-top-style: dotted; }

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}
