*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:root {
  --slate: #46596b;
  --slate-deep: #2c3a46;
  --slate-mid: #5d7285;
  --slate-pale: #dde4e9;
  --wood: #a97c4f;
  --wood-deep: #7d5630;
  --wood-pale: #c9a678;
  --paper: #f3f1ec;
  --paper-dim: #e7e4dc;
  --ink: #1e262d;
  --ink-soft: #4a565f;
  --line: #c3ccd3;
  --dark: #232f39;
  --dark-line: #3d4d5a;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
h1, h2, h3, .movie-title, .block-heading, .rec-heading {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "STSong", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-header {
  background: var(--slate-deep);
  border-bottom: 3px solid var(--wood-deep);
  color: var(--paper);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.site-brand {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--wood-pale);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}
a[data-contract="site-name"] { color: var(--wood-pale); text-decoration: none; }
a[data-contract="site-name"]:hover { color: #f0e2cd; border-bottom-color: var(--wood); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 3px 10px;
  color: var(--slate-pale);
  text-decoration: none;
  border: 1px solid var(--slate-mid);
  background: rgba(255,255,255,0.04);
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--dark);
  background: var(--wood-pale);
  border-color: var(--wood-pale);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.block-heading {
  font-size: 17px;
  color: var(--slate-deep);
  padding-left: 9px;
  border-left: 4px solid var(--wood);
  margin-bottom: 9px;
  line-height: 1.3;
}
.rec-heading {
  font-size: 15px;
  color: var(--slate-deep);
  padding-bottom: 5px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--slate-pale);
}
.movie-overview {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-top: 3px solid var(--slate);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-frame {
  align-self: start;
  border: 1px solid var(--slate-mid);
  padding: 4px;
  background: var(--slate-deep);
  line-height: 0;
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.overview-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}
.movie-tagline {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 15px;
  color: var(--wood-deep);
  border-left: 3px solid var(--wood);
  padding-left: 9px;
  line-height: 1.5;
}
.movie-seo {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 4px;
  background: #10161b;
  border: 1px solid var(--slate-deep);
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: var(--slate-deep);
  border-top: 1px solid var(--dark-line);
}
.player-btn {
  font-size: 12px;
  padding: 3px 9px;
  background: transparent;
  color: var(--slate-pale);
  border: 1px solid var(--slate-mid);
  cursor: pointer;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.player-btn:hover { background: var(--slate-mid); color: #fff; }
.player-btn.is-active { background: var(--wood); border-color: var(--wood); color: #1c1409; }
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--slate-mid);
  flex: 1 1 90px;
  min-width: 70px;
  cursor: pointer;
  border: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  background: var(--wood-pale);
  border: 1px solid var(--wood-deep);
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: var(--wood-pale);
  border: 1px solid var(--wood-deep);
  cursor: pointer;
  border-radius: 0;
}
.player-shell.theater-mode { background: #05080a; }
.player-shell.lights-off { background: #000; }
.player-shell.lights-off .player-controls { background: #05080a; }
.cast-block { border-top: 1px solid var(--line); padding-top: 12px; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--slate-mid);
}
.cast-avatar {
  width: 54px;
  height: 54px;
  background: linear-gradient(160deg, var(--slate-mid), var(--slate-deep) 70%);
  border: 1px solid var(--slate-deep);
  position: relative;
  flex: 0 0 auto;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid var(--wood);
  border-bottom: 3px solid var(--wood-deep);
  opacity: 0.75;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-deep);
  letter-spacing: 0.06em;
}
.synopsis-block { border-top: 1px solid var(--line); padding-top: 12px; }
.synopsis-text {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  text-indent: 2em;
  margin-bottom: 5px;
}
.synopsis-text:last-child { margin-bottom: 0; }
.episode-status, .details-block { border-top: 1px solid var(--line); padding-top: 12px; }
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 12px;
  background: var(--slate-deep);
  color: var(--paper);
  border-left: 3px solid var(--wood);
}
.status-key { font-size: 12px; color: var(--slate-pale); letter-spacing: 0.08em; }
.status-value { font-family: "Songti SC", "SimSun", serif; font-size: 16px; font-weight: 700; color: var(--wood-pale); }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line);
}
.detail-key {
  flex: 0 0 62px;
  font-size: 12.5px;
  color: var(--slate-mid);
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--ink);
}
.timeline-block { border-top: 1px solid var(--line); padding-top: 12px; }
.timeline-list {
  position: relative;
  padding-left: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2px 26px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 10px;
  padding: 5px 0 6px;
  border-bottom: 1px solid var(--paper-dim);
}
.timeline-node {
  position: absolute;
  left: -16px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--paper);
  border: 2px solid var(--wood);
  border-radius: 50%;
}
.timeline-timecode {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--wood-deep);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.episodes-block { border-top: 1px solid var(--line); padding-top: 12px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-left: 3px solid var(--slate-mid);
  padding: 9px 12px;
  transition: border-left-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover { border-left-color: var(--wood); background: #fff; }
.episode-title {
  font-size: 14px;
  color: var(--slate-deep);
  margin-bottom: 4px;
  line-height: 1.4;
}
.episode-summary {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.15s ease;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: 4;
}
.episode-duration {
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--slate-mid);
  letter-spacing: 0.05em;
}
.comments-block {
  background: var(--dark);
  border: 1px solid var(--dark-line);
  padding: 13px 14px;
  color: var(--paper);
}
.comments-block .block-heading {
  color: var(--paper);
  border-left-color: var(--wood-pale);
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0 24px;
}
.comment-item {
  padding: 7px 0 8px;
  border-bottom: 1px solid var(--dark-line);
}
.comment-item::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wood);
  margin-bottom: 5px;
}
.comment-text {
  font-size: 13px;
  line-height: 1.62;
  color: #e6ebef;
}
.comment-meta {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--wood-pale);
  letter-spacing: 0.08em;
}
.rec-region { border-top: 1px solid var(--line); padding-top: 12px; }
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  align-items: start;
}
.rec-item { min-width: 0; }
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fbfaf7;
  padding: 6px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus-visible {
  border-color: var(--wood);
  background: #fff;
  color: var(--wood-deep);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: var(--slate-pale);
  border: 1px solid var(--line);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate-deep);
  line-height: 1.4;
}
[data-runtime="recommendation"]:hover [data-runtime="name"] { color: var(--wood-deep); }
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.site-footer {
  background: var(--slate-deep);
  border-top: 3px solid var(--wood-deep);
  color: var(--slate-pale);
  padding: 14px 16px 20px;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dark-line);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  color: var(--wood-pale);
  text-decoration: none;
  letter-spacing: 0.06em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  text-decoration: underline;
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.friend-links-label {
  font-size: 12px;
  color: var(--wood-pale);
  letter-spacing: 0.1em;
  padding-right: 6px;
  border-right: 1px solid var(--dark-line);
}
a.runtime-friend-link {
  font-size: 12.5px;
  color: var(--slate-pale);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--wood-pale);
  text-decoration: underline;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.7;
  color: #8b9aa6;
}
@media (max-width: 820px) {.overview-hero { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.poster-frame { max-width: 260px; }
.movie-title { font-size: 23px; }
.details-list { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }}
@media (max-width: 560px) {.page-main { padding: 10px 10px 20px; gap: 13px; }
.header-inner { padding: 7px 10px; gap: 6px 14px; }
.site-brand { font-size: 17px; }
.category-bar { margin-left: 0; }
.overview-hero { gap: 12px; }
.poster-frame { max-width: 200px; }
.movie-title { font-size: 20px; }
.movie-tagline { font-size: 13.5px; }
.player-controls { gap: 4px; padding: 6px; }
.player-btn { font-size: 11.5px; padding: 3px 7px; }
.player-range { flex: 1 1 100%; min-width: 0; }
.cast-list { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.cast-avatar { width: 46px; height: 46px; }
.timeline-list { grid-template-columns: minmax(0, 1fr); padding-left: 14px; }
.timeline-node { left: -14px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary { -webkit-line-clamp: 2; }
.episode-card:hover .episode-summary { -webkit-line-clamp: 5; }
.comment-list { grid-template-columns: minmax(0, 1fr); }
.rec-list { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 9px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.site-footer { padding: 12px 10px 18px; }}

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}
