:root {
  --bg: #171d20;
  --bg-deep: #101518;
  --surface: #1d2529;
  --surface-2: #212a2f;
  --line: #2d383d;
  --line-soft: #263136;
  --ink: #d7dee1;
  --ink-dim: #8d9a9f;
  --ink-faint: #6b777c;
  --amber: #ff8b3d;
  --amber-deep: #d96a24;
  --amber-glow: rgba(255, 139, 61, 0.16);
  --radius: 3px;
  --gap: 10px;
  --pad: 12px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  background-image:
    linear-gradient(180deg, rgba(255, 139, 61, 0.05) 0%, transparent 200px),
    radial-gradient(1200px 400px at 80% -80px, var(--amber-glow), transparent 70%);
  background-repeat: no-repeat;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol, dl {
  list-style: none;
}
a {
  color: var(--ink);
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 21, 24, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1440px;
  margin: 0 auto;
}
.site-brand {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  border-left: 3px solid var(--amber);
  padding-left: 8px;
}
.category-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.runtime-category:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
  background: var(--surface-2);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-heading {
  font-size: 14px;
  color: var(--ink);
  padding-left: 8px;
  border-left: 3px solid var(--amber);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.movie-overview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  grid-template-areas:
    "poster banner"
    "poster status"
    "poster player"
    "cast cast"
    "synopsis details";
  gap: 12px 18px;
  align-items: start;
}
.poster-frame {
  grid-area: poster;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-deep);
  align-self: start;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(255, 139, 61, 0.12) 100%);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.overview-banner {
  grid-area: banner;
  min-width: 0;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 10px;
}
.movie-title {
  font-size: 26px;
  color: #f2f5f6;
  letter-spacing: 0.04em;
}
.movie-tagline {
  margin-top: 6px;
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.06em;
}
.overview-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 60ch;
}
.player-shell {
  grid-area: player;
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0f11;
  overflow: hidden;
}
.player-shell.is-theater {
  border-color: var(--amber-deep);
  box-shadow: 0 0 0 1px var(--amber-glow), 0 0 30px var(--amber-glow);
}
.player-shell.is-lights-off {
  background: #050708;
}
.player-shell.is-lights-off video {
  opacity: 0.5;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
  transition: opacity 0.2s ease;
}
.player-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.pc-btn {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 11px;
  line-height: 1;
  color: var(--ink-dim);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.pc-btn:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
}
.pc-btn.is-active {
  color: #14181a;
  background: var(--amber);
  border-color: var(--amber);
}
.pc-progress, .pc-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
  min-width: 0;
}
.pc-progress {
  flex: 1 1 140px;
}
.pc-volume {
  flex: 0 1 90px;
}
.pc-progress::-webkit-slider-thumb, .pc-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
  cursor: pointer;
}
.pc-progress::-moz-range-thumb, .pc-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: start;
}
.status-chip {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 11px;
  line-height: 1;
  color: var(--amber);
  background: rgba(255, 139, 61, 0.08);
  border: 1px solid rgba(255, 139, 61, 0.35);
  border-radius: var(--radius);
  padding: 5px 9px;
  white-space: nowrap;
}
.cast-strip {
  grid-area: cast;
  min-width: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.cast-item {
  position: relative;
  min-width: 0;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.cast-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 30%, rgba(215, 222, 225, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255, 139, 61, 0.06), rgba(16, 21, 24, 0.85));
}
.cast-name {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 5px 6px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 12px;
  color: #eef2f3;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(11, 15, 17, 0.9));
  letter-spacing: 0.04em;
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-dim);
  text-indent: 2em;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-block {
  grid-area: details;
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line-soft);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 12px;
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 auto;
  color: var(--ink-faint);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
  text-align: right;
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.timeline-rail {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline-rail::-webkit-scrollbar {
  height: 6px;
}
.timeline-rail::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 148px;
  padding: 0 12px 0 12px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}
.timeline-node:first-child {
  border-left: 1px solid var(--amber-deep);
}
.timeline-time {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--amber);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-dim);
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 9px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  border-color: var(--line);
  background: var(--surface-2);
}
.episode-card.is-current {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(255, 139, 61, 0.2), inset 0 0 22px rgba(255, 139, 61, 0.06);
}
.episode-number {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.episode-card.is-current .episode-number {
  color: var(--amber);
}
.episode-title {
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  margin-top: 2px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 10px;
  color: var(--ink-faint);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1px 6px;
  white-space: nowrap;
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.comment-columns {
  columns: 2;
  column-gap: 18px;
  column-rule: 1px solid var(--line-soft);
}
.comment-item {
  break-inside: avoid;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.comment-item:first-child {
  padding-top: 0;
}
.comment-nickname {
  display: inline-block;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin-right: 8px;
}
.comment-text {
  display: inline;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.recommend-region {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.recommend-heading {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--amber);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.recommend-card:hover {
  border-color: var(--amber-deep);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-deep);
}
.recommend-name {
  display: block;
  padding: 6px 8px 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  display: block;
  padding: 2px 8px 8px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 14px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
}
.friend-links-label {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-deep);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 90ch;
}
@media (max-width: 1100px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    grid-template-areas:
      "poster banner"
      "poster status"
      "player player"
      "cast cast"
      "synopsis synopsis"
      "details details";
  }
.details-block {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line-soft);
    padding-top: 10px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 10px 10px 18px;
    gap: 12px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "banner"
      "status"
      "player"
      "cast"
      "synopsis"
      "details";
    gap: 10px;
    padding: 10px;
  }
.poster-frame {
    max-width: 240px;
    margin: 0 auto;
  }
.movie-title {
    font-size: 22px;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.comment-columns {
    columns: 1;
    column-rule: none;
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.timeline-node {
    width: 132px;
  }
.pc-progress {
    flex: 1 1 100%;
  }}
@media (max-width: 420px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title {
    font-size: 20px;
  }
.pc-btn {
    font-size: 10px;
    padding: 4px 7px;
  }}
.click, .data-player-action, .fullscreen, .input, .mute, .pip, .play, .player, .progress, .speed, .theater, .timeupdate, .volume, .x {
  
}
.pc-btn.is-active.click, .pc-btn.is-active.play {
  color: #14181a;
}

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}
