:root {
  --paper: #cfc8bd;
  --paper-deep: #b8b0a3;
  --ink: #1c1814;
  --ink-soft: #3a332b;
  --seal: #6e1b18;
  --seal-bright: #a32a22;
  --blood: #7d1f1a;
  --glow: #d9a441;
  --glow-soft: #b8862f;
  --line: rgba(28, 24, 20, 0.22);
  --line-strong: rgba(110, 27, 24, 0.45);
  --surface: rgba(24, 20, 16, 0.55);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Helvetica, Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #14110e;
  background-image:
    radial-gradient(circle at 78% 6%, rgba(125, 31, 26, 0.34), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(62, 16, 14, 0.42), transparent 52%),
    linear-gradient(168deg, #1a1613 0%, #100d0b 58%, #161210 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(207, 200, 189, 0.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 5px);
  mix-blend-mode: screen;
  opacity: 0.5;
}
img {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, ol, ul, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px clamp(12px, 3vw, 34px);
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 16, 13, 0.94), rgba(20, 16, 13, 0.6));
  backdrop-filter: blur(6px);
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(163, 42, 34, 0.55);
  padding-left: 0.5em;
  border-left: 3px solid var(--seal-bright);
}
a[data-contract="site-name"]:hover {
  color: var(--glow);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  color: var(--paper-deep);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(207, 200, 189, 0.04);
  transform: rotate(-0.6deg);
}
a.runtime-category:hover {
  color: var(--glow);
  border-color: var(--seal-bright);
  background: rgba(125, 31, 26, 0.22);
}
.page-main {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 26px) clamp(12px, 3vw, 30px) clamp(28px, 4vw, 52px);
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 30px);
  padding-bottom: clamp(26px, 5vw, 64px);
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(14px, 3vw, 34px);
  padding-bottom: clamp(10px, 2vw, 22px);
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, #241b17, #120f0d);
  padding: 6px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 18px 40px rgba(0, 0, 0, 0.55);
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(125, 31, 26, 0.34) 0%, transparent 42%),
    linear-gradient(0deg, rgba(12, 10, 9, 0.72) 0%, transparent 46%);
  mix-blend-mode: multiply;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  filter: contrast(1.06) saturate(0.92);
}
.hero-statement {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: start;
  min-width: 0;
  padding: clamp(8px, 1.6vw, 20px) 0 clamp(6px, 1.2vw, 14px) clamp(10px, 2vw, 26px);
  border-left: 1px solid var(--line-strong);
  writing-mode: vertical-rl;
  max-height: 100%;
}
.hero-statement::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: 46%;
  background: linear-gradient(180deg, var(--seal-bright), transparent);
}
.movie-title {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.08;
  color: var(--paper);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.9),
    0 0 22px rgba(163, 42, 34, 0.55);
}
.movie-tagline {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  letter-spacing: 0.22em;
  color: var(--seal-bright);
  text-shadow: 0 0 12px rgba(163, 42, 34, 0.4);
}
.movie-seo {
  writing-mode: vertical-rl;
  max-height: 22em;
  font-family: var(--sans);
  font-size: clamp(0.66rem, 0.95vw, 0.78rem);
  line-height: 1.85;
  letter-spacing: 0.08em;
  color: rgba(207, 200, 189, 0.72);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line-strong);
  background: #0b0908;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050404;
  object-fit: contain;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--seal-bright), 0 20px 60px rgba(125, 31, 26, 0.4);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .main-player {
  filter: brightness(0.72) contrast(1.08);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 24, 20, 0.95), rgba(14, 11, 10, 0.95));
}
.ctrl-btn {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  color: var(--paper-deep);
  border: 1px solid var(--line);
  background: rgba(207, 200, 189, 0.04);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--glow);
  border-color: var(--seal-bright);
}
.ctrl-btn.is-active, .ctrl-btn.click {
  color: var(--glow);
  border-color: var(--seal-bright);
  background: rgba(125, 31, 26, 0.34);
}
.ctrl-btn.is-muted, .ctrl-btn.mute {
  color: var(--seal-bright);
  border-color: var(--seal-bright);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--seal-bright);
  background: rgba(207, 200, 189, 0.16);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 4px;
  accent-color: var(--glow-soft);
  cursor: pointer;
}
.ctrl-speed {
  font-size: 0.72rem;
  padding: 3px 6px;
  color: var(--paper-deep);
  background: #16120f;
  border: 1px solid var(--line);
}
.player-shell .progress, .player-shell .volume, .player-shell .speed, .player-shell .timeupdate, .player-shell .play, .player-shell .player {
  transition: opacity 0.2s;
}
.player-shell .input, .player-shell .data-player-action {
  outline: none;
}
.player-shell .fullscreen {
  position: fixed;
  inset: 0;
  z-index: 999;
}
.player-shell .pip {
  z-index: 20;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 7px 12px;
  border-left: 3px solid var(--seal-bright);
  background: linear-gradient(90deg, rgba(125, 31, 26, 0.24), transparent 70%);
}
.status-current {
  font-family: var(--serif);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  color: var(--glow);
}
.status-total {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: rgba(207, 200, 189, 0.6);
}
.cast-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(207, 200, 189, 0.035);
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading {
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0.2em;
  color: var(--paper);
  padding-left: 0.7em;
  border-left: 3px solid var(--seal-bright);
}
.cast-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.cast-card {
  flex: 0 0 auto;
  min-width: 118px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-bottom: 2px solid rgba(110, 27, 24, 0.6);
  background: linear-gradient(180deg, rgba(207, 200, 189, 0.06), rgba(0, 0, 0, 0.18));
}
.cast-name {
  font-family: var(--serif);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  color: var(--paper);
  white-space: nowrap;
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(207, 200, 189, 0.035);
}
.synopsis-para {
  font-size: 0.84rem;
  line-height: 1.75;
  color: rgba(207, 200, 189, 0.82);
  text-indent: 2em;
}
.synopsis-para + .synopsis-para {
  border-top: 1px dashed var(--line);
  padding-top: 7px;
}
.details-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(207, 200, 189, 0.035);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 4px 14px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px dotted var(--line);
}
.detail-key {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: rgba(207, 200, 189, 0.55);
  white-space: nowrap;
}
.detail-value {
  font-family: var(--serif);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-align: right;
}
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(14px, 2.4vw, 26px) 0 clamp(16px, 2.6vw, 28px);
  border-top: 1px solid var(--line);
}
.timeline-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border-left: 1px solid var(--line-strong);
  margin-left: 6px;
  padding-left: 0;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 9px 12px 9px 26px;
  margin-left: 0;
  width: 100%;
  max-width: 780px;
  background: linear-gradient(90deg, rgba(207, 200, 189, 0.05), transparent 88%);
  border-bottom: 1px solid rgba(207, 200, 189, 0.08);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  width: 16px;
  height: 20px;
  transform: translateY(-50%) rotate(2deg);
  background: linear-gradient(150deg, #e6d9b4, #c9b478);
  box-shadow: 0 0 10px rgba(217, 164, 65, 0.55);
  clip-path: polygon(50% 0%, 100% 16%, 100% 84%, 50% 100%, 0% 84%, 0% 16%);
}
.timeline-timecode {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--glow);
  text-shadow: 0 0 10px rgba(217, 164, 65, 0.4);
}
.timeline-label {
  flex: 1 1 220px;
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(207, 200, 189, 0.84);
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(14px, 2.4vw, 26px) 0 clamp(16px, 2.6vw, 28px);
  border-top: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-left: 3px solid rgba(110, 27, 24, 0.7);
  background: linear-gradient(180deg, rgba(207, 200, 189, 0.05), rgba(0, 0, 0, 0.2));
}
.episode-card:hover {
  border-left-color: var(--seal-bright);
  background: linear-gradient(180deg, rgba(125, 31, 26, 0.22), rgba(0, 0, 0, 0.24));
}
.episode-number {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--seal-bright);
}
.episode-title {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
}
.episode-summary {
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(207, 200, 189, 0.68);
}
.episode-duration {
  margin-top: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(207, 200, 189, 0.45);
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(14px, 2.4vw, 26px) 0 clamp(16px, 2.6vw, 28px);
  border-top: 1px solid var(--line);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px 18px;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 4px 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(207, 200, 189, 0.05), rgba(0, 0, 0, 0.18));
}
.comment-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #f0d79a, var(--glow-soft));
  box-shadow: 0 0 8px rgba(217, 164, 65, 0.6);
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--glow);
  white-space: nowrap;
}
.comment-text {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  line-height: 1.68;
  color: rgba(207, 200, 189, 0.8);
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(12px, 2vw, 22px) 0;
  border-top: 1px solid var(--line);
}
.recommend-title {
  font-family: var(--serif);
  font-size: 0.94rem;
  letter-spacing: 0.2em;
  color: var(--paper);
  padding-left: 0.7em;
  border-left: 3px solid var(--seal-bright);
}
.region-2 .recommend-title {
  border-left-color: var(--glow-soft);
}
.region-3 .recommend-title {
  border-left-color: var(--blood);
}
.region-4 .recommend-title {
  border-left-color: rgba(207, 200, 189, 0.5);
}
.recommend-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: start;
  gap: 8px;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 7px;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(207, 200, 189, 0.05), rgba(0, 0, 0, 0.22));
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-item:hover {
  border-color: var(--seal-bright);
  background: linear-gradient(180deg, rgba(125, 31, 26, 0.26), rgba(0, 0, 0, 0.24));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.5);
  filter: saturate(0.9) contrast(1.04);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(207, 200, 189, 0.65);
}
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2.6vw, 30px) clamp(12px, 3vw, 30px) clamp(24px, 4vw, 46px);
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
}
.footer-disclaimer {
  font-size: 0.74rem;
  line-height: 1.72;
  color: rgba(207, 200, 189, 0.5);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--paper-deep);
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--glow);
  border-bottom-color: var(--seal-bright);
}
a[data-contract="footer-home"] {
  color: var(--glow-soft);
}
a[data-contract="footer-sitemap"] {
  color: rgba(207, 200, 189, 0.62);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: rgba(207, 200, 189, 0.45);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(207, 200, 189, 0.66);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--seal-bright);
  border-bottom-color: var(--seal-bright);
}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-wrap {
    max-width: 320px;
  }
.hero-statement {
    writing-mode: horizontal-tb;
    border-left: none;
    border-top: 1px solid var(--line-strong);
    padding: clamp(10px, 2vw, 18px) 0 0;
  }
.hero-statement::before {
    left: 0;
    top: -1px;
    width: 46%;
    height: 2px;
    background: linear-gradient(90deg, var(--seal-bright), transparent);
  }
.movie-title, .movie-tagline, .movie-seo {
    writing-mode: horizontal-tb;
  }
.movie-seo {
    max-height: none;
    border-top: 1px dashed var(--line);
    padding-top: 8px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 620px) {body {
    font-size: 13px;
  }
.site-header {
    gap: 8px;
  }
.hero-poster-wrap {
    max-width: 100%;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    flex-wrap: wrap;
    overflow-x: visible;
  }
.cast-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-strip {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.timeline-node {
    padding-left: 22px;
  }
.timeline-label {
    flex: 1 1 100%;
  }
.player-controls {
    gap: 5px 6px;
    padding: 7px 8px;
  }
.ctrl-progress {
    flex: 1 1 100%;
  }}
@media (max-width: 400px) {.cast-card {
    flex: 1 1 100%;
  }
.recommend-strip {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !important;
  }}

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}
