:root {
  --ink: #0b0d0c;
  --ink-2: #121614;
  --soil: #6b5a3a;
  --soil-warm: #8a7346;
  --soil-pale: #c9b483;
  --night: #0f1c20;
  --night-2: #16292e;
  --teal: #2f4a4e;
  --ash-red: #7d3a34;
  --ash-red-2: #963f36;
  --bone: #d9d2c2;
  --bone-dim: #a49c8a;
  --rope: #a8352b;
  --line: rgba(201, 180, 131, 0.22);
  --panel: #141715;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
}
ol, ul { list-style: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #0b0d0c 0%, rgba(11, 13, 12, 0.94) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}
.brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 0;
}
.brand-link {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 20px;
  letter-spacing: 0.16em;
  color: var(--soil-pale);
  text-shadow: 0 0 1px rgba(125, 58, 52, 0.6);
  border-left: 3px solid var(--ash-red);
  padding-left: 8px;
}
.brand-link:hover { color: #e6d7ae; }
.brand-note {
  font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.08em;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 10px;
  color: var(--bone-dim);
  border: 1px solid var(--line);
  background: rgba(47, 74, 78, 0.18);
  letter-spacing: 0.1em;
}
.runtime-category:hover {
  color: var(--soil-pale);
  border-color: var(--soil);
  background: rgba(107, 90, 58, 0.24);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
}
.section-title {
  font-size: 20px;
  color: var(--soil-pale);
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ash-red);
}
.section-sub {
  font-size: 12px;
  color: var(--bone-dim);
  margin-top: 4px;
  letter-spacing: 0.08em;
}
.panel-title {
  font-size: 14px;
  color: var(--soil-pale);
  letter-spacing: 0.14em;
  padding-left: 8px;
  border-left: 3px solid var(--ash-red);
  margin-bottom: 8px;
}
.hero-grave {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 20px;
  align-items: end;
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 6px;
}
.hero-title {
  font-size: clamp(28px, 4.4vw, 48px);
  color: var(--bone);
  letter-spacing: 0.1em;
  text-shadow: 0 2px 0 #000, 0 0 26px rgba(125, 58, 52, 0.35);
}
.hero-tagline {
  font-family: "Songti SC", "STSong", serif;
  font-size: 15px;
  color: var(--soil-pale);
  letter-spacing: 0.14em;
  border-left: 3px solid var(--ash-red);
  padding-left: 10px;
}
.hero-lead {
  font-size: 13px;
  color: var(--bone-dim);
  line-height: 1.75;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.btn-play {
  background: var(--ash-red);
  color: #f3e7d6;
  border: 1px solid #b8544a;
  padding: 8px 22px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 15px;
  letter-spacing: 0.22em;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 6px 18px rgba(125, 58, 52, 0.28);
}
.btn-play:hover { background: var(--ash-red-2); }
.hero-meta-chip {
  font-size: 11px;
  color: var(--soil-pale);
  border: 1px solid var(--line);
  background: rgba(47, 74, 78, 0.22);
  padding: 4px 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.grave-cutaway {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.grave-layers {
  position: relative;
  height: clamp(210px, 30vw, 340px);
  border: 1px solid var(--line);
  background: var(--night);
  overflow: hidden;
}
.grave-layer { position: absolute; left: 0; right: 0; }
.grave-layer-sky {
  top: 0;
  height: 46%;
  background: linear-gradient(180deg, #0a1418 0%, #133034 60%, #1c3a38 100%);
}
.grave-layer-sky::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 18%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 180, 131, 0.5), transparent 70%);
}
.grave-layer-soil {
  top: 46%;
  bottom: 0;
  background:
    repeating-linear-gradient(180deg, rgba(0,0,0,0.22) 0 3px, transparent 3px 9px),
    linear-gradient(180deg, #5a4a2c 0%, #3f3520 55%, #241f13 100%);
}
.grave-layer-mound {
  top: 30%;
  left: 34%;
  right: 8%;
  height: 40%;
  background: linear-gradient(180deg, #7a6740 0%, #4d4027 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  opacity: 0.94;
}
.grave-layer-mound::after {
  content: "";
  position: absolute;
  left: 46%;
  bottom: 100%;
  margin-bottom: 2px;
  width: 6px;
  height: 26px;
  background: var(--soil-pale);
  box-shadow: -22px 6px 0 -1px var(--ash-red);
}
.grave-layer-coffin {
  bottom: 12%;
  left: 44%;
  right: 22%;
  height: 22%;
  background: linear-gradient(180deg, #2b2418, #161207);
  border: 1px solid rgba(201, 180, 131, 0.5);
  box-shadow: inset 0 0 22px rgba(0,0,0,0.9);
}
.grave-layer-coffin::before {
  content: "";
  position: absolute;
  inset: 18% 8%;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(201,180,131,0.16) 14px 15px);
}
.grave-caption {
  font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.14em;
  text-align: right;
  padding-right: 2px;
}
.movie-block {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.movie-poster-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.poster-frame {
  border: 1px solid var(--line);
  background: var(--night);
  padding: 4px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.55);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.05);
}
.poster-side-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.poster-note {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  border: 1px solid var(--line);
  padding: 2px 7px;
  background: rgba(47, 74, 78, 0.16);
  white-space: nowrap;
}
.movie-info-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.player-shell {
  border: 1px solid var(--line);
  background: #050706;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.player-frame { min-width: 0; }
.player-frame video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0d1210, #080a09);
}
.ctrl-btn {
  background: rgba(47, 74, 78, 0.3);
  border: 1px solid var(--line);
  color: var(--bone);
  font-size: 12px;
  padding: 4px 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover { border-color: var(--soil); color: var(--soil-pale); }
.ctrl-range {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 130px;
  min-width: 0;
}
.ctrl-label {
  font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.ctrl-range input[type="range"] {
  width: 100%;
  min-width: 0;
  height: 4px;
  accent-color: var(--ash-red);
  background: var(--soil);
  cursor: pointer;
}
.ctrl-range-volume { flex: 0 1 130px; }
.ctrl-select {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ctrl-select select {
  background: #0d1210;
  border: 1px solid var(--line);
  color: var(--bone);
  font-size: 12px;
  padding: 3px 6px;
  cursor: pointer;
}
.player-shell.is-muted .ctrl-range-volume { opacity: 0.5; }
.player-shell.is-playing { border-color: rgba(168, 53, 43, 0.6); }
.player-shell.speed-changed .ctrl-select { box-shadow: 0 0 0 1px var(--soil); }
.player-shell.is-fullscreen { background: #000; }
body.lights-off { background: #040504; }
body.lights-off .page-main { filter: brightness(0.86); }
body.theater-mode .movie-block { grid-template-columns: minmax(0, 1fr); }
body.theater-mode .movie-poster-col { max-width: 200px; }
.movie-headline {
  border-left: 3px solid var(--ash-red);
  padding-left: 12px;
}
.movie-title {
  font-size: 22px;
  color: var(--bone);
  letter-spacing: 0.1em;
}
.movie-tagline {
  font-size: 12px;
  color: var(--soil-pale);
  letter-spacing: 0.16em;
  margin-top: 2px;
}
.details-panel {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  display: flex;
  gap: 8px;
  align-items: baseline;
  background: var(--panel);
  padding: 5px 8px;
  font-size: 12px;
  min-width: 0;
}
.detail-item dt {
  color: var(--bone-dim);
  letter-spacing: 0.1em;
  flex: 0 0 auto;
}
.detail-item dd {
  color: var(--bone);
  min-width: 0;
  overflow-wrap: anywhere;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  color: var(--soil-pale);
  border: 1px solid var(--line);
  background: rgba(107, 90, 58, 0.16);
  white-space: nowrap;
}
.cast-panel { border-top: 1px solid var(--line); padding-top: 12px; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  background: var(--panel);
  padding: 8px;
  min-width: 0;
}
.cast-avatar {
  width: 26px;
  height: 26px;
  background:
    radial-gradient(circle at 50% 34%, var(--bone-dim) 0 28%, transparent 29%),
    linear-gradient(180deg, var(--teal), #0b1416);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.cast-name {
  font-family: "Songti SC", "STSong", serif;
  font-size: 15px;
  color: var(--bone);
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.cast-role {
  font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.06em;
}
.synopsis-panel { border-top: 1px solid var(--line); padding-top: 12px; }
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px 18px;
}
.synopsis-para {
  font-size: 12.5px;
  color: var(--bone-dim);
  line-height: 1.8;
  padding-left: 10px;
  border-left: 1px solid rgba(201, 180, 131, 0.16);
}
.timeline-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-scroll {
  margin-top: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scrollbar-color: var(--ash-red) transparent;
}
.timeline-scroll::-webkit-scrollbar { height: 6px; }
.timeline-scroll::-webkit-scrollbar-track { background: rgba(201,180,131,0.12); }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--ash-red); }
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 0 6px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  height: 3px;
  background: linear-gradient(90deg, var(--rope), #7a2a22 60%, var(--soil) 100%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.7);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 190px;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.node-timecode {
  align-self: flex-start;
  font-family: "Songti SC", "STSong", serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--soil-pale);
  background: var(--ink);
  padding: 2px 8px;
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 34px;
  width: 1px;
  height: 12px;
  background: var(--rope);
}
.node-label {
  font-size: 12px;
  color: var(--bone-dim);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
.episodes-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  background: linear-gradient(180deg, #151816, #101312);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(107, 90, 58, 0.7);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 100%;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  overflow: hidden;
}
.episode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(0,0,0,0.16) 5px 6px);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}
.episode-card:hover {
  border-color: var(--soil);
  border-left-color: var(--rope);
  background: linear-gradient(180deg, #33291a, #241d12);
  transform: translateY(-2px);
}
.episode-card:hover::after { opacity: 1; }
.episode-title {
  font-size: 14.5px;
  color: var(--soil-pale);
  letter-spacing: 0.08em;
}
.episode-summary {
  font-size: 12px;
  color: var(--bone-dim);
  line-height: 1.7;
  flex: 1 1 auto;
}
.episode-duration {
  font-size: 11px;
  color: var(--ash-red-2);
  letter-spacing: 0.14em;
  border-top: 1px solid var(--line);
  padding-top: 5px;
  align-self: flex-start;
}
.rec-region {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.rec-title {
  font-size: 18px;
  color: var(--soil-pale);
  letter-spacing: 0.1em;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--rope);
}
.rec-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #111413;
  border: 1px solid var(--line);
  padding: 7px;
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.rec-item:hover {
  border-color: var(--soil);
  background: #191d1a;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.06) brightness(0.92);
  border: 1px solid rgba(201, 180, 131, 0.14);
}
.rec-name {
  font-family: "Songti SC", "STSong", serif;
  font-size: 13.5px;
  color: var(--bone);
  letter-spacing: 0.06em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.rec-blurb {
  font-size: 11px;
  color: var(--bone-dim);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.comments-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.comment-stack {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.comment-card {
  background: linear-gradient(180deg, #1a1d19, #121412);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(168, 53, 43, 0.55);
  padding: 12px 14px 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-stack .comment-card:nth-child(3n/**/+1) { transform: rotate(-1.1deg); }
.comment-stack .comment-card:nth-child(3n/**/+2) { transform: rotate(0.8deg) translateY(10px); }
.comment-stack .comment-card:nth-child(3n) { transform: rotate(-0.5deg) translateY(4px); }
.comment-text {
  font-size: 12.5px;
  color: var(--bone);
  line-height: 1.8;
}
.comment-author {
  font-size: 11px;
  color: var(--soil-pale);
  letter-spacing: 0.14em;
  border-top: 1px solid var(--line);
  padding-top: 6px;
  align-self: flex-start;
}
.comment-author::before {
  content: "— ";
  color: var(--ash-red-2);
}
.site-footer {
  background: #080a09;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  color: var(--bone-dim);
  line-height: 1.75;
  max-width: 70ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
a[data-contract="footer-home"] {
  color: var(--soil-pale);
  text-decoration: none;
  border-bottom: 1px solid var(--ash-red);
}
a[data-contract="footer-home"]:hover { color: #f0e2bd; }
a[data-contract="footer-sitemap"] {
  color: var(--bone-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--soil-pale);
  border-bottom-color: var(--line);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.friend-links-label {
  font-size: 11px;
  color: var(--soil-pale);
  letter-spacing: 0.16em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--bone-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(201, 180, 131, 0.3);
}
a.runtime-friend-link:hover {
  color: var(--soil-pale);
  border-bottom-color: var(--ash-red);
}
a[data-contract="site-name"] {
  color: var(--soil-pale);
  text-decoration: none;
}
a[data-contract="site-name"]:hover { color: #f0e2bd; }
a.runtime-category { color: var(--bone-dim); text-decoration: none; }
a.rec-item { color: var(--bone); text-decoration: none; }
@media (max-width: 1024px) {.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 860px) {.hero-grave {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }
.grave-layers { height: clamp(200px, 46vw, 300px); }
.movie-block { grid-template-columns: minmax(0, 1fr); }
.movie-poster-col { max-width: 220px; }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 640px) {body { font-size: 13.5px; }
.page-main { padding: 0 12px; }
.header-inner { padding: 8px 12px; }
.brand-link { font-size: 17px; }
.brand-note { font-size: 10px; }
.hero-grave { padding: 18px 0 16px; }
.hero-title { font-size: 26px; }
.hero-lead { font-size: 12.5px; }
.btn-play { padding: 7px 16px; font-size: 14px; }
.movie-block { gap: 16px; padding: 18px 0; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.comment-stack .comment-card:nth-child(n) { transform: none; }
.rec-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.ctrl-range { flex: 1 1 100%; }
.ctrl-range-volume { flex: 1 1 100%; }
.timeline-node { width: 168px; }}
@media (max-width: 400px) {.hero-actions { gap: 6px; }
.hero-meta-chip { font-size: 10px; }
.rec-list { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: 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}
