:root {
  --ink-black: #0b0f0c;
  --chalk-green: #16302a;
  --chalk-green-deep: #0e1f1b;
  --old-paper: #e8dcc0;
  --old-paper-dim: #cbbd9c;
  --lamp-yellow: #e5b45a;
  --lamp-yellow-soft: #f0cd85;
  --warm-grey: #8d8a7e;
  --warm-grey-deep: #4a4843;
  --red-seal: #a83232;
  --red-seal-deep: #7c2323;
  --line: rgba(232, 220, 192, 0.16);
  --line-strong: rgba(232, 220, 192, 0.32);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink-black);
  color: var(--old-paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  background-image:
    radial-gradient(120% 80% at 12% -10%, rgba(22, 48, 42, 0.55) 0%, rgba(11, 15, 12, 0) 60%),
    radial-gradient(90% 60% at 88% 0%, rgba(229, 180, 90, 0.08) 0%, rgba(11, 15, 12, 0) 55%);
  background-repeat: no-repeat;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd, p, h1, h2 {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, dt, .site-brand, .section-heading, .block-heading, .movie-title {
  font-family: "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(11, 15, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
}
a[data-contract="site-name"] {
  font-size: 17px;
  color: var(--old-paper);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--lamp-yellow);
  padding-left: 10px;
  line-height: 1.1;
}
a[data-contract="site-name"]:hover {
  color: var(--lamp-yellow-soft);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  color: var(--old-paper-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background-color: rgba(22, 48, 42, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--ink-black);
  background-color: var(--lamp-yellow);
  border-color: var(--lamp-yellow);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 18px 8px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.poster-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-strong);
  background-color: var(--chalk-green-deep);
  overflow: hidden;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(229, 180, 90, 0.14) 0%, rgba(11, 15, 12, 0) 42%),
    linear-gradient(0deg, rgba(11, 15, 12, 0.5) 0%, rgba(11, 15, 12, 0) 34%);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.player-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background-color: #050806;
}
.player-frame video {
  display: block;
  width: 100%;
  background-color: #050806;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-top: 1px solid var(--line);
  background-color: var(--chalk-green-deep);
}
.control-btn {
  flex: 0 0 auto;
  padding: 4px 9px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--old-paper-dim);
  background-color: transparent;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.control-btn:hover {
  color: var(--ink-black);
  background-color: var(--lamp-yellow-soft);
  border-color: var(--lamp-yellow-soft);
}
.control-btn.is-active, .control-btn.play, .control-btn.click {
  color: var(--ink-black);
  background-color: var(--lamp-yellow);
  border-color: var(--lamp-yellow);
}
.control-range {
  flex: 1 1 96px;
  min-width: 72px;
  height: 4px;
  margin: 0 2px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--warm-grey-deep);
  border: none;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  background-color: var(--lamp-yellow);
  border: 1px solid var(--ink-black);
  cursor: pointer;
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background-color: var(--lamp-yellow);
  border: 1px solid var(--ink-black);
  cursor: pointer;
}
.control-range::-moz-range-track {
  height: 4px;
  background-color: var(--warm-grey-deep);
}
.control-range.volume, .control-range.progress, .control-range.timeupdate {
  background-color: var(--warm-grey-deep);
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.movie-title {
  font-size: 34px;
  line-height: 1.22;
  color: var(--old-paper);
  letter-spacing: 0.06em;
}
.movie-tagline {
  margin-top: -6px;
  font-size: 14px;
  color: var(--lamp-yellow);
  letter-spacing: 0.08em;
  padding-left: 12px;
  border-left: 2px solid var(--lamp-yellow);
  line-height: 1.5;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.78;
  color: var(--old-paper-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  text-align: justify;
}
.block-heading {
  font-size: 15px;
  color: var(--old-paper);
  letter-spacing: 0.12em;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 30px;
  height: 2px;
  background-color: var(--lamp-yellow);
}
.cast-block {
  min-width: 0;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  background-color: rgba(22, 48, 42, 0.32);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: block;
  background-color: var(--warm-grey-deep);
  background-image: linear-gradient(145deg, rgba(229, 180, 90, 0.35) 0%, rgba(22, 48, 42, 0.9) 70%);
  border: 1px solid var(--line-strong);
}
.cast-name {
  font-size: 12.5px;
  color: var(--old-paper-dim);
  white-space: nowrap;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.8;
  color: var(--old-paper-dim);
  text-align: justify;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.synopsis-para + .synopsis-para {
  margin-top: 8px;
}
.status-block, .details-block {
  min-width: 0;
}
.status-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}
.status-line:last-child {
  border-bottom: none;
}
.status-key {
  color: var(--warm-grey);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.status-val {
  color: var(--old-paper);
  text-align: right;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  min-width: 0;
}
.detail-key {
  color: var(--warm-grey);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-val {
  color: var(--old-paper);
  text-align: right;
  min-width: 0;
}
.section-heading {
  font-size: 17px;
  color: var(--old-paper);
  letter-spacing: 0.14em;
  padding-bottom: 7px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background-color: var(--lamp-yellow);
}
.timeline-section {
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line-strong);
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--warm-grey-deep) transparent;
  scrollbar-width: thin;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background-color: rgba(232, 220, 192, 0.06);
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background-color: var(--warm-grey-deep);
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
  padding: 6px 2px 0;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 188px;
  padding: 26px 16px 0 0;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background-color: var(--ink-black);
  border: 1px solid var(--lamp-yellow);
}
.node-timecode {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 13px;
  color: var(--lamp-yellow);
  letter-spacing: 0.1em;
}
.node-label {
  font-size: 12px;
  line-height: 1.68;
  color: var(--old-paper-dim);
  padding-right: 12px;
}
.timeline-node-active {
  border-top-color: var(--lamp-yellow);
}
.timeline-node-active::before {
  background-color: var(--lamp-yellow);
  border-color: var(--lamp-yellow);
  box-shadow: 0 0 0 4px rgba(229, 180, 90, 0.16);
}
.timeline-node-active .node-timecode {
  color: var(--lamp-yellow-soft);
}
.timeline-node-active .node-label {
  color: var(--old-paper);
}
.episodes-section {
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line-strong);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 0;
}
.episode-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "num summary summary";
  column-gap: 12px;
  row-gap: 2px;
  align-items: baseline;
  padding: 9px 12px 9px 10px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  min-width: 0;
}
.episode-item:hover {
  background-color: var(--lamp-yellow);
  border-left-color: var(--red-seal);
}
.episode-item:hover .episode-number, .episode-item:hover .episode-title, .episode-item:hover .episode-summary, .episode-item:hover .episode-duration {
  color: var(--ink-black);
}
.episode-number {
  grid-area: num;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 12.5px;
  color: var(--lamp-yellow);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  color: var(--old-paper);
  letter-spacing: 0.04em;
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-size: 11.5px;
  color: var(--warm-grey);
  white-space: nowrap;
}
.episode-summary {
  grid-area: summary;
  font-size: 12px;
  line-height: 1.62;
  color: var(--old-paper-dim);
  min-width: 0;
}
.episode-item-active {
  background-color: rgba(229, 180, 90, 0.09);
  border-left-color: var(--lamp-yellow);
}
.episode-item-active .episode-number {
  color: var(--lamp-yellow-soft);
}
.episode-item-active .episode-title {
  color: var(--lamp-yellow-soft);
}
.comments-section {
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line-strong);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  padding: 11px 13px 12px;
  background-color: rgba(229, 180, 90, 0.06);
  border: 1px solid var(--line);
  border-top: 2px solid var(--lamp-yellow);
  min-width: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.comment-card:hover {
  background-color: rgba(229, 180, 90, 0.13);
  border-color: var(--line-strong);
}
.comment-card.light, .comment-card.lights-off {
  background-color: rgba(229, 180, 90, 0.1);
}
.comment-nickname {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 12.5px;
  color: var(--lamp-yellow);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px dashed var(--line);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--old-paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comment-card.is-active .comment-text, .comment-card.click .comment-text {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.recommend-region {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--line);
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px;
  color: var(--old-paper-dim);
  text-decoration: none;
  background-color: rgba(22, 48, 42, 0.34);
  border: 1px solid var(--line);
  border-left: 2px solid var(--warm-grey-deep);
  min-width: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
a.recommend-item:hover {
  background-color: rgba(229, 180, 90, 0.12);
  border-left-color: var(--lamp-yellow);
}
a.recommend-item:hover .recommend-name {
  color: var(--lamp-yellow-soft);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background-color: var(--chalk-green-deep);
  border: 1px solid var(--line);
}
.recommend-name {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 13px;
  color: var(--old-paper);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.recommend-blurb {
  font-size: 12px;
  line-height: 1.66;
  color: var(--warm-grey);
}
.site-footer {
  margin-top: 26px;
  background-color: var(--red-seal-deep);
  background-image: linear-gradient(180deg, var(--red-seal) 0%, var(--red-seal-deep) 78%);
  color: #f3e6cf;
  border-top: 3px solid var(--lamp-yellow);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(243, 230, 207, 0.28);
}
a[data-contract="footer-home"] {
  color: #f7ecd6;
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(247, 236, 214, 0.4);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover {
  color: var(--lamp-yellow-soft);
  border-bottom-color: var(--lamp-yellow-soft);
}
a[data-contract="footer-sitemap"] {
  color: #e6d3b4;
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px dashed rgba(230, 211, 180, 0.5);
  padding-bottom: 1px;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp-yellow-soft);
  border-bottom-color: var(--lamp-yellow-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  font-size: 12px;
}
.friend-links-label {
  color: var(--lamp-yellow-soft);
  letter-spacing: 0.14em;
  font-size: 12px;
  padding-right: 10px;
  border-right: 1px solid rgba(243, 230, 207, 0.35);
}
a.runtime-friend-link {
  color: #e2cfae;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--lamp-yellow-soft);
  border-bottom-color: var(--lamp-yellow-soft);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(243, 230, 207, 0.72);
  padding-top: 8px;
  border-top: 1px solid rgba(243, 230, 207, 0.22);
  text-align: justify;
}
body.theater-mode {
  background-color: #040605;
}
body.theater-mode .page-main {
  max-width: 100%;
}
body.lights-off {
  background-image: none;
}
body.lights-off .site-header {
  background-color: rgba(4, 6, 5, 0.96);
}
@media (max-width: 1024px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
.hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
.poster-frame {
    flex: 0 0 210px;
    max-width: 210px;
  }
.player-frame {
    flex: 1 1 340px;
    min-width: 0;
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title {
    font-size: 28px;
  }}
@media (max-width: 620px) {.header-inner {
    padding: 9px 13px;
    gap: 10px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
  }
.page-main {
    padding: 16px 13px 6px;
  }
.hero-shell {
    gap: 16px;
    padding-bottom: 18px;
  }
.hero-visual {
    flex-direction: column;
  }
.poster-frame {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
.player-frame {
    flex: 1 1 auto;
    width: 100%;
  }
.movie-title {
    font-size: 24px;
  }
.movie-tagline {
    font-size: 13px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-item {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "summary summary"
      "dur dur";
    row-gap: 3px;
  }
.episode-duration {
    justify-self: start;
  }
.timeline-node {
    width: 168px;
  }
.footer-inner {
    padding: 14px 13px 18px;
  }}
@media (max-width: 400px) {.cast-item {
    flex: 1 1 calc(50% - 6px);
  }
.cast-name {
    white-space: normal;
  }
.timeline-node {
    width: 150px;
    padding-right: 12px;
  }}

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}
