*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
}
:root {
  --bg: #0b0d10;
  --bg-soft: #12151a;
  --bg-panel: #16191f;
  --bg-card: #1a1e25;
  --bg-elev: #20242c;
  --line: #262b34;
  --line-soft: #1e232b;
  --ink: #d6dae0;
  --ink-soft: #9aa1ab;
  --ink-dim: #6d747e;
  --red: #8c1c26;
  --red-bright: #b3242f;
  --red-deep: #5c1219;
  --radius: 4px;
  --gap: 10px;
  --pad: 12px;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Source Han Sans SC", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd, dt, p, h1, h2, h3 {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--ink-soft);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 13, 16, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
}
.site-brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #eef1f5;
  text-decoration: none;
  white-space: nowrap;
}
.site-brand::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  vertical-align: 2px;
  background: var(--red-bright);
  border-radius: 50%;
}
a[data-contract="site-name"] {
  color: #eef1f5;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--red-bright);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
a.runtime-category:hover {
  color: #fff;
  background: var(--red-deep);
  border-color: var(--red);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e9ecf1;
  padding-left: 9px;
  border-left: 3px solid var(--red-bright);
  margin-bottom: 8px;
  line-height: 1.3;
}
.movie-overview {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 2fr);
  gap: 14px;
  align-items: start;
}
.poster-column {
  min-width: 0;
}
.poster-wrap {
  position: relative;
  width: 100%;
  max-width: 210px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.movie-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #f2f4f7;
}
.movie-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  padding-left: 9px;
  border-left: 2px solid var(--red);
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--ink-dim);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red-bright);
  border-radius: var(--radius);
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn-play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}
.btn-play:hover {
  background: var(--red-bright);
}
.btn-play.is-active {
  background: var(--red-deep);
  border-color: var(--red-deep);
}
.player-shell {
  position: relative;
  width: 100%;
  background: #05070a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 4px 11px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  color: #fff;
  border-color: var(--red);
}
.ctrl-btn.is-active {
  color: #fff;
  background: var(--red-deep);
  border-color: var(--red);
}
.player-shell.is-theater {
  border-color: var(--red);
}
.player-shell.is-dim {
  background: #000;
}
.player-shell.is-dim video {
  filter: brightness(0.42);
}
.cast-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.cast-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(179, 36, 47, 0.5), transparent 62%),
    linear-gradient(150deg, #2b3038, #14171c);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 3px var(--bg-soft);
}
.cast-name {
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
}
.synopsis-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  background: var(--bg-panel);
  border-left: 2px solid var(--line);
  padding: 8px 10px;
}
.episode-status {
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.status-line {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.status-line::after {
  content: " · 更新中";
  font-size: 11px;
  font-weight: 500;
  color: var(--red-bright);
  letter-spacing: 0.08em;
}
.status-bar {
  position: relative;
  height: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.status-fill {
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright));
}
.details-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.detail-table {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 9px;
  background: var(--bg-panel);
  min-width: 0;
}
.detail-key {
  flex: none;
  font-size: 11.5px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.episodes-section {
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 2px solid var(--red-deep);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.episode-card:hover {
  background: var(--bg-elev);
  border-top-color: var(--red-bright);
}
.episode-number {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-bright);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #eef1f5;
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-dim);
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--ink-dim);
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.timeline-section {
  min-width: 0;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: var(--bg-elev);
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--red-deep);
  border-radius: 3px;
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 16px 4px 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 11px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-deep) 8%, var(--red-deep) 92%, transparent);
}
.timeline-node {
  position: relative;
  flex: none;
  width: 112px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-top: 10px;
}
.timeline-dot {
  position: absolute;
  top: -11px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--red-deep);
}
.timeline-timecode {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red-bright);
}
.timeline-label {
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.recommend-region {
  min-width: 0;
}
.recommend-stack {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-stack::-webkit-scrollbar {
  height: 6px;
}
.recommend-stack::-webkit-scrollbar-track {
  background: var(--bg-elev);
}
.recommend-stack::-webkit-scrollbar-thumb {
  background: var(--red-deep);
  border-radius: 3px;
}
a.recommend-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 8px;
  overflow: hidden;
  color: var(--ink-soft);
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
a.recommend-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: #eef1f5;
  padding: 0 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-dim);
  padding: 0 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-section {
  min-width: 0;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-areas:
    "avatar nickname"
    "text text";
  gap: 3px 9px;
  align-items: center;
  padding: 9px 11px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 2px solid var(--red-deep);
}
.comment-avatar {
  grid-area: avatar;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(140, 28, 38, 0.55), transparent 66%),
    linear-gradient(160deg, #2a2f37, #14171c);
  border: 1px solid var(--line);
}
.comment-nickname {
  grid-area: nickname;
  font-size: 12px;
  font-weight: 700;
  color: #e4e8ee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  grid-area: text;
  font-size: 12px;
  line-height: 1.72;
  color: var(--ink-soft);
}
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 14px;
  margin-top: 6px;
}
.footer-disclaimer, .footer-nav, .friend-links {
  max-width: 1180px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}
a[data-contract="footer-home"] {
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--red-bright);
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--red-bright);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--red-bright);
  text-decoration: none;
}
.player .play, .player .pause, .player .mute, .player .volume, .player .progress, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light, .click {
  transition: color 0.15s ease, background 0.15s ease;
}
@media (max-width: 1024px) {.detail-table {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.synopsis-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 10px 12px 22px;
    gap: 14px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr);
  }
.movie-title {
    font-size: 20px;
  }
.detail-table {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-wrap {
    max-width: 148px;
  }
.movie-title {
    font-size: 19px;
  }
.movie-seo {
    font-size: 12px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    gap: 8px 12px;
  }
.cast-avatar {
    width: 34px;
    height: 34px;
  }
a.recommend-card {
    flex-basis: 146px;
  }
[data-runtime="recommendation"] img {
    height: 92px;
  }}
@media (max-width: 420px) {.detail-table {
    grid-template-columns: minmax(0, 1fr);
  }
.ctrl-btn {
    padding: 4px 9px;
    font-size: 11.5px;
  }
a.recommend-card {
    flex-basis: 132px;
  }
[data-runtime="recommendation"] img {
    height: 82px;
  }}

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}
