*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: #10161e;
  background-image:
    linear-gradient(180deg, #0d131a 0%, #121a24 42%, #0e141c 100%);
  color: #c7d2dc;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.015em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: #d7e0e8;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
::selection {
  background: #e8434f;
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(13, 19, 26, 0.94);
  border-bottom: 1px solid #1f2b38;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 18px;
}
.site-brand, a[data-contract="site-name"] {
  color: #f2f6f9;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding-right: 14px;
  border-right: 1px solid #26333f;
}
.site-brand::before {
  content: "❄";
  color: #e8434f;
  margin-right: 7px;
  font-size: 13px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: #9fb0be;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  padding: 3px 11px;
  border: 1px solid #2a3846;
  border-radius: 2px;
  background-color: #141d27;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #fff;
  background-color: #1c2834;
  border-color: #e8434f;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.block-title {
  font-size: 15px;
  font-weight: 700;
  color: #eef3f7;
  letter-spacing: 0.14em;
  padding-left: 10px;
  border-left: 3px solid #e8434f;
  margin-bottom: 12px;
}
.hero-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-cold {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px;
  background-color: #151d27;
  background-image:
    linear-gradient(105deg, rgba(120, 160, 190, 0.14) 0%, rgba(120, 160, 190, 0) 46%),
    linear-gradient(180deg, #18212c 0%, #141b24 100%);
  border: 1px solid #26323e;
  border-radius: 3px;
  overflow: hidden;
}
.hero-cold::after {
  content: "";
  position: absolute;
  top: -46%;
  left: -8%;
  width: 52%;
  height: 190%;
  background: linear-gradient(100deg, rgba(174, 206, 226, 0.16), rgba(174, 206, 226, 0) 70%);
  transform: rotate(9deg);
  pointer-events: none;
}
.poster-frame {
  position: relative;
  z-index: 1;
  border: 1px solid #33414f;
  border-radius: 2px;
  background-color: #0c1219;
  box-shadow: 0 0 0 1px rgba(232, 67, 79, 0.16), 0 10px 26px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.05);
}
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 4px;
}
.movie-title {
  font-size: 30px;
  font-weight: 700;
  color: #f4f8fb;
  letter-spacing: 0.04em;
  text-shadow: 0 0 22px rgba(160, 200, 226, 0.28);
}
.movie-tagline {
  font-size: 14px;
  color: #dbe4ec;
  padding-left: 11px;
  border-left: 2px solid #e8434f;
  line-height: 1.6;
}
.movie-seo {
  font-size: 12px;
  color: #7f92a2;
  letter-spacing: 0.1em;
}
.hero-slogan-side {
  position: relative;
  z-index: 1;
  grid-column: 2;
  max-width: 30ch;
  font-size: 12px;
  line-height: 1.7;
  color: #8fa2b3;
  letter-spacing: 0.12em;
  padding-top: 10px;
  border-top: 1px solid #26323e;
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px;
  background-color: #131a23;
  border: 1px solid #232f3b;
  border-radius: 3px;
}
.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}
.cast-strip {
  min-width: 0;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-item {
  flex: 0 1 auto;
  width: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #33414f;
  border-radius: 2px;
  background-color: #1b2530;
  background-image:
    linear-gradient(160deg, rgba(160, 198, 222, 0.3) 0%, rgba(160, 198, 222, 0.02) 58%),
    linear-gradient(0deg, #232f3b 0%, #161f29 100%);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(232, 67, 79, 0.22), rgba(232, 67, 79, 0));
}
.cast-name {
  font-size: 11px;
  color: #a9b9c7;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.3;
}
.details-panel {
  min-width: 0;
}
.details-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #26323e;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 2px;
  border-bottom: 1px solid #1e2833;
}
.detail-key {
  flex: 0 0 66px;
  font-size: 12px;
  color: #7d8f9f;
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: #d5dee6;
  font-weight: 400;
}
.detail-row:last-child .detail-value {
  color: #f0a3a8;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 9px 12px;
  background-color: #10171f;
  border: 1px solid #26323e;
  border-left: 3px solid #e8434f;
  border-radius: 2px;
}
.status-chip {
  font-size: 12px;
  color: #b9c6d2;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.status-num {
  color: #e8434f;
  font-size: 16px;
  font-weight: 700;
  padding: 0 2px;
}
.status-note {
  font-size: 12px;
  color: #8ea0b0;
  letter-spacing: 0.04em;
}
.player-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  border: 1px solid #2a3743;
  border-radius: 3px;
  background-color: #0b1016;
  padding: 8px;
}
.player-panel video {
  width: 100%;
  display: block;
  background-color: #000;
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 400;
  color: #b6c4d0;
  background-color: #18222c;
  border: 1px solid #2c3947;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: #fff;
  border-color: #e8434f;
  background-color: #1f2b37;
}
.ctrl-btn.is-active {
  color: #fff;
  background-color: #e8434f;
  border-color: #e8434f;
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, #e8434f 0%, #e8434f 0%, #26323e 0%, #26323e 100%);
  border-radius: 2px;
  cursor: pointer;
  accent-color: #e8434f;
}
.ctrl-volume {
  flex: 0 1 92px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #26323e;
  border-radius: 2px;
  cursor: pointer;
  accent-color: #e8434f;
}
.player-panel.is-theater {
  box-shadow: 0 0 0 1px #e8434f, 0 0 40px rgba(232, 67, 79, 0.22);
}
body.lights-off {
  background-color: #05080b;
}
body.lights-off .player-panel {
  box-shadow: 0 0 0 1px #33414f, 0 0 60px rgba(150, 195, 226, 0.18);
}
.synopsis-grid {
  min-width: 0;
}
.synopsis-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.synopsis-narrative {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.synopsis-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: #b3c0cc;
  text-align: justify;
}
.synopsis-text::first-letter {
  color: #e8434f;
}
.timeline-rail {
  min-width: 0;
  padding: 12px 14px;
  background-color: #10171f;
  border: 1px solid #26323e;
  border-radius: 2px;
}
.timeline-title {
  font-size: 13px;
  color: #eef3f7;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1f2b38;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-left: 18px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, #3c4d5d, #22303c);
}
.timeline-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding-bottom: 9px;
  border-bottom: 1px dashed #1d2732;
}
.timeline-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.timeline-node {
  position: absolute;
  left: -17px;
  top: 1px;
  font-size: 10px;
  line-height: 1;
  color: #9fc6de;
  background-color: #10171f;
  padding: 1px 0;
}
.timeline-time {
  font-size: 11px;
  color: #e8434f;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  color: #c1ccd7;
}
.episodes-section {
  min-width: 0;
}
.episode-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 176px;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #33414f #131a23;
}
.episode-scroller::-webkit-scrollbar {
  height: 6px;
}
.episode-scroller::-webkit-scrollbar-track {
  background: #131a23;
}
.episode-scroller::-webkit-scrollbar-thumb {
  background: #33414f;
  border-radius: 3px;
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 232px;
  padding: 12px 11px;
  background-color: #141c26;
  border: 1px solid #24303c;
  border-top: 2px solid #2c3947;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}
.episode-card:hover {
  background-color: #18222d;
  border-color: #3b4c5c;
}
.episode-card-active {
  background-color: #1a2430;
  border-color: #e8434f;
  border-top-color: #e8434f;
  box-shadow: 0 0 0 1px rgba(232, 67, 79, 0.28), 0 6px 18px rgba(0, 0, 0, 0.42);
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #eef3f7;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.episode-card-active .episode-title {
  color: #ff8c93;
}
.episode-summary {
  flex: 1 1 auto;
  font-size: 11.5px;
  line-height: 1.7;
  color: #96a7b6;
  overflow: hidden;
}
.episode-duration {
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #8fa2b3;
  padding: 2px 7px;
  border: 1px solid #2c3947;
  border-radius: 2px;
  white-space: nowrap;
}
.episode-card-active .episode-duration {
  color: #fff;
  background-color: #e8434f;
  border-color: #e8434f;
}
.comments-section {
  min-width: 0;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.comment-card {
  padding: 9px 2px 10px;
  border-bottom: 1px solid #202b36;
}
.comment-card:last-child {
  border-bottom: none;
}
.comment-nick {
  font-size: 11.5px;
  font-weight: 700;
  color: #e8434f;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.72;
  color: #adbac6;
}
.rec-region {
  min-width: 0;
}
.rec-title {
  font-size: 14px;
  font-weight: 700;
  color: #eef3f7;
  letter-spacing: 0.12em;
  padding-left: 10px;
  border-left: 3px solid #e8434f;
  margin-bottom: 11px;
}
.rec-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.rec-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rec-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 7px;
  color: #c7d2dc;
  text-decoration: none;
  background-color: #141c26;
  border: 1px solid #232f3b;
  border-radius: 2px;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
a.rec-item:hover, a.rec-item:focus-visible {
  background-color: #1a2430;
  border-color: #e8434f;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background-color: #0b1016;
  filter: saturate(0.9);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #e8eef3;
  line-height: 1.4;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.6;
  color: #8b9dac;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  padding: 20px 18px 30px;
  border-top: 1px solid #1f2b38;
  background-color: #0c1219;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: #9fb0be;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:focus-visible {
  color: #e8434f;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
}
.friend-label {
  font-size: 11px;
  color: #6f8191;
  letter-spacing: 0.14em;
  padding-right: 10px;
  border-right: 1px solid #26323e;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #8b9dac;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: #e8434f;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #66788a;
  letter-spacing: 0.02em;
  border-top: 1px solid #18222c;
  padding-top: 10px;
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 1px solid #e8434f;
  outline-offset: 2px;
}
@media (max-width: 900px) {.hero-cold {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
  }
.movie-title {
    font-size: 24px;
  }
.overview-columns, .synopsis-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
.rec-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 16px 12px 6px;
    gap: 20px;
  }
.header-inner {
    padding: 8px 12px;
    gap: 6px 12px;
  }
.hero-cold {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
.poster-frame {
    max-width: 200px;
  }
.hero-slogan-side {
    grid-column: 1;
    max-width: none;
  }
.overview-body {
    padding: 14px;
    gap: 16px;
  }
.movie-title {
    font-size: 22px;
  }
.episode-scroller {
    grid-auto-columns: 158px;
  }
.episode-card {
    min-height: 210px;
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.rec-grid-4, .rec-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.site-footer {
    padding: 16px 12px 26px;
  }}
@media (max-width: 480px) {body {
    font-size: 14px;
  }
.cast-item {
    width: 62px;
  }
.detail-key {
    flex-basis: 58px;
  }
.episode-scroller {
    grid-auto-columns: 148px;
  }
.rec-grid-4, .rec-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px 6px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11.5px;
  }
.ctrl-progress {
    flex-basis: 100%;
  }
.ctrl-volume {
    flex-basis: 72px;
  }}

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}
