*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #0e1114;
  color: #c3cbd2;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-feature-settings: "tnum" 1;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, figure {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: #9fb3c4;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 15, 18, 0.94);
  border-bottom: 1px solid #1c242c;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 9px 16px;
}
.site-brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #e3e9ee;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 3px solid #7c1f26;
  padding-left: 9px;
}
a[data-contract="site-name"]:hover {
  color: #d24b52;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #8f9ba6;
  text-decoration: none;
  border: 1px solid #232d36;
  background: #131820;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: #e6ecf1;
  border-color: #3d4d5c;
  background: #18202a;
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.6fr);
  grid-template-areas: "portrait overlay";
  gap: 16px;
  align-items: start;
  padding: 14px;
  background:
    linear-gradient(180deg, #12171d 0%, #0d1116 100%);
  border: 1px solid #1e262e;
}
.hero-portrait {
  grid-area: portrait;
  position: relative;
  align-self: start;
}
.poster-frame {
  position: relative;
  margin: 0;
  border: 1px solid #26313b;
  background: #0a0d10;
  box-shadow: 0 0 0 1px rgba(124, 31, 38, 0.25), 0 18px 40px -26px #000;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(14, 17, 20, 0) 55%, rgba(14, 17, 20, 0.75) 100%);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.72) contrast(1.06);
}
.hero-overlay {
  grid-area: overlay;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-headline {
  border-left: 2px solid #7c1f26;
  padding-left: 12px;
}
.movie-title {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #eef3f7;
  text-shadow: 0 1px 0 #000;
}
.movie-tagline {
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #8b98a4;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
}
.status-current {
  padding: 3px 9px;
  color: #f0d9da;
  background: #4a1116;
  border: 1px solid #7c1f26;
}
.status-total {
  padding: 3px 9px;
  color: #93a1ad;
  background: #141a21;
  border: 1px solid #242e38;
}
.hero-player {
  position: relative;
  border: 1px solid #232d36;
  background: #05070a;
  min-width: 0;
}
.hero-player video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: #10151b;
  border-top: 1px solid #1e262e;
}
.ctrl {
  appearance: none;
  border: 1px solid #27323d;
  background: #161d25;
  color: #aebbc6;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl:hover {
  background: #1e2833;
  color: #e6edf3;
  border-color: #3b4a58;
}
.ctrl.is-active, .ctrl.play.is-active, .ctrl-play.is-active {
  background: #4a1116;
  border-color: #7c1f26;
  color: #f2dcdd;
}
.ctrl-play {
  font-weight: 700;
  color: #e8eef3;
  border-color: #3a4753;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  padding: 0;
  border: none;
  background: #232d36;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 76px;
  min-width: 60px;
  height: 4px;
  padding: 0;
  border: none;
  background: #232d36;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c2504f;
  border: 1px solid #7c1f26;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c2504f;
  border: 1px solid #7c1f26;
  cursor: pointer;
}
.player-fallback {
  padding: 14px;
  font-size: 12px;
  color: #8b98a4;
  letter-spacing: 0.05em;
}
body.lights-off {
  background: #05070a;
}
body.lights-off .hero-stage {
  background: #05070a;
}
body.theater-mode .hero-stage {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "overlay"
    "portrait";
}
body.theater-mode .hero-portrait {
  max-width: 320px;
}
.cast-panel {
  border-top: 1px solid #1e262e;
  padding-top: 10px;
}
.cast-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: #2b3742 transparent;
}
.cast-scroller::-webkit-scrollbar {
  height: 5px;
}
.cast-scroller::-webkit-scrollbar-thumb {
  background: #2b3742;
}
.cast-card {
  flex: 0 0 auto;
  width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.cast-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #46545f 0%, #222c34 55%, #131a20 100%);
  border: 1px solid #33404b;
  box-shadow: inset 0 0 0 3px #0d1116;
}
.cast-name {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #9aa7b3;
  white-space: nowrap;
}
.synopsis-panel {
  border-top: 1px solid #1e262e;
  padding-top: 10px;
}
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid #1a222a;
  margin-top: 8px;
}
.synopsis-para {
  break-inside: avoid;
  margin-bottom: 9px;
  font-size: 12.5px;
  line-height: 1.72;
  color: #a3b0bb;
  text-align: justify;
}
.details-panel {
  border-top: 1px solid #1e262e;
  padding-top: 10px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin-top: 8px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed #1e262e;
  min-width: 0;
}
.detail-key {
  flex: 0 0 64px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #6f7d89;
}
.detail-value {
  margin: 0;
  font-size: 12.5px;
  color: #cdd7df;
  letter-spacing: 0.02em;
}
.hero-timeline-thumbs {
  border-top: 1px solid #1e262e;
  border-left: 2px solid #7c1f26;
  padding: 9px 0 2px 10px;
}
.thumb-rail {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.thumb-node {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}
.thumb-tc {
  flex: 0 0 48px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #c2504f;
  font-variant-numeric: tabular-nums;
}
.thumb-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: #8e9ba7;
  min-width: 0;
}
.timeline-panel {
  padding: 13px 14px 15px;
  background: #10151a;
  border: 1px solid #1e262e;
}
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #d8e0e7;
  text-transform: none;
  padding-left: 10px;
  border-left: 3px solid #7c1f26;
  line-height: 1.2;
}
.timeline-ruler {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
}
.timeline-ruler::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, #33414d 0%, #33414d 100%);
}
.timeline-ruler::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, #2b3742 0 1px, transparent 1px 9px);
  opacity: 0.9;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 12px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  background: #0e1114;
  border: 1px solid #c2504f;
  transform: rotate(45deg);
}
.node-tc {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #c2504f;
  font-variant-numeric: tabular-nums;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: #93a0ac;
}
.episodes-panel {
  padding: 13px 14px 15px;
  background: #10151a;
  border: 1px solid #1e262e;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px;
  background: #131920;
  border: 1px solid #1f2a33;
  border-left: 2px solid #2b3742;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  background: #161e27;
  border-left-color: #7c1f26;
  transform: translateX(2px);
}
.ep-number {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6f7d89;
  font-variant-numeric: tabular-nums;
}
.ep-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e2e9ef;
  line-height: 1.25;
}
.ep-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: #8e9ba7;
}
.ep-duration {
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #79868f;
  font-variant-numeric: tabular-nums;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin 0.22s ease;
}
.episode-card:hover .ep-duration, .episode-card:focus-within .ep-duration {
  max-height: 22px;
  opacity: 1;
}
.comments-panel {
  padding: 13px 14px 15px;
  background: #10151a;
  border: 1px solid #1e262e;
}
.comment-columns {
  columns: 2;
  column-gap: 12px;
  margin-top: 12px;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  gap: 9px;
  margin-bottom: 10px;
  padding: 9px 10px;
  background: #131920;
  border: 1px solid #1f2a33;
  align-items: flex-start;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #3f4d58 0%, #1d262e 70%);
  border: 1px solid #2e3a45;
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nick {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #b0bdc8;
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: #8e9ba7;
}
.rec-region {
  padding: 13px 14px 15px;
  background: #10151a;
  border: 1px solid #1e262e;
}
.rec-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
a.rec-bar {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-areas:
    "thumb name"
    "thumb blurb";
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 6px 9px 6px 6px;
  background: #131920;
  border: 1px solid #1f2a33;
  text-decoration: none;
  color: #b6c2cd;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
a.rec-bar:hover {
  background: #17202a;
  border-color: #33414d;
  transform: translateX(3px);
}
a.rec-bar .rec-thumb {
  grid-area: thumb;
  width: 62px;
  height: 40px;
  object-fit: cover;
  border: 1px solid #26313b;
  filter: saturate(0.7) contrast(1.05);
}
a.rec-bar .rec-name {
  grid-area: name;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #dbe3ea;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.rec-bar .rec-blurb {
  grid-area: blurb;
  font-size: 11px;
  line-height: 1.45;
  color: #7f8c97;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
[data-runtime="recommendation"]:hover .rec-name {
  color: #f0d9da;
}
.site-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 16px 26px;
  border-top: 1px solid #1c242c;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #93a0ac;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e6edf3;
  border-bottom-color: #7c1f26;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.friend-links-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #5d6a75;
  border-right: 1px solid #232d36;
  padding-right: 10px;
}
a.runtime-friend-link {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #6f7d89;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #b6c2cd;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #59646e;
  max-width: 900px;
}
@media (max-width: 980px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "portrait"
      "overlay";
    gap: 14px;
  }
.hero-portrait {
    max-width: 300px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-ruler {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
.comment-columns {
    columns: 2;
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.header-inner {
    gap: 10px;
    padding: 8px 12px;
  }
.site-brand {
    font-size: 13.5px;
    letter-spacing: 0.1em;
  }
.page-main {
    padding: 10px 12px 24px;
    gap: 12px;
  }
.hero-stage {
    padding: 10px;
  }
.hero-portrait {
    max-width: 230px;
  }
.movie-title {
    font-size: clamp(21px, 7vw, 28px);
  }
.synopsis-body {
    columns: 1;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-ruler {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    columns: 1;
  }
.ep-duration {
    max-height: 22px;
    opacity: 1;
  }
a.rec-bar {
    grid-template-columns: 52px minmax(0, 1fr);
  }
a.rec-bar .rec-thumb {
    width: 52px;
    height: 34px;
  }
.ctrl {
    font-size: 11px;
    padding: 4px 7px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 2;
  }}
@media (max-width: 420px) {.timeline-ruler {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-ruler::after {
    display: none;
  }
.timeline-node::before {
    top: 2px;
  }
.timeline-node {
    padding-top: 4px;
    padding-left: 14px;
  }
.timeline-node::before {
    left: 0;
  }}

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}
