/* Ravonaflow — soft aurora UI (loads last) */

html body.theme-rf {
  background: var(--grad-hero);
  background-color: var(--ink-0);
  color: var(--text);
  min-height: 100vh;
}

html body.theme-rf::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 85% 8%, rgba(232, 121, 249, 0.18), transparent 60%),
    radial-gradient(50% 40% at 12% 22%, rgba(167, 139, 250, 0.22), transparent 55%),
    radial-gradient(40% 35% at 70% 88%, rgba(251, 113, 133, 0.12), transparent 50%);
}

html body.theme-rf ::selection {
  background: rgba(167, 139, 250, 0.45);
  color: #fff;
}

html body.theme-rf :focus-visible {
  box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.55);
}

html body.theme-rf .depth-lines {
  opacity: 0.2 !important;
  background: radial-gradient(circle at 50% 50%, rgba(196, 181, 253, 0.08) 0 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
}

/* —— Shell —— */
html body.theme-rf .rf-rg {
  background: rgba(251, 113, 133, 0.12);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

html body.theme-rf .rf-rg__in {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  padding: 0.55rem 0;
}

html body.theme-rf .rf-rg__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.22rem 0.55rem;
  background: linear-gradient(135deg, #fb7185, #e879f9);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 14px rgba(251, 113, 133, 0.35);
}

html body.theme-rf .rf-rg__link {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
}

html body.theme-rf .rf-rg__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body.theme-rf .rf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(18, 16, 26, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.3s, box-shadow 0.3s;
}

html body.theme-rf .rf-header.is-stuck {
  background: rgba(18, 16, 26, 0.82);
  box-shadow: var(--sh-1);
}

html body.theme-rf .rf-header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

html body.theme-rf .rf-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

html body.theme-rf .rf-brand__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #e9d5ff, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html body.theme-rf .rf-nav {
  justify-self: end;
}

html body.theme-rf .rf-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  padding: 0.28rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html body.theme-rf .rf-nav__link {
  display: inline-block;
  padding: 0.48rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

html body.theme-rf .rf-nav__link:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
}

html body.theme-rf .rf-nav__link.is-active {
  color: var(--ink-text);
  background: var(--grad-accent);
  box-shadow: var(--glow);
}

html body.theme-rf .rf-menu-btn {
  display: none;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.06);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

html body.theme-rf .rf-menu-btn span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

html body.theme-rf .rf-menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

html body.theme-rf .rf-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

html body.theme-rf .rf-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

html body.theme-rf .rf-drawer {
  position: fixed;
  inset: 0;
  z-index: 59;
  visibility: hidden;
  pointer-events: none;
}

html body.theme-rf .rf-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

html body.theme-rf .rf-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 14, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}

html body.theme-rf .rf-drawer.is-open .rf-drawer__scrim {
  opacity: 1;
}

html body.theme-rf .rf-drawer__sheet {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  max-height: 82vh;
  padding: 1.35rem 1.25rem 1.75rem;
  background: linear-gradient(165deg, rgba(42, 36, 64, 0.98), rgba(24, 21, 36, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  transform: translateY(calc(100% + 1rem));
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

html body.theme-rf .rf-drawer.is-open .rf-drawer__sheet {
  transform: translateY(0);
}

html body.theme-rf .rf-drawer__close {
  align-self: flex-end;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
  color: var(--cream);
}

html body.theme-rf .rf-drawer__link {
  padding: 0.75rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--r-s);
}

html body.theme-rf .rf-drawer__link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
}

html body.theme-rf .rf-drawer__link.is-active {
  color: var(--coral);
}

html body.theme-rf .rf-drawer__note {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: var(--text-mut);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

@media (max-width: 960px) {
  html body.theme-rf .rf-nav {
    display: none;
  }

  html body.theme-rf .rf-menu-btn {
    display: flex;
  }

  html body.theme-rf .rf-header__bar {
    grid-template-columns: 1fr auto;
  }
}

html body.theme-rf {
  --head-space: var(--rf-header-h, 7.5rem);
  --sec-pad-block: clamp(2.35rem, 5vw, 4rem);
  --pad: var(--sec-pad-block);
  --ui-btn-fs: 0.875rem;
  --ui-btn-pad-y: 0.58rem;
  --ui-btn-pad-x: 1.15rem;
}

@media (max-width: 960px) {
  html body.theme-rf {
    --sec-pad-block: clamp(1.85rem, 4.5vw, 2.65rem);
    --pad: var(--sec-pad-block);
  }
}

@media (max-width: 720px) {
  html body.theme-rf {
    --sec-pad-block: clamp(1rem, 3.2vw, 1.45rem);
    --pad: var(--sec-pad-block);
    --fs-h1: clamp(2rem, 8vw, 2.85rem);
    --fs-h2: clamp(1.42rem, 5.2vw, 1.95rem);
    --fs-h3: clamp(1.12rem, 3.8vw, 1.45rem);
    --fs-lead: 0.95rem;
    --ui-btn-fs: 0.8125rem;
    --ui-btn-pad-y: 0.52rem;
    --ui-btn-pad-x: 0.95rem;
  }

  html body.theme-rf .wrap {
    width: min(100% - 1.5rem, var(--wrap));
  }
}

/* —— Footer —— */
html body.theme-rf .rf-footer {
  margin-top: 3rem;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, transparent, rgba(14, 12, 20, 0.85) 12%, #0e0c14);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

html body.theme-rf .rf-footer .rf-brand__name {
  background: linear-gradient(90deg, #ddd6fe, #fbcfe8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html body.theme-rf .rf-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
  gap: 2rem 1.5rem;
}

html body.theme-rf .rf-footer__tag {
  color: var(--text-mut);
  max-width: 36ch;
  margin-top: 0.75rem;
  line-height: 1.55;
}

html body.theme-rf .rf-footer__h {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rasp);
  margin-bottom: 0.75rem;
}

html body.theme-rf .rf-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

html body.theme-rf .rf-footer__col a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s;
}

html body.theme-rf .rf-footer__col a:hover {
  color: var(--coral);
}

html body.theme-rf .rf-footer__box {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-l);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-mut);
  display: grid;
  gap: 0.75rem;
}

html body.theme-rf .rf-footer__box a {
  color: var(--coral);
}

html body.theme-rf .rf-footer__legal {
  margin-top: 2rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--text-mut);
}

html body.theme-rf .rf-footer__legalnav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

html body.theme-rf .rf-footer__legalnav a {
  color: var(--text-soft);
  font-weight: 600;
}

@media (max-width: 1024px) {
  html body.theme-rf .rf-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  html body.theme-rf .rf-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Buttons —— */
html body.theme-rf .btn {
  border-radius: var(--r-pill);
  border: none;
  box-shadow: var(--glow);
  font-weight: 600;
  font-size: var(--ui-btn-fs);
  line-height: 1.3;
  padding: var(--ui-btn-pad-y) var(--ui-btn-pad-x);
  gap: 0.4rem;
  white-space: normal;
  text-align: center;
  min-height: 2.55rem;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

html body.theme-rf .btn .ic {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
}

html body.theme-rf .btn--auto {
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 720px) {
  /* base.css forces .btn { width: 100% } — keep CTAs full-width, inline actions compact */
  html body.theme-rf .btn:not(.btn--wide):not(.offer__cta):not(.rf-card__visit):not(.df-cta-btn) {
    width: auto;
    max-width: 100%;
  }

  html body.theme-rf .btn--wide,
  html body.theme-rf .offer__cta,
  html body.theme-rf .offer__cta-wrap .btn,
  html body.theme-rf .rf-card__visit.btn,
  html body.theme-rf .df-oper .df-cta-btn,
  html body.theme-rf .cta-band__cta .btn {
    width: 100%;
  }

  html body.theme-rf .df-oper .df-oper__ctas .btn--auto.df-cta-btn {
    width: 100%;
  }
}

html body.theme-rf .btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 16px 44px rgba(167, 139, 250, 0.32);
}

html body.theme-rf .btn--accent {
  background: var(--grad-accent);
  color: var(--ink-text);
}

html body.theme-rf .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

html body.theme-rf .chip {
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  box-shadow: none;
}

html body.theme-rf .chip::before {
  background: var(--coral);
}

html body.theme-rf .age18 {
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #fb7185, #e879f9);
  color: #fff;
  box-shadow: 0 4px 16px rgba(251, 113, 133, 0.3);
  font-family: var(--f-body);
}

/* —— Sections —— */
html body.theme-rf .section {
  padding-block: var(--sec-pad-block, var(--pad));
}

html body.theme-rf .isec {
  padding-block: var(--sec-pad-block, var(--pad));
}

/* Tighter gaps between stacked sections (avoids double padding) */
html body.theme-rf main .isec + .isec,
html body.theme-rf main .section + .section,
html body.theme-rf main .isec + .section,
html body.theme-rf main .section + .isec {
  padding-block-start: clamp(0.7rem, 2.2vw, 1.1rem);
}

html body.theme-rf main .hero + .isec,
html body.theme-rf main .hero + .section,
html body.theme-rf main .rf-page-hero + .isec,
html body.theme-rf main .rf-hero + .section {
  padding-block-start: clamp(0.85rem, 2.6vw, 1.25rem);
}

@media (max-width: 720px) {
  html body.theme-rf main .isec + .isec,
  html body.theme-rf main .section + .section,
  html body.theme-rf main .isec + .section,
  html body.theme-rf main .section + .isec {
    padding-block-start: clamp(0.45rem, 1.8vw, 0.7rem);
  }

  html body.theme-rf main .hero + .isec,
  html body.theme-rf main .hero + .section,
  html body.theme-rf main .rf-page-hero + .isec,
  html body.theme-rf main .rf-hero + .section,
  html body.theme-rf main .df-rv-crumbs + .hero + .isec,
  html body.theme-rf main .df-rv-crumbs + .hero + .section {
    padding-block-start: 0.4rem;
  }
}

html body.theme-rf main .df-rv-crumbs + .hero + .isec,
html body.theme-rf main .df-rv-crumbs + .hero + .section {
  padding-block-start: clamp(0.85rem, 2.6vw, 1.25rem);
}

html body.theme-rf .section.depth,
html body.theme-rf .depth {
  background: transparent !important;
}

html body.theme-rf .surf-1 {
  background: rgba(255, 255, 255, 0.02) !important;
}

html body.theme-rf .surf-2 {
  background: rgba(0, 0, 0, 0.12) !important;
  border: none;
}

@media (max-width: 720px) {
  html body.theme-rf .hero:not(.rf-hero):not(.rf-page-hero) {
    padding-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 0.25rem) !important;
    padding-bottom: 0.65rem !important;
  }

  html body.theme-rf .section.manifesto {
    padding-block: clamp(1.25rem, 4vw, 1.75rem);
  }

  html body.theme-rf .isec.df-oper + .isec.df-oper {
    padding-block-start: clamp(0.65rem, 2vw, 0.95rem);
  }

  html body.theme-rf .df-rv-art + .df-rv-art {
    margin-top: 1.15rem;
    padding-top: 1rem;
  }

  html body.theme-rf .rf-footer {
    margin-top: 2rem;
    padding-top: clamp(1.75rem, 4vw, 2.5rem);
  }
}

html body.theme-rf h1,
html body.theme-rf h2,
html body.theme-rf h3 {
  color: var(--text);
}

html body.theme-rf p {
  color: var(--text-soft);
}

html body.theme-rf strong {
  color: var(--cream);
}

/* —— Home hero (rf-hero) —— */
html body.theme-rf .rf-hero.hero {
  position: relative;
  min-height: 0 !important;
  display: block !important;
  align-items: unset !important;
  padding-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 0.5rem) !important;
  padding-bottom: clamp(1rem, 2.5vw, 1.65rem) !important;
  overflow: clip;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html body.theme-rf .rf-hero::before,
html body.theme-rf .rf-hero::after {
  display: none !important;
}

html body.theme-rf .rf-hero .hero__scene,
html body.theme-rf .rf-hero .depth-lines,
html body.theme-rf .rf-hero .hero__inner {
  display: none !important;
}

html body.theme-rf .rf-hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

html body.theme-rf .rf-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

html body.theme-rf .rf-hero__orb--1 {
  width: min(52vw, 28rem);
  height: min(52vw, 28rem);
  top: -12%;
  right: -8%;
  background: rgba(232, 121, 249, 0.35);
}

html body.theme-rf .rf-hero__orb--2 {
  width: min(40vw, 20rem);
  height: min(40vw, 20rem);
  bottom: -15%;
  left: -5%;
  background: rgba(167, 139, 250, 0.28);
}

html body.theme-rf .rf-hero__orb--3 {
  width: 12rem;
  height: 12rem;
  top: 42%;
  left: 38%;
  background: rgba(251, 113, 133, 0.2);
}

html body.theme-rf .rf-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1rem, 2.5vw, 1.65rem);
  align-items: center;
}

html body.theme-rf .rf-hero__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

html body.theme-rf .rf-hero__kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mut);
}

html body.theme-rf .rf-hero__kicker-age {
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #fb7185, #e879f9);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(251, 113, 133, 0.35);
}

html body.theme-rf .rf-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.95rem, 4.6vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  gap: 0.08em;
}

html body.theme-rf .rf-hero__title-line {
  display: block;
}

html body.theme-rf .rf-hero__title-line--accent {
  padding-left: clamp(0.5rem, 2vw, 1.25rem);
  border-left: 3px solid transparent;
  border-image: var(--grad-accent) 1;
}

html body.theme-rf .rf-hero__lead {
  max-width: 38ch;
  margin: 0 0 0.85rem;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.5;
}

html body.theme-rf .rf-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

html body.theme-rf .rf-hero__cta-row .btn {
  padding: var(--ui-btn-pad-y) var(--ui-btn-pad-x);
  font-size: var(--ui-btn-fs);
}

html body.theme-rf .rf-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: clamp(0.85rem, 1.8vw, 1.1rem);
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--sh-2);
  backdrop-filter: blur(18px);
}

html body.theme-rf .rf-hero__metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 1rem;
  align-items: start;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html body.theme-rf .rf-hero__metric-val {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 3.25rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html body.theme-rf .rf-hero__metric-txt {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-soft);
  align-self: center;
}

html body.theme-rf .rf-hero__metric-txt strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: var(--cream);
}

html body.theme-rf .rf-hero__tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

html body.theme-rf .rf-hero__tile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--r-m);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
}

html body.theme-rf .rf-hero__tile::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.65);
}

html body.theme-rf .rf-hero__fine {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-mut);
  line-height: 1.45;
}

@media (max-width: 900px) {
  html body.theme-rf .rf-hero__grid {
    grid-template-columns: 1fr;
  }

  html body.theme-rf .rf-hero__title-line--accent {
    padding-left: 0.65rem;
  }

  /* Mobile/tablet: lean hero — title + lead only */
  html body.theme-rf .rf-hero__aside {
    display: none !important;
  }

  html body.theme-rf .rf-hero__cta-row {
    display: none !important;
  }

  html body.theme-rf .rf-hero.hero {
    padding-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 0.2rem) !important;
    padding-bottom: 0.45rem !important;
  }

  html body.theme-rf .rf-hero__title {
    margin-bottom: 0.45rem;
  }

  html body.theme-rf .rf-hero__lead {
    margin-bottom: 0.35rem;
  }

  html body.theme-rf .rf-page-hero.hero {
    padding-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 0.25rem) !important;
    padding-bottom: clamp(0.65rem, 2vw, 1rem) !important;
  }
}

/* —— Inner page heroes (rf-page-hero) —— */
html body.theme-rf .rf-page-hero.hero {
  min-height: auto !important;
  display: block !important;
  align-items: unset !important;
  padding-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 0.65rem) !important;
  padding-bottom: clamp(1.25rem, 3vw, 2rem) !important;
  overflow: clip;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent !important;
}

html body.theme-rf .rf-page-hero::before,
html body.theme-rf .rf-page-hero::after {
  display: none !important;
}

html body.theme-rf .rf-page-hero .depth-lines,
html body.theme-rf .rf-page-hero .hero__scene,
html body.theme-rf .rf-page-hero .hero__inner {
  display: none !important;
}

html body.theme-rf .rf-page-hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(232, 121, 249, 0.16), transparent 55%),
    radial-gradient(45% 70% at 0% 100%, rgba(167, 139, 250, 0.14), transparent 50%);
}

html body.theme-rf .rf-page-hero--jogo .rf-page-hero__ambient {
  background:
    radial-gradient(55% 75% at 90% 10%, rgba(251, 113, 133, 0.2), transparent 55%),
    radial-gradient(40% 60% at 8% 90%, rgba(167, 139, 250, 0.12), transparent 50%);
}

html body.theme-rf .rf-page-hero--pagamentos .rf-page-hero__ambient {
  background:
    radial-gradient(50% 70% at 85% 15%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(45% 65% at 10% 85%, rgba(167, 139, 250, 0.12), transparent 50%);
}

html body.theme-rf .rf-page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

html body.theme-rf .rf-page-hero__tag {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mut);
}

html body.theme-rf .rf-page-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.06;
}

html body.theme-rf .rf-page-hero__lead {
  max-width: 42ch;
  margin: 0;
}

html body.theme-rf .rf-page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

html body.theme-rf .rf-page-hero__chips li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.32rem 0.65rem;
  border-radius: var(--r-pill);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html body.theme-rf .rf-page-hero__figure {
  margin: 0;
  padding: 0.75rem;
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--sh-1);
}

html body.theme-rf .rf-page-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 22rem;
  margin-inline: auto;
}

@media (max-width: 860px) {
  html body.theme-rf .rf-page-hero__grid {
    grid-template-columns: 1fr;
  }

  html body.theme-rf .rf-page-hero__figure {
    order: -1;
    max-width: 20rem;
    margin-inline: auto;
  }

  html body.theme-rf .rf-page-hero__figure img {
    max-width: 100%;
  }
}

html body.theme-rf .sec-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.1rem;
  gap: 1rem 1.25rem;
}

html body.theme-rf .sec-head > div {
  min-width: 0;
  flex: 1 1 12rem;
}

html body.theme-rf .sec-head__link {
  flex: 0 1 auto;
  max-width: 100%;
  padding: 0.48rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
  border-radius: var(--r-pill);
  border: 1px solid rgba(249, 168, 212, 0.35);
  background: rgba(249, 168, 212, 0.08);
  color: var(--cream) !important;
  box-shadow: none;
  font-weight: 600;
}

@media (max-width: 720px) {
  html body.theme-rf .sec-head {
    margin-bottom: 0.55rem;
    padding-bottom: 0.5rem;
    gap: 0.45rem;
  }

  html body.theme-rf .sec-head p {
    margin-top: 0.35rem;
  }

  html body.theme-rf .sec-head__link {
    align-self: stretch;
    justify-content: center;
  }

  html body.theme-rf .sec-head__link[href="/metodologia/"],
  html body.theme-rf .sec-head__link[href="/metodologia"] {
    display: none !important;
  }

  /* Lista de casinos: ocultar cabeçalho duplicado em mobile */
  html body.theme-rf #casinos .sec-head {
    display: none !important;
  }

  html body.theme-rf #casinos > .wrap > .df-adnote:first-of-type,
  html body.theme-rf #casinos .sec-head + .df-adnote {
    margin-top: 0;
  }

  html body.theme-rf .sec-head + .df-adnote {
    margin-top: 0;
  }

  html body.theme-rf .df-adnote {
    margin-bottom: 0.75rem !important;
  }

  html body.theme-rf .offers--rf {
    gap: 0.65rem;
  }
}

html body.theme-rf .sec-head__link:hover {
  background: rgba(249, 168, 212, 0.16);
}

html body.theme-rf .df-adnote {
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-left: 3px solid #a78bfa;
  background: rgba(167, 139, 250, 0.08);
  border-radius: var(--r-l);
  box-shadow: none;
  color: var(--text-soft);
}

html body.theme-rf .df-adnote strong {
  color: var(--cream);
}

/* —— Brand cards (rf-card) — stacked header / body / foot —— */
html body.theme-rf .offers--rf {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

html body.theme-rf .rf-card {
  border-radius: var(--r-xl);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

html body.theme-rf .rf-card:hover {
  transform: translateY(-2px);
}

html body.theme-rf .rf-card__shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(32, 26, 40, 0.98), rgba(18, 14, 24, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
}

html body.theme-rf .offers--rf .rf-card:nth-child(1) .rf-card__shell {
  border-color: rgba(251, 113, 133, 0.28);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(251, 113, 133, 0.12);
}

html body.theme-rf .rf-card__head {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-template-areas: "rank logo title score";
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.12), rgba(232, 121, 249, 0.06) 55%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

html body.theme-rf .rf-card__rank {
  grid-area: rank;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fce7f3;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(251, 113, 133, 0.35), rgba(167, 139, 250, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

html body.theme-rf .rf-card__logo {
  grid-area: logo;
  flex-shrink: 0;
  width: 4.75rem;
  padding: 0.4rem 0.5rem;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.97);
  line-height: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

html body.theme-rf .rf-card__logo img {
  display: block;
  height: 2rem !important;
  width: auto !important;
  max-width: 100% !important;
  margin-inline: auto;
  object-fit: contain !important;
  background: transparent !important;
}

html body.theme-rf .rf-card__title {
  grid-area: title;
  margin: 0;
  min-width: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

html body.theme-rf .rf-card__rating {
  grid-area: score;
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(249, 168, 212, 0.25);
  line-height: 1;
}

html body.theme-rf .rf-card__rating-val {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--cream);
  letter-spacing: -0.03em;
}

html body.theme-rf .rf-card__rating-max {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-mut);
}

html body.theme-rf .rf-card__body {
  padding: 0.85rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

html body.theme-rf .rf-card__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-soft);
}

html body.theme-rf .rf-card__details {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(196, 181, 253, 0.22);
}

html body.theme-rf .rf-card__lic-box {
  flex: 1 1 12rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

html body.theme-rf .rf-card__lic-lab {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f9a8d4;
}

html body.theme-rf .rf-card__lic-val {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cream);
  overflow-wrap: anywhere;
}

html body.theme-rf .rf-card__lic-val a {
  color: inherit;
  text-decoration: none;
}

html body.theme-rf .rf-card__lic-val a:hover {
  color: var(--rasp);
  text-decoration: underline;
}

html body.theme-rf .rf-card__feats {
  flex: 1 1 8rem;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

html body.theme-rf .rf-card__feats li {
  font-size: 0.68rem;
  font-weight: 600;
  color: #e9d5ff;
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-pill);
  background: rgba(167, 139, 250, 0.14);
  border: 1px solid rgba(196, 181, 253, 0.28);
}

html body.theme-rf .rf-card__note {
  margin: 0;
  padding-top: 0.15rem;
  font-size: 0.67rem;
  line-height: 1.45;
  color: var(--text-mut);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

html body.theme-rf .rf-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem 0.85rem;
  padding: 0.75rem 1rem 0.9rem;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

html body.theme-rf .rf-card__visit.btn {
  flex: 1 1 10rem;
  max-width: 14rem;
  padding: var(--ui-btn-pad-y) 0.85rem;
  font-size: var(--ui-btn-fs);
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #fb7185 0%, #e879f9 50%, #a78bfa 100%);
  box-shadow: 0 8px 24px rgba(232, 121, 249, 0.35);
  border: none;
  white-space: normal;
}

html body.theme-rf .rf-card__visit.btn:hover {
  box-shadow: 0 12px 32px rgba(232, 121, 249, 0.45);
  filter: brightness(1.06);
}

html body.theme-rf .rf-card__ficha {
  flex: 0 1 auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--coral);
  text-decoration: none;
  padding: 0.35rem 0.15rem;
}

html body.theme-rf .rf-card__ficha:hover {
  color: #fbcfe8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body.theme-rf .rf-card__link-out:hover {
  color: #fbcfe8;
}

@media (max-width: 900px) {
  html body.theme-rf .rf-card__head {
    padding: 0.75rem 0.85rem;
    gap: 0.5rem 0.65rem;
  }

  html body.theme-rf .rf-card__logo {
    width: 4.35rem;
  }

  html body.theme-rf .rf-card__rating-val {
    font-size: 1.2rem;
  }

  html body.theme-rf .rf-card__body {
    padding: 0.75rem 0.85rem 0.65rem;
  }

  html body.theme-rf .rf-card__foot {
    padding: 0.7rem 0.85rem 0.85rem;
  }
}

@media (max-width: 720px) {
  html body.theme-rf .rf-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.6rem;
  }

  html body.theme-rf .rf-card__rank {
    flex: 0 0 auto;
  }

  html body.theme-rf .rf-card__logo {
    flex: 0 0 auto;
    width: 4.1rem;
  }

  html body.theme-rf .rf-card__rating {
    flex: 0 0 auto;
    margin-left: auto;
  }

  html body.theme-rf .rf-card__title {
    flex: 1 1 100%;
    order: 10;
    font-size: 1.05rem;
  }

  html body.theme-rf .rf-card__details {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  html body.theme-rf .rf-card__lic-box,
  html body.theme-rf .rf-card__feats {
    flex: 1 1 auto;
    width: 100%;
  }

  html body.theme-rf .rf-card__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  html body.theme-rf .rf-card__visit.btn {
    max-width: none;
    width: 100%;
    flex: 1 1 auto;
  }

  html body.theme-rf .rf-card__ficha {
    text-align: center;
    padding: 0.25rem 0;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  html body.theme-rf .rf-card__head {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "rank logo title score";
  }

  html body.theme-rf .rf-card__title {
    font-size: 1.05rem;
  }

  html body.theme-rf .rf-card__details {
    flex-direction: column;
  }

  html body.theme-rf .rf-card__lic-box,
  html body.theme-rf .rf-card__feats {
    flex: 1 1 auto;
    width: 100%;
  }

  html body.theme-rf .rf-card__foot {
    justify-content: stretch;
  }

  html body.theme-rf .rf-card__visit.btn {
    flex: 1 1 12rem;
    max-width: none;
  }
}

@media (max-width: 380px) {
  html body.theme-rf .rf-card__shell {
    border-radius: var(--r-l);
  }

  html body.theme-rf .rf-card__rank {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.75rem;
  }

  html body.theme-rf .rf-card__logo {
    width: 3.75rem;
    padding: 0.35rem 0.4rem;
  }

  html body.theme-rf .rf-card__logo img {
    height: 1.65rem !important;
  }

  html body.theme-rf .rf-card__rating {
    padding: 0.28rem 0.5rem;
  }

  html body.theme-rf .rf-card__rating-val {
    font-size: 1.05rem;
  }

  html body.theme-rf .rf-card__desc {
    font-size: 0.82rem;
  }
}

/* —— Brand registry (below cards on home) —— */
html body.theme-rf .rf-registry {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

html body.theme-rf .rf-registry__row {
  display: grid;
  grid-template-columns: minmax(9rem, 1.05fr) minmax(0, 1.35fr) auto minmax(0, 1.1fr) auto;
  gap: 0.65rem 1rem;
  align-items: center;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-l);
  background: linear-gradient(155deg, rgba(32, 26, 40, 0.96), rgba(18, 14, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

html body.theme-rf .rf-registry__row:hover {
  border-color: rgba(196, 181, 253, 0.28);
  transform: translateY(-1px);
}

html body.theme-rf .rf-registry__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

html body.theme-rf .rf-registry__logo {
  flex-shrink: 0;
  display: block;
  width: 3.65rem;
  padding: 0.32rem 0.4rem;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.97);
  line-height: 0;
}

html body.theme-rf .rf-registry__logo img {
  display: block;
  height: 1.55rem !important;
  width: auto !important;
  max-width: 100% !important;
  margin-inline: auto;
  object-fit: contain !important;
  background: transparent !important;
}

html body.theme-rf .rf-registry__name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--cream);
  text-decoration: none;
  line-height: 1.2;
}

html body.theme-rf .rf-registry__name:hover {
  color: #fbcfe8;
}

html body.theme-rf .rf-registry__cell {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-soft);
  min-width: 0;
  overflow-wrap: anywhere;
}

html body.theme-rf .rf-registry__cell a {
  color: #f9a8d4;
  font-weight: 700;
  text-decoration: none;
}

html body.theme-rf .rf-registry__cell a:hover {
  text-decoration: underline;
}

html body.theme-rf .rf-registry__cell--date {
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
}

html body.theme-rf section[aria-labelledby="quem-h"] .rf-registry__row:nth-child(even) {
  background: linear-gradient(155deg, rgba(36, 30, 48, 0.96), rgba(20, 16, 28, 0.98));
}

@media (max-width: 960px) {
  html body.theme-rf .rf-registry__row {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.75rem;
    padding: 0.85rem;
  }

  html body.theme-rf .rf-registry__brand {
    grid-column: 1 / -1;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  html body.theme-rf .rf-registry__cell {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  html body.theme-rf .rf-registry__cell::before {
    content: attr(data-label);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f9a8d4;
  }

  html body.theme-rf .rf-registry__cell--date {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  html body.theme-rf .rf-registry__row {
    grid-template-columns: 1fr;
  }
}

/* —— Brand spotlight cards (differences list) —— */
html body.theme-rf .rf-spotlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

html body.theme-rf .rf-spotlight__item {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: var(--r-l);
  background: linear-gradient(160deg, rgba(32, 26, 40, 0.95), rgba(18, 14, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

html body.theme-rf .rf-spotlight__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

html body.theme-rf .rf-spotlight__logo {
  flex-shrink: 0;
  display: block;
  width: 3.35rem;
  padding: 0.28rem 0.35rem;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.97);
  line-height: 0;
}

html body.theme-rf .rf-spotlight__logo img {
  display: block;
  height: 1.35rem !important;
  width: auto !important;
  max-width: 100% !important;
  margin-inline: auto;
  object-fit: contain !important;
}

html body.theme-rf .rf-spotlight__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.15;
}

html body.theme-rf .rf-spotlight__title a {
  color: var(--cream);
  text-decoration: none;
}

html body.theme-rf .rf-spotlight__title a:hover {
  color: #fbcfe8;
}

html body.theme-rf .rf-spotlight__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-soft);
}

html body.theme-rf section[aria-labelledby="dif-h"] .iprose {
  padding: clamp(1.1rem, 3vw, 1.65rem);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 720px) {
  html body.theme-rf .rf-spotlight {
    grid-template-columns: 1fr;
  }
}

/* —— Casinos licenciados: long-form operator blocks —— */
html body.theme-rf .df-oper .oper__in {
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(32, 26, 40, 0.98), rgba(18, 14, 24, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  gap: 1.25rem;
}

html body.theme-rf .df-oper .oper__head {
  padding: 0.75rem 0.85rem;
  border-radius: var(--r-l);
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.12), rgba(232, 121, 249, 0.05) 60%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.07);
  gap: 0.85rem 1rem;
}

html body.theme-rf .df-oper .oper__logo {
  width: auto !important;
  max-width: 5.5rem;
  height: 2.35rem !important;
  padding: 0.35rem 0.5rem;
  object-fit: contain !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border-radius: var(--r-m) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

html body.theme-rf .df-oper .oper__head .h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

html body.theme-rf .df-oper .oper__head .lead {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
}

html body.theme-rf .df-oper .oper__score {
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(249, 168, 212, 0.25);
  padding: 0.45rem 0.75rem !important;
  border-radius: var(--r-pill) !important;
  text-align: center !important;
  align-items: center !important;
}

html body.theme-rf .df-oper .oper__score b {
  font-size: 1.35rem !important;
}

html body.theme-rf .df-oper .oper__score small {
  display: none;
}

html body.theme-rf .df-oper .oper__plates {
  gap: 0.55rem;
}

html body.theme-rf .df-oper .plate {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(196, 181, 253, 0.18) !important;
  border-radius: var(--r-m) !important;
  box-shadow: none !important;
}

html body.theme-rf .df-oper .df-oper__cols .iprose {
  padding: 0.85rem 0.95rem;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(196, 181, 253, 0.18);
}

html body.theme-rf .df-oper .oper__foot {
  padding: 0.75rem 0.85rem;
  border-radius: var(--r-m);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

html body.theme-rf .df-oper .df-cta-btn {
  background: linear-gradient(135deg, #fb7185 0%, #e879f9 50%, #a78bfa 100%) !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(232, 121, 249, 0.35);
  font-size: var(--ui-btn-fs) !important;
  padding: var(--ui-btn-pad-y) var(--ui-btn-pad-x) !important;
  white-space: normal;
}

html body.theme-rf .df-oper .df-oper__ctas {
  gap: 0.55rem 0.85rem;
  align-items: stretch;
}

html body.theme-rf .df-oper .df-oper__ctas .df-more {
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: left;
}

@media (max-width: 720px) {
  html body.theme-rf .df-oper .df-oper__ctas {
    flex-direction: column;
    width: 100%;
  }

  html body.theme-rf .df-oper .df-oper__ctas .df-more {
    text-align: center;
    order: 2;
  }

  html body.theme-rf .df-oper .df-oper__ctas .df-cta-btn {
    order: 1;
  }
}

html body.theme-rf .df-oper .plate__n {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}

html body.theme-rf .df-oper .plate__note {
  font-size: 0.82rem;
}

html body.theme-rf .df-oper .plate {
  padding: 0.85rem 0.95rem;
}

@media (max-width: 480px) {
  html body.theme-rf .df-oper .oper__plates {
    grid-template-columns: 1fr;
  }
}

html body.theme-rf .df-oper .offer__tc {
  font-size: 0.67rem;
  opacity: 0.9;
}

@media (max-width: 720px) {
  html body.theme-rf .df-oper .oper__head {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo score"
      "copy copy";
  }

  html body.theme-rf .df-oper .oper__logo {
    grid-area: logo;
  }

  html body.theme-rf .df-oper .oper__score {
    grid-area: score;
    justify-self: end;
  }

  html body.theme-rf .df-oper .oper__head > div:not(.oper__score) {
    grid-area: copy;
  }
}

/* —— FAQ, misc —— */
html body.theme-rf .faq__item,
html body.theme-rf .card,
html body.theme-rf .plate,
html body.theme-rf .prin__c,
html body.theme-rf .edit__c,
html body.theme-rf .tool {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--r-l) !important;
  box-shadow: var(--sh-1) !important;
}

html body.theme-rf .faq__ic {
  color: var(--coral);
}

html body.theme-rf .rail__n {
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--ink-text);
  box-shadow: var(--glow);
}

html body.theme-rf .rail::before {
  opacity: 0.35;
  filter: hue-rotate(60deg);
}

html body.theme-rf .rg__in {
  background: rgba(251, 113, 133, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.2);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-1);
}

html body.theme-rf .rg__badge {
  border-radius: 50%;
  background: linear-gradient(135deg, #fb7185, #e879f9);
  box-shadow: 0 8px 28px rgba(251, 113, 133, 0.35);
}

html body.theme-rf .glass {
  background: linear-gradient(165deg, rgba(42, 36, 64, 0.95), rgba(24, 21, 36, 0.92)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: var(--sh-2) !important;
  border-radius: var(--r-xl) !important;
  backdrop-filter: blur(20px) !important;
}

html body.theme-rf .agemodal {
  background: rgba(8, 6, 14, 0.65);
  backdrop-filter: blur(8px);
}

html body.theme-rf .agemodal__age {
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: var(--glow);
  color: var(--ink-text);
}

html body.theme-rf .cc-banner {
  background: rgba(30, 26, 46, 0.96) !important;
  color: var(--text) !important;
  border: 1px solid rgba(196, 181, 253, 0.25) !important;
  border-radius: var(--r-xl) !important;
  box-shadow: var(--sh-2) !important;
  backdrop-filter: blur(16px);
}

html body.theme-rf .cc-btn {
  height: auto;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(196, 181, 253, 0.4);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.25;
  background: transparent;
  color: var(--cream);
}

html body.theme-rf .cc-btn:hover {
  background: var(--grad-accent);
  color: var(--ink-text);
  border-color: transparent;
}

html body.theme-rf a:not(.btn):not(.rf-nav__link):hover {
  color: var(--coral);
}

html body.theme-rf .donut::after {
  background: var(--ink-1);
}

html body.theme-rf .donut__c {
  color: var(--cream);
}

html body.theme-rf .cta-band::before {
  background: linear-gradient(180deg, var(--ink-0), rgba(18, 16, 26, 0.88), var(--ink-0)) !important;
}

html body.theme-rf .cta-band__scene img {
  opacity: 0.35 !important;
  filter: blur(2px) saturate(1.1) hue-rotate(-20deg) !important;
}

html body.theme-rf .foot__mark {
  color: rgba(196, 181, 253, 0.04);
}

/* Legacy heroes (metodologia, casino fichas, etc.) — clear fixed rf-header */
html body.theme-rf .hero:not(.rf-hero):not(.rf-page-hero) {
  min-height: auto !important;
  display: block !important;
  align-items: unset !important;
  padding-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 0.75rem) !important;
  padding-bottom: clamp(1.5rem, 4vw, 2.75rem) !important;
}

html body.theme-rf .hero:not(.hero--home):not(.rf-page-hero) {
  background: transparent;
  border-bottom: none;
}

html body.theme-rf .hero:not(.hero--home):not(.rf-page-hero)::before {
  background: linear-gradient(90deg, var(--ink-0) 0%, rgba(18, 16, 26, 0.75) 50%, rgba(18, 16, 26, 0.4) 100%) !important;
}

html body.theme-rf .hero:not(.hero--home):not(.rf-page-hero) .hero__scene img {
  filter: blur(2px) brightness(0.5) saturate(1.05) hue-rotate(-12deg) !important;
  animation: heroDrift 14s ease-in-out infinite !important;
}

html body.theme-rf .df-steps li {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--r-m) !important;
  box-shadow: none;
}

html body.theme-rf .df-steps li::before {
  border-radius: 50% !important;
  background: var(--grad-accent) !important;
  color: var(--ink-text);
}

html body.theme-rf .df-table th {
  background: rgba(167, 139, 250, 0.15) !important;
  color: var(--cream) !important;
}

html body.theme-rf .df-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html body.theme-rf .df-table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-l);
  box-shadow: var(--sh-1);
}

html body.theme-rf .iprose a:not(.btn),
html body.theme-rf .df-adnote a,
html body.theme-rf .offers__disc a,
html body.theme-rf .df-more {
  color: var(--coral) !important;
}

html body.theme-rf .df-ops__item {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--sh-1) !important;
  border-radius: var(--r-l) !important;
}

html body.theme-rf .df-ops__logo {
  background: rgba(255, 255, 255, 0.95) !important;
  border: none !important;
  border-radius: var(--r-m) !important;
}

html body.theme-rf .iso-list li::before {
  background: var(--grad-accent) !important;
}

html body.theme-rf .cf-form,
html body.theme-rf .quiz__q {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--r-l) !important;
}

html body.theme-rf .site-head,
html body.theme-rf .site-foot {
  display: none;
}

html body.theme-rf .lhead {
  padding-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 1rem) !important;
}

html body.theme-rf .ihero {
  padding-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 1.25rem) !important;
}

html body.theme-rf .df-rv-crumbs {
  padding-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 0.65rem) !important;
}

html body.theme-rf .df-rv-crumbs + .hero {
  padding-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 0.5rem) !important;
}

html body.theme-rf .df-rv-aside {
  top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 1rem);
}

html body.theme-rf .df-oper {
  scroll-margin-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 0.75rem);
}

html body.theme-rf .df-rv-art {
  scroll-margin-top: calc(var(--rf-header-h, var(--head-space, 7.5rem)) + 0.75rem);
}

html:has(> body.theme-rf) {
  scroll-padding-top: calc(var(--rf-header-h, var(--hh, 7.5rem)) + 0.75rem);
}

/* —— Global responsive polish —— */
html body.theme-rf .chip {
  font-size: 0.875rem;
  padding: 0.42rem 0.8rem;
}

html body.theme-rf .df-adnote {
  font-size: 0.875rem;
  line-height: 1.55;
  padding: 0.85rem 1rem;
}

html body.theme-rf .df-toc {
  font-size: 0.875rem;
  line-height: 1.75;
}

html body.theme-rf .faq__q {
  font-size: 0.92rem;
  line-height: 1.35;
  padding: 0.95rem 1.1rem;
  gap: 0.75rem;
}

html body.theme-rf .faq__a p {
  font-size: 0.9rem;
  padding: 0 1.1rem 1.1rem;
}

html body.theme-rf .df-rv-layout {
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 900px) {
  html body.theme-rf .df-rv-layout {
    grid-template-columns: 1fr;
  }

  html body.theme-rf .df-rv-aside {
    position: static;
  }
}

html body.theme-rf .cta-band__cta {
  gap: 0.55rem;
  width: 100%;
  max-width: 22rem;
}

html body.theme-rf .iend .btn,
html body.theme-rf .helpline + .btn,
html body.theme-rf .df-hero__cta .btn {
  font-size: var(--ui-btn-fs);
  padding: var(--ui-btn-pad-y) var(--ui-btn-pad-x);
}

@media (max-width: 720px) {
  html body.theme-rf .rf-rg__in {
    font-size: 0.72rem;
    gap: 0.3rem 0.55rem;
    padding: 0.45rem 0;
    text-align: center;
    justify-content: center;
  }

  html body.theme-rf .rf-brand__name {
    font-size: 1.12rem;
  }

  html body.theme-rf .rf-page-hero__title {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
  }

  html body.theme-rf .quiz__q {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  html body.theme-rf .quiz__opt {
    font-size: 0.8125rem;
    padding: 0.38rem 0.75rem;
  }

  html body.theme-rf .resources a {
    font-size: 0.875rem;
    padding: 0.5rem 0.85rem;
  }
}
