:root {
  --ink: #0b0e13;
  --ink-2: #11151c;
  --ink-3: #171c25;
  --line: #232a35;
  --line-soft: #1b212b;
  --text: #c8ced8;
  --text-dim: #7f8794;
  --text-faint: #5a6270;
  --accent: #0a0c10;
  --accent-soft: #14181f;
  --paper: #e8ecf1;
  --hi: #aeb6c2;
  --radius: 0;
  --gap: 10px;
  --pad: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html, body, h1, h2, h3, p, figure, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 19, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  flex: 0 0 auto;
  border-left: 3px solid var(--accent);
  padding-left: 8px;
  line-height: 1.2;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: #3a4453;
  background: var(--accent-soft);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.block-heading {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 7px;
  padding-left: 7px;
  border-left: 2px solid var(--accent);
  line-height: 1.1;
}
.movie-overview {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-frame {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--accent);
  line-height: 0;
  align-self: start;
  width: 100%;
}
.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.movie-tagline {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-soft);
}
.cast-block {
  min-width: 0;
}
.cast-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.cast-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 4px;
  border: 1px solid var(--line-soft);
  background: var(--ink-3);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(150deg, #2c3542 0%, #151a22 100%);
  border: 1px solid #333d4b;
  display: block;
}
.cast-name {
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: #9aa1ad;
  text-align: justify;
}
.synopsis-para::first-letter {
  color: var(--hi);
}
.episode-status, .details-block {
  min-width: 0;
}
.status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.status-row {
  flex: 1 1 0;
  min-width: 78px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px 6px;
  border-right: 1px solid var(--line-soft);
}
.status-row:last-child {
  border-right: 0;
}
.status-key {
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.14em;
}
.status-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 10px 5px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-row:nth-child(odd) {
  padding-right: 12px;
  border-right: 1px solid var(--line-soft);
}
.detail-row:nth-child(even) {
  padding-left: 12px;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
}
.player-shell {
  width: 100%;
  background: #05070a;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: var(--ink-3);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ctrl-btn:hover {
  color: var(--paper);
  border-color: #3a4453;
  background: var(--accent-soft);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: #2a323e;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 12px;
  background: var(--paper);
  border: 0;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 9px;
  height: 12px;
  background: var(--paper);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 72px;
  min-width: 52px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: #2a323e;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 11px;
  background: var(--hi);
  border: 0;
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 11px;
  background: var(--hi);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-speed {
  flex: 0 0 auto;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 11px;
  padding: 4px 4px;
  cursor: pointer;
}
.player-shell.is-theater {
  background: #000;
  border-color: #2c3542;
}
.player-shell.is-theater .player-video {
  max-height: 82vh;
}
.player-shell.is-light {
  background: #2a2f38;
  filter: brightness(1.35) saturate(1.05);
}
.player-shell.is-light .player-controls {
  background: #333a45;
  border-top-color: #454e5c;
}
.player.play .ctrl-btn, .ctrl-btn.play {
  color: var(--paper);
  border-color: #3a4453;
}
.timeline-section {
  min-width: 0;
}
.timeline-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 12px 10px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.timeline-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 116px;
  padding: 0 10px 0 12px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--paper) 0 22%, transparent 22%);
  opacity: 0.5;
}
.timeline-node:first-child {
  border-left-color: var(--hi);
}
.node-timecode {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.node-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.episodes-section {
  min-width: 0;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 3px 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  background: var(--ink-2);
  transition: background 0.15s ease;
  min-width: 0;
}
.episode-card:nth-child(even) {
  border-right: 0;
}
.episode-card:hover {
  background: var(--ink-3);
}
.ep-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-top: 1px;
  border-left: 2px solid var(--accent);
  padding-left: 7px;
  line-height: 1.4;
}
.ep-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ep-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.55;
  color: #8b93a0;
  margin-top: 2px;
}
.ep-duration {
  grid-area: dur;
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  margin-top: 3px;
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.comments-section {
  min-width: 0;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  min-width: 0;
  transition: background 0.15s ease;
}
.comment-card:nth-child(even) {
  border-right: 0;
}
.comment-card:hover {
  background: var(--ink-3);
}
.comment-nick {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hi);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.comment-nick::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line-soft);
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: #8f97a4;
  overflow-wrap: anywhere;
}
.recommend-section {
  min-width: 0;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: background 0.15s ease;
}
a.recommend-card:nth-child(3n) {
  border-right: 0;
}
a.recommend-card:hover {
  background: var(--ink-3);
}
a.recommend-card:hover [data-runtime="name"] {
  color: var(--paper);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #05070a;
  filter: saturate(0.7) contrast(1.05);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.35;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-faint);
  overflow-wrap: anywhere;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  margin-top: 6px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 780px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: var(--ink-3);
  letter-spacing: 0.05em;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--paper);
  border-color: #3a4453;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.16em;
  margin-right: 3px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 7px;
  border: 1px solid var(--line-soft);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--hi);
  border-color: #333d4b;
}
.player .ctrl-btn, .player .ctrl-progress, .player .ctrl-volume, .player .ctrl-speed {
  pointer-events: auto;
}
.ctrl-progress.progress {
  background: #2a323e;
}
.ctrl-volume.volume {
  background: #2a323e;
}
.ctrl-speed.speed {
  border-color: #333d4b;
}
.ctrl-btn.mute, .ctrl-btn.pip, .ctrl-btn.fullscreen, .ctrl-btn.theater, .ctrl-btn.light {
  color: var(--text-dim);
}
.ctrl-btn.change, .ctrl-btn.click, .ctrl-btn.input, .ctrl-btn.timeupdate {
  outline: none;
}
@media (max-width: 1080px) {.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.overview-layout {
    grid-template-columns: minmax(0, 148px) minmax(0, 1fr);
    gap: 14px;
  }
.episodes-grid, .comments-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 12px 12px 22px;
    gap: 15px;
  }
.header-inner {
    padding: 8px 12px;
    gap: 12px;
  }
.overview-layout {
    grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
    gap: 12px;
  }
.movie-title {
    font-size: 17px;
  }
.details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
a.recommend-card:nth-child(3n) {
    border-right: 1px solid var(--line-soft);
  }
a.recommend-card:nth-child(even) {
    border-right: 0;
  }
.timeline-node {
    width: 104px;
  }}
@media (max-width: 520px) {body {
    font-size: 12.5px;
  }
.overview-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-frame {
    max-width: 168px;
  }
.episodes-grid, .comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card, .comment-card {
    border-right: 0;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-row:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }
.detail-row:nth-child(even) {
    padding-left: 0;
  }
.detail-value {
    text-align: left;
    flex: 1 1 auto;
  }
.status-meta {
    flex-wrap: wrap;
  }
.status-row {
    flex: 1 1 40%;
    border-bottom: 1px solid var(--line-soft);
  }
.player-controls {
    gap: 3px;
    padding: 6px;
  }
.ctrl-btn {
    font-size: 10.5px;
    padding: 4px 7px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }
.timeline-node {
    width: 96px;
    padding-left: 10px;
    padding-right: 8px;
  }
.footer-inner {
    padding: 12px 12px 20px;
  }}
@media (max-width: 380px) {.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
a.recommend-card {
    border-right: 0;
  }
a.recommend-card:nth-child(3n), a.recommend-card:nth-child(even) {
    border-right: 0;
  }
.cast-item {
    padding-right: 7px;
  }}

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}
