/*
 * Single post — «vx» design layer (loaded right after rasa-single-ui.css, render-blocking).
 * Hero is always dark/cinematic; section cards follow the site theme (light / dark tokens).
 * Legacy pieces still rendered by other code (download box, section nav, modals) are
 * re-skinned here with extra-specific selectors so they win over the minified rules.
 */

/* ───────────────────────── Tokens ───────────────────────── */
body {
  --vx-radius: 24px;
  --vx-radius-sm: 14px;
  --vx-card: var(--bg2);
  --vx-line: var(--border);
  --vx-soft: color-mix(in srgb, var(--primaryColor) 9%, var(--bg2));
  --vx-tint: color-mix(in srgb, var(--primaryColor) 14%, transparent);
  --vx-shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 12px 32px -12px rgb(0 0 0 / 14%);
  --vx-ease: cubic-bezier(.2, .8, .2, 1);
}
html:not(.dark) body {
  --vx-shadow: 0 1px 0 rgb(255 255 255 / 3%) inset, 0 18px 40px -18px rgb(0 0 0 / 60%);
}

/* ───────────────────────── Hero ───────────────────────── */
.vx-hero {
  --vx-ink: #fff;
  --vx-dim: rgb(255 255 255 / 70%);
  --vx-glass: rgb(255 255 255 / 7%);
  --vx-glass-line: rgb(255 255 255 / 13%);
  color: var(--vx-ink);
}
.vx-hero a { color: inherit; }
.vx-hero__inner { padding-top: calc(var(--rasa-header-h, 86px) + 18px); padding-bottom: 48px; }
.vx-hero .vx-title { color: #fff !important; }

.vx-crumbs {
  margin: 0 0 22px;
  font-size: .8rem;
  color: var(--vx-dim);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.vx-crumbs * { display: inline; margin: 0; padding: 0; background: none !important; border: 0 !important; font-size: inherit !important; color: inherit !important; list-style: none; }
.vx-crumbs a { color: rgb(255 255 255 / 82%) !important; transition: color .2s; }
.vx-crumbs a:hover { color: #fff !important; }
.vx-crumbs li + li::before { content: "‹"; margin: 0 .5em; opacity: .55; }

/* Poster colours as a soft backdrop (set after page load) */
.vx-hero__bg::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: var(--vx-poster, none) center 30% / cover no-repeat;
  filter: blur(46px) saturate(1.5);
  opacity: 0;
  transition: opacity .8s ease;
}
.vx-hero__bg.has-poster::before { opacity: .5; }
.vx-hero__bg.is-bg-ready::before { opacity: .2; }

/* Poster */
.vx-poster { position: relative; }
.vx-poster__frame {
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 80%), 0 0 0 1px rgb(255 255 255 / 10%);
  transform: translateZ(0);
}
.vx-poster__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / 55%));
  pointer-events: none;
}
.vx-poster__empty { display: grid; place-items: center; height: 100%; font-size: 3rem; color: rgb(255 255 255 / 25%); }
.vx-poster__play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  border-radius: 50%;
  background: rgb(255 255 255 / 16%);
  border: 1px solid rgb(255 255 255 / 35%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff !important;
  font-size: 1.35rem;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .3s var(--vx-ease), transform .3s var(--vx-ease), background .3s;
}
.vx-poster__play i { margin-inline-start: 4px; }
.vx-poster:hover .vx-poster__play, .vx-poster__play:focus-visible { opacity: 1; transform: none; }
.vx-poster__play:hover { background: var(--primaryColor); border-color: transparent; }
@media (hover: none) { .vx-poster__play { opacity: 1; transform: none; } }
.vx-poster__flags {
  position: absolute;
  inset: auto 10px 10px 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.vx-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: rgb(0 0 0 / 55%);
  border: 1px solid rgb(255 255 255 / 18%);
  backdrop-filter: blur(6px);
}
.vx-flag--dub { background: rgb(4 120 87 / 70%); }
.vx-flag--muted { background: rgb(80 80 90 / 70%); }

/* Info column */
.vx-info { min-width: 0; padding-top: 6px; }
.vx-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.vx-type {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--on-primary);
  background: var(--primaryColor);
}
.vx-update {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background: rgb(34 197 94 / 14%);
  border: 1px solid rgb(34 197 94 / 35%);
}
.vx-update__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgb(34 197 94 / 60%);
  animation: vx-pulse 2s infinite;
}
@keyframes vx-pulse { 70% { box-shadow: 0 0 0 7px rgb(34 197 94 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0%); } }

.vx-title {
  letter-spacing: -.01em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgb(0 0 0 / 40%);
}
.vx-title__year {
  display: inline-block;
  margin-inline-start: .3em;
  font-size: .5em;
  font-weight: 600;
  color: var(--vx-dim);
  vertical-align: .35em;
}
.vx-subtitle {
  margin: 6px 0 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--vx-dim);
  text-align: right;
  unicode-bidi: plaintext;
}

.vx-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  color: rgb(255 255 255 / 86%);
}
.vx-fact { display: inline-flex; align-items: center; gap: 7px; }
.vx-fact i { color: var(--vx-dim); font-size: .95em; }
.vx-fact a { color: inherit !important; }
.vx-fact a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; }
.vx-fact--imdb strong { font-size: 1.05rem; font-weight: 900; }
.vx-fact--rate {
  padding: 1px 8px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 800;
}
.vx-imdb-mark {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  background: #f5c518;
  color: #000;
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.vx-genres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vx-chip {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--vx-glass);
  border: 1px solid var(--vx-glass-line);
  transition: background .2s, border-color .2s, transform .2s;
}
.vx-chip:hover { background: rgb(255 255 255 / 14%); border-color: rgb(255 255 255 / 28%); transform: translateY(-1px); }

.vx-story {
  max-width: 68ch;
  margin: 18px 0 0;
  font-size: .98rem;
  line-height: 2;
  color: rgb(255 255 255 / 84%);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.vx-credits { margin: 16px 0 0; display: grid; gap: 6px; font-size: .9rem; }
.vx-credits__row { display: flex; gap: 10px; }
.vx-credits dt { flex: 0 0 auto; min-width: 64px; color: var(--vx-dim); font-weight: 500; }
.vx-credits dd { margin: 0; color: #fff; font-weight: 600; }
.vx-credits a:hover { color: var(--primaryColor) !important; }

/* Actions */
.vx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.vx-actions__icons { display: flex; gap: 8px; margin-inline-start: 4px; }
.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font: inherit;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .2s var(--vx-ease), box-shadow .2s, background .2s, filter .2s;
}
.vx-btn:hover { transform: translateY(-2px); }
.vx-btn:active { transform: none; }
.vx-btn[hidden] { display: none !important; }
.vx-btn--primary {
  color: var(--on-primary) !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primaryColor) 82%, #fff) 0%, var(--primaryColor) 55%);
  box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--primaryColor) 75%, transparent), inset 0 1px 0 rgb(255 255 255 / 25%);
}
.vx-btn--primary:hover { filter: brightness(1.06); box-shadow: 0 16px 34px -10px color-mix(in srgb, var(--primaryColor) 85%, transparent), inset 0 1px 0 rgb(255 255 255 / 25%); }
.vx-btn--light { color: #111 !important; background: #fff; }
.vx-btn--light:hover { background: #f1f1f1; }
.vx-btn--glass { color: #fff !important; background: var(--vx-glass); border-color: var(--vx-glass-line); backdrop-filter: blur(8px); }
.vx-btn--glass:hover { background: rgb(255 255 255 / 13%); }

.vx-icon-btn,
.vx-hero .vx-icon-btn.new_kelaeket_btn.simplefavorite-button,
.vx-hero .vx-icon-btn.active_movie_notification {
  display: inline-grid !important;
  place-items: center;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 16px !important;
  color: #fff !important;
  background: var(--vx-glass) !important;
  border: 1px solid var(--vx-glass-line) !important;
  box-shadow: none !important;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .2s, transform .2s var(--vx-ease), color .2s;
}
.vx-icon-btn:hover { background: rgb(255 255 255 / 14%) !important; transform: translateY(-2px); }
.vx-icon-btn.is-on { color: var(--primaryColor) !important; background: color-mix(in srgb, var(--primaryColor) 16%, transparent) !important; border-color: color-mix(in srgb, var(--primaryColor) 45%, transparent) !important; }
.vx-icon-btn span, .vx-icon-btn i { color: inherit !important; font-size: inherit !important; }

/* Score panel */
.vx-score {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--vx-radius);
  background: linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%));
  border: 1px solid var(--vx-glass-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.vx-score__imdb {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--vx-glass-line);
  text-decoration: none !important;
}
.vx-ring {
  --p: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border-radius: 50%;
  background: conic-gradient(#f5c518 calc(var(--p) * 1%), rgb(255 255 255 / 12%) 0);
}
.vx-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #16161c; }
.vx-ring strong { position: relative; font-size: 1.4rem; font-weight: 900; color: #fff; }
.vx-score__label { display: grid; gap: 4px; justify-items: start; }
.vx-score__label small { color: var(--vx-dim); font-size: .78rem; }
.vx-score__extra { display: grid; gap: 8px; margin: 0; padding: 0 0 14px; list-style: none; border-bottom: 1px solid var(--vx-glass-line); }
.vx-score__extra li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--vx-dim); }
.vx-score__extra strong { margin-inline-start: auto; color: #fff; }

.vx-score__users-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vx-score__users-title { font-size: .85rem; color: var(--vx-dim); }
.vx-score__stats { display: flex; align-items: baseline; gap: 6px; margin: 0 !important; padding: 0 !important; background: none !important; }
.vx-score__stats span { font-size: 1.3rem; font-weight: 900; color: #fff !important; }
.vx-score__stats small { color: var(--vx-dim) !important; font-size: .75rem; }
.vx-meter { height: 8px; margin: 10px 0 12px; border-radius: 999px; background: rgb(255 255 255 / 10%); overflow: hidden; }
.vx-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22c55e, #84cc16); transition: width .6s var(--vx-ease); }
.vx-score__vote { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vx-vote,
.vx-hero .post_vote button.vx-vote {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px !important;
  padding: 0 10px !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: var(--vx-glass) !important;
  border: 1px solid var(--vx-glass-line) !important;
  box-shadow: none !important;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.vx-vote.post_vote_up:hover, .vx-vote.post_vote_up.is-voted { color: #4ade80 !important; border-color: rgb(74 222 128 / 45%) !important; background: rgb(74 222 128 / 12%) !important; }
.vx-vote.post_vote_down:hover, .vx-vote.post_vote_down.is-voted { color: #f87171 !important; border-color: rgb(248 113 113 / 45%) !important; background: rgb(248 113 113 / 12%) !important; }
.vx-vote span:empty { display: none; }

/* Neutralise legacy .post_vote rules (flex row, ::after divider, margins). */
.vx-hero .vx-score__users.post_vote { display: block !important; margin: 0 !important; color: inherit; }
.vx-hero .vx-score__users .vx-vote { margin: 0 !important; flex: initial !important; width: auto !important; }
.vx-hero .vx-score__users .vx-vote::after { display: none !important; }
.vx-hero .vx-score__users .vx-vote span { display: inline !important; font-size: .9rem !important; }

/* Hero responsive */
@media (max-width: 1099.98px) {
  .vx-score { grid-column: 2; grid-template-columns: auto 1fr; align-items: center; }
  .vx-score__imdb { padding: 0 0 0 14px; border-bottom: 0; border-inline-end: 1px solid var(--vx-glass-line); }
  .vx-score__extra { grid-column: 1 / -1; order: 3; padding: 12px 0 0; border-bottom: 0; border-top: 1px solid var(--vx-glass-line); }
}
@media (max-width: 767.98px) {
  .vx-hero__inner { padding-top: calc(var(--rasa-header-h, 70px) + 12px); padding-bottom: 28px; }
  .vx-crumbs { margin-bottom: 14px; text-align: right; justify-self: stretch; }
  .vx-hero__bg { background-position: center; }
  .vx-info { padding-top: 0; width: 100%; }
  .vx-kicker, .vx-facts, .vx-genres, .vx-actions { justify-content: center; }
  .vx-subtitle { text-align: center; }
  .vx-story { margin-inline: auto; -webkit-line-clamp: 5; font-size: .93rem; }
  .vx-credits { justify-items: center; }
  .vx-credits__row { justify-content: center; text-align: center; flex-wrap: wrap; gap: 4px 8px; }
  .vx-credits dt { min-width: 0; }
  .vx-actions { display: flex; flex-wrap: wrap; width: 100%; }
  .vx-actions .vx-btn { flex: 1 1 calc(50% - 5px); padding: 0 12px; }
  .vx-actions .vx-btn--primary { flex-basis: 100%; min-height: 54px; font-size: 1.02rem; }
  .vx-actions__icons { flex: 1 1 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
  .vx-actions__icons .vx-icon-btn,
  .vx-hero .vx-actions__icons .vx-icon-btn.new_kelaeket_btn.simplefavorite-button,
  .vx-hero .vx-actions__icons .vx-icon-btn.active_movie_notification { width: 100% !important; }
  .vx-score { grid-column: auto; width: 100%; grid-template-columns: auto 1fr; text-align: start; }
  .vx-poster__play { opacity: 1; transform: none; width: 56px; height: 56px; margin: -28px 0 0 -28px; }
}

/* ───────────────────────── Section tabs ───────────────────────── */
body .rasa-section-nav.vx-tabs {
  position: sticky;
  top: 0;
  z-index: 900;
  margin: 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border: 0;
  border-bottom: 1px solid var(--vx-line);
  box-shadow: 0 10px 30px -24px rgb(0 0 0 / 50%);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
body .vx-tabs .rasa-section-nav__inner { gap: 4px; padding: 10px 0; }
body .vx-tabs .rasa-section-nav__link {
  position: relative;
  padding: 10px 16px;
  border: 0 !important;
  border-radius: 14px;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--muted) !important;
  font-weight: 700;
  transition: color .2s, background .2s;
}
body .vx-tabs .rasa-section-nav__link:hover { color: var(--ink) !important; background: var(--bg_lighter) !important; }
body .vx-tabs .rasa-section-nav__link.is-active { color: var(--primaryColor) !important; background: var(--vx-tint) !important; }
body .vx-tabs .rasa-section-nav__link.is-active .rasa-section-nav__count { background: var(--primaryColor); color: var(--on-primary); }

/* ───────────────────────── Cards ───────────────────────── */
body .vx-stack { padding: 28px 0 12px; }
body .vx-stack > .container { display: flex; flex-direction: column; gap: 22px; }
body .vx-stack > .container > * { margin: 0 !important; }
body .vx-stack > .container > .rasa-dl-mount[hidden],
body .vx-stack > .container > .rasa-dl-mount:empty { display: none; }
body .vx-card,
body .vx-stack .rasa-block.rasa-dl {
  scroll-margin-top: 140px;
  padding: clamp(18px, 2.2vw, 30px) !important;
  border-radius: var(--vx-radius) !important;
  background: var(--vx-card) !important;
  border: 1px solid var(--vx-line) !important;
  box-shadow: var(--vx-shadow) !important;
  overflow: visible;
}
.vx-card__head,
body .vx-stack .rasa-dl .rasa-dl__toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}
.vx-card__icon,
body .vx-stack .rasa-dl .rasa-dl__note-icon {
  display: grid !important;
  place-items: center;
  flex: 0 0 46px;
  width: 46px !important;
  height: 46px !important;
  border-radius: 15px !important;
  font-size: 1.1rem !important;
  color: var(--primaryColor) !important;
  background: var(--vx-tint) !important;
  border: 1px solid color-mix(in srgb, var(--primaryColor) 22%, transparent) !important;
  box-shadow: none !important;
}
.vx-card__title,
body .vx-stack .rasa-dl .rasa-dl__note strong {
  display: block;
  margin: 0 !important;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem) !important;
  font-weight: 850 !important;
  line-height: 1.5 !important;
  color: var(--ink) !important;
}
.vx-card__sub,
body .vx-stack .rasa-dl .rasa-dl__note p {
  margin: 2px 0 0 !important;
  font-size: .85rem !important;
  color: var(--muted) !important;
}
p.vx-card__sub[dir="ltr"] { text-align: right; unicode-bidi: plaintext; }
.vx-subhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 16px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}
.vx-subhead::after { content: ""; flex: 1; height: 1px; background: var(--vx-line); }
.vx-subhead i { color: var(--primaryColor); }

/* ───────────────────────── Download box (skin) ───────────────────────── */
body .vx-stack .rasa-dl .rasa-dl__toolbar { justify-content: space-between; flex-wrap: wrap; }
body .vx-stack .rasa-dl .rasa-dl__note { display: flex; align-items: center; gap: 14px; }
body .vx-stack .rasa-dl .rasa-dl__actions .rasa-action-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px !important;
  font-size: .82rem;
  font-weight: 700;
}
body .vx-stack .rasa-dl .rasa-dl__panel { padding: 0 !important; background: none !important; }
body .vx-stack .rasa-dl .rasa-dl-group,
body .vx-stack .rasa-dl .rasa-serial-dl__track {
  border-radius: 18px !important;
  border: 1px solid var(--vx-line) !important;
  background: var(--bg) !important;
  box-shadow: none !important;
}
body .vx-stack .rasa-dl .rasa-dl-group + .rasa-dl-group { margin-top: 14px; }
body .vx-stack .rasa-dl .rasa-ep-q {
  border-radius: 14px !important;
  border: 1px solid var(--vx-line) !important;
  background: var(--bg2) !important;
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%) !important;
  transition: border-color .2s, transform .2s var(--vx-ease), box-shadow .2s !important;
}
body .vx-stack .rasa-dl .rasa-ep-q:hover {
  border-color: color-mix(in srgb, var(--primaryColor) 55%, var(--vx-line)) !important;
  box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--primaryColor) 60%, transparent) !important;
  transform: translateY(-2px);
}
body .vx-stack .rasa-dl .rasa-ep-q__icon { border-radius: 10px !important; }
body .vx-stack .rasa-dl .rasa-ep-q__res { font-weight: 800; color: var(--ink); }
body .vx-stack .rasa-dl .rasa-serial-dl__season-btn { border-radius: 14px !important; }
body .vx-stack .rasa-dl .rasa-serial-ep:nth-child(even) { background: color-mix(in srgb, var(--bg_lighter) 45%, transparent); }
.rasa-dl .rasa-serial-dl__season-state,
.rasa-serial-dl .rasa-serial-dl__season-state { display: none !important; }
.rasa-serial-dl .rasa-serial-ep__index.is-default .rasa-serial-ep__label { order: -1; flex: 0 0 auto !important; }
.rasa-serial-dl .rasa-serial-ep__index.is-default { padding-inline: 12px 6px !important; }
@media (max-width: 767.98px) {
  .rasa-serial-dl .rasa-serial-ep__index { justify-self: start; }
  body .vx-stack .rasa-dl .rasa-dl__toolbar { gap: 12px; }
  body .vx-stack .rasa-dl .rasa-dl__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
}

/* ───────────────────────── Article ───────────────────────── */
body .vx-stack .rasa-article.vx-card { min-height: 0; }
.vx-prose { font-size: 1rem; line-height: 2.05; color: var(--text); }
.vx-prose > p { margin: 0 0 1rem; }
.vx-prose > :last-child { margin-bottom: 0 !important; }
.vx-prose > p:empty, .vx-prose > p:has(> br:only-child) { display: none; }
.vx-prose a { color: var(--primaryColor); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.vx-prose h2, .vx-prose h3, .vx-prose h4 { margin: 1.6em 0 .6em; color: var(--ink); font-weight: 800; line-height: 1.6; }
body .vx-stack .rasa-article .vx-prose.rasa-article__body figure,
body .vx-stack .rasa-article .vx-prose.rasa-article__body p:has(> img:only-child),
body .vx-stack .rasa-article .vx-prose.rasa-article__body p:has(> a:only-child > img:only-child) {
  display: block !important;
  width: auto !important;
  max-width: min(100%, 860px) !important;
  margin: 1.75rem auto !important;
  padding: 0 !important;
  text-align: center !important;
  float: none !important;
}
body .vx-stack .rasa-article .vx-prose.rasa-article__body img {
  display: block !important;
  width: auto !important;
  max-width: min(100%, 860px) !important;
  height: auto !important;
  max-height: 78vh;
  margin: 1.75rem auto !important;
  padding: 0 !important;
  float: none !important;
  object-fit: contain;
  border: 0 !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 50px -24px rgb(0 0 0 / 45%), 0 0 0 1px var(--vx-line) !important;
  background: var(--bg_lighter);
}
body .vx-stack .rasa-article .vx-prose.rasa-article__body figure img,
body .vx-stack .rasa-article .vx-prose.rasa-article__body p:has(> img:only-child) img,
body .vx-stack .rasa-article .vx-prose.rasa-article__body p:has(> a:only-child > img:only-child) img { margin: 0 auto !important; }
.vx-prose figcaption { margin-top: .6rem; font-size: .85rem; color: var(--muted); }

.vx-about {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--vx-soft);
  border: 1px solid color-mix(in srgb, var(--primaryColor) 18%, var(--vx-line));
}
.vx-about__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.vx-about__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.vx-about__label i { color: var(--primaryColor); }
.vx-about__lang {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  color: var(--primaryColor);
  background: var(--bg2);
  border: 1px solid color-mix(in srgb, var(--primaryColor) 30%, var(--vx-line));
}
.vx-about__body { color: var(--text); line-height: 1.95; }
.vx-about__body p { margin: 0 0 .6rem; }
.vx-about__body p:last-child { margin: 0; }
.vx-about__body[dir="ltr"] { text-align: left; }
.vx-about--en .vx-about__body { font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.75; }

@media (max-width: 767.98px) {
  .vx-prose { font-size: .96rem; }
  body .vx-stack .rasa-article .vx-prose.rasa-article__body img { max-height: none; border-radius: 16px !important; margin-block: 1.2rem !important; }
  body .vx-stack .rasa-article .vx-prose.rasa-article__body figure,
  body .vx-stack .rasa-article .vx-prose.rasa-article__body p:has(> img:only-child) { margin-block: 1.2rem !important; }
}

/* ───────────────────────── More info ───────────────────────── */
body .vx-stack .rasa-moreinfo.vx-card { padding: clamp(18px, 2.2vw, 30px) !important; }
.vx-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 0;
}
.vx-facts-grid__item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--vx-line);
}
.vx-facts-grid dt { display: flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.vx-facts-grid dt i { color: var(--primaryColor); width: 1.1em; text-align: center; }
.vx-facts-grid dd { margin: 0; font-size: .95rem; font-weight: 800; color: var(--ink); line-height: 1.6; }
.vx-facts-grid dd a { color: var(--ink) !important; }
.vx-facts-grid dd a:hover { color: var(--primaryColor) !important; }

.vx-cast {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vx-cast__item { display: grid; justify-items: center; gap: 10px; padding: 14px 8px; border-radius: 18px; text-align: center; color: var(--ink) !important; transition: background .2s, transform .2s var(--vx-ease); }
.vx-cast__item:hover { background: var(--bg_lighter); transform: translateY(-3px); }
.vx-cast__photo {
  --h: 20;
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--h) 70% 62%), hsl(calc(var(--h) + 40) 70% 45%));
  box-shadow: 0 0 0 3px var(--bg2), 0 0 0 4px var(--vx-line);
}
.vx-cast__initial { font-size: 1.9rem; font-weight: 900; color: #fff; }
.vx-cast__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vx-cast__name { font-size: .84rem; font-weight: 700; line-height: 1.5; }

.vx-mag { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vx-mag__item { display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--vx-line); color: var(--text) !important; }
.vx-mag__item strong { color: var(--ink); }
.vx-mag__item:hover { border-color: color-mix(in srgb, var(--primaryColor) 45%, var(--vx-line)); }
.vx-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.vx-gallery__item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; }
@media (max-width: 575.98px) {
  .vx-facts-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vx-facts-grid__item { padding: 12px; }
  .vx-facts-grid dd { font-size: .88rem; }
  .vx-cast { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .vx-cast__item { padding: 10px 4px; }
  .vx-cast__photo { width: 68px; height: 68px; }
  .vx-cast__initial { font-size: 1.5rem; }
  .vx-cast__name { font-size: .78rem; }
}

/* ───────────────────────── Comments ───────────────────────── */
body .vx-stack .rasa-comments-block.vx-card { min-height: 0; }
.vx-comments { display: grid; gap: 22px; min-height: 0 !important; }

.vx-ai {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgb(99 102 241 / 10%), rgb(168 85 247 / 8%));
  border: 1px solid rgb(129 140 248 / 30%);
}
.vx-ai__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.vx-ai__head strong { display: block; color: var(--ink); }
.vx-ai__head small { color: var(--muted); font-size: .75rem; }
.vx-ai__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7); }
.vx-ai p { margin: 0; color: var(--text); line-height: 1.95; }

.vx-respond {
  padding: 18px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--vx-line);
}
.vx-form__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
}
.vx-form__title small a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted) !important;
}
.vx-form__note { display: flex; align-items: center; gap: 7px; margin: 0 0 12px !important; font-size: .8rem; color: var(--muted); }
.vx-form { display: grid; gap: 12px; margin: 0; }
.vx-form > * { margin: 0 !important; }
.vx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vx-field { position: relative; }
.vx-field > i {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .9rem;
  pointer-events: none;
}
.vx-respond .vx-field textarea,
.vx-respond .vx-field input {
  display: block;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  border: 1px solid var(--vx-line) !important;
  background: var(--bg2) !important;
  color: var(--ink) !important;
  font: inherit;
  font-size: .93rem;
  box-shadow: none !important;
  transition: border-color .2s, box-shadow .2s;
}
.vx-respond .vx-field input { height: 50px; padding-inline-start: 40px !important; }
.vx-respond .vx-field textarea { min-height: 120px; resize: vertical; line-height: 1.9; }
.vx-respond .vx-field textarea:focus,
.vx-respond .vx-field input:focus {
  outline: 0 !important;
  border-color: color-mix(in srgb, var(--primaryColor) 60%, var(--vx-line)) !important;
  box-shadow: 0 0 0 4px var(--vx-tint) !important;
}
.vx-respond .vx-field ::placeholder { color: var(--muted); opacity: .85; }
.vx-respond .comment-form-cookies-consent,
.vx-respond .vx-form > p:not(.form-submit):has(input[type="checkbox"]) {
  display: flex !important;
  align-items: center;
  gap: 9px;
  font-size: .84rem;
  color: var(--muted);
}
.vx-respond input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0 !important;
  border-radius: 6px;
  border: 1.5px solid color-mix(in srgb, var(--muted) 60%, transparent);
  background: var(--bg2);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.vx-respond input[type="checkbox"]::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -2px;
  border: solid var(--on-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s;
}
.vx-respond input[type="checkbox"]:checked { background: var(--primaryColor); border-color: var(--primaryColor); }
.vx-respond input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.vx-respond label { cursor: pointer; color: inherit !important; }
.vx-form__submit { display: flex; justify-content: flex-start; padding-top: 4px; }
.vx-respond .vx-form__submit .vx-btn.submit {
  display: inline-flex !important;
  width: auto !important;
  min-width: 180px;
  height: auto !important;
  margin: 0 !important;
  padding: 0 26px !important;
  border-radius: 16px !important;
}
.vx-btn i, .vx-comment__reply a i { flex: 0 0 auto; }

.vx-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 30px 16px;
  border-radius: 20px;
  border: 1.5px dashed var(--vx-line);
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
.vx-empty strong { color: var(--ink); font-size: 1rem; }
.vx-empty__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 18px; font-size: 1.4rem; color: var(--primaryColor); background: var(--vx-tint); }

.vx-comment-list,
.vx-comment-list .children { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.vx-comment-list .children { margin-top: 14px; padding-inline-start: 22px; border-inline-start: 2px solid var(--vx-line); }
.vx-comment { margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; border: 0 !important; }
.vx-comment__card {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--vx-line);
  transition: border-color .2s;
}
.vx-comment__card:hover { border-color: color-mix(in srgb, var(--primaryColor) 25%, var(--vx-line)); }
.vx-comment.bypostauthor > .vx-comment__card { background: var(--vx-soft); }
.vx-comment__head { display: flex; align-items: center; gap: 12px; }
.vx-avatar {
  --h: 20;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--h) 65% 58%), hsl(calc(var(--h) + 35) 70% 44%));
}
.vx-comment__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.vx-comment__name { font-weight: 800; color: var(--ink); }
.vx-comment__badge { padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; color: var(--on-primary); background: var(--primaryColor); }
.vx-comment__time { flex-basis: 100%; font-size: .76rem; color: var(--muted); }
.vx-comment__body { position: relative; margin-top: 12px; }
.vx-comment__text { color: var(--text); line-height: 1.95; font-size: .94rem; overflow-wrap: anywhere; }
.vx-comment__text p { margin: 0 0 .5rem; }
.vx-comment__text p:last-child { margin: 0; }
.vx-comment__pending { padding: 6px 10px; border-radius: 10px; background: rgb(234 179 8 / 12%); color: #a16207; font-size: .8rem; }
.vx-comment__body.has_spoil .comment_box { filter: blur(7px); user-select: none; pointer-events: none; }
.vx-spoiler { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: none !important; }
.vx-spoiler .spoiler_bg {
  position: static !important;
  transform: none !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px !important;
  border-radius: 14px !important;
  background: var(--bg2) !important;
  border: 1px solid var(--vx-line);
  box-shadow: var(--vx-shadow);
  font-size: .82rem;
  color: var(--ink);
}
.vx-spoiler .show_comment {
  padding: 5px 12px !important;
  border: 0;
  border-radius: 10px !important;
  background: var(--primaryColor) !important;
  color: var(--on-primary) !important;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.vx-spoiler.d-none { display: none !important; }
.vx-comment__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.vx-comment__reply a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted) !important;
  background: transparent;
  transition: background .2s, color .2s;
}
.vx-comment__reply a:hover { color: var(--primaryColor) !important; background: var(--vx-tint); }
.vx-comment__votes,
.vx-comments .comment_like_handle.vx-comment__votes { display: flex; gap: 6px; margin-inline-start: auto; padding: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0; }
.vx-comment__vote,
.vx-comments .comment_like.vx-comment__vote,
.vx-comments .comment_dislike.vx-comment__vote {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px !important;
  border-radius: 10px !important;
  border: 1px solid var(--vx-line) !important;
  background: var(--bg2) !important;
  color: var(--muted) !important;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.vx-comments .comment_like.vx-comment__vote:hover { color: #16a34a !important; border-color: rgb(22 163 74 / 40%) !important; }
.vx-comments .comment_dislike.vx-comment__vote:hover { color: #dc2626 !important; border-color: rgb(220 38 38 / 40%) !important; }
.vx-comment-list .comment-respond { margin-top: 14px; }
.vx-comment-nav { display: flex; justify-content: space-between; gap: 10px; }
.vx-comment-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--vx-line); color: var(--ink) !important; font-size: .85rem; font-weight: 700; }

@media (max-width: 575.98px) {
  .vx-respond { padding: 14px; }
  .vx-form__row { grid-template-columns: 1fr; }
  .vx-respond .vx-form__submit .vx-btn.submit { width: 100% !important; }
  .vx-comment__card { padding: 14px; }
  .vx-comment-list .children { padding-inline-start: 12px; }
}

/* ───────────────────────── Related ───────────────────────── */
body .vx-related { margin: 20px 0 46px; }
.vx-related__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

/* ───────────────────────── Modals (report / share) ───────────────────────── */
.report_modal .modal-content { border-radius: 22px !important; border: 1px solid var(--vx-line) !important; overflow: hidden; }
.report_modal .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report_modal .report_modal--close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--vx-line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.report_modal .report_modal--close:hover { background: var(--bg_lighter); }
.report_modal .report_send_button {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--primaryColor) !important;
  color: var(--on-primary) !important;
  font-weight: 800;
  cursor: pointer;
}
.report_modal .report_send_button:hover { filter: brightness(1.05); }
.report_modal .report_send_button[disabled] { opacity: .6; cursor: wait; }
.report_modal .kelaket-report-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.share_modal #shareLink { text-align: left; }

/* ───────────────────────── Mobile sticky download bar ───────────────────────── */
.vx-sticky-dl { display: none; }
@media (max-width: 767.98px) {
  .vx-sticky-dl:not([hidden]) {
    position: fixed;
    z-index: 950;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 74px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    color: var(--on-primary) !important;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primaryColor) 82%, #fff), var(--primaryColor) 60%);
    box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--primaryColor) 80%, transparent), 0 0 0 1px rgb(255 255 255 / 12%) inset;
    font-size: .92rem;
    text-decoration: none !important;
    transform: translateY(160%);
    transition: transform .35s var(--vx-ease);
  }
  .vx-sticky-dl.is-visible { transform: none; }
  .vx-sticky-dl__text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .vx-sticky-dl__text strong { font-weight: 900; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  .vx-hero *, .vx-stack * { transition: none !important; animation: none !important; }
}
