*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --ink: #0c1420;
  --ink-2: #111d2c;
  --ink-3: #16273a;
  --blue: #16324d;
  --blue-2: #23496b;
  --rust: #c96a35;
  --rust-2: #e08a4d;
  --paper: #cfd9e2;
  --ghost: #9fb0c0;
  --ghost-2: #74889b;
  --line: rgba(159, 176, 192, 0.18);
  --line-2: rgba(159, 176, 192, 0.32);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --hand: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", "Noto Serif SC", serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  background-image:
    linear-gradient(180deg, rgba(22, 50, 77, 0.55) 0%, rgba(12, 20, 32, 0) 340px),
    radial-gradient(900px 480px at 88% -6%, rgba(201, 106, 53, 0.16), rgba(201, 106, 53, 0) 65%),
    radial-gradient(700px 420px at 4% 2%, rgba(35, 73, 107, 0.42), rgba(35, 73, 107, 0) 70%);
  background-repeat: no-repeat;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 16, 25, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 9px clamp(12px, 3vw, 34px);
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--hand);
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--rust-2);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(201, 106, 53, 0.4);
}
a[data-contract="site-name"]:hover { color: #f0a86a; text-decoration: underline; text-underline-offset: 4px; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 2px 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ghost);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(35, 73, 107, 0.18);
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--rust);
  background: rgba(201, 106, 53, 0.16);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 34px) 0;
}
.movie-overview { padding-top: clamp(14px, 2.4vw, 30px); }
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(14px, 2.2vw, 28px);
  align-items: start;
}
.poster-column {
  position: sticky;
  top: 54px;
  align-self: start;
}
.poster-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(12, 20, 32, 0.7);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(224, 138, 77, 0.34) 0%, rgba(224, 138, 77, 0) 42%),
    linear-gradient(0deg, rgba(9, 16, 25, 0.72) 0%, rgba(9, 16, 25, 0) 46%),
    repeating-linear-gradient(102deg, rgba(207, 217, 226, 0.05) 0 1px, rgba(207, 217, 226, 0) 1px 9px);
  mix-blend-mode: screen;
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.title-block {
  border-left: 2px solid var(--rust);
  padding: 2px 0 6px 12px;
}
.movie-title {
  font-family: var(--hand);
  font-size: clamp(21px, 3.2vw, 32px);
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #eef3f7;
  text-shadow: 0 2px 26px rgba(201, 106, 53, 0.28);
}
.movie-tagline {
  margin-top: 4px;
  font-family: var(--hand);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--rust-2);
}
.movie-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--rust), rgba(201, 106, 53, 0));
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-2);
  background: #060b12;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.player-video {
  display: block;
  width: 100%;
  background: #060b12;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 39, 58, 0.92), rgba(9, 16, 25, 0.96));
}
.ctrl-btn {
  appearance: none;
  border: 1px solid var(--line-2);
  background: rgba(35, 73, 107, 0.24);
  color: var(--ghost);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover { color: var(--paper); border-color: var(--rust); background: rgba(201, 106, 53, 0.18); }
.ctrl-btn.is-active {
  color: var(--ink);
  background: var(--rust-2);
  border-color: var(--rust-2);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--rust);
  cursor: pointer;
  background: transparent;
}
.ctrl-volume {
  flex: 0 1 72px;
  min-width: 56px;
  height: 4px;
  accent-color: var(--blue-2);
  cursor: pointer;
}
.ctrl-speed {
  appearance: none;
  border: 1px solid var(--line-2);
  background: rgba(35, 73, 107, 0.24);
  color: var(--ghost);
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-speed:hover { color: var(--paper); border-color: var(--rust); }
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--rust), 0 22px 60px rgba(0, 0, 0, 0.7);
}
.player-shell.is-light-off .player-video { filter: brightness(0.42) contrast(1.08); }
.player-shell.is-light-off::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(12, 20, 32, 0) 26%, rgba(6, 11, 18, 0.72) 100%);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 2px 9px;
  color: var(--ghost);
  border: 1px solid var(--line-2);
  background: rgba(22, 39, 58, 0.6);
  border-radius: 999px;
}
.status-chip:first-child {
  color: var(--rust-2);
  border-color: rgba(201, 106, 53, 0.5);
  background: rgba(201, 106, 53, 0.12);
}
.cast-strip {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.strip-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--ghost-2);
  margin-bottom: 7px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 6px;
}
.cast-item {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: flex-end;
  padding: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(35, 73, 107, 0.5) 0%, rgba(12, 20, 32, 0.9) 78%),
    radial-gradient(60px 40px at 50% 30%, rgba(224, 138, 77, 0.28), rgba(224, 138, 77, 0) 70%);
}
.cast-item::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 26%;
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 138, 77, 0.6), rgba(224, 138, 77, 0));
}
.cast-name {
  position: relative;
  font-family: var(--hand);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #e6edf3;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.1;
}
.block-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ghost-2);
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.synopsis-block { padding-top: 4px; }
.synopsis-text {
  font-size: 13px;
  line-height: 1.72;
  color: #b9c6d2;
  text-align: justify;
}
.synopsis-text + .synopsis-text { margin-top: 6px; }
.synopsis-text:first-of-type::first-letter {
  font-family: var(--hand);
  font-size: 28px;
  float: left;
  line-height: 0.9;
  padding: 2px 6px 0 0;
  color: var(--rust-2);
}
.details-grid {
  padding-top: 4px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(159, 176, 192, 0.14);
  font-size: 12px;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 60px;
  color: var(--ghost-2);
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: #dfe8ef;
  margin: 0;
}
.section-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--paper);
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 2px;
  background: var(--rust);
}
.timeline-section { margin-top: clamp(20px, 3.4vw, 40px); }
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 18px;
  border-left: 1px solid var(--line-2);
  padding-left: 0;
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 6px 5px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--rust);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rust-2);
  opacity: 0;
}
.timeline-item:hover::after { opacity: 1; box-shadow: 0 0 10px rgba(224, 138, 77, 0.8); }
.timeline-timecode {
  flex: 0 0 auto;
  font-family: var(--hand);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--rust-2);
  min-width: 44px;
}
.timeline-label {
  flex: 1 1 auto;
  min-width: 0;
  color: #c3cfda;
}
.episodes-section { margin-top: clamp(20px, 3.4vw, 40px); }
.episode-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-2) transparent;
}
.episode-scroller::-webkit-scrollbar { height: 6px; }
.episode-scroller::-webkit-scrollbar-track { background: rgba(35, 73, 107, 0.18); }
.episode-scroller::-webkit-scrollbar-thumb { background: var(--blue-2); }
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(201, 106, 53, 0.55);
  background: linear-gradient(180deg, rgba(22, 39, 58, 0.72), rgba(12, 20, 32, 0.72));
}
.episode-card:hover {
  border-color: var(--line-2);
  border-left-color: var(--rust-2);
  background: linear-gradient(180deg, rgba(35, 73, 107, 0.6), rgba(12, 20, 32, 0.8));
}
.episode-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #e6edf3;
  line-height: 1.35;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ghost-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-section { margin-top: clamp(20px, 3.4vw, 40px); }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
  gap: 9px;
  align-items: start;
}
.comment-note {
  position: relative;
  padding: 8px 10px 9px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(35, 73, 107, 0.34), rgba(12, 20, 32, 0.86));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42);
}
.comment-note:nth-child(3n + 1) { transform: rotate(-0.7deg) translateY(0); }
.comment-note:nth-child(3n + 2) { transform: rotate(0.55deg) translateY(5px); }
.comment-note:nth-child(3n + 3) { transform: rotate(-0.3deg) translateY(2px); }
.comment-note:hover { transform: rotate(0deg) translateY(0); border-color: rgba(201, 106, 53, 0.5); }
.comment-nickname {
  display: block;
  font-family: var(--hand);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--rust-2);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.58;
  color: #b7c4d0;
}
.recommend-region {
  margin-top: clamp(18px, 3vw, 34px);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.recommend-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ghost);
  margin-bottom: 8px;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(22, 39, 58, 0.5);
  color: var(--ghost);
  text-decoration: none;
  overflow: hidden;
}
a.recommend-card:hover {
  border-color: var(--rust);
  background: rgba(35, 73, 107, 0.5);
  color: var(--paper);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #0a1119;
  display: block;
}
.recommend-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #e2eaf1;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--ghost-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 16, 25, 0.6), rgba(6, 11, 18, 0.95));
  padding: 14px clamp(12px, 3vw, 34px) 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 1400px;
  margin: 0 auto 10px;
  font-size: 12px;
}
a[data-contract="footer-home"] {
  color: var(--rust-2);
  text-decoration: none;
  letter-spacing: 0.1em;
}
a[data-contract="footer-home"]:hover { color: #f0a86a; text-decoration: underline; text-underline-offset: 4px; }
a[data-contract="footer-sitemap"] {
  color: var(--ghost);
  text-decoration: none;
  letter-spacing: 0.1em;
}
a[data-contract="footer-sitemap"]:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  max-width: 1400px;
  margin: 0 auto 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
}
.friend-links-label {
  color: var(--ghost-2);
  letter-spacing: 0.18em;
  font-size: 11px;
}
a.runtime-friend-link {
  color: var(--ghost);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--rust-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-disclaimer {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
  color: #5f7386;
}
@media (max-width: 900px) {.overview-grid { grid-template-columns: minmax(0, 1fr); }
.poster-column { position: static; }
.poster-frame { max-width: 320px; }
.episode-scroller { grid-auto-columns: minmax(200px, 1fr); grid-template-rows: repeat(3, auto); }}
@media (max-width: 640px) {body { font-size: 13.5px; }
.poster-frame { max-width: none; }
.cast-list { grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); }
.cast-item { min-height: 68px; }
.episode-scroller {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    overflow-x: visible;
  }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-note:nth-child(n) { transform: none; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.recommend-row { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }}
@media (max-width: 420px) {.header-inner { gap: 8px; }
a[data-contract="site-name"] { font-size: 17px; }
.ctrl-btn { font-size: 10.5px; padding: 3px 6px; }
.recommend-row { grid-template-columns: repeat(2, 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}
