:root {
  --ink: #0a0e14;
  --ink-2: #10161f;
  --ink-3: #161e29;
  --cold: #1c2a3d;
  --cold-2: #24384f;
  --cold-line: #2e4257;
  --steel: #8ea3b8;
  --steel-dim: #5f7386;
  --paper: #d7e0e8;
  --paper-dim: #9dafbf;
  --gold: #b5903f;
  --gold-2: #d4ac5a;
  --gold-soft: rgba(181, 144, 63, 0.28);
  --gold-line: rgba(181, 144, 63, 0.45);
  --rain: rgba(142, 163, 184, 0.14);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  --fs-body: 13px;
  --fs-small: 11.5px;
  --fs-tiny: 10.5px;
  --gap: 10px;
  --gap-tight: 6px;
  --pad: 12px;
  --rule: 1px solid var(--cold-line);
  --radius: 4px;
  --radius-lg: 7px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
  padding: 0;
}
img, video {
  display: block;
  max-width: 100%;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, #0b1119 0%, #0a0e14 100%);
  border-bottom: var(--rule);
  box-shadow: 0 1px 0 rgba(181, 144, 63, 0.12);
}
.header-shell {
  display: flex;
  align-items: center;
  gap: var(--pad);
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1360px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  text-decoration: none;
  padding-right: 12px;
  border-right: 1px solid var(--gold-soft);
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand:hover {
  color: #e9c877;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: var(--fs-small);
  color: var(--steel);
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--gold-line);
  background: rgba(181, 144, 63, 0.08);
}
.page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 14px 26px;
  display: block;
}
.movie-overview {
  display: block;
  background: var(--ink-2);
  border: var(--rule);
  border-top: 2px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: var(--pad);
  margin-top: 12px;
}
.hero-poster-panel {
  position: relative;
  margin-bottom: var(--gap);
  border: var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: #060a10;
  align-self: start;
}
.hero-media-wrapper {
  position: relative;
  display: block;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
}
.hero-poster-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.86);
}
.hero-rain-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(96deg, rgba(190, 214, 236, 0.10) 0px, rgba(190, 214, 236, 0.10) 1px, transparent 1px, transparent 7px),
    repeating-linear-gradient(84deg, rgba(190, 214, 236, 0.07) 0px, rgba(190, 214, 236, 0.07) 1px, transparent 1px, transparent 13px),
    radial-gradient(120% 90% at 70% 18%, rgba(46, 88, 128, 0.42) 0%, rgba(10, 14, 20, 0) 62%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.05) 0%, rgba(6, 10, 16, 0.82) 100%);
  mix-blend-mode: screen;
}
.hero-silhouette {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 74%;
  height: 72%;
  pointer-events: none;
  background:
    radial-gradient(46% 60% at 62% 34%, rgba(9, 13, 19, 0.94) 0%, rgba(9, 13, 19, 0.72) 52%, rgba(9, 13, 19, 0) 78%),
    linear-gradient(200deg, rgba(9, 13, 19, 0) 40%, rgba(9, 13, 19, 0.9) 100%);
  filter: blur(1px);
}
.movie-details-bar {
  display: block;
}
.movie-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: #eaf1f7;
  border-bottom: 2px solid var(--gold-soft);
  padding-bottom: 5px;
  margin-bottom: 7px;
}
.movie-tagline {
  font-size: var(--fs-body);
  color: var(--gold-2);
  letter-spacing: 0.12em;
  border-left: 2px solid var(--gold);
  padding-left: 8px;
  margin-bottom: 8px;
}
.movie-seo-desc {
  font-size: var(--fs-small);
  line-height: 1.62;
  color: var(--paper-dim);
  margin-bottom: 10px;
}
.detail-keyvalue-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 3px 14px;
  padding: 9px 0 0;
  border-top: 1px dashed var(--cold-line);
}
.detail-pair {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px solid rgba(46, 66, 87, 0.5);
}
.detail-key {
  flex: 0 0 auto;
  font-size: var(--fs-tiny);
  letter-spacing: 0.16em;
  color: var(--steel-dim);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--fs-small);
  color: var(--paper);
  text-align: right;
}
.player-section {
  display: block;
  margin-top: var(--gap);
  padding-top: var(--gap);
  border-top: 1px solid var(--cold-line);
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05080d;
  border: 1px solid var(--cold-2);
  border-radius: var(--radius);
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.player-btn {
  font-size: var(--fs-tiny);
  letter-spacing: 0.1em;
  color: var(--steel);
  padding: 3px 9px;
  border: 1px solid var(--cold-line);
  border-radius: 2px;
  background: rgba(28, 42, 61, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.player-btn:hover {
  color: var(--paper);
  border-color: var(--gold-line);
}
.player-btn.is-active, .player-btn.is-active:hover {
  color: #0a0e14;
  background: var(--gold);
  border-color: var(--gold);
}
.player-section.theater-mode {
  background: #05080d;
}
.player-section.theater-mode .player-video {
  border-color: var(--gold-line);
}
body.lights-dim {
  background: #05080d;
}
body.lights-dim .hero-poster-img {
  filter: saturate(0.6) contrast(1.1) brightness(0.6);
}
.episode-status-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: var(--gap);
  padding: 6px 10px;
  background: linear-gradient(90deg, rgba(28, 42, 61, 0.7) 0%, rgba(16, 22, 31, 0.4) 100%);
  border: var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
}
.status-label {
  font-size: var(--fs-tiny);
  letter-spacing: 0.2em;
  color: var(--steel-dim);
}
.status-current {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--gold-2);
  letter-spacing: 0.06em;
}
.status-total {
  font-size: var(--fs-small);
  color: var(--steel);
  margin-left: auto;
}
.section-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #eaf1f7;
  padding-left: 9px;
  border-left: 3px solid var(--gold);
  margin-bottom: 8px;
  line-height: 1.2;
}
.cast-section {
  margin-top: var(--gap);
  padding-top: var(--gap);
  border-top: 1px solid var(--cold-line);
}
.cast-scroll-row {
  display: flex;
  gap: var(--gap-tight);
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cast-card {
  flex: 0 0 auto;
  width: 96px;
  scroll-snap-align: start;
  background: var(--ink-3);
  border: 1px solid var(--cold-line);
  border-radius: var(--radius);
  padding: 5px;
  transition: border-color 0.16s ease;
}
.cast-card:hover {
  border-color: var(--gold-line);
}
.cast-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 3px;
  background-color: #141b25;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.14) brightness(0.82);
  position: relative;
  overflow: hidden;
}
.cast-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(38% 22% at 50% 38%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 72%);
  mix-blend-mode: screen;
}
.cast-portrait-1 {
  background-image: linear-gradient(160deg, #2a3a4d 0%, #10161f 70%);
}
.cast-portrait-2 {
  background-image: linear-gradient(160deg, #33414f 0%, #0e131b 70%);
}
.cast-portrait-3 {
  background-image: linear-gradient(160deg, #263445 0%, #121821 70%);
}
.cast-portrait-4 {
  background-image: linear-gradient(160deg, #37414a 0%, #0d1219 70%);
}
.cast-portrait-5 {
  background-image: linear-gradient(160deg, #2c3b4d 0%, #151b25 70%);
}
.cast-portrait-6 {
  background-image: linear-gradient(160deg, #31404f 0%, #101620 70%);
}
.cast-name {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.05em;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: var(--fs-tiny);
  color: var(--steel-dim);
  letter-spacing: 0.04em;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-section {
  margin-top: var(--gap);
  padding-top: var(--gap);
  border-top: 1px solid var(--cold-line);
}
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--cold-line);
}
.synopsis-para {
  font-size: var(--fs-small);
  line-height: 1.66;
  color: var(--paper-dim);
  margin-bottom: 7px;
  break-inside: avoid;
  text-indent: 2em;
}
.synopsis-para:first-child::first-letter {
  color: var(--gold-2);
  font-weight: 700;
}
.timeline-section {
  margin-top: 14px;
}
.timeline-scroll {
  overflow-x: auto;
  padding: 4px 2px 10px;
  border-top: 1px solid var(--cold-line);
  border-bottom: 1px solid var(--cold-line);
  background: linear-gradient(180deg, rgba(28, 42, 61, 0.18) 0%, rgba(10, 14, 20, 0) 100%);
  -webkit-overflow-scrolling: touch;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 14px 4px 4px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 22px;
  height: 1px;
  background: var(--cold-line);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.node-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-bottom: 3px;
  position: relative;
  z-index: 1;
}
.node-dot-memory {
  background: var(--cold-2);
  border: 2px solid var(--steel);
  box-shadow: 0 0 0 3px var(--ink);
}
.node-dot-case {
  background: var(--gold);
  border: 2px solid var(--gold-2);
  box-shadow: 0 0 0 3px var(--ink);
}
.node-timecode {
  font-size: var(--fs-tiny);
  color: var(--steel-dim);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.node-label {
  font-size: var(--fs-small);
  color: var(--paper);
  line-height: 1.45;
}
.timeline-node-memory .node-label {
  color: var(--paper-dim);
}
.timeline-node-case .node-label {
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 1px;
}
.episodes-section {
  margin-top: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-tight);
}
.episode-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 9px;
  background: var(--ink-2);
  border: 1px solid var(--cold-line);
  border-left: 2px solid var(--cold-2);
  border-radius: 3px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
  border-left-color: var(--gold);
  background: var(--ink-3);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.42), 0 0 0 1px var(--gold-soft);
}
.episode-number {
  flex: 0 0 auto;
  min-width: 30px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-top: 1px;
}
.episode-body {
  min-width: 0;
  flex: 1 1 auto;
}
.episode-title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: #e6eef5;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.episode-summary {
  font-size: var(--fs-small);
  line-height: 1.52;
  color: var(--paper-dim);
  margin-top: 2px;
}
.episode-duration {
  display: inline-block;
  font-size: var(--fs-tiny);
  color: var(--steel-dim);
  letter-spacing: 0.1em;
  margin-top: 3px;
  padding-top: 2px;
  border-top: 1px solid rgba(46, 66, 87, 0.6);
}
.comments-section {
  margin-top: 14px;
}
.comments-masonry {
  columns: 2;
  column-gap: var(--gap-tight);
}
.comment-card {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 6px 8px;
  margin-bottom: var(--gap-tight);
  background: rgba(22, 30, 41, 0.72);
  border: 1px solid rgba(46, 66, 87, 0.7);
  border-radius: 3px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(140deg, #3b4c5e 0%, #1b242f 100%);
  border: 1px solid var(--cold-line);
  position: relative;
  overflow: hidden;
}
.comment-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 40% 32%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
}
.comment-body {
  min-width: 0;
  flex: 1 1 auto;
}
.comment-nickname {
  display: block;
  font-size: var(--fs-tiny);
  color: var(--gold-2);
  letter-spacing: 0.06em;
  margin-bottom: 1px;
}
.comment-text {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--paper-dim);
}
.recommend-region {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--cold-line);
}
.recommend-heading {
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e2eaf2;
  margin-bottom: 7px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold-soft);
  display: inline-block;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-tight);
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  background: var(--ink-2);
  border: 1px solid var(--cold-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.17s ease, border-color 0.17s ease, background 0.17s ease;
}
a.recommend-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
  background: var(--ink-3);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.7) contrast(1.06) brightness(0.84);
  transition: filter 0.17s ease;
}
a.recommend-card:hover img {
  filter: saturate(0.95) contrast(1.08) brightness(0.98);
}
[data-runtime="name"] {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="blurb"] {
  font-size: var(--fs-tiny);
  line-height: 1.45;
  color: var(--steel-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region-1 .recommend-heading {
  color: #eaf1f7;
}
.recommend-region-2 .recommend-heading {
  color: #cfdae4;
}
.recommend-region-3 .recommend-heading {
  color: #b3c2cf;
}
.recommend-region-4 .recommend-heading {
  color: #97a8b7;
}
.recommend-region-2 a.recommend-card {
  background: #131a24;
}
.recommend-region-3 a.recommend-card {
  background: #111720;
}
.recommend-region-4 a.recommend-card {
  background: #0f141c;
}
.site-footer {
  margin-top: 18px;
  background: #080c12;
  border-top: 1px solid var(--gold-soft);
}
.footer-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
}
.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: var(--fs-small);
  color: var(--steel);
  text-decoration: none;
  letter-spacing: 0.08em;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"] {
  color: var(--gold-2);
}
a[data-contract="footer-home"]:hover {
  color: #e9c877;
  border-bottom-color: var(--gold-line);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--paper);
  border-bottom-color: var(--cold-line);
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  flex: 1 1 auto;
  min-width: 0;
}
.friend-links-label {
  font-size: var(--fs-tiny);
  letter-spacing: 0.18em;
  color: var(--steel-dim);
  padding-right: 8px;
  border-right: 1px solid var(--cold-line);
}
a.runtime-friend-link {
  font-size: var(--fs-tiny);
  color: var(--steel-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold-2);
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-underline-offset: 3px;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: var(--fs-tiny);
  line-height: 1.55;
  color: #4f6070;
  padding-top: 8px;
  border-top: 1px solid rgba(46, 66, 87, 0.5);
}
@media (min-width: 760px) {.movie-overview {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    grid-template-areas:
      "hero details"
      "player player"
      "status status"
      "cast cast"
      "synopsis synopsis";
    gap: var(--gap) 16px;
    align-items: start;
    padding: 14px;
  }
.hero-poster-panel {
    grid-area: hero;
    margin-bottom: 0;
    align-self: start;
  }
.hero-media-wrapper {
    max-width: none;
  }
.movie-details-bar {
    grid-area: details;
  }
.player-section {
    grid-area: player;
    margin-top: 0;
  }
.episode-status-bar {
    grid-area: status;
    margin-top: 0;
  }
.cast-section {
    grid-area: cast;
    margin-top: 0;
    padding-top: var(--gap);
  }
.synopsis-section {
    grid-area: synopsis;
    margin-top: 0;
  }
.movie-title {
    font-size: 26px;
  }}
@media (min-width: 1020px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-card {
    width: 108px;
  }}
@media (min-width: 1280px) {.episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.comments-masonry {
    columns: 3;
  }}
@media (max-width: 900px) {.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.page-main {
    padding: 0 10px 20px;
  }
.header-shell {
    padding: 7px 10px;
    gap: 8px;
  }
.movie-overview {
    padding: 10px;
  }
.hero-media-wrapper {
    max-width: 100%;
  }
.movie-title {
    font-size: 19px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.comments-masonry {
    columns: 1;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-shell {
    padding: 10px 10px 18px;
  }}
@media (max-width: 520px) {.episode-grid {
    grid-template-columns: 1fr;
  }
.detail-keyvalue-list {
    grid-template-columns: 1fr;
  }
.recommend-grid {
    grid-template-columns: 1fr;
  }
.status-total {
    margin-left: 0;
  }
.footer-friend-links {
    flex: 1 1 100%;
  }}

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}
