*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #0a0e17;
  color: #c8cfdd;
  font-family: "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: #9aa6bd;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.placehold {
  background:
    linear-gradient(135deg, #1b2333 0%, #232c40 45%, #1a2130 100%);
  position: relative;
  overflow: hidden;
}
.placehold::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.02) 0 6px,
      rgba(255, 255, 255, 0) 6px 12px
    );
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #0c1119;
  border-bottom: 1px solid #1c2431;
  position: sticky;
  top: 0;
  z-index: 30;
}
a[data-contract="site-name"] {
  color: #e6ecf5;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f5b942;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: #8f9cb5;
  text-decoration: none;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid #232c3d;
  background: #111725;
}
a.runtime-category:hover, a.runtime-category:focus {
  color: #f5b942;
  border-color: #f5b942;
}
.page-main {
  display: block;
  width: 100%;
  padding: 24px 16px 8px;
}
.section-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f5b942;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #1e2735;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas: "poster info";
  gap: 16px;
  align-items: start;
  position: relative;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(245, 185, 66, 0.07) 0%, rgba(245, 185, 66, 0) 55%),
    linear-gradient(180deg, #0e131e 0%, #0a0e17 100%);
  border: 1px solid #1a2130;
  padding: 16px;
}
.hero-poster-wrap {
  grid-area: poster;
  align-self: start;
  position: relative;
  width: 100%;
  max-width: 100%;
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
  border: 1px solid #202a3a;
}
.hero-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  position: relative;
}
.movie-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  color: #eef2f8;
  letter-spacing: 0.01em;
}
.movie-tagline {
  font-size: 13px;
  font-weight: 700;
  color: #f5b942;
  letter-spacing: 0.04em;
  border-left: 2px solid #f5b942;
  padding-left: 8px;
}
.movie-seo {
  font-size: 12px;
  line-height: 1.45;
  color: #8b96ab;
  max-width: 62ch;
}
.hero-player-wrap {
  width: 100%;
  max-width: 100%;
  margin-top: 4px;
  background: #05070c;
  border: 1px solid #1e2735;
}
.hero-player-wrap video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  background: #0b101a;
  border-top: 1px solid #1a2130;
}
.player-btn {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #aab4c6;
  background: #141b28;
  border: 1px solid #232c3d;
  padding: 4px 9px;
  border-radius: 0;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: #f5b942;
  border-color: #f5b942;
  background: #1a2130;
}
.player-btn.is-active, .player-btn.click {
  color: #0a0e17;
  background: #f5b942;
  border-color: #f5b942;
}
body.lights-off {
  background: #03050a;
}
body.lights-off .page-main {
  filter: brightness(0.72);
}
body.is-theater .hero-section {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "info"
    "poster";
}
body.is-theater .hero-poster-wrap {
  max-width: 420px;
}
.episode-status {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 10px;
  background: #111725;
  border-left: 3px solid #f5b942;
}
.status-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #7f8ba1;
  text-transform: uppercase;
}
.status-value {
  font-size: 20px;
  font-weight: 700;
  color: #f5b942;
  line-height: 1;
}
.status-total {
  font-size: 12px;
  color: #8b96ab;
}
.cast-section {
  margin-top: 20px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.cast-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #202a3a;
  filter: saturate(0.7) brightness(0.9);
}
.cast-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #dbe2ee;
  background: #10161f;
  border: 1px solid #202a3a;
  border-top: 0;
  padding: 4px 6px;
  margin-top: -1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-section {
  margin-top: 20px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.5;
  color: #98a3b8;
  margin-bottom: 8px;
  max-width: 92ch;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-section {
  margin-top: 20px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px 8px;
  align-items: start;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  background: #10161f;
  border: 1px solid #1a2130;
  border-left: 2px solid #2a3446;
}
.detail-item dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6f7c93;
  text-transform: uppercase;
}
.detail-item dd {
  font-size: 12.5px;
  font-weight: 700;
  color: #dbe2ee;
}
.timeline-section {
  margin-top: 24px;
  padding: 16px;
  background: #0d121c;
  border: 1px solid #1a2130;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  position: relative;
  overflow-x: auto;
  padding-top: 4px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 10px 4px 10px;
  min-width: 0;
  border-left: 1px solid #212b3c;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #f5b942;
  transform: translate(-50%, 0);
  box-shadow: 0 0 8px rgba(245, 185, 66, 0.55);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #2a3446 0%, #3a465c 50%, #2a3446 100%);
}
.node-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f5b942;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.4;
  color: #8f9bb2;
}
.episodes-section {
  margin-top: 24px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "number title"
    "number summary"
    "number duration";
  gap: 1px 10px;
  align-items: start;
  padding: 8px 10px;
  background: #10161f;
  border: 1px solid #1c2431;
  border-left: 3px solid #2a3446;
}
.episode-card--active {
  border-color: #f5b942;
  border-left-color: #f5b942;
  background: #151b26;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(245, 185, 66, 0.35), 0 0 14px rgba(245, 185, 66, 0.12);
}
.ep-number {
  grid-area: number;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6f7c93;
  font-variant-numeric: tabular-nums;
  min-width: 3.4em;
  padding-top: 1px;
}
.episode-card--active .ep-number {
  color: #f5b942;
}
.ep-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  color: #e4eaf4;
  line-height: 1.25;
}
.ep-summary {
  grid-area: summary;
  font-size: 11.5px;
  line-height: 1.4;
  color: #8792a8;
}
.ep-duration {
  grid-area: duration;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5f6b81;
  margin-top: 2px;
}
.episode-card--active .ep-duration {
  color: #b99a55;
}
.recommendations-section {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #1a2130;
}
.rec-heading {
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #cdd6e4;
  margin-bottom: 8px;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
  counter-reset: rec;
}
.rec-item {
  min-width: 0;
  counter-increment: rec;
}
a[data-runtime="recommendation"] {
  display: block;
  color: #b7c1d2;
  text-decoration: none;
  background: #10161f;
  border: 1px solid #1c2431;
  padding: 6px;
  height: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus-visible {
  border-color: #f5b942;
  background: #141b28;
  color: #f0f4fa;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: saturate(0.78) brightness(0.9);
  border: 1px solid #1a2130;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f2;
  line-height: 1.3;
}
[data-runtime="recommendation"] [data-runtime="name"]::before {
  content: counter(rec, decimal-leading-zero) " ";
  color: #f5b942;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.4;
  color: #7f8ba1;
}
.comments-section {
  margin-top: 24px;
}
.comments-masonry {
  column-count: 2;
  column-gap: 8px;
}
.comment-card {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 8px;
  padding: 8px;
  background: #10161f;
  border: 1px solid #1c2431;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #2a3446;
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.comment-nick {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f5b942;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.4;
  color: #98a3b8;
  word-break: break-word;
}
.site-footer {
  margin-top: 24px;
  padding: 16px;
  background: #0b101a;
  border-top: 1px solid #1a2130;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: #f5b942;
}
a[data-contract="footer-home"]:hover {
  color: #ffd782;
}
a[data-contract="footer-sitemap"] {
  color: #8f9cb5;
}
a[data-contract="footer-sitemap"]:hover {
  color: #c8cfdd;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid #161d29;
}
.friend-links-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #5f6b81;
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #7f8ba1;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #f5b942;
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.5;
  color: #5b6678;
  max-width: 100ch;
}
@media (max-width: 1024px) {.detail-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 10px;
  }
.rec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 800px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "info";
  }
.hero-poster-wrap {
    max-width: 280px;
  }
.detail-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 16px 10px 8px;
  }
.site-header {
    padding: 8px 10px;
  }
.movie-title {
    font-size: 21px;
  }
.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-masonry {
    column-count: 1;
  }}
@media (max-width: 420px) {.hero-poster-wrap {
    max-width: 220px;
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 3px;
  }
.player-btn {
    padding: 4px 7px;
  }}

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}
