:root {
  --ink: #0a0e1a;
  --indigo: #141a33;
  --indigo-2: #1b2244;
  --gold: #c9a227;
  --gold-dim: #8a6f1c;
  --gold-bright: #e8c95a;
  --text: #d8d5cc;
  --text-dim: #8f8c86;
  --line: rgba(201, 162, 39, 0.28);
  --panel: rgba(20, 26, 51, 0.72);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(201, 162, 39, 0.14), transparent 60%),
    radial-gradient(90% 50% at 12% 8%, rgba(52, 68, 140, 0.35), transparent 65%),
    linear-gradient(180deg, #0a0e1a 0%, #0d1224 40%, #0a0e1a 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  font-stretch: condensed;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 18px;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.96), rgba(10, 14, 26, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-brand {
  display: flex;
  align-items: baseline;
  min-width: 0;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(201, 162, 39, 0.45);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff0bd;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 8px 3px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--line);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 26px;
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0 18px;
  border-bottom: 1px solid var(--line);
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: -20px -60px 0;
  background:
    radial-gradient(60% 80% at 22% 40%, rgba(201, 162, 39, 0.12), transparent 70%),
    radial-gradient(50% 70% at 78% 30%, rgba(58, 76, 160, 0.28), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.overview-poster-wrap {
  position: relative;
  z-index: 1;
  align-self: start;
  width: 100%;
  max-width: 260px;
}
.overview-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.16), transparent 45%, rgba(10, 14, 26, 0.55));
  pointer-events: none;
}
.overview-poster {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 0 0 1px rgba(10, 14, 26, 0.9), 0 10px 34px rgba(0, 0, 0, 0.62);
}
.overview-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.overview-heading {
  font-family: var(--serif);
  font-size: clamp(24px, 4.4vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #f2e6c2;
  text-shadow:
    0 0 22px rgba(201, 162, 39, 0.35),
    0 2px 0 rgba(10, 14, 26, 0.9);
  background-image: repeating-linear-gradient(
    108deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 5px
  );
}
.overview-tagline {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: #b7b3a6;
  max-width: 62ch;
  border-left: 2px solid var(--gold-dim);
  padding-left: 10px;
}
.overview-player-wrap {
  position: relative;
  width: 100%;
  display: block;
  margin-top: 4px;
  background: #06080f;
  border: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(20, 26, 51, 0.9), rgba(10, 14, 26, 0.95));
  border-top: 1px solid var(--line);
}
.player-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text);
  background: rgba(27, 34, 68, 0.9);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.player-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
}
.player-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  background: transparent;
}
.player-select {
  flex: 0 0 auto;
  padding: 2px 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text);
  background: rgba(27, 34, 68, 0.9);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.overview-player-wrap.is-muted .player-btn[data-player-action="mute"] {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.overview-player-wrap.is-playing .player-btn[data-player-action="play"] {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.overview-player-wrap.is-paused .player-video {
  opacity: 0.86;
}
body.is-theater .overview-player-wrap {
  position: fixed;
  inset: 0;
  z-index: 90;
  margin: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #04060c;
}
body.is-theater .player-video {
  max-height: 82vh;
  object-fit: contain;
}
body.is-lights-off .page-main > :not(.movie-overview), body.is-lights-off .site-footer, body.is-lights-off .site-header {
  opacity: 0.32;
  transition: opacity 0.25s ease;
}
.panel-heading, .section-heading {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
  line-height: 1.3;
}
.panel-heading {
  font-size: 15px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  font-size: 17px;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
}
.cast-panel {
  margin-top: 2px;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 64px;
}
.cast-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(232, 201, 90, 0.55), transparent 55%),
    linear-gradient(160deg, #2a3466, #10152b);
  border: 1px solid var(--gold-dim);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7), 0 0 10px rgba(201, 162, 39, 0.16);
}
.cast-name {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #c2bfb4;
  text-align: center;
  white-space: nowrap;
}
.synopsis-panel {
  margin-top: 2px;
}
.synopsis-lead {
  font-size: 13px;
  line-height: 1.7;
  color: #cfcabb;
  padding: 7px 9px;
  background: rgba(201, 162, 39, 0.06);
  border-left: 2px solid var(--gold-dim);
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 6px 18px;
  margin-top: 7px;
}
.synopsis-item {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.68;
  color: #a9a69b;
}
.synopsis-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(201, 162, 39, 0.7);
}
.episode-status, .details-panel {
  margin-top: 2px;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}
.status-key {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.status-key::after {
  content: "·";
  margin-left: 6px;
  color: var(--gold-dim);
}
.status-value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold-bright);
  margin-right: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 3px 16px;
  padding-top: 2px;
  border-top: 1px solid rgba(201, 162, 39, 0.14);
}
.details-key {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  grid-column: 1;
}
.details-value {
  font-size: 12.5px;
  color: #cfcabb;
  margin-bottom: 4px;
  border-bottom: 1px dotted rgba(201, 162, 39, 0.16);
  padding-bottom: 3px;
}
.details-list .details-key, .details-list .details-value {
  display: inline-block;
}
.details-list {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
@media (min-width: 700px) {.details-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
.details-key {
    grid-column: auto;
    display: block;
  }
.details-value {
    display: block;
  }}
.recommend-region {
  margin-top: 16px;
  padding: 10px 0 4px;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
}
.recommend-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.recommend-region-1 .recommend-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.recommend-region-2 .recommend-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.recommend-region-3 .recommend-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.recommend-region-4 .recommend-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: var(--text);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35), 0 6px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  text-decoration: none;
}
a[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #0d1224;
  border: 1px solid rgba(201, 162, 39, 0.2);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #eadfbc;
  line-height: 1.35;
}
.recommend-blurb {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.55;
  color: #94918a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.plot-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
}
.timeline-panel {
  min-width: 0;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 18px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(201, 162, 39, 0.1),
    rgba(232, 201, 90, 0.75),
    rgba(201, 162, 39, 0.1)
  );
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.6);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding: 5px 8px;
  background: rgba(20, 26, 51, 0.5);
  border-left: 1px solid transparent;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(232, 201, 90, 0.9);
}
.timeline-timecode {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  min-width: 42px;
}
.timeline-label {
  flex: 1 1 120px;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.6;
  color: #b5b2a7;
}
.episodes-panel {
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px 9px;
  background: rgba(18, 24, 48, 0.62);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 2px;
  overflow: hidden;
}
.episode-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(232, 201, 90, 0.85) 48% 52%, transparent 52%),
    linear-gradient(135deg, transparent 0 72%, rgba(201, 162, 39, 0.5) 72% 76%, transparent 76%);
  pointer-events: none;
}
.episode-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e6d9b4;
  line-height: 1.35;
}
.episode-summary {
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.6;
  color: #9d9a90;
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--gold-dim);
  border-top: 1px solid rgba(201, 162, 39, 0.16);
  padding-top: 3px;
  width: 100%;
}
.comments-panel {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: rgba(16, 21, 42, 0.55);
  border-left: 2px solid rgba(201, 162, 39, 0.4);
}
.comment-card:nth-child(even) {
  transform: translateY(10px);
  background: rgba(22, 28, 56, 0.5);
  border-left-color: rgba(110, 130, 210, 0.55);
}
.comment-nickname {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--gold-dim);
}
.comment-nickname::before {
  content: "— ";
  color: rgba(201, 162, 39, 0.5);
}
.comment-text {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.68;
  color: #c4c1b6;
}
.site-footer {
  margin-top: 28px;
  padding: 14px 18px 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.6), rgba(8, 11, 20, 0.95));
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-disclaimer {
  flex: 1 1 260px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.7;
  color: #6f6d67;
  max-width: 68ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #b9b4a4;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}
a[data-contract="footer-sitemap"]:hover {
  color: #9fb0e8;
  border-bottom-color: #6e82d2;
}
.friend-links {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-top: 8px;
  border-top: 1px dotted rgba(201, 162, 39, 0.18);
}
.friend-links-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-family: var(--sans);
  font-size: 11.5px;
  color: #7f7d76;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.player-btn.change, .player-btn.click {
  color: var(--gold-bright);
}
.player.select, .player-select.input {
  outline: 1px solid var(--gold);
}
.player-video.progress {
  filter: none;
}
@media (max-width: 900px) {.plot-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-top: 16px;
  }
.overview-poster-wrap {
    max-width: 190px;
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(even) {
    transform: none;
  }
.site-header {
    padding: 7px 12px;
  }
.page-main {
    padding: 0 12px 20px;
  }}
@media (max-width: 520px) {body {
    font-size: 13px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-poster-wrap {
    max-width: 150px;
  }
.cast-member {
    width: 56px;
  }
.cast-avatar {
    width: 42px;
    height: 42px;
  }
.synopsis-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 4px;
    padding: 5px 6px;
  }
.player-range {
    flex: 1 1 100%;
  }
.site-footer {
    padding: 12px;
  }}
@media (max-width: 400px) {.overview-heading {
    font-size: 22px;
  }
.timeline-node {
    flex-direction: column;
    gap: 2px;
  }
.timeline-timecode {
    min-width: 0;
  }}

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}
