:root {
  --bg: #0b0e13;
  --bg-soft: #10151d;
  --bg-panel: #141a24;
  --bg-panel-2: #1a212d;
  --line: #232c3a;
  --line-soft: #1b2331;
  --ink: #e7ecf3;
  --ink-dim: #9aa7b8;
  --ink-faint: #6c7a8c;
  --cool: #7f96b3;
  --accent: #b3202c;
  --accent-bright: #e03340;
  --accent-deep: #7a121b;
  --radius: 6px;
  --gap: 18px;
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3, p, ol, ul, dl, dd, figure {
  margin: 0;
}
ol, ul {
  list-style: none;
  padding: 0;
}
.section-heading {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 12px;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
  line-height: 1.3;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 19, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--accent-bright);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  color: var(--cool);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: #171e29;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.movie-overview {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-wrap {
  margin: 0;
  align-self: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0d12;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(26px, 4.6vw, 44px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--accent-bright);
  padding-left: 10px;
  border-left: 3px solid var(--accent);
}
.movie-seo {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 62ch;
}
.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.btn-play, .btn-follow {
  cursor: pointer;
  border-radius: 4px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-play {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-bright);
  box-shadow: 0 6px 18px rgba(179, 32, 44, 0.32);
}
.btn-play:hover {
  background: var(--accent-bright);
}
.btn-follow {
  background: transparent;
  color: var(--cool);
  border-color: var(--line);
}
.btn-follow:hover {
  color: var(--ink);
  border-color: var(--cool);
  background: var(--bg-panel-2);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: 4px;
  border-left: 3px solid var(--accent-deep);
}
.status-item {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-dim);
  white-space: nowrap;
}
.status-item:first-child {
  color: var(--ink);
  font-weight: 800;
}
.cast-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 8px 12px;
  background: var(--bg-panel-2);
  border-radius: 4px;
  border-left: 2px solid var(--line);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cast-card:hover {
  border-left-color: var(--accent);
  background: #1e2733;
}
.cast-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}
.cast-role {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-faint);
  line-height: 1.4;
}
.synopsis-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.synopsis-body {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-paragraph {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin: 0 0 10px;
  break-inside: avoid;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 800;
}
.details-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
}
.detail-key {
  flex: 0 0 auto;
  width: 4.5em;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-faint);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
}
.player-section {
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}
.player-section.is-lights-off {
  background: #000;
  border-radius: var(--radius);
  padding: 12px;
}
.player-section.is-theater .player-wrapper {
  max-width: none;
}
.player-wrapper {
  width: 100%;
  background: #05070a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.ctrl-btn {
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  color: var(--cool);
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 12px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  color: var(--ink);
  border-color: var(--cool);
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent-bright);
}
.ctrl-btn.is-muted {
  color: var(--accent-bright);
  border-color: var(--accent);
}
.ctrl-progress {
  flex: 1 1 200px;
  min-width: 120px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-bright);
  border: none;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--accent-bright);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 110px;
  min-width: 80px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-speed {
  font-size: 13px;
  color: var(--ink);
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 8px;
  cursor: pointer;
}
.timeline-section {
  display: flex;
  flex-direction: column;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--cool) var(--bg-soft);
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: var(--bg-soft);
  border-radius: 999px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--cool);
  border-radius: 999px;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
  padding: 6px 2px 2px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 148px;
  padding: 34px 14px 12px 0;
  border-top: 1px solid var(--line);
  transition: border-color 0.2s ease;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(224, 51, 64, 0.16);
}
.timeline-node:hover {
  border-top-color: var(--accent);
}
.node-timecode {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-bright);
  margin-bottom: 6px;
}
.node-label {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
  max-height: 3em;
  overflow: hidden;
  transition: max-height 0.25s ease, color 0.2s ease;
}
.timeline-node:hover .node-label {
  max-height: 12em;
  color: var(--ink);
}
.episodes-section {
  display: flex;
  flex-direction: column;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  border-color: var(--line);
  background: var(--bg-panel-2);
}
.episode-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.episode-number {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  background: rgba(179, 32, 44, 0.12);
  border: 1px solid var(--accent-deep);
  border-radius: 3px;
  padding: 1px 7px;
}
.episode-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}
.episode-duration {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-faint);
  margin-left: auto;
}
.episode-summary {
  font-size: 13px;
}
.summary-toggle {
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 400;
  color: var(--cool);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 9px;
  display: inline-block;
  user-select: none;
}
.summary-toggle::-webkit-details-marker {
  display: none;
}
.summary-toggle::before {
  content: "+ ";
  color: var(--accent-bright);
  font-weight: 800;
}
.episode-summary[open] .summary-toggle::before {
  content: "− ";
}
.summary-toggle:hover {
  color: var(--ink);
  border-color: var(--cool);
}
.summary-text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
  padding-left: 10px;
  border-left: 2px solid var(--line);
}
.comments-section {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 10px 14px;
  background: var(--bg-panel);
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}
.comment-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.comment-meta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 800;
  color: var(--cool);
  letter-spacing: 0.04em;
}
.recommend-region {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.recommend-card:hover {
  border-color: var(--accent);
  background: var(--bg-panel-2);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  background: #0a0d12;
  display: block;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-faint);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 18px 16px 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  font-weight: 400;
  color: var(--cool);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--accent-bright);
}
.footer-disclaimer {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 78ch;
}
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 14px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.episodes-grid {
    grid-template-columns: 1fr;
  }}
@media (max-width: 640px) {.page-main {
    padding: 14px 12px 0;
    gap: 16px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 130px) minmax(0, 1fr);
    gap: 12px;
  }
.movie-title {
    font-size: 22px;
  }
.movie-tagline {
    font-size: 13px;
  }
.movie-seo {
    font-size: 13px;
  }
.btn-play, .btn-follow {
    flex: 1 1 auto;
    padding: 8px 14px;
  }
.details-list {
    grid-template-columns: 1fr;
  }
.detail-key {
    width: 4em;
  }
.timeline-node {
    width: 132px;
  }
.player-controls {
    gap: 6px;
    padding: 8px;
  }
.ctrl-btn {
    padding: 6px 10px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.site-footer {
    margin-top: 18px;
    padding: 16px 12px 22px;
  }}
@media (max-width: 420px) {.overview-hero {
    grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}

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}
