:root {
  --ink: #0d0907;
  --ink-2: #16100c;
  --ink-3: #1f1712;
  --wood: #241a13;
  --wood-line: #3a2a1e;
  --paper: #e8ddcb;
  --paper-dim: #b8ab97;
  --grey: #8a8072;
  --grey-dark: #5c5347;
  --bell-gold: #e6b552;
  --bell-gold-soft: #c9973a;
  --contract-red: #9e3b2a;
  --contract-red-bright: #c0452e;
  --rust: #7a3223;
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", serif;
  --serif-bold: "Songti SC", "SimSun", "Noto Serif CJK SC", "STSong", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(58, 42, 30, 0.16) 0px,
      rgba(58, 42, 30, 0.16) 1px,
      transparent 1px,
      transparent 7px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(20, 14, 10, 0.5) 0px,
      rgba(20, 14, 10, 0.5) 2px,
      transparent 2px,
      transparent 26px
    ),
    radial-gradient(120% 90% at 22% 4%, #221812 0%, #0d0907 62%, #070403 100%);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--paper-dim);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--serif-bold);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(13, 9, 7, 0.97) 0%, rgba(13, 9, 7, 0.9) 100%);
  border-bottom: 1px solid var(--wood-line);
  backdrop-filter: blur(4px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  padding: 9px 20px;
}
a[data-contract="site-name"] {
  font-family: var(--serif-bold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--bell-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="site-name"]:hover {
  color: var(--paper);
  border-bottom-color: var(--bell-gold-soft);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 12px;
  min-width: 0;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12px;
  color: var(--grey);
  text-decoration: none;
  padding: 1px 0;
  border-bottom: 1px solid transparent;
}
a.runtime-category:hover {
  color: var(--bell-gold);
  border-bottom-color: var(--rust);
}
.movie-page {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 30px;
}
.section-heading {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--bell-gold-soft);
  text-transform: none;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--wood-line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--rust);
  flex: none;
  transform: rotate(45deg);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  grid-template-areas:
    "portrait identity"
    "player   player"
    "cast     cast"
    "status   details"
    "synopsis synopsis";
  gap: 16px 26px;
  padding: 22px 0 26px;
  margin-bottom: 22px;
  background:
    linear-gradient(180deg, rgba(36, 26, 19, 0.72) 0%, rgba(13, 9, 7, 0) 100%);
  border-bottom: 1px solid var(--wood-line);
  border-top: none;
}
.hero-portrait {
  grid-area: portrait;
  align-self: start;
  position: relative;
  width: 100%;
  border: 1px solid var(--wood-line);
  background: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 14px 34px -18px rgba(0, 0, 0, 0.95);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 34% at 50% 42%, rgba(230, 181, 82, 0.16) 0%, rgba(230, 181, 82, 0) 70%),
    linear-gradient(180deg, rgba(13, 9, 7, 0) 55%, rgba(13, 9, 7, 0.72) 100%);
}
.poster-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  filter: saturate(0.92) contrast(1.04);
}
.hero-identity {
  grid-area: identity;
  align-self: start;
  min-width: 0;
  padding-top: 2px;
  border-left: 1px solid var(--wood-line);
  padding-left: 20px;
}
.movie-title {
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--paper);
  margin-bottom: 6px;
}
.movie-tagline {
  font-size: 13px;
  color: var(--contract-red-bright);
  letter-spacing: 0.06em;
  margin-bottom: 9px;
  padding-bottom: 9px;
  border-bottom: 1px dotted var(--wood-line);
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--paper-dim);
  max-width: 62ch;
  text-align: justify;
}
.hero-player {
  grid-area: player;
  position: relative;
  width: 100%;
  max-width: none;
  background: #050403;
  border: 1px solid var(--wood-line);
  border-left: 2px solid var(--rust);
  padding: 6px;
}
.hero-player video[data-contract="player"] {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 2px 2px;
  border-top: 1px solid var(--wood-line);
  margin-top: 6px;
}
.player-button {
  background: var(--ink-3);
  border: 1px solid var(--wood-line);
  color: var(--paper-dim);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  cursor: pointer;
  border-radius: 0;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.player-button:hover, .player-button:focus-visible {
  color: var(--bell-gold);
  border-color: var(--bell-gold-soft);
  background: #1a120c;
  outline: none;
}
.player-button.is-active {
  color: var(--ink);
  background: var(--bell-gold);
  border-color: var(--bell-gold);
}
.player-button.is-muted {
  color: var(--contract-red-bright);
  border-color: var(--rust);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  min-width: 0;
  flex: 1 1 90px;
  background: var(--wood-line);
  border-radius: 0;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 13px;
  background: var(--bell-gold);
  border: none;
  border-radius: 0;
}
.player-range::-moz-range-thumb {
  width: 9px;
  height: 13px;
  background: var(--bell-gold);
  border: none;
  border-radius: 0;
}
.player-range[data-player-action="progress"] {
  flex: 3 1 160px;
}
.player-speed {
  background: var(--ink-3);
  border: 1px solid var(--wood-line);
  color: var(--paper-dim);
  font-family: var(--sans);
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 0;
  cursor: pointer;
}
.player-speed:focus-visible {
  outline: 1px solid var(--bell-gold-soft);
}
.hero-player.is-theater {
  border-color: var(--bell-gold-soft);
  box-shadow: 0 0 0 1px rgba(230, 181, 82, 0.25), 0 22px 46px -22px rgba(0, 0, 0, 1);
}
.hero-player.lights-off {
  background: #000;
}
.hero-player.lights-off video[data-contract="player"] {
  filter: brightness(0.62) contrast(1.06);
}
.hero-cast {
  grid-area: cast;
  min-width: 0;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: flex-start;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(36, 26, 19, 0.6) 0%, rgba(20, 14, 10, 0.55) 100%);
  border: 1px solid var(--wood-line);
  border-top: 2px solid var(--rust);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.cast-card:hover {
  border-top-color: var(--bell-gold);
  background: linear-gradient(180deg, rgba(48, 34, 24, 0.72) 0%, rgba(24, 17, 12, 0.6) 100%);
}
.cast-name {
  font-family: var(--serif-bold);
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.05em;
}
.cast-role {
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 0.08em;
}
.hero-status {
  grid-area: status;
  align-self: start;
  min-width: 0;
}
.status-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--wood-line);
  background: rgba(22, 16, 12, 0.55);
}
.status-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(58, 42, 30, 0.6);
}
.status-item:last-child {
  border-bottom: none;
}
.status-key {
  font-size: 11.5px;
  color: var(--grey);
  letter-spacing: 0.1em;
}
.status-value {
  font-family: var(--serif-bold);
  font-size: 13px;
  font-weight: 700;
  color: var(--bell-gold);
  letter-spacing: 0.04em;
}
.hero-details {
  grid-area: details;
  align-self: start;
  min-width: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 18px;
  border-top: 1px solid var(--wood-line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(58, 42, 30, 0.75);
  min-width: 0;
}
.detail-key {
  flex: none;
  font-size: 11px;
  color: var(--grey-dark);
  letter-spacing: 0.12em;
}
.detail-key::after {
  content: "／";
  color: var(--wood-line);
  margin-left: 4px;
}
.detail-value {
  font-size: 12px;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
  min-width: 0;
  overflow-wrap: break-word;
}
.hero-synopsis {
  grid-area: synopsis;
  min-width: 0;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--paper-dim);
  text-align: justify;
  margin-bottom: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(58, 42, 30, 0.8);
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.timeline-section {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wood-line);
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 2px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px 62px minmax(0, 1fr);
  align-items: baseline;
  gap: 2px 10px;
  padding: 4px 0 4px 0;
  border-bottom: 1px solid rgba(42, 30, 21, 0.7);
}
.timeline-item:last-child {
  border-bottom: none;
}
.timeline-bell {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  background: var(--grey-dark);
  transform: translateY(-1px) rotate(45deg);
  flex: none;
}
.timeline-bell::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 200%;
  min-height: 22px;
  background: linear-gradient(180deg, var(--wood-line) 0%, rgba(58, 42, 30, 0) 100%);
  transform: translateX(-50%);
}
.timeline-item:last-child .timeline-bell::after {
  display: none;
}
.timeline-timecode {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  color: var(--paper-dim);
  line-height: 1.5;
  min-width: 0;
}
.timeline-item-active .timeline-bell {
  background: var(--contract-red-bright);
  box-shadow: 0 0 10px rgba(192, 69, 46, 0.55);
}
.timeline-item-active .timeline-timecode {
  color: var(--bell-gold);
}
.timeline-item-active .timeline-label {
  color: var(--paper);
  font-family: var(--serif-bold);
  font-weight: 700;
}
.episodes-section {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wood-line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  border-top: 1px solid var(--wood-line);
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num duration"
    "sum sum";
  align-items: baseline;
  gap: 0 10px;
  padding: 6px 2px 7px;
  border-bottom: 1px solid rgba(42, 30, 21, 0.8);
  min-width: 0;
  transition: background 0.16s ease;
}
.episode-card:hover {
  background: rgba(36, 26, 19, 0.5);
}
.episode-number {
  grid-area: num;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--contract-red-bright);
  white-space: nowrap;
  padding-top: 1px;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.03em;
  min-width: 0;
}
.episode-duration {
  grid-area: duration;
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--grey-dark);
  letter-spacing: 0.06em;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--grey);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.3s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 9em;
  opacity: 1;
  margin-top: 5px;
}
.comments-section {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--wood-line);
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
}
.comment-item {
  position: relative;
  padding: 8px 0 9px 14px;
  border-bottom: 1px solid rgba(42, 30, 21, 0.7);
  min-width: 0;
}
.comment-line {
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 1px;
  background: linear-gradient(180deg, var(--bell-gold-soft) 0%, var(--rust) 60%, rgba(122, 50, 35, 0) 100%);
}
.comment-line::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -1px;
  width: 7px;
  height: 7px;
  background: var(--bell-gold);
  transform: rotate(45deg);
}
.comment-nickname {
  display: block;
  font-family: var(--serif-bold);
  font-size: 12px;
  font-weight: 700;
  color: var(--bell-gold-soft);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: var(--paper-dim);
  text-align: justify;
}
.recommend-region {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(42, 30, 21, 0.8);
}
.recommend-heading {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--bell-gold-soft);
  padding-bottom: 5px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--wood-line);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
  align-self: start;
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding: 6px 6px 8px;
  background: linear-gradient(180deg, rgba(30, 21, 15, 0.62) 0%, rgba(16, 11, 8, 0.6) 100%);
  border: 1px solid var(--wood-line);
  color: var(--paper-dim);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}
a.recommend-link:hover, a.recommend-link:focus-visible {
  border-color: var(--bell-gold-soft);
  background: linear-gradient(180deg, rgba(44, 31, 22, 0.75) 0%, rgba(20, 14, 10, 0.7) 100%);
  outline: none;
}
[data-runtime="recommendation"] img, img.recommend-pic {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(58, 42, 30, 0.9);
  filter: saturate(0.88) contrast(1.05);
}
.recommend-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--bell-gold);
  padding: 1px 5px;
  line-height: 1.4;
}
.recommend-name {
  font-family: var(--serif-bold);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.03em;
  padding-left: 2px;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--grey);
  padding-left: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--wood-line);
  background: linear-gradient(180deg, rgba(20, 14, 10, 0.85) 0%, rgba(7, 4, 3, 0.95) 100%);
  padding: 16px 20px 26px;
  margin-top: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(42, 30, 21, 0.8);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif-bold);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--bell-gold);
  border-bottom-color: var(--bell-gold-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(42, 30, 21, 0.6);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grey-dark);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--grey);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted var(--wood-line);
}
a.runtime-friend-link:hover {
  color: var(--bell-gold);
  border-bottom-color: var(--bell-gold-soft);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--grey-dark);
  max-width: 72ch;
}
.player .change, .player .click, .player .input, .player .progress, .player .speed, .player .timeupdate, .player .volume, .player .play, .player .mute, .player .pip, .player .fullscreen, .player .theater, .player .light {
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.player.is-active, .player.play .is-active {
  color: var(--bell-gold);
}
.player.is-muted, .player.mute .is-muted {
  color: var(--contract-red-bright);
}
.player.is-theater {
  border-color: var(--bell-gold-soft);
}
.player.lights-off {
  background: #000;
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    grid-template-areas:
      "portrait identity"
      "player   player"
      "cast     cast"
      "status   status"
      "details  details"
      "synopsis synopsis";
    gap: 14px 20px;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.header-inner {
    padding: 8px 14px;
  }
.movie-page {
    padding: 0 14px 22px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "portrait"
      "identity"
      "player"
      "cast"
      "status"
      "details"
      "synopsis";
    gap: 14px;
    padding: 16px 0 20px;
  }
.hero-portrait {
    max-width: 190px;
  }
.hero-identity {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--wood-line);
    padding-top: 10px;
  }
.movie-title {
    font-size: 21px;
  }
.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.timeline-item {
    grid-template-columns: 16px 56px minmax(0, 1fr);
    gap: 2px 8px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.site-footer {
    padding: 14px 14px 22px;
  }}
@media (max-width: 420px) {.player-controls {
    gap: 4px;
  }
.player-range {
    flex: 1 1 70px;
  }
.player-range[data-player-action="progress"] {
    flex: 1 1 100%;
    order: -1;
  }}
@media (min-width: 1100px) {.recommend-list {
    grid-template-columns: repeat(3, 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}
