*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #c9d3e6;
  background-color: #070a14;
  background-image:
    radial-gradient(circle at 18% 6%, rgba(58, 88, 160, 0.16), transparent 42%),
    radial-gradient(circle at 84% 12%, rgba(120, 24, 40, 0.14), transparent 46%),
    radial-gradient(circle at 50% 120%, rgba(28, 46, 92, 0.2), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 9, 18, 0.97), rgba(9, 13, 26, 0.9));
  border-bottom: 1px solid rgba(197, 160, 74, 0.22);
  backdrop-filter: blur(8px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 20px;
}
a[data-contract="site-name"] {
  color: #e8c86a;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 12px 2px 0;
  border-right: 1px solid rgba(197, 160, 74, 0.3);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
a[data-contract="site-name"]:hover {
  color: #ffe9a8;
  text-shadow: 0 0 12px rgba(232, 200, 106, 0.6);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: #94a3c4;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border: 1px solid rgba(122, 148, 200, 0.28);
  border-radius: 2px;
  background: rgba(24, 34, 62, 0.5);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #ffe9a8;
  border-color: rgba(232, 200, 106, 0.65);
  background: rgba(60, 42, 22, 0.55);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.movie-hero {
  display: flex;
  flex-direction: column;
  margin: 0 -20px;
}
.movie-hero__backdrop {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 8, 17, 0.2) 0%, rgba(5, 8, 17, 0.72) 62%, #070a14 100%),
    radial-gradient(ellipse at 50% 40%, rgba(46, 72, 138, 0.5), rgba(6, 9, 18, 0.98) 72%);
  padding: 54px 24px 46px;
  min-height: 300px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.movie-hero__silhouettes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.silhouette {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(180deg, rgba(10, 14, 28, 0.2), rgba(8, 11, 22, 0.92));
  opacity: 0.92;
}
.silhouette--left {
  left: 0;
  clip-path: polygon(0 0, 74% 0, 88% 22%, 72% 44%, 84% 68%, 66% 100%, 0 100%);
  background: linear-gradient(105deg, rgba(12, 18, 36, 0.95) 30%, rgba(16, 24, 48, 0.35));
}
.silhouette--right {
  right: 0;
  clip-path: polygon(100% 0, 26% 0, 12% 22%, 28% 44%, 16% 68%, 34% 100%, 100% 100%);
  background: linear-gradient(255deg, rgba(30, 12, 22, 0.95) 30%, rgba(48, 18, 32, 0.35));
}
.star-rift {
  position: absolute;
  left: 50%;
  top: 4%;
  bottom: 4%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, #ffe9a8 18%, #ff6b52 50%, #ffe9a8 82%, transparent);
  box-shadow:
    0 0 10px rgba(255, 180, 120, 0.9),
    0 0 30px rgba(255, 96, 64, 0.7),
    0 0 70px rgba(255, 70, 50, 0.45);
  border-radius: 2px;
  z-index: 1;
}
.star-rift::before, .star-rift::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  background: #ffe9a8;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 220, 140, 0.95);
}
.star-rift::before {
  top: -4px;
}
.star-rift::after {
  bottom: -4px;
}
.movie-hero__tagline {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: #f2e6cf;
  text-shadow:
    0 0 18px rgba(255, 120, 70, 0.55),
    0 2px 14px rgba(0, 0, 0, 0.95);
  padding: 12px 22px;
  margin: 0 auto;
  border-top: 1px solid rgba(232, 200, 106, 0.35);
  border-bottom: 1px solid rgba(232, 200, 106, 0.35);
  background: linear-gradient(90deg, transparent, rgba(8, 12, 24, 0.62) 18%, rgba(8, 12, 24, 0.62) 82%, transparent);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.movie-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 22px 20px 0;
}
.poster-frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #0b1020;
  border: 1px solid rgba(122, 148, 200, 0.28);
  border-radius: 2px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(1.05) contrast(1.05);
}
.poster-frame__caption {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #9fb0d0;
  padding: 2px 0 4px;
}
.movie-hero__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.movie-title {
  font-size: 30px;
  letter-spacing: 0.06em;
  color: #f6f1e4;
  text-shadow: 0 0 22px rgba(120, 160, 255, 0.35);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  padding-bottom: 2px;
}
.movie-subtitle {
  font-size: 14px;
  color: #9fb0d0;
  letter-spacing: 0.04em;
  border-left: 2px solid rgba(197, 160, 74, 0.7);
  padding-left: 10px;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #04060d;
  border: 1px solid rgba(122, 148, 200, 0.3);
  border-radius: 2px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.player-shell video {
  width: 100%;
  background: #000;
  border-radius: 1px;
  display: block;
}
.player-shell.is-lights-off {
  background: #000;
  box-shadow: 0 0 0 1px rgba(232, 200, 106, 0.25), 0 0 46px rgba(0, 0, 0, 0.95);
}
.player-shell.is-lights-off .player-controls {
  opacity: 0.55;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px rgba(232, 200, 106, 0.4), 0 0 60px rgba(60, 90, 180, 0.35);
}
.player-shell.is-fullscreen {
  padding: 0;
  border: 0;
}
.player-shell.is-muted .player-range--volume {
  opacity: 0.4;
}
.player-shell.is-speed .player-btn[data-player-action="speed"] {
  color: #ffe9a8;
  border-color: rgba(232, 200, 106, 0.7);
}
.player-shell.is-pip .player-btn[data-player-action="pip"] {
  color: #ffe9a8;
  border-color: rgba(232, 200, 106, 0.7);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 2px 2px 4px;
}
.player-btn {
  flex: 0 0 auto;
  cursor: pointer;
  background: rgba(22, 32, 58, 0.85);
  border: 1px solid rgba(122, 148, 200, 0.32);
  color: #c9d3e6;
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 2px;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: #ffe9a8;
  border-color: rgba(232, 200, 106, 0.7);
  background: rgba(52, 38, 20, 0.8);
}
.player-btn.play, .player-btn.mute, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light, .player-btn.speed {
  color: #d9e2f5;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 20px;
  cursor: pointer;
  flex: 1 1 120px;
  min-width: 90px;
}
.player-range--progress {
  flex: 3 1 180px;
}
.player-range--volume {
  flex: 1 1 80px;
}
.player-range::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 120, 70, 0.85), rgba(120, 150, 220, 0.5));
  border-radius: 2px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: #ffe9a8;
  border: 1px solid rgba(120, 40, 20, 0.8);
  box-shadow: 0 0 10px rgba(255, 190, 120, 0.9);
}
.player-range::-moz-range-track {
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 120, 70, 0.85), rgba(120, 150, 220, 0.5));
  border-radius: 2px;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffe9a8;
  border: 1px solid rgba(120, 40, 20, 0.8);
  box-shadow: 0 0 10px rgba(255, 190, 120, 0.9);
}
.section-heading {
  font-size: 17px;
  letter-spacing: 0.12em;
  color: #e8c86a;
  margin-bottom: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(197, 160, 74, 0.28);
}
.section-heading--notched {
  position: relative;
  display: block;
  padding-left: 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.section-heading--notched::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, #ff6b52, #e8c86a);
  box-shadow: 0 0 10px rgba(255, 120, 70, 0.7);
}
.cast-strip {
  border: 1px solid rgba(122, 148, 200, 0.22);
  background: rgba(13, 19, 36, 0.6);
  padding: 12px 14px 14px;
  border-radius: 2px;
}
.cast-strip__heading {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #9fb0d0;
  margin-bottom: 10px;
}
.cast-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  background: rgba(22, 32, 58, 0.7);
  border: 1px solid rgba(122, 148, 200, 0.26);
  border-radius: 2px;
  flex: 0 0 auto;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cast-card:hover {
  border-color: rgba(232, 200, 106, 0.6);
  background: rgba(36, 30, 46, 0.85);
}
.cast-card__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 220, 150, 0.9), rgba(180, 60, 50, 0.75) 46%, rgba(20, 28, 52, 0.95) 100%);
  box-shadow: inset 0 0 0 1px rgba(232, 200, 106, 0.5), 0 0 8px rgba(255, 130, 80, 0.35);
}
.cast-card__name {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #dbe4f5;
  white-space: nowrap;
}
.synopsis-block {
  border: 1px solid rgba(122, 148, 200, 0.22);
  background: linear-gradient(180deg, rgba(16, 23, 44, 0.72), rgba(11, 16, 32, 0.72));
  padding: 14px 16px 16px;
  border-radius: 2px;
}
.synopsis-block__lead {
  font-size: 14.5px;
  color: #e8dfc9;
  border-left: 2px solid rgba(255, 107, 82, 0.8);
  padding-left: 12px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.synopsis-block__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}
.synopsis-block__body p {
  font-size: 13.5px;
  color: #aebbd6;
  line-height: 1.7;
  position: relative;
  padding-left: 12px;
}
.synopsis-block__body p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background: #e8c86a;
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(232, 200, 106, 0.8);
}
.episode-status, .details-panel {
  border: 1px solid rgba(122, 148, 200, 0.22);
  background: rgba(13, 19, 36, 0.62);
  padding: 14px 16px 16px;
  border-radius: 2px;
}
.episode-status__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-status__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(24, 34, 62, 0.6);
  border: 1px solid rgba(122, 148, 200, 0.2);
  border-radius: 2px;
}
.episode-status__item dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #8d9cbd;
  white-space: nowrap;
}
.episode-status__item dd {
  font-size: 15px;
  font-weight: 700;
  color: #ffe9a8;
  letter-spacing: 0.04em;
}
.details-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(122, 148, 200, 0.16);
  border: 1px solid rgba(122, 148, 200, 0.16);
}
.details-panel__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 11px;
  background: rgba(11, 16, 32, 0.94);
  min-width: 0;
}
.details-panel__item dt {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #7d8bab;
  white-space: nowrap;
}
.details-panel__item dd {
  font-size: 13px;
  color: #dbe4f5;
  letter-spacing: 0.02em;
  word-break: break-word;
}
.details-panel__item:nth-child(8) dd {
  color: #ff9a72;
  font-weight: 700;
}
.timeline-section {
  border: 1px solid rgba(122, 148, 200, 0.22);
  background: rgba(11, 16, 32, 0.6);
  padding: 14px 16px 16px;
  border-radius: 2px;
}
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 22px;
  border-left: 1px solid rgba(122, 148, 200, 0.3);
  margin-left: 4px;
}
.timeline__item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 7px 10px 7px 4px;
  border-bottom: 1px dashed rgba(122, 148, 200, 0.14);
  transition: background 0.18s ease;
}
.timeline__item:last-child {
  border-bottom: 0;
}
.timeline__item:hover {
  background: rgba(28, 40, 72, 0.4);
}
.timeline__node {
  position: absolute;
  left: -27px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b52;
  box-shadow:
    0 0 0 2px rgba(7, 10, 20, 1),
    0 0 10px rgba(255, 107, 82, 0.95),
    0 0 22px rgba(255, 107, 82, 0.5);
}
.timeline__item:nth-child(odd) .timeline__node {
  background: #e8c86a;
  box-shadow:
    0 0 0 2px rgba(7, 10, 20, 1),
    0 0 10px rgba(232, 200, 106, 0.95),
    0 0 22px rgba(232, 200, 106, 0.5);
}
.timeline__timecode {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #ff9a72;
  flex: 0 0 auto;
  min-width: 56px;
}
.timeline__label {
  font-size: 13.5px;
  color: #dbe4f5;
  letter-spacing: 0.03em;
}
.episodes-section {
  border: 1px solid rgba(122, 148, 200, 0.22);
  background: rgba(11, 16, 32, 0.6);
  padding: 14px 16px 16px;
  border-radius: 2px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(122, 148, 200, 0.16);
  border: 1px solid rgba(122, 148, 200, 0.16);
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 13px 11px;
  background: rgba(11, 16, 32, 0.95);
  min-width: 0;
  transition: background 0.2s ease;
}
.episode-card:hover {
  background: rgba(26, 34, 60, 0.95);
}
.episode-card__number {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #ff9a72;
  text-transform: uppercase;
}
.episode-card__title {
  font-size: 14px;
  color: #f2e6cf;
  letter-spacing: 0.03em;
}
.episode-card__summary {
  font-size: 12.5px;
  color: #9aa8c6;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.24s ease, margin-top 0.24s ease;
  margin-top: 0;
}
.episode-card:hover .episode-card__summary, .episode-card:focus-within .episode-card__summary {
  max-height: 160px;
  opacity: 1;
  margin-top: 3px;
}
.episode-card__duration {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8d9cbd;
  border: 1px solid rgba(122, 148, 200, 0.3);
  padding: 1px 7px;
  border-radius: 2px;
  margin-top: auto;
}
.comments-section {
  border: 1px solid rgba(122, 148, 200, 0.22);
  background: rgba(13, 19, 36, 0.62);
  padding: 14px 16px 16px;
  border-radius: 2px;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 13px;
  background: linear-gradient(180deg, rgba(20, 28, 52, 0.85), rgba(13, 19, 36, 0.85));
  border: 1px solid rgba(122, 148, 200, 0.24);
  border-left: 2px solid rgba(232, 200, 106, 0.55);
  border-radius: 2px;
  min-width: 0;
}
.comment-card__text {
  font-size: 13px;
  color: #cfd9ec;
  line-height: 1.65;
}
.comment-card__nickname {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #ff9a72;
  align-self: flex-end;
}
.comment-card__nickname::before {
  content: "— ";
  color: #8d9cbd;
}
.recommend-region {
  border: 1px solid rgba(122, 148, 200, 0.22);
  background: rgba(11, 16, 32, 0.6);
  padding: 14px 16px 16px;
  border-radius: 2px;
}
.recommend-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-track::-webkit-scrollbar {
  height: 6px;
}
.recommend-track::-webkit-scrollbar-track {
  background: rgba(24, 34, 62, 0.6);
}
.recommend-track::-webkit-scrollbar-thumb {
  background: rgba(232, 200, 106, 0.5);
  border-radius: 3px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 clamp(150px, 20vw, 200px);
  scroll-snap-align: start;
  padding: 7px;
  background: rgba(16, 23, 44, 0.85);
  border: 1px solid rgba(122, 148, 200, 0.26);
  border-radius: 2px;
  color: #dbe4f5;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: rgba(232, 200, 106, 0.7);
  background: rgba(32, 30, 48, 0.95);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  background: #04060d;
}
.recommend-card__name {
  font-size: 13px;
  font-weight: 700;
  color: #f2e6cf;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-card__blurb {
  font-size: 11.5px;
  color: #93a1c0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid rgba(197, 160, 74, 0.24);
  background: linear-gradient(180deg, rgba(6, 9, 18, 0.9), rgba(4, 6, 13, 1));
  padding: 20px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.site-footer__disclaimer {
  max-width: 900px;
  font-size: 12px;
  color: #7d8bab;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid rgba(122, 148, 200, 0.3);
  border-radius: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"] {
  color: #e8c86a;
}
a[data-contract="footer-home"]:hover {
  color: #ffe9a8;
  border-color: rgba(232, 200, 106, 0.7);
}
a[data-contract="footer-sitemap"] {
  color: #94a3c4;
}
a[data-contract="footer-sitemap"]:hover {
  color: #dbe4f5;
  border-color: rgba(122, 148, 200, 0.65);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  max-width: 900px;
  padding-top: 4px;
  border-top: 1px dashed rgba(122, 148, 200, 0.2);
  width: 100%;
}
.friend-links__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #7d8bab;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #8fa4cc;
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: #ffe9a8;
  text-decoration: underline;
}
@media (max-width: 1080px) {.details-panel__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.movie-hero__body {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    gap: 18px;
  }
.movie-title {
    font-size: 25px;
  }
.synopsis-block__body {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 760px) {.page-main {
    padding: 0 14px 32px;
    gap: 24px;
  }
.site-header__inner {
    padding: 9px 14px;
    gap: 12px;
  }
.movie-hero {
    margin: 0 -14px;
  }
.movie-hero__backdrop {
    padding: 40px 16px 34px;
    min-height: 240px;
  }
.movie-hero__tagline {
    font-size: 15.5px;
    padding: 10px 14px;
  }
.movie-hero__body {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 14px 0;
    gap: 16px;
  }
.poster-frame {
    max-width: 190px;
    align-self: flex-start;
  }
.movie-title {
    font-size: 22px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-status__grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 5px;
  }
.player-btn {
    font-size: 11.5px;
    padding: 4px 8px;
  }}
@media (max-width: 520px) {body {
    font-size: 14px;
  }
.movie-hero__tagline {
    font-size: 14px;
    letter-spacing: 0.03em;
  }
.silhouette {
    width: 46%;
  }
.timeline__item {
    gap: 8px;
    padding: 6px 6px 6px 2px;
  }
.timeline__timecode {
    min-width: 48px;
  }
.details-panel__grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip__list {
    gap: 6px;
  }
a.recommend-card {
    flex: 0 0 clamp(140px, 62vw, 190px);
  }
.footer-nav {
    gap: 8px;
  }}
@media (min-width: 1180px) {.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-track {
    gap: 12px;
  }}

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}
