:root {
  --bg-deep: #10161f;
  --bg-panel: #18202c;
  --bg-panel-2: #1c2533;
  --bg-soft: #212b3a;
  --line: #2c3849;
  --line-soft: #263140;
  --ink: #e8edf4;
  --ink-dim: #b3bfce;
  --ink-mute: #7d8b9e;
  --accent: #e8722d;
  --accent-soft: #f09a5c;
  --accent-line: #a84e18;
  --white-breath: #f4f7fb;
  --radius: 4px;
  --gap: 10px;
  --pad: 12px;
  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-deep);
  background-image:
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.022) 0,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 92px
    ),
    linear-gradient(180deg, #0e141c 0%, #10161f 40%, #0d131b 100%);
  color: var(--ink);
  font-family: var(--font-narrow);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-stretch: 92%;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(13, 18, 26, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding-right: 14px;
  border-right: 2px solid var(--accent);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--accent-soft);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--accent-soft);
  border-color: var(--accent-line);
  background: rgba(232, 114, 45, 0.08);
}
.page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
  margin-bottom: 8px;
}
.movie-overview {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(24, 32, 44, 0.94) 0%, rgba(16, 22, 31, 0.96) 100%);
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      to right,
      rgba(232, 114, 45, 0.10) 0,
      rgba(232, 114, 45, 0.10) 1px,
      transparent 1px,
      transparent 64px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.028) 0,
      rgba(255, 255, 255, 0.028) 1px,
      transparent 1px,
      transparent 64px
    );
  opacity: 0.55;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.25) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.25) 70%, transparent 100%);
}
.overview-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  align-items: start;
}
.poster-shell {
  display: flex;
  flex-direction: column;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b1119;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.poster-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.poster-caption {
  font-size: 11.5px;
  color: var(--ink-mute);
  padding: 6px 8px;
  border-top: 1px solid var(--line-soft);
  letter-spacing: 0.06em;
  text-align: center;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.title-block {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 8px;
}
.movie-title {
  font-size: 24px;
  line-height: 1.15;
  color: var(--white-breath);
}
.movie-tagline {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--accent-soft);
  letter-spacing: 0.08em;
}
.player-shell {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080c12;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--accent-line), 0 0 26px rgba(232, 114, 45, 0.22);
}
.player-shell.is-lights-off .main-player {
  filter: brightness(0.72) contrast(1.06);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05080c;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: var(--bg-panel-2);
  border-top: 1px solid var(--line);
}
.player-btn {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-dim);
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.player-btn:hover {
  color: var(--ink);
  border-color: #3d4c62;
}
.player-btn.is-active {
  color: #1a1005;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}
.player-shell.is-theater .player-btn[data-player-action="theater"], .player-shell.is-lights-off .player-btn[data-player-action="light"] {
  color: #1a1005;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 90px;
  min-width: 70px;
  background: #2b3646;
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.player-range[data-player-action="progress"] {
  flex: 3 1 150px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #10161f;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 2px solid #10161f;
  border-radius: 50%;
  background: var(--accent);
}
.episode-status {
  border: 1px dashed var(--accent-line);
  border-radius: var(--radius);
  background: rgba(232, 114, 45, 0.07);
  padding: 5px 10px;
  align-self: start;
}
.status-line {
  font-size: 12.5px;
  color: var(--ink-dim);
  letter-spacing: 0.03em;
}
.status-current {
  color: var(--accent-soft);
  font-weight: 800;
  font-size: 14px;
  padding: 0 2px;
}
.status-total {
  color: var(--ink);
  font-weight: 700;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-text {
  font-size: 12.8px;
  line-height: 1.72;
  color: var(--ink-dim);
  margin-bottom: 6px;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.cast-rail {
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.cast-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 1px;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-panel);
  align-self: start;
}
.cast-avatar {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #4a586b 0%, #2a3444 58%, #1a222e 100%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 30px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(232, 114, 45, 0.22);
}
.cast-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--white-breath);
  letter-spacing: 0.02em;
}
.cast-role {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-mute);
}
.details-block {
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--line-soft);
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.details-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 600;
}
.episodes-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 12px;
}
.episode-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.episode-scroller::-webkit-scrollbar {
  height: 7px;
}
.episode-scroller::-webkit-scrollbar-track {
  background: #131a24;
}
.episode-scroller::-webkit-scrollbar-thumb {
  background: #33405380;
  border-radius: 4px;
}
.episode-track {
  display: flex;
  gap: var(--gap);
  align-items: stretch;
  min-width: max-content;
}
.episode-card {
  flex: 0 0 232px;
  width: 232px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.episode-card:first-child {
  border-left-color: var(--accent);
  background: linear-gradient(180deg, rgba(232, 114, 45, 0.10) 0%, var(--bg-panel-2) 100%);
}
.episode-card:hover {
  border-left-color: var(--accent-soft);
  background: var(--bg-soft);
  transform: translateY(-2px);
}
.episode-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
}
.episode-title {
  font-size: 14px;
  color: var(--white-breath);
  font-weight: 800;
}
.episode-summary {
  font-size: 11.8px;
  line-height: 1.6;
  color: var(--ink-dim);
  flex: 1 1 auto;
}
.episode-duration {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  padding-top: 4px;
  border-top: 1px dashed var(--line);
}
.timeline-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 12px 12px 16px;
}
.timeline-axis {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 22px 4px 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline-axis::-webkit-scrollbar {
  height: 7px;
}
.timeline-axis::-webkit-scrollbar-track {
  background: #131a24;
}
.timeline-axis::-webkit-scrollbar-thumb {
  background: #33405380;
  border-radius: 4px;
}
.timeline-track {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: max-content;
  padding-top: 14px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 3px;
  background:
    repeating-linear-gradient(
      to right,
      #3a4759 0,
      #3a4759 6px,
      transparent 6px,
      transparent 12px
    );
  border-radius: 2px;
}
.timeline-node {
  position: relative;
  flex: 0 0 158px;
  width: 158px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 16px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 2px solid #46566c;
  box-shadow: 0 0 0 3px var(--bg-panel);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  width: 1px;
  height: 12px;
  background: #46566c;
}
.timeline-node:nth-child(2n)::before {
  border-color: var(--accent);
}
.timeline-node:last-child::before {
  background: var(--accent);
  border-color: var(--accent);
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
}
.timeline-label {
  font-size: 11.8px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.comments-section {
  background: var(--white-breath);
  color: #1d2531;
  border-radius: var(--radius);
  padding: 14px 12px;
  border: 1px solid #d8dfe8;
}
.comments-section .section-heading {
  color: #3a4759;
  border-left-color: var(--accent);
}
.comments-grid {
  column-count: 3;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 9px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #cfd8e3;
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.comment-card:hover {
  border-left-color: var(--accent);
  box-shadow: 0 3px 10px rgba(29, 37, 49, 0.08);
}
.comment-nickname {
  display: block;
  font-size: 11.8px;
  font-weight: 800;
  color: #22303f;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}
.comment-nickname::before {
  content: "▍";
  color: var(--accent);
  margin-right: 4px;
  font-weight: 400;
}
.comment-text {
  font-size: 12.4px;
  line-height: 1.68;
  color: #46566c;
}
.recommend-region {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 12px;
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--gap);
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  align-self: start;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.recommend-item:hover, a.recommend-item:focus-visible {
  border-color: var(--accent-line);
  background: var(--bg-soft);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  background: #0b1119;
}
.recommend-name {
  font-size: 12.8px;
  font-weight: 800;
  color: var(--white-breath);
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 11.4px;
  line-height: 1.55;
  color: var(--ink-mute);
}
.site-footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 16px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-mute);
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--accent-soft);
  border-color: var(--accent-line);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  padding-right: 8px;
  border-right: 2px solid var(--accent);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--ink-mute);
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--accent-soft);
  text-decoration: underline;
}
@media (max-width: 1080px) {.comments-grid {
    column-count: 2;
  }}
@media (max-width: 860px) {.overview-grid {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.movie-title {
    font-size: 20px;
  }
.recommend-columns {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
.page-main {
    padding: 12px;
    gap: 12px;
  }
.overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 11px;
  }
.poster-shell {
    max-width: 190px;
    margin: 0 auto;
  }
.movie-title {
    font-size: 19px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0 12px;
  }
.comments-grid {
    column-count: 1;
  }
.recommend-columns {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.episode-card {
    flex: 0 0 208px;
    width: 208px;
  }
.timeline-node {
    flex: 0 0 142px;
    width: 142px;
  }}
@media (max-width: 420px) {.player-controls {
    gap: 4px;
    padding: 5px 6px;
  }
.player-btn {
    font-size: 11px;
    padding: 3px 6px;
  }
.recommend-columns {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
.episode-card {
    flex: 0 0 186px;
    width: 186px;
  }}

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}
