:root {
  --paper: #d9d0bd;
  --paper-deep: #c8bda6;
  --paper-ink: #2c2820;
  --paper-muted: #6b6355;
  --iron: #3a3f42;
  --iron-deep: #262a2c;
  --iron-light: #565c60;
  --dusk: #b08a52;
  --dusk-soft: #8f7346;
  --rule: rgba(44, 40, 32, 0.18);
  --rule-iron: rgba(214, 208, 195, 0.16);
  --surface: #cfc5b0;
  --surface-alt: #c4b9a2;
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 14px -8px rgba(30, 26, 20, 0.55);
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--paper-ink);
  background-color: #b7ac96;
  background-image:
    radial-gradient(120% 60% at 82% -10%, rgba(176, 138, 82, 0.30), rgba(176, 138, 82, 0) 60%),
    linear-gradient(180deg, #b9ae98 0%, #ada18a 45%, #a1957e 100%);
  background-attachment: fixed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(38, 42, 44, 0.96), rgba(38, 42, 44, 0.88));
  border-bottom: 1px solid var(--rule-iron);
  box-shadow: 0 8px 18px -14px rgba(0, 0, 0, 0.8);
}
.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"].site-logo {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.14em;
  color: #e6ddc8;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a[data-contract="site-name"].site-logo:hover {
  color: var(--dusk);
  border-bottom-color: var(--dusk-soft);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #bdb5a3;
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid rgba(214, 208, 195, 0.22);
  border-radius: 2px;
  background: rgba(214, 208, 195, 0.05);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-category:hover {
  color: #efe7d4;
  border-color: var(--dusk-soft);
  background: rgba(176, 138, 82, 0.18);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.iron-gate-hero {
  position: relative;
  background:
    linear-gradient(105deg, rgba(38, 42, 44, 0.94) 0%, rgba(38, 42, 44, 0.72) 38%, rgba(58, 63, 66, 0.35) 62%, rgba(176, 138, 82, 0.30) 100%),
    linear-gradient(180deg, #2f3436, #23262a);
  border: 1px solid rgba(214, 208, 195, 0.14);
  border-radius: 3px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.iron-gate-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  background: linear-gradient(90deg, rgba(176, 138, 82, 0) 0%, rgba(190, 150, 90, 0.34) 55%, rgba(214, 176, 112, 0.55) 100%);
  pointer-events: none;
}
.iron-gate-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--dusk-soft), rgba(176, 138, 82, 0.05));
  pointer-events: none;
}
.gate-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  align-items: start;
}
.gate-poster-column {
  align-self: start;
  min-width: 0;
}
.poster-image {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 2px;
  filter: sepia(0.34) saturate(0.78) contrast(1.02) brightness(0.94);
  box-shadow: 0 0 0 1px rgba(214, 208, 195, 0.18), 0 14px 26px -16px rgba(0, 0, 0, 0.85);
}
.gate-info-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: #ece3ce;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: #c3b596;
  max-width: 42em;
  padding-left: 10px;
  border-left: 2px solid rgba(176, 138, 82, 0.55);
}
.section-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #d8cdb4;
  padding-bottom: 4px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--rule-iron);
}
.cast-section {
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 5px;
  border: 1px solid rgba(214, 208, 195, 0.12);
  border-radius: 2px;
  background: rgba(214, 208, 195, 0.04);
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(236, 227, 206, 0.55), rgba(236, 227, 206, 0) 62%),
    linear-gradient(160deg, #6f6753, #494334 70%);
  box-shadow: inset 0 0 0 1px rgba(214, 208, 195, 0.35), 0 2px 5px -2px rgba(0, 0, 0, 0.7);
  filter: sepia(0.5) saturate(0.7);
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #d3c9b2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-section {
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(214, 208, 195, 0.16);
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.72;
  letter-spacing: 0.02em;
  color: #bdb3a0;
}
.episode-status-section {
  min-width: 0;
}
.status-line {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #d3b988;
  padding: 5px 9px;
  border: 1px dashed rgba(176, 138, 82, 0.5);
  border-radius: 2px;
  background: rgba(176, 138, 82, 0.10);
}
.details-section {
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(214, 208, 195, 0.14);
  min-width: 0;
}
.detail-key {
  flex: 0 0 62px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #8f8776;
}
.detail-value {
  margin: 0;
  min-width: 0;
  font-size: 12.5px;
  color: #d0c6ae;
}
.player-stage {
  position: relative;
  background: linear-gradient(180deg, #24282a, #1c1f21);
  border: 1px solid rgba(214, 208, 195, 0.12);
  border-radius: 3px;
  box-shadow: var(--shadow-soft);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-wrapper {
  width: 100%;
  min-width: 0;
  border-radius: 2px;
  overflow: hidden;
  background: #101214;
  box-shadow: 0 0 0 1px rgba(214, 208, 195, 0.10), 0 16px 30px -20px #000;
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d0f10;
  filter: saturate(0.92) contrast(1.02);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 4px 2px 0;
  border-top: 1px solid rgba(214, 208, 195, 0.10);
}
.control-button {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #beb5a3;
  background: rgba(214, 208, 195, 0.06);
  border: 1px solid rgba(214, 208, 195, 0.18);
  border-radius: 2px;
  padding: 4px 10px;
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.control-button:hover {
  color: #efe7d4;
  border-color: var(--dusk-soft);
  background: rgba(176, 138, 82, 0.20);
}
.control-button.is-active {
  color: #f0e6cf;
  border-color: var(--dusk);
  background: rgba(176, 138, 82, 0.30);
}
.control-progress, .control-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(214, 208, 195, 0.20);
  cursor: pointer;
  outline: none;
}
.control-progress {
  flex: 1 1 160px;
  min-width: 0;
}
.control-volume {
  flex: 0 1 110px;
  min-width: 80px;
}
.control-progress::-webkit-slider-thumb, .control-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dusk);
  border: 1px solid rgba(38, 42, 44, 0.8);
}
.control-progress::-moz-range-thumb, .control-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(38, 42, 44, 0.8);
  border-radius: 50%;
  background: var(--dusk);
}
.control-volume.is-active {
  background: rgba(176, 138, 82, 0.45);
}
.player-stage.is-theater {
  padding: 0;
}
.player-stage.is-theater .player-controls {
  padding: 8px 10px 6px;
}
body.is-lights-out {
  background-image: none;
  background-color: #14120f;
}
body.is-lights-out .page-main {
  opacity: 0.94;
}
.timeline-section {
  background: rgba(207, 197, 176, 0.30);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 12px 14px;
}
.timeline-section .section-heading {
  color: var(--paper-ink);
  border-bottom-color: var(--rule);
}
.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-left: 5px;
  padding-left: 18px;
  border-left: 1px solid rgba(44, 40, 32, 0.30);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 12px;
  padding: 7px 0;
  border-bottom: 1px dotted rgba(44, 40, 32, 0.16);
}
.timeline-node:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}
.timeline-dot {
  position: absolute;
  left: -23px;
  top: 13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-deep);
  box-shadow: 0 0 0 2px rgba(44, 40, 32, 0.45), 0 0 0 4px rgba(176, 138, 82, 0.22);
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dusk-soft);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--paper-ink);
  min-width: 0;
}
.episodes-section {
  background: rgba(207, 197, 176, 0.30);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 12px 14px;
}
.episodes-section .section-heading {
  color: var(--paper-ink);
  border-bottom-color: var(--rule);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px;
  background: linear-gradient(180deg, rgba(217, 208, 189, 0.72), rgba(197, 186, 163, 0.60));
  border: 1px solid rgba(44, 40, 32, 0.20);
  border-left: 2px solid rgba(176, 138, 82, 0.60);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22), 0 5px 12px -9px rgba(30, 26, 20, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
}
.episode-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--dusk);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 20px -12px rgba(30, 26, 20, 0.8);
}
.episode-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--paper-ink);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: var(--paper-muted);
}
.episode-duration {
  margin-top: 2px;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dusk-soft);
  padding: 1px 6px;
  border: 1px solid rgba(143, 115, 70, 0.45);
  border-radius: 2px;
  background: rgba(176, 138, 82, 0.12);
}
.comments-section {
  background: rgba(207, 197, 176, 0.30);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 12px 14px;
}
.comments-section .section-heading {
  color: var(--paper-ink);
  border-bottom-color: var(--rule);
}
.comment-wall {
  column-count: 2;
  column-gap: 10px;
}
.comment-sticker {
  display: block;
  break-inside: avoid;
  margin: 0 0 10px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(222, 214, 196, 0.82), rgba(202, 191, 168, 0.68));
  border: 1px solid rgba(44, 40, 32, 0.18);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24), 0 6px 14px -10px rgba(30, 26, 20, 0.7);
}
.comment-short {
  transform: rotate(-0.35deg);
}
.comment-long {
  transform: rotate(0.3deg);
}
.comment-sticker:nth-child(3n) {
  transform: rotate(-0.6deg);
}
.comment-sticker:nth-child(3n + 2) {
  transform: rotate(0.5deg);
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dusk-soft);
  margin-bottom: 3px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(44, 40, 32, 0.12);
}
.comment-text {
  font-size: 12px;
  line-height: 1.66;
  color: var(--paper-ink);
}
.recommend-region {
  background: rgba(207, 197, 176, 0.30);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 12px 14px;
  margin: 0;
}
.region-heading {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--paper-ink);
  padding-bottom: 4px;
  margin-bottom: 9px;
  border-bottom: 1px solid rgba(44, 40, 32, 0.28);
}
.region-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.region-rail::-webkit-scrollbar {
  height: 6px;
}
.region-rail::-webkit-scrollbar-thumb {
  background: rgba(44, 40, 32, 0.30);
  border-radius: 3px;
}
a.recommend-card {
  flex: 0 0 150px;
  width: 150px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: var(--paper-ink);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(217, 208, 189, 0.74), rgba(197, 186, 163, 0.60));
  border: 1px solid rgba(44, 40, 32, 0.20);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.20), 0 5px 12px -9px rgba(30, 26, 20, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.recommend-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 115, 70, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.26), 0 12px 20px -12px rgba(30, 26, 20, 0.8);
}
[data-runtime="recommendation"] img.recommend-poster, .recommend-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  filter: sepia(0.24) saturate(0.8) brightness(0.95);
  background: linear-gradient(160deg, #6f6753, #494334);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--paper-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--paper-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(38, 42, 44, 0.94), rgba(28, 31, 33, 0.98));
  border-top: 1px solid var(--rule-iron);
  color: #b3ab99;
}
.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a.footer-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #c3b596;
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a.footer-link:hover {
  color: var(--dusk);
  border-bottom-color: var(--dusk-soft);
}
a[data-contract="footer-home"] {
  color: #cfc4a8;
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: #a9a08c;
  text-decoration: none;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: #8c8474;
  max-width: 70em;
  padding-top: 8px;
  border-top: 1px solid rgba(214, 208, 195, 0.10);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #8f8776;
  padding-right: 6px;
  border-right: 1px solid rgba(214, 208, 195, 0.20);
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: #a9a08c;
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid rgba(214, 208, 195, 0.14);
  border-radius: 2px;
  background: rgba(214, 208, 195, 0.04);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: #e6ddc8;
  border-color: var(--dusk-soft);
  background: rgba(176, 138, 82, 0.16);
}
@media (max-width: 1024px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.gate-shell {
    grid-template-columns: minmax(0, 0.40fr) minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
.movie-title {
    font-size: 22px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    grid-template-columns: 84px minmax(0, 1fr);
  }}
@media (max-width: 620px) {.page-main {
    padding: 10px 10px 0;
    gap: 14px;
  }
.gate-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.gate-poster-column {
    max-width: 62%;
  }
.movie-title {
    font-size: 20px;
  }
.comment-wall {
    column-count: 1;
  }
.timeline-node {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 8px 0;
  }
.timeline-dot {
    top: 14px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-key {
    flex-basis: 56px;
  }
.player-controls {
    gap: 5px 6px;
  }
.control-button {
    padding: 4px 8px;
  }
a.recommend-card {
    flex: 0 0 132px;
    width: 132px;
  }
.footer-shell {
    padding: 12px 10px;
  }}
@media (max-width: 420px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  }
.gate-poster-column {
    max-width: 74%;
  }}

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}
