:root {
  --wall-base: #3d4a44;
  --wall-deep: #2e3833;
  --wall-mid: #46544c;
  --wall-light: #57665d;
  --wall-pale: #8a998f;
  --wax-red: #b23a35;
  --wax-red-bright: #c9483f;
  --wax-red-dim: #7d2c28;
  --mortar: #333e38;
  --ink: #dfe6e0;
  --ink-dim: #a4b0a8;
  --ink-faint: #7c8a81;
  --line: #4f5d54;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--wall-base);
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 44px 22px, 44px 22px;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
input {
  font: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--wall-deep);
  border-bottom: 1px solid var(--wax-red-dim);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  max-width: 1320px;
  margin: 0 auto;
  flex-wrap: wrap;
}
a[data-contract="site-name"].site-brand {
  color: var(--wax-red-bright);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding-right: 12px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand:hover {
  color: var(--ink);
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background-color: rgba(0, 0, 0, 0.12);
  letter-spacing: 0.06em;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
a.runtime-category:hover {
  color: var(--wax-red-bright);
  border-color: var(--wax-red-dim);
  background-color: rgba(178, 58, 53, 0.1);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 14px 20px;
  display: block;
}
.section-heading, .panel-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--wax-red);
  text-transform: uppercase;
  padding: 0 0 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::after, .panel-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 26px;
  height: 2px;
  background-color: var(--wax-red);
}
section[data-fragment] {
  margin-top: 18px;
}
.hero-slab {
  margin-top: 14px;
}
.hero-still {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.hero-media-wrap {
  position: relative;
  background-color: #232b27;
  border: 1px solid var(--line);
  overflow: hidden;
  align-self: start;
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
  display: block;
}
.hero-door-seam {
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--wax-red-bright) 22%, var(--wax-red) 55%, var(--wax-red-dim) 82%, transparent 100%);
  box-shadow: 0 0 12px rgba(201, 72, 63, 0.55);
  pointer-events: none;
}
.hero-title-block {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.movie-title {
  font-size: clamp(26px, 4.6vw, 52px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.movie-tagline {
  font-size: 13px;
  color: var(--wax-red-bright);
  letter-spacing: 0.04em;
  border-left: 2px solid var(--wax-red);
  padding-left: 8px;
  max-width: 46ch;
}
.hero-seo {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ink-dim);
  max-width: 74ch;
  word-break: break-word;
}
.hero-player-shell {
  position: relative;
  width: 100%;
  max-width: none;
  background-color: #1b221e;
  border: 1px solid var(--line);
  margin-top: 2px;
}
.player-video {
  display: block;
  background-color: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  background-color: rgba(0, 0, 0, 0.28);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  color: var(--ink-dim);
  background-color: transparent;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.ctrl-btn:hover {
  color: var(--wax-red-bright);
  border-color: var(--wax-red-dim);
  background-color: rgba(178, 58, 53, 0.12);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background-color: var(--line);
  border: none;
  cursor: pointer;
  min-width: 0;
}
.ctrl-progress {
  flex: 1 1 120px;
}
.ctrl-volume {
  flex: 0 1 80px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--wax-red-bright);
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background-color: var(--wax-red-bright);
}
.hero-player-shell.is-playing .ctrl-play {
  color: var(--wax-red-bright);
  border-color: var(--wax-red-dim);
}
.hero-player-shell.is-muted .ctrl-mute, .hero-player-shell.is-pip .ctrl-pip, .hero-player-shell.is-fullscreen .ctrl-fullscreen {
  color: var(--wax-red-bright);
  border-color: var(--wax-red-dim);
  background-color: rgba(178, 58, 53, 0.14);
}
.hero-player-shell.is-fullscreen {
  background-color: #000;
}
body.theater-mode .site-header {
  position: static;
}
body.theater-mode .hero-still {
  grid-template-columns: minmax(0, 1fr);
}
body.theater-mode .hero-media-wrap {
  display: none;
}
body.lights-off {
  background-image: none;
  background-color: #111614;
}
body.lights-off .page-main, body.lights-off .site-footer {
  opacity: 0.55;
}
body.lights-off .hero-player-shell {
  opacity: 1;
  box-shadow: 0 0 0 1px var(--wax-red-dim), 0 0 40px rgba(201, 72, 63, 0.2);
}
.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.cast-panel-wall, .synopsis-panel, .episode-status-panel, .details-panel {
  min-width: 0;
  padding: 8px 9px 10px;
  background-color: rgba(0, 0, 0, 0.14);
  border: 1px solid var(--line);
  align-self: start;
}
.cast-strips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-strip {
  display: flex;
  align-items: stretch;
  gap: 5px;
  padding: 4px 6px 4px 4px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  min-width: 0;
}
.cast-avatar-wrap {
  flex: 0 0 auto;
  width: 34px;
  height: 46px;
  overflow: hidden;
  background-color: #222a25;
  border: 1px solid var(--mortar);
}
.cast-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.5) saturate(0.7) contrast(1.05);
}
.cast-name-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink);
  align-self: stretch;
  padding: 1px 0;
}
.cast-role {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  align-self: stretch;
  padding: 1px 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.58;
  color: var(--ink-dim);
  text-align: justify;
}
.synopsis-para:first-child {
  color: var(--ink);
}
.status-line {
  font-size: 12px;
  color: var(--ink-dim);
  padding: 3px 0;
  border-bottom: 1px dotted var(--line);
}
.status-line:last-child {
  color: var(--wax-red-bright);
  border-bottom: none;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.details-list {
  display: flex;
  flex-direction: column;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(79, 93, 84, 0.7);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.detail-value {
  flex: 1 1 auto;
  text-align: right;
  font-size: 12px;
  color: var(--ink);
  min-width: 0;
}
.timeline-section {
  margin-top: 20px;
}
.filmstrip-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 12px;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  scrollbar-color: var(--wax-red-dim) var(--wall-deep);
  scrollbar-width: thin;
}
.filmstrip-scroll::-webkit-scrollbar {
  height: 7px;
}
.filmstrip-scroll::-webkit-scrollbar-track {
  background-color: var(--wall-deep);
}
.filmstrip-scroll::-webkit-scrollbar-thumb {
  background-color: var(--wax-red-dim);
}
.filmstrip {
  display: flex;
  gap: 6px;
  align-items: stretch;
  min-width: max-content;
  padding: 0 4px;
}
.film-cell {
  position: relative;
  flex: 0 0 auto;
  width: 190px;
  padding: 22px 8px 8px;
  background-color: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.film-cell::before, .film-cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background-image: repeating-linear-gradient(90deg, var(--wall-deep) 0 5px, transparent 5px 11px);
  opacity: 0.85;
}
.film-cell::before {
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.film-cell::after {
  bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
}
.cell-timecode {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--wax-red-bright);
  font-weight: 700;
}
.cell-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.film-cell-turn {
  background-color: rgba(178, 58, 53, 0.09);
  border-color: var(--wax-red-dim);
}
.film-cell-turn .cell-label {
  color: var(--ink);
}
.cell-waxdot {
  position: absolute;
  top: 12px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, var(--wax-red-bright), var(--wax-red-dim) 70%);
  box-shadow: 0 0 7px rgba(201, 72, 63, 0.7);
}
.episodes-section {
  margin-top: 20px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px 9px;
  background-color: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  filter: saturate(0.55);
  transition: transform 0.18s, filter 0.18s, border-color 0.18s, background-color 0.18s;
}
.episode-card:hover {
  filter: saturate(0.95);
  border-color: var(--wall-pale);
}
.ep-number {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}
.ep-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.3;
}
.ep-summary {
  font-size: 11.5px;
  line-height: 1.52;
  color: var(--ink-dim);
  flex: 1 1 auto;
}
.ep-duration {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  align-self: flex-start;
  padding-top: 3px;
  border-top: 1px dotted var(--line);
  width: 100%;
}
.episode-card-current {
  filter: none;
  background-color: rgba(178, 58, 53, 0.11);
  border: 1px solid var(--wax-red);
  box-shadow: 0 0 0 1px rgba(178, 58, 53, 0.35), 0 6px 14px rgba(0, 0, 0, 0.34);
  transform: translateY(-4px);
}
.episode-card-current .ep-number {
  color: var(--wax-red-bright);
}
.episode-card-current .ep-title {
  color: #fff;
}
.episode-card-current .ep-summary {
  color: var(--ink);
}
.comments-section {
  margin-top: 20px;
}
.comments-masonry {
  columns: 3;
  column-gap: 8px;
  column-fill: balance;
}
.comment-brick {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  margin: 0 0 8px;
  padding: 8px 9px;
  background-color: rgba(0, 0, 0, 0.16);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wall-light);
}
.comment-long {
  background-color: rgba(0, 0, 0, 0.22);
  border-left-color: var(--wax-red-dim);
}
.comment-short {
  background-color: rgba(255, 255, 255, 0.035);
  border-left-color: var(--wall-pale);
}
.comment-nick {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wax-red);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.comment-long .comment-text {
  color: var(--ink);
}
.rec-region {
  margin-top: 20px;
}
.rec-wide-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-column-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 5px;
  align-items: start;
}
a.rec-card.rec-card-wide, a.rec-card.rec-card-small, a.rec-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-decoration: none;
  transition: border-color 0.16s, background-color 0.16s, transform 0.16s;
}
a.rec-card.rec-card-wide {
  padding: 7px;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  color: var(--ink);
}
a.rec-card.rec-card-wide:hover {
  border-color: var(--wax-red);
  background-color: rgba(178, 58, 53, 0.1);
  transform: translateY(-2px);
}
a.rec-card.rec-card-small {
  padding: 6px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink-dim);
}
a.rec-card.rec-card-small:hover {
  border-color: var(--wax-red-dim);
  background-color: rgba(178, 58, 53, 0.08);
}
a.rec-chip {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background-color: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line);
  color: var(--ink-dim);
}
a.rec-chip:hover {
  border-color: var(--wax-red-dim);
  background-color: rgba(178, 58, 53, 0.1);
  color: var(--ink);
}
[data-runtime="recommendation"] img.rec-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) contrast(1.05);
  background-color: #222a25;
}
a.rec-card.rec-card-wide img.rec-img {
  aspect-ratio: 16 / 9;
  max-height: 120px;
}
a.rec-card.rec-card-small img.rec-img {
  aspect-ratio: 3 / 2;
}
a.rec-chip img.rec-img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
a.rec-card:hover img.rec-img, a.rec-chip:hover img.rec-img {
  filter: saturate(1) contrast(1.05);
}
.rec-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.35;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.48;
  color: var(--ink-faint);
}
a.rec-chip .rec-name {
  font-size: 11.5px;
}
a.rec-chip .rec-blurb {
  display: none;
}
.site-footer {
  margin-top: 24px;
  padding: 12px 14px 18px;
  background-color: var(--wall-deep);
  border-top: 1px solid var(--wax-red-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  padding: 2px 8px;
  border: 1px solid var(--line);
}
a[data-contract="footer-home"] {
  color: var(--wax-red-bright);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ink);
  border-color: var(--wax-red-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  align-items: center;
  margin-bottom: 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  white-space: nowrap;
  padding: 1px 5px;
  border: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--wax-red-bright);
  border-color: var(--wax-red-dim);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 90ch;
}
@media (max-width: 1080px) {.info-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-wide-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-column-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-masonry {
    columns: 2;
  }}
@media (max-width: 820px) {.hero-still {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-media-wrap {
    max-width: 260px;
  }
.info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-card-current {
    transform: none;
  }}
@media (max-width: 560px) {body {
    font-size: 12.5px;
  }
.header-inner {
    padding: 7px 10px;
    gap: 8px;
  }
.page-main {
    padding: 0 10px 16px;
  }
.hero-media-wrap {
    max-width: 220px;
  }
.hero-title-block {
    padding-top: 0;
  }
.movie-title {
    font-size: 26px;
  }
.info-grid {
    gap: 10px;
  }
.cast-strip {
    padding: 3px 5px 3px 3px;
  }
.cast-avatar-wrap {
    width: 30px;
    height: 40px;
  }
.film-cell {
    width: 168px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-masonry {
    columns: 1;
  }
.rec-wide-row, .rec-column-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-chip-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.player-controls {
    gap: 3px;
  }
.ctrl-btn {
    font-size: 10.5px;
    padding: 3px 6px;
  }}
@media (min-width: 1320px) {.filmstrip {
    min-width: 100%;
  }
.film-cell {
    flex: 1 1 0;
    width: auto;
    min-width: 190px;
  }}

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}
