*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --stone: #2b3238;
  --stone-deep: #1d2226;
  --stone-mid: #3a444c;
  --stone-line: #49545d;
  --moss: #5c6b66;
  --ochre: #8a5a34;
  --ochre-deep: #6b4426;
  --bamboo: #d9a441;
  --bamboo-soft: #e6bd6a;
  --ink: #e7e3da;
  --ink-dim: #a8a49a;
  --ink-faint: #7d7a72;
  --surface: #242a2f;
  --surface-2: #2a3037;
  --gap: 14px;
  --gap-tight: 10px;
  --radius: 3px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "SimHei", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-narrow);
  font-weight: 400;
  background: var(--stone-deep);
  background-image:
    linear-gradient(180deg, #16191c 0%, var(--stone-deep) 35%, #1f2529 100%);
  color: var(--ink);
  line-height: 1.5;
  font-size: 15px;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22, 25, 28, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--stone-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 9px 20px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--bamboo);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 15px;
  margin-right: 8px;
  vertical-align: -2px;
  background: var(--bamboo);
  box-shadow: 0 0 6px rgba(217, 164, 65, 0.5);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--stone-line);
  border-radius: 2px;
  background: rgba(58, 68, 76, 0.35);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--bamboo-soft);
  border-color: var(--bamboo);
  background: rgba(217, 164, 65, 0.1);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-family: var(--font-narrow);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--bamboo);
  padding-left: 10px;
  margin-bottom: var(--gap-tight);
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 1px;
  width: 3px;
  background: linear-gradient(180deg, var(--bamboo), var(--ochre));
  filter: blur(0.3px);
}
.movie-overview {
  background: linear-gradient(160deg, var(--surface) 0%, #1f2429 100%);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.hero-poster {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.poster-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: var(--stone-mid);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.55), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.78) contrast(1.05) saturate(0.85);
}
.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 24, 27, 0.15) 0%, rgba(20, 24, 27, 0) 40%, rgba(20, 24, 27, 0.75) 100%),
    linear-gradient(90deg, rgba(138, 90, 52, 0.18) 0%, rgba(138, 90, 52, 0) 55%);
  pointer-events: none;
}
.hero-slagon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 4px 2px;
}
.hero-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  line-height: 1.25;
}
.hero-tagline {
  font-size: 13px;
  color: var(--bamboo-soft);
  letter-spacing: 0.06em;
  line-height: 1.5;
  border-left: 2px solid var(--ochre);
  padding-left: 9px;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0e1113;
  border: 1px solid var(--stone-line);
  border-radius: 2px;
  overflow: hidden;
  min-width: 0;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #1a1f23 0%, #12161a 100%);
  border-top: 1px solid var(--stone-line);
}
.player-btn {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  padding: 4px 9px;
  border: 1px solid var(--stone-line);
  border-radius: 2px;
  background: rgba(58, 68, 76, 0.4);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover, .player-btn:focus-visible {
  color: var(--bamboo-soft);
  border-color: var(--bamboo);
}
.player-btn.is-active {
  color: #1d2226;
  background: var(--bamboo);
  border-color: var(--bamboo);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 110px;
  min-width: 90px;
  background: var(--stone-mid);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bamboo);
  border: 1px solid #1d2226;
  box-shadow: 0 0 5px rgba(217, 164, 65, 0.6);
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #1d2226;
  border-radius: 50%;
  background: var(--bamboo);
}
.player-shell.is-lights-off .player-video {
  filter: brightness(1.15);
}
.player-shell.is-theater {
  border-color: var(--bamboo);
}
.overview-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--stone-line);
}
.movie-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  line-height: 1.2;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.55);
}
.movie-tagline {
  font-size: 13px;
  color: var(--bamboo-soft);
  letter-spacing: 0.05em;
}
.movie-seo {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-dim);
  text-align: justify;
  letter-spacing: 0.015em;
  padding-top: 8px;
  border-top: 1px dashed rgba(73, 84, 93, 0.7);
}
.cast-strip {
  margin-top: 4px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cast-avatar {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, var(--stone-mid) 0%, var(--stone) 60%, #232a2f 100%);
  border: 1px solid var(--ochre);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(217, 164, 65, 0.1);
  flex: 0 0 auto;
}
.cast-name {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}
.synopsis-block { margin-top: 4px; }
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-left: 2px solid var(--stone-line);
  padding-left: 13px;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--ink-dim);
  text-align: justify;
  letter-spacing: 0.015em;
}
.synopsis-para:first-child {
  color: var(--ink);
}
.episode-status { margin-top: 4px; }
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(58, 68, 76, 0.4);
  border: 1px solid var(--stone-line);
  border-radius: 2px;
  flex: 0 0 auto;
}
.status-key {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.status-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--bamboo);
  letter-spacing: 0.05em;
}
.details-block { margin-top: 4px; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0 var(--gap);
  border-top: 1px solid var(--stone-line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(73, 84, 93, 0.4);
  min-width: 0;
}
.detail-key {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-value {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-left: auto;
  text-align: right;
  min-width: 0;
}
.timeline-block {
  border-top: 1px solid var(--stone-line);
  padding-top: 16px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px 20px;
  padding-left: 6px;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 12px auto;
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 2px;
  align-items: center;
  padding: 2px 0;
}
.timeline-dot {
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bamboo);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.14), 0 0 8px rgba(217, 164, 65, 0.5);
}
.timeline-time {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--bamboo-soft);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.episodes-block {
  border-top: 1px solid var(--stone-line);
  padding-top: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-tight);
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 11px 10px;
  background: linear-gradient(150deg, var(--surface-2) 0%, #232930 100%);
  border: 1px solid var(--stone-line);
  border-radius: 2px;
  border-left: 3px solid var(--ochre);
  min-width: 0;
}
.episode-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #1d2226;
  background: var(--bamboo);
  padding: 2px 8px;
  border-radius: 0 1px 0 3px;
  font-weight: 700;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.35;
  padding-right: 52px;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
  flex: 1 1 auto;
}
.episode-duration {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding-top: 5px;
  border-top: 1px dashed rgba(73, 84, 93, 0.6);
  align-self: flex-start;
  width: 100%;
}
.comments-block {
  border-top: 1px solid var(--stone-line);
  padding-top: 16px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comment-column-right {
  padding-top: 20px;
}
.comment-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.comment-avatar {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background:
    radial-gradient(circle at 35% 30%, var(--moss) 0%, var(--stone) 70%, #20262b 100%);
  border: 1px solid rgba(217, 164, 65, 0.35);
  margin-top: 2px;
}
.comment-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.comment-nickname {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--bamboo-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
  text-align: justify;
}
.recommend-region {
  border-top: 1px solid var(--stone-line);
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.recommend-region-1 { border-top-color: var(--ochre); }
.recommend-region-2 { border-top-color: var(--moss); }
.recommend-heading {
  margin-bottom: 8px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 7px;
  background: rgba(42, 48, 55, 0.55);
  border: 1px solid rgba(73, 84, 93, 0.65);
  border-radius: 2px;
  color: var(--ink-dim);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
a.recommend-link:hover, a.recommend-link:focus-visible {
  border-color: var(--bamboo);
  background: rgba(217, 164, 65, 0.07);
}
[data-runtime="recommendation"] img.recommend-pic {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center 35%;
  background: var(--stone-mid);
  border-radius: 1px;
  filter: brightness(0.85) saturate(0.85);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  background: #16191c;
  border-top: 1px solid var(--stone-line);
  padding: 18px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ochre);
  padding-right: 10px;
  border-right: 1px solid var(--stone-line);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12.5px;
  color: var(--ink-faint);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--bamboo-soft);
  text-decoration: underline;
  text-decoration-color: var(--ochre);
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(73, 84, 93, 0.5);
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-home"].footer-link:focus-visible {
  color: var(--bamboo);
  border-bottom-color: var(--bamboo);
}
a[data-contract="footer-sitemap"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:focus-visible {
  color: var(--bamboo-soft);
  border-bottom-color: var(--ochre);
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  text-align: justify;
}
@media (min-width: 720px) {.movie-overview {
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-areas:
      "poster player"
      "poster meta"
      "cast cast"
      "synopsis synopsis"
      "status status"
      "details details";
    gap: 16px 22px;
    align-items: start;
  }
.hero-poster { grid-area: poster; }
.player-shell { grid-area: player; }
.overview-meta { grid-area: meta; border-top: none; padding-top: 0; }
.cast-strip { grid-area: cast; border-top: 1px solid var(--stone-line); padding-top: 12px; }
.synopsis-block { grid-area: synopsis; border-top: 1px solid var(--stone-line); padding-top: 12px; }
.episode-status { grid-area: status; border-top: 1px solid var(--stone-line); padding-top: 12px; }
.details-block { grid-area: details; border-top: 1px solid var(--stone-line); padding-top: 12px; }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }}
@media (min-width: 980px) {body { font-size: 15.5px; }
.movie-overview {
    grid-template-columns: 300px minmax(0, 1fr);
    padding: 20px;
    gap: 18px 26px;
  }
.movie-title { font-size: 28px; }
.hero-title { font-size: 24px; }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
.timeline-list {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    column-gap: 26px;
  }
.comments-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  }}
@media (max-width: 979px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 719px) {.page-main { padding: 12px 14px 24px; gap: 18px; }
.movie-overview { padding: 14px; }
.poster-media { max-width: 320px; margin: 0 auto; }
.hero-slagon { text-align: center; }
.hero-tagline { border-left: none; padding-left: 0; }
.player-controls { gap: 5px; padding: 8px; }
.player-btn { font-size: 11.5px; padding: 4px 7px; }
.player-range { flex: 1 1 100%; min-width: 0; }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-title { padding-right: 48px; }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.comment-column-right { padding-top: 0; }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.header-inner { padding: 8px 14px; }
a[data-contract="site-name"].site-brand { font-size: 17px; }}
@media (max-width: 400px) {.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-btn { font-size: 11px; padding: 3px 6px; }}
@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}
