*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, figure, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
video { display: block; }
:root {
  --ink: #070f16;
  --ink-2: #0c1a24;
  --panel: #0e1e29;
  --panel-2: #122734;
  --line: #1d3a4a;
  --line-soft: #16303e;
  --cyan: #5fc7dd;
  --cyan-deep: #2f8ba3;
  --cyan-dim: #7fa7b5;
  --text: #cfe0e7;
  --text-dim: #8ea8b4;
  --text-faint: #6a8896;
  --warm: #ff9a4d;
  --warm-soft: #ffb877;
  --radius: 3px;
  --gap: 10px;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(1200px 700px at 50% -10%, #10222e 0%, transparent 70%),
    var(--ink);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  font-stretch: condensed;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}
.page-main {
  display: block;
  width: 100%;
  padding: 0 12px 8px;
  max-width: 1180px;
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #08141d 0%, #08141df2 70%, #08141d00 100%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 3px solid var(--cyan-deep);
  padding-left: 8px;
  line-height: 1.1;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12px;
  color: var(--cyan-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0c1d27;
  text-decoration: none;
  transition: color .18s, border-color .18s, background .18s;
}
.runtime-category:hover {
  color: var(--cyan);
  border-color: var(--cyan-deep);
  background: #102a36;
}
.movie-overview {
  margin-top: 12px;
  padding: 14px;
  background:
    linear-gradient(180deg, #0d1e29 0%, #0a1821 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-column {
  display: block;
  min-width: 0;
}
.poster-figure {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #08131b;
  box-shadow: 0 12px 30px -18px #000, inset 0 0 0 1px #ffffff08;
}
.poster-image {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: #e7f4f9;
  text-shadow: 0 0 26px #5fc7dd33;
}
.movie-tagline {
  font-size: 13px;
  color: var(--warm-soft);
  letter-spacing: 0.04em;
  border-left: 2px solid var(--warm);
  padding-left: 8px;
  margin-top: -6px;
}
.player-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #04090d;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.main-player {
  width: 100%;
  max-width: 100%;
  display: block;
  background: #04090d;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: #08141d;
  border-top: 1px solid var(--line-soft);
}
.control-button {
  background: #0f2530;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cyan-dim);
  padding: 3px 8px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.control-button:hover { color: var(--cyan); border-color: var(--cyan-deep); background: #123039; }
.control-button.is-active { color: #04121a; background: var(--cyan); border-color: var(--cyan); }
.control-progress {
  flex: 1 1 120px;
  min-width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #1b3542;
  border-radius: 999px;
  cursor: pointer;
}
.control-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--warm);
  border: none;
  box-shadow: 0 0 8px #ff9a4daa;
}
.control-progress::-moz-range-thumb {
  width: 11px; height: 11px; border: none; border-radius: 50%;
  background: var(--warm);
}
.control-volume {
  flex: 0 0 72px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #1b3542;
  border-radius: 999px;
  cursor: pointer;
}
.control-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan-dim); border: none;
}
.control-volume::-moz-range-thumb {
  width: 10px; height: 10px; border: none; border-radius: 50%;
  background: var(--cyan-dim);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--cyan-deep), 0 20px 60px -30px #5fc7dd66;
}
.player-shell.is-lights-off { background: #000; }
.player-shell.is-lights-off .player-controls { background: #02080c; border-top-color: #0d2029; }
.episode-status { display: block; }
.status-line {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  padding: 5px 9px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #0b1a23;
  display: inline-block;
}
.section-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan-deep);
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 42px; height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px #5fc7dd99;
}
.cast-section, .synopsis-section, .details-section { display: block; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  max-width: 62px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid var(--cyan-deep);
  background:
    radial-gradient(circle at 50% 32%, #2b5c6e 0%, #122a36 58%, #0a1a22 100%);
  box-shadow: 0 0 0 3px #0b1a23, 0 0 14px -4px #5fc7dd55;
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: auto 22% 18% 22%;
  height: 30%;
  border-radius: 50% 50% 42% 42%;
  background: #1d4353;
  opacity: .85;
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: #d8e9ef;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cast-role {
  font-size: 10.5px;
  color: var(--text-faint);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-dim);
  text-align: justify;
  border-left: 1px solid #16303e;
  padding-left: 9px;
}
.synopsis-paragraph:first-child { color: #bdd3dc; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted #16303e;
  min-width: 0;
}
.detail-label {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--cyan-deep);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.detail-label::after { content: "·"; margin-left: 6px; color: var(--line); }
.detail-value {
  flex: 1 1 auto;
  font-size: 12px;
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  margin-top: 20px;
  padding: 12px 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0b1a23 0%, #08141d 100%);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  position: relative;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  padding-right: 8px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--cyan-deep) 0 7px,
    transparent 7px 14px
  );
  opacity: .55;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan-deep);
  box-shadow: 0 0 10px -2px #5fc7dd88;
}
.timeline-node:last-child::before { display: none; }
.timeline-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--warm-soft);
  padding: 1px 6px;
  border: 1px solid #3a2a1c;
  background: #1a130c;
  border-radius: var(--radius);
  white-space: nowrap;
}
.timeline-label {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  height: 108px;
  letter-spacing: 0.08em;
  border-right: 1px solid #16303e;
  padding-right: 4px;
}
.episodes-section {
  margin-top: 20px;
}
.episodes-scroll {
  max-height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #08141d;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-deep) #0a1a22;
}
.episodes-scroll::-webkit-scrollbar { width: 7px; }
.episodes-scroll::-webkit-scrollbar-track { background: #0a1a22; }
.episodes-scroll::-webkit-scrollbar-thumb { background: var(--cyan-deep); border-radius: 999px; }
.episodes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.episode-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 0 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #0f2530;
  min-width: 0;
}
.episode-item:nth-child(odd) { border-right: 1px solid #0f2530; }
.episode-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan-deep);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #dcecf2;
  white-space: nowrap;
}
.episode-duration {
  justify-self: end;
  font-size: 11px;
  color: var(--text-faint);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-summary {
  grid-column: 1 / -1;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-dim);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comments-section {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  background: linear-gradient(180deg, #102530 0%, #0b1a23 100%);
  border: 1px solid #17323f;
  border-left: 2px solid var(--cyan-deep);
  border-radius: var(--radius);
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--cyan-deep);
  background: radial-gradient(circle at 50% 35%, #2f6274 0%, #112836 70%);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}
.recommend-region {
  margin-top: 20px;
}
.recommend-region-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  padding-bottom: 5px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: #0b1a23;
  border: 1px solid #16303e;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color .18s, transform .18s, background .18s;
}
.recommend-card:hover {
  border-color: var(--cyan-deep);
  background: #102530;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img, .recommend-poster {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #06121a;
  filter: saturate(0.82);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #d8e9ef;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 14px 12px 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan-deep);
  margin-right: 4px;
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-faint);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid #142c38;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .16s, border-color .16s;
}
.runtime-friend-link:hover { color: var(--cyan); border-color: var(--cyan-deep); }
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #5a7683;
  max-width: 900px;
}
.footer-nav {
  display: flex;
  gap: 14px;
  padding-top: 4px;
  border-top: 1px dashed #12262f;
}
.footer-nav a {
  font-size: 12px;
  color: var(--cyan-dim);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color .16s;
}
.footer-nav a[data-contract="footer-home"]:hover { color: var(--cyan); text-decoration: underline; }
.footer-nav a[data-contract="footer-sitemap"] { color: var(--text-faint); }
.footer-nav a[data-contract="footer-sitemap"]:hover { color: var(--warm-soft); text-decoration: underline; }
a[data-contract="site-name"] { color: var(--cyan); text-decoration: none; }
a[data-contract="site-name"]:hover { color: #9fe4f2; text-decoration: none; }
a.runtime-category { color: var(--cyan-dim); text-decoration: none; }
a.runtime-category:hover { color: var(--cyan); text-decoration: none; }
a.recommend-card { color: var(--text); text-decoration: none; }
a.recommend-card:hover { color: var(--text); text-decoration: none; }
a.runtime-friend-link { color: var(--text-faint); text-decoration: none; }
a.runtime-friend-link:hover { color: var(--cyan); text-decoration: none; }
a[data-contract="footer-home"] { color: var(--cyan-dim); text-decoration: none; }
a[data-contract="footer-sitemap"] { color: var(--text-faint); text-decoration: none; }
.player .click, .player .play, .player .progress, .player .timeupdate, .player .loadedmetadata, .player .volume, .player .mute, .player .speed, .player .input { transition: opacity .15s ease; }
.player .fullscreen { background: #04090d; }
@media (max-width: 960px) {.movie-overview {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    gap: 14px;
  }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-node { padding-bottom: 14px; }
.timeline-node::before { display: none; }
.timeline-label {
    writing-mode: horizontal-tb;
    transform: none;
    height: auto;
    border-right: none;
    border-left: 1px solid #16303e;
    padding-right: 0;
    padding-left: 6px;
  }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 720px) {body { font-size: 13px; }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
.poster-column { max-width: 220px; }
.movie-title { font-size: 22px; }
.synopsis-body { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.details-grid { grid-template-columns: minmax(0, 1fr); }
.episodes-list { grid-template-columns: minmax(0, 1fr); }
.episode-item:nth-child(odd) { border-right: none; }
.comments-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 520px) {.page-main { padding: 0 10px 6px; }
.header-inner { gap: 8px; }
.brand-name { font-size: 15px; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cast-avatar { max-width: 52px; }
.recommend-grid { grid-template-columns: minmax(0, 1fr); }
.comments-stack { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: minmax(0, 1fr); }
.episodes-scroll { max-height: 300px; }
.control-button { padding: 3px 6px; font-size: 11.5px; }}

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}
