:root {
  --ink: #0b1016;
  --ink-2: #0f1720;
  --panel: #121b25;
  --panel-2: #16212d;
  --line: #24313f;
  --line-soft: #1b2733;
  --text: #c8d3de;
  --text-dim: #8494a5;
  --text-faint: #5f6f80;
  --gold: #d9a94b;
  --gold-soft: #a9823a;
  --gold-glow: rgba(217, 169, 75, 0.18);
  --green: #1b3a33;
  --black: #05080c;
  --radius: 3px;
  --gap: 12px;
  --font-head: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, figure, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
body {
  background:
    radial-gradient(120% 80% at 12% -5%, rgba(27, 58, 51, 0.35) 0%, rgba(11, 16, 22, 0) 55%),
    radial-gradient(90% 60% at 100% 0%, rgba(29, 44, 66, 0.5) 0%, rgba(11, 16, 22, 0) 50%),
    var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
body.lights-off {
  background: var(--black);
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 10px clamp(14px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(8, 12, 17, 0.96), rgba(8, 12, 17, 0.82));
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: #e7edf4;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  line-height: 1.1;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--gold);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 33, 45, 0.7);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--gold);
  border-color: var(--gold-soft);
  background: rgba(217, 169, 75, 0.08);
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px clamp(14px, 3vw, 34px) 34px;
  max-width: 1320px;
  margin: 0 auto;
}
.section-heading {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #e4ebf2;
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
  margin-bottom: 10px;
  line-height: 1.2;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background:
    linear-gradient(160deg, rgba(27, 58, 51, 0.28), rgba(18, 27, 37, 0) 60%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(217, 169, 75, 0));
  opacity: 0.8;
}
.poster-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  align-self: start;
  min-width: 0;
}
.poster-figure {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.poster-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.poster-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.5) 0%, rgba(5, 8, 12, 0) 32%, rgba(5, 8, 12, 0.62) 100%),
    radial-gradient(70% 45% at 30% 78%, rgba(120, 170, 210, 0.16), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.poster-actions {
  display: flex;
  gap: 8px;
}
.action-button {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--gold-soft);
  background: linear-gradient(180deg, rgba(217, 169, 75, 0.2), rgba(217, 169, 75, 0.06));
  color: #f0d79a;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  flex: 1 1 auto;
}
.action-button:hover {
  background: linear-gradient(180deg, rgba(217, 169, 75, 0.34), rgba(217, 169, 75, 0.12));
  color: #ffe9b8;
  border-color: var(--gold);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.movie-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f2f6fa;
  line-height: 1.14;
}
.movie-tagline {
  margin-top: 6px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.2em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.player-shell {
  position: relative;
  margin: 14px 0 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black);
  overflow: hidden;
}
.player-shell.theater-mode {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 1px rgba(217, 169, 75, 0.18), 0 18px 44px rgba(0, 0, 0, 0.6);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(11, 16, 22, 0.96), rgba(5, 8, 12, 0.96));
  border-top: 1px solid var(--line-soft);
}
.player-btn {
  font-family: var(--font-head);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text-dim);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-btn:hover {
  color: #e7edf4;
  border-color: var(--gold-soft);
}
.player-btn.is-active, .player-btn.play, .player-btn.mute {
  color: var(--gold);
  border-color: var(--gold-soft);
  background: rgba(217, 169, 75, 0.1);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-soft), var(--line));
  outline: none;
  flex: 1 1 90px;
  min-width: 70px;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #0b1016;
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #0b1016;
  border-radius: 50%;
  background: var(--gold);
}
.cast-section {
  margin-top: 18px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px;
  background: rgba(22, 33, 45, 0.6);
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(217, 169, 75, 0.5);
  border-radius: var(--radius);
  min-width: 0;
}
.cast-name {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e9eff5;
}
.cast-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
}
.synopsis-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--text);
  max-width: 74ch;
}
.synopsis-para + .synopsis-para {
  margin-top: 8px;
}
.synopsis-para:first-of-type::first-letter {
  color: var(--gold);
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1;
}
.episode-status {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.status-line {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #e7edf4;
  background: rgba(27, 58, 51, 0.55);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 7px 12px;
}
.details-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(36, 49, 63, 0.75);
  min-width: 0;
}
.detail-key {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  white-space: nowrap;
}
.detail-value {
  font-size: 12.5px;
  color: #dbe4ec;
  text-align: right;
  min-width: 0;
}
.detail-row:nth-child(8) .detail-value {
  color: var(--gold);
  font-weight: 700;
}
.timeline-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 26px;
  padding-left: 4px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 5px;
  width: 1px;
  background: linear-gradient(180deg, rgba(217, 169, 75, 0.7), rgba(36, 49, 63, 0.2));
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(52px, auto) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  padding: 8px 10px 8px 20px;
  border-radius: var(--radius);
  background: rgba(11, 16, 22, 0.45);
  border: 1px solid var(--line-soft);
  align-items: start;
}
.timeline-dot {
  position: absolute;
  left: 1px;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 169, 75, 0.12);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  width: 8px;
  height: 1px;
  background: var(--gold-soft);
}
.timeline-time {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
  padding-left: 8px;
}
.timeline-label {
  grid-column: 2;
  grid-row: 1;
  font-size: 13px;
  line-height: 1.55;
  color: #d3dde6;
}
.episodes-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: rgba(11, 16, 22, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  min-width: 0;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  background: rgba(22, 33, 45, 0.9);
  border-color: rgba(217, 169, 75, 0.4);
  transform: translateY(-1px);
}
.episode-card-active {
  border-color: var(--gold-soft);
  background: linear-gradient(160deg, rgba(217, 169, 75, 0.12), rgba(11, 16, 22, 0.6));
  box-shadow: inset 3px 0 0 var(--gold);
}
.episode-title {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #e9eff5;
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.3;
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(217, 169, 75, 0.4);
  border-radius: 2px;
  padding: 1px 6px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  border-top: 1px solid var(--line-soft);
  padding-top: 4px;
  width: 100%;
}
.comments-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-bubble {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(22, 33, 45, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  min-width: 0;
  margin-left: 0;
}
.comment-bubble:nth-child(even) {
  background: rgba(18, 27, 37, 0.9);
  margin-left: 14px;
}
.comment-bubble:nth-child(3n) {
  border-left: 2px solid rgba(217, 169, 75, 0.45);
}
.comment-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(0.4) brightness(0.85);
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.comment-nickname {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--text);
}
.recommend-region {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.recommend-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.recommend-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(11, 16, 22, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover {
  background: rgba(22, 33, 45, 0.95);
  border-color: rgba(217, 169, 75, 0.45);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line-soft);
  background: var(--black);
  display: block;
}
.recommend-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #e9eff5;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(8, 12, 17, 0.7), rgba(5, 8, 12, 0.95));
  padding: 20px clamp(14px, 3vw, 34px) 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1320px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.friend-links-label {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #4d5b6a;
  max-width: 90ch;
  padding-top: 4px;
  border-top: 1px solid rgba(27, 39, 51, 0.6);
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 18px;
  }
.recommend-grid-four {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
.poster-figure {
    flex: 0 0 160px;
    max-width: 160px;
  }
.poster-actions {
    flex-direction: column;
    flex: 1 1 auto;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-four, .recommend-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 600px) {body {
    font-size: 13.5px;
  }
.page-main {
    gap: 16px;
    padding-top: 14px;
  }
.site-header {
    padding: 8px 12px;
  }
.movie-overview, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding: 12px;
  }
.poster-column {
    flex-direction: column;
  }
.poster-figure {
    flex: 0 0 auto;
    max-width: 220px;
  }
.poster-actions {
    flex-direction: row;
    max-width: 220px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list::before {
    left: 5px;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-bubble:nth-child(even) {
    margin-left: 0;
  }
.recommend-grid-four, .recommend-grid-three {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
  }
.player-range {
    flex: 1 1 100%;
  }}
@media (max-width: 400px) {.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-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}
