:root {
  --night: #0b1626;
  --night-2: #111f33;
  --night-3: #17293f;
  --night-4: #1e3550;
  --amber: #f0b429;
  --amber-soft: #f7d472;
  --amber-glow: rgba(240, 180, 41, 0.55);
  --ash: #c7ced8;
  --ash-dim: #8b96a5;
  --ash-faint: #5d6a7a;
  --line: rgba(199, 206, 216, 0.16);
  --line-strong: rgba(199, 206, 216, 0.3);
  --gap: 14px;
  --gap-tight: 10px;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--ash);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, dt, ul, li {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: var(--amber);
  color: var(--night);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 22, 38, 0.92);
  backdrop-filter: blur(10px);
  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: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}
a[data-contract="site-name"]::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber-glow);
  vertical-align: 1px;
}
.category-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--ash-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--night);
  background: var(--amber);
  border-color: var(--amber);
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 24px;
}
.page-main > section {
  margin-top: 18px;
}
.section-heading, .recommend-heading, .block-heading {
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ffffff;
}
.section-heading {
  font-size: 16px;
  padding-bottom: 6px;
  margin-bottom: var(--gap-tight);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber-glow);
}
.block-heading {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--amber-soft);
  margin-bottom: 8px;
}
.hero {
  position: relative;
  margin-top: 0 !important;
  overflow: hidden;
  background: var(--night-2);
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: relative;
  height: clamp(320px, 58vh, 560px);
  overflow: hidden;
}
.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.72) contrast(1.06) brightness(0.82);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 22, 38, 0.92) 0%, rgba(11, 22, 38, 0.42) 42%, rgba(11, 22, 38, 0.05) 72%),
    linear-gradient(0deg, rgba(11, 22, 38, 0.96) 0%, rgba(11, 22, 38, 0) 46%),
    radial-gradient(ellipse at 78% 30%, rgba(240, 180, 41, 0.22), rgba(240, 180, 41, 0) 62%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  padding: 20px 26px 44px;
  pointer-events: none;
}
.hero-title-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(30px, 5.4vw, 62px);
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 26px rgba(11, 22, 38, 0.9), 0 0 46px var(--amber-glow);
}
.hero-slogan {
  max-width: 15em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(11px, 1.35vw, 14px);
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.9;
  color: var(--amber-soft);
  text-shadow: 0 0 18px rgba(11, 22, 38, 0.95);
  border-left: 1px solid rgba(247, 212, 114, 0.4);
}
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(3px, 0.9vw, 8px);
  height: 44px;
  padding: 0 16px 8px;
  pointer-events: none;
}
.wave-line {
  display: block;
  flex: 0 0 auto;
  width: 2px;
  height: 18%;
  background: linear-gradient(180deg, var(--amber) 0%, rgba(240, 180, 41, 0.15) 100%);
  transform-origin: bottom center;
  animation: wave-pulse 1.9s ease-in-out infinite;
}
.wave-line:nth-child(1) { animation-delay: 0s; }
.wave-line:nth-child(2) { animation-delay: 0.14s; }
.wave-line:nth-child(3) { animation-delay: 0.28s; }
.wave-line:nth-child(4) { animation-delay: 0.42s; }
.wave-line:nth-child(5) { animation-delay: 0.56s; }
.wave-line:nth-child(6) { animation-delay: 0.7s; }
.wave-line:nth-child(7) { animation-delay: 0.84s; }
.wave-line:nth-child(8) { animation-delay: 0.98s; }
.wave-line:nth-child(9) { animation-delay: 1.12s; }
.wave-line:nth-child(10) { animation-delay: 1.26s; }
.wave-line:nth-child(11) { animation-delay: 1.4s; }
.wave-line:nth-child(12) { animation-delay: 1.54s; }
@keyframes wave-pulse {
  0%, 100% { height: 14%; opacity: 0.55; }
  50% { height: 92%; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {.wave-line { animation: none; height: 40%; }
html { scroll-behavior: auto; }}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 16px;
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  border: 1px solid var(--line);
}
.overview-poster-wrap {
  align-self: start;
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--night-3);
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.overview-title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: #ffffff;
}
.overview-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--amber-soft);
  padding-left: 10px;
  border-left: 2px solid var(--amber);
}
.overview-synopsis-lead {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ash);
  max-width: 62ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.status-item {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  color: var(--ash);
  border: 1px solid var(--line-strong);
  background: rgba(23, 41, 63, 0.6);
  white-space: nowrap;
}
.status-score {
  color: var(--night);
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 700;
}
.overview-player-shell {
  position: relative;
  width: 100%;
  background: #05090f;
  border: 1px solid var(--line-strong);
}
.movie-player {
  width: 100%;
  height: auto;
  display: block;
  background: #05090f;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  background: rgba(5, 9, 15, 0.9);
  border-top: 1px solid var(--line);
}
.player-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  color: var(--ash-dim);
  border: 1px solid var(--line);
  background: transparent;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.player-btn:hover {
  color: var(--night);
  background: var(--amber-soft);
  border-color: var(--amber-soft);
}
.player-btn.is-active {
  color: var(--night);
  background: var(--amber);
  border-color: var(--amber);
}
.player-btn.click {
  transform: translateY(1px);
}
.player-shell.is-theater, .overview-player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--amber), 0 0 40px rgba(240, 180, 41, 0.25);
}
body.lights-off {
  background: #04070c;
}
body.lights-off .site-header, body.lights-off .site-footer {
  opacity: 0.35;
}
.cast-block, .synopsis-block, .details-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.cast-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 6px 10px 6px 6px;
  background: rgba(23, 41, 63, 0.55);
  border: 1px solid var(--line);
  min-width: 168px;
  flex: 0 1 auto;
}
.cast-avatar {
  grid-row: 1 / span 3;
  width: 34px;
  height: 34px;
  background:
    radial-gradient(circle at 34% 30%, rgba(240, 180, 41, 0.85), rgba(240, 180, 41, 0) 60%),
    linear-gradient(160deg, var(--night-4), var(--night));
  border: 1px solid var(--line-strong);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: rgba(199, 206, 216, 0.35);
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.cast-role {
  font-size: 11.5px;
  color: var(--amber-soft);
  line-height: 1.3;
}
.cast-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--ash-faint);
  line-height: 1.3;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ash);
  max-width: 74ch;
}
.synopsis-para + .synopsis-para {
  margin-top: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}
.detail-key {
  flex: 0 0 74px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ash-faint);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ash);
}
.timeline-track {
  display: flex;
  gap: var(--gap-tight);
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--night-4) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(23, 41, 63, 0.5);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--night-4);
}
.timeline-card {
  position: relative;
  flex: 0 0 clamp(200px, 24vw, 250px);
  scroll-snap-align: start;
  padding: 12px 12px 12px 16px;
  background: var(--night-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--amber), rgba(240, 180, 41, 0));
}
.timeline-pulse {
  display: block;
  width: 100%;
  height: 18px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--amber) 0px,
      var(--amber) 2px,
      transparent 2px,
      transparent 5px,
      rgba(240, 180, 41, 0.5) 5px,
      rgba(240, 180, 41, 0.5) 6px,
      transparent 6px,
      transparent 10px
    );
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
  opacity: 0.85;
}
.timeline-timecode {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.timeline-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ash);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-tight);
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px;
  background: var(--night-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-color: var(--line-strong);
  background: var(--night-3);
}
.episode-number {
  position: absolute;
  top: -6px;
  left: 6px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(240, 180, 41, 0.9);
  text-shadow: 0 0 18px rgba(11, 22, 38, 0.95), 0 2px 0 rgba(11, 22, 38, 0.8);
  pointer-events: none;
}
.episode-thumb {
  grid-column: 1;
  width: 96px;
  height: 62px;
  margin-top: 14px;
  background:
    linear-gradient(135deg, rgba(240, 180, 41, 0.28), rgba(240, 180, 41, 0) 55%),
    repeating-linear-gradient(180deg, rgba(199, 206, 216, 0.08) 0 1px, transparent 1px 4px),
    linear-gradient(160deg, var(--night-4), #0a1422);
  border: 1px solid var(--line);
}
.episode-meta {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 12px;
}
.episode-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ash-dim);
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ash-faint);
}
.recommend-region {
  padding: 12px;
  background: var(--night-2);
  border: 1px solid var(--line);
}
.recommend-heading {
  font-size: 13.5px;
  padding-bottom: 6px;
  margin-bottom: var(--gap-tight);
  border-bottom: 1px solid var(--line);
}
.recommend-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
a.recommend-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 6px;
  color: var(--ash);
  text-decoration: none;
  background: rgba(23, 41, 63, 0.4);
  border-left: 2px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
a.recommend-item:hover {
  background: var(--night-3);
  border-left-color: var(--amber);
  color: #ffffff;
}
.recommend-thumb {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--night-4);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  filter: saturate(0.78) contrast(1.04);
  transition: filter 0.2s ease, transform 0.3s ease;
}
a.recommend-item:hover img {
  filter: saturate(1) contrast(1.06);
  transform: scale(1.03);
}
.recommend-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ash-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-columns {
  column-count: 3;
  column-gap: var(--gap-tight);
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: var(--gap-tight);
  padding: 10px 12px;
  background: var(--night-2);
  border: 0;
}
.comment-card:nth-child(3n/**/+2) {
  background: var(--night-3);
}
.comment-card:nth-child(3n) {
  background: rgba(23, 41, 63, 0.72);
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--amber-soft);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ash);
}
.site-footer {
  margin-top: 22px;
  background: #08111d;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a.footer-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ash-dim);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.footer-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
a[data-contract="footer-home"] {
  color: var(--ash);
}
a[data-contract="footer-sitemap"] {
  color: var(--ash-faint);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ash-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ash-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber-soft);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: var(--ash-faint);
  max-width: 78ch;
}
@media (max-width: 960px) {.movie-overview {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  }
.comments-columns {
    column-count: 2;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0 12px 20px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.overview-poster-wrap {
    max-width: 190px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-overlay {
    padding: 16px 16px 40px;
  }
.hero-title-vertical {
    letter-spacing: 0.12em;
  }
.hero-slogan {
    max-width: 10em;
    letter-spacing: 0.18em;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    flex: 1 1 160px;
    min-width: 0;
  }}
@media (max-width: 560px) {.comments-columns {
    column-count: 1;
  }
.episode-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }
.episode-thumb {
    width: 82px;
    height: 54px;
  }
a.recommend-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
.timeline-card {
    flex: 0 0 76vw;
  }
.header-inner {
    padding: 8px 12px;
  }}

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}
