*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --char: #1b1512;
  --char-deep: #120d0b;
  --coal: #241b16;
  --coal-soft: #32241d;
  --ember: #7c1f18;
  --ember-bright: #a8301f;
  --ember-deep: #4d130e;
  --snow: #d9d5cc;
  --snow-dim: #a9a49a;
  --snow-faint: #7a756c;
  --cloth: #cdbb96;
  --cloth-dim: #b3a07a;
  --paper: #e7e1d3;
  --rule: rgba(205, 187, 150, 0.22);
  --rule-soft: rgba(205, 187, 150, 0.12);
  --board: rgba(28, 19, 14, 0.82);
  --font-head: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --gap-tight: 8px;
  --pad-tight: 10px;
}
html, body {
  background-color: var(--char-deep);
}
body {
  font-family: var(--font-body);
  color: var(--snow);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  background-image:
    linear-gradient(180deg, #17110e 0%, #1b1512 40%, #120d0b 100%);
  background-attachment: fixed;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 26px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #1d1512 0%, #17100d 100%);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-tight);
  flex-wrap: wrap;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--ember);
  padding-left: 8px;
}
a[data-contract="site-name"]:hover {
  color: #f0e6cf;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  row-gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--cloth);
  text-decoration: none;
  padding: 4px 9px;
  border: 1px solid var(--rule);
  background: rgba(205, 187, 150, 0.06);
  letter-spacing: 0.04em;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--ember-bright);
  background: rgba(124, 31, 24, 0.35);
}
.hero-shell {
  position: relative;
  display: block;
  margin-top: 14px;
  padding: 0;
}
.hero-backdrop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  background: #0f0b09;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.hero-poster-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #0c0908;
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05) brightness(0.94);
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 7, 6, 0.05) 0%, rgba(9, 7, 6, 0.42) 100%);
  pointer-events: none;
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #000;
  border-top: 1px solid var(--rule);
}
.hero-player-wrap video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: linear-gradient(180deg, rgba(36, 27, 22, 0.96) 0%, rgba(18, 13, 11, 0.98) 100%);
  border-top: 1px solid var(--rule);
}
.ctrl {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.2;
  color: var(--snow);
  background: var(--coal-soft);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 4px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl:hover {
  background: var(--ember-deep);
  border-color: var(--ember-bright);
  color: var(--paper);
}
.ctrl:focus-visible {
  outline: 2px solid var(--ember-bright);
  outline-offset: 1px;
}
.ctrl-play {
  min-width: 62px;
  font-weight: 700;
  color: var(--paper);
  background: var(--ember);
  border-color: var(--ember-bright);
}
.ctrl-play.is-playing {
  background: var(--coal-soft);
  color: var(--snow);
}
.ctrl-mute.is-muted {
  border-color: var(--ember-bright);
  color: var(--cloth);
}
.ctrl-speed {
  padding: 4px 4px;
  background: var(--coal-soft);
}
.ctrl-pip.is-active, .ctrl-fullscreen.is-active, .ctrl-theater.is-active, .ctrl-light.is-active {
  background: var(--ember);
  border-color: var(--ember-bright);
  color: var(--paper);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 18px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  accent-color: var(--ember-bright);
}
.ctrl-volume {
  flex: 0 1 78px;
  min-width: 62px;
  height: 18px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  accent-color: var(--ember-bright);
}
.hero-shell.theater-mode .hero-backdrop {
  border-color: var(--ember);
}
.hero-shell.theater-mode .hero-poster-wrap {
  display: none;
}
.hero-shell.lights-off .hero-backdrop {
  background: #000;
}
.hero-shell.lights-off .hero-poster-wrap img {
  filter: brightness(0.35) saturate(0.5);
}
.hero-info-board {
  position: relative;
  background: var(--board);
  border: 1px solid var(--rule);
  border-top: none;
  padding: 10px 12px 12px;
  backdrop-filter: blur(2px);
}
.movie-title {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.04em;
}
.movie-tagline {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--cloth-dim);
}
.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 10px;
  background: var(--rule-soft);
  border: 1px solid var(--rule);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 6px 7px;
  background: rgba(18, 13, 11, 0.72);
}
.stat-label {
  font-size: 11px;
  color: var(--snow-faint);
  letter-spacing: 0.1em;
}
.stat-value {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.1;
}
.stat-item:first-child .stat-value {
  color: #f0c66b;
}
.info-block {
  margin-top: 0;
  padding: 12px 12px 13px;
  border: 1px solid var(--rule);
  border-top: none;
  background: rgba(27, 21, 18, 0.5);
}
.block-heading, .section-heading {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.06em;
}
.block-heading {
  position: relative;
  font-size: 15px;
  line-height: 1.3;
  padding-left: 10px;
  margin-bottom: 8px;
  border-left: 3px solid var(--ember);
}
.section-heading {
  font-size: 16px;
  line-height: 1.3;
  padding-left: 10px;
  margin-bottom: 9px;
  border-left: 3px solid var(--ember);
}
.synopsis-body {
  display: block;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: #c8c2b6;
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  margin-top: 7px;
}
.episode-status-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.episode-status-block .block-heading {
  margin-bottom: 0;
}
.episode-status-text {
  font-size: 13px;
  color: var(--cloth);
  line-height: 1.5;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  min-width: 0;
}
.cast-photo-wrap {
  position: relative;
  width: 100%;
  background: #17110e;
  border: 1px solid var(--rule);
  padding: 3px;
  overflow: hidden;
}
.cast-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.55) sepia(0.28) contrast(1.06) brightness(0.92);
}
.cast-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 3px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 240, 210, 0.1) 0%, rgba(255, 240, 210, 0) 45%),
    linear-gradient(180deg, rgba(20, 14, 11, 0) 55%, rgba(20, 14, 11, 0.55) 100%);
  pointer-events: none;
}
.cast-name {
  font-size: 12px;
  line-height: 1.3;
  color: var(--cloth);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 5px 7px;
  background: rgba(18, 13, 11, 0.66);
}
.details-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--snow-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.details-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--snow);
  line-height: 1.4;
}
.timeline-section {
  margin-top: 16px;
  padding: 12px 12px 14px;
  border: 1px solid var(--rule);
  background: rgba(24, 18, 15, 0.55);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-left: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 3px;
  width: 2px;
  background: linear-gradient(180deg, var(--ember-deep) 0%, var(--ember) 50%, var(--ember-deep) 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 9px;
  padding: 5px 0 6px;
  border-bottom: 1px dashed var(--rule-soft);
}
.timeline-node:last-child {
  border-bottom: none;
}
.timeline-marker {
  position: absolute;
  left: -16px;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--coal-soft);
  border: 1px solid var(--ember);
  transform: rotate(45deg);
}
.timeline-timecode {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--cloth);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.timeline-label {
  flex: 1 1 200px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #c1bbb0;
}
.timeline-node-current .timeline-marker {
  background: var(--ember-bright);
  border-color: #e8b566;
  box-shadow: 0 0 0 2px rgba(168, 48, 31, 0.35);
}
.timeline-node-current .timeline-timecode {
  color: #f0c66b;
}
.timeline-node-current .timeline-label {
  color: var(--paper);
}
.episodes-section {
  margin-top: 16px;
  padding: 12px 0 14px 12px;
  border: 1px solid var(--rule);
  background: rgba(24, 18, 15, 0.55);
}
.episodes-section .section-heading {
  margin-right: 12px;
}
.episodes-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, auto);
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 12px 8px 0;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--ember-deep) rgba(205, 187, 150, 0.1);
  scrollbar-width: thin;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  min-height: 100%;
  padding: 8px 9px 9px;
  border: 1px solid var(--rule);
  background: rgba(18, 13, 11, 0.78);
  scroll-snap-align: start;
}
.episode-card-current {
  border-color: var(--ember-bright);
  background: rgba(77, 19, 14, 0.42);
  box-shadow: inset 0 2px 0 var(--ember);
}
.episode-number {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ember-bright);
  background: rgba(124, 31, 24, 0.16);
  border: 1px solid var(--rule-soft);
  padding: 1px 5px;
  align-self: flex-start;
}
.episode-card-current .episode-number {
  color: #f0c66b;
  border-color: rgba(232, 181, 102, 0.4);
}
.episode-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper);
}
.episode-summary {
  flex: 1 1 auto;
  font-size: 12px;
  line-height: 1.55;
  color: #b8b2a7;
  overflow-wrap: anywhere;
}
.episode-duration {
  font-size: 11px;
  color: var(--snow-faint);
  letter-spacing: 0.05em;
}
.comments-section {
  margin-top: 16px;
  padding: 12px 12px 16px;
  border: 1px solid var(--rule);
  background: rgba(24, 18, 15, 0.55);
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--rule);
  background: rgba(18, 13, 11, 0.86);
  box-shadow: -3px 3px 0 rgba(0, 0, 0, 0.35);
}
.comment-layer-1 {
  border-left: 3px solid var(--ember);
  margin-left: 0;
}
.comment-layer-2 {
  border-left: 3px solid var(--ember-bright);
  margin-left: 14px;
}
.comment-layer-3 {
  border-left: 3px solid var(--cloth-dim);
  margin-left: 28px;
}
.comment-nickname {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--cloth);
  letter-spacing: 0.04em;
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: #c4beb3;
  text-align: justify;
}
.rec-region {
  position: relative;
  margin-top: 16px;
  padding: 14px 12px 12px;
  border: 1px solid var(--rule);
  background: rgba(24, 18, 15, 0.55);
}
.rec-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--paper);
  padding: 2px 8px;
  border-left: 3px solid var(--ember);
  margin-bottom: 9px;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 6px;
  color: var(--snow);
  text-decoration: none;
  border: 1px solid var(--rule);
  background: rgba(18, 13, 11, 0.8);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
a.rec-item:hover, a.rec-item:focus-visible {
  border-color: var(--ember-bright);
  background: rgba(77, 19, 14, 0.34);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0c0908;
  filter: saturate(0.75) contrast(1.04) brightness(0.93);
}
.rec-name {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: #aaa49a;
  overflow-wrap: anywhere;
}
.site-footer {
  width: 100%;
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 14px 14px 24px;
  border-top: 2px solid var(--ember-deep);
  background: linear-gradient(180deg, rgba(18, 13, 11, 0.2) 0%, rgba(12, 9, 8, 0.9) 100%);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--snow-faint);
  text-align: justify;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
a.footer-link {
  font-size: 12.5px;
  color: var(--cloth);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
a.footer-link:hover {
  color: var(--paper);
  border-bottom-color: var(--ember-bright);
}
a[data-contract="footer-home"] {
  color: var(--cloth);
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: var(--cloth-dim);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--paper);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--snow-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #9d968b;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--cloth);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (min-width: 900px) {.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0;
    align-items: start;
    border: 1px solid var(--rule);
    background: #0f0b09;
  }
.hero-backdrop {
    grid-column: 1;
    grid-row: 1 / span 3;
    border: none;
    border-right: 1px solid var(--rule);
  }
.hero-info-board {
    grid-column: 2;
    grid-row: 1;
    border: none;
    border-bottom: 1px solid var(--rule);
    background: rgba(28, 19, 14, 0.9);
    backdrop-filter: none;
  }
.info-block {
    grid-column: 2;
    grid-row: 2;
    border: none;
    border-bottom: 1px solid var(--rule);
  }
.hero-shell > .info-block:last-of-type {
    grid-row: 3;
    border-bottom: none;
  }
.movie-title {
    font-size: 22px;
  }
.synopsis-body {
    column-count: 2;
    column-gap: 16px;
    column-rule: 1px solid var(--rule-soft);
  }
.synopsis-para + .synopsis-para {
    margin-top: 0;
  }
.synopsis-para {
    margin-bottom: 7px;
    break-inside: avoid;
  }
.cast-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-rail {
    grid-auto-columns: calc((100% - 4 * 8px) / 5);
  }
.comments-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 899px) {.hero-info-board {
    border-top: none;
  }
.cast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-rail {
    grid-auto-columns: calc((100% - 3 * 8px) / 3.4);
  }
.comments-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 0 9px 20px;
  }
.site-header-inner {
    padding: 7px 9px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
  }
.hero-shell {
    margin-top: 10px;
  }
.movie-title {
    font-size: 17px;
  }
.movie-tagline {
    font-size: 11.5px;
  }
.hero-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.stat-value {
    font-size: 15px;
  }
.synopsis-para {
    font-size: 12.5px;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
.cast-name {
    font-size: 11px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-row {
    padding: 4px 6px;
  }
.timeline-section, .comments-section, .rec-region {
    padding: 10px 9px 12px;
    margin-top: 12px;
  }
.episodes-section {
    padding: 10px 0 12px 9px;
    margin-top: 12px;
  }
.episodes-section .section-heading {
    margin-right: 9px;
  }
.episodes-rail {
    grid-auto-columns: calc((100% - 2 * 7px) / 1.9);
    gap: 7px;
    padding-right: 9px;
  }
.episode-summary {
    font-size: 11.5px;
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
.comment-layer-1 {
    margin-left: 0;
  }
.comment-layer-2 {
    margin-left: 10px;
  }
.comment-layer-3 {
    margin-left: 20px;
  }
.rec-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
.site-footer {
    margin-top: 16px;
    padding: 12px 9px 20px;
  }}
@media (max-width: 380px) {.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 4px;
  }
.ctrl {
    font-size: 11px;
    padding: 3px 6px;
  }}

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}
