*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, p, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --abyss: #06111f;
  --deep: #0a1c30;
  --deep-2: #0e2438;
  --panel: #0c1e31;
  --panel-2: #102538;
  --rust: #9c3b2a;
  --rust-bright: #c0512f;
  --rust-dim: #6e2a1e;
  --ink: #d7e2ec;
  --ink-dim: #8la3b8;
  --ink-faint: #6a8299;
  --line: #1d3549;
  --line-soft: #162c3f;
  --beam: #cfe3f2;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
}
body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 80% -10%, rgba(156, 59, 42, 0.22), transparent 60%),
    radial-gradient(90% 50% at 10% 0%, rgba(38, 92, 130, 0.28), transparent 55%),
    var(--abyss);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
a:hover {
  color: var(--rust-bright);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(6, 17, 31, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-brand {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--beam);
  text-transform: uppercase;
  white-space: nowrap;
}
a[data-contract="site-name"] {
  color: var(--beam);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--rust-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-left: auto;
  max-width: 100%;
}
a.runtime-category {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-dim, #8ba3b8);
  color: #8ba3b8;
  white-space: nowrap;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--beam);
  border-color: var(--rust);
  background: rgba(156, 59, 42, 0.16);
  text-decoration: none;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 32px;
}
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 14px 18px;
  padding: 18px 0 30px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 -14px 0 -14px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(207, 227, 242, 0.05) 0 1px,
      transparent 1px 7px
    ),
    linear-gradient(180deg, rgba(16, 37, 56, 0.9), rgba(6, 17, 31, 0) 72%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.hero-poster-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--deep);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(156, 59, 42, 0.18) inset;
}
.hero-poster-wrap::after {
  content: "ARCHIVE № 0-1221";
  position: absolute;
  left: 0;
  bottom: -16px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
}
.hero-title-block {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}
.movie-title {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(24px, 4.4vw, 42px);
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: var(--beam);
  text-shadow: 0 2px 22px rgba(10, 28, 48, 0.9);
}
.movie-tagline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #a7b9c9;
}
.player-shell {
  position: relative;
  z-index: 1;
  grid-column: 2;
  width: 100%;
  margin-top: 6px;
  background: #04101c;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #02101c;
  object-fit: cover;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--rust), 0 14px 44px rgba(156, 59, 42, 0.35);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off video {
  filter: brightness(0.55);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(16, 37, 56, 0.9), rgba(6, 17, 31, 0.95));
  border-top: 1px solid var(--line);
}
.control-button {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  color: #93a9bd;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.control-button:hover, .control-button:focus-visible {
  color: var(--beam);
  border-color: var(--rust);
  background: rgba(156, 59, 42, 0.18);
  outline: none;
}
.control-button.is-active, .control-button.play.is-active, .control-button.pause {
  color: #f3ded6;
  background: rgba(156, 59, 42, 0.42);
  border-color: var(--rust-bright);
}
.episode-status {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 8px 12px;
  background: linear-gradient(90deg, rgba(156, 59, 42, 0.16), rgba(12, 30, 49, 0.6) 40%);
  border-left: 3px solid var(--rust);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.status-heading {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--rust-bright);
  white-space: nowrap;
}
.status-line {
  font-size: 13px;
  color: var(--ink);
}
.status-total, .status-current {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--beam);
}
.status-note {
  font-size: 12px;
  color: var(--ink-faint);
  margin-left: auto;
}
.cast-panel {
  margin-top: 16px;
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--beam);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 8px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--rust-dim);
  min-height: 0;
}
.cast-avatar {
  width: 34px;
  height: 34px;
  border-radius: 1px;
  background:
    radial-gradient(circle at 50% 34%, rgba(207, 227, 242, 0.35), transparent 60%),
    linear-gradient(160deg, #1b3a52, #0a1c30 70%);
  border: 1px solid var(--line);
  margin-bottom: 3px;
}
.cast-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--beam);
}
.cast-keyword {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #7e96ab;
}
.synopsis-panel {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
  align-items: start;
}
.synopsis-heading {
  grid-column: 1 / -1;
}
.synopsis-lead {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: #c3d2df;
  padding: 8px 10px;
  border-left: 2px solid var(--rust);
  background: linear-gradient(90deg, rgba(16, 37, 56, 0.8), rgba(16, 37, 56, 0));
}
.synopsis-para {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  color: #9fb2c3;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.details-panel {
  margin-top: 16px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 18px;
  align-items: start;
}
.detail-key, .detail-value {
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line-soft);
  align-self: start;
}
.detail-key {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #7e96ab;
  grid-column: 1;
}
.detail-value {
  font-family: var(--serif);
  color: var(--ink);
  margin-bottom: 0;
}
.details-list > .detail-key, .details-list > .detail-value {
  display: block;
}
.timeline-section {
  margin-top: 34px;
}
.timeline-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 30px 4px 16px;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0.2), rgba(9, 22, 37, 0.85));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  -webkit-overflow-scrolling: touch;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--rust-dim);
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 100%;
  width: max-content;
  padding: 0 6px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 150px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.node-beam {
  position: relative;
  display: block;
  width: 2px;
  height: 30px;
  margin-left: 4px;
  background: linear-gradient(180deg, var(--beam), rgba(207, 227, 242, 0));
  transform-origin: top center;
  opacity: 0.75;
}
.node-beam::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--beam);
  box-shadow: 0 0 10px rgba(207, 227, 242, 0.6);
}
.node-timecode {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--beam);
}
.node-label {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 11.5px;
  line-height: 1.4;
  color: #93a9bd;
}
.timeline-node.is-current .node-beam {
  background: linear-gradient(180deg, var(--rust-bright), rgba(192, 81, 47, 0));
  opacity: 1;
}
.timeline-node.is-current .node-beam::before {
  background: var(--rust-bright);
  box-shadow: 0 0 14px rgba(192, 81, 47, 0.85);
}
.timeline-node.is-current .node-timecode {
  color: var(--rust-bright);
}
.timeline-node.is-current .node-label {
  color: #e3c6ba;
}
.episodes-section {
  margin-top: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  gap: 3px 6px;
  padding: 7px 8px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.episode-card:hover {
  background: var(--panel-2);
  border-color: var(--rust-dim);
}
.episode-card.is-current {
  border-color: var(--rust);
  background: linear-gradient(160deg, rgba(156, 59, 42, 0.28), rgba(12, 30, 49, 0.9) 65%);
}
.episode-number {
  grid-area: num;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rust-bright);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--beam);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  color: #7e96ab;
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 11.5px;
  line-height: 1.45;
  color: #8ba3b8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-card:hover .episode-summary {
  color: #b6c7d6;
  -webkit-line-clamp: 4;
}
.episode-card.is-current .episode-summary {
  color: #dcc3b8;
}
.comments-section {
  margin-top: 26px;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  align-items: start;
}
.comment-card {
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-top: 1px solid var(--line);
}
.comment-left {
  justify-self: start;
  width: 100%;
  margin-right: 22px;
  border-left: 2px solid var(--rust-dim);
}
.comment-right {
  justify-self: end;
  width: 100%;
  margin-left: 22px;
  margin-top: 18px;
  border-right: 2px solid #2b5570;
}
.comment-nickname {
  display: block;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #7e96ab;
  margin-bottom: 3px;
}
.comment-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.55;
  color: #c3d2df;
}
.recommend-region {
  margin-top: 22px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-item, .recommend-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.recommend-item:hover {
  border-color: var(--rust);
  background: var(--panel-2);
  color: var(--beam);
  text-decoration: none;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: var(--deep);
  filter: saturate(0.85) brightness(0.9);
}
.recommend-item [data-runtime="name"] {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--beam);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-item [data-runtime="blurb"] {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 10.5px;
  line-height: 1.4;
  color: #7e96ab;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  padding: 16px 14px 26px;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0.4), #02080f);
  border-top: 1px solid var(--line);
  color: #6a8299;
  font-size: 12px;
}
.footer-disclaimer {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 11px;
  line-height: 1.55;
  color: #5c7589;
  max-width: 900px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #8ba3b8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--rust-bright);
  border-bottom-color: var(--rust);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--rust-bright);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 11px;
  color: #6a8299;
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
}
a.runtime-friend-link:hover {
  color: #a7b9c9;
  border-bottom-color: var(--rust);
  text-decoration: none;
}
.player {
  background: #02101c;
}
.progress, .volume, .speed, .pip, .fullscreen, .theater, .light, .mute, .play, .pause, .click {
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.is-active {
  color: #f3ded6;
}
.mute.is-active, .volume.is-active, .speed.is-active, .pip.is-active, .fullscreen.is-active, .theater.is-active, .light.is-active {
  background: rgba(156, 59, 42, 0.34);
  border-color: var(--rust-bright);
}
@media (max-width: 900px) {.episode-grid, .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-stack {
    gap: 8px 14px;
  }
.comment-left {
    margin-right: 8px;
  }
.comment-right {
    margin-left: 8px;
    margin-top: 12px;
  }}
@media (max-width: 760px) {.hero-panel {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px 0 22px;
  }
.player-shell {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
.synopsis-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }}
@media (max-width: 560px) {body {
    font-size: 13px;
  }
.site-header {
    padding: 7px 10px;
  }
.page-main {
    padding: 0 10px 24px;
  }
.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 0 20px;
  }
.hero-poster-wrap {
    width: min(58%, 190px);
  }
.hero-title-block {
    padding-top: 0;
  }
.movie-title {
    font-size: clamp(22px, 7.6vw, 30px);
  }
.status-note {
    margin-left: 0;
  }
.episode-grid, .recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.comment-right {
    margin-left: 0;
    margin-top: 0;
  }
.comment-left {
    margin-right: 0;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.timeline-node {
    width: 132px;
  }}
@media (prefers-reduced-motion: reduce) {a, .episode-card, .recommend-item, .control-button {
    transition: none;
  }
a.recommend-item:hover {
    transform: none;
  }}

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}
