:root {
  --ink: #0c0908;
  --ink-2: #14100d;
  --char: #1c1613;
  --brown: #2a201a;
  --brown-2: #3a2c23;
  --paper: #e7dcc4;
  --paper-2: #d8c9a8;
  --paper-3: #c3b28d;
  --ash: #9b8d76;
  --ash-2: #6f6354;
  --seal: #8e2b22;
  --seal-2: #b03a2b;
  --blood: #7d1f18;
  --line: rgba(231, 220, 196, 0.16);
  --line-2: rgba(231, 220, 196, 0.28);
  --shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(142, 43, 34, 0.16), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(58, 44, 35, 0.55), transparent 48%),
    radial-gradient(circle at 50% 120%, rgba(42, 32, 26, 0.7), transparent 60%),
    repeating-linear-gradient(0deg, rgba(231, 220, 196, 0.014) 0 1px, transparent 1px 3px);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  display: block;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--paper-2);
  text-decoration: none;
}
button, input, video {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(12, 9, 8, 0.98), rgba(12, 9, 8, 0.9));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-shell {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 18px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-decoration: none;
  padding: 2px 10px 3px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(58, 44, 35, 0.5), rgba(20, 16, 13, 0.5));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a[data-contract="site-name"]:hover {
  color: var(--seal-2);
  border-color: var(--seal);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: var(--ash);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 1px;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--seal);
  background-color: rgba(142, 43, 34, 0.18);
}
.dossier-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.block-heading {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--paper-2);
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--line-2);
  position: relative;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: -12px;
  bottom: -1px;
  width: 8px;
  height: 8px;
  background: var(--seal);
  transform: rotate(45deg);
  opacity: 0.85;
}
.movie-dossier {
  background:
    linear-gradient(180deg, rgba(42, 32, 26, 0.72), rgba(20, 16, 13, 0.86)),
    repeating-linear-gradient(90deg, rgba(231, 220, 196, 0.02) 0 1px, transparent 1px 5px);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.movie-dossier::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(142, 43, 34, 0.22);
  pointer-events: none;
  border-radius: 2px;
}
.dossier-hero {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-shell {
  align-self: start;
  display: flex;
  justify-content: flex-start;
}
.poster-frame {
  position: relative;
  width: 100%;
  max-width: 240px;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  padding: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--paper-3);
  padding-left: 10px;
  border-left: 2px solid var(--seal);
}
.movie-seo {
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--ash);
  text-align: justify;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-chip {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: rgba(12, 9, 8, 0.5);
  color: var(--paper-2);
  white-space: nowrap;
}
.status-progress {
  color: var(--paper-2);
}
.status-score {
  color: var(--seal-2);
  border-color: rgba(142, 43, 34, 0.6);
  background: rgba(142, 43, 34, 0.14);
}
.cast-strip {
  margin-top: 2px;
}
.cast-strip .block-heading {
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 10px 6px;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(142, 43, 34, 0.7);
  background: rgba(12, 9, 8, 0.42);
  min-width: 96px;
}
.cast-name {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--paper);
}
.cast-role {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ash-2);
}
.synopsis-panel {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 10px 22px;
}
.synopsis-panel .block-heading {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}
.synopsis-para {
  font-size: 0.86rem;
  line-height: 1.78;
  color: var(--ash);
  text-align: justify;
  text-indent: 2em;
}
.details-panel {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(12, 9, 8, 0.34);
}
.detail-item {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 5px 10px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--ash-2);
}
.detail-key::after {
  content: "／";
  margin-left: 4px;
  color: rgba(142, 43, 34, 0.7);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.8rem;
  color: var(--paper-2);
  text-align: right;
  overflow-wrap: anywhere;
}
.player-panel {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-2);
  background: #000;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ctrl-btn {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--paper-2);
  padding: 4px 11px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(58, 44, 35, 0.5), rgba(12, 9, 8, 0.6));
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.ctrl-btn:hover {
  color: var(--paper);
  border-color: var(--seal);
}
.ctrl-btn.is-active {
  color: var(--paper);
  border-color: var(--seal);
  background: rgba(142, 43, 34, 0.3);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 140px;
  min-width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--seal), var(--brown-2));
  border-radius: 2px;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--seal);
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--seal);
  cursor: pointer;
}
.timeline-section {
  position: relative;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--seal) var(--ink-2);
}
.timeline-scroll::-webkit-scrollbar {
  height: 8px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: var(--ink-2);
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--brown-2);
  border: 1px solid var(--seal);
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
  padding: 0 4px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 216px;
  margin-left: -26px;
  padding: 12px 14px 14px;
  background: linear-gradient(160deg, rgba(42, 32, 26, 0.95), rgba(20, 16, 13, 0.98));
  border: 1px solid var(--line-2);
  border-top: 2px solid var(--seal);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
  transform: rotate(-0.7deg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.timeline-node:nth-child(even) {
  transform: rotate(0.8deg) translateY(6px);
}
.timeline-node:first-child {
  margin-left: 0;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(142, 43, 34, 0.8), transparent);
}
.timeline-node:hover {
  transform: rotate(0deg) translateY(-2px);
  border-color: var(--seal);
  z-index: 3;
}
.node-timecode {
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--seal-2);
  padding-bottom: 4px;
  border-bottom: 1px dotted var(--line-2);
}
.node-label {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--paper-3);
  text-align: justify;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "seal title dur"
    "seal summary summary";
  align-items: start;
  gap: 2px 10px;
  padding: 8px 12px 10px;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(142, 43, 34, 0.55);
  background: linear-gradient(180deg, rgba(28, 22, 19, 0.7), rgba(12, 9, 8, 0.6));
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.episode-card:hover {
  border-color: var(--line-2);
  border-left-color: var(--seal);
  background: linear-gradient(180deg, rgba(42, 32, 26, 0.8), rgba(12, 9, 8, 0.7));
}
.episode-seal {
  grid-area: seal;
  align-self: start;
  font-family: var(--serif);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--paper);
  background: rgba(142, 43, 34, 0.85);
  border: 1px solid rgba(231, 220, 196, 0.35);
  border-radius: 2px;
  padding: 3px 5px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--paper);
  align-self: center;
}
.episode-duration {
  grid-area: dur;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ash-2);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 1px;
  white-space: nowrap;
}
.episode-summary {
  grid-area: summary;
  font-size: 0.78rem;
  line-height: 1.68;
  color: var(--ash);
  text-align: justify;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  align-items: start;
}
.comment-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "avatar nick"
    "avatar text";
  gap: 1px 10px;
  padding: 8px 12px 10px;
  border: 1px solid var(--line);
  border-top: 2px solid rgba(142, 43, 34, 0.5);
  background: rgba(20, 16, 13, 0.72);
}
.comment-card:nth-child(even) {
  margin-top: 14px;
  background: rgba(28, 22, 19, 0.72);
}
.comment-avatar {
  grid-area: avatar;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(231, 220, 196, 0.28) 0 20%, transparent 21%),
    radial-gradient(circle at 50% 88%, rgba(231, 220, 196, 0.22) 0 38%, transparent 39%),
    linear-gradient(160deg, var(--brown-2), var(--ink));
  border: 1px solid var(--line-2);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8);
}
.comment-nick {
  grid-area: nick;
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--paper-2);
}
.comment-text {
  grid-area: text;
  font-size: 0.78rem;
  line-height: 1.66;
  color: var(--ash);
  text-align: justify;
}
.recommend-region {
  display: flex;
  flex-direction: column;
}
.recommend-region .block-heading {
  font-size: 0.92rem;
}
.recommend-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(20, 16, 13, 0.7);
  color: var(--paper-2);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--seal);
  background: rgba(42, 32, 26, 0.85);
  transform: translateY(-2px);
}
.recommend-item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.92);
  border: 1px solid rgba(0, 0, 0, 0.5);
}
.recommend-item [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-item [data-runtime="blurb"] {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--ash-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 9, 8, 0.6), rgba(12, 9, 8, 0.98));
}
.footer-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.friend-label {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--seal-2);
  padding-right: 6px;
  border-right: 1px solid var(--line-2);
}
a.runtime-friend-link {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ash-2);
  text-decoration: none;
  padding: 1px 4px;
  border-bottom: 1px dotted transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--paper-2);
  border-bottom-color: var(--seal);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--paper-3);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid var(--line-2);
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--seal-2);
  border-bottom-color: var(--seal);
}
.footer-disclaimer {
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--ash-2);
  text-align: justify;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.lights-off .movie-dossier {
  box-shadow: 0 0 0 1px rgba(142, 43, 34, 0.4), 0 20px 60px rgba(0, 0, 0, 0.9);
}
.lights-off .player-shell {
  box-shadow: 0 0 40px rgba(142, 43, 34, 0.35);
}
.theater-mode .player-shell {
  border-color: var(--seal);
}
@media (max-width: 900px) {.dossier-main {
    gap: 22px;
    padding: 14px 14px 6px;
  }
.dossier-hero {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 14px;
  }
.synopsis-panel {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(even) {
    margin-top: 8px;
  }}
@media (max-width: 720px) {body {
    font-size: 14.5px;
  }
.header-shell {
    padding: 7px 12px;
    gap: 10px;
  }
.dossier-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-shell {
    justify-content: center;
  }
.poster-frame {
    max-width: 210px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(even) {
    margin-top: 0;
  }
.recommend-strip {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.timeline-node {
    width: 190px;
    margin-left: -18px;
  }
.player-controls {
    gap: 5px;
  }
.ctrl-btn {
    font-size: 0.72rem;
    padding: 4px 8px;
  }}
@media (max-width: 460px) {.dossier-main {
    padding: 12px 10px 4px;
    gap: 20px;
  }
.movie-dossier {
    padding: 12px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-value {
    text-align: left;
  }
.cast-card {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }
.recommend-strip {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
a[data-contract="site-name"] {
    font-size: 1.05rem;
  }}

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}
