*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #14181d;
  color: #c8d2dc;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  display: block;
  max-width: 100%;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: #8fa6bb;
  text-decoration: none;
}
a:hover {
  color: #dfe8f0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 8px 14px;
  background: rgba(16, 20, 25, 0.94);
  border-bottom: 1px solid #262d36;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 24px -18px #000;
  backdrop-filter: blur(6px);
}
a[data-contract="site-name"], .brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #eef3f8;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover, .brand:hover {
  color: #9fc4e2;
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #a9bccd;
  text-decoration: none;
  background: #1c232b;
  border: 1px solid #2c3843;
  border-left: 2px solid #3f5468;
  border-radius: 2px;
}
a.runtime-category:hover {
  color: #e7eff6;
  text-decoration: none;
  background: #253039;
  border-left-color: #7fa8c9;
}
.page-main {
  display: block;
  width: 100%;
  padding: 0 14px 26px;
}
.block-heading {
  position: relative;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: #e4ecf3;
  padding-left: 10px;
  margin-bottom: 10px;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 1px;
  width: 3px;
  background: linear-gradient(180deg, #8fb4d4, #335061);
}
.movie-overview {
  position: relative;
  margin-top: 14px;
  padding: 14px;
  background:
    linear-gradient(180deg, #1b2129 0%, #171d24 100%);
  border: 1px solid #262e38;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  grid-template-areas: "poster player" "slogan player";
  align-items: start;
  gap: 10px 14px;
}
.poster-wrap {
  grid-area: poster;
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid #2c3844;
  background: #0f1318;
  box-shadow: 0 18px 34px -22px #000;
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}
.hero-figure {
  grid-area: player;
  min-width: 0;
  width: 100%;
}
.player-wrap {
  position: relative;
  width: 100%;
  border: 1px solid #2c3844;
  background: #0c1014;
  box-shadow: 0 20px 40px -26px #000;
}
.player-wrap video {
  width: 100%;
  background: #05080b;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 5px;
  padding: 6px 7px;
  background: linear-gradient(180deg, #1d242c, #161b21);
  border-top: 1px solid #2a333d;
}
.ctl {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #b6c6d4;
  background: #232c35;
  border: 1px solid #313d48;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.ctl:hover {
  color: #eaf2f8;
  background: #2c3841;
  border-color: #47607a;
}
.ctl:focus-visible {
  outline: 1px solid #7fa8c9;
  outline-offset: 1px;
}
.ctl-progress {
  flex: 1 1 120px;
  min-width: 70px;
}
.ctl-volume {
  flex: 0 1 82px;
  min-width: 54px;
}
.ctl-progress, .ctl-volume {
  appearance: none;
  -webkit-appearance: none;
  height: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.ctl-progress::-webkit-slider-runnable-track, .ctl-volume::-webkit-slider-runnable-track {
  height: 4px;
  background: #2f3b46;
  border-radius: 2px;
}
.ctl-progress::-webkit-slider-thumb, .ctl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3px;
  background: #9fc4e2;
  border: 0;
  border-radius: 50%;
}
.ctl-progress::-moz-range-track, .ctl-volume::-moz-range-track {
  height: 4px;
  background: #2f3b46;
  border-radius: 2px;
}
.ctl-progress::-moz-range-thumb, .ctl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #9fc4e2;
  border: 0;
  border-radius: 50%;
}
.hero-slogan {
  grid-area: slogan;
  align-self: start;
  justify-self: stretch;
  padding: 8px 10px;
  background: linear-gradient(90deg, rgba(20, 26, 32, 0.9), rgba(20, 26, 32, 0.15));
  border-left: 2px solid #4d6d88;
}
.slogan-line {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #9fb1c1;
}
.overview-info {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #262f38;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas:
    "title  synopsis"
    "tag    synopsis"
    "seo    details"
    "status details"
    "cast   details";
  align-items: start;
  gap: 6px 20px;
}
.movie-title {
  grid-area: title;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: #f2f6fa;
}
.movie-tagline {
  grid-area: tag;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #7f95a8;
  border-bottom: 1px dashed #2a333d;
  padding-bottom: 8px;
}
.movie-seo {
  grid-area: seo;
  font-size: 12px;
  line-height: 1.55;
  color: #a7b6c4;
  max-width: 64ch;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 4px;
}
.status-item {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #cfe0ee;
  background: #1d2731;
  border: 1px solid #2f3d49;
  border-right: 2px solid #4d6d88;
  border-radius: 2px;
}
.cast-block {
  grid-area: cast;
  margin-top: 10px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, #3f4d59 0 34%, #2b353e 34% 100%),
    #232c34;
  border: 1px solid #3a4854;
  box-shadow: inset 0 0 0 3px #171d24, 0 6px 12px -8px #000;
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #dfe8f0;
  line-height: 1.2;
}
.cast-role {
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #76899a;
}
.synopsis-block {
  grid-area: synopsis;
  align-self: start;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.55;
  color: #9fb0bf;
  margin-bottom: 6px;
  padding-left: 8px;
  border-left: 1px solid #232c34;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-block {
  grid-area: details;
  align-self: start;
  margin-top: 4px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1px;
  background: #242d36;
  border: 1px solid #242d36;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 7px;
  background: #1a2128;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6f8698;
}
.detail-value {
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  color: #cbd8e3;
  overflow-wrap: anywhere;
}
.timeline-section {
  margin-top: 22px;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: #3d4d5b #171d24;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #171d24;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: #3d4d5b;
  border-radius: 3px;
}
.timeline-card {
  flex: 0 0 158px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px;
  background: linear-gradient(180deg, #20272f, #1a2027);
  border: 1px solid #2b3641;
  border-top: 2px solid #4d6d88;
  border-radius: 2px;
  box-shadow: 0 12px 20px -18px #000;
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #9fc4e2;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: #a8b8c6;
}
.timeline-chain {
  flex: 0 0 22px;
  align-self: center;
  height: 8px;
  margin: 0 -1px;
  background:
    repeating-linear-gradient(90deg, #3c4a57 0 3px, transparent 3px 6px);
  border-top: 1px solid #3c4a57;
  border-bottom: 1px solid #242d36;
  opacity: 0.9;
}
.episodes-section {
  margin-top: 22px;
}
.episodes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-thumb {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 8px;
  min-width: 0;
  background: #1c232b;
  border: 1px solid #2a333d;
  border-left: 2px solid #33414d;
  border-radius: 2px;
  cursor: pointer;
}
.episode-thumb:hover {
  background: #232c35;
  border-left-color: #5b7f9d;
}
.episode-thumb.is-active {
  background: linear-gradient(180deg, #26333f, #1d262f);
  border-color: #47637d;
  border-left-color: #9fc4e2;
  box-shadow: inset 0 0 0 1px rgba(159, 196, 226, 0.12);
}
.episode-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #8ba7bf;
}
.episode-thumb.is-active .episode-number {
  color: #cfe4f4;
}
.episode-title {
  font-size: 12px;
  font-weight: 700;
  color: #dae4ec;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.episode-duration {
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #6f8698;
}
.episode-summary {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 11px;
  background: linear-gradient(180deg, #20272f, #1a2128);
  border: 1px solid #2b3641;
  border-top: 2px solid #4d6d88;
  border-radius: 2px;
}
.episode-summary-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: #eaf1f7;
}
.episode-summary-text {
  font-size: 12px;
  line-height: 1.55;
  color: #a3b2c0;
}
.episode-summary-duration {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8ba7bf;
  padding: 3px 7px;
  background: #1a222a;
  border: 1px solid #2d3944;
  border-radius: 2px;
}
.comments-section {
  margin-top: 22px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px 12px;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  background: linear-gradient(160deg, #e8e1cf 0%, #dcd3bd 100%);
  color: #2c2f33;
  border-radius: 1px;
  box-shadow: 0 12px 20px -16px #000, inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: rotate(-0.7deg);
}
.comment-column .comment-note:nth-child(even) {
  transform: rotate(0.8deg);
  background: linear-gradient(160deg, #e2e6e8 0%, #d3d9dd 100%);
}
.comment-nickname {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #4a5560;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: #33383e;
}
.rec-section {
  margin-top: 22px;
}
.rec-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  color: #dbe6ee;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid #29323c;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-item {
  min-width: 0;
  display: flex;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
  padding: 6px;
  background: #1b222a;
  border: 1px solid #29323c;
  border-radius: 2px;
  color: #b8c6d3;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a[data-runtime="recommendation"]:hover {
  color: #eaf2f8;
  text-decoration: none;
  background: #222b34;
  border-color: #46617a;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  background: #0f1318;
  border: 1px solid #2a333d;
  filter: saturate(0.85) contrast(1.05);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: #dde7ef;
  overflow-wrap: anywhere;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.4;
  color: #8698a8;
  display: block;
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: 26px;
  padding: 16px 14px 26px;
  background: #10141a;
  border-top: 1px solid #232b34;
}
.disclaimer {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #6d7d8c;
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #1e252d;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #9fb4c6;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e6eef5;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  margin-top: 12px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #5f7386;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #7f93a4;
  text-decoration: none;
  border-bottom: 1px dotted #33404c;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #cfe0ee;
  text-decoration: none;
  border-bottom-color: #5b7f9d;
}
.ctl-play.is-playing {
  color: #0f1418;
  background: #9fc4e2;
  border-color: #9fc4e2;
}
.ctl-mute.is-muted {
  color: #e8b7b7;
  background: #3a2626;
  border-color: #6d4343;
}
body.is-dark {
  background-color: #080a0d;
}
body.is-dark .movie-overview, body.is-dark .site-header {
  background: #0b0e12;
}
body.is-dark .poster-wrap {
  border-color: #151b21;
}
.movie-overview.is-theater .overview-hero {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "player" "poster" "slogan";
}
.movie-overview.is-theater .poster-wrap {
  max-width: 220px;
}
@media (max-width: 900px) {.overview-info {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "tag"
      "seo"
      "status"
      "synopsis"
      "cast"
      "details";
    gap: 8px;
  }
.episodes-layout {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 720px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "poster" "player" "slogan";
  }
.poster-wrap {
    max-width: 190px;
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note, .comment-column .comment-note:nth-child(even) {
    transform: rotate(0deg);
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  }}
@media (max-width: 520px) {.site-header {
    padding: 7px 10px;
  }
.page-main {
    padding: 0 10px 22px;
  }
.movie-overview {
    padding: 10px;
  }
.movie-title {
    font-size: 18px;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
  }
.rec-list {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
.timeline-card {
    flex-basis: 142px;
  }
.player-controls {
    gap: 3px 4px;
    padding: 5px 6px;
  }
.ctl {
    padding: 4px 6px;
    font-size: 10px;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }}

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}
