:root {
  --ink: #0b0f12;
  --ink-2: #10161b;
  --ink-3: #151d24;
  --line: #1e2a33;
  --line-2: #2a3945;
  --stone: #4f7d8c;
  --stone-soft: #6f9dab;
  --gold: #b8923f;
  --gold-bright: #d6ab52;
  --gold-dim: #7a6029;
  --rune: #3fc7e8;
  --text: #c6d2d8;
  --text-dim: #7d8f99;
  --text-faint: #56666f;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  background-image:
    linear-gradient(180deg, #0a0e11 0%, #0b0f12 40%, #0a0e11 100%),
    repeating-linear-gradient(90deg, rgba(79, 125, 140, 0.05) 0 1px, transparent 1px 64px);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.02em;
}
h1, h2, h3, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 17, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--rune);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 4px 10px;
  color: var(--stone-soft);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(79, 125, 140, 0.08), rgba(79, 125, 140, 0.02));
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--stone-soft);
  border-color: var(--stone-soft);
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}
.section-heading, .group-heading, .region-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--stone-soft);
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.section-heading::before {
  content: "";
  display: block;
  width: 4px;
  height: 15px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(184, 146, 63, 0.5);
}
.group-heading {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
  padding-left: 8px;
  border-left: 2px solid var(--gold-dim);
}
.overview-section {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 8px;
  padding: 16px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(63, 199, 232, 0.04), 0 0 24px rgba(0, 0, 0, 0.5);
}
.overview-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line-2);
  background: var(--ink-3);
  padding: 3px;
}
.overview-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 3px;
  pointer-events: none;
  border: 1px solid rgba(63, 199, 232, 0.18);
}
.overview-poster-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.movie-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #e6eef2;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(79, 125, 140, 0.35);
}
.movie-tagline {
  font-size: 13px;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 3px solid var(--gold-dim);
}
.cast-group, .synopsis-group, .episode-status-group, .details-group {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 5px;
  background: rgba(79, 125, 140, 0.07);
  border: 1px solid var(--line-2);
}
.cast-avatar {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 3px, var(--rune) 3px 4px, transparent 4px),
    linear-gradient(90deg, transparent 46%, var(--stone) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, var(--stone) 46% 54%, transparent 54%);
  border: 1px solid var(--stone);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: 0.85;
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: #d3dde2;
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  color: var(--text-faint);
  white-space: nowrap;
}
.cast-role::before {
  content: "·";
  margin-right: 3px;
  color: var(--gold-dim);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text);
  margin-bottom: 8px;
  text-align: justify;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status-line {
  font-size: 13px;
  color: var(--rune);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(42, 57, 69, 0.7);
  min-width: 0;
}
.detail-key {
  flex: 0 0 4.2em;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
.detail-value {
  font-size: 12px;
  color: #bccbd3;
  min-width: 0;
  word-break: break-word;
}
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  padding: 14px;
  background:
    linear-gradient(120deg, rgba(79, 125, 140, 0.14), transparent 38%),
    linear-gradient(180deg, var(--ink-2), #0a0e11);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 33%;
  height: 100%;
  background: linear-gradient(90deg, rgba(63, 199, 232, 0.05), transparent);
  pointer-events: none;
}
.hero-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
}
.hero-scale {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-scale-item {
  position: relative;
  padding: 6px 8px 6px 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  border-left: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(30, 42, 51, 0.35), transparent);
}
.hero-scale-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 9px;
  height: 1px;
  background: var(--line-2);
}
.hero-scale-num {
  display: block;
  white-space: nowrap;
}
.hero-current {
  margin-top: auto;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  white-space: nowrap;
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #05080a;
  border: 1px solid var(--line-2);
}
.hero-player-wrap video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: var(--ink-3);
  border-top: 1px solid var(--line);
}
.player-btn {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--stone-soft);
  background: rgba(79, 125, 140, 0.08);
  border: 1px solid var(--line-2);
  transition: background 0.15s, color 0.15s;
}
.player-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.player-btn.is-active, .player-btn.is-playing, .player-btn.is-muted {
  color: var(--ink);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}
.player-progress {
  flex: 1 1 140px;
  min-width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--rune) 0%, var(--rune) var(--p, 0%), var(--line-2) var(--p, 0%));
  border: 0;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--gold-bright);
  border: 0;
}
.player-progress::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border: 0;
  border-radius: 0;
  background: var(--gold-bright);
}
.player-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line-2);
  border: 0;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 12px;
  background: var(--stone-soft);
  border: 0;
}
.player-volume::-moz-range-thumb {
  width: 8px;
  height: 12px;
  border: 0;
  border-radius: 0;
  background: var(--stone-soft);
}
.player-speed {
  padding: 4px 6px;
  font-size: 12px;
  color: var(--stone-soft);
  background: rgba(79, 125, 140, 0.08);
  border: 1px solid var(--line-2);
  border-radius: 0;
}
.hero-player-wrap.is-theater {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 1px rgba(184, 146, 63, 0.35), 0 0 30px rgba(63, 199, 232, 0.12);
}
body.is-light-on {
  --ink: #05080a;
}
.timeline-section {
  margin-top: 20px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 4px 18px;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(30, 42, 51, 0.5) 0 1px, transparent 1px 48px),
    linear-gradient(180deg, rgba(16, 22, 27, 0.6), transparent);
  scrollbar-width: thin;
  scrollbar-color: var(--stone) var(--ink-3);
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: var(--ink-3);
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--stone);
}
.timeline-list {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), var(--gold-dim) 55%, var(--line-2));
}
.timeline-item {
  position: relative;
  flex: 0 0 190px;
  width: 190px;
  padding: 30px 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.timeline-tick {
  position: absolute;
  top: 8px;
  left: 0;
  width: 1px;
  height: 12px;
  background: var(--stone);
}
.timeline-tick::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -2px;
  width: 5px;
  height: 5px;
  background: var(--stone);
  transform: rotate(45deg);
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--stone-soft);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
}
.timeline-item-active .timeline-tick {
  background: var(--gold-bright);
  height: 16px;
}
.timeline-item-active .timeline-tick::after {
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(214, 171, 82, 0.8);
}
.timeline-item-active .timeline-timecode {
  color: var(--gold-bright);
}
.timeline-item-active .timeline-label {
  color: #d5c9a4;
}
.episodes-section {
  margin-top: 20px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-2);
  min-width: 0;
}
.episode-card:hover {
  border-left-color: var(--stone);
  background: var(--ink-3);
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #d3dde2;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.episode-duration {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 150px;
  opacity: 1;
  margin-top: 4px;
}
.episode-card-active {
  background: linear-gradient(180deg, rgba(184, 146, 63, 0.14), rgba(184, 146, 63, 0.03));
  border-color: var(--gold-dim);
  border-left-color: var(--gold-bright);
}
.episode-card-active .episode-title {
  color: var(--gold-bright);
}
.episode-card-active .episode-summary {
  max-height: 150px;
  opacity: 1;
  margin-top: 4px;
}
.comments-section {
  margin-top: 20px;
}
.comments-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.comments-long, .comments-short {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  padding: 9px 11px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  min-width: 0;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--stone-soft);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text);
}
.comment-card-long {
  border-left: 2px solid var(--stone);
}
.comment-card-long .comment-text {
  font-size: 13px;
}
.comment-card-short {
  border-left: 2px solid var(--gold-dim);
  padding: 7px 10px;
}
.comment-card-short .comment-nickname {
  color: var(--gold);
  font-size: 11px;
}
.comment-card-short .comment-text {
  font-size: 12px;
  color: var(--text-dim);
}
.recommend-region {
  margin-top: 20px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.region-heading {
  display: block;
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 2px solid var(--rune);
  color: var(--stone-soft);
  font-size: 13px;
}
.recommend-region .recommend-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.recommend-region-1 .recommend-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}
.recommend-region-2 .recommend-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
}
.recommend-region-3 .recommend-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.recommend-region-4 .recommend-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.3fr);
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
a.recommend-card:hover {
  border-color: var(--gold-dim);
  background: var(--ink-3);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: var(--ink-3);
  filter: saturate(0.88) contrast(1.05);
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: #d3dde2;
  letter-spacing: 0.03em;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.recommend-card:hover .recommend-name {
  color: var(--gold-bright);
}
.site-footer {
  margin-top: 34px;
  border-top: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--ink-2), #070a0c);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.footer-friends-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-right: 4px;
}
a.runtime-friend-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--rune);
  border-bottom-color: var(--rune);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a.footer-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
a[data-contract="footer-home"] {
  color: var(--stone-soft);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--gold);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--rune);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 900px;
}
@media (max-width: 1024px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-region-3 .recommend-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.overview-section {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 16px;
  }
.hero-section {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-rail {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-2);
    padding-top: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
.hero-scale {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
.hero-scale-item {
    flex: 0 0 auto;
    padding: 4px 8px 4px 12px;
    border-left: 1px solid var(--line);
  }
.hero-current {
    margin-top: 0;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-region-1 .recommend-grid, .recommend-region-2 .recommend-grid, .recommend-region-4 .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-region-3 .recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 620px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 12px 12px 30px;
  }
.header-inner {
    padding: 8px 12px;
  }
.overview-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.overview-poster-wrap {
    max-width: 220px;
  }
.movie-title {
    font-size: 21px;
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 10px;
  }
.detail-key {
    flex: 0 0 3.6em;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card .episode-summary {
    max-height: 150px;
    opacity: 1;
    margin-top: 4px;
  }
.recommend-region-1 .recommend-grid, .recommend-region-2 .recommend-grid, .recommend-region-3 .recommend-grid, .recommend-region-4 .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-inner {
    padding: 14px 12px 22px;
  }}
@media (max-width: 420px) {.recommend-region-1 .recommend-grid, .recommend-region-2 .recommend-grid, .recommend-region-3 .recommend-grid, .recommend-region-4 .recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 4px;
  }
.player-btn {
    padding: 4px 7px;
    font-size: 11px;
  }}

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}
