:root {
  --bg-deep: #0b0e13;
  --bg-panel: #10151d;
  --bg-panel-2: #141a24;
  --line: #232c39;
  --line-soft: #1a212c;
  --ink: #d7dee8;
  --ink-dim: #8b97a8;
  --ink-faint: #5d6878;
  --cold-white: #eef3f9;
  --accent: #7f1d24;
  --accent-bright: #b3242f;
  --accent-dim: #4a1216;
  --radius: 3px;
  --gap-tight: 8px;
  --gap: 12px;
  --gap-wide: 18px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, #0d1118 0%, #0b0e13 40%, #0a0d11 100%);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, #0c1017 0%, #0b0e13 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 10px 18px;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--cold-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--accent-bright);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff;
  border-left-color: #d0303c;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
a.nav-link {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
a.nav-link:hover {
  color: var(--cold-white);
  border-color: var(--line);
  background: var(--bg-panel);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 18px 11px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
}
a.runtime-category {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-panel);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
a.runtime-category:hover {
  color: var(--cold-white);
  border-color: var(--accent-bright);
  background: var(--accent-dim);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 18px 34px;
}
.section-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cold-white);
  padding: 0 0 7px 11px;
  margin-bottom: 12px;
  border-left: 3px solid var(--accent-bright);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.block-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: var(--gap-wide);
  align-items: start;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: relative;
  width: 100%;
  align-self: start;
  border: 1px solid var(--line);
  background: #05070a;
  overflow: hidden;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.5) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, rgba(0, 0, 0, 0) 1px 9px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, rgba(0, 0, 0, 0) 1px 11px);
}
img.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.72) contrast(1.08) brightness(0.9);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  background: linear-gradient(180deg, var(--bg-panel) 0%, #0d1219 100%);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: 16px 18px 18px;
}
.movie-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cold-white);
  line-height: 1.2;
}
.movie-tagline {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  margin-top: -8px;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  padding-left: 10px;
  border-left: 1px solid var(--line);
  max-width: 78ch;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: #05070a;
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.player-shell.is-lights-off {
  background: #000;
  border-color: #000;
}
.player-shell.is-lights-off::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 3;
}
.player-shell.is-theater {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 1px rgba(179, 36, 47, 0.35), 0 18px 46px rgba(0, 0, 0, 0.65);
}
video.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
  background: linear-gradient(180deg, #0b0f15 0%, #070a0e 100%);
  border-top: 1px solid var(--line-soft);
}
.ctrl-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-panel-2);
  color: var(--ink-dim);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s, border-color 0.14s, background-color 0.14s;
}
.ctrl-btn:hover {
  color: var(--cold-white);
  border-color: #3a4657;
  background: #1a222e;
}
.ctrl-btn.is-active, .ctrl-btn.play.is-active, .ctrl-btn.mute.is-active, .ctrl-btn.speed.is-active, .ctrl-btn.pip.is-active, .ctrl-btn.fullscreen.is-active, .ctrl-btn.theater.is-active, .ctrl-btn.light.is-active {
  color: var(--cold-white);
  border-color: var(--accent-bright);
  background: var(--accent-dim);
}
.ctrl-range {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  background: #1d2531;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 70px;
}
.ctrl-range[data-player-action="progress"] {
  flex: 3 1 150px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-bright);
  border: 1px solid #e6ecf4;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-bright);
  border: 1px solid #e6ecf4;
  cursor: pointer;
}
.ctrl-range::-moz-range-track {
  height: 4px;
  background: #1d2531;
  border-radius: 2px;
}
.cast-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.cast-track {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.cast-card {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 4px 12px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 2px;
  white-space: nowrap;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.status-item {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  padding: 3px 10px;
  border: 1px solid var(--line);
  background: #0e131b;
  border-radius: 2px;
  white-space: nowrap;
}
.status-item:last-child {
  color: var(--cold-white);
  border-color: var(--accent-bright);
  background: var(--accent-dim);
  font-weight: 700;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.synopsis-para {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink-dim);
  text-align: justify;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  background: #0d1219;
  padding: 7px 10px;
  min-width: 0;
}
.detail-key {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.detail-value {
  font-size: 13px;
  font-weight: 400;
  color: var(--cold-white);
  word-break: break-word;
}
.timeline-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dim) #0c1017;
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #0c1017;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--accent-dim);
  border-radius: 4px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  scroll-snap-align: start;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  padding: 9px 11px 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 11px;
  width: 7px;
  height: 7px;
  background: var(--accent-bright);
  transform: translateY(-50%) rotate(45deg);
}
.node-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  font-variant-numeric: tabular-nums;
}
.node-label {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-dim);
}
.episodes-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 11px;
  transition: border-color 0.16s, background-color 0.16s;
}
.episode-card:hover {
  border-color: #354152;
  background: var(--bg-panel-2);
}
.episode-number {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cold-white);
}
.episode-summary {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-dim);
  text-align: justify;
}
.episode-duration {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-top: 2px;
  padding-top: 5px;
  border-top: 1px solid var(--line-soft);
  width: 100%;
}
.comments-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.comments-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 2px solid #2c3644;
  border-radius: var(--radius);
  padding: 9px 12px 10px;
  transition: border-left-color 0.16s, background-color 0.16s;
}
.comment-card:hover {
  border-left-color: var(--accent-bright);
  background: var(--bg-panel-2);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cold-white);
}
.comment-nickname::before {
  content: "／ ";
  color: var(--accent-bright);
  font-weight: 400;
}
.comment-text {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink-dim);
  text-align: justify;
}
.recommend-region {
  margin-bottom: 22px;
}
.recommend-region:last-of-type {
  margin-bottom: 0;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 10px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.16s, transform 0.16s, background-color 0.16s;
}
a.recommend-card:hover {
  border-color: var(--accent-bright);
  background: var(--bg-panel-2);
  transform: translateY(-2px);
}
a.recommend-card:hover .recommend-name {
  color: #fff;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.86) contrast(1.06);
  border-bottom: 1px solid var(--line-soft);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cold-white);
  padding: 0 11px;
  transition: color 0.16s;
}
.recommend-blurb {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-dim);
  padding: 0 11px;
  display: block;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0b0f15 0%, #070a0e 100%);
  padding: 16px 18px 22px;
  margin-top: 8px;
}
.footer-disclaimer {
  max-width: 1400px;
  margin: 0 auto 11px;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-faint);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-panel);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"] {
  color: var(--ink-dim);
}
a[data-contract="footer-home"]:hover {
  color: var(--cold-white);
  border-color: var(--accent-bright);
}
a[data-contract="footer-sitemap"] {
  color: var(--ink-faint);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--cold-white);
  border-color: var(--accent-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  max-width: 1400px;
  margin: 0 auto;
}
.friend-links-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
  padding-right: 4px;
  border-right: 1px solid var(--line);
  margin-right: 2px;
}
a.runtime-friend-link {
  color: var(--ink-faint);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 2px 0;
  transition: color 0.15s;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}
@media (max-width: 1024px) {.hero-shell {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 14px;
  }
.movie-title {
    font-size: 22px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
  }
.categories-shell {
    padding: 8px 14px 10px;
  }
.page-main {
    padding: 13px 14px 26px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-media {
    max-width: 230px;
  }
.hero-info {
    padding: 13px 13px 15px;
  }
.movie-title {
    font-size: 20px;
  }
.movie-seo {
    max-width: none;
  }
.comments-split {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.site-footer {
    padding: 14px 14px 20px;
  }}
@media (max-width: 520px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.ctrl-btn {
    font-size: 11px;
    padding: 4px 8px;
  }
.ctrl-range[data-player-action="progress"] {
    flex: 1 1 100%;
    order: -1;
  }
.timeline-node {
    width: 150px;
  }}

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}
