:root {
  --moon-white: #eef1f2;
  --moon-white-dim: #d9dee0;
  --dai-qing: #1c2733;
  --dai-qing-deep: #131b24;
  --dai-qing-mid: #24313f;
  --dai-qing-soft: #2e3d4d;
  --candle: #e08a3c;
  --candle-bright: #f0a04b;
  --candle-glow: rgba(224, 138, 60, 0.18);
  --dawn: #f2e2c8;
  --ink: #0b1117;
  --rule: rgba(217, 222, 224, 0.14);
  --rule-soft: rgba(217, 222, 224, 0.08);
  --font-title: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    radial-gradient(120% 60% at 82% -8%, rgba(224, 138, 60, 0.07) 0%, rgba(224, 138, 60, 0) 58%),
    linear-gradient(180deg, var(--dai-qing-deep) 0%, var(--dai-qing) 42%, #1a232d 78%, #20262a 100%);
  color: var(--moon-white-dim);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(19, 27, 36, 0.96) 0%, rgba(19, 27, 36, 0.82) 100%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 17px;
  letter-spacing: 0.18em;
  color: var(--moon-white);
  text-decoration: none;
  padding-left: 12px;
  border-left: 2px solid var(--candle);
  line-height: 1.1;
}
a[data-contract="site-name"]:hover {
  color: var(--candle-bright);
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--moon-white-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--rule);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover, a.runtime-category.is-active {
  color: var(--candle-bright);
  border-color: rgba(224, 138, 60, 0.55);
  background: var(--candle-glow);
  text-decoration: none;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.player-shell {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--rule);
  border-left: 2px solid rgba(224, 138, 60, 0.4);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  overflow: hidden;
}
.player-shell video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(36, 49, 63, 0.9) 0%, rgba(19, 27, 36, 0.95) 100%);
  border-top: 1px solid var(--rule-soft);
}
.player-btn {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--moon-white-dim);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  cursor: pointer;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
  white-space: nowrap;
}
.player-btn:hover, .player-btn.is-active, .player-btn.play.is-active {
  color: var(--candle-bright);
  border-color: rgba(224, 138, 60, 0.6);
  background: var(--candle-glow);
}
.player-shell.is-lights-off .player-controls {
  background: rgba(11, 17, 23, 0.96);
}
.player-shell.is-theater {
  border-color: rgba(224, 138, 60, 0.35);
}
body.theater-mode .site-header {
  opacity: 0.35;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: rgba(217, 222, 224, 0.22);
  border-radius: 0;
  cursor: pointer;
  flex: 1 1 96px;
  min-width: 72px;
  max-width: 100%;
}
.player-range[data-player-action="volume"] {
  flex: 0 1 96px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: var(--candle);
  border: none;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--candle);
  border: none;
  border-radius: 0;
}
.player-range::-moz-range-track {
  height: 3px;
  background: rgba(217, 222, 224, 0.22);
}
.player-range.progress::-webkit-slider-thumb, .player-range[data-player-action="progress"]::-webkit-slider-thumb {
  background: var(--candle-bright);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background: linear-gradient(180deg, rgba(36, 49, 63, 0.55) 0%, rgba(19, 27, 36, 0.55) 100%);
  border: 1px solid var(--rule);
  padding: 20px 20px 22px;
  position: relative;
}
.movie-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 138, 60, 0.55), rgba(224, 138, 60, 0));
}
.overview-poster {
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid rgba(217, 222, 224, 0.22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  overflow: hidden;
  background: var(--ink);
}
.overview-poster img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.movie-title {
  font-size: 26px;
  color: var(--moon-white);
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.movie-tagline {
  font-family: var(--font-title);
  font-size: 13px;
  color: rgba(224, 138, 60, 0.82);
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 1px solid rgba(224, 138, 60, 0.4);
}
.section-heading {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--moon-white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--rule-soft);
}
.section-heading::before {
  content: "";
  width: 4px;
  height: 12px;
  background: var(--candle);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  flex: none;
}
.synopsis-block, .episode-status, .cast-block, .details-block {
  border-top: 1px solid var(--rule-soft);
  padding-top: 10px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.62;
  color: rgba(217, 222, 224, 0.82);
  margin-bottom: 5px;
  text-indent: 2em;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}
.episode-status .section-heading {
  flex: 1 1 100%;
}
.status-total {
  font-size: 12px;
  color: rgba(217, 222, 224, 0.7);
  letter-spacing: 0.08em;
}
.status-current {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--candle-bright);
  letter-spacing: 0.08em;
  padding: 1px 9px;
  border: 1px solid rgba(224, 138, 60, 0.45);
  background: var(--candle-glow);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.cast-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 138, 60, 0.5) transparent;
  -webkit-overflow-scrolling: touch;
}
.cast-strip::-webkit-scrollbar {
  height: 5px;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: rgba(224, 138, 60, 0.45);
}
.cast-strip::-webkit-scrollbar-track {
  background: rgba(217, 222, 224, 0.08);
}
.cast-card {
  flex: 0 0 148px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px;
  background: rgba(11, 17, 23, 0.42);
  border: 1px solid var(--rule-soft);
  border-top: 1px solid rgba(224, 138, 60, 0.32);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.cast-name {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--moon-white);
  letter-spacing: 0.08em;
}
.cast-role {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(217, 222, 224, 0.62);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 3px 16px;
  align-items: start;
}
.details-key {
  font-family: var(--font-title);
  font-size: 11.5px;
  color: rgba(224, 138, 60, 0.75);
  letter-spacing: 0.06em;
}
.details-value {
  font-size: 12px;
  color: rgba(217, 222, 224, 0.85);
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px dotted var(--rule-soft);
}
.timeline-block {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 26px;
  border-left: 1px solid rgba(217, 222, 224, 0.16);
  margin-left: 6px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: baseline;
  padding: 6px 0 6px 2px;
  border-bottom: 1px solid var(--rule-soft);
}
.timeline-item:last-child {
  border-bottom: none;
}
.timeline-moon {
  position: absolute;
  left: -33px;
  top: 7px;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  color: rgba(217, 222, 224, 0.55);
  background: var(--dai-qing);
}
.timeline-timecode {
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(217, 222, 224, 0.7);
  grid-column: 1;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(217, 222, 224, 0.74);
  grid-column: 2;
}
.timeline-item-current .timeline-moon {
  color: var(--candle-bright);
  text-shadow: 0 0 8px var(--candle-glow);
}
.timeline-item-current .timeline-timecode {
  color: var(--candle-bright);
}
.timeline-item-current .timeline-label {
  color: var(--moon-white);
}
.timeline-item-current {
  background: linear-gradient(90deg, var(--candle-glow) 0%, rgba(224, 138, 60, 0) 70%);
  border-bottom-color: rgba(224, 138, 60, 0.3);
}
.episodes-block {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px;
  background: rgba(19, 27, 36, 0.6);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid rgba(217, 222, 224, 0.16);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: border-color 0.18s, background 0.18s;
}
.episode-card:hover {
  border-left-color: rgba(224, 138, 60, 0.6);
  background: rgba(36, 49, 63, 0.7);
}
.episode-card-current {
  border: 1px solid rgba(224, 138, 60, 0.62);
  border-left: 2px solid var(--candle);
  background: linear-gradient(160deg, rgba(224, 138, 60, 0.14) 0%, rgba(19, 27, 36, 0.6) 62%);
  box-shadow: 0 0 0 1px rgba(224, 138, 60, 0.12), 0 0 14px rgba(224, 138, 60, 0.08);
}
.episode-number {
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(224, 138, 60, 0.8);
}
.episode-card-current .episode-number {
  color: var(--candle-bright);
}
.episode-title {
  font-size: 13px;
  color: var(--moon-white);
  letter-spacing: 0.06em;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(217, 222, 224, 0.66);
  flex: 1 1 auto;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(217, 222, 224, 0.45);
  padding-top: 3px;
  border-top: 1px dotted var(--rule-soft);
}
.comments-block {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  align-items: start;
}
.comment-card {
  padding: 8px 10px;
  background: rgba(19, 27, 36, 0.5);
  border: 1px solid var(--rule-soft);
  border-right: 2px solid rgba(217, 222, 224, 0.12);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}
.comment-card:nth-child(3n) {
  border-right-color: rgba(224, 138, 60, 0.32);
}
.comment-nickname {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--candle-bright);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(217, 222, 224, 0.78);
}
.recommend-region {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.recommend-title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--candle);
  margin-bottom: 8px;
}
.recommend-grid {
  display: grid;
  gap: 9px;
}
.recommend-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: rgba(19, 27, 36, 0.62);
  border: 1px solid var(--rule-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  color: var(--moon-white-dim);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.recommend-card:hover {
  border-color: rgba(224, 138, 60, 0.5);
  background: rgba(36, 49, 63, 0.8);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: var(--ink);
  border: 1px solid var(--rule-soft);
}
.recommend-name {
  font-family: var(--font-title);
  font-size: 12.5px;
  color: var(--moon-white);
  letter-spacing: 0.05em;
  line-height: 1.35;
}
a.recommend-card:hover .recommend-name {
  color: var(--candle-bright);
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(217, 222, 224, 0.6);
}
.site-footer {
  background: linear-gradient(180deg, rgba(19, 27, 36, 0.9) 0%, #1b1e20 100%);
  border-top: 1px solid var(--rule);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(224, 138, 60, 0) 0%, rgba(242, 226, 200, 0.5) 50%, rgba(224, 138, 60, 0) 100%);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 18px 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 14px 26px;
  align-items: start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(217, 222, 224, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--candle-bright);
  border-bottom-color: rgba(224, 138, 60, 0.5);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}
.friend-links-label {
  flex: 1 1 100%;
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--candle);
  margin-bottom: 3px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: rgba(217, 222, 224, 0.6);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--dawn);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  color: rgba(217, 222, 224, 0.4);
  letter-spacing: 0.02em;
  border-left: 1px solid var(--rule);
  padding-left: 12px;
}
.player-btn.click, .player-btn.input {
  color: var(--candle-bright);
}
.player-btn.mute.is-active, .player-btn.light.is-active, .player-btn.theater.is-active {
  color: var(--candle-bright);
  border-color: rgba(224, 138, 60, 0.6);
  background: var(--candle-glow);
}
.player-shell.is-theater video {
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}
.player-shell.is-lights-off {
  background: #05080b;
}
.player-shell.is-lights-off video {
  filter: brightness(0.72) contrast(1.05);
}
.player-range.progress {
  background: rgba(224, 138, 60, 0.4);
}
.player.volume, .player.timeupdate {
  accent-color: var(--candle);
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr);
    gap: 18px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }
.footer-disclaimer {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--rule-soft);
    padding-left: 0;
    padding-top: 10px;
  }}
@media (max-width: 760px) {.page-main {
    padding: 12px 12px 32px;
    gap: 20px;
  }
.header-inner {
    padding: 7px 12px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 14px 13px 16px;
  }
.overview-poster {
    width: 62%;
    max-width: 240px;
  }
.movie-title {
    font-size: 21px;
  }
.timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
.timeline-timecode {
    grid-column: 1;
  }
.timeline-label {
    grid-column: 1;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 16px 12px 22px;
  }}
@media (max-width: 480px) {body {
    font-size: 12.5px;
  }
.player-controls {
    gap: 5px 6px;
    padding: 7px 8px;
  }
.player-btn {
    font-size: 11px;
    padding: 3px 7px;
  }
.player-range, .player-range[data-player-action="volume"] {
    flex: 1 1 100%;
    max-width: 100%;
  }
.overview-poster {
    width: 74%;
  }
.movie-title {
    font-size: 19px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    flex: 0 0 132px;
  }}

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}
