:root {
  --tide-green: #3d4f47;
  --tide-green-deep: #2a3833;
  --wood-brown: #6b4f3a;
  --wood-brown-dark: #4a3628;
  --indigo: #2c4a72;
  --indigo-bright: #3a5f8f;
  --sand: #d8d2c4;
  --sand-light: #e8e4da;
  --paper: #efede7;
  --ink: #2b2b28;
  --ink-soft: #55554e;
  --line: rgba(61, 79, 71, 0.28);
  --line-soft: rgba(61, 79, 71, 0.15);
  --warm-glow: #d4a24e;
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --serif-body: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--serif-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--tide-green-deep);
  background-image:
    linear-gradient(180deg, #38463f 0%, #2f3c36 40%, #2a3833 100%);
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2 {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.site-header {
  background: rgba(29, 38, 34, 0.92);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.header-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-soft);
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sand);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
a[data-contract="site-name"]:hover {
  color: var(--warm-glow);
}
.header-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
a.nav-link {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #9aab9f;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
a.nav-link:hover {
  color: var(--sand);
  border-bottom-color: var(--indigo-bright);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 18px;
  background: rgba(20, 27, 24, 0.5);
}
a.runtime-category {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--indigo-bright);
  text-decoration: none;
  padding: 2px 9px;
  border: 1px solid rgba(58, 95, 143, 0.4);
  border-radius: 1px;
  background: rgba(44, 74, 114, 0.12);
  transition: background 0.2s, color 0.2s;
}
a.runtime-category:hover {
  background: var(--indigo);
  color: var(--sand-light);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.movie-overview {
  padding: 16px 0 0;
  border-bottom: 1px solid var(--line);
}
.overview-lead {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 18px;
  align-items: start;
  padding-bottom: 16px;
}
.poster-wrap {
  align-self: start;
  border: 1px solid var(--line);
  background: var(--wood-brown-dark);
  padding: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.poster-img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.4);
}
.lead-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.movie-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--sand);
}
.movie-tagline {
  font-family: var(--serif-body);
  font-size: 12.5px;
  line-height: 1.55;
  color: #a7b3aa;
  border-left: 2px solid var(--indigo-bright);
  padding-left: 9px;
  font-style: italic;
}
.player-frame {
  position: relative;
  width: 100%;
  background: #0d1210;
  border: 1px solid var(--line);
  min-width: 0;
}
.player-frame.theater-mode {
  box-shadow: 0 0 0 2px var(--indigo-bright), 0 6px 22px rgba(0,0,0,0.6);
}
.player-frame.lights-dim {
  background: #050706;
}
.player-frame.lights-dim .main-player {
  filter: brightness(0.55);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: #161d1a;
  border-top: 1px solid var(--line-soft);
}
.ctrl-btn {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #b9c4bb;
  background: rgba(44, 74, 114, 0.22);
  border: 1px solid rgba(58, 95, 143, 0.42);
  border-radius: 1px;
  padding: 3px 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.ctrl-btn:hover {
  background: var(--indigo);
  color: var(--sand-light);
}
.ctrl-btn.is-active {
  background: var(--indigo-bright);
  color: #f2f6f0;
  border-color: #6d90ba;
}
.ctrl-btn.play, .ctrl-btn.pause {
  font-weight: 700;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: #3a4b43;
  border-radius: 2px;
  flex: 1 1 70px;
  min-width: 60px;
  cursor: pointer;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 13px;
  background: var(--indigo-bright);
  border: 1px solid #7f9dc2;
  border-radius: 1px;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 13px;
  background: var(--indigo-bright);
  border: 1px solid #7f9dc2;
  border-radius: 1px;
  cursor: pointer;
}
.ctrl-range.progress::-webkit-slider-thumb {
  background: var(--warm-glow);
  border-color: #e6c98a;
}
.ctrl-range.progress::-moz-range-thumb {
  background: var(--warm-glow);
  border-color: #e6c98a;
}
.ctrl-select {
  font-family: var(--sans);
  font-size: 11px;
  color: #b9c4bb;
  background: #1c2723;
  border: 1px solid rgba(58, 95, 143, 0.42);
  border-radius: 1px;
  padding: 3px 4px;
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.status-item {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  color: #b3bfb4;
  background: rgba(20, 27, 24, 0.4);
  border-radius: 1px;
}
.status-current {
  color: var(--sand-light);
  border-color: rgba(58, 95, 143, 0.6);
  background: rgba(44, 74, 114, 0.28);
}
.status-total {
  color: #9aab9f;
}
.status-rating {
  color: var(--sand-light);
  background: var(--indigo);
  border-color: var(--indigo-bright);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.section-heading {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--sand);
  padding: 0 0 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 1px;
  background: var(--indigo-bright);
}
.cast-list {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
}
.cast-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: rgba(20, 27, 24, 0.42);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--wood-brown);
  align-self: start;
}
.cast-name {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--sand-light);
}
.cast-note {
  font-family: var(--serif-body);
  font-size: 11px;
  line-height: 1.45;
  color: #93a096;
}
.synopsis-block {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
}
.synopsis-paragraphs {
  column-count: 2;
  column-gap: 26px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: #c3ccc4;
  margin-bottom: 9px;
  break-inside: avoid;
  text-align: justify;
}
.synopsis-para:first-child::first-letter {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--indigo-bright);
  padding-right: 2px;
}
.details-block {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 9px;
  background: rgba(20, 27, 24, 0.5);
}
.detail-key {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #7f8d84;
  flex: 0 0 auto;
}
.detail-value {
  font-family: var(--serif-body);
  font-size: 12px;
  color: #ccd4cc;
  flex: 1 1 auto;
  min-width: 0;
}
.timeline-section {
  padding: 16px 0 16px;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 0 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--indigo) transparent;
  align-items: flex-end;
}
.timeline-track::-webkit-scrollbar {
  height: 5px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--indigo);
  border-radius: 3px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
}
.timeline-node {
  flex: 0 0 auto;
  width: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 0 10px 8px 0;
  border-right: 1px solid var(--line-soft);
  position: relative;
  align-self: flex-end;
}
.timeline-node::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 1px;
  height: 26px;
  background: var(--indigo-bright);
}
.node-timecode {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--indigo-bright);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-soft);
}
.node-label {
  font-family: var(--serif-body);
  font-size: 11.5px;
  line-height: 1.45;
  color: #a9b5ab;
}
.episodes-section {
  padding: 16px 0 16px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 8px;
  background: rgba(20, 27, 24, 0.38);
  border: 1px solid var(--line-soft);
  border-top: 2px solid rgba(107, 79, 58, 0.5);
  filter: saturate(0.35);
  transition: filter 0.25s, background 0.25s, border-color 0.25s;
  align-self: start;
}
.episode-cell:hover {
  filter: saturate(0.85);
  background: rgba(30, 40, 35, 0.6);
}
.episode-cell-current {
  filter: saturate(1);
  background: rgba(44, 74, 114, 0.22);
  border-color: var(--indigo-bright);
  border-top-color: var(--indigo-bright);
  box-shadow: 0 0 0 1px rgba(58, 95, 143, 0.4), 0 3px 12px rgba(0,0,0,0.35);
}
.cell-number {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #8b9a90;
}
.episode-cell-current .cell-number {
  color: var(--sand-light);
}
.cell-title {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: #d6ddd5;
}
.episode-cell-current .cell-title {
  color: #eef3ec;
}
.cell-summary {
  font-family: var(--serif-body);
  font-size: 10px;
  line-height: 1.4;
  color: #8e9b91;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-cell-current .cell-summary {
  color: #b6c0b7;
}
.cell-duration {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #6f7d74;
  margin-top: 1px;
  padding-top: 3px;
  border-top: 1px solid var(--line-soft);
}
.comments-section {
  padding: 16px 0 16px;
  border-bottom: 1px solid var(--line);
}
.comment-list {
  column-count: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line-soft);
}
.comment-item {
  display: flex;
  gap: 9px;
  padding: 0 0 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line-soft);
  break-inside: avoid;
}
.comment-tide {
  flex: 0 0 auto;
  width: 3px;
  align-self: stretch;
  min-height: 26px;
  background: linear-gradient(180deg, var(--indigo-bright), rgba(58, 95, 143, 0.15));
  border-radius: 1px;
}
.comment-item:nth-child(3n) .comment-tide {
  background: linear-gradient(180deg, var(--warm-glow), rgba(212, 162, 78, 0.15));
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--indigo-bright);
}
.comment-text {
  font-family: var(--serif-body);
  font-size: 11.5px;
  line-height: 1.55;
  color: #b3bdb4;
}
.rec-region {
  padding: 16px 0 16px;
  border-bottom: 1px solid var(--line);
}
.rec-region:last-of-type {
  border-bottom: none;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: rgba(20, 27, 24, 0.4);
  border: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  align-self: start;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
a.rec-item:hover {
  border-color: var(--indigo-bright);
  background: rgba(44, 74, 114, 0.18);
  transform: translateY(-1px);
}
.rec-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--wood-brown-dark);
  border: 1px solid rgba(0,0,0,0.35);
}
.rec-name {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #d6ddd5;
  text-align: left;
}
.rec-blurb {
  font-family: var(--serif-body);
  font-size: 10.5px;
  line-height: 1.45;
  color: #8e9b91;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: rgba(20, 27, 24, 0.9);
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #9aab9f;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--sand);
  border-bottom-color: var(--indigo-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.friend-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #7f8d84;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-family: var(--serif-body);
  font-size: 11px;
  color: #8fa89a;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(143, 168, 154, 0.4);
}
a.runtime-friend-link:hover {
  color: var(--indigo-bright);
  border-bottom-color: var(--indigo-bright);
}
.footer-disclaimer {
  font-family: var(--serif-body);
  font-size: 10.5px;
  line-height: 1.55;
  color: #6f7d74;
  max-width: 68ch;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
}
.player {
  position: relative;
}
.play.is-active, .pause.is-active {
  background: var(--indigo-bright);
  color: #f2f6f0;
}
.mute.is-active, .input.is-active, .change.is-active, .click.is-active, .fullscreen.is-active, .pip.is-active, .theater.is-active, .light.is-active, .speed.is-active, .volume.is-active, .timeupdate.is-active, .progress.is-active {
  border-color: var(--indigo-bright);
}
.lights-dim .player-controls {
  background: #0a0e0c;
}
.theater-mode .main-player {
  max-height: 72vh;
}
@media (max-width: 900px) {.overview-lead {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-wrap {
    max-width: 300px;
  }
.synopsis-paragraphs {
    column-count: 1;
    column-rule: none;
  }
.comment-list {
    column-count: 1;
    column-rule: none;
  }}
@media (max-width: 640px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 0 12px;
  }
.header-bar {
    padding: 9px 12px 7px;
  }
.category-strip {
    padding: 6px 12px;
  }
.movie-title {
    font-size: 21px;
  }
.poster-wrap {
    max-width: 220px;
  }
.player-controls {
    gap: 4px;
    padding: 5px 6px;
  }
.ctrl-btn {
    font-size: 10px;
    padding: 3px 6px;
  }
.ctrl-range {
    flex: 1 1 100%;
  }
.cast-cards {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.timeline-node {
    width: 148px;
  }
.footer-inner {
    padding: 12px 12px 16px;
  }}
@media (max-width: 420px) {.cast-cards {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.details-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 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}
