:root {
  --ink: #2b2f2c;
  --ink-soft: #4a514b;
  --ash: #6f7a72;
  --paper: #cfd2c6;
  --paper-deep: #b9bda9;
  --clay: #a8915f;
  --clay-deep: #7d6a3f;
  --candle: #a8342a;
  --candle-deep: #7a221b;
  --blood: #6e1d18;
  --rule: #8b9284;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 18% 12%, rgba(168, 145, 95, 0.16), transparent 56%),
    radial-gradient(ellipse at 82% 88%, rgba(110, 122, 108, 0.2), transparent 60%),
    repeating-linear-gradient(0deg, rgba(43, 47, 44, 0.028) 0 1px, transparent 1px 4px);
  background-attachment: fixed;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--clay-deep);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 8px clamp(12px, 3vw, 30px);
  background: rgba(207, 210, 198, 0.94);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(168, 145, 95, 0.35), 0 4px 12px rgba(43, 47, 44, 0.08);
}
.masthead-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  min-width: 0;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.masthead-ink {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ash);
  white-space: nowrap;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--rule);
  background: rgba(185, 189, 169, 0.4);
}
a.runtime-category:hover {
  color: var(--candle-deep);
  border-color: var(--candle);
  background: rgba(168, 52, 42, 0.07);
}
.page-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px clamp(10px, 2.6vw, 26px) 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 30px);
  align-items: start;
  padding-top: 6px;
}
.hero-figure {
  position: relative;
  align-self: start;
}
.poster-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink-soft);
  box-shadow:
    0 0 0 1px rgba(207, 210, 198, 0.6) inset,
    6px 7px 0 -3px rgba(110, 122, 108, 0.35),
    0 10px 26px rgba(43, 47, 44, 0.22);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(207, 210, 198, 0.28), transparent 42%),
    repeating-linear-gradient(96deg, rgba(43, 47, 44, 0.05) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
}
.main-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06);
}
.hero-candle {
  position: absolute;
  right: -6px;
  bottom: -10px;
  z-index: 3;
}
.candle-mark {
  display: block;
  padding: 5px 13px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #f2e6d8;
  background: var(--candle);
  border: 1px solid var(--candle-deep);
  box-shadow: 3px 3px 0 rgba(110, 29, 24, 0.35), 0 0 18px rgba(168, 52, 42, 0.4);
}
.hero-pillar-marks {
  position: absolute;
  top: 8px;
  right: -18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pillar-notch {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--ink-soft);
  box-shadow: 0 1px 0 rgba(207, 210, 198, 0.7);
  transform: skewX(-16deg);
}
.pillar-notch:nth-child(2n) {
  width: 10px;
  opacity: 0.7;
}
.pillar-notch:nth-child(3n) {
  width: 17px;
  opacity: 0.85;
}
.hero-legend {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: clamp(30px, 4.6vw, 52px);
  color: var(--ink);
  letter-spacing: 0.06em;
  text-shadow: 1px 1px 0 rgba(207, 210, 198, 0.9), 3px 3px 0 rgba(168, 145, 95, 0.28);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--candle-deep);
  border-left: 3px solid var(--candle);
  padding-left: 10px;
}
.movie-seo {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 62ch;
  text-align: justify;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-primary, .btn-ghost {
  padding: 7px 20px;
  font-size: 14px;
  letter-spacing: 0.14em;
  border: 1px solid var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary {
  color: #f1e7d6;
  background: var(--candle);
  border-color: var(--candle-deep);
  box-shadow: 2px 2px 0 rgba(110, 29, 24, 0.4);
}
.btn-primary:hover {
  background: var(--candle-deep);
}
.btn-ghost {
  color: var(--ink-soft);
  background: rgba(185, 189, 169, 0.42);
}
.btn-ghost:hover {
  color: var(--candle-deep);
  border-color: var(--candle);
  background: rgba(168, 52, 42, 0.08);
}
.cast-fragment, .synopsis-fragment, .episode-status-fragment, .details-fragment {
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.cast-heading, .synopsis-heading, .status-heading, .details-heading {
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--clay-deep);
  margin-bottom: 8px;
}
.cast-roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px 16px;
}
.cast-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0 3px 8px;
  border-left: 2px solid rgba(139, 146, 132, 0.55);
  min-width: 0;
}
.cast-name {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.cast-note {
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.synopsis-fragment .synopsis-para {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  margin-top: 6px;
}
.synopsis-para:nth-child(4) {
  color: var(--blood);
  font-weight: 500;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 4px 14px;
}
.status-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 8px;
  background: rgba(185, 189, 169, 0.34);
  border-bottom: 1px solid rgba(139, 146, 132, 0.5);
}
.status-key {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ash);
}
.status-value {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--candle-deep);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 20px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(139, 146, 132, 0.65);
}
.details-key {
  flex: 0 0 64px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ash);
}
.details-value {
  font-size: 13px;
  color: var(--ink-soft);
  min-width: 0;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--ink-soft);
  background: #10130f;
  box-shadow: 5px 6px 0 -2px rgba(110, 122, 108, 0.4), 0 12px 28px rgba(43, 47, 44, 0.24);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #10130f;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ctrl {
  padding: 4px 13px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  background: rgba(185, 189, 169, 0.4);
  border: 1px solid var(--rule);
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.ctrl:hover {
  color: var(--candle-deep);
  border-color: var(--candle);
}
.ctrl.is-active {
  color: #f1e7d6;
  background: var(--candle);
  border-color: var(--candle-deep);
}
.player-shell.is-theater .player-frame {
  box-shadow: 0 0 0 4px rgba(168, 52, 42, 0.28), 0 18px 40px rgba(16, 19, 15, 0.5);
}
.player-shell.is-lights-off {
  filter: brightness(0.72) contrast(1.08);
}
.timeline-shell {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.timeline-heading {
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--clay-deep);
  margin-bottom: 12px;
}
.timeline-ridge {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 16px;
  scrollbar-color: var(--rule) transparent;
}
.timeline-ridge::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink-soft) 0 9px, transparent 9px 15px);
  opacity: 0.6;
  pointer-events: none;
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: max-content;
  padding: 0 4px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 190px;
  padding: 9px 11px;
  background: rgba(207, 210, 198, 0.92);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--clay-deep);
  box-shadow: 3px 3px 0 rgba(110, 122, 108, 0.3);
}
.timeline-node:nth-child(2n) {
  transform: translateY(-24px);
  border-left-color: var(--candle);
}
.timeline-node:nth-child(3n) {
  transform: translateY(20px);
  border-left-color: var(--ash);
}
.timeline-node:nth-child(4n) {
  transform: translateY(-12px);
}
.node-time {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--candle-deep);
  margin-bottom: 3px;
}
.node-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.episodes-shell {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.episodes-heading {
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--clay-deep);
  margin-bottom: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-cell {
  position: relative;
  padding: 10px 11px 12px 34px;
  background: rgba(185, 189, 169, 0.3);
  border: 1px solid rgba(139, 146, 132, 0.6);
  min-width: 0;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.episode-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(118deg, rgba(43, 47, 44, 0.04) 0 1px, transparent 1px 9px);
}
.episode-cell:hover {
  background: rgba(168, 145, 95, 0.16);
  border-color: var(--clay-deep);
  box-shadow: 3px 3px 0 rgba(125, 106, 63, 0.3);
}
.episode-number {
  position: absolute;
  left: 8px;
  top: 8px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--clay-deep);
  opacity: 0.75;
}
.episode-title {
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 3px;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ash);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.28s ease, margin 0.28s ease;
}
.episode-cell:hover .episode-summary, .episode-cell:focus-within .episode-summary {
  max-height: 9em;
  opacity: 1;
  margin-bottom: 5px;
}
.episode-duration {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--clay-deep);
  border-top: 1px dotted rgba(139, 146, 132, 0.7);
  padding-top: 3px;
  margin-top: 4px;
}
.comments-shell {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.comments-heading {
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--clay-deep);
  margin-bottom: 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px 14px;
  align-items: start;
}
.comment-card {
  position: relative;
  padding: 11px 13px 12px;
  background: rgba(207, 210, 198, 0.92);
  border: 1px solid rgba(139, 146, 132, 0.7);
  box-shadow: 4px 5px 0 -1px rgba(110, 122, 108, 0.32);
  clip-path: polygon(
    0 2px, 6% 0, 18% 3px, 32% 0, 47% 3px, 61% 0, 76% 3px, 90% 0, 100% 3px,
    100% calc(100% - 3px), 88% 100%, 74% calc(100% - 3px), 58% 100%, 42% calc(100% - 3px),
    27% 100%, 12% calc(100% - 3px), 0 100%
  );
}
.comment-card:nth-child(2n) {
  transform: rotate(-0.7deg) translateY(3px);
}
.comment-card:nth-child(3n) {
  transform: rotate(0.6deg) translateY(-2px);
}
.comment-card:nth-child(5n) {
  transform: rotate(-0.4deg) translateY(5px);
}
.comment-text {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--candle-deep);
  text-align: right;
  border-top: 1px solid rgba(139, 146, 132, 0.55);
  padding-top: 4px;
}
.comment-nickname::before {
  content: "—— ";
  color: var(--ash);
}
.rec-shelf {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 18px;
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.rec-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--clay-deep);
  padding: 4px 0;
  border-right: 2px solid var(--candle);
  align-self: stretch;
  max-height: 340px;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(185, 189, 169, 0.34);
  border: 1px solid rgba(139, 146, 132, 0.65);
  min-width: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
a.rec-card:hover {
  transform: translateY(-2px);
  border-color: var(--candle);
  box-shadow: 3px 4px 0 rgba(168, 52, 42, 0.28);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.05);
  border: 1px solid rgba(43, 47, 44, 0.35);
}
.rec-name {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ash);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 8px;
  padding: 16px clamp(12px, 3vw, 30px) 26px;
  background: rgba(43, 47, 44, 0.9);
  color: rgba(207, 210, 198, 0.85);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.14em;
  color: rgba(207, 210, 198, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(207, 210, 198, 0.35);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e8c9a0;
  border-bottom-color: #e8c9a0;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(207, 210, 198, 0.22);
}
.friend-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(168, 145, 95, 0.9);
}
a.runtime-friend-link {
  font-size: 12px;
  color: rgba(207, 210, 198, 0.72);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #e8c9a0;
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(207, 210, 198, 0.55);
  max-width: 88ch;
}
.player-shell.is-theater .main-player {
  object-fit: contain;
}
.player-shell.is-lights-off .ctrl {
  border-color: rgba(168, 52, 42, 0.5);
}
@media (max-width: 1080px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-figure {
    max-width: 300px;
  }
.hero-pillar-marks {
    right: auto;
    left: -6px;
    top: 6px;
  }
.rec-shelf {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.rec-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height: none;
    border-right: 0;
    border-left: 3px solid var(--candle);
    padding: 2px 0 2px 9px;
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.page-main {
    gap: 16px;
    padding: 10px 12px 28px;
  }
.masthead-ink {
    white-space: normal;
  }
.movie-title {
    font-size: 28px;
  }
.cast-roster {
    grid-template-columns: minmax(0, 1fr);
  }
.status-list, .details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: 9em;
    opacity: 1;
    margin-bottom: 5px;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(2n), .comment-card:nth-child(3n), .comment-card:nth-child(5n) {
    transform: none;
  }
.timeline-node {
    width: 168px;
  }
.timeline-node:nth-child(2n), .timeline-node:nth-child(3n), .timeline-node:nth-child(4n) {
    transform: none;
  }
.rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 420px) {.hero-figure {
    max-width: 100%;
  }
.ctrl {
    padding: 4px 10px;
    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}
