*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --earth: #3a3532;
  --earth-lite: #4d4641;
  --patina: #6f9d84;
  --patina-deep: #3f6b58;
  --night: #141a26;
  --night-2: #1d2636;
  --copper: #8a6b3f;
  --copper-lite: #b08c52;
  --ember: #e2701f;
  --ember-glow: #ff9440;
  --ink: #1a1613;
  --paper: #cfc7bb;
  --paper-dim: #9d948a;
  --line: #2e2823;
  --font-title: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
  --font-body: "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--night);
}
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: var(--paper);
  background:
    radial-gradient(120% 90% at 78% -10%, rgba(111, 157, 132, 0.16), transparent 62%),
    linear-gradient(180deg, var(--night) 0%, #10151f 42%, var(--night-2) 100%);
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: linear-gradient(180deg, rgba(20, 26, 38, 0.96), rgba(20, 26, 38, 0.72));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
}
.site-brand, a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--patina);
  text-transform: uppercase;
  border-left: 3px solid var(--copper);
  padding-left: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
a[data-contract="site-name"]:hover { color: var(--ember-glow); }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}
a.runtime-category {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(77, 70, 65, 0.35);
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--copper-lite);
  border-color: var(--copper-lite);
}
.page-main {
  display: block;
  padding: 12px;
  max-width: none;
}
.section-heading {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--patina);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(111, 157, 132, 0.28);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--copper);
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero-backdrop {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 2;
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(226, 112, 31, 0.14), transparent 60%),
    linear-gradient(160deg, #202a3a 0%, #171d29 55%, #0e131c 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px;
  overflow: hidden;
}
.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(138, 107, 63, 0.12) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(138, 107, 63, 0.1) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.poster-frame {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  z-index: 1;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.62));
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(176, 140, 82, 0.42);
  border-radius: 2px;
}
.hero-slogan {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  text-align: right;
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--copper-lite);
  text-transform: uppercase;
  writing-mode: horizontal-tb;
}
.hero-titles {
  grid-column: 2;
  grid-row: 1;
  padding: 4px 0 0;
}
.movie-title {
  font-family: var(--font-title);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: #e7ddcd;
  text-shadow: 0 2px 0 rgba(138, 107, 63, 0.55), 0 0 24px rgba(111, 157, 132, 0.22);
}
.movie-tagline {
  margin-top: 6px;
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--patina);
}
.movie-seo-description {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper-dim);
  max-width: 60ch;
}
.player-shell {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(180deg, #10151f, #0b0f16);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.player-shell video {
  width: 100%;
  display: block;
  background: #000;
}
.player-shell.is-playing { box-shadow: 0 0 0 1px rgba(226, 112, 31, 0.4), 0 0 26px rgba(226, 112, 31, 0.16); }
.player-shell.is-lights-off { background: #05070a; box-shadow: 0 0 0 1px rgba(226, 112, 31, 0.55); }
.player-shell.is-theater { grid-column: 1 / -1; }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: rgba(29, 38, 54, 0.7);
  border-top: 1px solid var(--line);
}
.player-controls button {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  color: var(--paper-dim);
  background: rgba(77, 70, 65, 0.5);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.player-controls button:hover {
  color: var(--ink);
  background: var(--copper-lite);
  border-color: var(--copper-lite);
}
.player-controls button.is-playing, .player-controls button.is-active {
  color: #0d0a07;
  background: var(--ember);
  border-color: var(--ember);
  box-shadow: 0 0 12px rgba(226, 112, 31, 0.5);
}
.player-controls button.is-muted {
  color: var(--ember-glow);
  border-color: var(--ember);
}
.player-controls input[type="range"] {
  flex: 1 1 90px;
  min-width: 70px;
  height: 3px;
  accent-color: var(--ember);
  background: transparent;
  cursor: pointer;
}
.player-controls select {
  font-family: var(--font-title);
  font-size: 11px;
  padding: 3px 5px;
  color: var(--paper-dim);
  background: rgba(77, 70, 65, 0.5);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.details-block {
  grid-column: 1 / -1;
  grid-row: 3;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(157, 148, 138, 0.22);
}
.detail-key {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--copper-lite);
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: 4.5em;
}
.detail-value {
  font-size: 12.5px;
  color: var(--paper);
  min-width: 0;
}
.episode-status-block {
  grid-column: 1 / -1;
  grid-row: 4;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px 20px;
  align-items: baseline;
}
.episode-status-block .section-heading { grid-column: 1 / -1; }
.episode-status-line {
  font-size: 13px;
  color: var(--paper);
}
.episode-status-countdown {
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ember-glow);
  text-shadow: 0 0 14px rgba(226, 112, 31, 0.55);
}
.synopsis-block {
  grid-column: 1 / -1;
  grid-row: 5;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper-dim);
  max-width: 78ch;
}
.synopsis-paragraph + .synopsis-paragraph { margin-top: 6px; }
.cast-block {
  grid-column: 1 / -1;
  grid-row: 6;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.cast-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 76px;
  padding: 7px 5px;
  background: linear-gradient(180deg, rgba(77, 70, 65, 0.42), rgba(29, 38, 54, 0.42));
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cast-card:hover {
  border-color: var(--copper-lite);
  transform: translateY(-2px);
}
.cast-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: #dce9e0;
  background:
    radial-gradient(circle at 34% 28%, rgba(226, 112, 31, 0.34), transparent 58%),
    linear-gradient(150deg, var(--patina-deep), var(--night));
  border: 1px solid rgba(176, 140, 82, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
.cast-role-name {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  text-align: center;
  line-height: 1.25;
}
.timeline-section {
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.timeline-track {
  position: relative;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 22px 4px 8px;
  scrollbar-width: thin;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 3px;
  background: linear-gradient(90deg, rgba(138, 107, 63, 0.15), var(--copper-lite) 12%, var(--copper) 88%, rgba(138, 107, 63, 0.15));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(176, 140, 82, 0.24);
}
.timeline-node {
  position: relative;
  flex: 1 1 128px;
  min-width: 118px;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.timeline-pin {
  position: absolute;
  top: 6px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 34% 30%, #d8b478, var(--copper) 62%, #4d3a1e);
  border: 1px solid #3a2b14;
  box-shadow: 0 0 0 2px rgba(20, 26, 38, 0.9), 0 0 9px rgba(226, 112, 31, 0.28);
}
.timeline-pin::after {
  content: "";
  position: absolute;
  left: 4px;
  top: -5px;
  width: 4px;
  height: 6px;
  background: var(--copper-lite);
  border-radius: 1px;
}
.timeline-timecode {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--copper-lite);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.4;
  color: var(--paper-dim);
}
.timeline-node:nth-child(even) { margin-top: 14px; }
.episodes-section {
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 7px;
  align-items: start;
}
.episode-card {
  display: block;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(77, 70, 65, 0.34), rgba(20, 26, 38, 0.5));
  border: 1px solid var(--line);
  border-left: 2px solid rgba(176, 140, 82, 0.55);
  border-radius: 2px;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.episode-card:hover {
  border-left-color: var(--ember);
  background: linear-gradient(180deg, rgba(92, 84, 78, 0.44), rgba(29, 38, 54, 0.55));
}
.episode-head {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}
.episode-number {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--copper-lite);
  white-space: nowrap;
}
.episode-title {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e2d8c8;
  flex: 1 1 auto;
  min-width: 0;
}
.episode-duration {
  font-family: var(--font-title);
  font-size: 11px;
  color: var(--paper-dim);
  white-space: nowrap;
}
.episode-summary {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-section {
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.comment-wall {
  columns: 3 200px;
  column-gap: 7px;
}
.comment-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 7px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(77, 70, 65, 0.36), rgba(20, 26, 38, 0.46));
  border: 1px solid var(--line);
  border-radius: 2px;
  vertical-align: top;
}
.comment-card:nth-child(3n) { transform: translateY(0); }
.comment-card:nth-child(2n) { background: linear-gradient(180deg, rgba(63, 107, 88, 0.24), rgba(20, 26, 38, 0.46)); }
.comment-nickname {
  display: block;
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--patina);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.45;
  color: var(--paper-dim);
}
.recommend-region {
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.region-heading {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--copper-lite);
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 2px solid var(--ember);
  line-height: 1.3;
}
.recommend-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 5px;
  scrollbar-width: thin;
}
a.recommend-card {
  flex: 0 0 auto;
  width: 148px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(77, 70, 65, 0.38), rgba(20, 26, 38, 0.52));
  border: 1px solid var(--line);
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
a.recommend-card:hover {
  border-color: var(--ember);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img, .recommend-card .recommend-pic {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 2px;
  background: #0e131c;
  border: 1px solid rgba(138, 107, 63, 0.32);
}
.recommend-name {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ded4c4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.35;
  color: var(--paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 8px;
  padding: 12px 14px 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 26, 38, 0.5), rgba(11, 15, 22, 0.9));
  display: grid;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--paper-dim);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--patina);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ember-glow);
  border-bottom-color: var(--ember);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.friend-links-label {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--copper-lite);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--paper-dim);
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(77, 70, 65, 0.24);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--patina);
  border-color: var(--patina-deep);
}
@media (max-width: 900px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-backdrop {
    grid-column: 1;
    grid-row: auto;
  }
.hero-titles, .player-shell {
    grid-column: 1;
    grid-row: auto;
  }
.details-block, .episode-status-block, .synopsis-block, .cast-block {
    grid-column: 1;
    grid-row: auto;
  }
.episode-status-block {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-wall {
    columns: 2 180px;
  }}
@media (max-width: 620px) {.page-main { padding: 10px; }
.site-header { padding: 7px 10px; }
.categories-bar { justify-content: flex-start; }
.movie-seo-description { font-size: 12.5px; }
.detail-list { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 0 12px; }
.episode-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.comment-wall { columns: 1; }
a.recommend-card { width: 132px; }
[data-runtime="recommendation"] img, .recommend-card .recommend-pic { height: 78px; }
.cast-card { width: 68px; }
.footer-disclaimer { font-size: 11px; }}
@media (max-width: 420px) {.movie-title { letter-spacing: 0.06em; }
.timeline-node { min-width: 104px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
a.recommend-card { width: 120px; }}

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}
