*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
:root {
  --ink: #0a0e18;
  --ink-2: #0d1322;
  --ink-3: #111a2e;
  --ink-4: #16203a;
  --slate: #1b2740;
  --line: rgba(150, 170, 205, 0.16);
  --line-soft: rgba(150, 170, 205, 0.09);
  --text: #c9d2e0;
  --text-dim: #8894a8;
  --text-faint: #626f85;
  --gold: #b99551;
  --gold-dim: #8a6f3c;
  --paper: #e8ecf3;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "SimHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}
html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background:
    linear-gradient(180deg, #0b1120 0%, #0a0e18 42%, #070a12 70%, #04060c 100%);
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 11, 20, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 18px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand:hover {
  color: var(--gold);
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(22, 32, 58, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--gold-dim);
  background: rgba(185, 149, 81, 0.1);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.player-panel {
  width: 100%;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 18px 46px -26px rgba(0, 0, 0, 0.95);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 9px;
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.92), rgba(6, 9, 16, 0.98));
  border-top: 1px solid var(--line-soft);
}
.player-controls button {
  font-size: 11px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 4px 8px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(27, 39, 64, 0.55);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-controls button:hover {
  color: var(--paper);
  border-color: rgba(150, 170, 205, 0.36);
}
.player-controls button.is-active {
  color: #0a0e18;
  background: var(--gold);
  border-color: var(--gold);
}
.player-controls button.is-muted {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  grid-template-areas:
    "poster headline"
    "poster status"
    "poster cast"
    "poster synopsis"
    "poster details";
  column-gap: 22px;
  row-gap: 20px;
  align-items: start;
  position: relative;
  padding: 18px;
  background:
    linear-gradient(160deg, rgba(17, 26, 46, 0.92) 0%, rgba(10, 14, 24, 0.96) 60%, rgba(7, 10, 18, 1) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(150, 170, 205, 0.07), 0 24px 60px -40px #000;
}
.movie-overview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(27, 39, 64, 0.55), transparent 62%),
    linear-gradient(90deg, transparent 0%, rgba(4, 6, 12, 0.35) 100%);
}
.movie-overview > * {
  position: relative;
  z-index: 1;
}
.overview-poster {
  grid-area: poster;
  width: 100%;
  max-width: 200px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: #05070d;
  box-shadow: 0 20px 46px -28px #000;
}
.overview-poster img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.overview-headline {
  grid-area: headline;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  min-width: 0;
}
.overview-title {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85);
}
.overview-tagline {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  border-left: 2px solid var(--gold-dim);
  padding-left: 9px;
}
.overview-status {
  grid-area: status;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(185, 149, 81, 0.07);
  border: 1px solid rgba(185, 149, 81, 0.2);
  border-radius: 2px;
  width: fit-content;
  max-width: 100%;
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}
.status-current {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.status-divider {
  color: var(--text-faint);
  font-size: 12px;
}
.status-total {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.overview-cast {
  grid-area: cast;
  min-width: 0;
}
.cast-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--slate) transparent;
}
.cast-strip::-webkit-scrollbar {
  height: 5px;
}
.cast-strip::-webkit-scrollbar-track {
  background: transparent;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: var(--slate);
  border-radius: 3px;
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 6px;
  background: rgba(27, 39, 64, 0.5);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.cast-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 34% 28%, #3a4a6b 0%, #1b2740 58%, #0d1322 100%);
  border: 1px solid rgba(150, 170, 205, 0.28);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text);
  white-space: nowrap;
}
.overview-synopsis {
  grid-area: synopsis;
  min-width: 0;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
  letter-spacing: 0.015em;
  margin-bottom: 7px;
  text-align: justify;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.overview-details {
  grid-area: details;
  min-width: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  min-width: 52px;
}
.detail-value {
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.02em;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-panel {
  min-width: 0;
}
.timeline-list {
  position: relative;
  border-left: 1px solid var(--line);
  margin-left: 5px;
  padding-left: 0;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 6px 0 6px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 149, 81, 0.14);
}
.timeline-timecode {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  min-width: 42px;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
  letter-spacing: 0.015em;
  min-width: 0;
}
.episodes-panel {
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 12px;
  background: rgba(17, 26, 46, 0.62);
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(185, 149, 81, 0.4);
  border-radius: 2px;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.episode-card:hover {
  background: rgba(22, 32, 58, 0.85);
  border-left-color: var(--gold);
}
.episode-number {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--paper);
  line-height: 1.35;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-top: 2px;
}
.comments-panel {
  min-width: 0;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  text-align: left;
  background: rgba(13, 19, 34, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.comment-text {
  font-size: 12px;
  line-height: 1.58;
  color: var(--text-dim);
  letter-spacing: 0.015em;
  text-align: left;
}
.recommend-bar {
  min-width: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(11, 16, 28, 0.9), rgba(6, 9, 16, 0.95));
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.recommend-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--paper);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 9px;
}
.recommend-heading::after {
  content: "";
  display: none;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 9px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 6px;
  color: var(--text-dim);
  text-decoration: none;
  background: rgba(17, 26, 46, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
a.recommend-link:hover {
  color: var(--paper);
  background: rgba(22, 32, 58, 0.9);
  border-color: rgba(185, 149, 81, 0.42);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1px;
  background: #05070d;
  filter: saturate(0.72) brightness(0.88);
  transition: filter 0.2s ease;
}
a.recommend-link:hover img {
  filter: saturate(0.95) brightness(1);
}
.recommend-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-faint);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(3, 5, 10, 0.6));
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a.footer-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.18s ease;
}
a.footer-link:hover {
  color: var(--gold);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  flex: 0 0 auto;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--text);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #4e5a6e;
  letter-spacing: 0.01em;
  max-width: 760px;
}
body.is-lights-off {
  background: #010204;
}
body.is-lights-off .movie-overview, body.is-lights-off .episode-card, body.is-lights-off .comment-card, body.is-lights-off .recommend-bar {
  background: #05070d;
}
body.is-theater .page-main {
  max-width: 100%;
}
body.is-theater .player-shell {
  border-radius: 0;
}
@media (max-width: 860px) {.movie-overview {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 16px;
    padding: 14px;
  }
.overview-poster {
    max-width: 168px;
  }
.overview-title {
    font-size: 22px;
  }
.comments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 12px 13px 28px;
    gap: 20px;
  }
.header-inner {
    padding: 9px 13px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "headline"
      "poster"
      "status"
      "cast"
      "synopsis"
      "details";
    row-gap: 14px;
  }
.overview-poster {
    max-width: 220px;
  }
.overview-title {
    font-size: 21px;
  }
.overview-tagline {
    font-size: 12px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls button {
    flex: 1 1 auto;
    text-align: center;
  }}
@media (max-width: 400px) {.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-title {
    font-size: 19px;
  }}

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}
