*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, figure, figcaption, ul, ol, li, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:root {
  --ink: #141b24;
  --ink-soft: #2b3542;
  --steel: #566576;
  --mist: #8b9aa9;
  --paper: #eef1f4;
  --paper-2: #e2e7ec;
  --line: #c4ccd4;
  --line-soft: #d8dee4;
  --hydrangea: #6f5aa8;
  --hydrangea-deep: #4c3c7d;
  --hydrangea-soft: #a294c9;
  --ash: #98a2ac;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink);
  background:
    linear-gradient(180deg, #dfe4e9 0%, #e9edf1 40%, #e3e8ed 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 18px;
  background: rgba(20, 27, 36, 0.94);
  border-bottom: 1px solid var(--hydrangea-deep);
  box-shadow: 0 1px 0 rgba(111, 90, 168, 0.4), 0 6px 18px rgba(10, 15, 22, 0.35);
}
.site-header__branding { display: flex; align-items: center; min-width: 0; }
.site-header__logo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.34em;
  color: #f2f5f8;
  white-space: nowrap;
  transition: color 0.25s ease, letter-spacing 0.3s ease;
}
a[data-contract="site-name"] { color: #f2f5f8; text-decoration: none; }
a[data-contract="site-name"]:hover { color: var(--hydrangea-soft); letter-spacing: 0.42em; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: #cdd6df;
  text-decoration: none;
  border: 1px solid rgba(162, 148, 201, 0.4);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--hydrangea-soft);
  background: rgba(111, 90, 168, 0.45);
}
.page-main {
  display: block;
  padding: 0 0 4px;
  max-width: 100%;
}
.section-heading {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--ink);
  padding: 0 0 4px 10px;
  border-left: 3px solid var(--hydrangea);
  margin-bottom: 8px;
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--hydrangea) 0%, var(--line) 55%, transparent 100%);
}
.hero-ensemble {
  position: relative;
  background:
    linear-gradient(180deg, #1a212b 0%, #232c38 60%, #2c3642 100%);
  padding: 0;
  overflow: hidden;
}
.hero-ensemble::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(20, 26, 34, 0.55) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(90deg, rgba(20, 26, 34, 0.35) 0 6px, transparent 6px 13.333%);
  background-size: 13.333% 100%, 100% 100%;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: multiply;
}
.hero-ensemble::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(163, 148, 201, 0.16) 0%, rgba(120, 132, 146, 0.05) 40%, rgba(15, 20, 27, 0.7) 100%),
    repeating-linear-gradient(115deg, rgba(200, 212, 224, 0.09) 0 1px, transparent 1px 7px);
  pointer-events: none;
  z-index: 4;
}
.hero-ensemble__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: #10161e;
}
.hero-ensemble__portrait {
  position: relative;
  margin: 0;
  background: #1b222c;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.hero-ensemble__portrait--1 { --shift: -8px; }
.hero-ensemble__portrait--2 { --shift: 10px; }
.hero-ensemble__portrait--3 { --shift: -4px; }
.hero-ensemble__portrait--4 { --shift: 6px; }
.hero-ensemble__portrait--5 { --shift: -12px; }
.hero-ensemble__portrait--6 { --shift: 3px; }
.hero-ensemble__portrait--7 { --shift: -6px; }
.hero-ensemble__media {
  position: relative;
  overflow: hidden;
  background: #0e131a;
  height: 100%;
}
.hero-ensemble__img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.55) contrast(1.12) brightness(0.82) saturate(0.8);
  transform: translateY(var(--shift, 0)) scale(1.06);
  transition: filter 0.4s ease, transform 0.5s ease;
}
.hero-ensemble__portrait:hover .hero-ensemble__img {
  filter: grayscale(0.1) contrast(1.06) brightness(0.95) saturate(1.05);
  transform: translateY(0) scale(1.02);
}
.hero-ensemble__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 26, 34, 0.25) 0%, rgba(20, 26, 34, 0) 30%, rgba(12, 17, 23, 0.92) 100%);
  pointer-events: none;
}
.hero-ensemble__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 8px 10px;
  border-top: 1px solid rgba(162, 148, 201, 0.28);
}
.hero-ensemble__actor {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: #eef2f6;
  white-space: nowrap;
}
.hero-ensemble__line {
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.45;
  color: #c3cdd8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  border-left: 2px solid var(--hydrangea);
  padding-left: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1.35fr) minmax(0, 1.5fr);
  grid-template-areas:
    "poster headline headline"
    "poster player player"
    "poster synopsis synopsis"
    "poster cast cast"
    "status status status"
    "details details details";
  gap: 10px 16px;
  padding: 14px 18px 16px;
  margin: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.movie-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--hydrangea-deep), var(--hydrangea) 30%, var(--mist) 70%, transparent);
}
.movie-overview__poster {
  grid-area: poster;
  align-self: start;
  position: relative;
  width: 100%;
  background: #cfd6dd;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.movie-overview__poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}
.movie-overview__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(111, 90, 168, 0.22), transparent 45%);
  pointer-events: none;
}
.movie-overview__headline { grid-area: headline; align-self: start; }
.movie-overview__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--ink);
}
.movie-overview__tagline {
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 7px;
}
.movie-player {
  grid-area: player;
  align-self: start;
  position: relative;
  width: 100%;
  min-width: 0;
  background: #0f141b;
  border: 1px solid #232c38;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  overflow: hidden;
}
.movie-player__video {
  width: 100%;
  height: auto;
  display: block;
  background: #0a0e14;
}
.movie-player__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 8px 8px;
  background: linear-gradient(180deg, #161d26, #10161e);
  border-top: 1px solid rgba(162, 148, 201, 0.3);
}
.movie-player__btn {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #d4dbe3;
  padding: 4px 8px;
  border: 1px solid rgba(139, 154, 169, 0.45);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.movie-player__btn:hover { background: rgba(111, 90, 168, 0.4); color: #fff; border-color: var(--hydrangea-soft); }
.movie-player__btn.is-active { background: var(--hydrangea); color: #fff; border-color: var(--hydrangea-soft); }
.movie-player__range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #2b3542;
  border-radius: 0;
  cursor: pointer;
}
.movie-player__range--progress { flex: 1 1 120px; min-width: 90px; }
.movie-player__range--volume { flex: 0 1 80px; min-width: 60px; }
.movie-player__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 14px;
  background: var(--hydrangea-soft);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.movie-player__range::-moz-range-thumb {
  width: 9px;
  height: 14px;
  border: 0;
  border-radius: 0;
  background: var(--hydrangea-soft);
}
.movie-player__select {
  font-family: var(--sans);
  font-size: 11px;
  padding: 4px 6px;
  color: #d4dbe3;
  background: #1b232d;
  border: 1px solid rgba(139, 154, 169, 0.45);
}
.movie-player.is-playing .movie-player__btn--play { background: var(--hydrangea); border-color: var(--hydrangea-soft); color: #fff; }
.movie-player.is-muted .movie-player__btn--mute { background: #3a4450; color: #fff; }
.movie-player.is-seeking .movie-player__range--progress { background: #4c3c7d; }
.movie-player.is-speed-changed .movie-player__select--speed { border-color: var(--hydrangea-soft); color: #fff; }
.movie-player.is-fullscreen { border-color: var(--hydrangea); }
body.is-theater .movie-player { box-shadow: 0 0 0 1px var(--hydrangea), 0 18px 40px rgba(20, 15, 40, 0.4); }
body.is-lights-off .page-main { filter: brightness(0.72) saturate(0.9); }
.movie-overview__synopsis { grid-area: synopsis; align-self: start; min-width: 0; }
.synopsis__paragraph {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: justify;
  margin-bottom: 5px;
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}
.synopsis__paragraph:last-child { margin-bottom: 0; }
.movie-overview__cast { grid-area: cast; align-self: start; min-width: 0; }
.cast-reel {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--hydrangea-soft) transparent;
}
.cast-reel::-webkit-scrollbar { height: 6px; }
.cast-reel::-webkit-scrollbar-thumb { background: var(--hydrangea-soft); }
.cast-reel::-webkit-scrollbar-track { background: var(--line-soft); }
.cast-card {
  flex: 0 0 176px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 9px;
  background: linear-gradient(160deg, #ffffff 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--hydrangea);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cast-card:hover { border-left-color: var(--hydrangea-deep); transform: translateY(-2px); }
.cast-card__name {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.cast-card__verdict {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--steel);
}
.movie-overview__status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 7px 10px;
  background: linear-gradient(90deg, rgba(111, 90, 168, 0.13), rgba(139, 154, 169, 0.08));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.episode-status__label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--hydrangea-deep);
  padding: 2px 9px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.episode-status__current {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--hydrangea-deep);
}
.episode-status__progress {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-left: auto;
}
.movie-overview__details { grid-area: details; align-self: start; min-width: 0; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line);
}
.detail-row__key {
  flex: 0 0 68px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.detail-row__value {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.timeline {
  padding: 12px 18px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 18px;
  padding-left: 14px;
  counter-reset: node;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--hydrangea-deep) 0%, var(--hydrangea) 32%, var(--hydrangea-soft) 58%, var(--ash) 82%, #b9c0c7 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 0 4px 12px;
  border-left: 1px solid var(--line);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--hydrangea);
  transform: rotate(45deg);
}
.timeline-node__timecode {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--hydrangea-deep);
}
.timeline-node__label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.episodes {
  padding: 12px 18px 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 9px;
  background: linear-gradient(170deg, #ffffff, var(--paper-2));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.episode-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(225deg, var(--line-soft) 0 48%, transparent 50%);
}
.episode-card:hover { border-color: var(--hydrangea-soft); box-shadow: 0 3px 12px rgba(76, 60, 125, 0.14); }
.episode-card__number {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--hydrangea);
}
.episode-card__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.episode-card__summary {
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--steel);
  text-align: justify;
}
.episode-card__duration {
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
  border-top: 1px dashed var(--line);
  padding-top: 3px;
}
.episode-card.is-active {
  border-color: var(--hydrangea);
  background:
    linear-gradient(160deg, rgba(111, 90, 168, 0.9), rgba(76, 60, 125, 0.94));
  box-shadow: 0 4px 16px rgba(60, 45, 100, 0.3);
}
.episode-card.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.4) 0 3px, transparent 4px),
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.32) 0 4px, transparent 5px),
    radial-gradient(circle at 30% 78%, rgba(255, 255, 255, 0.3) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 86%, rgba(255, 255, 255, 0.26) 0 3px, transparent 4px),
    radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.22) 0 6px, transparent 7px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  pointer-events: none;
  z-index: 1;
}
.episode-card.is-active .episode-card__number, .episode-card.is-active .episode-card__title, .episode-card.is-active .episode-card__summary, .episode-card.is-active .episode-card__duration {
  position: relative;
  z-index: 2;
  color: #f4f1fa;
  border-color: rgba(244, 241, 250, 0.5);
}
.episode-card.is-active .episode-card__title { text-shadow: 0 1px 4px rgba(20, 12, 40, 0.55); }
.episode-card.is-active .episode-card__number { color: #dcd4f2; }
.episode-card.is-active::after { background: linear-gradient(225deg, rgba(255, 255, 255, 0.4) 0 48%, transparent 50%); }
.comments {
  padding: 12px 18px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 9px 6px;
  background: rgba(255, 255, 255, 0.66);
  border-left: 2px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.comment-item:hover { border-left-color: var(--hydrangea); background: #fff; }
.comment-item__nickname {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--hydrangea-deep);
}
.comment-item__text {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ink-soft);
  text-align: justify;
}
.recommend-region {
  padding: 11px 18px 13px;
  border-bottom: 1px solid var(--line);
}
.recommend-region--1 { background: var(--paper); }
.recommend-region--2 { background: var(--paper-2); }
.recommend-region--3 { background: var(--paper); }
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.recommend-region--2 .recommend-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-region--3 .recommend-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
a.recommend-card:hover {
  border-color: var(--hydrangea);
  box-shadow: 0 4px 14px rgba(76, 60, 125, 0.2);
  transform: translateY(-2px);
  color: var(--hydrangea-deep);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
  transition: filter 0.3s ease;
}
[data-runtime="recommendation"]:hover img { filter: grayscale(0) contrast(1.06); }
.recommend-card__name {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 8px 0;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-card__blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--steel);
  padding: 0 8px 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding: 10px 18px 14px;
  background: linear-gradient(180deg, #1a212b, #141b24);
  color: #aab4bf;
  border-top: 2px solid var(--hydrangea-deep);
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-nav__link {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #cdd6df;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a[data-contract="footer-home"] { color: #cdd6df; text-decoration: none; }
a[data-contract="footer-home"]:hover { color: var(--hydrangea-soft); border-bottom-color: var(--hydrangea-soft); }
a[data-contract="footer-sitemap"] { color: #cdd6df; text-decoration: none; }
a[data-contract="footer-sitemap"]:hover { color: var(--hydrangea-soft); border-bottom-color: var(--hydrangea-soft); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 8px;
  flex: 1 1 320px;
  min-width: 0;
}
.friend-links__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--hydrangea-soft);
  padding-right: 6px;
  border-right: 1px solid rgba(162, 148, 201, 0.4);
}
a.runtime-friend-link {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #9fabb7;
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 4px;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a.runtime-friend-link:hover {
  color: #fff;
  border-color: rgba(162, 148, 201, 0.55);
}
.site-footer__disclaimer {
  flex: 1 1 100%;
  font-size: 11px;
  line-height: 1.6;
  color: #7f8b98;
  border-top: 1px dotted rgba(139, 154, 169, 0.35);
  padding-top: 6px;
}
@media (max-width: 1080px) {.hero-ensemble__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-ensemble__img { min-height: 200px; }
.movie-overview {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    grid-template-areas:
      "poster headline"
      "poster player"
      "poster synopsis"
      "cast cast"
      "status status"
      "details details";
  }
.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-region--3 .recommend-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-ensemble__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-ensemble__img { min-height: 180px; }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "headline"
      "player"
      "poster"
      "synopsis"
      "cast"
      "status"
      "details";
    padding: 12px 14px 14px;
  }
.movie-overview__poster { max-width: 220px; }
.recommend-list, .recommend-region--2 .recommend-list, .recommend-region--3 .recommend-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {body { font-size: 13px; }
.site-header { padding: 6px 12px; }
.site-header__logo { font-size: 15px; letter-spacing: 0.24em; }
.hero-ensemble__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-ensemble__img { min-height: 168px; }
.movie-overview, .timeline, .episodes, .comments, .recommend-region { padding-left: 12px; padding-right: 12px; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.comments-columns { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.timeline-track { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.recommend-list, .recommend-region--2 .recommend-list, .recommend-region--3 .recommend-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.detail-row__key { flex-basis: 60px; }
.movie-player__btn { font-size: 10.5px; padding: 4px 6px; }
.movie-player__range--progress { flex-basis: 100%; }
.site-footer { padding: 10px 12px 14px; }}
@media (max-width: 400px) {.hero-ensemble__grid { grid-template-columns: minmax(0, 1fr); }
.recommend-list, .recommend-region--2 .recommend-list, .recommend-region--3 .recommend-list { grid-template-columns: minmax(0, 1fr); }
.cast-card { flex-basis: 150px; }}

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}
