:root {
  --enamel: #f4efe6;
  --enamel-deep: #ece4d6;
  --steel: #8e949a;
  --steel-dark: #545b61;
  --steel-light: #c3c9ce;
  --chestnut: #6b4a2f;
  --chestnut-deep: #4d3421;
  --notice-red: #c0322b;
  --notice-red-deep: #9a241e;
  --ink: #2b2723;
  --ink-soft: #565049;
  --line: #d8cdba;
  --radius: 6px;
  --gap: 10px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--enamel-deep);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
.page-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--enamel);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--enamel);
  border-bottom: 2px solid var(--chestnut);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 8px 14px;
}
.brand-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
a[data-contract="site-name"] {
  display: inline-block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--chestnut-deep);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="site-name"]:hover {
  color: var(--notice-red-deep);
  border-bottom-color: var(--notice-red);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel-dark);
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  color: #fff;
  background: var(--chestnut);
  border-color: var(--chestnut);
}
.page-main {
  display: block;
  padding: 0 0 4px;
}
.section-heading {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--chestnut-deep);
  margin: 0 0 8px;
  padding-left: 9px;
  border-left: 4px solid var(--notice-red);
  line-height: 1.2;
}
.hero-stage {
  padding: 14px 14px 20px;
  border-bottom: 1px solid var(--line);
}
.hero-backdrop {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: linear-gradient(178deg, #fdfaf4 0%, #f2ebdd 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.hero-poster-col {
  align-self: start;
}
.main-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--steel-light);
  background: var(--steel-light);
  box-shadow: 0 2px 6px rgba(77, 52, 33, 0.18);
}
.hero-info-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  align-self: start;
}
.movie-title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--chestnut-deep);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--notice-red-deep);
  padding: 3px 0 3px 9px;
  border-left: 3px solid var(--notice-red);
  background: rgba(192, 50, 43, 0.05);
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: justify;
}
.hero-cast {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 6px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.cast-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--steel-dark);
  flex: 0 0 auto;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.cast-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--chestnut-deep);
  background: #fff;
  border: 1px solid var(--steel-light);
  border-radius: 999px;
  white-space: nowrap;
}
.cast-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--steel);
}
.hero-player {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  background: #23201c;
  border: 1px solid var(--steel-dark);
  border-radius: var(--radius);
  padding: 8px;
}
.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  color: #f1ece2;
  background: var(--steel-dark);
  border: 1px solid #6c7379;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.player-btn:hover {
  background: var(--chestnut);
  border-color: var(--chestnut);
}
.player-btn.is-active {
  background: var(--notice-red);
  border-color: var(--notice-red-deep);
  color: #fff;
}
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--steel);
  outline: none;
}
.player-progress {
  flex: 1 1 120px;
  min-width: 80px;
}
.player-volume {
  flex: 0 1 84px;
  min-width: 56px;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--enamel);
  border: 2px solid var(--notice-red);
  cursor: pointer;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--enamel);
  border: 2px solid var(--notice-red);
  cursor: pointer;
}
.hero-player.is-playing {
  border-color: var(--notice-red);
}
.hero-player.is-muted .player-volume {
  opacity: 0.45;
}
.hero-player.is-ended::after {
  content: "已结束";
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 2px 8px;
  font-size: 11px;
  color: #fff;
  background: rgba(192, 50, 43, 0.9);
  border-radius: 3px;
}
.hero-player.is-fullscreen {
  border-radius: 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--steel-dark);
  background: #fff;
  border: 1px solid var(--steel-light);
  border-radius: 3px;
}
.status-item:last-child {
  color: #fff;
  background: var(--chestnut);
  border-color: var(--chestnut-deep);
}
.movie-details {
  margin-top: 2px;
}
.details-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--steel-dark);
  margin-bottom: 5px;
}
.details-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  border-top: 1px solid var(--line);
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted var(--line);
  min-width: 0;
}
.details-key {
  flex: 0 0 62px;
  font-size: 12px;
  font-weight: 600;
  color: var(--steel-dark);
  letter-spacing: 0.06em;
}
.details-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink);
  overflow-wrap: break-word;
}
.hero-synopsis {
  margin-top: 14px;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-left: 4px solid var(--steel-light);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.synopsis-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--chestnut-deep);
  margin-bottom: 7px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  align-items: start;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-soft);
  text-align: justify;
  text-indent: 2em;
  padding-left: 8px;
  border-left: 2px solid rgba(142, 148, 154, 0.28);
}
.timeline-section {
  padding: 16px 14px 18px;
  border-bottom: 1px solid var(--line);
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  border-top: 2px solid var(--steel-light);
  border-bottom: 2px solid var(--steel-light);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(84, 91, 97, 0.16) 0 1px,
      transparent 1px 22px
    );
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 12px 4px 4px;
  width: max-content;
  min-width: 100%;
}
.timeline-cell {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px 10px;
  background: #fdfaf4;
  border: 1px solid var(--steel-light);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(77, 52, 33, 0.1);
}
.timeline-cell::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 10px;
  right: 10px;
  height: 7px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--steel-dark) 0 5px,
      transparent 5px 11px
    );
  opacity: 0.75;
}
.timeline-timecode {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--chestnut);
  padding: 1px 7px;
  border-radius: 3px;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.episodes-section {
  padding: 16px 14px 18px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 9px;
  background: #fdfaf4;
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  border-radius: 3px;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-left-color: var(--notice-red);
  background: #fff;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--chestnut-deep);
  line-height: 1.35;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: justify;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--steel-dark);
  background: rgba(142, 148, 154, 0.14);
  border: 1px solid var(--steel-light);
  border-radius: 3px;
  padding: 0 6px;
}
.comments-section {
  padding: 16px 14px 18px;
  border-bottom: 1px solid var(--line);
}
.comments-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 14px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.comments-col-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--steel-dark);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--steel-light);
}
.comments-col-long .comments-col-heading {
  color: var(--notice-red-deep);
  border-bottom-color: rgba(192, 50, 43, 0.4);
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.comments-col-long .comment-item {
  background: #fdfaf4;
  border-left: 3px solid rgba(107, 74, 47, 0.4);
  padding: 8px 10px;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: var(--chestnut);
}
.comment-nickname::before {
  content: "◎";
  margin-right: 4px;
  color: var(--steel);
  font-weight: 400;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--ink-soft);
  text-align: justify;
}
.comments-col-long .comment-text {
  font-size: 13px;
  line-height: 1.66;
}
.recommend-region {
  padding: 14px 14px 16px;
  border-bottom: 1px solid var(--line);
}
.recommend-region-1 {
  background: linear-gradient(180deg, #fbf8f1 0%, var(--enamel) 100%);
}
.recommend-region-2 {
  background: linear-gradient(180deg, #f6f0e4 0%, var(--enamel) 100%);
}
.recommend-region-3 {
  background: linear-gradient(180deg, #fbf6ee 0%, var(--enamel) 100%);
}
.recommend-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--chestnut-deep);
  text-align: left;
  margin-bottom: 9px;
  padding-left: 9px;
  border-left: 4px solid var(--chestnut);
  line-height: 1.25;
}
.recommend-region-2 .recommend-heading {
  border-left-color: var(--steel-dark);
}
.recommend-region-3 .recommend-heading {
  border-left-color: var(--notice-red);
}
.recommend-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 9px;
  align-items: start;
}
.recommend-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 3px;
  align-items: start;
  padding: 7px;
  background: #fdfaf4;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a.recommend-item:hover {
  border-color: var(--notice-red);
  box-shadow: 0 2px 8px rgba(77, 52, 33, 0.16);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  grid-row: 1 / span 2;
  width: 100%;
  height: 100%;
  max-height: 104px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
  background: var(--steel-light);
  border: 1px solid var(--steel-light);
}
.recommend-name {
  grid-column: 2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--chestnut-deep);
  overflow-wrap: break-word;
}
.recommend-blurb {
  grid-column: 2;
  font-size: 11.5px;
  line-height: 1.48;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: var(--chestnut-deep);
  color: #e5dccc;
  margin-top: 4px;
}
.footer-inner {
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(229, 220, 204, 0.72);
  text-align: justify;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(229, 220, 204, 0.18);
}
.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: #f2e9d8;
  padding: 3px 10px;
  border: 1px solid rgba(229, 220, 204, 0.32);
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  background: var(--notice-red);
  border-color: var(--notice-red);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(229, 220, 204, 0.6);
  flex: 0 0 auto;
}
a.runtime-friend-link {
  display: inline-block;
  font-size: 12px;
  color: rgba(229, 220, 204, 0.82);
  text-decoration: none;
  border-bottom: 1px dotted rgba(229, 220, 204, 0.4);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: #fff;
  border-bottom-color: var(--notice-red);
  text-decoration: none;
}
.hero-player.theater, .hero-player.is-pip {
  border-color: var(--notice-red);
}
body.theater-mode .hero-stage {
  background: #e7dfd0;
}
body.lights-off {
  background: #17140f;
}
body.lights-off .page-shell {
  background: #1d1a15;
  border-color: #2e2a23;
}
body.lights-off .hero-backdrop, body.lights-off .timeline-cell, body.lights-off .episode-card, body.lights-off .comment-item, body.lights-off .recommend-item {
  background: #262119;
  border-color: #3a332a;
  color: #ded4c2;
}
@media (max-width: 900px) {.hero-backdrop {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.movie-title {
    font-size: 22px;
  }
.details-table {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }
.recommend-stack {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }}
@media (max-width: 680px) {.hero-backdrop {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-poster-col {
    max-width: 190px;
  }
.movie-title {
    font-size: 20px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.recommend-stack {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.timeline-cell {
    width: 158px;
  }}
@media (max-width: 460px) {.hero-stage, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding-left: 10px;
    padding-right: 10px;
  }
.header-inner {
    padding: 7px 10px;
  }
.movie-title {
    font-size: 18px;
  }
.recommend-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }
.footer-inner {
    padding: 12px 10px 16px;
  }}
@media (min-width: 981px) {.recommend-region-1 .recommend-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.recommend-region-2 .recommend-stack, .recommend-region-3 .recommend-stack {
    grid-template-columns: repeat(3, 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}
