*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(120, 104, 84, 0.10), rgba(120, 104, 84, 0.16)),
    #d8d2c6;
  color: #2b2620;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 246, 228, 0.10), rgba(60, 48, 34, 0.10) 70%, rgba(40, 32, 22, 0.16) 100%);
  mix-blend-mode: multiply;
  opacity: 0.55;
}
h1, h2, h3, p, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(38, 41, 48, 0.94);
  border-bottom: 1px solid rgba(178, 152, 108, 0.35);
  backdrop-filter: blur(4px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: Georgia, "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.10em;
  color: #e8ddc6;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #f4ead4;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 8px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #b9c2cc;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(150, 162, 176, 0.35);
  border-radius: 2px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: #efe4cc;
  border-color: rgba(196, 168, 118, 0.7);
  background: rgba(196, 168, 118, 0.10);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
.section-heading {
  font-family: Georgia, "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.16em;
  color: #3a3126;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(120, 100, 70, 0.30);
  margin-bottom: 12px;
}
.panel-title {
  font-family: Georgia, "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #5a4a34;
  margin-bottom: 8px;
}
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 24px 28px;
  align-items: start;
  padding: 24px 0 30px;
  margin-bottom: 8px;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: -12px -16px 8px -16px;
  z-index: -1;
  background:
    radial-gradient(80% 70% at 22% 18%, rgba(96, 118, 140, 0.30), rgba(96, 118, 140, 0) 62%),
    linear-gradient(160deg, #34322e 0%, #403a33 46%, #2c2a28 100%);
}
.hero-figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.poster-wrap {
  align-self: start;
  width: 100%;
  max-width: 260px;
  border: 1px solid rgba(178, 152, 108, 0.45);
  box-shadow: 0 10px 24px rgba(20, 16, 10, 0.45);
}
img.main-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02) sepia(0.10);
}
.hero-player-wrap {
  width: 100%;
  min-width: 0;
  padding: 6px;
  background: rgba(24, 24, 24, 0.55);
  border: 1px solid rgba(178, 152, 108, 0.32);
}
video.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #16130f;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}
.ctrl {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #d9cfb8;
  background: rgba(58, 54, 48, 0.85);
  border: 1px solid rgba(160, 140, 104, 0.40);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.ctrl:hover {
  background: rgba(84, 78, 66, 0.95);
  border-color: rgba(196, 168, 118, 0.75);
  color: #f2e8d2;
}
.ctrl.is-active, .ctrl.is-playing, .ctrl.is-muted {
  background: rgba(150, 118, 66, 0.85);
  border-color: rgba(214, 186, 132, 0.9);
  color: #fdf6e4;
}
.ctrl-play {
  min-width: 56px;
  font-weight: 700;
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 16px;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(168, 150, 116, 0.45);
  border-radius: 2px;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #d8bd8a;
  border: 1px solid #6b5636;
}
.ctrl-progress::-moz-range-track {
  height: 4px;
  background: rgba(168, 150, 116, 0.45);
  border-radius: 2px;
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d8bd8a;
  border: 1px solid #6b5636;
}
.ctrl-volume {
  flex: 0 1 78px;
  min-width: 60px;
  height: 16px;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-runnable-track {
  height: 3px;
  background: rgba(168, 150, 116, 0.45);
  border-radius: 2px;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  margin-top: -3px;
  border-radius: 50%;
  background: #cbb488;
}
.ctrl-volume::-moz-range-track {
  height: 3px;
  background: rgba(168, 150, 116, 0.45);
  border-radius: 2px;
}
.ctrl-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbb488;
  border: none;
}
.hero-copy {
  min-width: 0;
  color: #e5dcc8;
}
.movie-title {
  font-family: Georgia, "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #f3e9d2;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  transform: translateY(-4px);
}
.movie-tagline {
  font-size: 14px;
  line-height: 1.5;
  color: #b7c0cb;
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 2px solid rgba(150, 168, 190, 0.55);
  margin-bottom: 10px;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.5;
  color: #b3aa99;
  margin-bottom: 14px;
  max-width: 62ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.status-item {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  letter-spacing: 0.10em;
  border-radius: 2px;
}
.status-current {
  color: #f2e6cc;
  background: rgba(150, 118, 66, 0.50);
  border: 1px solid rgba(206, 176, 122, 0.65);
}
.status-total {
  color: #b8c1cc;
  background: rgba(74, 88, 104, 0.42);
  border: 1px solid rgba(140, 158, 178, 0.42);
}
.cast-panel {
  margin-bottom: 16px;
  padding: 10px 12px;
  background: rgba(40, 38, 34, 0.55);
  border: 1px solid rgba(168, 148, 112, 0.28);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-left: 7px;
  border-left: 1px solid rgba(178, 152, 108, 0.45);
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: Georgia, "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  line-height: 1.1;
  color: #ece2cb;
  min-height: 62px;
}
.cast-role {
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #a79c88;
}
.synopsis-panel {
  margin-bottom: 16px;
  padding: 10px 12px;
  background: rgba(40, 38, 34, 0.45);
  border: 1px solid rgba(168, 148, 112, 0.22);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.5;
  color: #c4bbaa;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-panel {
  padding: 10px 12px;
  background: rgba(40, 38, 34, 0.45);
  border: 1px solid rgba(168, 148, 112, 0.22);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 4px 18px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(168, 148, 112, 0.28);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.10em;
  color: #9b9versión;
  color: #9b9184;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: #ddd3bd;
  text-align: right;
}
.timeline-section {
  position: relative;
  margin-bottom: 26px;
  padding: 16px 18px 18px;
  background:
    linear-gradient(180deg, rgba(232, 224, 206, 0.94), rgba(214, 205, 186, 0.94));
  border: 1px solid rgba(150, 128, 92, 0.35);
  box-shadow: 0 6px 18px rgba(60, 48, 30, 0.14);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 26px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(150, 116, 66, 0.25), rgba(150, 116, 66, 0.85) 12%, rgba(150, 116, 66, 0.85) 88%, rgba(150, 116, 66, 0.25));
}
.timeline-point {
  position: relative;
  padding: 0 12px 14px 0;
  min-width: 0;
}
.timeline-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: -19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b08b4e;
  box-shadow: 0 0 0 2px rgba(214, 205, 186, 0.95), 0 0 0 3px rgba(150, 116, 66, 0.45);
}
.timeline-time {
  display: block;
  font-family: Georgia, "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #7a5c30;
  margin-bottom: 3px;
}
.timeline-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: #4a4136;
  border-left: 2px solid rgba(150, 116, 66, 0.30);
  padding-left: 8px;
}
.timeline-point:nth-child(even) .timeline-time {
  transform: translateY(-2px);
}
.timeline-point:nth-child(even) .timeline-label {
  transform: translateY(2px);
}
.episodes-section {
  position: relative;
  margin-bottom: 26px;
  padding: 18px 18px 20px;
  background:
    radial-gradient(90% 80% at 12% 0%, rgba(88, 106, 128, 0.28), rgba(88, 106, 128, 0) 60%),
    linear-gradient(180deg, #33322e 0%, #2b2a27 100%);
  border: 1px solid rgba(120, 132, 148, 0.30);
  box-shadow: inset 0 1px 0 rgba(200, 186, 158, 0.08);
}
.episodes-section .section-heading {
  color: #e2d8c0;
  border-bottom-color: rgba(178, 152, 108, 0.40);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px 10px;
  background: rgba(52, 54, 56, 0.72);
  border: 1px solid rgba(140, 152, 166, 0.20);
  border-left: 2px solid rgba(150, 118, 66, 0.55);
  min-width: 0;
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #b99a63;
}
.episode-title {
  font-family: Georgia, "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #f0e6cf;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: #a9a596;
  margin-bottom: 2px;
}
.episode-duration {
  align-self: flex-start;
  margin-top: auto;
  font-size: 10.5px;
  letter-spacing: 0.10em;
  color: #8f9aa6;
  padding-top: 4px;
  border-top: 1px dotted rgba(140, 152, 166, 0.28);
  width: 100%;
}
.comments-section {
  position: relative;
  margin-bottom: 26px;
  padding: 16px 18px 18px;
  background:
    linear-gradient(180deg, rgba(234, 227, 211, 0.95), rgba(219, 211, 193, 0.95));
  border: 1px solid rgba(150, 128, 92, 0.32);
  box-shadow: 0 6px 18px rgba(60, 48, 30, 0.12);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 12px 10px;
  background: rgba(250, 246, 236, 0.72);
  border: 1px solid rgba(150, 128, 92, 0.26);
  border-radius: 2px;
  min-width: 0;
}
.comment-left {
  margin-right: 18px;
}
.comment-right {
  margin-left: 18px;
  margin-top: 14px;
  background: rgba(240, 236, 228, 0.80);
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 7px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #d9c9a8, #8f7a5c 62%, #5f5140 100%);
  border: 1px solid rgba(120, 100, 70, 0.55);
  box-shadow: inset 0 0 0 1px rgba(252, 246, 232, 0.35);
}
.comment-nick {
  font-family: Georgia, "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #5b4a30;
}
.comment-text {
  font-size: 13px;
  line-height: 1.5;
  color: #423a2e;
  padding-left: 29px;
  text-indent: 0;
}
.recommend-region {
  margin-bottom: 26px;
  min-width: 0;
}
.recommend-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(250, 246, 236, 0.66);
  border: 1px solid rgba(150, 128, 92, 0.30);
  border-radius: 2px;
  min-width: 0;
  scroll-snap-align: start;
  color: #40382c;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.recommend-card:hover {
  transform: translateY(-2px);
  border-color: rgba(150, 116, 66, 0.75);
  box-shadow: 0 8px 18px rgba(60, 48, 30, 0.20);
}
.recommend-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #c9c1b0;
  filter: saturate(0.86) sepia(0.08);
}
.recommend-name {
  font-family: Georgia, "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #3d3427;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: #6d6353;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 16px 26px;
  border-top: 1px solid rgba(120, 100, 70, 0.32);
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: #6a6154;
  margin-bottom: 10px;
  max-width: 74ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #4d4436;
  text-decoration: underline;
  text-decoration-color: rgba(120, 100, 70, 0.45);
  text-underline-offset: 3px;
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #7a5c30;
  text-decoration-color: rgba(150, 116, 66, 0.85);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #7a7060;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #5f6b78;
  text-decoration: none;
  border-bottom: 1px dotted rgba(95, 107, 120, 0.50);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: #7a5c30;
  border-bottom-color: rgba(150, 116, 66, 0.85);
}
body.theater-mode .hero-section::before {
  background:
    radial-gradient(90% 80% at 50% 6%, rgba(96, 118, 140, 0.22), rgba(96, 118, 140, 0) 66%),
    linear-gradient(180deg, #171614 0%, #201e1b 100%);
}
body.lights-off {
  background: #14120f;
}
body.lights-off .hero-section::before {
  background: linear-gradient(180deg, #0c0b0a 0%, #121110 100%);
}
body.lights-off .page-main {
  filter: brightness(0.92);
}
@media (max-width: 1024px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
.poster-wrap {
    max-width: 220px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 0;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.comment-left, .comment-right {
    margin-right: 0;
    margin-left: 0;
    margin-top: 0;
  }
.comment-right {
    margin-left: 16px;
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.header-inner {
    padding: 7px 12px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
  }
.page-main {
    padding: 0 12px;
  }
.hero-section {
    padding: 16px 0 22px;
  }
.poster-wrap {
    max-width: 180px;
  }
.movie-title {
    font-size: 23px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  }
.cast-name {
    font-size: 13px;
    min-height: 56px;
  }
.timeline-section, .episodes-section, .comments-section {
    padding: 14px 12px 16px;
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px 0;
  }
.timeline-track::before {
    top: 12px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-right {
    margin-left: 10px;
  }
.comment-text {
    padding-left: 29px;
  }
.recommend-rail {
    grid-auto-columns: minmax(150px, 1fr);
  }
.site-footer {
    padding: 14px 12px 22px;
  }}
@media (max-width: 400px) {.player-controls {
    gap: 3px;
  }
.ctrl {
    padding: 2px 6px;
    font-size: 11px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 3;
  }}

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}
