:root {
  --iron: #2b2b2c;
  --iron-deep: #1a1918;
  --iron-soft: #3a3937;
  --ochre: #6b4a2f;
  --ochre-light: #8c6440;
  --blood: #6e1f22;
  --blood-deep: #4a1417;
  --marble: #cfc6b8;
  --marble-dim: #a89e8e;
  --ash: #8a8278;
  --line: rgba(207, 198, 184, 0.14);
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--iron-deep);
  color: var(--marble);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
}
::selection {
  background: var(--blood);
  color: var(--marble);
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 18px;
  background: linear-gradient(180deg, #232221 0%, #1c1b1a 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.55);
}
.site-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--marble);
  text-decoration: none;
  border-left: 3px solid var(--blood);
  padding-left: 8px;
  line-height: 1.2;
}
a[data-contract="site-name"]:hover {
  color: #e6ded0;
}
.site-tagline {
  font-size: 11px;
  color: var(--ash);
  letter-spacing: 0.24em;
  padding-left: 11px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 11px;
  color: var(--marble-dim);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 1px;
}
a.runtime-category:hover {
  color: var(--marble);
  background: var(--ochre);
  border-color: var(--ochre-light);
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 8px;
}
.hero-shell {
  position: relative;
  margin-top: 12px;
  padding: 0;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(110, 31, 34, 0.28) 0%, rgba(26, 25, 24, 0) 62%),
    linear-gradient(180deg, #33312f 0%, #262424 46%, #1b1a19 100%);
  border: 1px solid var(--line);
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.09) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.hero-figures {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.figure-left, .figure-right {
  position: absolute;
  bottom: -6%;
  width: 30%;
  height: 88%;
  background: linear-gradient(180deg, rgba(10, 9, 9, 0.94) 0%, rgba(10, 9, 9, 0.72) 62%, rgba(10, 9, 9, 0) 100%);
  filter: blur(1px);
}
.figure-left {
  left: 2%;
  border-radius: 46% 42% 0 0 / 30% 34% 0 0;
  transform: rotate(-3deg);
}
.figure-right {
  right: 2%;
  border-radius: 42% 46% 0 0 / 34% 30% 0 0;
  transform: rotate(3deg);
}
.hero-flag {
  position: absolute;
  top: -4%;
  left: 50%;
  width: 132px;
  height: 190px;
  transform: translateX(-50%) skewY(-2deg);
  background: linear-gradient(200deg, var(--blood) 0%, var(--blood-deep) 58%, rgba(74, 20, 23, 0.25) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%);
  opacity: 0.72;
  filter: blur(0.4px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 20px 16px;
}
.poster-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.poster-frame {
  margin: 0;
  padding: 4px;
  background: linear-gradient(160deg, #4a463f 0%, #2c2a27 100%);
  border: 1px solid rgba(207, 198, 184, 0.2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.86) contrast(1.04);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: #e3dbcd;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--blood);
  color: #b9787a;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.player-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid rgba(207, 198, 184, 0.22);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 3px var(--blood), 0 0 42px rgba(110, 31, 34, 0.5);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 7px;
  background: linear-gradient(180deg, #302e2b 0%, #232120 100%);
  border: 1px solid var(--line);
}
.player-btn {
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--marble-dim);
  background: #2e2c29;
  border: 1px solid rgba(207, 198, 184, 0.18);
  border-radius: 1px;
  cursor: pointer;
  white-space: nowrap;
}
.player-btn:hover {
  color: #f0e8da;
  border-color: var(--ochre-light);
  background: #3a352f;
}
.player-btn.is-active, .player-btn.is-playing {
  color: #f3ece0;
  background: var(--blood);
  border-color: #8a2b2f;
}
.player-btn.is-muted {
  color: var(--ash);
  border-style: dashed;
  background: #262422;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  background: #4a453e;
  border-radius: 0;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--ochre-light);
  border: 1px solid #231f1b;
  border-radius: 0;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--ochre-light);
  border: 1px solid #231f1b;
  border-radius: 0;
}
.player-select {
  padding: 4px 6px;
  font-size: 12px;
  color: var(--marble-dim);
  background: #2e2c29;
  border: 1px solid rgba(207, 198, 184, 0.18);
  border-radius: 1px;
  cursor: pointer;
}
.player-select.is-active {
  border-color: var(--ochre-light);
  color: #f0e8da;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  color: var(--marble-dim);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--line);
  border-left: 2px solid var(--ochre);
}
.overview-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  align-items: start;
  padding: 4px 20px 20px;
}
.panel-heading {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #d8cfc0;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.panel-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--blood);
}
.synopsis-panel, .cast-panel, .details-panel {
  min-width: 0;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  color: var(--marble-dim);
  text-align: justify;
  margin-bottom: 7px;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.synopsis-paragraph:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  float: left;
  margin: 2px 6px 0 0;
  color: var(--blood);
  color: #b9787a;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px 6px;
  align-items: start;
}
.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(60% 46% at 50% 30%, rgba(207, 198, 184, 0.22) 0%, rgba(207, 198, 184, 0) 72%),
    linear-gradient(160deg, #46423b 0%, #2a2825 100%);
  border: 1px solid rgba(207, 198, 184, 0.18);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  filter: saturate(0.7);
}
.cast-name {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #d8cfc0;
  line-height: 1.3;
}
.cast-role {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ash);
  line-height: 1.3;
}
.details-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(207, 198, 184, 0.1);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-key {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ash);
  flex: 0 0 auto;
}
.detail-value {
  font-size: 12px;
  color: #d3cabb;
  text-align: right;
  flex: 0 1 auto;
  min-width: 0;
}
.section-heading {
  font-size: 15px;
  letter-spacing: 0.24em;
  color: #d8cfc0;
  margin: 18px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--blood);
  line-height: 1.3;
}
.timeline-section {
  margin-top: 4px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px 6px;
  align-items: start;
  position: relative;
  padding-top: 8px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ochre) 6%, var(--ochre) 94%, transparent);
  opacity: 0.5;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  text-align: center;
}
.node-shield {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 26px;
  background: linear-gradient(180deg, var(--ochre-light) 0%, var(--ochre) 55%, #4d3520 100%);
  clip-path: polygon(50% 0, 100% 14%, 100% 62%, 50% 100%, 0 62%, 0 14%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.node-timecode {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #d8cfc0;
  white-space: nowrap;
}
.node-label {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ash);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: 116px;
  overflow: hidden;
  letter-spacing: 0.06em;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 9px 11px 10px;
  background: linear-gradient(180deg, #2c2a27 0%, #242220 100%);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ochre);
  border-radius: 1px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-top-color: var(--blood);
  background: linear-gradient(180deg, #333029 0%, #262421 100%);
}
.episode-number {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #b9787a;
}
.episode-title {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #e0d8c9;
  line-height: 1.3;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ash);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: var(--marble-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 130px;
  opacity: 1;
  margin-top: 3px;
}
.comment-columns {
  columns: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 9px 11px;
  background: linear-gradient(180deg, #2a2825 0%, #232120 100%);
  border: 1px solid var(--line);
  border-left: 2px solid var(--ochre);
  border-radius: 1px;
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #b9787a;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--marble-dim);
}
.recommend-region {
  margin-top: 16px;
}
.recommend-title {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: #d8cfc0;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}
.recommend-strips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
  display: flex;
}
.recommend-item a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  min-width: 0;
  padding: 7px;
  background: linear-gradient(180deg, #2b2926 0%, #222120 100%);
  border: 1px solid var(--line);
  border-radius: 1px;
  color: var(--marble-dim);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.recommend-item a[data-runtime="recommendation"]:hover {
  border-color: var(--ochre-light);
  transform: translateY(-1px);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #1a1918;
  filter: saturate(0.82) contrast(1.03);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: #ddd4c5;
  line-height: 1.35;
  display: block;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ash);
  display: block;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  padding: 14px 18px 20px;
  background: linear-gradient(180deg, #1e1d1c 0%, #141312 100%);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ash);
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--marble-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e6ded0;
  border-bottom-color: var(--blood);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ochre-light);
  padding-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ash);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #d8cfc0;
  text-decoration: underline;
}
.player .is-active, .player-btn.is-active {
  border-color: var(--ochre-light);
}
.play.is-playing {
  color: #f3ece0;
}
.pause, .mute, .volume, .speed, .progress, .timeupdate, .input, .click, .change {
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player-btn.fullscreen.is-active, .player-btn.pip.is-active, .player-btn.theater.is-active, .player-btn.light.is-active {
  background: var(--blood);
  color: #f3ece0;
}
.mute.is-muted {
  border-style: dashed;
}
body.lights-off {
  background: #0d0c0c;
}
body.lights-off .hero-backdrop {
  filter: brightness(0.42) saturate(0.7);
}
body.lights-off .player-shell {
  box-shadow: 0 0 46px rgba(110, 31, 34, 0.6);
}
@media (max-width: 1080px) {.overview-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
.details-panel {
    grid-column: 1 / -1;
  }
.details-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
  }
.timeline-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
  }
.timeline-track::before {
    display: none;
  }
.node-label {
    writing-mode: horizontal-tb;
    max-height: none;
    overflow: visible;
  }}
@media (max-width: 860px) {.hero-content {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-strips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.site-header {
    padding: 9px 12px;
  }
.page-main {
    padding: 0 10px 6px;
  }
.hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px 12px 12px;
  }
.poster-column {
    max-width: 180px;
  }
.overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 4px 12px 16px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    columns: 1;
  }
.recommend-strips {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
  }
.player-btn {
    padding: 4px 8px;
    font-size: 11.5px;
  }
.player-range {
    flex: 1 1 100%;
    min-width: 100%;
  }}
@media (max-width: 400px) {.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.node-label {
    padding: 0 6px;
  }}

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}
