:root {
  --soil: #241a13;
  --soil-2: #2f2318;
  --soil-3: #3a2c1e;
  --film: #8fa4a3;
  --film-2: #b8c8c6;
  --film-3: #6d8280;
  --red: #c0392b;
  --red-2: #e05a45;
  --ink: #e8e2d8;
  --ink-dim: #b3a99a;
  --paper: #efe7d8;
  --line: rgba(184, 200, 198, 0.18);
  --font-title: "Songti SC", "SimSun", "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: var(--soil);
  background-image:
    radial-gradient(circle at 12% 6%, rgba(143, 164, 163, 0.10), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(192, 57, 43, 0.07), transparent 38%),
    linear-gradient(180deg, #1c1410 0%, #241a13 38%, #241a13 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
ul, ol, dl {
  list-style: none;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(28, 20, 16, 0.96), rgba(28, 20, 16, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 14px;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  color: var(--film-2);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.06em;
}
a[data-contract="site-name"]:hover {
  color: var(--red-2);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(143, 164, 163, 0.06);
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--film-3);
  background: rgba(143, 164, 163, 0.16);
}
.movie-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 14px 0;
}
.movie-overview {
  position: relative;
  padding: 14px 0 10px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  position: relative;
}
.overview-hero::before {
  content: "";
  position: absolute;
  inset: -10px -20px auto -20px;
  height: 74%;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(184, 200, 198, 0.09) 0 22%, transparent 22% 26%, rgba(184, 200, 198, 0.05) 26% 52%, transparent 52% 57%, rgba(184, 200, 198, 0.08) 57% 84%, transparent 84%),
    linear-gradient(0deg, transparent 60%, rgba(143, 164, 163, 0.06));
  border-left: 1px solid rgba(184, 200, 198, 0.10);
  border-right: 1px solid rgba(184, 200, 198, 0.10);
  z-index: 0;
}
.poster-column {
  position: relative;
  z-index: 1;
  align-self: start;
}
.poster-frame {
  position: relative;
  border: 1px solid rgba(184, 200, 198, 0.28);
  background: #17110d;
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(143, 164, 163, 0.10), transparent 40%, rgba(36, 26, 19, 0.55));
}
.poster-figure-caption {
  margin-top: 8px;
  padding: 7px 9px 8px;
  border-left: 3px solid var(--red);
  background: rgba(143, 164, 163, 0.07);
}
.hero-figure-line {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.overview-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: 30px;
  line-height: 1.1;
  color: var(--paper);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.movie-tagline {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--red-2);
  letter-spacing: 0.08em;
  border-left: 3px solid var(--red);
  padding-left: 8px;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 74ch;
}
.player-shell {
  border: 1px solid rgba(184, 200, 198, 0.2);
  background: #14100c;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.player-frame {
  width: 100%;
  position: relative;
  background: #000;
  overflow: hidden;
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 2px 1px;
}
.control-btn {
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px;
  border: 1px solid rgba(184, 200, 198, 0.24);
  background: rgba(143, 164, 163, 0.09);
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.control-btn:hover {
  background: rgba(143, 164, 163, 0.22);
  border-color: var(--film-3);
}
.control-btn.is-playing {
  border-color: var(--red);
  color: var(--red-2);
}
.control-btn.is-muted {
  border-color: var(--red);
  color: var(--red-2);
}
.control-btn.is-active {
  background: rgba(192, 57, 43, 0.22);
  border-color: var(--red);
}
.control-btn.is-off {
  background: rgba(192, 57, 43, 0.28);
  border-color: var(--red);
  color: var(--paper);
}
.control-btn.is-fullscreen {
  border-color: var(--film-2);
}
.control-progress {
  flex: 1 1 120px;
  min-width: 80px;
  height: 6px;
  accent-color: var(--red);
  background: rgba(143, 164, 163, 0.2);
  border-radius: 3px;
  cursor: pointer;
}
.control-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 6px;
  accent-color: var(--film-3);
  background: rgba(143, 164, 163, 0.2);
  border-radius: 3px;
  cursor: pointer;
}
.control-speed {
  font-size: 12px;
  padding: 4px 4px;
  background: rgba(143, 164, 163, 0.09);
  border: 1px solid rgba(184, 200, 198, 0.24);
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
}
.control-speed option {
  background: #241a13;
  color: var(--ink);
}
.player-shell.is-theater {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.4);
}
.movie-details {
  margin-top: 2px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.details-heading, .synopsis-heading, .cast-heading, .timeline-heading, .episodes-heading, .comments-heading {
  font-size: 15px;
  color: var(--film-2);
  letter-spacing: 0.1em;
  margin-bottom: 7px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2px 14px;
  align-items: start;
}
.detail-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
  font-size: 12.5px;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(184, 200, 198, 0.14);
  min-width: 0;
}
.detail-row dt {
  color: var(--film-3);
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-row dd {
  color: var(--ink);
  margin-left: auto;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  margin-top: 2px;
  padding: 6px 9px;
  border: 1px dashed rgba(192, 57, 43, 0.5);
  background: rgba(192, 57, 43, 0.06);
}
.status-current {
  font-family: var(--font-title);
  font-size: 15px;
  color: var(--red-2);
  letter-spacing: 0.04em;
}
.status-total {
  font-size: 12.5px;
  color: var(--ink-dim);
}
.movie-synopsis {
  margin-top: 2px;
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 6px;
  align-items: start;
}
.synopsis-item {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  padding: 6px 8px;
  border-left: 2px solid rgba(143, 164, 163, 0.35);
  background: rgba(143, 164, 163, 0.05);
}
.movie-cast {
  margin-top: 2px;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 4px;
  border: 1px solid var(--line);
  background: rgba(143, 164, 163, 0.06);
  border-radius: 20px;
}
.cast-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 35% 30%, rgba(184, 200, 198, 0.55), transparent 60%),
    linear-gradient(150deg, var(--film-3), var(--soil-3));
  border: 1px solid rgba(184, 200, 198, 0.35);
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
  line-height: 1;
  max-height: 30px;
  overflow: hidden;
}
.timeline-section {
  margin-top: 16px;
  position: relative;
}
.timeline-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--film-3) transparent;
  border-top: 1px solid var(--line);
}
.timeline-strip::-webkit-scrollbar {
  height: 6px;
}
.timeline-strip::-webkit-scrollbar-thumb {
  background: var(--film-3);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 9px 10px 12px;
  background: linear-gradient(160deg, #f0e8d9, #ded3bf);
  color: #2a2016;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-node:nth-child(even) {
  background: linear-gradient(160deg, #e7ddca, #d3c6ae);
}
.node-timecode {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(192, 57, 43, 0.35);
  padding-bottom: 3px;
}
.node-label {
  font-size: 12.5px;
  line-height: 1.4;
  color: #33281c;
}
.episodes-section {
  margin-top: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "num dur"
    "title title"
    "summary summary";
  align-items: baseline;
  gap: 2px 8px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: rgba(143, 164, 163, 0.05);
  border-left: 3px solid rgba(143, 164, 163, 0.45);
  min-width: 0;
  cursor: default;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.episode-card:hover {
  background: rgba(143, 164, 163, 0.13);
  border-left-color: var(--red);
}
.episode-number {
  grid-area: num;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--red-2);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 14px;
  color: var(--paper);
  line-height: 1.3;
}
.episode-duration {
  grid-area: dur;
  font-size: 11.5px;
  color: var(--film-3);
  white-space: nowrap;
  justify-self: end;
}
.episode-summary {
  grid-area: summary;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 160px;
  opacity: 1;
  margin-top: 3px;
}
.comments-section {
  margin-top: 16px;
}
.comment-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px 12px;
  align-items: start;
  padding: 6px 2px 14px;
}
.comment-note {
  position: relative;
  padding: 10px 11px 20px;
  background: linear-gradient(165deg, #f3ecdd, #e2d7c2);
  color: #2c2218;
  box-shadow: 0 8px 16px -12px rgba(0, 0, 0, 1);
  border-top: 2px solid rgba(192, 57, 43, 0.55);
  transform: rotate(-1.4deg);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-note:nth-child(even) {
  transform: rotate(1.6deg);
  background: linear-gradient(165deg, #efe6d4, #dcd0b8);
}
.comment-note:nth-child(3n) {
  transform: rotate(-2.2deg);
}
.comment-note:nth-child(4n) {
  transform: rotate(0.9deg);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #33281c;
}
.comment-nickname {
  font-family: var(--font-title);
  font-size: 11.5px;
  color: var(--red);
  letter-spacing: 0.06em;
  align-self: flex-end;
  border-top: 1px dashed rgba(192, 57, 43, 0.4);
  padding-top: 4px;
  width: 100%;
  text-align: right;
}
.recommend-region {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.recommend-heading {
  font-size: 14px;
  color: var(--film-2);
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  padding-left: 8px;
  border-left: 3px solid var(--red);
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  background: rgba(143, 164, 163, 0.05);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--red);
  background: rgba(192, 57, 43, 0.09);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  background: #17110d;
}
.recommend-name {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--paper);
  line-height: 1.3;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-dim);
}
.site-footer {
  max-width: 1400px;
  margin: 22px auto 0;
  padding: 12px 14px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(179, 169, 154, 0.7);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--film-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 200, 198, 0.3);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-2);
  border-bottom-color: var(--red);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-top: 6px;
  border-top: 1px dotted rgba(184, 200, 198, 0.16);
}
.friends-label {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--red-2);
  letter-spacing: 0.08em;
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--film-3);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--paper);
  text-decoration: underline;
}
.movie-overview .player-shell.is-theater {
  background: #0d0a07;
}
.control-btn.play.is-playing, .control-btn.pause, .control-btn.mute, .control-btn.volume, .control-btn.speed, .control-btn.pip, .control-btn.fullscreen, .control-btn.theater, .control-btn.light, .control-btn.progress, .control-btn.timeupdate, .control-btn.change, .control-btn.click, .control-btn.input {
  
}
.player .is-active, .player.is-active {
  color: var(--red-2);
}
@media (max-width: 1024px) {.overview-hero {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 14px;
  }
.movie-title {
    font-size: 26px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-column {
    max-width: 240px;
  }
.movie-title {
    font-size: 24px;
  }
.synopsis-list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.header-bar {
    padding: 6px 10px;
    gap: 10px;
  }
.movie-page {
    padding: 0 10px;
  }
.movie-overview {
    padding-top: 10px;
  }
.poster-column {
    max-width: 200px;
  }
.movie-title {
    font-size: 22px;
  }
.movie-tagline {
    font-size: 13px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: none;
    opacity: 1;
    margin-top: 3px;
  }
.comment-wall {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 9px;
  }
.recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.timeline-node {
    width: 152px;
  }}
@media (max-width: 420px) {.poster-column {
    max-width: 168px;
  }
.movie-title {
    font-size: 20px;
  }
.control-btn {
    padding: 5px 7px;
    font-size: 11.5px;
  }
.comment-wall {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(128px, 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}
