/* GAINVO Storefront v0.10.60 — startup/theme/first-frame stability */
:root{--gainvo-light-canvas:#f6f8fb;--gainvo-dark-canvas:#08111a}
html[data-theme="light"],html[data-theme="light"] body{background:var(--gainvo-light-canvas)!important}
html[data-theme="dark"],html[data-theme="dark"] body{background:var(--gainvo-dark-canvas)!important}

/* Keep the real application fully laid out but not paintable until the first stable frame. */
html.gainvo-booting #gainvoAppShell{visibility:hidden!important;pointer-events:none!important}
html.gainvo-app-ready #gainvoAppShell{visibility:visible!important;pointer-events:auto}

/* Initial reveal must not replay card/page transitions that look like shaking. */
html.gainvo-first-frame #gainvoAppShell,
html.gainvo-first-frame #gainvoAppShell *,
html.gainvo-first-frame #gainvoAppShell *::before,
html.gainvo-first-frame #gainvoAppShell *::after{
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
}

/* The launch layer owns the entire first paint. Nothing underneath may bleed through. */
#gainvoLaunch{contain:strict;background:#082f63!important}
#gainvoLaunch.gainvo-launch-ready{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

/* Prevent transient theme-dependent geometry changes. Theme changes may alter colour only. */
html[data-theme] #gainvoAppShell,
html[data-theme] .app-shell,
html[data-theme] .main,
html[data-theme] .screen{color-scheme:inherit}

@media(prefers-reduced-motion:reduce){#gainvoLaunch{transition:none!important}}
