:root {
  --bg-deep: #0b0e13;
  --bg-panel: #12161d;
  --bg-raise: #171c25;
  --cool: #5a7d99;
  --cool-deep: #2b3d4d;
  --cool-ink: #8fa9bd;
  --warm: #d9a441;
  --warm-deep: #8a6420;
  --warm-ink: #e8c98a;
  --ink: #e6e9ee;
  --ink-soft: #a8b2bf;
  --ink-dim: #6e7885;
  --rule: #232a34;
  --crack: #0b0e13;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-deep);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(90, 125, 153, 0.10) 0%, rgba(90, 125, 153, 0) 42%),
    linear-gradient(295deg, rgba(217, 164, 65, 0.09) 0%, rgba(217, 164, 65, 0) 46%),
    radial-gradient(120% 80% at 50% 0%, rgba(23, 28, 37, 0.85) 0%, rgba(11, 14, 19, 0) 70%);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
figure {
  margin: 0;
}
input, select, button {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.page-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 0 clamp(12px, 2.4vw, 34px) 40px;
  max-width: 1560px;
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(11, 14, 19, 0.97) 0%, rgba(11, 14, 19, 0.86) 78%, rgba(11, 14, 19, 0) 100%);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px clamp(12px, 2.4vw, 34px) 12px;
  max-width: 1560px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}
.site-brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding-right: 16px;
  border-right: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--cool) 0%, var(--warm) 100%) 1;
  color: var(--ink);
  transition: color 0.15s ease;
}
a[data-contract="site-name"] {
  color: var(--ink);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--warm-ink);
}
.header-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--cool-ink);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(90, 125, 153, 0.07);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--warm-ink);
  border-color: var(--warm-deep);
  background: rgba(217, 164, 65, 0.10);
}
.hero-split {
  position: relative;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(16px, 3vw, 44px);
  padding: 8px 0 14px;
}
.hero-face-stack {
  position: relative;
  width: 100%;
  max-width: 320px;
  justify-self: start;
  isolation: isolate;
}
.hero-half {
  position: relative;
  overflow: hidden;
}
.hero-half-cool {
  background: linear-gradient(160deg, #1a2530 0%, #0d1116 100%);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.94);
  clip-path: polygon(0 0, 58% 0, 54% 12%, 60% 24%, 55% 38%, 61% 52%, 56% 66%, 62% 80%, 57% 100%, 0 100%);
}
.hero-crack {
  position: absolute;
  top: -6%;
  left: 46%;
  width: 16px;
  height: 112%;
  z-index: 3;
  pointer-events: none;
  transform: rotate(0.6deg);
  background: linear-gradient(90deg,
      rgba(90, 125, 153, 0) 0%,
      rgba(90, 125, 153, 0.55) 34%,
      var(--crack) 50%,
      rgba(217, 164, 65, 0.55) 66%,
      rgba(217, 164, 65, 0) 100%);
  clip-path: polygon(38% 0, 62% 6%, 44% 18%, 66% 31%, 42% 45%, 64% 58%, 40% 72%, 60% 86%, 46% 100%, 30% 90%, 52% 76%, 28% 62%, 50% 48%, 26% 34%, 48% 20%, 30% 8%, 42% 0);
}
.hero-title-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 6px;
}
.movie-title {
  position: relative;
  font-size: clamp(30px, 5.4vw, 72px);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.02;
  color: var(--ink);
  text-shadow: 0 0 26px rgba(11, 14, 19, 0.9);
  background: linear-gradient(92deg, var(--cool-ink) 0%, var(--ink) 46%, var(--warm-ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title-emblem {
  position: absolute;
  top: 0.18em;
  right: 0;
  width: clamp(28px, 3.2vw, 46px);
  height: clamp(28px, 3.2vw, 46px);
  border-radius: 2px;
  transform: rotate(-8deg);
  background:
    radial-gradient(circle at 34% 36%, var(--cool-ink) 0 30%, transparent 31%),
    linear-gradient(135deg, var(--cool) 0 46%, var(--bg-deep) 46% 54%, var(--warm) 54% 100%);
  clip-path: polygon(4% 26%, 40% 8%, 96% 34%, 84% 92%, 30% 82%, 0 58%);
  box-shadow: 0 0 0 1px rgba(11, 14, 19, 0.8), 0 0 16px rgba(217, 164, 65, 0.28);
}
.movie-tagline {
  max-width: 46ch;
  font-size: clamp(12.5px, 1.2vw, 15px);
  color: var(--ink-soft);
  line-height: 1.6;
  padding-left: 12px;
  border-left: 2px solid var(--warm-deep);
}
.hero-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.hero-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
  padding-top: 4px;
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #05070a;
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.main-player {
  display: block;
  width: 100%;
  background: #05070a;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #12161d 0%, #0c1015 100%);
  border-top: 1px solid var(--rule);
}
.ctrl {
  font-size: 11.5px;
  line-height: 1;
  padding: 5px 9px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #161b23;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.ctrl:hover {
  color: var(--warm-ink);
  border-color: var(--warm-deep);
}
.ctrl.is-active, .ctrl.play, .ctrl.pause {
  color: var(--bg-deep);
  background: var(--warm);
  border-color: var(--warm);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  padding: 0;
  margin: 0 4px;
  accent-color: var(--warm);
  background: transparent;
  border: none;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 78px;
  min-width: 60px;
  height: 4px;
  padding: 0;
  accent-color: var(--cool);
  background: transparent;
  border: none;
  cursor: pointer;
}
.ctrl-speed {
  font-size: 11.5px;
  padding: 4px 6px;
  background: #161b23;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-soft);
  cursor: pointer;
}
body.theater-mode .hero-player-wrap {
  position: fixed;
  inset: 0;
  z-index: 90;
  max-width: 100%;
  border-radius: 0;
  border: none;
  justify-content: center;
}
body.theater-mode .main-player {
  max-height: 100%;
}
body.lights-off::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #000;
  opacity: 0.82;
  pointer-events: none;
}
body.lights-off .hero-player-wrap {
  z-index: 95;
}
body.is-playing .ctrl-play {
  color: var(--bg-deep);
  background: var(--cool-ink);
  border-color: var(--cool-ink);
}
.overview-blocks {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  border-top: 1px solid var(--rule);
}
.overview-blocks > section {
  padding: 16px 18px 18px 0;
  border-right: 1px solid var(--rule);
}
.overview-blocks > section:last-child {
  border-right: none;
  padding-right: 0;
}
.overview-blocks > section + section {
  padding-left: 18px;
}
.block-heading {
  position: relative;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--warm-ink);
  padding-left: 12px;
  margin-bottom: 12px;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.05em;
  background: linear-gradient(180deg, var(--cool) 0%, var(--warm) 100%);
}
.cast-strip {
  grid-column: 1;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item {
  min-width: 0;
}
.cast-figure {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--bg-panel);
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cast-figure:hover {
  border-color: var(--cool);
  background: var(--bg-raise);
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.06) brightness(0.92);
  border-bottom: 1px solid var(--rule);
}
.cast-caption {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 6px 6px;
}
.cast-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 10.5px;
  color: var(--ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  grid-column: 2;
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
}
.synopsis-para:first-child {
  padding-top: 0;
}
.synopsis-para:last-child {
  border-bottom: none;
}
.episode-status {
  grid-column: 3;
  min-width: 0;
}
.status-line {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 10px;
}
.status-detail {
  display: flex;
  gap: 18px;
}
.status-pair {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.status-key {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
}
.status-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--warm-ink);
  line-height: 1;
}
.details-panel {
  grid-column: 1 / -1;
  padding: 14px 0 0 !important;
  border-right: none !important;
  border-top: 1px solid var(--rule);
  margin-top: 4px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 20px;
  align-items: start;
}
.detail-pair {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  min-width: 52px;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
}
.timeline-section {
  padding-top: 6px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: 0;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-right: 1px solid var(--rule);
  min-width: 0;
  padding-bottom: 12px;
}
.timeline-node:last-child {
  border-right: none;
}
.node-face {
  padding: 10px 12px;
  min-width: 0;
}
.node-cool {
  background: linear-gradient(180deg, rgba(90, 125, 153, 0.16) 0%, rgba(43, 61, 77, 0.05) 100%);
  border-bottom: 1px solid var(--bg-deep);
  display: flex;
  justify-content: flex-end;
}
.node-timecode {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cool-ink);
  font-variant-numeric: tabular-nums;
}
.node-warm {
  background: linear-gradient(180deg, rgba(217, 164, 65, 0.13) 0%, rgba(138, 100, 32, 0.04) 100%);
  flex: 1 1 auto;
}
.node-label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.episodes-section {
  padding-top: 6px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 100%;
  padding: 12px 12px 10px;
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.episode-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cool) 0%, var(--warm) 100%);
  opacity: 0.7;
}
.episode-card:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg-deep);
}
.episode-card:hover .episode-title, .episode-card:hover .episode-number {
  color: var(--bg-deep);
}
.episode-card:hover .episode-summary, .episode-card:hover .episode-duration {
  color: #2a3340;
}
.episode-number {
  font-size: 30px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--cool-ink);
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}
.episode-summary {
  flex: 1 1 auto;
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--ink-dim);
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--warm-deep);
  padding-top: 6px;
  border-top: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
}
.episode-card:hover .episode-duration {
  border-top-color: #2a3340;
}
.comments-section {
  padding-top: 6px;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.comment-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--warm-ink);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.06em;
  line-height: 1.3;
  max-height: 100%;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  min-width: 0;
}
.recommend-region {
  padding-top: 6px;
  min-width: 0;
}
.recommend-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--warm-deep);
  width: fit-content;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 7px;
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.recommend-card:hover {
  border-color: var(--warm-deep);
  background: var(--bg-raise);
  transform: translateY(-2px);
}
.recommend-pic {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(0.85) contrast(1.05) brightness(0.92);
}
.recommend-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  padding: 20px clamp(12px, 2.4vw, 34px) 34px;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 88ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--cool-ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm-ink);
  border-bottom-color: var(--warm-deep);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  padding-right: 10px;
  border-right: 1px solid var(--rule);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--warm-ink);
  text-decoration: underline;
}
@media (max-width: 1180px) {.overview-blocks {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.overview-blocks > section {
    border-right: 1px solid var(--rule);
  }
.overview-blocks > section:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }
.episode-status {
    grid-column: 1 / -1;
    border-right: none !important;
    padding-left: 0 !important;
    border-top: 1px solid var(--rule);
    margin-top: 4px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
.hero-face-stack {
    max-width: 240px;
  }
.hero-meta-row {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-desc {
    max-width: 100%;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-item {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }}
@media (max-width: 680px) {body {
    font-size: 13px;
  }
.page-main {
    gap: 20px;
  }
.overview-blocks {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-blocks > section {
    border-right: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-bottom: 1px solid var(--rule);
  }
.overview-blocks > section:last-child, .details-panel {
    border-bottom: none;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.episode-number {
    font-size: 24px;
  }
.comment-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
.comment-nickname {
    writing-mode: horizontal-tb;
    color: var(--warm-ink);
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
.recommend-row, .recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.friend-links-label {
    border-right: none;
    padding-right: 0;
  }}
@media (max-width: 420px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(64px, 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}
