:root {
  --cement: #4a4d50;
  --cement-deep: #33363a;
  --cement-dark: #23262a;
  --cement-light: #6a6e73;
  --rust: #8a3b28;
  --rust-deep: #5e2418;
  --rust-light: #b8543a;
  --orange: #e07a2f;
  --orange-warm: #f0a24e;
  --paper: #d9cfbb;
  --paper-light: #ece3d0;
  --ink: #1a1c1e;
  --text-main: #d4d0c8;
  --text-dim: #9a968e;
  --line: #55585c;
  --radius: 3px;
  --gap-tight: 6px;
  --gap: 10px;
  --gap-wide: 16px;
  --font-head: "Heiti SC", "Microsoft YaHei", "PingFang SC", "STHeiti", sans-serif;
  --font-body: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: var(--cement-dark);
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    linear-gradient(180deg, var(--cement-deep) 0%, var(--cement-dark) 40%, #1e2023 100%);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
body.is-lights-off {
  background: #0c0d0e;
}
body.is-lights-off .page-main > section:not(.watch-deck) {
  opacity: 0.25;
  transition: opacity 0.4s ease;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
}
button {
  font-family: var(--font-head);
  cursor: pointer;
}
input[type="range"] {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cement-deep);
  border-bottom: 2px solid var(--rust-deep);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--orange-warm);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--paper-light);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--text-main);
  background: var(--cement);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  background: var(--rust);
  border-color: var(--rust-light);
  color: var(--paper-light);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.hero-wall {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  padding-top: 14px;
}
.hero-backdrop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: var(--gap-wide);
  padding: 18px;
  background:
    radial-gradient(circle at 85% 15%, rgba(224, 122, 47, 0.13), transparent 45%),
    linear-gradient(135deg, var(--cement) 0%, var(--cement-deep) 60%, var(--rust-deep) 130%);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(240, 162, 78, 0.05) 58px 60px),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(240, 162, 78, 0.04) 42px 44px);
  pointer-events: none;
}
.hero-figure {
  grid-column: 1;
  grid-row: 1 / span 3;
  position: relative;
  align-self: start;
  border: 2px solid var(--rust-deep);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cement-dark);
}
.poster-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-titles {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-size: 40px;
  line-height: 1.08;
  color: var(--paper-light);
  text-shadow: 2px 2px 0 var(--rust-deep), 0 0 24px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.03em;
}
.movie-tagline {
  position: relative;
  font-family: var(--font-head);
  font-size: 14px;
  line-height: 1.55;
  color: var(--orange-warm);
  padding: 6px 10px 6px 14px;
  border-left: 3px solid var(--orange);
  background: rgba(138, 59, 40, 0.28);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 62ch;
}
.cast-strip {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-self: end;
  position: relative;
  z-index: 2;
}
.cast-member {
  font-family: var(--font-head);
  font-size: 12px;
  padding: 2px 9px;
  color: var(--text-main);
  background: rgba(35, 38, 42, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info-dense {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap);
  align-items: start;
}
.info-left, .info-right {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.episode-status-panel, .details-panel, .synopsis-panel {
  background: rgba(52, 55, 59, 0.85);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.panel-heading {
  font-size: 14px;
  color: var(--orange-warm);
  letter-spacing: 0.06em;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.status-line {
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 10px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 3px;
}
.episode-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 11px;
  padding: 4px 0;
  color: var(--text-dim);
  background: var(--cement-dark);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: background 0.12s, color 0.12s;
}
.episode-cell:hover {
  background: var(--cement);
  color: var(--paper-light);
}
.episode-cell-current {
  background: var(--orange);
  border-color: var(--orange-warm);
  color: var(--cement-dark);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--rust);
}
.detail-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  font-size: 12.5px;
}
.detail-key {
  color: var(--text-dim);
  font-family: var(--font-head);
  white-space: nowrap;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(85, 88, 92, 0.5);
}
.detail-value {
  color: var(--text-main);
  padding: 2px 0;
  border-bottom: 1px dotted rgba(85, 88, 92, 0.5);
}
.synopsis-panel {
  border-left-color: var(--orange);
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--text-main);
  margin-bottom: 9px;
  text-indent: 2em;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
  color: var(--paper-light);
  font-style: italic;
  padding-left: 8px;
  border-left: 2px solid var(--rust-light);
  text-indent: 0;
}
.watch-deck {
  padding: 16px 0 4px;
}
.player-shell {
  position: relative;
  background: #000;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.player-shell.is-theater {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--rust-deep), 0 0 30px rgba(224, 122, 47, 0.3);
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--cement-deep);
  border-top: 1px solid var(--line);
}
.control-btn {
  font-size: 12px;
  padding: 4px 10px;
  color: var(--text-main);
  background: var(--cement);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.control-btn:hover {
  background: var(--rust);
  border-color: var(--rust-light);
  color: var(--paper-light);
}
.control-btn.is-active {
  background: var(--orange);
  border-color: var(--orange-warm);
  color: var(--cement-dark);
  font-weight: 700;
}
.control-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--cement);
  border-radius: 2px;
  border: 1px solid var(--line);
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border: 1px solid var(--orange-warm);
  border-radius: 50%;
  cursor: pointer;
}
.control-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--orange);
  border: 1px solid var(--orange-warm);
  border-radius: 50%;
  cursor: pointer;
}
.section-heading {
  font-size: 16px;
  color: var(--paper-light);
  letter-spacing: 0.08em;
  padding: 0 0 6px 10px;
  margin-bottom: 10px;
  border-left: 4px solid var(--orange);
  border-bottom: 1px solid var(--line);
}
.timeline-section {
  padding: 16px 0 6px;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--crop, var(--rust));
  margin-left: 6px;
  padding-left: 0;
}
.timeline-item {
  display: grid;
  grid-template-columns: 14px 130px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding: 7px 0 7px 0;
  position: relative;
  border-bottom: 1px solid rgba(85, 88, 92, 0.35);
}
.timeline-item:last-child {
  border-bottom: none;
}
.timeline-tick {
  position: relative;
  top: 2px;
  width: 9px;
  height: 9px;
  background: var(--cement-dark);
  border: 2px solid var(--rust-light);
  border-radius: 50%;
  transform: translateX(-6px);
  justify-self: start;
}
.timeline-item:first-child .timeline-tick, .timeline-item:last-child .timeline-tick {
  background: var(--orange);
  border-color: var(--orange-warm);
}
.timeline-timecode {
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--orange-warm);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.55;
}
.episodes-section {
  padding: 16px 0 6px;
}
.episode-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 10px 12px;
  background: rgba(52, 55, 59, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 2px solid var(--rust);
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  background: rgba(66, 69, 74, 0.9);
  border-top-color: var(--orange);
}
.episode-number {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--orange-warm);
  background: var(--cement-dark);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2px 7px;
  white-space: nowrap;
  align-self: start;
}
.episode-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  color: var(--paper-light);
  line-height: 1.3;
  align-self: center;
}
.episode-summary {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 3px;
}
.episode-duration {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
  padding-left: 10px;
}
.comments-section {
  padding: 16px 0 6px;
}
.comment-wall {
  columns: 2;
  column-gap: var(--gap);
}
.comment-card {
  break-inside: avoid;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: var(--gap);
  background: rgba(46, 49, 53, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--cement-light);
}
.comment-card:hover {
  border-left-color: var(--orange);
}
.comment-avatar-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -4px;
  position: relative;
  width: 22px;
  flex-shrink: 0;
}
.avatar-dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--cement-deep);
  background: var(--cement-light);
  margin-top: -6px;
}
.avatar-dot:first-child {
  margin-top: 0;
  background: var(--rust-light);
}
.avatar-dot:nth-child(2) {
  background: var(--cement-light);
}
.avatar-dot:nth-child(3) {
  background: var(--orange);
}
.comment-body {
  min-width: 0;
  padding-left: 8px;
  border-left: 1px solid rgba(85, 88, 92, 0.5);
}
.comment-nickname {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--orange-warm);
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.comment-text {
  font-size: 12.5px;
  color: var(--text-main);
  line-height: 1.65;
}
.recommend-region {
  padding: 16px 0 6px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: rgba(46, 49, 53, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--rust);
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
a.recommend-card:hover {
  background: rgba(66, 69, 74, 0.95);
  border-bottom-color: var(--orange);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--cement-dark);
}
.recommend-pic {
  border: 1px solid var(--line);
}
.recommend-name {
  font-family: var(--font-head);
  font-size: 12.5px;
  color: var(--paper-light);
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.recommend-blurb {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  background: var(--cement-deep);
  border-top: 2px solid var(--rust-deep);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.footer-disclaimer {
  max-width: 760px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-dim);
  padding: 8px 12px;
  background: rgba(35, 38, 42, 0.7);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-head);
  font-size: 12.5px;
  color: var(--orange-warm);
  text-decoration: none;
  padding: 2px 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--paper-light);
  border-bottom-color: var(--rust-light);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  justify-content: center;
  align-items: center;
  max-width: 900px;
}
.friend-links-label {
  font-family: var(--font-head);
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  padding-right: 4px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 1px 5px;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--orange-warm);
  border-color: var(--line);
}
.click, .input, .timeupdate, .progress, .volume, .play, .mute, .pip, .fullscreen, .theater, .light, .speed, .player {
  
}
.is-active {
  outline: 1px solid var(--orange-warm);
  outline-offset: 1px;
}
.is-theater {
  border-color: var(--orange);
}
.is-lights-off {
  background: #0c0d0e;
}
@media (max-width: 900px) {.hero-backdrop {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    padding: 14px;
  }
.movie-title {
    font-size: 30px;
  }
.info-dense {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.hero-backdrop {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }
.hero-figure {
    grid-column: 1;
    grid-row: auto;
    max-width: 210px;
  }
.hero-titles, .cast-strip {
    grid-column: 1;
    grid-row: auto;
  }
.movie-title {
    font-size: 26px;
  }
.episode-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
.episode-cards {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-wall {
    columns: 1;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-item {
    grid-template-columns: 14px minmax(0, 1fr);
    row-gap: 2px;
  }
.timeline-timecode {
    grid-column: 2;
  }
.timeline-label {
    grid-column: 2;
  }}
@media (max-width: 480px) {.page-main {
    padding: 0 10px;
  }
.header-inner {
    padding: 8px 10px;
  }
.movie-title {
    font-size: 22px;
  }
.episode-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 4px;
  }
.control-btn {
    font-size: 11px;
    padding: 3px 7px;
  }
.control-range {
    flex: 1 1 100%;
  }
.detail-list {
    font-size: 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}
