:root {
  --green-deep: #1a2b24;
  --green-wet: #24382e;
  --green-mid: #2f4a3c;
  --green-line: #3d5a4a;
  --rust: #8c3a24;
  --rust-light: #a84a2e;
  --paper: #d9cfa4;
  --paper-soft: #c9bd8e;
  --paper-dim: #b3a678;
  --wheat: #d4a93c;
  --wheat-bright: #e8c150;
  --ink: #1c1a14;
  --text-body: #c4bc9e;
  --text-dim: #8a8468;
  --font-title: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "SimHei", sans-serif;
  --font-body: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: var(--green-deep);
  background-image:
    linear-gradient(180deg, rgba(26, 43, 36, 0.92), rgba(20, 32, 27, 0.98)),
    repeating-linear-gradient(0deg, rgba(61, 90, 74, 0.08) 0, rgba(61, 90, 74, 0.08) 1px, transparent 1px, transparent 3px);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  border: 0;
}
video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--paper);
  text-decoration: none;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
}
button {
  font-family: inherit;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 32, 27, 0.94);
  border-bottom: 1px solid var(--green-line);
  backdrop-filter: blur(4px);
}
.header-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: var(--wheat-bright);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--wheat);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
a.runtime-category {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--text-body);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--green-line);
  background: rgba(47, 74, 60, 0.35);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--wheat-bright);
  border-color: var(--wheat);
  background: rgba(47, 74, 60, 0.7);
}
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
section {
  padding: 0;
}
.hero-ledger {
  position: relative;
  margin-top: 14px;
  padding: 0;
  background:
    repeating-linear-gradient(105deg, rgba(61, 90, 74, 0.06) 0, rgba(61, 90, 74, 0.06) 2px, transparent 2px, transparent 7px),
    linear-gradient(160deg, var(--green-wet) 0%, var(--green-deep) 70%);
  border: 1px solid var(--green-line);
  overflow: hidden;
}
.hero-ledger::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 60% at 80% 110%, rgba(212, 169, 60, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 50% at 15% 8%, rgba(140, 58, 36, 0.14), transparent 65%);
  mix-blend-mode: screen;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: 18px;
  padding: 18px;
  align-items: start;
}
.poster-frame {
  position: relative;
  align-self: start;
  border: 1px solid var(--green-line);
  background: #101a15;
  padding: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}
.hero-titles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
  padding-top: 4px;
}
.movie-title {
  font-size: 30px;
  line-height: 1.2;
  color: var(--paper);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  border-left: 4px solid var(--rust);
  padding-left: 12px;
}
.movie-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--wheat);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 62ch;
}
.player-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  background: #0c1410;
  border-top: 1px solid var(--green-line);
  padding: 0;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(20, 32, 27, 0.92);
  border-top: 1px solid var(--green-line);
}
.player-controls button {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--text-body);
  background: rgba(47, 74, 60, 0.4);
  border: 1px solid var(--green-line);
  padding: 4px 10px;
  letter-spacing: 0.04em;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-controls button:hover {
  color: var(--wheat-bright);
  border-color: var(--wheat);
  background: rgba(47, 74, 60, 0.75);
}
.player-shell.is-playing .player-controls button[data-player-action="play"], .player-shell.is-muted .player-controls button[data-player-action="mute"], .player-shell.is-pip .player-controls button[data-player-action="pip"], .player-shell.is-fullscreen .player-controls button[data-player-action="fullscreen"], .player-shell.is-theater .player-controls button[data-player-action="theater"], .player-shell.is-lights-off .player-controls button[data-player-action="light"], .player-shell.seek-active .player-controls button[data-player-action="progress"], .player-shell.volume-active .player-controls button[data-player-action="volume"], .player-shell.speed-active .player-controls button[data-player-action="speed"] {
  color: var(--ink);
  background: var(--wheat);
  border-color: var(--wheat-bright);
}
.player-shell.is-lights-off {
  filter: brightness(0.4);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--wheat), 0 6px 24px rgba(0, 0, 0, 0.6);
}
.episode-status {
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(47, 74, 60, 0.28);
  border: 1px solid var(--green-line);
  border-left: 4px solid var(--wheat);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.status-heading {
  font-size: 13px;
  color: var(--wheat);
  letter-spacing: 0.14em;
}
.status-line {
  font-size: 14px;
  color: var(--paper-soft);
}
.cast-block {
  margin-top: 26px;
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-size: 16px;
  color: var(--wheat);
  letter-spacing: 0.1em;
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--green-line);
  position: relative;
}
.cast-heading::before, .synopsis-heading::before, .details-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--rust);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px;
  background: rgba(47, 74, 60, 0.22);
  border: 1px solid var(--green-line);
  align-self: start;
  transition: border-color 0.15s, background 0.15s;
}
.cast-card:hover {
  border-color: var(--wheat);
  background: rgba(47, 74, 60, 0.42);
}
.cast-name {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.04em;
}
.cast-relation {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}
.synopsis-block {
  margin-top: 26px;
}
.synopsis-para {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 10px;
  text-indent: 2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-block {
  margin-top: 26px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--green-line);
  border: 1px solid var(--green-line);
}
.details-list dt {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--wheat);
  letter-spacing: 0.06em;
  background: rgba(36, 56, 46, 0.9);
  padding: 6px 10px 4px;
}
.details-list dd {
  font-size: 13px;
  color: var(--text-body);
  background: rgba(26, 43, 36, 0.9);
  padding: 4px 10px 8px;
  border-bottom: 1px solid rgba(61, 90, 74, 0.4);
}
.timeline-strip {
  margin-top: 30px;
}
.film-rail {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 2px 18px;
  background:
    repeating-linear-gradient(90deg, rgba(61, 90, 74, 0.25) 0, rgba(61, 90, 74, 0.25) 1px, transparent 1px, transparent 10px),
    linear-gradient(180deg, rgba(140, 58, 36, 0.12) 0, transparent 30%, transparent 70%, rgba(140, 58, 36, 0.12) 100%);
  border-top: 1px solid var(--green-line);
  border-bottom: 1px solid var(--green-line);
  scrollbar-width: thin;
  scrollbar-color: var(--green-line) transparent;
}
.film-rail::-webkit-scrollbar {
  height: 8px;
}
.film-rail::-webkit-scrollbar-track {
  background: rgba(20, 32, 27, 0.8);
}
.film-rail::-webkit-scrollbar-thumb {
  background: var(--green-line);
  border: 1px solid var(--green-deep);
}
.timeline-track {
  display: flex;
  gap: 0;
  align-items: stretch;
  width: max-content;
  padding: 0 4px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 152px;
  padding: 10px 12px 12px;
  border-left: 1px solid var(--green-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: stretch;
}
.timeline-node:last-child {
  border-right: 1px solid var(--green-line);
}
.wheat-mark {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--wheat-bright);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wheat);
  background: rgba(140, 58, 36, 0.28);
}
.node-time {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--wheat);
  letter-spacing: 0.06em;
}
.node-label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episodes-grid-block {
  margin-top: 30px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--green-line);
  border: 1px solid var(--green-line);
}
.episode-cell {
  position: relative;
  background: rgba(26, 43, 36, 0.92);
  padding: 10px 12px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.15s;
}
.episode-cell:hover {
  background: rgba(47, 74, 60, 0.55);
}
.ep-number {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  color: var(--wheat);
  letter-spacing: 0.08em;
}
.ep-title {
  font-size: 14px;
  color: var(--paper);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.ep-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-dim);
}
.ep-duration {
  font-family: var(--font-title);
  font-size: 11px;
  color: var(--rust-light);
  letter-spacing: 0.06em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin 0.2s ease;
}
.episode-cell:hover .ep-duration {
  max-height: 24px;
  opacity: 1;
  margin-top: 2px;
}
.comments-board {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comments-heading {
  grid-column: 1 / -1;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-note {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 12px 10px;
  border: 1px solid var(--paper-dim);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(-0.35deg);
  transition: transform 0.15s;
}
.comments-column:nth-child(3) .comment-note {
  transform: rotate(0.4deg);
}
.comment-note:hover {
  transform: rotate(0deg) translateY(-1px);
}
.comment-text {
  font-size: 13px;
  line-height: 1.7;
  color: #2a2519;
  margin-bottom: 6px;
}
.comment-nick {
  display: block;
  font-family: var(--font-title);
  font-size: 11px;
  color: var(--rust);
  letter-spacing: 0.04em;
  text-align: right;
}
.comment-nick::before {
  content: "—— ";
  color: var(--paper-dim);
}
.rec-region {
  margin-top: 30px;
}
.rec-region + .rec-region {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--green-line);
}
.rec-heading {
  font-size: 15px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.rec-heading::after {
  content: attr(data-recommendation-title);
  display: none;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-region-2 .rec-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.rec-region-3 .rec-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rec-region-4 .rec-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: rgba(26, 43, 36, 0.7);
  border: 1px solid var(--green-line);
  color: var(--text-body);
  text-decoration: none;
  align-self: start;
  transition: border-color 0.15s, background 0.15s;
}
a.rec-item:hover {
  border-color: var(--wheat);
  background: rgba(47, 74, 60, 0.5);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #0c1410;
  border: 1px solid rgba(61, 90, 74, 0.6);
  filter: saturate(0.88) contrast(1.03);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 40px;
  padding: 22px 16px 30px;
  border-top: 1px solid var(--green-line);
  background: rgba(20, 32, 27, 0.9);
}
.footer-nav {
  max-width: 1200px;
  margin: 0 auto 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--paper-soft);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--wheat-bright);
  border-bottom-color: var(--wheat);
}
.friend-links {
  max-width: 1200px;
  margin: 0 auto 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-label {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--wheat);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--paper);
  text-decoration: underline;
}
.footer-disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(138, 132, 104, 0.7);
}
@media (max-width: 1024px) {.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-list, .rec-region-2 .rec-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.hero-overlay {
    grid-template-columns: 1fr;
    gap: 14px;
  }
.poster-frame {
    max-width: 220px;
  }
.movie-title {
    font-size: 24px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-list, .rec-region-2 .rec-list, .rec-region-3 .rec-list, .rec-region-4 .rec-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-board {
    grid-template-columns: 1fr;
  }}
@media (max-width: 600px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0 10px 30px;
  }
.hero-overlay {
    padding: 12px;
  }
.movie-title {
    font-size: 20px;
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: 1fr;
  }
.rec-list, .rec-region-2 .rec-list, .rec-region-3 .rec-list, .rec-region-4 .rec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls button {
    font-size: 11px;
    padding: 3px 8px;
  }}
@media (max-width: 400px) {.cast-row {
    grid-template-columns: 1fr;
  }
.rec-list, .rec-region-2 .rec-list, .rec-region-3 .rec-list, .rec-region-4 .rec-list {
    grid-template-columns: 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}
