*, *::before, *::after {
  box-sizing: border-box;
}
html, body, h1, h2, h3, p, dl, dd, dt, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --waste-black: #10130f;
  --waste-deep: #171c16;
  --waste-slate: #1e241d;
  --waste-panel: #232a21;
  --heather-grey: #8f948b;
  --heather-dim: #6b7067;
  --stone-line: #3a4136;
  --stone-line-soft: #2c3328;
  --moor-bone: #cdd0c6;
  --moor-bone-dim: #a2a79b;
  --thrush-warm: #c9a86a;
  --thrush-glow: #e2c68b;
  --blood-rust: #7c4a3a;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "Times New Roman", "Georgia", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --hand: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--waste-black);
  background-image:
    linear-gradient(180deg, #14180f 0%, #10130f 38%, #0d100c 100%);
  color: var(--moor-bone-dim);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 19, 15, 0.94);
  border-bottom: 1px solid var(--stone-line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--moor-bone);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--thrush-warm);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 6px;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--heather-grey);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--stone-line);
  background: var(--waste-deep);
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--waste-black);
  background: var(--thrush-warm);
  border-color: var(--thrush-warm);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--moor-bone);
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--stone-line);
}
.movie-overview {
  margin-top: 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.hero-media {
  align-self: start;
  max-width: 240px;
  border: 1px solid var(--stone-line);
  background: var(--waste-deep);
  padding: 5px;
}
.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.72) contrast(1.06) brightness(0.92);
}
.hero-titles {
  position: relative;
  align-self: start;
  padding: 6px 0 6px 16px;
  border-left: 2px solid var(--thrush-warm);
}
.movie-title {
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.06em;
  color: var(--moor-bone);
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin: 0 0 0 4px;
  max-height: 66vh;
  text-shadow: 0 1px 0 #000;
}
.movie-tagline {
  font-family: var(--hand);
  font-size: clamp(16px, 2.6vw, 24px);
  letter-spacing: 0.14em;
  color: var(--thrush-glow);
  margin-top: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--stone-line);
  text-align: right;
}
.overview-player {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--stone-line);
  background: var(--waste-slate);
  padding: 6px;
}
.overview-player video {
  display: block;
  width: 100%;
  background: #000;
  border: 1px solid var(--stone-line-soft);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.player-btn {
  flex: 0 1 auto;
  padding: 4px 9px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--heather-grey);
  white-space: nowrap;
  background: var(--waste-deep);
  border: 1px solid var(--stone-line);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.player-btn:hover {
  color: var(--moor-bone);
  border-color: var(--heather-dim);
}
.player-btn.is-active {
  color: var(--waste-black);
  background: var(--thrush-warm);
  border-color: var(--thrush-warm);
}
.overview-player.is-theater {
  border-color: var(--thrush-warm);
}
body.is-lights-off {
  background: #050604;
}
body.is-lights-off .site-header, body.is-lights-off .page-main, body.is-lights-off .site-footer {
  opacity: 0.42;
  transition: opacity 0.25s;
}
body.is-lights-off .overview-player {
  opacity: 1;
}
.cast-strip {
  padding-top: 2px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  padding: 8px 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--moor-bone);
  background: var(--waste-deep);
  border: 1px solid var(--stone-line);
  border-left: 2px solid var(--blood-rust);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-card:hover {
  border-left-color: var(--thrush-warm);
  background: var(--waste-panel);
}
.synopsis-panel {
  background: var(--waste-deep);
  border: 1px solid var(--stone-line);
  padding: 12px 14px;
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.72;
  color: var(--moor-bone-dim);
  text-indent: 2em;
  margin-bottom: 8px;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.episode-status {
  background: var(--waste-deep);
  border: 1px solid var(--stone-line);
  border-top: 2px solid var(--thrush-warm);
  padding: 12px 14px;
}
.status-line {
  display: inline-block;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--moor-bone);
  margin: 0 8px 6px 0;
  padding: 3px 10px;
  border: 1px solid var(--stone-line);
  background: var(--waste-slate);
}
.details-panel {
  background: var(--waste-deep);
  border: 1px solid var(--stone-line);
  padding: 12px 14px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 5px 14px;
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--stone-line-soft);
}
.detail-key {
  flex: 0 0 auto;
  min-width: 62px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--heather-dim);
}
.detail-value {
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--moor-bone);
}
.timeline-panel {
  background: var(--waste-deep);
  border: 1px solid var(--stone-line);
  padding: 12px 14px;
}
.timeline-axis {
  position: relative;
  margin-left: 6px;
  padding-left: 20px;
  border-left: 1px solid var(--stone-line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2px 18px;
}
.timeline-node {
  position: relative;
  padding: 7px 0 7px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 13px;
  width: 7px;
  height: 7px;
  background: var(--waste-black);
  border: 1px solid var(--thrush-warm);
  transform: rotate(45deg);
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--thrush-warm);
}
.timeline-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--moor-bone-dim);
}
.episodes-details-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.episodes-panel {
  background: var(--waste-deep);
  border: 1px solid var(--stone-line);
  padding: 12px 14px;
  min-width: 0;
}
.episode-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--stone-line) var(--waste-black);
}
.episode-scroller::-webkit-scrollbar {
  height: 6px;
}
.episode-scroller::-webkit-scrollbar-track {
  background: var(--waste-black);
}
.episode-scroller::-webkit-scrollbar-thumb {
  background: var(--stone-line);
}
.episode-card {
  flex: 0 0 78%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px;
  background: var(--waste-slate);
  border: 1px solid var(--stone-line);
  border-top: 2px solid var(--blood-rust);
}
.episode-number {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--thrush-warm);
}
.episode-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--moor-bone);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--moor-bone-dim);
}
.episode-duration {
  margin-top: auto;
  padding-top: 5px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--heather-dim);
  border-top: 1px solid var(--stone-line-soft);
}
.comments-panel {
  background: var(--waste-deep);
  border: 1px solid var(--stone-line);
  padding: 12px 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  padding: 9px 11px;
  background: var(--waste-slate);
  border: 1px solid var(--stone-line);
  border-left: 2px solid var(--heather-dim);
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--thrush-glow);
  margin-bottom: 5px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--moor-bone-dim);
}
.recommendation-region {
  padding-top: 2px;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: var(--waste-deep);
  border: 1px solid var(--stone-line);
  color: var(--moor-bone-dim);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
a.recommendation-card:hover {
  border-color: var(--thrush-warm);
  background: var(--waste-panel);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid var(--stone-line-soft);
  filter: saturate(0.7) contrast(1.05) brightness(0.9);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--moor-bone);
  line-height: 1.35;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--heather-dim);
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 16px 28px;
  border-top: 1px solid var(--stone-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--heather-dim);
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--heather-grey);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--thrush-warm);
  border-bottom-color: var(--thrush-warm);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--heather-dim);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--heather-grey);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted var(--stone-line);
}
a.runtime-friend-link:hover {
  color: var(--moor-bone);
  border-bottom-color: var(--thrush-warm);
}
@media (min-width: 560px) {.episode-card {
    flex-basis: 46%;
  }}
@media (min-width: 760px) {.page-main {
    gap: 18px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-areas:
      "player media"
      "player titles";
    align-items: start;
  }
.overview-player {
    grid-area: player;
  }
.hero-media {
    grid-area: media;
    justify-self: end;
  }
.hero-titles {
    grid-area: titles;
  }
.movie-title {
    font-size: clamp(30px, 3.4vw, 46px);
    max-height: none;
    margin-left: 0;
  }
.episodes-details-columns {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
.episode-card {
    flex-basis: 44%;
  }}
@media (max-width: 759px) {.movie-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height: none;
  }
.movie-tagline {
    text-align: left;
  }}
@media (min-width: 980px) {.cast-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
.timeline-axis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-card {
    flex-basis: 46%;
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }}
@media (max-width: 479px) {.header-inner {
    padding: 8px 12px;
  }
.page-main {
    padding: 0 12px 4px;
    gap: 14px;
  }
.movie-title {
    font-size: 28px;
  }
.episode-card {
    flex-basis: 86%;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendation-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}
