*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --rust-dark: #1a100c;
  --rust-mid: #2b1c15;
  --iron: #4a423c;
  --iron-light: #6b625b;
  --acid: #c8f22d;
  --acid-dim: #9fc41f;
  --acid-glow: rgba(200, 242, 45, 0.35);
  --text-main: #d8d2c8;
  --text-dim: #8f887e;
  --line: rgba(200, 242, 45, 0.18);
  --gap: 8px;
  --pad: 10px;
}
html {
  background: #120b08;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 0%, rgba(74, 66, 60, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 100%, rgba(43, 28, 21, 0.6) 0%, transparent 50%),
    repeating-linear-gradient(135deg, #1a100c 0px, #1a100c 3px, #1c120e 3px, #1c120e 6px);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--acid); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 900; letter-spacing: 0.02em; }
.site-header {
  background: linear-gradient(180deg, #241610 0%, #1a100c 100%);
  border-bottom: 2px solid var(--acid);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(200, 242, 45, 0.08);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--acid);
  text-decoration: none;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px var(--acid-glow);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #e6ff70;
  text-decoration: none;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid var(--iron);
  border-radius: 2px;
  background: rgba(74, 66, 60, 0.2);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--acid);
  border-color: var(--acid);
  background: rgba(200, 242, 45, 0.08);
  text-decoration: none;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-heading {
  font-size: 14px;
  color: var(--acid);
  letter-spacing: 0.12em;
  padding-left: 9px;
  border-left: 3px solid var(--acid);
  margin-bottom: 7px;
  text-transform: uppercase;
  text-shadow: 0 0 8px var(--acid-glow);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: linear-gradient(160deg, rgba(43, 28, 21, 0.85) 0%, rgba(26, 16, 12, 0.95) 100%);
  border: 1px solid var(--iron);
  border-radius: 3px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--acid), transparent 70%);
  opacity: 0.7;
}
.poster-shell {
  position: relative;
  align-self: start;
  border: 1px solid var(--iron);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(200, 242, 45, 0.12);
  background: #0d0806;
}
.main-poster {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.08) contrast(1.06);
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(10, 6, 4, 0.55) 100%),
    linear-gradient(180deg, transparent 55%, rgba(12, 7, 5, 0.92) 100%);
}
.poster-tagline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 8px 10px 10px;
}
.tagline-text {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--acid);
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(200, 242, 45, 0.55), 0 2px 4px #000;
  border-left: 2px solid var(--acid);
  padding-left: 7px;
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: 24px;
  line-height: 1.2;
  color: #f2ede4;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 #000, 0 0 18px rgba(200, 242, 45, 0.2);
}
.player-shell {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #0d0806;
  border: 1px solid var(--iron);
  border-radius: 3px;
  padding: 6px;
}
.main-player {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  border-radius: 2px;
  border: 1px solid rgba(200, 242, 45, 0.15);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.ctrl-btn {
  background: linear-gradient(180deg, #3a2c23 0%, #251a13 100%);
  border: 1px solid var(--iron);
  color: var(--text-main);
  border-radius: 2px;
  padding: 3px 9px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.ctrl-btn:hover {
  color: var(--acid);
  border-color: var(--acid);
  box-shadow: 0 0 8px var(--acid-glow);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing, .ctrl-btn.is-muted {
  color: #120b08;
  background: var(--acid);
  border-color: var(--acid);
  font-weight: 700;
  box-shadow: 0 0 10px var(--acid-glow);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 80px;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: #2b1c15;
  border: 1px solid var(--iron);
  border-radius: 3px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 6px var(--acid-glow);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 6px var(--acid-glow);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 56px;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: #2b1c15;
  border: 1px solid var(--iron);
  border-radius: 3px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acid-dim);
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--acid-dim);
  cursor: pointer;
}
.ctrl-speed {
  background: #251a13;
  border: 1px solid var(--iron);
  color: var(--text-main);
  border-radius: 2px;
  padding: 3px 4px;
  font-size: 11px;
  cursor: pointer;
}
.ctrl-speed:hover {
  border-color: var(--acid);
  color: var(--acid);
}
.player-shell.is-theater {
  box-shadow: 0 0 26px var(--acid-glow);
  border-color: var(--acid);
}
body.lights-off {
  background: #050302;
}
body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommend-region {
  opacity: 0.4;
  transition: opacity 0.3s;
}
body.lights-off .player-shell {
  opacity: 1;
  box-shadow: 0 0 40px var(--acid-glow);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  background: rgba(200, 242, 45, 0.05);
  border: 1px solid var(--line);
  border-left: 3px solid var(--acid);
  border-radius: 2px;
}
.status-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.status-current {
  font-size: 15px;
  font-weight: 900;
  color: var(--acid);
  text-shadow: 0 0 8px var(--acid-glow);
}
.status-total {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: auto;
}
.cast-strip {
  padding-top: 2px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 56px;
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(200, 242, 45, 0.22), transparent 60%),
    linear-gradient(160deg, #4a423c 0%, #2b1c15 100%);
  border: 1px solid var(--iron);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(200, 242, 45, 0.1);
  position: relative;
  flex: 0 0 auto;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(200, 242, 45, 0.28);
}
.cast-item:hover .cast-avatar {
  border-color: var(--acid);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6), 0 0 10px var(--acid-glow);
}
.cast-name {
  font-size: 11px;
  color: var(--text-main);
  text-align: center;
  line-height: 1.25;
  word-break: break-all;
}
.synopsis-block {
  padding-top: 2px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: #bdb6ab;
  text-indent: 2em;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}
.synopsis-para:last-child { margin-bottom: 0; }
.details-block {
  padding-top: 2px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 3px 16px;
  align-content: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(107, 98, 91, 0.35);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.detail-key::after {
  content: "";
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--text-main);
  text-align: right;
  min-width: 0;
  overflow-wrap: break-word;
}
.timeline-section {
  background: linear-gradient(180deg, rgba(43, 28, 21, 0.6), rgba(26, 16, 12, 0.85));
  border: 1px solid var(--iron);
  border-radius: 3px;
  padding: 10px 12px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  position: relative;
  padding: 4px 0;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 13px;
  height: 3px;
  background: linear-gradient(90deg, var(--iron), var(--iron-light), var(--iron));
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.6);
}
.timeline-node {
  position: relative;
  padding: 0 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  align-items: flex-start;
}
.timeline-node::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle, #7a6f66 0%, #3d332c 100%);
  border: 2px solid var(--iron-light);
  box-shadow: 0 0 0 3px rgba(26, 16, 12, 0.9);
  margin-bottom: 4px;
  z-index: 1;
  flex: 0 0 auto;
}
.timeline-node-active::before {
  background: var(--acid);
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(26, 16, 12, 0.9), 0 0 14px var(--acid-glow);
}
.node-timecode {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--acid-dim);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.timeline-node-active .node-timecode {
  color: var(--acid);
  text-shadow: 0 0 8px var(--acid-glow);
}
.node-label {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}
.timeline-node-active .node-label {
  color: var(--text-main);
}
.episodes-section {
  background: linear-gradient(180deg, rgba(43, 28, 21, 0.5), rgba(26, 16, 12, 0.8));
  border: 1px solid var(--iron);
  border-radius: 3px;
  padding: 10px 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  background: rgba(26, 16, 12, 0.7);
  border: 1px solid var(--iron);
  border-radius: 2px;
  padding: 9px 10px 9px 12px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--iron-light);
}
.episode-card:hover {
  border-color: var(--acid-dim);
  background: rgba(43, 28, 21, 0.95);
}
.episode-card-active {
  border-color: var(--acid);
  background: rgba(200, 242, 45, 0.07);
  box-shadow: 0 0 14px rgba(200, 242, 45, 0.14);
}
.episode-card-active::before {
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid-glow);
}
.episode-number {
  font-size: 30px;
  font-weight: 900;
  line-height: 0.9;
  color: rgba(200, 242, 45, 0.22);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.episode-card-active .episode-number {
  color: var(--acid);
  text-shadow: 0 0 12px var(--acid-glow);
}
.episode-title {
  font-size: 13px;
  color: #ece6dc;
  line-height: 1.3;
  margin-top: -22px;
  padding-left: 42px;
  min-height: 22px;
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
  text-align: left;
  margin-top: 2px;
}
.episode-duration {
  font-size: 10px;
  color: var(--acid-dim);
  letter-spacing: 0.08em;
  margin-top: auto;
  padding-top: 3px;
  border-top: 1px dashed rgba(107, 98, 91, 0.4);
  align-self: flex-start;
  width: 100%;
}
.comments-section {
  background: linear-gradient(180deg, rgba(43, 28, 21, 0.5), rgba(26, 16, 12, 0.8));
  border: 1px solid var(--iron);
  border-radius: 3px;
  padding: 10px 12px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.comment-item {
  display: flex;
  gap: 7px;
  padding: 6px 8px;
  background: rgba(13, 8, 6, 0.55);
  border: 1px solid rgba(74, 66, 60, 0.7);
  border-radius: 2px;
  align-items: flex-start;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(200, 242, 45, 0.25), transparent 65%),
    linear-gradient(160deg, #4a423c, #251a13);
  border: 1px solid var(--iron);
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  color: var(--acid-dim);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: #b6afa4;
  overflow-wrap: break-word;
}
.recommend-region {
  background: linear-gradient(180deg, rgba(43, 28, 21, 0.5), rgba(26, 16, 12, 0.8));
  border: 1px solid var(--iron);
  border-radius: 3px;
  padding: 10px 12px;
}
.recommend-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.recommend-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: start;
  padding: 6px 0;
  border-bottom: 1px solid rgba(107, 98, 91, 0.3);
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.15s;
}
.recommend-item:first-child { padding-top: 0; }
.recommend-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.recommend-item:hover {
  background: rgba(200, 242, 45, 0.04);
  text-decoration: none;
}
[data-runtime="recommendation"] .recommend-pic, .recommend-pic {
  grid-row: 1 / span 2;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--iron);
  border-radius: 2px;
  background: #0d0806;
  filter: saturate(0.95);
}
.recommend-item:hover .recommend-pic {
  border-color: var(--acid-dim);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #ece6dc;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.recommend-item:hover .recommend-name {
  color: var(--acid);
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
  overflow-wrap: break-word;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--iron);
  border-top: 2px solid var(--acid);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(26, 16, 12, 0.9), rgba(13, 8, 6, 0.95));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--acid);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-bottom: 1px dashed rgba(200, 242, 45, 0.4);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e6ff70;
  border-bottom-color: #e6ff70;
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 7px;
  border-top: 1px dashed rgba(107, 98, 91, 0.4);
}
.friend-links-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  flex: 0 0 auto;
}
a.runtime-friend-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 11px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--acid);
  text-decoration: underline;
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  }
.movie-title { font-size: 21px; }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 0;
  }
.timeline-track::before { display: none; }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }}
@media (max-width: 640px) {.page-main { padding: 8px 8px 16px; gap: 10px; }
.header-inner { padding: 7px 9px; gap: 10px; }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
    gap: 10px;
  }
.poster-shell {
    max-width: 260px;
    margin: 0 auto;
    width: 100%;
  }
.movie-title { font-size: 19px; }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 0;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list { gap: 8px 10px; }
.cast-item { width: 50px; }
.cast-avatar { width: 40px; height: 40px; }
.recommend-item {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 8px;
  }
.site-footer { margin: 0 8px 14px; padding: 10px; }}
@media (max-width: 360px) {.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }
[data-runtime="recommendation"] .recommend-pic, .recommend-pic {
    grid-row: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 4px;
  }}

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}
