*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, figure, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --ink-deep: #071b1c;
  --ink: #0c2a2b;
  --ink-soft: #123a3a;
  --wood: #2b1d13;
  --wood-soft: #3a2a1c;
  --lamp: #e8b martian;
  --lamp: #e9b451;
  --lamp-soft: #d99a3c;
  --ledger: #e8dcbe;
  --ledger-dim: #cbb98f;
  --thread: #a83a2c;
  --thread-soft: #7e2b21;
  --edge: rgba(233, 180, 81, 0.22);
  --rule: rgba(203, 185, 143, 0.18);
  --text: #e2d7b8;
  --text-dim: #a99b78;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --tight: 0.55rem;
  --gap: 0.6rem;
}
body {
  background:
    radial-gradient(120% 80% at 78% 6%, rgba(233, 180, 81, 0.10) 0%, rgba(233, 180, 81, 0) 46%),
    radial-gradient(90% 70% at 8% 22%, rgba(168, 58, 44, 0.10) 0%, rgba(168, 58, 44, 0) 55%),
    linear-gradient(168deg, #06181a 0%, #0a2425 32%, #14221c 66%, #1d160e 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
h1, h2, .movie-title, .section-title, .cast-name, .recommend-name, .episode-name {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(5, 20, 21, 0.96) 0%, rgba(5, 20, 21, 0.86) 100%);
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(4px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 0.9rem;
}
.site-brand {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lamp);
  text-decoration: none;
  border-left: 3px solid var(--thread);
  padding-left: 0.5rem;
  line-height: 1.25;
}
.site-brand:hover { color: #f5cd76; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem;
  margin-left: auto;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--ledger-dim);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.16rem 0.5rem;
  background: rgba(232, 220, 190, 0.04);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.runtime-category:hover {
  color: #10201c;
  background: var(--lamp);
  border-color: var(--lamp);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.7rem 0.9rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.section-title {
  font-size: 1.02rem;
  color: var(--lamp);
  letter-spacing: 0.1em;
  position: relative;
  padding-left: 0.62rem;
  margin-bottom: 0.42rem;
  line-height: 1.35;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.24em;
  bottom: 0.24em;
  width: 3px;
  background: var(--thread);
}
.movie-overview {
  background:
    linear-gradient(180deg, rgba(232, 220, 190, 0.035) 0%, rgba(10, 32, 32, 0) 30%),
    linear-gradient(160deg, #0b2626 0%, #102b27 55%, #241a11 100%);
  border: 1px solid var(--edge);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(232, 220, 190, 0.06) inset, 0 10px 26px rgba(0, 0, 0, 0.42);
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
}
.movie-overview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(203, 185, 143, 0.045) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(203, 185, 143, 0.035) 0 1px, transparent 1px 46px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.15));
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 208px) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.poster-column { align-self: start; }
.poster-media {
  border: 1px solid var(--rule);
  background: #04100f;
  padding: 3px;
  box-shadow: 0 0 18px rgba(233, 180, 81, 0.10);
}
.poster-media img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}
.hero-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}
.title-block { min-width: 0; }
.movie-title {
  font-size: 1.42rem;
  line-height: 1.3;
  color: #f4e9c8;
  text-shadow: 0 0 18px rgba(233, 180, 81, 0.22);
}
.movie-tagline {
  margin-top: 0.2rem;
  font-family: var(--serif);
  font-size: 0.86rem;
  color: var(--lamp-soft);
  letter-spacing: 0.14em;
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 0.34rem;
}
.hero-player { width: 100%; }
.player-shell {
  position: relative;
  width: 100%;
  background: #020a0a;
  border: 1px solid var(--edge);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 8px 22px rgba(0, 0, 0, 0.5);
}
.player-shell video { display: block; background: #000; }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.34rem 0.4rem;
  background: linear-gradient(180deg, rgba(4, 16, 16, 0.96), rgba(3, 12, 12, 0.99));
  border-top: 1px solid var(--rule);
}
.ctrl-btn {
  font-size: 0.72rem;
  line-height: 1.2;
  padding: 0.2rem 0.46rem;
  color: var(--ledger-dim);
  background: rgba(232, 220, 190, 0.05);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s, background 0.14s, border-color 0.14s;
}
.ctrl-btn:hover { color: #0d1f1c; background: var(--lamp-soft); border-color: var(--lamp-soft); }
.ctrl-btn.is-active { color: #0d1f1c; background: var(--lamp); border-color: var(--lamp); }
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(203, 185, 143, 0.22);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lamp);
  border: 1px solid #2a1c0d;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lamp);
  border: 1px solid #2a1c0d;
}
.ctrl-progress { flex: 1 1 40%; min-width: 90px; }
.ctrl-volume { flex: 0 1 76px; min-width: 56px; }
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--lamp-soft), 0 0 34px rgba(233, 180, 81, 0.24);
}
.player-shell.is-lights-off video { filter: brightness(0.62) contrast(1.1); }
.player-shell.is-playing { border-color: rgba(233, 180, 81, 0.42); }
.overview-desc {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-dim);
  border-left: 2px solid var(--thread-soft);
  padding-left: 0.55rem;
}
.cast-panel { min-width: 0; }
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.cast-card {
  position: relative;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(232, 220, 190, 0.05), rgba(6, 22, 22, 0.4));
  overflow: hidden;
}
.cast-media { margin: 0; background: #061515; }
.cast-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.86) contrast(1.05);
  transition: filter 0.2s;
}
.cast-card:hover .cast-media img { filter: saturate(0.95) brightness(1) contrast(1.05); }
.cast-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.85rem 0.34rem 0.26rem;
  background: linear-gradient(180deg, rgba(4, 14, 14, 0) 0%, rgba(4, 14, 14, 0.86) 52%, rgba(4, 14, 14, 0.96) 100%);
}
.cast-name {
  font-size: 0.8rem;
  color: #f2e6c4;
  line-height: 1.25;
}
.cast-role {
  font-size: 0.68rem;
  color: var(--lamp-soft);
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.synopsis-panel { min-width: 0; }
.synopsis-body {
  columns: 2;
  column-gap: 1rem;
  column-rule: 1px solid var(--rule);
}
.synopsis-para {
  font-size: 0.84rem;
  line-height: 1.78;
  color: var(--text);
  text-align: justify;
  break-inside: avoid;
  margin-bottom: 0.5rem;
}
.synopsis-para:last-child { margin-bottom: 0; }
.episode-status, .details-panel { min-width: 0; }
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.status-item {
  border: 1px solid var(--rule);
  background: rgba(232, 220, 190, 0.035);
  padding: 0.34rem 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.status-key {
  font-family: var(--serif);
  font-size: 0.76rem;
  color: var(--lamp-soft);
  letter-spacing: 0.12em;
  flex: 0 0 auto;
}
.status-val {
  font-size: 0.86rem;
  color: var(--ledger);
  margin: 0;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.3rem var(--gap);
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  border-bottom: 1px dotted rgba(203, 185, 143, 0.2);
  padding: 0.2rem 0;
}
.detail-key {
  font-family: var(--serif);
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  flex: 0 0 auto;
  min-width: 4.6em;
}
.detail-val {
  font-size: 0.82rem;
  color: var(--ledger);
  margin: 0;
}
.timeline-section {
  border-top: 1px solid var(--edge);
  padding-top: 0.6rem;
  min-width: 0;
}
.timeline-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0.5rem 0.2rem 0.7rem;
  scrollbar-width: thin;
  scrollbar-color: var(--lamp-soft) rgba(0, 0, 0, 0.3);
  position: relative;
}
.timeline-scroll::-webkit-scrollbar { height: 7px; }
.timeline-scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.32); }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--thread-soft); border-radius: 4px; }
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  padding: 0 0.7rem;
  border-right: 1px solid rgba(168, 58, 44, 0.4);
}
.timeline-node:last-child { border-right: none; }
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--thread-soft), rgba(168, 58, 44, 0.15));
}
.node-timecode {
  display: block;
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--lamp);
  margin-top: 0.34rem;
}
.timeline-node:nth-child(even) .node-timecode { margin-top: 0.9rem; }
.node-label {
  display: block;
  margin-top: 0.24rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.timeline-node:nth-child(even) .node-label { margin-top: 0.1rem; }
.episodes-section {
  border-top: 1px solid var(--edge);
  padding-top: 0.6rem;
  min-width: 0;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 0.34rem var(--gap);
  align-items: start;
}
.episode-item { min-width: 0; }
.episode-fold {
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(232, 220, 190, 0.045), rgba(6, 20, 20, 0.32));
  transition: border-color 0.16s, background 0.16s;
}
.episode-fold:hover { border-color: rgba(233, 180, 81, 0.34); }
.episode-fold[open] { border-color: rgba(233, 180, 81, 0.42); background: rgba(233, 180, 81, 0.05); }
.episode-summary {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.42rem 0.55rem;
  cursor: pointer;
  list-style: none;
}
.episode-summary::-webkit-details-marker { display: none; }
.episode-number {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--lamp);
  background: rgba(168, 58, 44, 0.22);
  border-left: 2px solid var(--thread);
  padding: 0.08rem 0.32rem;
  line-height: 1.5;
}
.episode-heading { display: flex; flex-direction: column; gap: 0.14rem; min-width: 0; }
.episode-name {
  font-size: 0.9rem;
  color: #f2e6c4;
  line-height: 1.35;
}
.episode-brief {
  font-size: 0.76rem;
  line-height: 1.62;
  color: var(--text-dim);
}
.episode-duration {
  font-size: 0.72rem;
  color: var(--lamp-soft);
  letter-spacing: 0.08em;
  border-top: 1px dashed var(--rule);
  padding: 0.26rem 0.55rem 0.34rem;
  margin: 0;
}
.comments-section {
  border-top: 1px solid var(--edge);
  padding-top: 0.6rem;
  min-width: 0;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 0.36rem var(--gap);
  align-items: start;
}
.comment-card {
  border: 1px solid var(--rule);
  border-left: 2px solid rgba(168, 58, 44, 0.5);
  background: rgba(232, 220, 190, 0.035);
  padding: 0.4rem 0.55rem;
}
.comment-text {
  font-size: 0.8rem;
  line-height: 1.66;
  color: var(--text);
}
.comment-author {
  margin-top: 0.22rem;
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--lamp-soft);
  text-align: right;
}
.comment-author::before { content: "—— "; color: var(--thread); }
.recommend-region {
  border-top: 1px solid var(--edge);
  padding-top: 0.6rem;
  min-width: 0;
}
.recommend-title { display: flex; align-items: baseline; gap: 0.4rem; }
.recommend-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(232, 220, 190, 0.05), rgba(6, 20, 20, 0.34));
  padding: 0.3rem;
  text-decoration: none;
  color: var(--ledger);
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
.recommend-card:hover {
  border-color: rgba(233, 180, 81, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}
.recommend-card img, .recommend-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: saturate(0.78) brightness(0.9);
}
.recommend-card:hover img { filter: saturate(1) brightness(1); }
.recommend-name {
  font-size: 0.8rem;
  color: #f2e6c4;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--text-dim);
}
.site-footer {
  margin-top: 0.6rem;
  border-top: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(4, 16, 16, 0.9), rgba(2, 10, 10, 0.98));
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.7rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.footer-nav a {
  font-size: 0.78rem;
  color: var(--lamp-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 180, 81, 0.3);
  padding-bottom: 1px;
}
.footer-nav a:hover { color: var(--lamp); border-bottom-color: var(--lamp); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.24rem 0.5rem;
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  border-right: 1px solid var(--rule);
  padding-right: 0.5rem;
}
.runtime-friend-link {
  font-size: 0.74rem;
  color: var(--ledger-dim);
  text-decoration: none;
  white-space: nowrap;
}
.runtime-friend-link:hover { color: var(--lamp); text-decoration: underline; }
.footer-disclaimer {
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(169, 155, 120, 0.72);
  border-top: 1px dashed var(--rule);
  padding-top: 0.4rem;
}
@media (max-width: 900px) {.overview-hero { grid-template-columns: minmax(0, 168px) minmax(0, 1fr); }
.synopsis-body { columns: 1; column-rule: none; }}
@media (max-width: 680px) {body { font-size: 14.5px; }
.page-main { padding: 0.6rem 0.6rem 1rem; gap: 0.7rem; }
.movie-overview { padding: 0.6rem; }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
  }
.poster-column {
    display: flex;
    justify-content: center;
  }
.poster-media {
    width: 100%;
    max-width: 210px;
  }
.movie-title { font-size: 1.18rem; }
.movie-tagline { font-size: 0.78rem; letter-spacing: 0.08em; }
.cast-strip { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
.timeline-node { width: 156px; }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.comments-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-strip { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.ctrl-btn { font-size: 0.68rem; padding: 0.18rem 0.38rem; }
.ctrl-volume { flex: 0 1 64px; min-width: 48px; }}
@media (max-width: 420px) {.cast-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-node { width: 146px; padding: 0 0.55rem; }
.header-inner { padding: 0.45rem 0.6rem; }
.site-brand { font-size: 0.98rem; }}

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}
