:root {
  --clay-dark: #2a1d16;
  --clay: #3d2a20;
  --clay-mid: #5a3d2b;
  --clay-light: #7a5638;
  --clay-pale: #9c7350;
  --paper: #e8dcc4;
  --paper-dim: #cbbd9f;
  --paper-deep: #b3a281;
  --ember: #c9512a;
  --ember-bright: #e06a35;
  --ink: #1a120c;
  --text: #d8c9ac;
  --text-dim: #a89575;
  --rule: rgba(200, 175, 135, 0.18);
  --song: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  --fang: "FangSong", "STFangsong", "Noto Serif CJK SC", serif;
  --hand: "Kaiti SC", "STKaiti", "KaiTi", cursive;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--clay-dark);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--song);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(120% 60% at 80% -5%, rgba(201, 81, 42, 0.14), transparent 62%),
    radial-gradient(90% 50% at 0% 100%, rgba(122, 86, 56, 0.16), transparent 60%),
    var(--clay-dark);
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(26, 18, 12, 0.96), rgba(26, 18, 12, 0.82));
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 9px clamp(12px, 3vw, 30px);
}
a[data-contract="site-name"].brand-mark {
  font-family: var(--fang);
  font-size: 22px;
  letter-spacing: 0.24em;
  color: var(--paper);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(201, 81, 42, 0.35);
  padding-left: 2px;
  border-left: 3px solid var(--ember);
}
a[data-contract="site-name"].brand-mark:hover {
  color: var(--ember-bright);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
  max-width: 100%;
}
a.runtime-category {
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 2px 12px 12px 2px;
  background: rgba(90, 61, 43, 0.28);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--ember);
  border-color: var(--ember);
  text-decoration: none;
}
.page-main {
  display: block;
  padding: clamp(14px, 2.4vw, 26px) clamp(12px, 3vw, 30px) 0;
  max-width: 1500px;
  margin: 0 auto;
}
.section-heading {
  font-family: var(--fang);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--paper-deep);
  margin-bottom: 8px;
  padding-left: 10px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  background: var(--ember);
  border-radius: 2px;
}
.movie-overview {
  position: relative;
  background:
    linear-gradient(160deg, rgba(90, 61, 43, 0.5), rgba(42, 29, 22, 0.72) 62%),
    var(--clay);
  border: 1px solid rgba(200, 175, 135, 0.14);
  border-radius: 4px 34px 4px 34px;
  padding: clamp(14px, 2vw, 24px);
  margin-bottom: 20px;
  overflow: hidden;
}
.movie-overview::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(201, 81, 42, 0.22);
  pointer-events: none;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.2vw, 26px);
  align-items: start;
}
.poster-column {
  align-self: start;
}
.poster-frame {
  position: relative;
  margin: 0;
  width: min(100%, 300px);
  border-radius: 3px 26px 3px 26px;
  overflow: hidden;
  border: 1px solid rgba(232, 220, 196, 0.22);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}
.poster-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: var(--fang);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-align: center;
  color: var(--paper);
  padding: 8px 6px 7px;
  background: linear-gradient(180deg, transparent, rgba(26, 18, 12, 0.88));
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.title-block {
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 12px;
}
.movie-title {
  font-family: var(--fang);
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 0.16em;
  color: var(--paper);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), 0 0 24px rgba(201, 81, 42, 0.22);
  margin-bottom: 4px;
}
.movie-tagline {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ember-bright);
  margin-bottom: 8px;
}
.movie-seo {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--text-dim);
  max-width: 62ch;
}
.cast-strip {
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 12px;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.cast-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  text-align: center;
}
.cast-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(232, 220, 196, 0.28), transparent 58%),
    linear-gradient(150deg, var(--clay-mid), var(--clay-dark));
  border: 1px solid rgba(200, 175, 135, 0.28);
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.45);
  margin-bottom: 4px;
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  white-space: nowrap;
}
.cast-role {
  font-family: var(--hand);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--clay-pale);
  white-space: nowrap;
}
.synopsis-block {
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 12px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 20px;
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.64;
  color: var(--text);
  text-indent: 2em;
}
.synopsis-paragraph::first-letter {
  color: var(--ember-bright);
}
.episode-status {
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 12px;
}
.status-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--fang);
  letter-spacing: 0.08em;
}
.status-current {
  font-size: 20px;
  color: var(--ember-bright);
  text-shadow: 0 0 16px rgba(224, 106, 53, 0.4);
}
.status-divider {
  color: var(--clay-pale);
}
.status-total {
  font-size: 15px;
  color: var(--text-dim);
}
.details-panel {
  padding-bottom: 2px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(200, 175, 135, 0.14);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--clay-pale);
}
.detail-key::after {
  content: "·";
  margin-left: 6px;
  color: var(--rule);
}
.detail-value {
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--text);
  min-width: 0;
}
.player-shell {
  position: relative;
  margin-top: 18px;
  width: 100%;
  border-radius: 3px 22px 3px 22px;
  overflow: hidden;
  background: #0e0906;
  border: 1px solid rgba(200, 175, 135, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(42, 29, 22, 0.94), rgba(26, 18, 12, 0.98));
  border-top: 1px solid var(--rule);
}
.ctrl-btn {
  font-family: var(--song);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  background: rgba(90, 61, 43, 0.42);
  border: 1px solid rgba(200, 175, 135, 0.22);
  border-radius: 2px 10px 10px 2px;
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.ctrl-btn:hover {
  color: var(--paper);
  border-color: var(--ember);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing {
  background: var(--ember);
  border-color: var(--ember-bright);
  color: var(--ink);
}
.ctrl-btn.is-muted {
  background: rgba(201, 81, 42, 0.28);
  border-color: rgba(201, 81, 42, 0.6);
  color: var(--ember-bright);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 120px;
  min-width: 0;
  background: rgba(200, 175, 135, 0.2);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range[data-player-action="volume"] {
  flex: 0 1 90px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ember-bright);
  border: 1px solid var(--ink);
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ember-bright);
}
.player-shell.theater-mode {
  width: 100%;
  margin-left: 0;
  border-radius: 0;
}
.player-shell.lights-off {
  background: #000;
}
.player-shell.lights-off .player-controls {
  opacity: 0.35;
}
.player-shell.lights-off .player-controls:hover {
  opacity: 1;
}
.player-shell:fullscreen {
  border-radius: 0;
}
.timeline-section {
  margin-bottom: 20px;
  padding: clamp(12px, 1.8vw, 20px);
  background:
    linear-gradient(120deg, rgba(90, 61, 43, 0.32), rgba(42, 29, 22, 0.5));
  border: 1px solid var(--rule);
  border-radius: 3px 26px 3px 26px;
}
.timeline-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  align-items: stretch;
  position: relative;
  padding-top: 6px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--clay-pale) 0 6px, transparent 6px 12px);
  opacity: 0.4;
  pointer-events: none;
}
.timeline-node {
  position: relative;
  flex: 1 1 150px;
  min-width: 0;
  padding: 8px 10px 9px;
  background: rgba(61, 42, 32, 0.86);
  border: 1px solid rgba(200, 175, 135, 0.2);
  border-radius: 2px 14px 2px 14px;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 92% 100%, 0 100%);
}
.timeline-node::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay-pale);
  opacity: 0.7;
}
.node-timecode {
  display: block;
  font-family: var(--fang);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--clay-pale);
  margin-bottom: 3px;
}
.node-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.42;
  color: var(--text);
}
.timeline-node-current {
  background: linear-gradient(160deg, rgba(224, 106, 53, 0.92), rgba(201, 81, 42, 0.86));
  border-color: var(--ember-bright);
  box-shadow: 0 0 22px rgba(224, 106, 53, 0.35);
}
.timeline-node-current .node-timecode {
  color: rgba(26, 18, 12, 0.72);
}
.timeline-node-current .node-label {
  color: var(--ink);
  font-weight: 600;
}
.timeline-node-current::after {
  background: var(--ink);
  opacity: 0.85;
}
.episodes-section {
  margin-bottom: 20px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px 10px;
  background: rgba(61, 42, 32, 0.62);
  border: 1px solid rgba(200, 175, 135, 0.16);
  border-radius: 2px 16px 2px 16px;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  overflow: hidden;
}
.episode-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--clay-light);
  opacity: 0.6;
}
.episode-card:hover {
  background: rgba(90, 61, 43, 0.7);
  border-color: rgba(224, 106, 53, 0.55);
  transform: translateY(-1px);
}
.episode-number {
  font-family: var(--fang);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--clay-pale);
}
.episode-title {
  font-family: var(--fang);
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--paper);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.46;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ember-bright);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  max-height: 24px;
  opacity: 1;
  margin-top: 2px;
}
.episode-card-current {
  background: linear-gradient(150deg, rgba(224, 106, 53, 0.28), rgba(61, 42, 32, 0.72));
  border-color: var(--ember);
  box-shadow: 0 0 18px rgba(224, 106, 53, 0.22);
}
.episode-card-current::before {
  background: var(--ember-bright);
  opacity: 1;
}
.episode-card-current .episode-number {
  color: var(--ember-bright);
}
.episode-card-current .episode-duration {
  max-height: 24px;
  opacity: 1;
  margin-top: 2px;
}
.comments-section {
  margin-bottom: 20px;
}
.comments-wall {
  columns: 2;
  column-gap: 14px;
}
.comment-note {
  break-inside: avoid;
  margin-bottom: 12px;
  padding: 10px 12px 9px;
  background: linear-gradient(168deg, rgba(232, 220, 196, 0.94), rgba(203, 189, 159, 0.86));
  color: var(--ink);
  border-radius: 2px 12px 3px 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.34);
  transform: rotate(-0.5deg);
}
.comment-note:nth-child(even) {
  transform: rotate(0.6deg);
  background: linear-gradient(168deg, rgba(224, 210, 182, 0.94), rgba(180, 163, 130, 0.86));
}
.comment-text {
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 6px;
}
.comment-nickname {
  font-family: var(--hand);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--clay-mid);
  text-align: right;
}
.comment-nickname::before {
  content: "— ";
  color: var(--ember);
}
.recommend-region {
  margin-bottom: 16px;
  padding: clamp(10px, 1.6vw, 16px);
  border-radius: 3px 22px 3px 22px;
  border: 1px solid var(--rule);
}
.region-one {
  background: linear-gradient(120deg, rgba(90, 61, 43, 0.5), rgba(42, 29, 22, 0.55));
}
.region-two {
  background: linear-gradient(120deg, rgba(122, 86, 56, 0.42), rgba(42, 29, 22, 0.55));
}
.region-three {
  background: linear-gradient(120deg, rgba(61, 42, 32, 0.62), rgba(26, 18, 12, 0.58));
}
.region-four {
  background: linear-gradient(120deg, rgba(156, 115, 80, 0.32), rgba(42, 29, 22, 0.55));
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(26, 18, 12, 0.55);
  border: 1px solid rgba(200, 175, 135, 0.16);
  border-radius: 2px 14px 2px 14px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.recommend-card:hover {
  border-color: var(--ember);
  background: rgba(61, 42, 32, 0.72);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img.recommend-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px 10px 2px 10px;
  filter: saturate(0.88) brightness(0.94);
}
.recommend-name {
  font-family: var(--fang);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 12px;
  line-height: 1.46;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 24px;
  background: linear-gradient(180deg, rgba(26, 18, 12, 0.9), rgba(20, 13, 8, 0.98));
  border-top: 1px solid var(--rule);
}
.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 16px clamp(12px, 3vw, 30px) 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 86ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a.footer-link[data-contract="footer-home"] {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a.footer-link[data-contract="footer-home"]:hover {
  color: var(--paper);
  border-bottom-color: var(--ember);
}
a.footer-link[data-contract="footer-sitemap"] {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--clay-pale);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a.footer-link[data-contract="footer-sitemap"]:hover {
  color: var(--ember-bright);
  border-bottom-color: var(--ember-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  border-top: 1px dashed var(--rule);
  padding-top: 10px;
}
.friend-links-label {
  font-family: var(--fang);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--clay-pale);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--ember-bright);
  text-decoration: underline;
  text-decoration-style: dotted;
}
@media (min-width: 700px) {.overview-grid {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  }
.poster-frame {
    width: 100%;
  }}
@media (min-width: 980px) {.overview-grid {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    flex: 1 1 0;
  }}
@media (max-width: 720px) {.comments-wall {
    columns: 1;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node {
    flex: 1 1 46%;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.cast-chip {
    width: 64px;
  }
.cast-avatar {
    width: 52px;
    height: 52px;
  }}
@media (max-width: 460px) {.timeline-node {
    flex: 1 1 100%;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.movie-title {
    letter-spacing: 0.1em;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: 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}
