*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}
body {
  margin: 0;
  background-color: #12212b;
  background-image:
    linear-gradient(180deg, rgba(9, 15, 20, 0.94) 0%, rgba(18, 33, 43, 0.88) 40%, rgba(11, 18, 24, 0.96) 100%),
    repeating-linear-gradient(0deg, rgba(214, 178, 94, 0.045) 0px, rgba(214, 178, 94, 0.045) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(120, 140, 155, 0.035) 0px, rgba(120, 140, 155, 0.035) 1px, transparent 1px, transparent 5px);
  color: #c3ccd2;
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #c3ccd2;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2 {
  font-weight: 800;
  letter-spacing: 0.04em;
}
::selection {
  background: #7e1f24;
  color: #f5e9d2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: linear-gradient(180deg, #0c161d 0%, #101e27 100%);
  border-bottom: 1px solid #2d3f4b;
  box-shadow: 0 2px 0 0 rgba(126, 31, 36, 0.55), 0 8px 22px -14px #000;
}
.site-header__brand, a[data-contract="site-name"] {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #f0e4c8;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(214, 178, 94, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f7d98f;
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 4px 11px;
  font-size: 13px;
  color: #b7c3cb;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #354a58;
  background: rgba(23, 38, 48, 0.7);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: #f5e2b6;
  border-color: #7e1f24;
  background: rgba(126, 31, 36, 0.35);
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 26px;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 18px 22px;
  background:
    linear-gradient(115deg, rgba(126, 31, 36, 0.16) 0%, rgba(126, 31, 36, 0.03) 34%, rgba(12, 22, 29, 0) 62%),
    linear-gradient(180deg, #16262f 0%, #101d25 100%);
  border: 1px solid #2b3d49;
  border-top: 2px solid #7e1f24;
  box-shadow: inset 0 0 0 1px rgba(214, 178, 94, 0.06), 0 18px 40px -30px #000;
}
.movie-overview__poster-wrap {
  position: relative;
  align-self: start;
  border: 1px solid #3a505e;
  padding: 5px;
  background: linear-gradient(160deg, #1c2e39 0%, #0d181f 100%);
  box-shadow: 0 10px 26px -18px #000, inset 0 0 0 1px rgba(214, 178, 94, 0.08);
}
.movie-overview__poster-wrap::after {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(214, 178, 94, 0.14) 0%, rgba(126, 31, 36, 0.18) 55%, rgba(0, 0, 0, 0.42) 100%);
  mix-blend-mode: multiply;
}
.movie-overview__poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06);
}
.movie-overview__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-overview__title {
  font-size: 30px;
  line-height: 1.18;
  color: #f6ecd4;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.movie-overview__tagline {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 12px 4px;
  font-family: "Songti SC", "SimSun", "STSong", serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: #f3d79a;
  background: #7e1f24;
  border-left: 3px solid #e0b25c;
}
.movie-overview__seo {
  font-size: 13.5px;
  line-height: 1.78;
  color: #a7b4bd;
  text-align: justify;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: rgba(10, 18, 24, 0.72);
  border: 1px solid #2f4451;
  border-left: 3px solid #7e1f24;
}
.episode-status__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #8b9aa4;
  text-transform: uppercase;
}
.episode-status__value {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0d79c;
}
.player-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #060b0e;
  border: 1px solid #3a505e;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: -1px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #17262f 0%, #0e1a21 100%);
  border: 1px solid #3a505e;
  border-top-color: #253844;
}
.control-btn {
  padding: 5px 11px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #c8d3da;
  background: #1d2f3a;
  border: 1px solid #3b5261;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.control-btn:hover {
  background: #294252;
  color: #f5e6c4;
  border-color: #577082;
}
.control-btn--play, .control-btn--mute, .control-btn--pip, .control-btn--fullscreen, .control-btn--theater, .control-btn--light {
  background: #22343f;
}
.control-btn--play {
  color: #f6e3b4;
  border-color: #7e1f24;
  background: linear-gradient(180deg, #8c2329 0%, #671a1e 100%);
}
.control-btn--play:hover {
  background: linear-gradient(180deg, #a52b31 0%, #7c2025 100%);
  color: #fff6dd;
}
.control-btn.is-active, .control-btn.play.played, .control-btn--theater.is-active, .control-btn--light.is-active {
  color: #0f1c23;
  background: #d6b25e;
  border-color: #f0d79c;
}
.control-btn--mute.is-muted, .control-btn.mute.is-muted {
  color: #f0d79c;
  border-color: #7e1f24;
  background: rgba(126, 31, 36, 0.4);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #2b3f4c;
  border-radius: 0;
  cursor: pointer;
  outline: none;
}
.control-range--progress {
  flex: 1 1 160px;
  min-width: 120px;
}
.control-range--volume {
  flex: 0 1 90px;
  min-width: 70px;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #d6b25e;
  border: 1px solid #7e1f24;
  cursor: pointer;
}
.control-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #d6b25e;
  border: 1px solid #7e1f24;
  border-radius: 0;
  cursor: pointer;
}
.control-range::-moz-range-track {
  height: 4px;
  background: #2b3f4c;
}
.control-select {
  padding: 5px 8px;
  font-size: 12.5px;
  color: #c8d3da;
  background: #1d2f3a;
  border: 1px solid #3b5261;
  cursor: pointer;
}
.control-select--speed {
  letter-spacing: 0.05em;
}
.cast-panel, .synopsis-panel, .details-panel, .episodes-panel, .timeline-panel, .comments-panel, .recommend-region {
  margin-top: 16px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(24, 39, 49, 0.92) 0%, rgba(16, 28, 36, 0.92) 100%);
  border: 1px solid #2b3d49;
  border-top: 2px solid #334a58;
}
.cast-panel {
  margin-top: 14px;
}
.cast-panel__heading, .synopsis-panel__heading, .details-panel__heading, .episodes-panel__heading, .timeline-panel__heading, .comments-panel__heading, .recommend-region__heading {
  position: relative;
  margin-bottom: 12px;
  padding-left: 12px;
  font-size: 16px;
  line-height: 1.4;
  color: #ecdcb6;
  letter-spacing: 0.12em;
}
.cast-panel__heading::before, .synopsis-panel__heading::before, .details-panel__heading::before, .episodes-panel__heading::before, .timeline-panel__heading::before, .comments-panel__heading::before, .recommend-region__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  background: #7e1f24;
  box-shadow: 0 0 10px rgba(126, 31, 36, 0.8);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 10px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 6px 9px;
  background: rgba(13, 23, 30, 0.66);
  border: 1px solid #2c404d;
  text-align: center;
}
.cast-card__avatar {
  width: 100%;
  max-width: 78px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(224, 178, 92, 0.5) 0%, rgba(126, 31, 36, 0.35) 44%, rgba(9, 16, 21, 0.95) 100%),
    linear-gradient(180deg, #2a3f4c 0%, #101c24 100%);
  border: 2px solid #4a6272;
  box-shadow: 0 0 0 2px rgba(12, 20, 26, 0.9), 0 6px 16px -10px #000;
  filter: grayscale(0.35) contrast(1.08);
}
.cast-card__name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e8e0cb;
  line-height: 1.3;
}
.cast-card__role {
  font-family: "Songti SC", "SimSun", "STSong", serif;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #97a6b0;
  line-height: 1.35;
}
.synopsis-panel__para {
  font-family: "Songti SC", "SimSun", "STSong", serif;
  font-size: 14px;
  line-height: 1.85;
  color: #b3bec6;
  text-align: justify;
}
.synopsis-panel__para + .synopsis-panel__para {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #2c4050;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0 16px;
}
.details-list__key, .details-list__val {
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(52, 74, 88, 0.7);
}
.details-list__key {
  color: #8b9aa4;
  letter-spacing: 0.12em;
}
.details-list__val {
  color: #dfe6ea;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.episodes-panel {
  margin-top: 26px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title duration"
    "num summary summary";
  gap: 2px 10px;
  align-items: start;
  padding: 9px 11px;
  background: rgba(12, 21, 28, 0.72);
  border: 1px solid #2b3f4c;
  border-left: 3px solid #3d5566;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  background: rgba(20, 33, 42, 0.9);
  border-left-color: #7e1f24;
}
.episode-card__num {
  grid-area: num;
  align-self: start;
  padding: 2px 7px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #f0d79c;
  background: #7e1f24;
  white-space: nowrap;
}
.episode-card__title {
  grid-area: title;
  font-size: 14px;
  font-weight: 700;
  color: #e9e2cd;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-card__duration {
  grid-area: duration;
  font-size: 11.5px;
  color: #87949e;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.episode-card__summary {
  grid-area: summary;
  font-size: 12.5px;
  line-height: 1.6;
  color: #98a6af;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px 26px minmax(0, 1fr);
  align-items: center;
  gap: 0 10px;
  padding: 7px 0;
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: calc(72px + 10px + 12px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(90, 116, 132, 0.15) 0%, rgba(90, 116, 132, 0.55) 50%, rgba(90, 116, 132, 0.15) 100%);
}
.timeline-item:first-child::after {
  top: 50%;
}
.timeline-item:last-child::after {
  bottom: 50%;
}
.timeline-item__timecode {
  justify-self: start;
  font-family: "Courier New", "Songti SC", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #d6b25e;
}
.timeline-item__node {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 11px;
  height: 11px;
  background: #7e1f24;
  border: 1px solid #e0b25c;
  transform: rotate(45deg);
  box-shadow: 0 0 10px 2px rgba(214, 178, 94, 0.45);
}
.timeline-item__label {
  justify-self: end;
  padding: 3px 10px;
  font-size: 13px;
  color: #c0cbd2;
  text-align: right;
  background: rgba(11, 20, 26, 0.6);
  border-right: 2px solid #3d5566;
  letter-spacing: 0.03em;
}
.comments-panel {
  overflow: hidden;
}
.comments-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.comments-track::-webkit-scrollbar {
  height: 6px;
}
.comments-track::-webkit-scrollbar-track {
  background: #16242d;
}
.comments-track::-webkit-scrollbar-thumb {
  background: #7e1f24;
}
.comment-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  padding: 11px 13px;
  background: linear-gradient(180deg, rgba(26, 43, 54, 0.95) 0%, rgba(14, 24, 31, 0.95) 100%);
  border: 1px solid #2f4451;
  border-top: 2px solid #7e1f24;
}
.comment-card__nick {
  display: inline-block;
  margin-bottom: 6px;
  padding: 1px 8px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #f0d79c;
  border: 1px solid #4a6272;
  background: rgba(9, 17, 23, 0.8);
}
.comment-card__text {
  font-family: "Songti SC", "SimSun", "STSong", serif;
  font-size: 13px;
  line-height: 1.72;
  color: #aeb9c1;
}
.recommend-region {
  padding: 14px 16px 16px;
}
.recommend-region--1, .recommend-region--2, .recommend-region--3 {
  margin-top: 16px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 9px;
}
.recommend-item {
  min-width: 0;
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 7px;
  color: #c3ccd2;
  text-decoration: none;
  background: rgba(12, 21, 28, 0.72);
  border: 1px solid #2b3f4c;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.recommend-link:hover {
  border-color: #7e1f24;
  background: rgba(21, 34, 43, 0.95);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid #33474f;
  filter: saturate(0.78) contrast(1.05);
}
.recommend-link__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #e8e0cb;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recommend-link__blurb {
  font-size: 12px;
  line-height: 1.55;
  color: #94a2ab;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.site-footer {
  margin-top: 22px;
  padding: 18px 20px 26px;
  background: linear-gradient(180deg, #0d1720 0%, #080f14 100%);
  border-top: 2px solid #7e1f24;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #24343f;
}
a.footer-nav__link, a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  color: #b7c3cb;
  text-decoration: none;
  letter-spacing: 0.06em;
}
a.footer-nav__link:hover, a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0d79c;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  margin-top: 12px;
}
.friend-links__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #87949e;
}
a.runtime-friend-link {
  font-size: 12.5px;
  color: #93a4b0;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 8px;
  border: 1px solid #2b3f4c;
  background: rgba(16, 27, 34, 0.7);
}
a.runtime-friend-link:hover {
  color: #f0d79c;
  border-color: #7e1f24;
  text-decoration: none;
}
.site-footer__disclaimer {
  margin-top: 14px;
  padding-top: 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #6f7e88;
  border-top: 1px dashed #24343f;
}
.player {
  position: relative;
}
.is-theater .page-main {
  max-width: 100%;
}
.is-theater .movie-overview {
  border-top-color: #d6b25e;
}
.is-lights-off .movie-overview, .is-lights-off .page-main {
  background-color: #05090c;
}
.is-lights-off .player-frame {
  box-shadow: 0 0 60px -10px rgba(214, 178, 94, 0.35);
}
.is-playing .control-btn--play {
  background: linear-gradient(180deg, #b83036 0%, #8c2329 100%);
}
.player.progress .control-range--progress {
  background: #3a5566;
}
.player.volume .control-range--volume {
  background: #3a5566;
}
.player.speed .control-select--speed {
  border-color: #d6b25e;
}
.player.timeupdate .control-range--progress {
  box-shadow: 0 0 6px rgba(214, 178, 94, 0.5);
}
.player.pause .control-btn--play {
  background: linear-gradient(180deg, #8c2329 0%, #671a1e 100%);
}
.player.ended .control-btn--play, .player.play .control-btn--play.played {
  color: #f0d79c;
}
.player.fullscreen .player-frame {
  border-color: #d6b25e;
}
.player.pip .control-btn--pip.is-active {
  color: #0f1c23;
  background: #d6b25e;
  border-color: #f0d79c;
}
.player.theater .control-btn--theater.is-active, .player.light .control-btn--light.is-active, .player.mute .control-btn--mute.is-muted, .player.input .control-range, .player.click .control-btn {
  outline: none;
}
.change .control-range--progress, .change .control-range--volume {
  background: #4a6272;
}
@media (max-width: 1024px) {.cast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }}
@media (max-width: 860px) {.movie-overview {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    gap: 16px;
  }
.movie-overview__title {
    font-size: 25px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 720px) {.page-main {
    padding: 14px 12px 22px;
  }
.site-header {
    padding: 9px 12px;
    gap: 10px;
  }
.site-header__brand, a[data-contract="site-name"] {
    font-size: 16px;
    letter-spacing: 0.1em;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 13px 18px;
  }
.movie-overview__poster-wrap {
    max-width: 200px;
  }
.movie-overview__title {
    font-size: 23px;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 8px;
  }
.cast-card__avatar {
    max-width: 66px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-item {
    grid-template-columns: 62px 22px minmax(0, 1fr);
    gap: 0 8px;
  }
.timeline-item::after {
    left: calc(62px + 8px + 10px);
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.comment-card {
    flex-basis: 220px;
  }}
@media (max-width: 480px) {body {
    font-size: 14px;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.movie-overview__title {
    font-size: 21px;
  }
.movie-overview__tagline {
    font-size: 12.5px;
    letter-spacing: 0.1em;
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.control-btn {
    padding: 5px 8px;
    font-size: 12px;
  }
.control-range--progress {
    flex-basis: 100%;
    order: 10;
  }
.timeline-item {
    grid-template-columns: 56px 20px minmax(0, 1fr);
  }
.timeline-item::after {
    left: calc(56px + 8px + 9px);
  }
.timeline-item__label {
    font-size: 12.5px;
    padding: 3px 8px;
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.comment-card {
    flex-basis: 200px;
  }
.friend-links {
    gap: 6px 10px;
  }}

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}
