:root {
  --ink-green: #0d1f1a;
  --ink-green-2: #12291f;
  --crow-blue: #1a2430;
  --crow-blue-2: #232f3d;
  --theater-red: #a3232e;
  --theater-red-soft: #c04a52;
  --bone: #d8d2c4;
  --bone-dim: #9a9484;
  --paper-line: rgba(216, 210, 196, 0.14);
  --serif: "Songti SC", "SimSun", "Noto Serif SC", serif;
  --sans: "Heiti SC", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink-green);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  background-image:
    radial-gradient(circle at 14% 8%, rgba(35, 47, 61, 0.55), transparent 42%),
    radial-gradient(circle at 88% 62%, rgba(163, 35, 46, 0.07), transparent 46%);
  background-attachment: fixed;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3, p, dl, dd, dt, figure, ol, ul, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--bone);
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  background: var(--theater-red);
}
.site-header {
  background: linear-gradient(180deg, #0a1713 0%, #0d1f1a 100%);
  border-bottom: 1px solid var(--paper-line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-decoration: none;
  padding-right: 14px;
  border-right: 1px solid var(--paper-line);
}
a[data-contract="site-name"]:hover {
  color: var(--theater-red-soft);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 3px 9px;
  color: var(--bone-dim);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-category:hover {
  color: var(--bone);
  border-color: var(--theater-red);
  background: rgba(163, 35, 46, 0.16);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-banner {
  position: relative;
  border: 1px solid var(--paper-line);
  background:
    linear-gradient(115deg, rgba(26, 36, 48, 0.92) 0%, rgba(13, 31, 26, 0.96) 58%, rgba(13, 31, 26, 0.86) 100%);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 18%;
  opacity: 0.24;
  filter: saturate(0.5) contrast(1.12) brightness(0.72);
}
.hero-caption {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 24px 24px 6px;
}
.movie-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: #f2ede1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--theater-red-soft);
  margin-top: 6px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}
.movie-seo {
  font-size: 13px;
  line-height: 1.75;
  color: var(--bone-dim);
  margin-top: 10px;
  max-width: 60ch;
}
.player-shell {
  position: relative;
  z-index: 3;
  margin: 16px 24px 0;
  border: 1px solid rgba(216, 210, 196, 0.2);
  background: #060d0b;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.player-video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: rgba(10, 23, 19, 0.94);
  border-top: 1px solid var(--paper-line);
}
.ctrl-btn {
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--crow-blue);
  border: 1px solid rgba(216, 210, 196, 0.18);
  border-radius: 2px;
  color: var(--bone);
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.ctrl-btn:hover {
  background: var(--theater-red);
  border-color: var(--theater-red-soft);
  color: #fdf7ee;
}
.ctrl-btn.is-active {
  background: var(--theater-red);
  border-color: var(--theater-red-soft);
  color: #fdf7ee;
}
.ctrl-btn.is-muted {
  color: var(--theater-red-soft);
  border-color: var(--theater-red);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(216, 210, 196, 0.22);
  border-radius: 3px;
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 70px;
  max-width: 220px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--theater-red-soft);
  border: 1px solid #f2ede1;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #f2ede1;
  border-radius: 50%;
  background: var(--theater-red-soft);
}
.ctrl-select {
  font-size: 12px;
  padding: 4px 6px;
  background: var(--crow-blue);
  border: 1px solid rgba(216, 210, 196, 0.18);
  border-radius: 2px;
  color: var(--bone);
  cursor: pointer;
}
.info-panel {
  position: relative;
  z-index: 2;
  padding: 18px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  font-family: var(--sans);
}
.status-current {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f2ede1;
  padding: 3px 10px;
  border-left: 3px solid var(--theater-red);
  background: rgba(163, 35, 46, 0.14);
}
.status-total {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
}
.cast-row {
  border-top: 1px solid var(--paper-line);
  padding-top: 14px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  background: rgba(35, 47, 61, 0.42);
  border: 1px solid var(--paper-line);
  border-radius: 2px;
}
.cast-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--crow-blue);
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.9);
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--bone);
  white-space: nowrap;
}
.synopsis-block {
  border-top: 1px solid var(--paper-line);
  padding-top: 14px;
}
.synopsis-para {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.85;
  color: var(--bone-dim);
  max-width: 78ch;
}
.synopsis-para + .synopsis-para {
  margin-top: 6px;
}
.details-block {
  border-top: 1px solid var(--paper-line);
  padding-top: 14px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 4px 18px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(216, 210, 196, 0.12);
}
.detail-item dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  flex: 0 0 5em;
}
.detail-item dd {
  font-size: 12.5px;
  color: var(--bone);
  letter-spacing: 0.04em;
}
.timeline-section {
  border-top: 1px solid var(--paper-line);
  padding-top: 14px;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(163, 35, 46, 0.45);
  margin-left: 3px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 6px 0 6px 14px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theater-red);
  box-shadow: 0 0 0 3px rgba(163, 35, 46, 0.18);
}
.timeline-code {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--theater-red-soft);
  white-space: nowrap;
}
.timeline-label {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--bone);
  letter-spacing: 0.03em;
}
.episodes-section {
  border-top: 1px solid var(--paper-line);
  padding-top: 14px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  padding: 8px 10px;
  background: rgba(26, 36, 48, 0.5);
  border: 1px solid var(--paper-line);
  border-left: 2px solid rgba(216, 210, 196, 0.22);
  border-radius: 2px;
  transition: border-color 0.16s, background 0.16s;
}
.episode-card:hover {
  background: rgba(35, 47, 61, 0.72);
  border-left-color: var(--theater-red-soft);
}
.episode-card-active {
  background: rgba(163, 35, 46, 0.16);
  border-color: rgba(163, 35, 46, 0.55);
  border-left: 2px solid var(--theater-red);
}
.episode-card-active .episode-number {
  color: #f2ede1;
}
.episode-card-active .episode-title {
  color: #fdf3e8;
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--theater-red-soft);
  display: block;
}
.episode-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--bone);
  margin-top: 1px;
}
.episode-summary {
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.6;
  color: var(--bone-dim);
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-section {
  border-top: 1px solid var(--paper-line);
  padding-top: 14px;
}
.comments-grid {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  margin: 0 0 10px;
  padding: 8px 10px;
  background: rgba(26, 36, 48, 0.48);
  border: 1px solid var(--paper-line);
  border-top: 2px solid rgba(163, 35, 46, 0.5);
  border-radius: 2px;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--theater-red-soft);
  margin-bottom: 3px;
}
.comment-text {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--bone-dim);
}
.recommend-region {
  border-top: 1px solid var(--paper-line);
  padding-top: 14px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: rgba(26, 36, 48, 0.5);
  border: 1px solid var(--paper-line);
  border-radius: 2px;
  color: var(--bone);
  text-decoration: none;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
a.recommend-card:hover {
  border-color: var(--theater-red-soft);
  background: rgba(35, 47, 61, 0.78);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1px;
  filter: grayscale(0.28) brightness(0.86);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--bone-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: #0a1713;
  border-top: 1px solid var(--paper-line);
  margin-top: 8px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--bone-dim);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 8px;
  border-top: 1px solid var(--paper-line);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  text-decoration: none;
  transition: color 0.16s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--theater-red-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--theater-red-soft);
  padding-right: 8px;
  border-right: 1px solid var(--paper-line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.player-shell.is-theater {
  margin-left: 0;
  margin-right: 0;
  border-color: var(--theater-red);
}
.player-shell.is-light {
  box-shadow: 0 0 0 1px rgba(216, 210, 196, 0.35), 0 18px 42px rgba(0, 0, 0, 0.62);
}
body.is-light .hero-banner {
  background: linear-gradient(115deg, rgba(30, 42, 55, 0.95), rgba(16, 36, 30, 0.97));
}
body.is-theater .page-main {
  gap: 20px;
}
@media (max-width: 900px) {.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-grid {
    columns: 2;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }}
@media (max-width: 720px) {.movie-title {
    font-size: 24px;
  }
.hero-caption {
    padding: 18px 16px 4px;
  }
.player-shell {
    margin: 14px 16px 0;
  }
.info-panel {
    padding: 16px 16px 20px;
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 560px) {.page-main {
    padding: 14px 12px 32px;
    gap: 20px;
  }
.header-inner {
    padding: 7px 12px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
    padding-right: 10px;
  }
.movie-title {
    font-size: 21px;
  }
.movie-tagline {
    font-size: 14px;
  }
.movie-seo {
    font-size: 12px;
    line-height: 1.7;
  }
.hero-caption {
    padding: 16px 12px 4px;
  }
.player-shell {
    margin: 12px 12px 0;
  }
.player-controls {
    padding: 7px 8px;
    gap: 5px 6px;
  }
.ctrl-range {
    flex: 1 1 100%;
    max-width: none;
  }
.info-panel {
    padding: 14px 12px 18px;
    gap: 14px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    columns: 1;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-item {
    grid-template-columns: 4.5em minmax(0, 1fr);
    gap: 10px;
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.footer-inner {
    padding: 14px 12px 20px;
  }}
@media (max-width: 380px) {.cast-card {
    padding: 3px 8px 3px 3px;
  }
.cast-avatar {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
.recommend-list {
    grid-template-columns: minmax(0, 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}
