:root {
  --abyss: #0d1620;
  --deep-sea: #16232f;
  --slate: #1e2f3d;
  --mist: #7d95a6;
  --fog: #a8bcc9;
  --pale: #d6e2ea;
  --amber: #e8a33d;
  --ember: #c97b2a;
  --sunset: #f0b96b;
  --foam: #eef4f8;
  --text-body: #b9c9d4;
  --text-dim: #6e8595;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --gap-tight: 8px;
  --gap: 12px;
  --gap-wide: 20px;
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-stack);
  background-color: var(--abyss);
  color: var(--text-body);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--fog);
  text-decoration: none;
  transition: color 0.2s ease;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(13, 22, 32, 0.96), rgba(13, 22, 32, 0.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(125, 149, 166, 0.15);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}
a[data-contract="site-name"] {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--sunset);
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--fog);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid rgba(125, 149, 166, 0.28);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
a.runtime-category:hover {
  color: var(--abyss);
  background: var(--amber);
  border-color: var(--amber);
  text-decoration: none;
}
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.movie-overview {
  position: relative;
  padding-top: 20px;
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: var(--gap-wide);
  align-items: start;
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(232, 163, 61, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(125, 149, 166, 0.12), transparent 65%),
    linear-gradient(165deg, var(--deep-sea) 0%, var(--abyss) 55%, #0a1219 100%);
  border-radius: var(--radius-lg);
  padding: var(--gap-wide);
  overflow: hidden;
}
.overview-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(13, 22, 32, 0.85) 100%),
    repeating-linear-gradient(
      92deg,
      transparent 0,
      transparent 38px,
      rgba(232, 163, 61, 0.025) 38px,
      rgba(232, 163, 61, 0.025) 39px
    );
  pointer-events: none;
  z-index: 1;
}
.poster-column {
  position: relative;
  z-index: 2;
  align-self: start;
}
.poster-image {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(232, 163, 61, 0.25);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(125, 149, 166, 0.1);
  background: var(--slate);
}
.overview-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.movie-title {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 700;
  color: var(--foam);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 18px rgba(232, 163, 61, 0.2);
}
.movie-tagline {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--amber);
  letter-spacing: 0.05em;
  padding-left: 10px;
  border-left: 2px solid var(--ember);
}
.movie-seo {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.55;
  max-width: 62ch;
}
.player-shell {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(125, 149, 166, 0.2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(13, 22, 32, 0.92), rgba(13, 22, 32, 0.98));
  border-top: 1px solid rgba(125, 149, 166, 0.15);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--fog);
  background: rgba(30, 47, 61, 0.8);
  border: 1px solid rgba(125, 149, 166, 0.22);
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: var(--abyss);
  background: var(--amber);
  border-color: var(--amber);
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  color: var(--abyss);
  background: var(--amber);
  border-color: var(--amber);
}
.ctrl-btn.is-muted {
  color: var(--ember);
  border-color: var(--ember);
}
.ctrl-range {
  flex: 1 1 80px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(125, 149, 166, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
  cursor: pointer;
}
.ctrl-select {
  flex: 0 0 auto;
  padding: 5px 8px;
  font-size: 0.72rem;
  color: var(--fog);
  background: rgba(30, 47, 61, 0.8);
  border: 1px solid rgba(125, 149, 166, 0.22);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.player-shell.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 200;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.player-shell.theater-mode .player-video {
  max-height: 82vh;
  object-fit: contain;
}
.player-shell.lights-off {
  background: #000;
}
.player-shell.lights-off .player-controls {
  opacity: 0.35;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--pale);
  padding: 3px 10px;
  background: rgba(30, 47, 61, 0.7);
  border: 1px solid rgba(125, 149, 166, 0.2);
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.status-item:nth-child(2) {
  color: var(--abyss);
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 700;
}
.section-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foam);
  letter-spacing: 0.08em;
  padding-left: 10px;
  border-left: 3px solid var(--amber);
  margin-bottom: 10px;
}
.cast-section {
  margin-top: 4px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  background: rgba(30, 47, 61, 0.55);
  border: 1px solid rgba(125, 149, 166, 0.15);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cast-card:hover {
  border-color: rgba(232, 163, 61, 0.4);
  background: rgba(30, 47, 61, 0.8);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--abyss);
  background: linear-gradient(135deg, var(--amber), var(--ember));
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}
.cast-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.cast-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pale);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.cast-role {
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.synopsis-section {
  margin-top: 4px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.synopsis-para {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.6;
  text-align: justify;
}
.synopsis-para::first-letter {
  color: var(--amber);
  font-weight: 700;
}
.details-section {
  margin-top: 4px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(125, 149, 166, 0.12);
  border: 1px solid rgba(125, 149, 166, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(22, 35, 47, 0.75);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}
.detail-value {
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--pale);
  letter-spacing: 0.02em;
}
.timeline-section {
  position: relative;
  padding-top: 24px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--ember) transparent;
  -webkit-overflow-scrolling: touch;
}
.timeline-scroll::-webkit-scrollbar {
  height: 5px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(125, 149, 166, 0.1);
  border-radius: 3px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--ember);
  border-radius: 3px;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 6px 2px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(125, 149, 166, 0.3) 8%,
    rgba(232, 163, 61, 0.4) 45%,
    rgba(232, 163, 61, 0.4) 55%,
    rgba(125, 149, 166, 0.3) 92%,
    transparent
  );
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 0 6px;
}
.node-droplet {
  display: block;
  width: 14px;
  height: 18px;
  background: var(--mist);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(0deg);
  position: relative;
  transition: background 0.25s ease, transform 0.25s ease;
  box-shadow: 0 0 0 3px rgba(13, 22, 32, 0.9);
}
.node-droplet::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 4px;
  width: 3px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}
.timeline-node-active .node-droplet {
  background: var(--amber);
  transform: scale(1.25);
  box-shadow:
    0 0 0 3px rgba(13, 22, 32, 0.9),
    0 0 14px rgba(232, 163, 61, 0.6);
}
.node-timecode {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fog);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.timeline-node-active .node-timecode {
  color: var(--amber);
}
.node-label {
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.timeline-node-active .node-label {
  color: var(--pale);
}
.episodes-section {
  padding-top: 8px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(22, 35, 47, 0.6);
  border: 1px solid rgba(125, 149, 166, 0.12);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, background 0.2s ease;
  min-width: 0;
}
.episode-card:hover {
  border-color: rgba(232, 163, 61, 0.35);
  background: rgba(30, 47, 61, 0.85);
}
.episode-card-active {
  border-color: rgba(232, 163, 61, 0.55);
  background: linear-gradient(135deg, rgba(232, 163, 61, 0.1), rgba(22, 35, 47, 0.85));
  box-shadow: inset 3px 0 0 var(--amber);
}
.episode-number {
  flex: 0 0 auto;
  width: 30px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dim);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: right;
}
.episode-card-active .episode-number {
  color: var(--amber);
}
.episode-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.episode-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pale);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 0.66rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.comments-section {
  padding-top: 8px;
}
.comments-masonry {
  column-count: 2;
  column-gap: 6px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 6px;
  padding: 9px 12px;
  background: rgba(22, 35, 47, 0.55);
  border: 1px solid rgba(125, 149, 166, 0.1);
  border-left: 2px solid rgba(232, 163, 61, 0.35);
  border-radius: var(--radius-sm);
}
.comment-nickname {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 0.74rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.5;
  text-align: left;
}
.recommend-region {
  padding-top: 6px;
}
.region-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--foam);
  letter-spacing: 0.06em;
  padding-left: 8px;
  border-left: 2px solid var(--ember);
  margin-bottom: 8px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 6px;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: var(--fog);
  text-decoration: none;
  background: rgba(22, 35, 47, 0.5);
  border: 1px solid rgba(125, 149, 166, 0.1);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  min-width: 0;
}
a.recommend-item:hover {
  color: var(--foam);
  text-decoration: none;
  border-color: rgba(232, 163, 61, 0.4);
  background: rgba(30, 47, 61, 0.8);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  background: var(--slate);
}
.recommend-name {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pale);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 0.66rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 32px;
  background: linear-gradient(180deg, var(--deep-sea), var(--abyss));
  border-top: 1px solid rgba(125, 149, 166, 0.15);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friends-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
a.runtime-friend-link {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  text-decoration: underline;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--fog);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.change, .click, .fullscreen, .input, .progress, .speed, .theater, .timeupdate, .volume, .play, .mute, .pip, .player, .light, .lights-off {
  transition: all 0.2s ease;
}
.player .progress, .progress {
  accent-color: var(--amber);
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
.details-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 0 10px 30px;
    gap: 22px;
  }
.overview-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
  }
.poster-column {
    max-width: 200px;
    margin: 0 auto;
  }
.poster-image {
    max-width: 200px;
    margin: 0 auto;
  }
.movie-title {
    font-size: 1.4rem;
    text-align: center;
  }
.movie-tagline {
    text-align: center;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(232, 163, 61, 0.3);
    padding-top: 6px;
  }
.movie-seo {
    text-align: left;
  }
.episodes-grid {
    grid-template-columns: 1fr;
  }
.comments-masonry {
    column-count: 1;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 5px;
  }
.header-inner {
    padding: 8px 10px;
  }
a[data-contract="site-name"] {
    font-size: 1rem;
  }
.timeline-node {
    width: 130px;
  }}
@media (max-width: 480px) {html {
    font-size: 15px;
  }
.page-main {
    padding: 0 8px 24px;
    gap: 18px;
  }
.overview-hero {
    padding: 10px;
    gap: 10px;
  }
.poster-column {
    max-width: 160px;
  }
.poster-image {
    max-width: 160px;
  }
.movie-title {
    font-size: 1.25rem;
  }
.cast-card {
    flex: 1 1 auto;
    min-width: 0;
  }
.cast-name, .cast-role {
    white-space: normal;
  }
.details-grid {
    grid-template-columns: 1fr;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-number {
    width: 24px;
    font-size: 0.95rem;
  }
.player-controls {
    gap: 4px;
    padding: 6px 8px;
  }
.ctrl-btn {
    padding: 4px 7px;
    font-size: 0.66rem;
  }
.ctrl-range {
    flex: 1 1 100%;
    order: 10;
  }
.timeline-node {
    width: 118px;
  }
.footer-inner {
    padding: 16px 10px;
  }}

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}
