*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: #14181d;
  background-image:
    radial-gradient(120% 90% at 12% 0%, rgba(94, 116, 138, 0.18) 0%, rgba(20, 24, 29, 0) 58%),
    radial-gradient(90% 70% at 92% 8%, rgba(126, 58, 40, 0.16) 0%, rgba(20, 24, 29, 0) 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.014) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, rgba(0, 0, 0, 0) 1px 4px);
  color: #d7dde2;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Heiti SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, video {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #c9d2da;
  text-decoration: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.03em;
}
button, input {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}
button {
  cursor: pointer;
}
::selection {
  background: #8a3b28;
  color: #f2efe9;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 9px 20px 8px;
  background: #10141a;
  border-bottom: 1px solid #262c34;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.site-header__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #e9edf0;
  text-decoration: none;
  border-left: 3px solid #8a3b28;
  padding-left: 9px;
}
.site-name:hover, .site-name:focus {
  color: #f2efe9;
  text-decoration: underline;
  text-decoration-color: #8a3b28;
  text-underline-offset: 3px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  flex: 1 1 auto;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #b3bec8;
  text-decoration: none;
  white-space: nowrap;
  border-right: 1px solid #2b333c;
}
.runtime-category:last-child {
  border-right: 0;
}
.runtime-category:hover, .runtime-category:focus {
  color: #f2efe9;
  background: #1c222a;
  text-decoration: none;
}
.runtime-category.is-active {
  color: #e9edf0;
  background: rgba(138, 59, 40, 0.32);
}
.page-main {
  width: 100%;
  max-width: none;
  padding: 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 0 30px;
  padding: 22px 26px 30px;
  background:
    linear-gradient(180deg, #171c22 0%, #141920 46%, #10141a 100%);
  border-bottom: 1px solid #262c34;
}
.hero__backdrop {
  position: relative;
  align-self: start;
}
.hero__poster-wrap {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 320px;
  border: 1px solid #2e3741;
  background: #0d1116;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.hero__poster {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.72) contrast(1.08) brightness(0.92);
}
.hero__gate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(0, 0, 0, 0) 1px 13px),
    linear-gradient(180deg, rgba(13, 17, 22, 0.1) 0%, rgba(13, 17, 22, 0.86) 78%, rgba(13, 17, 22, 0.96) 100%);
  overflow: hidden;
}
.hero__red-seam {
  position: absolute;
  top: -6%;
  left: 58%;
  width: 5px;
  height: 116%;
  background: linear-gradient(180deg, rgba(150, 48, 26, 0) 0%, #9c3a22 34%, #c0492b 62%, rgba(150, 48, 26, 0) 100%);
  box-shadow: 0 0 14px 3px rgba(178, 62, 34, 0.5);
  transform: rotate(1.4deg);
}
.hero__figure {
  position: absolute;
  bottom: 0;
  left: 44%;
  width: 46px;
  height: 78%;
  background: linear-gradient(180deg, #0a0d11 0%, #0a0d11 62%, rgba(10, 13, 17, 0) 100%);
  border-radius: 42% 42% 0 0;
  box-shadow: -8px 0 16px rgba(0, 0, 0, 0.7);
  opacity: 0.94;
}
.hero__chalk-mark {
  position: absolute;
  top: 8%;
  left: 8%;
  width: 74%;
  height: 58%;
  background:
    repeating-linear-gradient(96deg, rgba(240, 240, 232, 0.62) 0 2px, rgba(240, 240, 232, 0) 2px 11px);
  opacity: 0.5;
  mix-blend-mode: screen;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 76%, rgba(0, 0, 0, 0) 100%);
}
.hero__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.hero__title {
  font-size: 32px;
  letter-spacing: 0.12em;
  color: #f0f2f3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.hero__tagline {
  margin-top: 7px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: #c07a5f;
  border-left: 2px solid #6d2e1f;
  padding-left: 9px;
}
.hero__seo {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.72;
  color: #97a4af;
  max-width: 62ch;
}
.player-shell {
  position: relative;
  margin-top: 16px;
  width: 100%;
  background: #0b0e12;
  border: 1px solid #2b333c;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}
.player-shell.is-theater {
  border-color: #7d3524;
  box-shadow: 0 0 0 1px rgba(138, 59, 40, 0.5), 0 18px 44px rgba(0, 0, 0, 0.75);
}
.player-shell.is-lights-off {
  background: #05070a;
}
.player-shell.is-lights-off .player-video {
  filter: brightness(0.62) contrast(1.12);
}
.player-video {
  display: block;
  width: 100%;
  background: #05070a;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 7px 9px;
  background: #10151b;
  border-top: 1px solid #262c34;
}
.player-btn {
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #aeb9c3;
  background: #171d24;
  border: 1px solid #2c353f;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.player-btn:hover, .player-btn:focus {
  color: #f2efe9;
  background: #212932;
  border-color: #46525e;
}
.player-btn--play {
  color: #f0e6e1;
  background: #6d2e1f;
  border-color: #8a3b28;
  font-weight: 700;
}
.player-btn.is-active, .player-btn--play.is-active {
  color: #f6f2ee;
  background: #8a3b28;
  border-color: #b04a2f;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #2b333c;
  border-radius: 2px;
  outline: none;
}
.player-range--progress {
  flex: 1 1 160px;
  min-width: 120px;
}
.player-range--volume {
  flex: 0 1 96px;
  min-width: 70px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c0492b;
  border: 1px solid #e2d8d0;
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c0492b;
  border: 1px solid #e2d8d0;
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 13px;
  padding: 7px 11px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  background: rgba(23, 29, 36, 0.72);
  border-left: 2px solid #8a3b28;
}
.episode-status__current {
  color: #e6e2dc;
  font-weight: 700;
}
.episode-status__total {
  color: #8e9ba6;
  border-left: 1px solid #333c46;
  padding-left: 12px;
}
.cast-strip {
  margin-top: 16px;
}
.cast-strip__heading, .synopsis__heading, .timeline__heading, .episodes__heading, .comments__heading, .recommend-region__heading {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #cfd7de;
  padding-bottom: 6px;
  border-bottom: 1px solid #2b333c;
  text-transform: none;
}
.cast-strip__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(180deg, #1b2229 0%, #0e1318 100%);
  border: 1px solid #2a323b;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.cast-card:hover {
  border-color: #7d3524;
}
.cast-card__silhouette {
  position: absolute;
  left: 50%;
  bottom: 26%;
  width: 62%;
  height: 62%;
  transform: translateX(-50%);
  background:
    radial-gradient(48% 34% at 50% 16%, #e8e6e1 0%, #d9d6d0 62%, rgba(217, 214, 208, 0) 100%),
    radial-gradient(58% 76% at 50% 96%, #d2cfc9 0%, #b9b6b0 70%, rgba(185, 182, 176, 0) 100%);
  filter: grayscale(1) contrast(1.5);
  opacity: 0.9;
}
.cast-card__name {
  position: relative;
  z-index: 1;
  display: block;
  padding: 5px 6px 6px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-align: center;
  color: #eae7e1;
  background: linear-gradient(180deg, rgba(10, 13, 17, 0) 0%, rgba(10, 13, 17, 0.86) 44%, rgba(10, 13, 17, 0.96) 100%);
}
.synopsis {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis__para {
  font-size: 13px;
  line-height: 1.78;
  color: #9ba7b2;
  max-width: 68ch;
}
.synopsis__para + .synopsis__para {
  margin-top: 2px;
}
.details-bar {
  margin-top: 16px;
  padding: 9px 0 2px;
  border-top: 1px solid #262c34;
}
.details-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.details-bar__item {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 0 11px;
  border-right: 1px solid #2b333c;
  font-size: 12px;
  line-height: 1.45;
}
.details-bar__item:first-child {
  padding-left: 0;
}
.details-bar__item:last-child {
  border-right: 0;
}
.details-bar__key {
  color: #6f7d89;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.details-bar__value {
  color: #c9d2da;
  white-space: nowrap;
}
.timeline {
  padding: 18px 26px 20px;
  border-bottom: 1px solid #262c34;
  background: linear-gradient(180deg, #12161c 0%, #141920 100%);
}
.timeline__rail {
  position: relative;
  margin-top: 14px;
  padding-left: 20px;
  border-left: 1px solid #333c46;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.timeline__node {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 14px;
  padding-left: 16px;
}
.timeline__dot {
  position: absolute;
  left: -24px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c0492b;
  box-shadow: 0 0 0 2px #141920, 0 0 8px rgba(192, 73, 43, 0.6);
}
.timeline__tick {
  position: absolute;
  left: -17px;
  top: 9px;
  width: 15px;
  height: 1px;
  background: #3c4652;
}
.timeline__timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #b8705a;
  white-space: nowrap;
}
.timeline__label {
  font-size: 13px;
  line-height: 1.5;
  color: #a9b4be;
}
.episodes {
  padding: 18px 26px 20px;
  border-bottom: 1px solid #262c34;
}
.episodes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px;
  margin-top: 14px;
}
.episode-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    ".   sum   sum";
  align-items: baseline;
  gap: 2px 12px;
  padding: 9px 11px 10px;
  background: #161b21;
  border-left: 2px solid #262c34;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.episode-card:hover {
  background: #5c2719;
  border-left-color: #c0492b;
}
.episode-card__number {
  grid-area: num;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #b8705a;
  white-space: nowrap;
}
.episode-card__title {
  grid-area: title;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #e6e2dc;
}
.episode-card__duration {
  grid-area: dur;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #7f8c97;
  white-space: nowrap;
}
.episode-card__summary {
  grid-area: sum;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.62;
  color: #93a0ab;
  max-width: 72ch;
}
.episode-card:hover .episode-card__summary {
  color: #dfd8d2;
}
.comments {
  padding: 18px 26px 20px;
  border-bottom: 1px solid #262c34;
  background: linear-gradient(180deg, #12161c 0%, #141920 100%);
}
.comments__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 20px;
  margin-top: 14px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 12px 9px;
  background: rgba(26, 32, 39, 0.66);
  border-left: 1px solid #7d3524;
}
.comment-card__nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #c07a5f;
}
.comment-card__text {
  font-size: 12.5px;
  line-height: 1.66;
  color: #9ba7b2;
  max-width: 66ch;
}
.recommend-region {
  padding: 16px 26px 4px;
}
.recommend-region + .recommend-region {
  padding-top: 14px;
}
.recommend-region__grid {
  display: grid;
  gap: 10px;
  margin-top: 11px;
}
.recommend-region--one .recommend-region__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-region--two .recommend-region__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recommend-region--three .recommend-region__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.recommend-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 7px 7px 9px;
  background: #171d24;
  border: 1px solid #272f38;
  color: #c9d2da;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.recommend-card:hover, .recommend-card:focus {
  background: #5c2719;
  border-color: #8a3b28;
  color: #f2efe9;
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0d1116;
  filter: saturate(0.7) contrast(1.08) brightness(0.94);
}
.recommend-card__name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e2e6e9;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.recommend-card__blurb {
  display: block;
  font-size: 11.5px;
  line-height: 1.5;
  color: #8b98a3;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.recommend-card:hover .recommend-card__blurb, .recommend-card:focus .recommend-card__blurb {
  color: #ded5cf;
}
.site-footer {
  margin-top: 6px;
  padding: 14px 26px 22px;
  background: #0f1318;
  border-top: 1px solid #262c34;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #6d7a85;
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
}
.footer-nav a {
  padding: 2px 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #aeb9c3;
  text-decoration: none;
  border-right: 1px solid #2b333c;
}
.footer-nav a:first-child {
  padding-left: 0;
}
.footer-nav a:last-child {
  border-right: 0;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus {
  color: #f2efe9;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus {
  color: #c07a5f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding-top: 8px;
  border-top: 1px solid #1f262e;
}
.friend-links__label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #6f7d89;
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: #8693a0;
  text-decoration: none;
  white-space: nowrap;
}
.runtime-friend-link:hover, .runtime-friend-link:focus {
  color: #c07a5f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1024px) {.hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 0 22px;
    padding: 18px 20px 24px;
  }
.hero__title {
    font-size: 28px;
  }
.cast-strip__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
.recommend-region--one .recommend-region__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-region--three .recommend-region__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline, .episodes, .comments, .recommend-region {
    padding-left: 20px;
    padding-right: 20px;
  }}
@media (max-width: 820px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px 0;
  }
.hero__poster-wrap {
    max-width: 240px;
  }
.hero__poster {
    width: 100%;
  }
.cast-strip__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episodes__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px 0;
  }
.comments__list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-region--one .recommend-region__grid, .recommend-region--two .recommend-region__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-region--three .recommend-region__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 560px) {body {
    font-size: 13.5px;
  }
.site-header {
    padding: 8px 14px 7px;
    gap: 6px 12px;
  }
.site-name {
    font-size: 15px;
  }
.hero {
    padding: 14px 14px 20px;
  }
.hero__title {
    font-size: 23px;
    letter-spacing: 0.08em;
  }
.hero__tagline {
    font-size: 12.5px;
  }
.hero__seo {
    font-size: 12.5px;
  }
.player-controls {
    padding: 6px 7px;
    gap: 5px 6px;
  }
.player-btn {
    padding: 3px 8px;
    font-size: 11.5px;
  }
.player-range--progress {
    flex: 1 1 100%;
  }
.player-range--volume {
    flex: 1 1 40%;
  }
.timeline, .episodes, .comments, .recommend-region {
    padding-left: 14px;
    padding-right: 14px;
  }
.timeline__node {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px 0;
  }
.timeline__timecode {
    font-size: 11.5px;
  }
.episode-card {
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "sum sum"
      "dur dur";
    gap: 3px 10px;
    padding: 8px 8px 9px;
  }
.episode-card__duration {
    margin-top: 2px;
  }
.cast-strip__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
.recommend-region--one .recommend-region__grid, .recommend-region--two .recommend-region__grid, .recommend-region--three .recommend-region__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.site-footer {
    padding: 12px 14px 18px;
  }}
@media (max-width: 380px) {.recommend-region--one .recommend-region__grid, .recommend-region--two .recommend-region__grid, .recommend-region--three .recommend-region__grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip__list {
    grid-template-columns: repeat(2, minmax(0, 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}
