*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select {
  font: inherit;
  color: inherit;
}
a { color: inherit; }
:root {
  --night-0: #06080f;
  --night-1: #0a0e18;
  --night-2: #0f1522;
  --night-3: #161d2c;
  --panel: #121824;
  --grid-line: #232c3d;
  --cool: #5f8fc4;
  --cool-dim: #3b5group;
  --cool-dim: #3b5578;
  --amber: #ff8a2b;
  --amber-soft: #ffb066;
  --text-hi: #eef2f8;
  --text-mid: #a7b1c2;
  --text-lo: #6d7787;
  --radius: 2px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--night-0);
  color: var(--text-mid);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2 { color: var(--text-hi); font-weight: 700; }
a { text-decoration: none; }
.site-header {
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, #0b1120 0%, #0a0e18 100%);
  border-bottom: 1px solid var(--grid-line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px 18px;
  max-width: 1360px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--text-hi);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-right: 14px;
  border-right: 1px solid var(--grid-line);
}
a[data-contract="site-name"]:hover { color: var(--amber); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--text-mid);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  line-height: 1.4;
  padding: 3px 9px;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius);
  background: #0d1320;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--amber-soft);
  border-color: var(--amber);
  background: #141b2a;
}
.page-main {
  display: block;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 18px 26px;
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--grid-line);
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: -1px -18px auto -18px;
  height: 320px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(95, 143, 196, 0.20) 0%, rgba(95, 143, 196, 0) 62%),
    radial-gradient(90% 80% at 88% 8%, rgba(255, 138, 43, 0.16) 0%, rgba(255, 138, 43, 0) 60%),
    linear-gradient(180deg, #0d1526 0%, rgba(10, 14, 24, 0) 100%);
  pointer-events: none;
  z-index: 0;
}
.overview-poster, .overview-info { position: relative; z-index: 1; }
.overview-poster {
  align-self: start;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius);
  background: #0b1220;
  box-shadow: 0 0 0 1px rgba(95, 143, 196, 0.10), 0 14px 34px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.overview-poster__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #0b1220;
}
.overview-info {
  min-width: 0;
}
.overview-info__title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.overview-info__tagline {
  color: var(--cool);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
  padding-left: 11px;
  border-left: 3px solid var(--amber);
  margin-bottom: 16px;
}
.section-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-hi);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--grid-line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 11px;
  background: var(--amber);
  border-radius: 1px;
}
.episode-status {
  border: 1px solid var(--grid-line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: #0e1420;
  padding: 8px 12px;
  margin-bottom: 20px;
}
.episode-status__line {
  color: var(--text-hi);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.episode-status__meta {
  color: var(--text-lo);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.cast-panel { margin-bottom: 20px; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.cast-card__portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius);
  background-color: #0d1422;
  background-image: linear-gradient(160deg, rgba(95, 143, 196, 0.22) 0%, rgba(10, 14, 24, 0.9) 70%);
  margin-bottom: 5px;
  position: relative;
  overflow: hidden;
}
.cast-card__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 32%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
}
.cast-card__portrait--1 { background-image: linear-gradient(160deg, #2a4a72 0%, #0a0f1c 78%); }
.cast-card__portrait--2 { background-image: linear-gradient(160deg, #3a5a6e 0%, #0a0f1c 78%); }
.cast-card__portrait--3 { background-image: linear-gradient(160deg, #54402c 0%, #0a0f1c 78%); }
.cast-card__portrait--4 { background-image: linear-gradient(160deg, #4a3a54 0%, #0a0f1c 78%); }
.cast-card__portrait--5 { background-image: linear-gradient(160deg, #2f5550 0%, #0a0f1c 78%); }
.cast-card__portrait--6 { background-image: linear-gradient(160deg, #3d4a66 0%, #0a0f1c 78%); }
.cast-card__name {
  color: var(--text-hi);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.cast-card__role {
  color: var(--text-lo);
  font-size: 11.5px;
  line-height: 1.35;
}
.synopsis-panel { margin-bottom: 20px; }
.synopsis-panel__text {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.72;
  padding-left: 11px;
  border-left: 1px solid var(--grid-line);
}
.synopsis-panel__text + .synopsis-panel__text { margin-top: 7px; }
.details-panel { margin-bottom: 4px; }
.details-table {
  width: 100%;
  border-collapse: collapse;
  background: #0e1420;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius);
  table-layout: fixed;
}
.details-row { border-bottom: 1px solid #1a2233; }
.details-row:last-child { border-bottom: 0; }
.details-row__key {
  text-align: left;
  font-weight: 600;
  color: var(--text-lo);
  font-size: 12px;
  padding: 6px 10px;
  width: 30%;
  vertical-align: top;
  border-right: 1px solid #1a2233;
  background: #0b111c;
  white-space: nowrap;
}
.details-row__value {
  color: #c3cbd8;
  font-size: 12.5px;
  padding: 6px 10px;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
.details-row__value--strong {
  color: #ffffff;
  font-weight: 700;
}
.player-panel {
  position: relative;
  margin: 22px 0 24px;
  padding: 10px;
  background: #0b1120;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(95, 143, 196, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.player-panel.is-theater {
  background: #05070d;
  box-shadow: 0 0 0 1px rgba(255, 138, 43, 0.35), 0 18px 46px rgba(0, 0, 0, 0.7);
}
.player-panel.is-lights-off {
  background: #000000;
  border-color: #000000;
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000000;
  border-radius: var(--radius);
}
.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--grid-line);
}
.player-btn {
  appearance: none;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius);
  background: #131a29;
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.5;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover {
  color: var(--amber-soft);
  border-color: var(--amber);
  background: #182031;
}
.player-btn.is-playing, .player-btn.is-active {
  color: #08111d;
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 700;
}
.player-btn.is-muted {
  color: #ffb066;
  border-color: #7a4a1d;
}
.player-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  border-radius: 0;
  background: #26304a;
  border: 0;
  cursor: pointer;
  outline-offset: 4px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 15px;
  border-radius: 1px;
  background: var(--amber);
  border: 0;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 15px;
  border-radius: 1px;
  background: var(--amber);
  border: 0;
}
.player-range::-moz-range-track {
  height: 4px;
  background: #26304a;
}
.player-select {
  appearance: none;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius);
  background: #131a29;
  color: var(--text-mid);
  font-size: 12px;
  padding: 4px 8px;
  cursor: pointer;
}
.timeline-panel {
  margin-bottom: 24px;
  padding-top: 2px;
}
.timeline-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: #2b3550 #0d1320;
  scroll-snap-type: x proximity;
}
.timeline-rail::-webkit-scrollbar { height: 7px; }
.timeline-rail::-webkit-scrollbar-track { background: #0d1320; }
.timeline-rail::-webkit-scrollbar-thumb { background: #2b3550; border-radius: 0; }
.timeline-node {
  position: relative;
  flex: 0 0 190px;
  width: 190px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  background: #0b111c;
  border: 1px solid var(--grid-line);
  border-top: 3px solid #26304a;
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -1px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background: #1c2537;
  border: 1px solid #2c3750;
}
.timeline-node__time {
  font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--cool);
  letter-spacing: 0.06em;
}
.timeline-node__label {
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.55;
}
.timeline-node:hover {
  border-color: #37435f;
  background: #0f1624;
}
.timeline-node--active {
  background: #141c2b;
  border-color: var(--amber);
  border-top-color: var(--amber);
  box-shadow: 0 0 18px rgba(255, 138, 43, 0.18);
}
.timeline-node--active::before {
  background: var(--amber);
  border-color: var(--amber-soft);
  box-shadow: 0 0 10px rgba(255, 138, 43, 0.8);
}
.timeline-node--active .timeline-node__time { color: var(--amber); }
.timeline-node--active .timeline-node__label { color: var(--text-hi); }
.episodes-panel { margin-bottom: 24px; }
.episodes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.episode-row {
  display: grid;
  grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid #1a2233;
}
.episode-row__left {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.episode-row__number {
  font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cool);
  font-variant-numeric: tabular-nums;
}
.episode-row__title {
  color: var(--text-hi);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
}
.episode-row__right {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.episode-row__summary {
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.6;
}
.episode-row__duration {
  font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  color: var(--text-lo);
  font-variant-numeric: tabular-nums;
}
.comments-panel { margin-bottom: 24px; }
.comments-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.comment-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 9px 10px;
  background: #0e1420;
  border: 1px solid #1c2434;
  border-left: 3px solid #26304a;
  border-radius: var(--radius);
}
.comment-card__avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background-color: #1b2434;
  background-image: linear-gradient(140deg, rgba(95, 143, 196, 0.55), rgba(10, 14, 24, 0.9));
  border: 1px solid #2b3550;
}
.comment-card__avatar--1 { background-image: linear-gradient(140deg, #5f8fc4, #0d1522); }
.comment-card__avatar--2 { background-image: linear-gradient(140deg, #ff8a2b, #1a1206); }
.comment-card__avatar--3 { background-image: linear-gradient(140deg, #4a8f7e, #0b1614); }
.comment-card__avatar--4 { background-image: linear-gradient(140deg, #8a6fc4, #120d1c); }
.comment-card__avatar--5 { background-image: linear-gradient(140deg, #c45f7a, #1a0a11); }
.comment-card__avatar--6 { background-image: linear-gradient(140deg, #c4b25f, #1a170a); }
.comment-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.comment-card__nickname {
  color: var(--amber-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.comment-card__text {
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.6;
}
.recommend-region { margin-bottom: 22px; }
.recommend-region__title {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--grid-line);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 6px;
  background: #0b111c;
  border: 1px solid #1c2434;
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-item:hover, a.recommend-item:focus-visible {
  border-color: var(--amber);
  background: #101827;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0d1522;
  border-radius: var(--radius);
  margin-bottom: 4px;
}
.recommend-item__name {
  color: var(--text-hi);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-item__blurb {
  color: var(--text-lo);
  font-size: 11.5px;
  line-height: 1.5;
}
.site-footer {
  border-top: 1px solid var(--grid-line);
  background: #080c14;
  padding: 16px 18px 22px;
  max-width: 1360px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
}
.footer-nav__link {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 12.5px;
  border-bottom: 1px solid transparent;
}
.footer-nav__link:hover { color: var(--amber); border-bottom-color: var(--amber); }
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--text-mid);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: var(--amber); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-bottom: 12px;
}
.friend-links__label {
  color: var(--text-lo);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding-right: 10px;
  border-right: 1px solid var(--grid-line);
}
a.runtime-friend-link {
  color: #7f8b9d;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--amber-soft); text-decoration: underline; }
.footer-disclaimer {
  color: #565f6e;
  font-size: 11.5px;
  line-height: 1.7;
  max-width: 900px;
}
@media (max-width: 1100px) {.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comments-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episodes-list { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 820px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-top: 18px;
  }
.overview-poster { max-width: 220px; }
.overview-info__title { font-size: 24px; }
.recommend-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-main { padding: 0 14px 22px; }}
@media (max-width: 620px) {body { font-size: 13.5px; }
.site-header__bar { padding: 8px 14px; gap: 12px; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-stack { grid-template-columns: minmax(0, 1fr); }
.episode-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.details-row__key { width: 36%; }
.player-bar { gap: 5px; }
.player-btn { padding: 4px 8px; font-size: 11.5px; }
.player-range { flex: 1 1 100%; min-width: 0; order: 9; }
.timeline-node { flex: 0 0 168px; width: 168px; }
.site-footer { padding: 14px 14px 20px; }}
@media (max-width: 420px) {.recommend-list { grid-template-columns: minmax(0, 1fr); }
.overview-info__title { font-size: 21px; }}

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}
