*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg-deep: #05080f;
  --bg-panel: #0a0f1a;
  --bg-raised: #0e1524;
  --line: #16283d;
  --line-bright: #1f4a63;
  --cyan: #35f4e6;
  --cyan-dim: #1a8f92;
  --red: #ff2f4e;
  --red-dim: #8f1a2b;
  --text: #c3d6e4;
  --text-dim: #6d8497;
  --text-faint: #44576b;
}
html {
  background: var(--bg-deep);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-stretch: condensed;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(rgba(5, 8, 15, 0.86), rgba(5, 8, 15, 0.94)),
    repeating-linear-gradient(0deg, rgba(53, 244, 230, 0.035) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 78% 14%, rgba(26, 143, 146, 0.16), transparent 42%),
    radial-gradient(circle at 12% 78%, rgba(143, 26, 43, 0.12), transparent 46%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}
a {
  color: var(--cyan);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--cyan);
  color: #04070c;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 8, 15, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dim) 18%, transparent 62%, var(--red-dim));
  opacity: 0.75;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 7px 16px;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--cyan);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(53, 244, 230, 0.55);
  padding-right: 10px;
  border-right: 1px solid var(--line-bright);
}
a[data-contract="site-name"]:hover {
  color: #ffffff;
  text-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(53, 244, 230, 0.4);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(14, 21, 36, 0.6);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--cyan);
  border-color: var(--line-bright);
  background: rgba(26, 143, 146, 0.14);
  box-shadow: 0 0 10px rgba(53, 244, 230, 0.18) inset;
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.block-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-left: 9px;
  margin-bottom: 8px;
  border-left: 3px solid var(--red);
  text-shadow: 0 0 10px rgba(53, 244, 230, 0.35);
}
.overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 16px;
  background: linear-gradient(160deg, rgba(14, 21, 36, 0.94), rgba(8, 12, 22, 0.94));
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan-dim);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.overview-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(53, 244, 230, 0.028) 0 1px, transparent 1px 4px);
}
.poster-column {
  position: relative;
  z-index: 1;
}
.poster-media {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-bright);
  background: #04070c;
  box-shadow: 0 0 0 1px rgba(5, 8, 15, 0.9), 0 10px 26px rgba(0, 0, 0, 0.7);
}
.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 15, 0.7));
  mix-blend-mode: multiply;
}
.poster-media img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.82) contrast(1.08) brightness(0.94);
}
.overview-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(26px, 4.6vw, 44px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.02;
  color: #eaf7ff;
  text-shadow:
    2px 0 0 rgba(255, 47, 78, 0.42),
    -2px 0 0 rgba(53, 244, 230, 0.42),
    0 0 22px rgba(53, 244, 230, 0.22);
}
.movie-tagline {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--red);
  text-transform: none;
  border-bottom: 1px dashed var(--line-bright);
  padding-bottom: 7px;
  text-shadow: 0 0 8px rgba(255, 47, 78, 0.35);
}
.detail-block {
  min-width: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 8px;
  background: rgba(8, 12, 22, 0.86);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--text);
  word-break: break-word;
}
.synopsis-block {
  min-width: 0;
  padding-top: 2px;
  border-top: 1px solid rgba(31, 74, 99, 0.4);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text);
  margin-bottom: 6px;
  padding-left: 10px;
  border-left: 2px solid rgba(26, 143, 146, 0.35);
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  color: var(--cyan);
  border: 1px solid var(--line-bright);
  background: rgba(26, 143, 146, 0.12);
  border-radius: 1px;
  white-space: nowrap;
}
.status-chip:last-child {
  color: var(--red);
  border-color: var(--red-dim);
  background: rgba(143, 26, 43, 0.14);
}
.cast-block {
  min-width: 0;
  padding-top: 2px;
  border-top: 1px solid rgba(31, 74, 99, 0.4);
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 62px;
  flex: 0 0 auto;
}
.cast-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
  background:
    linear-gradient(140deg, rgba(53, 244, 230, 0.32), rgba(26, 143, 146, 0.08) 55%, rgba(143, 26, 43, 0.28)),
    #0c1420;
  border: 1px solid var(--line-bright);
  box-shadow: 0 0 10px rgba(53, 244, 230, 0.16), inset 0 0 12px rgba(5, 8, 15, 0.8);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.cast-item:hover .cast-avatar {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(53, 244, 230, 0.42);
}
.cast-name {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.14em;
}
.player-section {
  padding: 14px 16px 16px;
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red-dim);
  border-radius: 2px;
}
.player-section.theater-mode {
  border-left-color: var(--cyan);
  background: #04070c;
  box-shadow: 0 0 30px rgba(53, 244, 230, 0.12);
}
.player-frame {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border: 1px solid var(--line-bright);
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: rgba(6, 10, 18, 0.92);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.ctrl-btn {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  color: var(--text-dim);
  background: rgba(14, 21, 36, 0.9);
  border: 1px solid var(--line);
  border-radius: 1px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--cyan);
  border-color: var(--line-bright);
  background: rgba(26, 143, 146, 0.16);
  outline: none;
}
.ctrl-btn.is-playing {
  color: #04070c;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(53, 244, 230, 0.5);
}
.ctrl-btn.is-muted {
  color: var(--red);
  border-color: var(--red-dim);
  background: rgba(143, 26, 43, 0.18);
}
.ctrl-btn.is-active {
  color: #04070c;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 12px rgba(255, 47, 78, 0.45);
}
.ctrl-range {
  flex: 1 1 110px;
  min-width: 80px;
  height: 16px;
  cursor: pointer;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-dim), var(--line-bright));
  border-radius: 0;
}
.ctrl-range::-moz-range-track {
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-dim), var(--line-bright));
  border-radius: 0;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  background: var(--cyan);
  border: 1px solid #04070c;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(53, 244, 230, 0.7);
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border: 1px solid #04070c;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(53, 244, 230, 0.7);
}
.ctrl-select {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 11px;
  padding: 4px 6px;
  color: var(--text-dim);
  background: rgba(14, 21, 36, 0.9);
  border: 1px solid var(--line);
  border-radius: 1px;
}
.ctrl-select.is-altered {
  color: var(--red);
  border-color: var(--red-dim);
}
body.lights-off .player-section {
  background: #020407;
  border-color: #0a0f1a;
}
body.lights-off .page-main {
  opacity: 0.94;
}
.timeline-section {
  min-width: 0;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-dim) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(14, 21, 36, 0.6);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--cyan-dim);
}
.timeline-card {
  flex: 0 0 172px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: stretch;
  padding: 9px 10px;
  scroll-snap-align: start;
  background: linear-gradient(180deg, rgba(14, 21, 36, 0.92), rgba(8, 12, 22, 0.92));
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan-dim);
  border-radius: 2px;
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
.timeline-card:hover {
  border-top-color: var(--red);
  box-shadow: 0 0 16px rgba(53, 244, 230, 0.14);
  transform: translateY(-2px);
}
.timeline-timecode {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  border-right: 1px solid var(--line-bright);
  padding-right: 7px;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(53, 244, 230, 0.35);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  align-self: start;
}
.episodes-section {
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "num  dur"
    "tit  tit"
    "sum  sum";
  gap: 3px 8px;
  padding: 9px 10px 10px;
  background: rgba(10, 15, 26, 0.86);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-bright);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.16s, background 0.16s;
}
.episode-card:hover {
  border-left-color: var(--red);
  background: rgba(14, 21, 36, 0.94);
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(53, 244, 230, 0.35);
}
.episode-title {
  grid-area: tit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e6f3fb;
  line-height: 1.25;
}
.episode-duration {
  grid-area: dur;
  justify-self: end;
  align-self: start;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, opacity 0.2s ease, margin-top 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 120px;
  opacity: 1;
  margin-top: 3px;
}
.comments-section {
  min-width: 0;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  padding: 9px 11px 10px;
  background: rgba(11, 17, 29, 0.92);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  transition: transform 0.16s, border-color 0.16s;
}
.comment-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cyan-dim);
}
.comment-card:nth-child(even)::before {
  background: var(--red-dim);
}
.comment-card:hover {
  border-color: var(--line-bright);
  transform: translateY(-2px);
}
.comment-nickname {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 4px;
}
.comment-card:nth-child(even) .comment-nickname {
  color: #ff7a8d;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--text);
}
.recommend-region {
  min-width: 0;
}
.recommend-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  padding: 4px 8px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, rgba(26, 143, 146, 0.24), rgba(14, 21, 36, 0) 72%);
  border-left: 3px solid var(--cyan);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  color: var(--text);
  text-decoration: none;
  background: rgba(10, 15, 26, 0.9);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.16s, background 0.16s, box-shadow 0.16s;
}
a.recommend-card:hover {
  border-color: var(--line-bright);
  background: rgba(14, 21, 36, 0.96);
  box-shadow: 0 0 14px rgba(53, 244, 230, 0.14);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #04070c;
  border: 1px solid var(--line);
  filter: saturate(0.85) contrast(1.06) brightness(0.95);
  transition: filter 0.18s;
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1.05) contrast(1.1) brightness(1.02);
}
.recommend-name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #e6f3fb;
  line-height: 1.3;
}
[data-runtime="recommendation"]:hover .recommend-name {
  color: var(--cyan);
}
.recommend-blurb {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 12, 0.95);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red-dim), transparent 40%, var(--cyan-dim));
  opacity: 0.7;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(22, 40, 61, 0.8);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-transform: uppercase;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.15s, text-shadow 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(53, 244, 230, 0.4);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 78ch;
}
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 1px;
}
@media (max-width: 1024px) {.overview-shell {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 18px;
  }
.recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.page-main {
    gap: 18px;
    padding: 12px 12px 24px;
  }
.overview-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
  }
.poster-column {
    max-width: 200px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {body {
    font-size: 12.5px;
  }
.header-inner {
    padding: 6px 12px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 14px;
    border-right: none;
    padding-right: 0;
  }
.movie-title {
    font-size: clamp(24px, 8vw, 34px);
  }
.detail-grid {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
.cast-item {
    width: 56px;
  }
.cast-avatar {
    width: 42px;
    height: 42px;
  }
.player-controls {
    gap: 5px;
  }
.ctrl-btn {
    font-size: 10.5px;
    padding: 3px 7px;
  }
.ctrl-range {
    flex: 1 1 100%;
    min-width: 0;
  }
.timeline-card {
    flex: 0 0 158px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card .episode-summary {
    max-height: none;
    opacity: 1;
    margin-top: 3px;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-inner {
    padding: 12px 12px 18px;
  }}
@media (max-width: 420px) {.poster-column {
    max-width: 168px;
  }
.recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    gap: 8px 10px;
  }
.timeline-card {
    flex: 0 0 148px;
  }}

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}
