/**
 * Love678 local layout fixes
 * - Mobile columns wrap (WordPress nowrap overrides broke phones)
 * - Navigation usable without WordPress Interactivity JS (file://)
 * - Hero / slider / cards spacing and overflow
 * - Google mobile usability (ID): readable type, tap targets, no overflow
 */

/* Force Plus Jakarta Sans site-wide (overrides WP system-ui preset) */
:root {
  /* Logo-matched brand palette */
  --love-violet: #7b2cff;
  --love-violet-deep: #5b1d8f;
  --love-magenta: #e2187a;
  --love-magenta-hot: #ff4da6;
  --love-lavender: #e8d5ff;
  --love-ink: #1a0a2e;
  --love-ink-soft: #2a1245;
  --love-panel: #241038;
  --love-surface: #f7f0ff;
  --love-surface-2: #efe4ff;
  --love-card: #faf5ff;
  --love-text: #f6eefe;
  --love-muted: rgba(246, 238, 254, 0.72);
  --love-line: rgba(232, 213, 255, 0.16);
  --love-text-dark: #1a0a2e;
  --love-muted-dark: #5a4570;
  --love-cta: linear-gradient(115deg, #ff4da6 0%, #b03dff 48%, #7b2cff 100%);
  --love678-font: "Plus Jakarta Sans", "Segoe UI", Tahoma, sans-serif;
  --wp--preset--font-family--reunionary-ui: "Plus Jakarta Sans", "Segoe UI", Tahoma, sans-serif;
  --wp--preset--color--soft-cream: #f7f0ff;
  --wp--preset--color--soft-sand: #efe4ff;
  --wp--preset--color--reunionary-navy: #1a0a2e;
  --wp--preset--color--reunionary-gold: #e2187a;
  --wp--preset--color--ink: #1a0a2e;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-family: var(--love678-font);
}

body,
button,
input,
select,
textarea,
.wp-site-blocks,
.wp-block-navigation,
.wp-block-button__link,
.wp-block-navigation-item__content,
.wp-block-details,
.love678-site-footer {
  font-family: var(--love678-font) !important;
}

body,
.wp-site-blocks {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--love678-font) !important;
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  html {
    scroll-behavior: auto;
  }

  /* Ensure every text node on phone uses the loaded webfont */
  body,
  body * {
    font-family: var(--love678-font) !important;
  }

  /* Keep icon fonts / emoji from being forced if any */
  .dashicons,
  .emoji,
  img {
    font-family: inherit;
  }

  body {
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 400;
  }

  h1 { font-weight: 800 !important; }
  h2, h3 { font-weight: 700 !important; }
  strong, b { font-weight: 700 !important; }
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: visible;
  overflow-y: visible;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

/* Kill WP contain-intrinsic-size CLS spam on mobile */
img:is([sizes="auto" i], [sizes^="auto," i]) {
  contain-intrinsic-size: auto 200px !important;
}

.wp-site-blocks,
.wp-block-group,
.wp-block-columns {
  max-width: 100%;
}

/* ---------- Header ---------- */
.wp-block-template-part > header.wp-block-group {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 240, 255, 0.92);
  backdrop-filter: blur(8px);
}

/* Mobile: solid sticky (blur re-paints every scroll frame) */
@media (max-width: 768px) {
  .wp-block-template-part > header.wp-block-group {
    background: var(--love-ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Keep logo+nav on the same 1120px content rail as hero (above Indonesia) */
header.wp-container-core-group-is-layout-7aed3cf6 > .wp-container-core-group-is-layout-1c6683f5,
header.wp-block-group > .wp-container-core-group-is-layout-1c6683f5 {
  width: 100% !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.wp-block-site-logo img,
.wp-block-site-logo .custom-logo {
  width: 56px !important;
  height: auto !important;
}

.wp-block-site-title {
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  margin: 0;
}

.wp-block-site-title a {
  text-decoration: none;
}

/* Wordmark paired with app icon: ungu + magenta (logo palette) */
.love678-wordmark,
.wp-block-site-title a.love678-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.01em;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.05em;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
  -webkit-text-fill-color: unset;
  background: none !important;
}

.love678-wordmark {
  color: var(--love-violet-deep);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.love678-wordmark .love678-num {
  color: var(--love-magenta);
  font-weight: 800;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ff9fd0 0%, var(--love-magenta-hot) 42%, var(--love-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Local / file://: tablet mid-width keeps inline wrap; phones use hamburger (see mobile download block) */
@media (min-width: 769px) and (max-width: 900px) {
  .wp-block-navigation__responsive-container-open,
  .wp-block-navigation__responsive-container-close {
    display: none !important;
  }

  .wp-block-navigation__responsive-container,
  .wp-block-navigation__responsive-container.is-menu-open {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .wp-block-navigation__responsive-close,
  .wp-block-navigation__responsive-dialog,
  .wp-block-navigation__responsive-container-content {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
  }

  header .wp-block-group.is-content-justification-space-between {
    flex-wrap: wrap !important;
    row-gap: 0.75rem;
  }

  .wp-block-navigation,
  .wp-block-navigation__container {
    width: 100%;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  .wp-block-navigation.is-style-reunionary-nav-pill
  .wp-block-navigation-item {
    width: auto !important;
    border-bottom: 0 !important;
  }

  .wp-block-navigation.is-style-reunionary-nav-pill
  .wp-block-navigation-item__content {
    width: auto !important;
    padding: 0.4rem 0.75rem !important;
    font-size: 0.9rem !important;
    justify-content: center !important;
  }

  .wp-block-navigation__responsive-container-content {
    padding: 0 !important;
  }
}

/* ---------- Critical: columns must wrap on phones ---------- */
@media (max-width: 781px) {
  .wp-block-columns,
  .wp-block-columns.is-layout-flex,
  [class*="wp-container-core-columns-is-layout-"] {
    flex-wrap: wrap !important;
  }

  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Tablet: hero text + circle should stack before crushing */
@media (max-width: 1024px) {
  .wp-container-core-columns-is-layout-345be18d {
    flex-wrap: wrap !important;
  }

  .wp-container-core-columns-is-layout-345be18d > .wp-block-column {
    flex-basis: 100% !important;
  }
}

/* ---------- Hero ---------- */
/* Kill gap under sticky header */
.wp-site-blocks > .wp-block-template-part {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.wp-site-blocks > .wp-block-template-part + .wp-block-group,
.wp-site-blocks > .wp-container-core-group-is-layout-b8eac409 {
  margin-block-start: 0 !important;
}

.wp-container-core-group-is-layout-b8eac409 {
  padding-top: 0.35rem !important;
  padding-bottom: 0.5rem !important;
  min-height: 0 !important;
}

/* Buttons row under header: no extra top margin */
.wp-container-core-group-is-layout-b8eac409 .wp-container-core-group-is-layout-12ff322c {
  margin-top: 0.35rem !important;
}

.wp-container-core-group-is-layout-b8eac409 .wp-container-core-columns-is-layout-345be18d {
  margin-block-start: 0 !important;
}

/* Tighten gap: hero → Live section */
.wp-site-blocks > .wp-container-core-group-is-layout-b8eac409 + .wp-block-group,
.love678-section-after-hero {
  margin-block-start: 0.5rem !important;
  padding-top: 1.25rem !important;
  padding-bottom: 0 !important;
}

.wp-site-blocks > .wp-block-group:not(.wp-container-core-group-is-layout-b8eac409):not(.love678-section-after-hero):not(.love678-section-tight) {
  margin-block-start: clamp(1rem, 2.5vw, 1.75rem);
}

/* Kill full-width empty bands between sections */
.love678-section-tight {
  margin-block-start: 0.75rem !important;
  padding-top: 0.75rem !important;
}

/* Tips banner → Idol: no leftover strip */
.wp-container-core-group-is-layout-f9ae48e1 {
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
}

.wp-container-core-buttons-is-layout-53b1b919 {
  flex-wrap: wrap !important;
}

/* Hero copy: scale to fill height next to circle (~517px) */
.love678-hero-row {
  align-items: center !important;
  gap: 1.5rem 2rem !important;
}

.love678-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: min(517px, 50vw);
  padding-block: 0.25rem;
}

.love678-hero-copy > * {
  margin-block-start: 1.05rem !important;
  margin-block-end: 0 !important;
}

.love678-hero-copy > :first-child {
  margin-block-start: 0 !important;
}

.love678-hero-copy .wp-block-button__link {
  padding: 0.65em 1.25em !important;
  font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
  min-height: 0 !important;
}

.love678-hero-copy h1.wp-block-heading {
  font-size: clamp(1.95rem, 3.6vw, 2.75rem) !important;
  line-height: 1.18 !important;
  margin: 0 !important;
  max-width: 20ch;
}

.love678-hero-copy .has-reunionary-gold-color {
  margin: 0 !important;
  font-size: clamp(1.08rem, 1.45vw, 1.25rem) !important;
}

.love678-hero-copy .has-reunionary-navy-color.has-x-small-font-size {
  font-size: clamp(1.05rem, 1.3vw, 1.15rem) !important;
  line-height: 1.55 !important;
  max-width: 42ch;
}

.wp-container-core-group-is-layout-fc18d236 {
  max-width: 520px;
  gap: 0.9rem !important;
  margin-top: 1.15rem !important;
}

.wp-container-core-group-is-layout-fc18d236 .wp-block-image {
  margin: 0;
}

.wp-container-core-group-is-layout-fc18d236 img {
  width: 100%;
  max-width: 248px;
  height: auto;
  border-radius: 12px;
}

/* Circular Smart Slider: keep centered, never overflow */
#n2-ss-2-align,
.n2-section-smartslider {
  display: flex;
  justify-content: center;
  width: 100%;
}

#n2-ss-2,
#n2-ss-2 .n2-ss-slider,
#n2-ss-2 .n2-ss-slide {
  max-width: min(517px, 100%) !important;
  margin-inline: auto;
}

/* Keep circle column tight — no leftover beige under the slider */
.love678-hero-visual {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.love678-hero-visual .n2-section-smartslider,
.love678-hero-visual #n2-ss-2-align,
.love678-hero-visual .n2-padding {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
}

@media (max-width: 768px) {
  #n2-ss-2 {
    contain: layout paint;
    transform: translateZ(0);
  }

  /* Soften container-query layout thrash on card grids */
  .wp-container-core-group-is-layout-ddd11cfd,
  .wp-container-core-group-is-layout-05a956c0 {
    container-type: normal !important;
  }

  /* Google mobile: body text >= 16px, comfortable line-height */
  body {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .has-x-small-font-size,
  .has-small-font-size {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  h1.wp-block-heading {
    font-size: clamp(1.55rem, 6.2vw, 2.1rem) !important;
    line-height: 1.2 !important;
  }

  h2.wp-block-heading {
    font-size: clamp(1.3rem, 5vw, 1.75rem) !important;
  }

  /* Force wrap all nowrap flex rows that crush phones */
  .is-nowrap,
  .wp-container-core-group-is-layout-1c6683f5,
  .wp-container-core-group-is-layout-d495385e,
  .wp-container-core-buttons-is-layout-53b1b919,
  .wp-container-core-columns-is-layout-345be18d,
  .wp-container-core-columns-is-layout-e52783ee {
    flex-wrap: wrap !important;
  }

  /* Tap targets >= ~44px (Google mobile usability) */
  .wp-block-navigation-item__content,
  .wp-block-button__link,
  .love678-footer-col a,
  .love678-footer-cta a,
  .wp-block-details summary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .wp-block-button__link {
    padding: 0.7em 1.15em !important;
  }

  #n2-ss-2,
  #n2-ss-2 .n2-ss-slider,
  #n2-ss-2 .n2-ss-slide {
    width: min(260px, 72vw) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    max-width: 100% !important;
  }

  #n2-ss-2 .n2-ss-slider-controls,
  #n2-ss-2 .nextend-arrow {
    display: none !important;
  }

  /* Pause heavy slider motion feel on small screens */
  #n2-ss-2 {
    touch-action: pan-y;
  }

  /* Tighter section padding for phone fluency */
  .wp-container-core-group-is-layout-7173dc35 {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .love678-section-after-hero {
    margin-block-start: 0.25rem !important;
    padding-top: 0.85rem !important;
  }

  .wp-container-core-group-is-layout-b8eac409 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.35rem !important;
  }

  .wp-site-blocks > .wp-block-template-part + .wp-block-group {
    margin-block-start: 0 !important;
  }

  .wp-container-core-group-is-layout-b14cf8bb {
    padding: 1rem !important;
  }

  .wp-container-core-group-is-layout-ddd11cfd,
  .wp-container-core-group-is-layout-05a956c0 {
    grid-template-columns: 1fr !important;
  }

  .wp-block-image.is-resized img {
    width: 100% !important;
  }

  header.wp-block-group {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }

  /* Download badges: phone-friendly size, always centered */
  body.home .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236,
  .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 280px !important;
    max-width: calc(100vw - 2.5rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
    flex: 0 0 auto !important;
    justify-items: stretch;
    box-sizing: border-box !important;
  }

  .wp-container-core-group-is-layout-fc18d236 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  body.home .love678-hero-copy {
    align-items: center !important;
  }

  body.home .love678-hero-copy > h1.wp-block-heading,
  body.home .love678-hero-copy > .has-x-small-font-size {
    align-self: stretch !important;
    text-align: left;
    width: 100%;
  }

  .love678-hero-copy {
    min-height: 0 !important;
  }

  .love678-hero-copy h1.wp-block-heading {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem) !important;
    max-width: none;
  }
}

/* ---------- Section cards ---------- */
.wp-container-core-columns-is-layout-e52783ee .wp-block-column,
.wp-container-core-group-is-layout-ddd11cfd > *,
.wp-container-core-group-is-layout-05a956c0 > * {
  min-width: 0;
}

.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.wp-container-core-columns-is-layout-e52783ee .wp-block-image img,
.wp-container-core-group-is-layout-ddd11cfd .wp-block-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wp-block-paragraph a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Tighten empty break spam in promo captions */
.wp-block-paragraph br + br {
  display: none;
}

/* ---------- FAQ / details ---------- */
.wp-block-details {
  background: var(--love-card);
  border: 1px solid rgba(123, 44, 255, 0.14);
}

.wp-block-details summary {
  font-weight: 600;
  color: var(--love-ink);
}

/* ---------- Footer (official site) ---------- */
footer.wp-block-group,
.wp-block-template-part:has(footer),
footer {
  margin-top: 0;
}

.love678-site-footer {
  margin-top: 0 !important;
  background: linear-gradient(180deg, #241038 0%, var(--love-ink) 100%) !important;
  color: var(--love-muted) !important;
  border-top: 1px solid var(--love-line) !important;
  padding: 0 !important;
}

/* FAQ → footer: no full-width empty band */
.wp-site-blocks > .wp-block-group:last-of-type,
.love678-section-tight:has(.wp-block-details) {
  padding-bottom: 0.75rem !important;
  margin-bottom: 0 !important;
}

.wp-block-template-part:has(.love678-site-footer) {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

.love678-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.25rem 1.25rem;
}

.love678-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--love-line);
}

.love678-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--love-text);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.love678-footer-logo img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px;
  object-fit: cover;
}

.love678-footer-brand p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 28ch;
  color: var(--love-muted);
}

.love678-footer-cta a {
  color: var(--love-magenta-hot) !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}

.love678-footer-cta a:hover {
  text-decoration: underline;
}

.love678-footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--love-magenta-hot);
  font-weight: 700;
}

.love678-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.love678-footer-col a {
  color: var(--love-muted) !important;
  text-decoration: none;
  font-size: 0.92rem;
}

.love678-footer-col a:hover {
  color: var(--love-text) !important;
  text-decoration: underline;
}

.love678-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 1.15rem 0 0.35rem;
}

.love678-footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(246, 238, 254, 0.55);
}

.love678-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.love678-footer-legal a {
  color: rgba(246, 238, 254, 0.65) !important;
  text-decoration: none;
  font-size: 0.85rem;
}

.love678-footer-legal a:hover {
  color: var(--love-magenta-hot) !important;
}

@media (max-width: 900px) {
  .love678-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .love678-footer-brand {
    grid-column: 1 / -1;
  }

  .love678-footer-brand p {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .love678-footer-inner {
    padding: 2.25rem 1rem 1rem;
  }

  .love678-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .love678-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--love-magenta-hot);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  #n2-ss-2 .n2-ss-slide,
  #n2-ss-2 .n2-ss-slider-2,
  #n2-ss-2 .n2-ss-slider-3 {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Google ID mobile SEO extras ---------- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  overflow-x: visible;
}
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}
a,
button,
summary {
  word-break: break-word;
}
@media (max-width: 768px) {
  .wp-block-navigation__container {
    gap: 0.35rem 0.75rem !important;
  }
  .wp-block-buttons {
    gap: 0.65rem !important;
  }
  .wp-block-button,
  .wp-block-button__link {
    width: 100%;
    justify-content: center;
  }
  .love678-footer-col a {
    padding: 0.35rem 0;
  }
}

/* =========================================================
   Mobile download-station redesign (≤768px)
   First viewport: brand · headline · support · CTA · hero image
   ========================================================= */
@media (max-width: 768px) {
  :root {
    --love-ink: #1a0a2e;
    --love-panel: #241038;
    --love-rose: var(--love-magenta-hot);
    --love-cyan: var(--love-violet);
    --love-gold: var(--love-magenta);
    --love-text: #f6eefe;
    --love-muted: rgba(246, 238, 254, 0.72);
    --love-line: rgba(232, 213, 255, 0.16);
  }

  html.is-mobile body.home {
    background: linear-gradient(180deg, #2a0f45 0%, #1a0a2e 48%, #12081f 100%) !important;
    color: var(--love-text) !important;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif !important;
    padding-bottom: 5.5rem;
  }

  html.is-mobile body.home h1,
  html.is-mobile body.home h2,
  html.is-mobile body.home h3,
  html.is-mobile body.home .wp-block-site-title {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif !important;
    letter-spacing: -0.025em;
  }

  /* ----- Compact sticky header ----- */
  html.is-mobile body.home .wp-block-template-part > header.wp-block-group {
    background: #1a0a2e !important;
    border-bottom: 1px solid var(--love-line) !important;
    padding: 0.65rem 1rem !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html.is-mobile body.home header .wp-container-core-group-is-layout-1c6683f5 {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  html.is-mobile body.home .wp-block-site-logo img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px;
  }

  html.is-mobile body.home .wp-block-site-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  html.is-mobile body.home .wp-block-site-title a,
  html.is-mobile body.home .love678-wordmark {
    color: var(--love-lavender) !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    text-shadow: 0 1px 2px rgba(40, 0, 60, 0.45);
  }

  html.is-mobile body.home .love678-wordmark .love678-num {
    background: linear-gradient(180deg, #ffb0d8 0%, var(--love-magenta-hot) 42%, var(--love-magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
  }

  /* Hamburger: show open button, hide always-open menu */
  html.is-mobile body.home .wp-block-navigation__responsive-container-open {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 0 0 auto;
    border: 1px solid var(--love-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--love-text);
  }

  /* Hide hamburger while drawer is open (only keep the X) */
  html.love678-nav-open .wp-block-navigation__responsive-container-open,
  html.is-mobile body.home .wp-block-navigation__responsive-container.is-menu-open
    ~ .wp-block-navigation__responsive-container-open,
  html.is-mobile
    .wp-block-navigation:has(.wp-block-navigation__responsive-container.is-menu-open)
    .wp-block-navigation__responsive-container-open {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html.is-mobile body.home .wp-block-navigation__responsive-container-open svg {
    fill: currentColor;
  }

  html.is-mobile body.home .wp-block-navigation__responsive-container {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 200 !important;
    background: rgba(18, 8, 36, 0.97) !important;
    padding: 1.25rem !important;
    overflow: auto !important;
  }

  html.is-mobile body.home .wp-block-navigation__responsive-container.is-menu-open {
    display: block !important;
  }

  html.is-mobile body.home .wp-block-navigation__responsive-container-close {
    display: inline-flex !important;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--love-line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--love-text);
  }

  html.is-mobile body.home .wp-block-navigation__container {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.35rem !important;
    margin-top: 1.5rem;
  }

  html.is-mobile body.home .wp-block-navigation-item {
    list-style: none !important;
  }

  html.is-mobile body.home .wp-block-navigation-item::marker {
    content: "" !important;
    display: none !important;
  }

  html.is-mobile body.home .wp-block-navigation-item__content {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 0.85rem 1rem !important;
    font-size: 1.05rem !important;
    color: var(--love-text) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.04);
  }

  /* ----- Hero: one composition ----- */
  html.is-mobile body.home .wp-container-core-group-is-layout-b8eac409 {
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    min-height: 0;
  }

  /* Hero must stay on dark canvas — never treat as sand card */
  html.is-mobile body.home .wp-container-core-group-is-layout-b8eac409.has-soft-sand-background-color,
  html.is-mobile body.home .wp-container-core-group-is-layout-b8eac409.has-soft-cream-background-color {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--love-text) !important;
  }

  html.is-mobile body.home .love678-hero-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
  }

  /* Hide hero banner image on mobile */
  html.is-mobile body.home .love678-hero-visual {
    display: none !important;
  }

  html.is-mobile body.home .love678-hero-copy {
    order: 1;
    min-height: 0 !important;
    padding: 1.1rem 1.15rem 1.5rem !important;
    gap: 0 !important;
    align-items: center !important;
    text-align: center;
    animation: none !important;
  }

  html.is-mobile body.home .love678-hero-copy > * {
    margin-block-start: 0.85rem !important;
  }

  /* Keep headline + support readable, full width, left-aligned text */
  html.is-mobile body.home .love678-hero-copy > h1.wp-block-heading,
  html.is-mobile body.home .love678-hero-copy > .has-x-small-font-size {
    align-self: stretch !important;
    text-align: left;
    width: 100%;
  }

  /* Hide region pills from first viewport — move below CTA */
  html.is-mobile body.home .love678-hero-copy > .wp-container-core-group-is-layout-12ff322c {
    order: 5;
    margin-top: 1.35rem !important;
    align-self: center !important;
    width: auto !important;
  }

  html.is-mobile body.home .love678-hero-copy > .has-reunionary-gold-color {
    display: none !important; /* keep hero to one support line */
  }

  html.is-mobile body.home .love678-hero-copy > h1.wp-block-heading {
    order: 1;
    color: #ffffff !important;
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.15 !important;
    max-width: none;
    margin: 0 !important;
    text-shadow: 0 1px 2px rgba(26, 10, 46, 0.35);
  }

  html.is-mobile body.home .love678-hero-copy > .has-x-small-font-size {
    order: 2;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
    max-width: none;
    margin-top: 0.55rem !important;
  }

  html.is-mobile body.home .love678-hero-copy .has-reunionary-navy-color,
  html.is-mobile body.home .love678-hero-copy .has-reunionary-gold-color,
  html.is-mobile body.home .love678-hero-copy .has-text-color {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  html.is-mobile body.home .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236 {
    order: 3;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    margin-top: 1.1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: 280px !important;
    max-width: calc(100vw - 2.5rem) !important;
    justify-items: stretch;
  }

  html.is-mobile body.home .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236 .wp-block-image {
    margin: 0;
    width: 100%;
  }

  html.is-mobile body.home .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236 a {
    display: block;
    width: 100%;
    border-radius: 999px;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.2s ease;
  }

  html.is-mobile body.home .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236 a:active {
    transform: scale(0.97);
  }

  html.is-mobile body.home .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236 img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 999px;
    display: block;
  }

  /* Region links as quiet text row — not competing CTAs */
  html.is-mobile body.home .love678-hero-copy .wp-container-core-buttons-is-layout-53b1b919 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.45rem 0.85rem !important;
    justify-content: center;
  }

  html.is-mobile body.home .love678-hero-copy .wp-block-button {
    width: auto !important;
  }

  html.is-mobile body.home .love678-hero-copy .wp-block-button__link {
    width: auto !important;
    min-height: 36px !important;
    padding: 0.35rem 0.15rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  html.is-mobile body.home .love678-hero-copy .wp-block-button__link.has-reunionary-navy-color {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  /* Below-fold sections on dark canvas */
  html.is-mobile body.home .love678-section-after-hero,
  html.is-mobile body.home .love678-section-tight,
  html.is-mobile body.home .wp-site-blocks > .wp-block-group:not(.wp-container-core-group-is-layout-b8eac409) {
    background: transparent !important;
    color: var(--love-text);
  }

  /* Section titles / intro on dark page background */
  html.is-mobile body.home .love678-section-after-hero > .wp-block-group > .wp-block-heading,
  html.is-mobile body.home .love678-section-tight > .wp-block-group > .wp-block-heading,
  html.is-mobile body.home .wp-container-core-group-is-layout-89f1f8c3 > .wp-block-heading {
    color: #ffffff !important;
  }

  html.is-mobile body.home .love678-section-after-hero > .wp-block-group > .wp-block-paragraph,
  html.is-mobile body.home .love678-section-tight > .wp-block-group > .wp-block-paragraph,
  html.is-mobile body.home .wp-container-core-group-is-layout-89f1f8c3 > .wp-block-paragraph {
    color: rgba(255, 255, 255, 0.82) !important;
  }

  /* Image-caption links on dark canvas (Live IDR / TV Live etc.) */
  html.is-mobile body.home .love678-section-after-hero .wp-block-columns .wp-block-paragraph,
  html.is-mobile body.home .love678-section-after-hero .wp-block-columns .wp-block-paragraph a,
  html.is-mobile body.home .love678-section-after-hero .wp-block-columns .wp-block-paragraph strong,
  html.is-mobile body.home .love678-section-tight .wp-block-columns .wp-block-paragraph,
  html.is-mobile body.home .love678-section-tight .wp-block-columns .wp-block-paragraph a,
  html.is-mobile body.home .love678-section-tight .wp-block-columns .wp-block-paragraph strong,
  html.is-mobile body.home .wp-container-core-columns-is-layout-e52783ee .wp-block-paragraph,
  html.is-mobile body.home .wp-container-core-columns-is-layout-e52783ee .wp-block-paragraph a,
  html.is-mobile body.home .wp-container-core-columns-is-layout-e52783ee .wp-block-paragraph strong {
    color: #ffffff !important;
    text-decoration: none !important;
  }

  html.is-mobile body.home .wp-container-core-columns-is-layout-e52783ee .wp-block-paragraph a {
    display: block;
    margin-top: 0.45rem;
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(26, 10, 46, 0.35);
  }

  html.is-mobile body.home .wp-container-core-columns-is-layout-e52783ee .wp-block-paragraph a:hover,
  html.is-mobile body.home .wp-container-core-columns-is-layout-e52783ee .wp-block-paragraph a:active {
    color: var(--love-magenta-hot) !important;
  }

  /* Light sand/white cards only (exclude hero) */
  html.is-mobile body.home .has-soft-sand-background-color:not(.wp-container-core-group-is-layout-b8eac409),
  html.is-mobile body.home .has-soft-cream-background-color:not(.wp-container-core-group-is-layout-b8eac409),
  html.is-mobile body.home .has-white-background-color,
  html.is-mobile body.home .wp-container-core-group-is-layout-b14cf8bb,
  html.is-mobile body.home .wp-container-core-group-is-layout-c5696390,
  html.is-mobile body.home .wp-container-core-group-is-layout-f9ae48e1,
  html.is-mobile body.home .wp-container-core-group-is-layout-ddd11cfd > .wp-block-group,
  html.is-mobile body.home .wp-container-core-group-is-layout-05a956c0 > .wp-block-group {
    background-color: var(--love-card) !important;
    color: var(--love-text-dark) !important;
    border-color: rgba(123, 44, 255, 0.18) !important;
  }

  html.is-mobile body.home .has-soft-sand-background-color:not(.wp-container-core-group-is-layout-b8eac409) .wp-block-heading,
  html.is-mobile body.home .has-soft-sand-background-color:not(.wp-container-core-group-is-layout-b8eac409) .wp-block-heading a,
  html.is-mobile body.home .has-soft-cream-background-color:not(.wp-container-core-group-is-layout-b8eac409) .wp-block-heading,
  html.is-mobile body.home .has-soft-cream-background-color:not(.wp-container-core-group-is-layout-b8eac409) .wp-block-heading a,
  html.is-mobile body.home .has-white-background-color .wp-block-heading,
  html.is-mobile body.home .has-white-background-color .wp-block-heading a,
  html.is-mobile body.home .wp-container-core-group-is-layout-b14cf8bb .wp-block-heading,
  html.is-mobile body.home .wp-container-core-group-is-layout-b14cf8bb .wp-block-heading a,
  html.is-mobile body.home .wp-container-core-group-is-layout-c5696390 .wp-block-heading,
  html.is-mobile body.home .wp-container-core-group-is-layout-c5696390 .wp-block-heading a,
  html.is-mobile body.home .wp-container-core-group-is-layout-f9ae48e1 .wp-block-heading,
  html.is-mobile body.home .wp-container-core-group-is-layout-f9ae48e1 .wp-block-heading a,
  html.is-mobile body.home .wp-container-core-group-is-layout-ddd11cfd .wp-block-heading,
  html.is-mobile body.home .wp-container-core-group-is-layout-ddd11cfd .wp-block-heading a,
  html.is-mobile body.home .wp-container-core-group-is-layout-05a956c0 .wp-block-heading,
  html.is-mobile body.home .wp-container-core-group-is-layout-05a956c0 .wp-block-heading a {
    color: var(--love-violet-deep) !important;
    text-decoration: none !important;
  }

  html.is-mobile body.home .has-soft-sand-background-color:not(.wp-container-core-group-is-layout-b8eac409) .wp-block-paragraph,
  html.is-mobile body.home .has-soft-sand-background-color:not(.wp-container-core-group-is-layout-b8eac409) .wp-block-paragraph strong,
  html.is-mobile body.home .has-soft-cream-background-color:not(.wp-container-core-group-is-layout-b8eac409) .wp-block-paragraph,
  html.is-mobile body.home .has-soft-cream-background-color:not(.wp-container-core-group-is-layout-b8eac409) .wp-block-paragraph strong,
  html.is-mobile body.home .has-white-background-color .wp-block-paragraph,
  html.is-mobile body.home .has-white-background-color .wp-block-paragraph strong,
  html.is-mobile body.home .wp-container-core-group-is-layout-b14cf8bb .wp-block-paragraph,
  html.is-mobile body.home .wp-container-core-group-is-layout-b14cf8bb .wp-block-paragraph strong,
  html.is-mobile body.home .wp-container-core-group-is-layout-c5696390 .wp-block-paragraph,
  html.is-mobile body.home .wp-container-core-group-is-layout-c5696390 .wp-block-paragraph strong,
  html.is-mobile body.home .wp-container-core-group-is-layout-f9ae48e1 .wp-block-paragraph,
  html.is-mobile body.home .wp-container-core-group-is-layout-f9ae48e1 .wp-block-paragraph strong,
  html.is-mobile body.home .wp-container-core-group-is-layout-ddd11cfd .wp-block-paragraph,
  html.is-mobile body.home .wp-container-core-group-is-layout-ddd11cfd .wp-block-paragraph strong,
  html.is-mobile body.home .wp-container-core-group-is-layout-05a956c0 .wp-block-paragraph,
  html.is-mobile body.home .wp-container-core-group-is-layout-05a956c0 .wp-block-paragraph strong {
    color: var(--love-muted-dark) !important;
  }

  html.is-mobile body.home .has-soft-sand-background-color:not(.wp-container-core-group-is-layout-b8eac409) a,
  html.is-mobile body.home .has-white-background-color a,
  html.is-mobile body.home .wp-container-core-group-is-layout-b14cf8bb a,
  html.is-mobile body.home .wp-container-core-group-is-layout-f9ae48e1 a,
  html.is-mobile body.home .wp-container-core-group-is-layout-c5696390 a {
    color: var(--love-magenta) !important;
  }

  /* WP utility color classes on light cards */
  html.is-mobile body.home .has-soft-sand-background-color:not(.wp-container-core-group-is-layout-b8eac409) .has-reunionary-navy-color,
  html.is-mobile body.home .has-white-background-color .has-reunionary-navy-color,
  html.is-mobile body.home .wp-container-core-group-is-layout-b14cf8bb .has-reunionary-navy-color {
    color: var(--love-text-dark) !important;
  }

  html.is-mobile body.home .wp-block-details {
    background: var(--love-panel);
    border-color: var(--love-line);
  }

  html.is-mobile body.home .wp-block-details summary {
    color: var(--love-text);
  }

  html.is-mobile body.home .wp-block-details,
  html.is-mobile body.home .wp-block-details p {
    color: var(--love-muted) !important;
  }
}

@keyframes love678-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes love678-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  html.is-mobile body.home .love678-hero-copy,
  html.is-mobile body.home .love678-hero-visual #n2-ss-2 .n2-ss-slide-background.is-active img {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   Desktop navigation + download-station polish (≥769px)
   Restores horizontal nav after wp-includes CSS was removed
   ========================================================= */
@media (min-width: 769px) {
  /* Always show links; never hamburger on desktop */
  .wp-block-navigation__responsive-container-open,
  .wp-block-navigation__responsive-container-close {
    display: none !important;
  }

  .wp-block-navigation__responsive-container,
  .wp-block-navigation__responsive-container.is-menu-open,
  .wp-block-navigation__responsive-container.has-modal-open {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    inset: auto !important;
    z-index: auto !important;
  }

  .wp-block-navigation__responsive-close,
  .wp-block-navigation__responsive-dialog,
  .wp-block-navigation__responsive-container-content {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  header .wp-block-navigation,
  header .wp-block-navigation__container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  header .wp-block-navigation-item {
    list-style: none !important;
    margin: 0 !important;
  }

  header .wp-block-navigation-item::marker {
    content: none !important;
    display: none !important;
  }

  header .wp-block-navigation.is-style-reunionary-nav-pill
  .wp-block-navigation-item__content {
    display: inline-flex !important;
    align-items: center;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.92rem !important;
    font-weight: 600;
    color: var(--love-ink) !important;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
  }

  header .wp-block-navigation.is-style-reunionary-nav-pill
  .wp-block-navigation-item__content:hover {
    background: rgba(226, 24, 122, 0.1);
    color: var(--love-magenta) !important;
  }

  /* Header bar */
  body.home .wp-block-template-part > header.wp-block-group {
    background: rgba(247, 240, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(123, 44, 255, 0.12) !important;
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }

  body.home .wp-block-site-logo img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px;
  }

  body.home .wp-block-site-title {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
  }

  body.home .wp-block-site-title a,
  body.home .love678-wordmark {
    color: var(--love-violet-deep) !important;
    text-decoration: none;
    background: none !important;
    -webkit-text-fill-color: unset !important;
  }

  body.home .love678-wordmark .love678-num {
    background: linear-gradient(180deg, #ff9fd0 0%, var(--love-magenta-hot) 48%, var(--love-magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  header .wp-container-core-group-is-layout-1c6683f5 {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }

  /* Hero: download-first desktop composition */
  body.home {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    background-color: var(--love-surface) !important;
  }

  body.home h1,
  body.home h2,
  body.home h3 {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif !important;
  }

  body.home .wp-container-core-group-is-layout-b8eac409 {
    background:
      radial-gradient(70% 80% at 0% 0%, rgba(226, 24, 122, 0.12), transparent 55%),
      radial-gradient(60% 70% at 100% 10%, rgba(123, 44, 255, 0.14), transparent 50%),
      linear-gradient(180deg, #f7f0ff 0%, #efe4ff 100%) !important;
    padding-top: 1.75rem !important;
    padding-bottom: 2rem !important;
  }

  body.home .love678-hero-row {
    align-items: center !important;
    gap: 2.5rem 3rem !important;
  }

  body.home .love678-hero-copy {
    min-height: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  /* Region buttons → quiet secondary row under downloads */
  body.home .love678-hero-copy > .wp-container-core-group-is-layout-12ff322c {
    order: 4;
    margin-top: 1.25rem !important;
  }

  body.home .love678-hero-copy > .has-reunionary-gold-color {
    order: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem !important;
    color: var(--love-magenta) !important;
  }

  body.home .love678-hero-copy > h1.wp-block-heading {
    order: 2;
    font-size: clamp(2.1rem, 3.2vw, 2.85rem) !important;
    line-height: 1.12 !important;
    max-width: 14ch;
    color: var(--love-ink) !important;
    margin-top: 0.55rem !important;
  }

  body.home .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236 {
    order: 3;
    margin-top: 1.35rem !important;
    max-width: 420px;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  body.home .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236 a {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  body.home .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236 a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(123, 44, 255, 0.22);
  }

  body.home .love678-hero-copy > .wp-container-core-group-is-layout-fc18d236 img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    border-radius: 14px;
    display: block;
  }

  body.home .love678-hero-copy > .has-x-small-font-size {
    order: 5;
    margin-top: 1rem !important;
    color: var(--love-muted-dark) !important;
    max-width: 42ch;
  }

  body.home .love678-hero-copy .wp-container-core-buttons-is-layout-53b1b919 {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  body.home .love678-hero-copy .wp-block-button__link {
    min-height: 40px !important;
    padding: 0.45em 1em !important;
    font-size: 0.88rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(123, 44, 255, 0.22) !important;
    background: rgba(255, 255, 255, 0.75) !important;
    color: var(--love-ink) !important;
    transition: border-color 0.2s ease, background 0.2s ease;
  }

  body.home .love678-hero-copy .wp-block-button__link:hover {
    border-color: var(--love-magenta) !important;
    background: #fff !important;
    color: var(--love-magenta) !important;
  }

  /* Circle hero visual: slight lift */
  body.home .love678-hero-visual #n2-ss-2 {
    box-shadow: 0 24px 60px rgba(91, 29, 143, 0.28);
    animation: love678-float-in 0.8s ease both;
  }
}

@keyframes love678-float-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (min-width: 769px) and (prefers-reduced-motion: reduce) {
  body.home .love678-hero-visual #n2-ss-2 {
    animation: none !important;
  }
}

/* ---------- Fixed bottom bar (LOGIN + UNDUH) — viewport pinned ---------- */
html > .love678-floatbar,
body > .love678-floatbar,
.love678-floatbar {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  inset: auto 0 0 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  z-index: 2147483000 !important;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #f7f0ff !important;
  border-top: 1px solid rgba(123, 44, 255, 0.14);
  box-shadow: 0 -2px 10px rgba(26, 10, 46, 0.1);
  transform: none !important;
  -webkit-transform: none !important;
  filter: none !important;
  contain: none !important;
  isolation: isolate;
  pointer-events: auto;
  will-change: auto;
}

.love678-floatbar__btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 148px;
  min-height: 48px;
  padding: 12px 18px;
  font-family: var(--love678-font) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  color: #fff !important;
  border-radius: 999px;
  border: 0;
  background: var(--love-cta);
  box-shadow: 0 6px 16px rgba(226, 24, 122, 0.28);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(226, 24, 122, 0.14);
}

.love678-floatbar__btn:active {
  opacity: 0.92;
}

body {
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
  .love678-floatbar {
    gap: 10px;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .love678-floatbar__btn {
    width: min(42vw, 148px);
    min-height: 44px;
    padding: 11px 16px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .love678-floatbar {
    gap: 8px;
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom, 0px));
  }

  .love678-floatbar__btn {
    width: min(44vw, 132px);
    min-height: 42px;
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* ---------- Mobile scroll / paint performance ---------- */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto;
  }

  body {
    overscroll-behavior-y: contain;
  }

  a,
  button,
  .love678-floatbar__btn,
  .wp-block-button__link {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(226, 24, 122, 0.12);
  }

  /* Sections always laid out (no content-visibility skip) */
  html.is-mobile body.home .love678-section-after-hero,
  html.is-mobile body.home .love678-section-tight,
  html.is-mobile body.home .love678-site-footer,
  html.is-mobile body.home .wp-block-details,
  html.is-mobile body.home .love678-section-after-hero img,
  html.is-mobile body.home .love678-section-tight img,
  .love678-section-after-hero,
  .love678-section-tight,
  .wp-site-blocks > .wp-block-group:not(.wp-container-core-group-is-layout-b8eac409) {
    content-visibility: visible !important;
    contain-intrinsic-size: auto !important;
  }

  /* Lighter fixed bar — less compositing cost while scrolling */
  .love678-floatbar {
    background: #f7f0ff !important;
    box-shadow: 0 -2px 10px rgba(26, 10, 46, 0.1) !important;
  }

  .love678-floatbar__btn {
    box-shadow: none !important;
  }

  html.is-mobile body.home .love678-hero-copy > h1.wp-block-heading,
  html.is-mobile body.home .love678-wordmark {
    text-shadow: none !important;
  }

  /* Avoid hover transitions costing frame budget on touch */
  html.is-mobile body.home a,
  html.is-mobile body.home .wp-block-button__link,
  html.is-mobile body.home .wp-block-image {
    transition: none !important;
  }
}


