:root {
  --ink: #0d131b;
  --ink-2: #121a24;
  --panel: #172230;
  --panel-2: #1b2837;
  --line: #2b3a4d;
  --line-soft: #243244;
  --text: #c3cfdd;
  --text-dim: #7c8ca1;
  --text-mute: #5d6d81;
  --amber: #d99a2b;
  --amber-soft: #e8b457;
  --amber-deep: #a8721a;
  --amber-glow: rgba(217, 154, 43, 0.16);
  --radius: 4px;
  --gap: 10px;
  --gap-tight: 6px;
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", "Source Han Sans SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink);
  background-image: linear-gradient(180deg, #101a26 0%, #0d131b 42%, #0b1017 100%);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.42;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, dl, dd, dt, figure, figcaption, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 19, 27, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 12px;
}
.site-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e6eef8;
  white-space: nowrap;
  border-left: 3px solid var(--amber);
  padding-left: 7px;
  line-height: 1.1;
}
a[data-contract="site-name"] {
  color: #e6eef8;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--amber-soft);
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(27, 40, 55, 0.5);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--amber-soft);
  border-color: var(--amber-deep);
  background: var(--amber-glow);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #dbe6f2;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  line-height: 1.2;
}
.section-heading::before {
  content: "";
  flex: none;
  width: 3px;
  height: 12px;
  background: var(--amber);
  display: block;
}
.hero {
  position: relative;
}
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0f15;
}
.hero-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}
.hero-portrait-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 62vh;
  object-fit: cover;
  object-position: 32% 22%;
  filter: saturate(0.72) contrast(1.06) brightness(0.92);
  display: block;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0) 34%, rgba(8, 12, 18, 0.72) 62%, rgba(8, 12, 18, 0.96) 100%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.5) 0%, rgba(8, 12, 18, 0) 30%, rgba(8, 12, 18, 0.92) 100%);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(217, 154, 43, 0) 55%, rgba(217, 154, 43, 0.1) 78%, rgba(217, 154, 43, 0) 100%);
  mix-blend-mode: screen;
}
.hero-tagline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: linear-gradient(180deg, rgba(9, 13, 19, 0) 0%, rgba(9, 13, 19, 0.88) 62%, rgba(9, 13, 19, 0.97) 100%);
  line-height: 1.3;
}
.tagline-text {
  font-size: clamp(16px, 3.4vw, 27px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f1f5fa;
  max-width: 22ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  border-left: 3px solid var(--amber);
  padding-left: 10px;
}
.hero-player {
  position: relative;
  width: 100%;
  background: #070a0e;
  border-top: 1px solid var(--line);
  display: block;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 7px 9px;
  background: var(--panel);
  border-top: 1px solid var(--line-soft);
}
.player-btn {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 9px;
  cursor: pointer;
  transition: color 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}
.player-btn:hover {
  color: var(--amber-soft);
  border-color: var(--amber-deep);
}
.player-btn.is-active, .player-btn:active {
  color: #12161c;
  background: var(--amber);
  border-color: var(--amber-soft);
}
.player-field {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 130px;
  min-width: 100px;
  font-size: 11px;
  color: var(--text-mute);
}
.player-field-label {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}
.player-field input[type="range"] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.player-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
  cursor: pointer;
}
.player-field input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
}
.player-field-speed {
  flex: 0 1 auto;
  min-width: 0;
}
.player-field select {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font-size: 11px;
  padding: 3px 4px;
  cursor: pointer;
}
body.is-lights-dim {
  background-image: linear-gradient(180deg, #070a0f 0%, #06080c 100%);
}
body.is-lights-dim .page-main {
  opacity: 0.86;
}
body.is-lights-dim .hero-portrait-img {
  filter: saturate(0.6) contrast(1.1) brightness(0.72);
}
.hero-player.is-theater {
  box-shadow: 0 0 0 2px var(--amber-deep), 0 12px 34px rgba(0, 0, 0, 0.6);
}
.overview-section {
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.overview-poster-column {
  display: block;
  align-self: start;
}
.poster-frame {
  display: block;
  width: 100%;
  background: #0a0f15;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
  line-height: 0;
}
.poster-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.overview-info-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.overview-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.movie-title {
  font-size: clamp(21px, 3.6vw, 32px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: #f2f6fb;
}
.movie-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--amber-soft);
  letter-spacing: 0.04em;
  padding-left: 8px;
  border-left: 2px solid var(--amber-deep);
}
.movie-seo {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 68ch;
}
.cast-section {
  display: flex;
  flex-direction: column;
}
.cast-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.cast-chip {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}
.cast-chip:hover {
  color: #12161c;
  background: var(--amber-soft);
  border-color: var(--amber-soft);
}
.synopsis-section {
  display: flex;
  flex-direction: column;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 8px;
  border-left: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.62;
  color: var(--text);
  max-width: 74ch;
}
.episode-status, .details-section {
  display: flex;
  flex-direction: column;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  flex: 0 1 auto;
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 4px 9px;
}
.status-key {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}
.status-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-soft);
  letter-spacing: 0.02em;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
  background: var(--panel-2);
  padding: 4px 8px;
  min-width: 0;
}
.detail-key {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}
.detail-value {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.timeline-scroller {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 2px 14px;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--line-soft);
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  position: relative;
  padding-top: 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-soft), var(--line) 50%, var(--line-soft));
}
.timeline-node {
  position: relative;
  flex: none;
  width: 158px;
  padding: 0 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.node-marker {
  position: absolute;
  top: -14px;
  left: 0;
  width: 11px;
  height: 15px;
  background: var(--text-mute);
  border-radius: 0 0 50% 50% / 0 0 72% 72%;
  transform: rotate(180deg);
  border: 1px solid var(--line);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.node-timecode {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.node-label {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-mute);
}
.timeline-node.is-active .node-marker {
  background: var(--amber);
  border-color: var(--amber-soft);
  box-shadow: 0 0 0 3px var(--amber-glow), 0 0 10px rgba(217, 154, 43, 0.5);
}
.timeline-node.is-active .node-timecode {
  color: var(--amber-soft);
}
.timeline-node.is-active .node-label {
  color: var(--text);
}
.timeline-node:hover .node-marker {
  background: var(--amber-soft);
}
.episodes-section {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
}
.episode-card {
  background: var(--panel);
  min-width: 0;
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  min-height: 100%;
  transition: background-color 0.14s ease;
}
.episode-card:hover .episode-body {
  background: var(--panel-2);
}
.episode-title {
  font-size: 12px;
  font-weight: 700;
  color: #e2eaf4;
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.episode-number {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber-soft);
  background: rgba(217, 154, 43, 0.1);
  border: 1px solid rgba(217, 154, 43, 0.32);
  border-radius: 2px;
  padding: 0 4px;
  line-height: 1.5;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.18s ease, opacity 0.18s ease;
}
.episode-card:hover .episode-duration {
  max-height: 20px;
  opacity: 1;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: 3;
  color: var(--text);
}
.rec-region {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.rec-grid {
  display: grid;
  gap: var(--gap);
  align-items: start;
}
.rec-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rec-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rec-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.rec-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 5px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
a.rec-card:hover {
  border-color: var(--amber-deep);
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;
}
[data-runtime="recommendation"] img, .rec-card .rec-pic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0a0f15;
  border-radius: 2px;
}
.rec-region-1 [data-runtime="recommendation"] img {
  aspect-ratio: 16 / 9;
}
.rec-region-2 [data-runtime="recommendation"] img {
  aspect-ratio: 3 / 4;
}
.rec-region-3 [data-runtime="recommendation"] img {
  aspect-ratio: 1 / 1;
}
.rec-region-4 [data-runtime="recommendation"] img {
  aspect-ratio: 21 / 9;
}
.rec-name {
  font-size: 11px;
  font-weight: 700;
  color: #e2eaf4;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 10px;
  line-height: 1.45;
  color: var(--text-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.rec-card:hover .rec-name {
  color: var(--amber-soft);
}
.rec-region-4 .rec-grid-3 {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
}
.comments-section {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.comment-waterfall {
  column-count: 2;
  column-gap: var(--gap);
  column-fill: balance;
}
.comment-card {
  break-inside: avoid;
  display: block;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  border-radius: 2px;
  padding: 7px 9px;
  margin: 0 0 var(--gap);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.comment-card:hover {
  border-left-color: var(--amber);
  background: var(--panel-2);
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--amber-soft);
  margin-bottom: 3px;
  line-height: 1.3;
}
.comment-text {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-dim);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #0a1017;
  margin-top: 4px;
}
.site-footer {
  max-width: none;
  padding: 12px;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 9px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-mute);
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
a.footer-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 3px 9px;
  background: var(--panel);
  transition: color 0.14s ease, border-color 0.14s ease;
}
a.footer-link:hover {
  color: var(--amber-soft);
  border-color: var(--amber-deep);
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: var(--text-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-mute);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.14s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber-soft);
  text-decoration: underline;
}
@media (max-width: 900px) {.overview-section {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 12px;
    padding: 11px;
  }
.rec-grid-5, .rec-grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-region-4 .rec-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 12.5px;
  }
.header-bar {
    padding: 6px 10px;
    gap: 8px;
  }
.page-main {
    padding: 8px 10px 16px;
    gap: 10px;
  }
.overview-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }
.overview-poster-column {
    max-width: 190px;
  }
.hero-portrait-img {
    min-height: 200px;
    max-height: 46vh;
  }
.player-controls {
    gap: 5px 6px;
    padding: 6px 7px;
  }
.player-field {
    flex: 1 1 100%;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid-3, .rec-grid-4, .rec-grid-5, .rec-grid-6, .rec-region-4 .rec-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-waterfall {
    column-count: 1;
  }
.detail-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }}
@media (max-width: 400px) {.rec-grid-3, .rec-grid-4, .rec-grid-5, .rec-grid-6, .rec-region-4 .rec-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.overview-poster-column {
    max-width: 150px;
  }
.detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }}

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}
