*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
:root {
  --bg-deep: #0b1015;
  --bg-panel: #121a22;
  --bg-panel-2: #16212b;
  --bg-raised: #1a2732;
  --ice: #a9c6d6;
  --ice-dim: #7d95a4;
  --ice-bright: #d3e6f0;
  --steel: #46555f;
  --steel-line: #24323d;
  --rust: #a8492c;
  --rust-bright: #c65c37;
  --rust-glow: rgba(198, 92, 55, 0.55);
  --ink: #c2d2dc;
  --ink-dim: #7f909c;
  --font-stack: "Helvetica Neue", "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}
html {
  background: var(--bg-deep);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-stack);
  font-stretch: condensed;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(70, 110, 132, 0.22), transparent 62%),
    radial-gradient(900px 540px at 96% 4%, rgba(168, 73, 44, 0.13), transparent 58%),
    linear-gradient(180deg, #0c1319 0%, #0b1015 42%, #090e13 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
a {
  color: var(--ice);
  text-decoration: none;
}
a:hover { color: var(--ice-bright); }
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ice-bright);
  line-height: 1.3;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 16, 21, 0.9);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--steel-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 20px;
}
a[data-contract="site-name"].site-brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--ice-bright);
  text-decoration: none;
  text-transform: uppercase;
  border-left: 3px solid var(--rust);
  padding-left: 10px;
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand:hover { color: #fff; }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 240px;
}
a.runtime-category {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ice-dim);
  text-decoration: none;
  padding: 4px 11px;
  border: 1px solid var(--steel-line);
  background: rgba(26, 39, 50, 0.55);
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--ice-bright);
  border-color: var(--rust);
  background: rgba(168, 73, 44, 0.16);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 20px 34px;
}
.movie-overview {
  background: linear-gradient(168deg, var(--bg-panel) 0%, #0e151c 100%);
  border: 1px solid var(--steel-line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  position: relative;
}
.overview-hero__poster {
  position: relative;
  align-self: start;
  line-height: 0;
  border: 1px solid var(--steel-line);
  background: #0a0f14;
  overflow: hidden;
}
.overview-hero__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(169, 198, 214, 0.1), transparent 34%),
    linear-gradient(0deg, rgba(9, 14, 19, 0.82) 0%, transparent 46%);
  mix-blend-mode: normal;
}
.overview-hero__poster img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.62) contrast(1.06) brightness(0.92);
}
.overview-hero__code {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: -6px;
  font-size: clamp(30px, 6.4vw, 58px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(211, 230, 240, 0.72);
  text-shadow: 0 0 26px rgba(169, 198, 214, 0.34);
  transform: rotate(-4deg);
  mix-blend-mode: screen;
  opacity: 0.92;
  pointer-events: none;
}
.overview-hero__identity {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(22px, 3.4vw, 36px);
  letter-spacing: 0.14em;
  color: var(--ice-bright);
  text-shadow: 0 0 30px rgba(120, 170, 200, 0.22);
}
.movie-tagline {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--rust-bright);
  border-left: 2px solid var(--rust);
  padding-left: 10px;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 62ch;
}
.overview-hero__player {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  width: 100%;
  min-width: 0;
  background: #070b0f;
  border: 1px solid var(--steel-line);
  padding: 8px;
  transition: box-shadow 0.25s, background 0.25s;
}
.overview-hero__player video {
  width: 100%;
  display: block;
  background: #000;
  border: 1px solid #1d2a34;
}
.overview-hero__player.is-theater {
  box-shadow: 0 0 0 1px var(--rust), 0 18px 52px rgba(0, 0, 0, 0.7);
}
.overview-hero__player.is-lights-off {
  background: #000;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9) inset;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ice);
  background: var(--bg-raised);
  border: 1px solid var(--steel-line);
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.player-btn:hover {
  color: var(--ice-bright);
  border-color: var(--rust);
  background: rgba(168, 73, 44, 0.2);
}
.player-btn:focus-visible {
  outline: 1px solid var(--rust-bright);
  outline-offset: 1px;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 96px;
  min-width: 72px;
  height: 4px;
  background: var(--steel);
  border: none;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rust-bright);
  box-shadow: 0 0 8px var(--rust-glow);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--rust-bright);
  box-shadow: 0 0 8px var(--rust-glow);
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  border-top: 1px solid var(--steel-line);
  padding-top: 16px;
}
.cast-panel {
  min-width: 0;
  align-self: start;
}
.cast-panel__title, .synopsis-panel__title, .timeline-section__title, .episodes-section__title, .comments-section__title, .detail-panel__title, .recommend-region__title {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ice);
  text-transform: uppercase;
  padding-bottom: 7px;
  margin-bottom: 11px;
  border-bottom: 1px solid var(--steel-line);
  position: relative;
}
.cast-panel__title::before, .synopsis-panel__title::before, .timeline-section__title::before, .episodes-section__title::before, .comments-section__title::before, .detail-panel__title::before, .recommend-region__title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 1px;
  background: var(--rust);
}
.cast-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  background: var(--bg-panel-2);
  border-left: 2px solid var(--steel);
  transition: border-color 0.18s, background 0.18s;
}
.cast-card:hover {
  border-left-color: var(--rust);
  background: var(--bg-raised);
}
.cast-card__avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background:
    linear-gradient(140deg, #2b3d49 0%, #16222b 70%),
    repeating-linear-gradient(90deg, rgba(169, 198, 214, 0.09) 0 1px, transparent 1px 4px);
  border: 1px solid var(--steel);
  position: relative;
  overflow: hidden;
}
.cast-card__avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 32%, rgba(211, 230, 240, 0.28), transparent 62%);
}
.cast-card__name {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink);
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1;
  align-self: center;
  max-height: 34px;
}
.synopsis-panel {
  min-width: 0;
  align-self: start;
}
.synopsis-panel__para {
  font-size: 13.5px;
  line-height: 1.5;
  color: #a4b6c1;
  margin-bottom: 8px;
  max-width: 74ch;
}
.synopsis-panel__para:last-child {
  margin-bottom: 0;
  color: var(--ice);
  border-left: 2px solid var(--rust);
  padding-left: 10px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  border-top: 1px solid var(--steel-line);
  padding-top: 13px;
}
.episode-status__chip {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ice);
  border: 1px solid var(--steel);
  background: var(--bg-panel-2);
  padding: 4px 11px;
  white-space: nowrap;
}
.episode-status__chip:first-child {
  color: #f0d9cf;
  border-color: var(--rust);
  background: rgba(168, 73, 44, 0.22);
}
.episode-status__chip:last-child {
  color: var(--rust-bright);
  border-color: rgba(168, 73, 44, 0.5);
}
.detail-panel {
  border-top: 1px solid var(--steel-line);
  padding-top: 14px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(70, 85, 95, 0.5);
  min-width: 0;
}
.detail-row__key {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ice-dim);
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-row__value {
  font-size: 12.5px;
  color: var(--ink);
  text-align: right;
  letter-spacing: 0.05em;
  word-break: break-word;
}
.timeline-section {
  margin-top: 22px;
  background: linear-gradient(180deg, var(--bg-panel) 0%, #0d141a 100%);
  border: 1px solid var(--steel-line);
  padding: 16px 18px 18px;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
  padding-top: 22px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel) 6%, var(--steel) 94%, transparent);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  min-width: 0;
}
.timeline-node__dot {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ice-bright);
  box-shadow: 0 0 0 2px rgba(11, 16, 21, 1), 0 0 12px rgba(169, 198, 214, 0.85);
}
.timeline-node__timecode {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--rust-bright);
  font-variant-numeric: tabular-nums;
}
.timeline-node__label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: 118px;
  margin: 0 auto;
  letter-spacing: 0.05em;
}
.episodes-section {
  margin-top: 22px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-panel-2);
  border: 1px solid var(--steel-line);
  padding: 12px 13px 30px;
  min-width: 0;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-color: var(--steel);
  background: var(--bg-raised);
}
.episode-card.is-current {
  border-color: var(--rust);
  background: linear-gradient(160deg, rgba(168, 73, 44, 0.18), var(--bg-panel-2) 62%);
  box-shadow: 0 0 0 1px rgba(168, 73, 44, 0.4), 0 0 22px rgba(168, 73, 44, 0.16);
}
.episode-card__number {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--ice-dim);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.episode-card.is-current .episode-card__number {
  -webkit-text-stroke: 1px var(--rust-bright);
  color: var(--rust-bright);
}
.episode-card__title {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ice-bright);
}
.episode-card__summary {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.episode-card__duration {
  position: absolute;
  right: 13px;
  bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ice-dim);
  font-variant-numeric: tabular-nums;
}
.episode-card.is-current .episode-card__duration { color: var(--rust-bright); }
.comments-section {
  margin-top: 22px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}
.comment-card {
  background: var(--bg-panel);
  border: 1px solid var(--steel-line);
  border-left: 3px solid var(--steel);
  padding: 12px 14px;
  min-width: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.comment-card:nth-child(3n + 1) { transform: translateY(0); }
.comment-card:nth-child(3n + 2) { transform: translateY(14px); }
.comment-card:nth-child(3n + 3) { transform: translateY(28px); }
.comment-card:hover {
  border-left-color: var(--rust);
  background: var(--bg-panel-2);
  transform: translateY(-2px);
}
.comment-card:nth-child(3n + 2):hover { transform: translateY(12px); }
.comment-card:nth-child(3n + 3):hover { transform: translateY(26px); }
.comment-card__nickname {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--rust-bright);
  margin-bottom: 6px;
}
.comment-card__text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #9fb1bc;
}
.recommend-region {
  margin-top: 22px;
}
.recommend-region--wide .recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}
.recommend-region--narrow {
  display: block;
}
.recommend-region--narrow .recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-panel-2);
  border: 1px solid var(--steel-line);
  padding: 8px;
  color: var(--ice);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.recommend-card:hover {
  border-color: var(--rust);
  background: var(--bg-raised);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0a0f14;
  border: 1px solid var(--steel-line);
  filter: saturate(0.7) brightness(0.94);
}
a.recommend-card [data-runtime="name"] {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ice-bright);
  line-height: 1.4;
}
a.recommend-card [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--steel-line);
  background: linear-gradient(180deg, #0a1015, #070b0f);
}
.site-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__disclaimer {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 92ch;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ice);
  text-decoration: none;
  border: 1px solid var(--steel-line);
  background: var(--bg-panel-2);
  padding: 5px 13px;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0d9cf;
  border-color: var(--rust);
  background: rgba(168, 73, 44, 0.18);
  text-decoration: none;
}
.site-footer__friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(70, 85, 95, 0.45);
}
.site-footer__friends-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--steel);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ice-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--rust-bright);
  text-decoration: underline;
}
@media (max-width: 1080px) {.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-card:nth-child(3n + 1), .comment-card:nth-child(3n + 2), .comment-card:nth-child(3n + 3) { transform: none; }
.comment-card:nth-child(even) { transform: translateY(14px); }
.comment-card:nth-child(even):hover { transform: translateY(12px); }}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.overview-hero__poster {
    max-width: 320px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.cast-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 6px;
  }
.cast-card__name {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    max-height: none;
  }
.timeline-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    grid-auto-columns: auto;
    gap: 14px;
    padding-top: 0;
  }
.timeline-track::before { display: none; }
.timeline-node {
    align-items: flex-start;
    text-align: left;
    border-left: 1px solid var(--steel-line);
    padding-left: 12px;
  }
.timeline-node__dot {
    position: static;
    transform: none;
    margin-bottom: 2px;
  }
.timeline-node__label {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    max-height: none;
    margin: 0;
  }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 620px) {body { font-size: 14px; }
.site-header__inner { padding: 9px 14px; gap: 12px; }
a[data-contract="site-name"].site-brand { font-size: 15px; letter-spacing: 0.2em; }
.page-main { padding: 14px 13px 26px; }
.movie-overview { padding: 13px; gap: 13px; }
.overview-hero__poster { max-width: 100%; }
.overview-hero__code {
    top: 10px;
    right: 8px;
    font-size: 40px;
  }
.overview-hero__player { padding: 6px; }
.player-btn { font-size: 11px; padding: 5px 8px; }
.player-range { flex: 1 1 100%; order: 5; }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.detail-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.episode-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-card, .comment-card:nth-child(even) { transform: none; }
.comment-card:hover, .comment-card:nth-child(even):hover { transform: translateY(-2px); }
.recommend-region--wide .recommend-row, .recommend-region--narrow .recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.site-footer__inner { padding: 16px 14px 22px; }}
@media (max-width: 400px) {.recommend-region--wide .recommend-row, .recommend-region--narrow .recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid { grid-template-columns: minmax(0, 1fr); }}
.player.play, .player-btn.play { color: var(--ice-bright); }
.player.pause, .player-btn.pause { color: var(--ice); }
.player.mute, .player-btn.mute { color: var(--rust-bright); border-color: var(--rust); }
.player.volume, .player-btn.volume { border-color: rgba(168, 73, 44, 0.55); }
.player.speed, .player-btn.speed { color: var(--ice-bright); }
.player.pip, .player-btn.pip { color: var(--ice); }
.player.fullscreen, .player-btn.fullscreen { color: var(--ice-bright); }
.player.theater, .player-btn.theater { color: #f0d9cf; border-color: var(--rust); background: rgba(168, 73, 44, 0.22); }
.player.light, .player-btn.light { color: #f0d9cf; border-color: var(--rust); }
.player.progress { background: var(--rust); }
.player.timeupdate .player-range { background: var(--steel); }
.player.input .player-range { background: var(--steel); }

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}
