:root {
  --ink: #06100c;
  --felt: #0b2018;
  --felt-2: #0f2a1f;
  --felt-3: #143528;
  --gold: #c9a227;
  --gold-soft: #e0c46a;
  --ivory: #efe7d2;
  --ivory-dim: #c9c2ad;
  --alarm: #c8102e;
  --line: rgba(201, 162, 39, 0.28);
  --line-soft: rgba(239, 231, 210, 0.12);
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --serif: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --gothic: "STZhongsong", "Songti SC", "Noto Serif SC", Georgia, serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(201, 162, 39, 0.10), transparent 60%),
    linear-gradient(180deg, #05100c 0%, #08170f 40%, #0a1c14 100%);
  background-color: var(--ink);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p {
  margin: 0;
}
a {
  color: var(--gold-soft);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--alarm);
  color: var(--ivory);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 8px 14px;
  background: linear-gradient(180deg, rgba(4, 12, 8, 0.96), rgba(4, 12, 8, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-branding {
  display: flex;
  align-items: center;
}
a[data-contract="site-name"] {
  font-family: var(--gothic);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(201, 162, 39, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--gold-soft);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ivory-dim);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
main.movie-detail {
  display: block;
  padding: 10px 14px 22px;
  max-width: 1320px;
  margin: 0 auto;
}
main.movie-detail.lights-off {
  background: #020604;
}
.section-heading {
  font-family: var(--gothic);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ivory);
  padding-bottom: 4px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.gold-heading {
  color: var(--gold);
  border-bottom-color: rgba(201, 162, 39, 0.5);
  text-shadow: 0 0 12px rgba(201, 162, 39, 0.3);
}
.hero-table {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(20, 53, 40, 0.85), transparent 70%),
    radial-gradient(60% 50% at 85% 90%, rgba(201, 162, 39, 0.10), transparent 70%),
    linear-gradient(180deg, #061410 0%, #0a1e16 55%, #050f0b 100%);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.85), 0 8px 26px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  justify-self: start;
  max-width: 100%;
  width: 100%;
  border: 1px solid rgba(239, 231, 210, 0.16);
  border-radius: 2px;
  background: #030a07;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06) brightness(0.9);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-family: var(--gothic);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0.08em;
  color: var(--ivory);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}
.movie-tagline {
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
}
.player-shell {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #020905;
  padding: 6px;
}
.player-shell.lights-off {
  background: #000;
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 0 26px rgba(201, 162, 39, 0.18);
}
.main-player {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.player-btn {
  appearance: none;
  border: 1px solid var(--line-soft);
  background: rgba(15, 42, 31, 0.9);
  color: var(--ivory-dim);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.player-btn.is-active, .player-btn.is-muted {
  color: var(--ink);
  background: var(--alarm);
  border-color: var(--alarm);
}
.player-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(239, 231, 210, 0.18) 0%);
  background-color: rgba(239, 231, 210, 0.18);
  border-radius: 999px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold);
}
.player-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
}
.player-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 4px;
  appearance: none;
  background-color: rgba(239, 231, 210, 0.18);
  border-radius: 999px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-soft);
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-soft);
}
.player-speed {
  appearance: none;
  border: 1px solid var(--line-soft);
  background: rgba(15, 42, 31, 0.9);
  color: var(--ivory-dim);
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 3px 6px;
  border-radius: 999px;
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 6px 8px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--alarm);
  background: rgba(6, 16, 12, 0.7);
  border-radius: 2px;
}
.episode-status span {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
}
.status-current {
  color: var(--alarm) !important;
  font-weight: 700;
}
.status-total, .status-score {
  font-family: var(--mono);
  color: var(--gold-soft) !important;
}
.status-platform {
  color: var(--ivory) !important;
}
.synopsis {
  padding: 8px 10px 10px;
  background: rgba(11, 32, 24, 0.62);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ivory-dim);
  text-indent: 1.6em;
  margin-bottom: 5px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.cast-row {
  padding: 8px 10px 10px;
  background: rgba(11, 32, 24, 0.45);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.cast-card {
  min-width: 0;
}
.cast-figure {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(239, 231, 210, 0.18);
  border-radius: 2px;
  background: #06110c;
}
.cast-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.92);
  transition: filter 0.25s;
}
.cast-figure:hover .cast-photo {
  filter: grayscale(0.2) contrast(1.05) brightness(1);
}
.cast-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3px 5px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(3, 9, 6, 0), rgba(3, 9, 6, 0.9));
  text-align: center;
}
.details-panel {
  padding: 8px 10px 10px;
  background: rgba(11, 32, 24, 0.45);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 10px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(239, 231, 210, 0.1);
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ivory-dim);
  text-align: right;
}
.timeline-section {
  margin-bottom: 14px;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, rgba(8, 22, 16, 0.92), rgba(6, 17, 12, 0.92));
  border: 1px solid var(--line);
  border-radius: 3px;
}
.timeline-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
  margin-left: 4px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 5px 0 5px 8px;
  border-bottom: 1px solid rgba(239, 231, 210, 0.07);
}
.timeline-item:last-child {
  border-bottom: 0;
}
.timeline-timecode {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gold);
  white-space: nowrap;
}
.timeline-chip {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), #8b6f14 70%);
  border: 1px solid rgba(239, 231, 210, 0.55);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  justify-self: center;
}
.timeline-chip::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px dashed rgba(6, 16, 12, 0.7);
}
.timeline-label {
  font-size: 12.5px;
  color: var(--ivory-dim);
  overflow-wrap: anywhere;
}
.episodes-section {
  margin-bottom: 14px;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, rgba(19, 45, 34, 0.95), rgba(12, 32, 23, 0.95));
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 3px;
}
.episode-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.episode-card {
  min-width: 0;
}
.episode-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 12px 12px 10px;
  background: linear-gradient(160deg, #f4eddb 0%, #e7dfc9 100%);
  color: #10160f;
  border: 1px solid #cfc4a4;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #8a6f14;
}
.episode-title {
  font-family: var(--gothic);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #0d1a12;
}
.episode-summary {
  flex: 1 1 auto;
  font-size: 12.5px;
  line-height: 1.6;
  color: #3a4436;
}
.episode-duration {
  align-self: flex-end;
  font-family: var(--mono);
  font-size: 11px;
  color: #6d5a12;
  border-top: 1px solid rgba(13, 26, 18, 0.16);
  padding-top: 3px;
}
.comments-section {
  margin-bottom: 14px;
  padding: 10px 12px 14px;
  background: linear-gradient(180deg, rgba(10, 28, 20, 0.9), rgba(7, 20, 14, 0.9));
  border: 1px solid var(--line);
  border-radius: 3px;
}
.comment-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.comment-chip {
  position: relative;
  padding: 8px 10px 9px;
  background: linear-gradient(180deg, rgba(20, 53, 40, 0.95), rgba(13, 36, 26, 0.95));
  border: 1px solid var(--line-soft);
  border-radius: 999px 4px 4px 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}
.comment-chip:nth-child(even) {
  border-radius: 4px 999px 4px 4px;
  margin-left: 10px;
}
.comment-chip:nth-child(3n) {
  margin-left: 4px;
  margin-right: 8px;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}
.comment-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  filter: grayscale(1) brightness(0.95);
}
.comment-nickname {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ivory-dim);
}
.recommend-region {
  margin-bottom: 14px;
  padding: 10px 12px 12px;
  background: rgba(9, 24, 17, 0.85);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.recommend-heading {
  font-family: var(--gothic);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
  text-shadow: 0 0 12px rgba(201, 162, 39, 0.35);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
a.recommend-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 1px;
  align-content: start;
  padding: 5px;
  background: rgba(15, 42, 31, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  color: var(--ivory-dim);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  min-width: 0;
}
a.recommend-item:hover {
  background: rgba(20, 53, 40, 0.85);
  border-color: var(--gold);
}
.recommend-pic {
  grid-row: span 2;
  align-self: start;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(239, 231, 210, 0.16);
  filter: saturate(0.8) brightness(0.9);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.recommend-name {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ivory);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ivory-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  padding: 12px 14px 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 12, 8, 0.6), rgba(3, 9, 6, 0.95));
}
.footer-disclaimer {
  max-width: 1320px;
  margin: 0 auto 8px;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(201, 194, 173, 0.72);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 1320px;
  margin: 0 auto 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ivory);
  border-bottom-color: var(--gold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  max-width: 1320px;
  margin: 0 auto;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: rgba(201, 194, 173, 0.78);
  text-decoration: none;
  border-bottom: 1px dotted rgba(201, 162, 39, 0.35);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}
.player.play, .player.pause, .player.progress, .player.speed, .player.volume, .player.mute, .player.pip, .player.fullscreen, .player.theater, .player.light, .player.input, .player.click, .player.change, .player.timeupdate {
  transition: all 0.15s ease;
}
.theater-mode .hero-table {
  border-color: rgba(201, 162, 39, 0.6);
}
.theater-mode .player-shell {
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.22);
}
.theater-mode .main-player {
  filter: brightness(1.04);
}
.lights-off .player-btn, .lights-off .player-speed {
  border-color: rgba(201, 162, 39, 0.35);
}
@media (min-width: 760px) {body {
    font-size: 15.5px;
  }
main.movie-detail {
    padding: 14px 20px 28px;
  }
.hero-table {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    align-items: start;
  }
.hero-poster-wrap {
    position: sticky;
    top: 52px;
  }
.movie-title {
    font-size: 38px;
  }
.cast-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 14px;
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
.timeline-item {
    grid-template-columns: 62px 18px minmax(0, 1fr);
  }
.timeline-item:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
  }
.comment-chip:nth-child(even) {
    margin-left: 0;
  }
.comment-chip:nth-child(4n + 2) {
    margin-top: 14px;
  }
.comment-chip:nth-child(4n + 3) {
    margin-bottom: 6px;
  }
.recommend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }}
@media (min-width: 1080px) {main.movie-detail {
    padding: 16px 26px 34px;
  }
.hero-table {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
  }
.movie-title {
    font-size: 44px;
  }
.timeline-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-item:nth-last-child(1):nth-child(odd) {
    grid-column: auto;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-chip:nth-child(4n + 2) {
    margin-top: 0;
  }
.comment-chip:nth-child(3n + 2) {
    margin-top: 12px;
  }
.comment-chip:nth-child(3n + 3) {
    margin-top: 6px;
  }
.recommend-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }}
@media (max-width: 420px) {.movie-title {
    font-size: 24px;
  }
.player-controls {
    gap: 4px;
  }
.player-btn {
    padding: 3px 7px;
    font-size: 11.5px;
  }
.player-progress {
    flex-basis: 100%;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-region {
    padding: 8px 8px 10px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
  }}

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}
