*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: #10151c;
  color: #c8d1dc;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: #c8d1dc;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid #7fa8c9;
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #161d26 0%, #121820 100%);
  border-bottom: 1px solid #23303d;
  box-shadow: 0 1px 0 #0a0e13, 0 8px 20px -12px #000;
}
.header-shell {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  color: #e8eef5;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 3px solid #4a6d8c;
  padding-left: 8px;
}
.site-brand {
  flex: 0 0 auto;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: #a9b8c8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border: 1px solid #2b3a4a;
  background: #182130;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  color: #e8eef5;
  background: #22303f;
  border-color: #4a6d8c;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-backdrop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px;
  background:
    linear-gradient(120deg, rgba(58, 78, 100, 0.34) 0%, rgba(16, 21, 28, 0.9) 42%),
    repeating-linear-gradient(135deg, #17202b 0 14px, #141c26 14px 28px);
  border: 1px solid #26333f;
  overflow: hidden;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 12, 16, 0.82) 100%);
  pointer-events: none;
}
.hero-media {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid #35485a;
  background: #0c1116;
  box-shadow: 0 0 0 1px #0a0e13, 0 14px 30px -14px #000, 0 0 26px -8px rgba(190, 215, 235, 0.22);
}
.poster-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06);
}
.hero-tagline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: end;
  min-width: 0;
  padding-bottom: 4px;
}
.movie-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: #f2f6fa;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}
.tagline-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #9fbdd6;
  border-left: 3px solid #4a6d8c;
  padding-left: 10px;
}
.seo-text {
  font-size: 12px;
  line-height: 1.62;
  color: #93a2b2;
  max-width: 62ch;
}
.hero-player-zone {
  width: 100%;
  min-width: 0;
  background: #0a0e13;
  border: 1px solid #26333f;
  padding: 8px;
}
.player-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.main-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05080b;
  border: 1px solid #1e2a35;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #182130 0%, #131b25 100%);
  border: 1px solid #26333f;
}
.player-btn {
  background: #1d2836;
  border: 1px solid #33465a;
  color: #b7c6d5;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background: #26384a;
  color: #eaf1f8;
  border-color: #517795;
}
.player-btn.is-active {
  background: #2f4b64;
  color: #ffffff;
  border-color: #6d9cc0;
  box-shadow: inset 0 0 0 1px rgba(190, 220, 245, 0.28);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  min-width: 90px;
  flex: 1 1 110px;
  background: #2b3a4a;
  border-radius: 0;
  cursor: pointer;
}
.player-range[data-player-action="volume"] {
  flex: 0 1 110px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: #cfe1ef;
  border: 1px solid #6d9cc0;
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border-radius: 0;
  background: #cfe1ef;
  border: 1px solid #6d9cc0;
  cursor: pointer;
}
.player-range::-moz-range-track {
  height: 4px;
  background: #2b3a4a;
}
.overview-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 0.72fr);
  grid-template-areas:
    "cast synopsis status"
    "details synopsis status";
  gap: 0;
  background: #141b24;
  border: 1px solid #26333f;
  align-items: start;
}
.info-group {
  padding: 12px 14px;
  min-width: 0;
}
.info-cast {
  grid-area: cast;
  border-bottom: 1px solid #202c38;
}
.info-details {
  grid-area: details;
}
.info-synopsis {
  grid-area: synopsis;
  border-left: 1px solid #202c38;
  border-right: 1px solid #202c38;
  align-self: stretch;
}
.info-status {
  grid-area: status;
}
.group-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #8fb3d1;
  text-transform: uppercase;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid #24313e;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-item {
  flex: 1 1 auto;
  min-width: 0;
  padding: 5px 9px;
  background: #1a2431;
  border: 1px solid #2c3c4c;
  border-left: 2px solid #4a6d8c;
}
.cast-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #d3dee9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.68;
  color: #9dabb9;
  text-align: justify;
}
.synopsis-para:first-child::first-letter {
  color: #cfe1ef;
  font-weight: 800;
}
.status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-bottom: 1px dashed #232f3c;
}
.status-row:last-child {
  border-bottom: 0;
}
.status-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7d8fa0;
  white-space: nowrap;
}
.status-value {
  font-size: 15px;
  font-weight: 800;
  color: #dce8f2;
  white-space: nowrap;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #232f3c;
}
.detail-key {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7d8fa0;
  white-space: nowrap;
}
.detail-value {
  font-size: 12px;
  font-weight: 600;
  color: #c2cedb;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.section-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #e2ebf3;
  padding: 0 0 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid #26333f;
  position: relative;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: #4a6d8c;
  box-shadow: 0 0 8px rgba(120, 170, 210, 0.55);
}
.timeline-section {
  background: #121a23;
  border: 1px solid #26333f;
  padding: 12px 14px 14px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #3d566e #141c26;
  scrollbar-width: thin;
}
.timeline-scroll::-webkit-scrollbar {
  height: 8px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: #141c26;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: #3d566e;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: 100%;
  width: max-content;
  padding: 2px 0;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #24313e;
  z-index: 0;
}
.timeline-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
  width: 168px;
  padding: 10px;
  background: linear-gradient(180deg, #1a2431 0%, #151e28 100%);
  border: 1px solid #2c3c4c;
  border-top: 2px solid #4a6d8c;
}
.timeline-timecode {
  writing-mode: vertical-rl;
  text-orientation: upright;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #8fb3d1;
  background: #101820;
  border: 1px solid #2b3a4a;
  padding: 6px 4px;
  min-height: 62px;
}
.timeline-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  color: #bcc9d6;
}
.episodes-section {
  background: #121a23;
  border: 1px solid #26333f;
  padding: 12px 14px 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 10px;
  padding: 8px 10px 9px;
  background: #161f2a;
  border: 1px solid #24313e;
  border-left: 2px solid #35506a;
  overflow: hidden;
  transition: background 0.15s, border-color 0.15s;
}
.episode-item:hover {
  background: #1b2632;
  border-left-color: #7fa8c9;
}
.episode-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #8fb3d1;
  white-space: nowrap;
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: #e4edf5;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-duration {
  font-size: 11px;
  font-weight: 700;
  color: #7d8fa0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-summary {
  grid-column: 1 / -1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.6;
  color: #8b99a8;
  transition: color 0.15s;
}
.episode-item:hover .episode-summary {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  color: #a9b8c8;
}
.comments-section {
  background: #121a23;
  border: 1px solid #26333f;
  padding: 12px 14px 14px;
}
.comment-column {
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-item {
  padding: 8px 10px;
  background: #161f2a;
  border: 1px solid #24313e;
  border-left: 2px solid #4a6d8c;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #8fb3d1;
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: #9dabb9;
}
.rec-region {
  background: #121a23;
  border: 1px solid #26333f;
  padding: 12px 14px 14px;
}
.rec-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: #161f2a;
  border: 1px solid #24313e;
  color: #c8d1dc;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
a.rec-item:hover {
  background: #1b2632;
  border-color: #3f6180;
  transform: translateY(-1px);
}
a.rec-item img, [data-runtime="recommendation"] img, .rec-pic {
  width: 100%;
  max-width: 100%;
  height: 108px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0c1116;
  border: 1px solid #202c38;
  filter: saturate(0.8) contrast(1.05);
}
.rec-name {
  font-size: 12px;
  font-weight: 800;
  color: #dde7f0;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: #8b99a8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 24px;
  border-top: 1px solid #26333f;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #6e7d8c;
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #8fb3d1;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #dce8f2;
  border-bottom-color: #4a6d8c;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 8px;
  border-top: 1px dashed #232f3c;
}
.friend-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #6e7d8c;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #7d8fa0;
  text-decoration: none;
  font-size: 11px;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: #cfe1ef;
  text-decoration: underline;
}
body.lights-off {
  background: #05080b;
}
body.lights-off .page-main, body.lights-off .site-header, body.lights-off .site-footer {
  filter: brightness(0.55) contrast(1.08);
}
body.lights-off .hero-player-zone, body.lights-off .player-wrapper {
  filter: none;
}
.hero-player-zone.is-theater {
  border-color: #517795;
  box-shadow: 0 0 0 1px rgba(120, 170, 210, 0.25), 0 20px 40px -22px #000;
}
.main-player::-webkit-media-controls {
  display: none !important;
}
.player-btn[data-player-action="play"] {
  min-width: 56px;
}
@media (max-width: 1000px) {.overview-info {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "cast cast"
      "synopsis status"
      "details details";
  }
.info-synopsis {
    border-right: 1px solid #202c38;
  }
.info-cast {
    border-bottom: 1px solid #202c38;
  }
.info-details {
    border-top: 1px solid #202c38;
  }}
@media (max-width: 820px) {.hero-backdrop {
    grid-template-columns: minmax(0, 172px) minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.movie-title {
    font-size: 24px;
  }
.rec-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 12px;
  }
.page-main {
    padding: 10px 10px 8px;
    gap: 10px;
  }
.header-shell {
    padding: 7px 10px;
  }
.hero-backdrop {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-media {
    max-width: 168px;
  }
.hero-tagline {
    align-self: start;
  }
.movie-title {
    font-size: 21px;
  }
.tagline-text {
    font-size: 12px;
    letter-spacing: 0.16em;
  }
.overview-info {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "cast"
      "synopsis"
      "status"
      "details";
  }
.info-synopsis {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #202c38;
    border-bottom: 1px solid #202c38;
  }
.info-details {
    border-top: 0;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-card {
    width: 150px;
  }
.player-range {
    flex: 1 1 80px;
  }
.player-range[data-player-action="volume"] {
    flex: 1 1 80px;
  }}
@media (max-width: 400px) {.player-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }}

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}
