*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:root {
  --lead: #2b2f36;
  --lead-deep: #1a1d22;
  --iron: #3d4d63;
  --iron-soft: #566a85;
  --lamp: #eef3f7;
  --lamp-dim: #c6d0da;
  --blood: #6e1f24;
  --blood-bright: #8f2b30;
  --frost: rgba(198, 214, 230, 0.16);
  --line: rgba(198, 214, 230, 0.14);
  --gap: 10px;
  --gap-tight: 8px;
  --radius: 3px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 15% -5%, rgba(86, 106, 133, 0.28), transparent 60%),
    radial-gradient(900px 700px at 95% 20%, rgba(110, 31, 36, 0.14), transparent 55%),
    linear-gradient(180deg, #171a1f 0%, #1e2228 40%, #232830 100%);
  background-attachment: fixed;
  color: var(--lamp-dim);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.page-main {
  display: block;
  width: 100%;
  padding: 12px clamp(10px, 2.4vw, 30px) 20px;
  max-width: 1320px;
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(20, 23, 28, 0.96), rgba(20, 23, 28, 0.78));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px clamp(10px, 2.4vw, 30px);
}
a[data-contract="site-name"] {
  color: var(--lamp);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 0;
  border-left: 3px solid var(--blood-bright);
  padding-left: 9px;
}
.site-brand {
  white-space: nowrap;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--lamp-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(86, 106, 133, 0.1);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--lamp);
  border-color: var(--iron-soft);
  background: rgba(86, 106, 133, 0.26);
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 26px);
  align-items: start;
  padding: clamp(14px, 2.6vw, 30px) 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.hero-media {
  min-width: 0;
  align-self: start;
}
.poster-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--lead-deep);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--line);
}
.poster-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.94);
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(238, 243, 247, 0.14) 0%, transparent 34%),
    linear-gradient(0deg, rgba(26, 29, 34, 0.55) 0%, transparent 45%);
  mix-blend-mode: screen;
  opacity: .55;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.movie-title {
  font-size: clamp(26px, 4.6vw, 52px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lamp);
  font-stretch: condensed;
  text-shadow: 0 2px 26px rgba(86, 106, 133, 0.5);
}
.movie-tagline {
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.22em;
  color: var(--lamp-dim);
  padding-left: 10px;
  border-left: 2px solid var(--blood);
  margin-top: 2px;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: rgba(198, 208, 218, 0.78);
  max-width: 74ch;
  letter-spacing: 0.01em;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 4px;
  background: #0d0f13;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.95);
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
  filter: saturate(0.86) contrast(1.04);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(43, 47, 54, 0.94), rgba(26, 29, 34, 0.94));
  border-top: 1px solid var(--line);
}
.player-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(86, 106, 133, 0.14);
  color: var(--lamp-dim);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: var(--lamp);
  border-color: var(--iron-soft);
  background: rgba(86, 106, 133, 0.3);
}
.player-btn.is-playing, .player-btn.is-active {
  color: #fff;
  border-color: var(--iron-soft);
  background: rgba(61, 77, 99, 0.62);
}
.player-btn.is-muted {
  color: var(--blood-bright);
  border-color: rgba(143, 43, 48, 0.6);
  background: rgba(110, 31, 36, 0.28);
}
.player-progress {
  flex: 1 1 130px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  background: rgba(198, 214, 230, 0.2);
  border-radius: 2px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lamp);
  border: 2px solid var(--iron);
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 2px solid var(--iron);
  border-radius: 50%;
  background: var(--lamp);
}
.player-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 4px;
  appearance: none;
  background: rgba(198, 214, 230, 0.2);
  border-radius: 2px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--iron-soft);
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--iron-soft);
}
.player-speed {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(43, 47, 54, 0.9);
  color: var(--lamp-dim);
  font-size: 11.5px;
  padding: 4px 6px;
  border-radius: 2px;
  cursor: pointer;
}
.player-shell.theater-mode {
  box-shadow: 0 0 0 1px var(--iron-soft), 0 26px 60px -30px rgba(0, 0, 0, 1);
}
.player-shell.lights-dim::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 11, 0.55);
  pointer-events: none;
  z-index: 3;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-tight);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.status-current {
  color: var(--lamp);
  padding: 3px 9px;
  border: 1px solid rgba(143, 43, 48, 0.55);
  background: rgba(110, 31, 36, 0.22);
  border-radius: 2px;
}
.status-total {
  color: rgba(198, 208, 218, 0.7);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.cast-block {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--lamp);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cast-heading::before, .synopsis-heading::before, .details-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .recommend-heading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 2px;
  background: var(--blood-bright);
  vertical-align: middle;
  margin-right: 8px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.cast-avatar {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(238, 243, 247, 0.4), transparent 52%),
    conic-gradient(from 210deg, #38424f, #232a33, #4a5a70, #1e242c);
  border: 1px solid rgba(198, 214, 230, 0.26);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.7), 0 4px 12px -6px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(238, 243, 247, 0.16), transparent 55%);
}
.cast-role {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(198, 208, 218, 0.86);
  line-height: 1.3;
}
.synopsis-block {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.66;
  color: rgba(198, 208, 218, 0.76);
  margin-bottom: 6px;
  text-align: justify;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.details-block {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px var(--gap);
  align-items: start;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(198, 214, 230, 0.1);
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(140, 158, 178, 0.9);
}
.details-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--lamp-dim);
  text-align: right;
}
.timeline-section {
  padding: 4px 0 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(150, 178, 208, 0.55) 8%, rgba(150, 178, 208, 0.55) 92%, transparent);
  box-shadow: 0 0 10px rgba(120, 160, 200, 0.35);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 7px 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 40px;
}
.timeline-item-left {
  align-self: flex-start;
  text-align: right;
  align-items: flex-end;
  padding-left: 0;
}
.timeline-item-right {
  align-self: flex-end;
  text-align: left;
  align-items: flex-start;
  padding-right: 0;
  margin-top: -40px;
}
.timeline-node {
  position: absolute;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 0 3px rgba(61, 77, 99, 0.75), 0 0 12px rgba(160, 200, 235, 0.85);
  z-index: 2;
}
.timeline-item-left .timeline-node { right: -4.5px; }
.timeline-item-right .timeline-node { left: -4.5px; }
.timeline-timecode {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--blood-bright);
  font-weight: 700;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(206, 216, 226, 0.84);
  max-width: 40ch;
}
.episodes-section {
  margin-bottom: 14px;
}
.episodes-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(196px, 1fr);
  gap: var(--gap-tight);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episodes-track::-webkit-scrollbar { height: 6px; }
.episodes-track::-webkit-scrollbar-track { background: rgba(198, 214, 230, 0.08); }
.episodes-track::-webkit-scrollbar-thumb { background: rgba(86, 106, 133, 0.6); border-radius: 3px; }
.episode-card {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  padding: 10px 11px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(45, 51, 60, 0.95), rgba(29, 33, 39, 0.95));
  min-height: 0;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.episode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  background:
    radial-gradient(120px 60px at 88% -6%, rgba(220, 236, 250, 0.14), transparent 70%),
    linear-gradient(115deg, transparent 40%, rgba(220, 236, 250, 0.07) 46%, transparent 52%);
  opacity: .9;
}
.episode-card:hover {
  border-color: rgba(120, 150, 185, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.95);
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--blood-bright);
  font-weight: 700;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--lamp);
  line-height: 1.25;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(190, 202, 214, 0.74);
}
.episode-duration {
  margin-top: auto;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(140, 158, 178, 0.85);
  padding-top: 5px;
  border-top: 1px solid rgba(198, 214, 230, 0.1);
}
.comments-section {
  margin-bottom: 14px;
}
.comments-masonry {
  columns: 2;
  column-gap: var(--gap);
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: var(--gap-tight);
  padding: 9px 11px;
  border: 1px solid rgba(198, 214, 230, 0.1);
  border-left: 2px solid rgba(143, 43, 48, 0.6);
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(38, 43, 51, 0.96), rgba(26, 29, 34, 0.96));
  box-shadow: 0 8px 20px -16px rgba(0, 0, 0, 0.95);
}
.comment-nickname {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lamp);
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(198, 214, 230, 0.12);
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(196, 206, 216, 0.78);
}
.recommend-section {
  margin-bottom: 14px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(42, 47, 55, 0.9), rgba(27, 30, 36, 0.9));
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
a.recommend-item {
  color: var(--lamp-dim);
  text-decoration: none;
}
.recommend-item:hover {
  border-color: rgba(120, 150, 185, 0.55);
  background: linear-gradient(160deg, rgba(52, 59, 69, 0.94), rgba(31, 35, 42, 0.94));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  background: #0d0f13;
  filter: saturate(0.78) contrast(1.05) brightness(0.94);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--lamp);
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(178, 190, 202, 0.7);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 23, 28, 0.6), rgba(16, 18, 22, 0.95));
  padding: 12px clamp(10px, 2.4vw, 30px) 18px;
  max-width: 1320px;
  margin: 0 auto;
  display: block;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-tight);
  align-items: center;
  margin-bottom: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--lamp-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  border-color: var(--iron-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 8px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(140, 158, 178, 0.85);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: rgba(178, 190, 202, 0.72);
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
a.runtime-friend-link:hover {
  color: var(--lamp);
  border-bottom-color: rgba(143, 43, 48, 0.7);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(140, 152, 166, 0.62);
  max-width: 92ch;
}
@media (max-width: 1024px) {.hero-panel {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }
.timeline-label { max-width: 34ch; }}
@media (max-width: 860px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-top: 14px;
  }
.poster-wrap {
    max-width: 220px;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }}
@media (max-width: 720px) {body { font-size: 13.5px; }
.page-main { padding: 10px 10px 16px; }
.header-inner { padding: 7px 10px; }
.movie-title { font-size: 30px; }
.movie-tagline { letter-spacing: 0.12em; }
.comments-masonry { columns: 1; }
.episodes-track {
    grid-auto-columns: minmax(170px, 78%);
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  }}
@media (max-width: 620px) {.timeline-list::before {
    left: 7px;
    transform: none;
  }
.timeline-item {
    width: 100%;
    padding: 6px 0 6px 24px;
    text-align: left;
    align-items: flex-start;
    margin-top: 0 !important;
  }
.timeline-item-left, .timeline-item-right {
    align-self: stretch;
    text-align: left;
    align-items: flex-start;
    padding-left: 24px;
    padding-right: 0;
  }
.timeline-item-left .timeline-node, .timeline-item-right .timeline-node {
    left: 2.5px;
    right: auto;
  }
.timeline-label { max-width: none; }}
@media (max-width: 480px) {.movie-title { font-size: 26px; }
.player-controls { gap: 5px; padding: 6px 7px; }
.player-btn { font-size: 11px; padding: 4px 7px; }
.player-progress { flex-basis: 100%; }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episodes-track { grid-auto-columns: minmax(160px, 86%); }
.cast-avatar { width: 42px; height: 42px; }}

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}
