:root {
  --ink: #2c2a26;
  --ink-soft: #58544c;
  --ink-faint: #7d786e;
  --paper: #f4f1ea;
  --paper-deep: #ebe6dc;
  --panel: #f8f5ef;
  --sage: #7c8a76;
  --sage-deep: #5c6a57;
  --sage-tint: #e2e6de;
  --brown: #8a6f54;
  --brown-deep: #6b543e;
  --brown-tint: #ece2d6;
  --gardenia: #fbfaf6;
  --line: #d8d2c6;
  --line-soft: #e4dfd4;
  --radius: 4px;
  --radius-lg: 6px;
  --title-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
  --body-font: "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, dt, ul, li, footer, nav, section, article {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--sage-deep);
  text-decoration: none;
}
a:hover {
  color: var(--brown-deep);
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--sage-deep);
  border: 2px solid var(--gardenia);
}
input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}
input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage-deep);
  border: 2px solid var(--gardenia);
}
.site-header {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}
.header-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 10px 18px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brown-deep);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--sage-deep);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 2px 10px;
  font-family: var(--title-font);
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--gardenia);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--gardenia);
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel-heading {
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brown-deep);
  padding-left: 9px;
  border-left: 3px solid var(--sage);
  margin-bottom: 9px;
  line-height: 1.3;
}
.movie-overview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.overview-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.overview-lead {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.overview-poster {
  align-self: start;
  width: 100%;
  max-width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--paper-deep);
  box-shadow: 0 2px 8px rgba(60, 50, 38, 0.08);
}
.overview-poster img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.movie-title {
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.movie-tagline {
  font-family: var(--title-font);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--sage-deep);
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--line);
}
.movie-seo {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
a.action-play, .action-theater, .action-light {
  font-family: var(--title-font);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--gardenia);
  color: var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
a.action-play {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--gardenia);
  letter-spacing: 0.06em;
  text-decoration: none;
}
a.action-play:hover {
  background: var(--brown-deep);
  border-color: var(--brown-deep);
  color: var(--gardenia);
}
.action-theater:hover, .action-light:hover {
  color: var(--brown-deep);
  border-color: var(--brown);
  background: var(--brown-tint);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding-top: 11px;
  border-top: 1px solid var(--line-soft);
}
.episode-status span {
  font-family: var(--title-font);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--ink-soft);
}
.status-current {
  background: var(--sage-tint);
  border-color: var(--sage);
  color: var(--sage-deep);
}
.status-rating {
  background: var(--brown-tint);
  border-color: var(--brown);
  color: var(--brown-deep);
}
.synopsis-panel {
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 22px;
}
.synopsis-para {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  text-indent: 2em;
}
.cast-panel {
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  align-items: start;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sage-tint) 0%, var(--brown-tint) 100%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 34%, rgba(124, 138, 118, 0.5) 0%, transparent 46%),
              radial-gradient(circle at 50% 108%, rgba(138, 111, 84, 0.4) 0%, transparent 60%);
}
.cast-name {
  font-family: var(--title-font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.cast-role {
  font-size: 12px;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.details-panel {
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 20px;
}
.detail-item {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--title-font);
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.detail-value {
  font-size: 13px;
  color: var(--ink-soft);
  min-width: 0;
  overflow-wrap: break-word;
}
.player-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.player-shell {
  width: 100%;
  background: #1e1c19;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #14120f;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 9px 11px;
  background: #26231f;
  border-top: 1px solid #3a352d;
}
.player-controls button {
  font-family: var(--title-font);
  font-size: 12px;
  padding: 4px 11px;
  border-radius: var(--radius);
  border: 1px solid #4a443a;
  background: #322e28;
  color: #cdc6b8;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.player-controls button:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--gardenia);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
}
.player-shell.is-theater {
  background: #100f0d;
  border-color: #4a443a;
}
.player-shell.is-theater video {
  max-height: 74vh;
}
body.is-lights-off {
  background: #17150f;
}
body.is-lights-off .movie-overview, body.is-lights-off .timeline-section, body.is-lights-off .episodes-section, body.is-lights-off .comments-section, body.is-lights-off .recommend-region {
  opacity: 0.45;
  transition: opacity 0.3s ease;
}
.timeline-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 196px;
  padding: 22px 14px 0 6px;
  border-top: 1px solid var(--line);
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--sage);
}
.timeline-dot {
  position: absolute;
  top: -5px;
  left: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1px solid var(--sage);
  z-index: 1;
}
.timeline-timecode {
  display: block;
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brown-deep);
  margin-bottom: 3px;
}
.timeline-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}
.timeline-node-current {
  border-top-color: var(--sage-deep);
}
.timeline-node-current .timeline-dot {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(92, 106, 87, 0.18);
}
.timeline-node-current .timeline-timecode {
  color: var(--sage-deep);
  font-weight: 700;
}
.timeline-node-current .timeline-label {
  color: var(--ink);
}
.episodes-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.episode-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--gardenia);
  padding: 9px 11px;
  min-width: 0;
}
.episode-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.episode-number {
  font-family: var(--title-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.episode-title {
  font-family: var(--title-font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  flex: 1 1 auto;
  min-width: 0;
}
.episode-duration {
  font-size: 11.5px;
  color: var(--ink-faint);
  flex: 0 0 auto;
  white-space: nowrap;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-expand {
  display: block;
  margin: 11px auto 0;
  font-family: var(--title-font);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 5px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.episode-expand:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--gardenia);
}
.comments-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.comment-card {
  background: var(--gardenia);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--sage-tint);
  border-radius: var(--radius);
  padding: 8px 12px;
}
.comment-text {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-soft);
}
.comment-meta {
  margin-top: 4px;
  text-align: right;
}
.comment-nick {
  font-family: var(--title-font);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--brown);
}
.comment-nick::before {
  content: "—— ";
  color: var(--line);
}
.comment-more {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.comment-more-toggle {
  list-style: none;
  align-self: flex-start;
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 16px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.comment-more-toggle::-webkit-details-marker {
  display: none;
}
.comment-more-toggle:hover {
  color: var(--sage-deep);
  border-color: var(--sage);
}
.comment-more[open] .comment-more-toggle {
  margin-bottom: 2px;
}
.recommend-region {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.recommend-title {
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brown-deep);
  padding-left: 9px;
  border-left: 3px solid var(--brown);
  margin-bottom: 9px;
  line-height: 1.3;
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 9px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--gardenia);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 7px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--sage);
  box-shadow: 0 2px 10px rgba(60, 50, 38, 0.1);
  transform: translateY(-1px);
  color: var(--brown-deep);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  background: var(--paper-deep);
  filter: saturate(0.78) contrast(0.96);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--title-font);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.footer-link {
  font-family: var(--title-font);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--sage-deep);
  text-decoration: none;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--title-font);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: var(--brown-deep);
}
a[data-contract="footer-sitemap"] {
  color: var(--sage-deep);
}
a[data-contract="footer-home"]:hover {
  color: var(--sage-deep);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--brown-deep);
  text-decoration: underline;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.friends-label {
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  flex: 0 0 auto;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--sage-deep);
  border-bottom-color: var(--sage);
}
.player-shell.theater {
  background: #100f0d;
}
.player-shell.fullscreen, .player-shell:fullscreen {
  border-radius: 0;
  border: 0;
}
.player-shell.input .ctrl-progress, .player-shell.timeupdate .ctrl-progress {
  accent-color: var(--sage-deep);
}
.ctrl-play.play {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--gardenia);
}
.ctrl-mute.mute {
  color: #b9a98f;
  border-color: #6b5d47;
}
.ctrl-speed.speed {
  color: #d8cfbc;
}
.ctrl-pip.pip {
  color: #d8cfbc;
}
.ctrl-theater.theater, .ctrl-light.light {
  border-color: var(--sage);
  color: #d3ddcb;
}
.progress .ctrl-progress {
  accent-color: var(--sage-deep);
}
.volume .ctrl-volume {
  accent-color: var(--brown);
}
.light .ctrl-light {
  background: #3a352d;
}
@media (max-width: 900px) {.overview-lead {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 15px;
  }
.overview-poster {
    max-width: 168px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-columns {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 11px 12px 20px;
    gap: 12px;
  }
.header-shell {
    padding: 9px 12px;
    gap: 8px 12px;
  }
.movie-overview, .player-section, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding: 11px;
  }
.overview-lead {
    grid-template-columns: minmax(0, 124px) minmax(0, 1fr);
    gap: 12px;
  }
.overview-poster {
    max-width: 124px;
  }
.movie-title {
    font-size: 19px;
  }
.movie-tagline {
    font-size: 12.5px;
  }
.movie-seo {
    font-size: 13px;
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    flex: 0 0 168px;
  }
.recommend-columns {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 7px;
  }
.player-controls {
    gap: 6px 8px;
    padding: 8px 9px;
  }
.player-controls button {
    font-size: 11.5px;
    padding: 4px 9px;
  }
.footer-shell {
    padding: 14px 12px 18px;
  }}
@media (max-width: 420px) {.overview-lead {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-poster {
    max-width: 150px;
  }
.recommend-columns {
    grid-template-columns: repeat(auto-fill, minmax(104px, 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}
