:root {
  --bg-deep: #10151c;
  --bg-panel: #161d27;
  --bg-raised: #1c2530;
  --bg-hover: #232e3c;
  --line: #26303c;
  --line-soft: #1e2731;
  --ink: #d4dae2;
  --ink-dim: #8b97a6;
  --ink-faint: #5f6b7a;
  --warm: #c99a63;
  --warm-bright: #e0b47e;
  --warm-glow: rgba(201, 154, 99, 0.14);
  --cool: #5a7a96;
  --font-title: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 90% 55% at 12% 0%, rgba(90, 122, 150, 0.13), transparent 62%),
    radial-gradient(ellipse 70% 40% at 92% 6%, rgba(201, 154, 99, 0.07), transparent 60%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2 {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 21, 28, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 9px 20px;
}
.site-brand {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--warm-bright);
  text-shadow: 0 0 14px rgba(201, 154, 99, 0.28);
  white-space: nowrap;
}
.site-brand:hover {
  color: #f0cfa4;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12.5px;
  color: var(--ink-dim);
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.runtime-category:hover, .runtime-category:focus-visible {
  color: var(--warm-bright);
  background: var(--warm-glow);
  border-color: rgba(201, 154, 99, 0.35);
}
.page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px 20px 40px;
}
.section-heading {
  position: relative;
  margin-bottom: 12px;
  padding-left: 11px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e6ebf1;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.22em;
  width: 3px;
  background: linear-gradient(180deg, var(--warm-bright), rgba(201, 154, 99, 0.15));
}
.movie-overview {
  display: block;
}
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(16, 21, 28, 0.2) 0%, rgba(16, 21, 28, 0.86) 52%, var(--bg-deep) 100%),
    linear-gradient(180deg, #1b232e, #131a23);
}
.poster-column {
  position: relative;
  grid-column: 1 / 2;
  grid-row: 1;
  overflow: hidden;
  align-self: start;
}
.poster-column::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 42%, rgba(16, 21, 28, 0.72) 88%, var(--bg-deep) 100%),
    radial-gradient(ellipse 70% 60% at 30% 42%, rgba(201, 154, 99, 0.13), transparent 68%);
  pointer-events: none;
}
.main-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.82) contrast(1.06) brightness(0.86);
}
.hero-overlay {
  position: relative;
  z-index: 2;
  grid-column: 2 / 3;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 26px 26px 26px 4px;
  margin-left: -14%;
  pointer-events: none;
}
.movie-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: #f2f5f8;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.85),
    0 0 42px rgba(201, 154, 99, 0.18);
}
.movie-tagline {
  max-width: 30ch;
  padding-left: 12px;
  border-left: 2px solid rgba(201, 154, 99, 0.55);
  font-size: 13.5px;
  line-height: 1.65;
  color: #b9c3ce;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}
.player-shell {
  position: relative;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: #0b0f14;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.player-shell.is-theater {
  border-color: rgba(201, 154, 99, 0.45);
  box-shadow: 0 0 0 1px rgba(201, 154, 99, 0.18), 0 18px 48px rgba(0, 0, 0, 0.6);
}
.player-shell.is-lights-off::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 9, 0.78);
  pointer-events: none;
  z-index: 3;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05080b;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #141b24, #10151c);
  border-top: 1px solid var(--line-soft);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-dim);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--warm-bright);
  background: var(--bg-hover);
  border-color: rgba(201, 154, 99, 0.42);
  outline: none;
}
.ctrl-btn.is-active {
  color: #10151c;
  background: var(--warm);
  border-color: var(--warm-bright);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  accent-color: var(--warm);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 4px;
  accent-color: var(--cool);
  cursor: pointer;
}
.player-video.is-muted {
  filter: saturate(0.9);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 10px;
  padding: 7px 12px;
  border-left: 2px solid var(--warm);
  background: linear-gradient(90deg, var(--warm-glow), transparent 70%);
}
.status-item {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.status-total {
  color: var(--ink-faint);
}
.status-current {
  font-weight: 600;
  color: var(--warm-bright);
}
.synopsis-block {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-para {
  padding: 5px 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #a9b4c1;
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  border-top: 1px solid rgba(38, 48, 60, 0.45);
}
.synopsis-para:first-letter {
  color: var(--warm-bright);
}
.cast-block {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 6px;
  text-align: center;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.cast-card:hover {
  background: var(--bg-raised);
  border-color: rgba(201, 154, 99, 0.3);
}
.cast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(224, 180, 126, 0.5), transparent 58%),
    linear-gradient(160deg, #2a3542, #151c25);
  border: 1px solid rgba(201, 154, 99, 0.24);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.55);
}
.cast-name {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #dde3ea;
}
.cast-role {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--ink-faint);
}
.details-block {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 22px;
  padding: 10px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(90, 122, 150, 0.5);
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(38, 48, 60, 0.5);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.detail-value {
  font-size: 12.5px;
  font-weight: 500;
  color: #c3ccd6;
  text-align: right;
}
.timeline-block {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--warm) var(--bg-panel);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--bg-panel);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: rgba(201, 154, 99, 0.45);
}
.timeline-node {
  position: relative;
  flex: 0 0 216px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px 10px 16px;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 29, 39, 0.6), transparent);
  transition: background-color 0.18s ease;
}
.timeline-node:last-child {
  border-right: 1px solid var(--line);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cool);
  box-shadow: 0 0 0 3px rgba(16, 21, 28, 1);
}
.timeline-node:hover {
  background: linear-gradient(180deg, var(--bg-raised), transparent);
}
.timeline-node-active {
  background: linear-gradient(180deg, var(--warm-glow), transparent);
  border-left-color: rgba(201, 154, 99, 0.55);
}
.timeline-node-active::before {
  background: var(--warm-bright);
  box-shadow: 0 0 0 3px rgba(16, 21, 28, 1), 0 0 12px rgba(224, 180, 126, 0.75);
}
.timeline-timecode {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--warm);
}
.timeline-node-active .timeline-timecode {
  color: var(--warm-bright);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.6;
  color: #9fabba;
}
.timeline-node-active .timeline-label {
  color: #d3dae2;
}
.episodes-block {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-template-areas:
    "num title title dur"
    "sum sum sum sum";
  align-items: center;
  gap: 3px 10px;
  padding: 9px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(90, 122, 150, 0.4);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.episode-card:hover {
  background: var(--bg-hover);
  border-color: var(--line);
  border-left-color: var(--warm);
}
.episode-card-active {
  background: linear-gradient(90deg, var(--warm-glow), var(--bg-panel) 62%);
  border-left-color: var(--warm-bright);
  border-color: rgba(201, 154, 99, 0.32);
}
.episode-number {
  grid-area: num;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cool);
  white-space: nowrap;
}
.episode-card-active .episode-number {
  color: var(--warm-bright);
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 600;
  color: #dbe1e8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.55;
  color: #8d99a7;
}
.comments-block {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.comments-masonry {
  columns: 3;
  column-gap: 8px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 8px;
  padding: 9px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-top: 2px solid rgba(90, 122, 150, 0.35);
}
.comment-nickname {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--warm);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: #9fabb9;
}
.recommend-region {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.region-heading {
  display: inline-block;
  margin-bottom: 10px;
  padding-bottom: 4px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e2e7ed;
  border-bottom: 1px solid rgba(201, 154, 99, 0.4);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.recommend-item:hover, .recommend-item:focus-visible {
  background: var(--bg-hover);
  border-color: rgba(201, 154, 99, 0.35);
  outline: none;
  transform: translateY(-1px);
}
.recommend-pic {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #0d1218;
  filter: saturate(0.8) brightness(0.92);
}
.recommend-item:hover .recommend-pic {
  filter: saturate(1) brightness(1.02);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #ccd4dd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 34px;
  padding: 18px 20px 26px;
  background: #0c1116;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  max-width: 1360px;
  margin: 0 auto 10px;
}
.footer-link {
  color: var(--ink-dim);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.16s ease;
}
.footer-link:hover, .footer-link:focus-visible {
  color: var(--warm-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  max-width: 1360px;
  margin: 0 auto 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.runtime-friend-link {
  font-size: 11.5px;
  color: #7d8998;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
.runtime-friend-link:hover, .runtime-friend-link:focus-visible {
  color: var(--cool);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  line-height: 1.7;
  color: #4f5a67;
}
@media (max-width: 1080px) {.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-masonry {
    columns: 2;
  }}
@media (max-width: 860px) {.hero-visual {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
.poster-column {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: 46vh;
  }
.main-poster {
    width: 100%;
    height: 46vh;
    max-height: 46vh;
    object-fit: cover;
    object-position: center 24%;
  }
.hero-overlay {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    margin-left: 0;
    padding: 16px 18px 18px;
    background: linear-gradient(180deg, rgba(16, 21, 28, 0.6), var(--bg-deep));
  }
.movie-tagline {
    max-width: none;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {.page-main {
    padding: 14px 14px 32px;
  }
.header-inner {
    padding: 8px 14px;
    gap: 12px;
  }
.site-brand {
    font-size: 15px;
  }
.movie-title {
    font-size: 26px;
  }
.movie-tagline {
    font-size: 12.5px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 12px;
  }
.timeline-node {
    flex: 0 0 190px;
  }
.comments-masonry {
    columns: 1;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.ctrl-btn {
    padding: 3px 8px;
    font-size: 11.5px;
  }
.ctrl-progress {
    flex-basis: 100%;
  }}
@media (max-width: 400px) {.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
