*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --ink: #0d0a08;
  --coal: #16110d;
  --wood: #2a1d13;
  --wood-2: #3a281a;
  --red: #8e2b22;
  --red-dim: #6b2019;
  --paper: #cbb9a3;
  --paper-dim: #9b8b78;
  --ash: #8b98a1;
  --cold: #dfe6ea;
  --rule: rgba(203, 185, 163, 0.16);
}
html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    linear-gradient(180deg, #14100c 0%, #0d0a08 38%, #100c09 100%);
  color: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.02em;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, .block-heading, .region-heading, .strip-heading, .site-brand {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: linear-gradient(180deg, var(--wood) 0%, #1d140d 100%);
  border-bottom: 2px solid var(--red-dim);
  position: relative;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,0.5) 0 6px, transparent 6px 13px);
}
a[data-contract="site-name"] {
  color: var(--cold);
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 0 #000;
  padding-right: 12px;
  border-right: 1px solid var(--rule);
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: var(--paper-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid var(--rule);
  background: rgba(0, 0, 0, 0.28);
  letter-spacing: 0.08em;
}
a.runtime-category:hover {
  color: var(--cold);
  border-color: var(--ash);
  background: rgba(139, 152, 161, 0.12);
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px 26px;
}
.block-heading {
  font-size: 14px;
  color: var(--cold);
  padding: 5px 0 5px 10px;
  margin-bottom: 8px;
  border-left: 3px solid var(--red);
  background: linear-gradient(90deg, rgba(142, 43, 34, 0.22), transparent 62%);
  letter-spacing: 0.22em;
}
.movie-overview {
  background:
    linear-gradient(180deg, rgba(42, 29, 19, 0.55), rgba(13, 10, 8, 0.2)),
    var(--coal);
  border: 1px solid rgba(203, 185, 163, 0.1);
  border-top: 3px solid var(--red-dim);
  padding: 12px;
  margin-top: 12px;
  position: relative;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,0.35) 0 1px, transparent 1px 4px, rgba(0,0,0,0.18) 4px 5px, transparent 5px 9px);
  opacity: 0.22;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  position: relative;
}
.poster-frame {
  position: relative;
  align-self: start;
  background: #000;
  border: 1px solid rgba(203, 185, 163, 0.2);
  box-shadow: 0 0 0 1px #000, 6px 6px 0 rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(223, 230, 234, 0.1), transparent 42%, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.92);
}
.hero-caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-top: 2px;
}
.movie-title {
  font-size: 24px;
  color: #f2ece4;
  text-shadow: 0 2px 0 #000, 0 0 22px rgba(142, 43, 34, 0.5);
  letter-spacing: 0.06em;
}
.movie-tagline {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--paper);
  border-left: 2px solid var(--red);
  padding-left: 9px;
  background: linear-gradient(90deg, rgba(142, 43, 34, 0.18), transparent 78%);
  position: relative;
}
.movie-tagline::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--red);
}
.hero-player {
  margin-top: 12px;
  background: #000;
  border: 1px solid rgba(203, 185, 163, 0.18);
  position: relative;
}
.hero-player video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #221710, #120d09);
  border-top: 1px solid rgba(203, 185, 163, 0.14);
}
.ctrl-btn {
  appearance: none;
  background: linear-gradient(180deg, #2f2016, #1a120b);
  border: 1px solid rgba(203, 185, 163, 0.24);
  color: var(--paper);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: var(--cold);
  border-color: var(--ash);
}
.ctrl-btn.is-active, .ctrl-btn:active {
  background: linear-gradient(180deg, var(--red), var(--red-dim));
  color: #f6efe6;
  border-color: #b0433a;
}
.ctrl-progress, .ctrl-volume {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  background: #2b1e15;
  border: 1px solid rgba(203, 185, 163, 0.2);
  cursor: pointer;
  flex: 0 1 auto;
}
.ctrl-progress { flex: 1 1 130px; min-width: 90px; }
.ctrl-volume { flex: 0 1 74px; min-width: 54px; }
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 14px;
  background: var(--red);
  border: 1px solid #d8cec0;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 9px;
  height: 14px;
  border-radius: 0;
  background: var(--red);
  border: 1px solid #d8cec0;
  cursor: pointer;
}
.hero-player.is-lights-off {
  box-shadow: 0 0 0 1px #000, 0 0 34px rgba(0, 0, 0, 0.9);
}
.hero-player.is-theater {
  border-color: var(--red);
  box-shadow: 0 0 0 1px #000, 0 0 26px rgba(142, 43, 34, 0.35);
}
.cast-strip {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px dashed var(--rule);
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.strip-heading {
  font-size: 13px;
  color: var(--ash);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.24em;
  align-self: stretch;
  padding-top: 2px;
  border-right: 1px solid var(--rule);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 7px;
  background: linear-gradient(180deg, rgba(58, 40, 26, 0.5), rgba(19, 13, 9, 0.75));
  border: 1px solid rgba(203, 185, 163, 0.13);
  border-left: 2px solid var(--red-dim);
  min-width: 0;
}
.cast-card:hover {
  border-left-color: var(--red);
  background: linear-gradient(180deg, rgba(142, 43, 34, 0.24), rgba(19, 13, 9, 0.8));
}
.cast-name {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 12.5px;
  color: #ece4d8;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 10.5px;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px dashed var(--rule);
}
.synopsis-desc {
  font-size: 12.5px;
  line-height: 1.62;
  color: #e2d8ca;
  padding: 7px 9px;
  background: linear-gradient(90deg, rgba(142, 43, 34, 0.16), rgba(0, 0, 0, 0) 80%);
  border-left: 2px solid var(--red);
  margin-bottom: 7px;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.6;
  color: var(--paper-dim);
  margin-bottom: 6px;
  text-indent: 2em;
}
.synopsis-para:last-child { margin-bottom: 0; }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px dashed var(--rule);
}
.status-item {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--cold);
  padding: 2px 9px;
  background: rgba(139, 152, 161, 0.1);
  border: 1px solid rgba(139, 152, 161, 0.32);
  white-space: nowrap;
}
.status-item:first-child {
  background: rgba(142, 43, 34, 0.22);
  border-color: rgba(176, 67, 58, 0.5);
  color: #f0d9d3;
}
.details-block {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px dashed var(--rule);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0 12px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(203, 185, 163, 0.16);
  min-width: 0;
}
.detail-key {
  flex: 0 0 4.4em;
  font-size: 11.5px;
  color: var(--ash);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #e6ddcf;
  overflow-wrap: anywhere;
}
.timeline-section {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 2px solid var(--red-dim);
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(203, 185, 163, 0.06) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, rgba(42, 29, 19, 0.6), rgba(13, 10, 8, 0.85));
  border: 1px solid rgba(203, 185, 163, 0.14);
  border-left: 3px solid var(--red-dim);
  padding: 12px 6px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--red-dim) #120d09;
}
.timeline-track::-webkit-scrollbar { height: 7px; }
.timeline-track::-webkit-scrollbar-track { background: #120d09; }
.timeline-track::-webkit-scrollbar-thumb { background: var(--red-dim); }
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 152px;
  padding: 12px 12px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px dashed rgba(203, 185, 163, 0.16);
}
.timeline-node:last-child { border-right: none; }
.timeline-node::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #d8cbb8, #4a3a2a 58%, #0d0a08 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9), 0 0 7px rgba(142, 43, 34, 0.55);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 6.5px;
  left: 20px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(203, 185, 163, 0.28), rgba(203, 185, 163, 0.05));
}
.node-timecode {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 12px;
  color: #e9b9ad;
  letter-spacing: 0.1em;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--paper-dim);
}
.episodes-section {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 2px solid var(--red-dim);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum";
  gap: 2px 7px;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(42, 29, 19, 0.42), rgba(16, 11, 8, 0.7));
  border: 1px solid rgba(203, 185, 163, 0.11);
  border-top: 1px solid rgba(203, 185, 163, 0.2);
  min-width: 0;
  transition: background 0.14s linear, border-color 0.14s linear;
}
.episode-card:hover {
  background: linear-gradient(180deg, rgba(142, 43, 34, 0.24), rgba(16, 11, 8, 0.8));
  border-color: rgba(176, 67, 58, 0.45);
}
.episode-num {
  grid-area: num;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 11.5px;
  color: #e9b9ad;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 12.5px;
  color: #efe7db;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 10.5px;
  color: var(--cold);
  background: rgba(13, 10, 8, 0.9);
  border: 1px solid rgba(139, 152, 161, 0.4);
  padding: 0 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s linear;
  white-space: nowrap;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  opacity: 1;
}
.comments-section {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 2px solid var(--red-dim);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px 8px;
  background: linear-gradient(168deg, rgba(203, 185, 163, 0.11), rgba(20, 14, 10, 0.92) 62%);
  border: 1px solid rgba(203, 185, 163, 0.16);
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.6);
  min-width: 0;
}
.comment-stack .comment-card:nth-child(even) {
  transform: rotate(-0.55deg) translateY(3px);
}
.comment-stack .comment-card:nth-child(3n) {
  transform: rotate(0.7deg) translateY(-2px);
}
.comment-nick {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 11.5px;
  color: #dfb0a4;
  letter-spacing: 0.08em;
}
.comment-nick::before {
  content: "— ";
  color: var(--red);
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--paper);
}
.recommend-region {
  margin-top: 14px;
  padding-top: 9px;
  border-top: 1px dashed var(--rule);
}
.region-heading {
  font-size: 13px;
  color: var(--ash);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.24em;
  margin-bottom: 8px;
  padding-right: 4px;
  border-right: 2px solid var(--red-dim);
  min-height: 4.4em;
}
.recommend-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 7px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(42, 29, 19, 0.5), rgba(14, 10, 7, 0.85));
  border: 1px solid rgba(203, 185, 163, 0.12);
  padding: 5px;
  height: 100%;
  transition: border-color 0.14s linear, background 0.14s linear;
}
a[data-runtime="recommendation"]:hover {
  border-color: rgba(176, 67, 58, 0.55);
  background: linear-gradient(180deg, rgba(142, 43, 34, 0.22), rgba(14, 10, 7, 0.9));
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #000;
  filter: saturate(0.7) contrast(1.05) brightness(0.9);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 12px;
  color: #efe7db;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 20px;
  padding: 12px 14px 20px;
  background: linear-gradient(180deg, #1b130c, #0b0806);
  border-top: 2px solid var(--red-dim);
  color: var(--paper-dim);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  max-width: 62em;
  margin-bottom: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--rule);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 43, 34, 0.7);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-bottom-color: var(--cold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  align-items: baseline;
}
.friend-label {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  font-size: 11.5px;
  color: var(--ash);
  letter-spacing: 0.16em;
  padding-right: 7px;
  border-right: 1px solid var(--rule);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--paper-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--cold);
  text-decoration: underline;
  text-decoration-color: var(--red);
}
@media (max-width: 720px) {body { font-size: 12.5px; }
.site-header { padding: 7px 10px; gap: 10px; }
a[data-contract="site-name"] { font-size: 15px; }
.page-main { padding: 0 9px 20px; }
.movie-overview { padding: 9px; }
.overview-hero {
    grid-template-columns: minmax(0, 108px) minmax(0, 1fr);
    gap: 9px;
  }
.movie-title { font-size: 19px; }
.movie-tagline { font-size: 11.5px; }
.player-controls { gap: 5px; padding: 6px; }
.ctrl-btn { font-size: 11px; padding: 3px 6px; }
.ctrl-progress { flex: 1 1 100%; min-width: 0; }
.ctrl-volume { flex: 1 1 64px; }
.cast-strip { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
.strip-heading { font-size: 12px; letter-spacing: 0.18em; }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 5px; }
.detail-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.timeline-node { width: 132px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-duration { opacity: 1; }
.comment-stack { grid-template-columns: minmax(0, 1fr); gap: 7px; }
.comment-stack .comment-card:nth-child(even), .comment-stack .comment-card:nth-child(3n) { transform: none; }
.region-heading { font-size: 12px; }
.recommend-track { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }}
@media (max-width: 420px) {.overview-hero { grid-template-columns: minmax(0, 92px) minmax(0, 1fr); }
.movie-title { font-size: 17px; }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); }
.timeline-node { width: 118px; }
.recommend-track { grid-template-columns: repeat(auto-fill, minmax(104px, 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}
