:root {
  --warm-white: #f5efe3;
  --warm-white-soft: #efe6d4;
  --wheat: #d9b878;
  --wheat-deep: #b8924c;
  --gray-blue: #4a5866;
  --gray-blue-deep: #2c3742;
  --ink: #23292f;
  --ink-soft: #3a434c;
  --steam: rgba(245, 239, 227, 0.85);
  --shadow-soft: 0 2px 10px rgba(20, 24, 28, 0.28);
  --radius: 4px;
  --radius-sm: 2px;
  --font-title: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #1c2229;
  background-image:
    linear-gradient(180deg, #1c2229 0%, #232b33 42%, #1e252c 100%);
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2, h3, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(24, 29, 35, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(217, 184, 120, 0.22);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--warm-white);
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(245, 239, 227, 0.28);
}
a[data-contract="site-name"]:hover {
  color: var(--wheat);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.4;
  padding: 3px 10px;
  border: 1px solid rgba(217, 184, 120, 0.4);
  border-radius: var(--radius-sm);
  color: var(--wheat);
  text-decoration: none;
  background: rgba(217, 184, 120, 0.08);
  transition: background 0.16s ease, color 0.16s ease;
}
a.runtime-category:hover {
  background: rgba(217, 184, 120, 0.22);
  color: var(--warm-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section-heading {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--warm-white);
  padding: 0 0 5px 2px;
  border-bottom: 1px solid rgba(217, 184, 120, 0.3);
  margin-bottom: 10px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -1px;
  width: 38px;
  height: 2px;
  background: var(--wheat);
  border-radius: 1px;
}
.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-shell {
  background: linear-gradient(168deg, #262f38 0%, #1d242b 68%, #1a2026 100%);
  border: 1px solid rgba(217, 184, 120, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.hero-shell::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 260px;
  height: 220px;
  background: radial-gradient(circle at 50% 50%, rgba(245, 239, 227, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-poster-wrap {
  width: 132px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(217, 184, 120, 0.28);
  box-shadow: 0 4px 16px rgba(10, 13, 16, 0.5);
}
img.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-family: var(--font-title);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--warm-white);
  text-shadow: 0 0 18px rgba(245, 239, 227, 0.24);
}
.movie-tagline {
  font-size: 13px;
  color: var(--wheat);
  letter-spacing: 0.08em;
  margin-top: -6px;
}
.hero-cast {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cast-heading {
  font-size: 13px;
  letter-spacing: 0.14em;
  border-bottom: none;
  margin-bottom: 4px;
  padding-bottom: 0;
  color: var(--wheat);
}
.cast-heading::before {
  display: none;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: flex-start;
}
.cast-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 62px;
  text-align: center;
}
.cast-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 38% 32%, rgba(245, 239, 227, 0.9), rgba(217, 184, 120, 0.55) 58%, rgba(74, 88, 102, 0.8) 100%);
  border: 1px solid rgba(217, 184, 120, 0.5);
  box-shadow: 0 0 12px rgba(245, 239, 227, 0.2);
}
.cast-name {
  font-size: 11.5px;
  line-height: 1.25;
  color: var(--warm-white);
  font-weight: 600;
}
.cast-role {
  font-size: 10px;
  line-height: 1.25;
  color: rgba(217, 184, 120, 0.82);
}
.hero-player-wrap {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.main-player {
  width: 100%;
  border-radius: var(--radius-sm);
  background: #10141a;
  border: 1px solid rgba(217, 184, 120, 0.26);
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  font-size: 11.5px;
  line-height: 1.4;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 184, 120, 0.32);
  background: rgba(217, 184, 120, 0.08);
  color: var(--warm-white);
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.player-btn:hover {
  background: rgba(217, 184, 120, 0.2);
}
.player-btn.is-active, .player-btn.is-playing {
  background: rgba(217, 184, 120, 0.34);
  border-color: var(--wheat);
  color: #1b2027;
}
.player-btn.is-muted {
  color: rgba(245, 239, 227, 0.5);
  border-color: rgba(217, 184, 120, 0.18);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(245, 239, 227, 0.22);
  flex: 1 1 120px;
  min-width: 80px;
  max-width: 100%;
  cursor: pointer;
}
.player-range-volume {
  flex: 0 1 90px;
  min-width: 64px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wheat);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wheat);
  border: none;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.status-item {
  font-size: 11.5px;
  line-height: 1.4;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: rgba(74, 88, 102, 0.32);
  border: 1px solid rgba(217, 184, 120, 0.2);
  color: rgba(245, 239, 227, 0.9);
  white-space: nowrap;
}
.synopsis {
  background: rgba(38, 47, 56, 0.6);
  border: 1px solid rgba(217, 184, 120, 0.16);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: rgba(245, 239, 227, 0.86);
  text-align: justify;
}
.details {
  background: rgba(38, 47, 56, 0.6);
  border: 1px solid rgba(217, 184, 120, 0.16);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(217, 184, 120, 0.14);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: rgba(217, 184, 120, 0.8);
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--warm-white);
}
.timeline-section {
  min-width: 0;
}
.timeline-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
  align-items: stretch;
}
.timeline-node {
  position: relative;
  background: linear-gradient(180deg, rgba(217, 184, 120, 0.14), rgba(38, 47, 56, 0.55));
  border: 1px solid rgba(217, 184, 120, 0.24);
  border-radius: var(--radius-sm);
  padding: 10px 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--wheat);
  border-radius: 1px;
}
.timeline-timecode {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--wheat);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245, 239, 227, 0.85);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  background: rgba(38, 47, 56, 0.62);
  border: 1px solid rgba(217, 184, 120, 0.18);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num summary"
    "num duration";
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  min-width: 0;
}
.episode-number {
  grid-area: num;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--wheat);
  padding-top: 2px;
  white-space: nowrap;
  align-self: start;
}
.episode-title {
  grid-area: title;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--warm-white);
  line-height: 1.35;
}
.episode-summary {
  grid-area: summary;
  font-size: 12px;
  line-height: 1.58;
  color: rgba(245, 239, 227, 0.78);
}
.episode-duration {
  grid-area: duration;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(217, 184, 120, 0.75);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  background: linear-gradient(180deg, rgba(245, 239, 227, 0.1), rgba(38, 47, 56, 0.72));
  border: 1px solid rgba(217, 184, 120, 0.2);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  box-shadow: 0 2px 8px rgba(12, 15, 18, 0.34);
}
.comment-stack .comment-card:nth-child(2n) {
  transform: translateY(6px);
}
.comment-stack .comment-card:nth-child(3n) {
  transform: translateY(-4px);
}
.comment-nickname {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--wheat);
}
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: rgba(245, 239, 227, 0.84);
}
.recommend-region {
  min-width: 0;
}
.recommend-grid {
  display: grid;
  gap: 9px;
  align-items: start;
}
.recommend-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  border-radius: var(--radius-sm);
  background: rgba(38, 47, 56, 0.62);
  border: 1px solid rgba(217, 184, 120, 0.18);
  color: var(--warm-white);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.recommend-card:hover {
  border-color: rgba(217, 184, 120, 0.52);
  background: rgba(48, 58, 68, 0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #131820;
  display: block;
}
.recommend-name {
  font-family: var(--font-title);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--warm-white);
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(245, 239, 227, 0.72);
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(217, 184, 120, 0.18);
  font-size: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: rgba(217, 184, 120, 0.9);
  text-decoration: none;
  letter-spacing: 0.06em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(245, 239, 227, 0.55);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: rgba(245, 239, 227, 0.68);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--wheat);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: rgba(245, 239, 227, 0.42);
  max-width: 100%;
}
.page-main.is-theater .hero-shell {
  padding: 0;
  border-color: rgba(217, 184, 120, 0.42);
}
.page-main.is-theater .hero-poster-wrap, .page-main.is-theater .hero-info > *:not(.hero-player-wrap) {
  display: none;
}
.page-main.is-lights-off {
  background: #0b0e12;
}
.site-footer a.is-active, .player-btn.is-active {
  color: var(--wheat);
}
@media (min-width: 620px) {.hero-shell {
    grid-template-columns: 168px minmax(0, 1fr);
    align-items: start;
  }
.hero-poster-wrap {
    width: 100%;
  }
.movie-title {
    font-size: 30px;
  }
.timeline-rail {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
.recommend-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (min-width: 900px) {body {
    font-size: 14.5px;
  }
.page-main {
    padding: 18px 20px 30px;
    gap: 22px;
  }
.header-inner {
    padding: 10px 20px;
  }
.hero-shell {
    grid-template-columns: 196px minmax(0, 1fr);
    padding: 16px;
    gap: 18px;
  }
.movie-title {
    font-size: 34px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (min-width: 1140px) {.timeline-rail {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 619px) {.hero-poster-wrap {
    width: 118px;
  }
.cast-face {
    width: 56px;
  }
.cast-avatar {
    width: 38px;
    height: 38px;
  }
.recommend-grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.comment-stack .comment-card:nth-child(2n), .comment-stack .comment-card:nth-child(3n) {
    transform: none;
  }}
@media (max-width: 420px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.player-btn {
    font-size: 11px;
    padding: 3px 7px;
  }}

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}
