/* AI FLUX LIFE V38 · Dark-only accessible design layer. No light-mode option. */
:root,html[data-bs-theme],html[data-theme],body{
 color-scheme:dark;
 --afl-v38-bg:#070d1c;--afl-v38-bg2:#101b31;--afl-v38-panel:#131f36;
 --afl-v38-text:#f7faff;--afl-v38-muted:#cad8ec;--afl-v38-soft:#aebfd8;
 --afl-v38-gold:#e9c77e;--afl-v38-cyan:#92e4f0;
 --afl-v38-line:rgba(178,198,231,.28);--afl-v38-shadow:0 14px 45px rgba(0,0,0,.30);
}
html{background:#070d1c;scroll-padding-top:calc(var(--afl-v38-header,64px) + 12px)}
body{background-color:#070d1c;color:#f7faff}
/* Do not apply broad all-element overrides to media players or editors. */
:where(#header,#mHeader){background:#090f20!important;color:#f7faff!important;border-bottom:1px solid rgba(233,199,126,.35)!important;box-shadow:0 6px 26px rgba(0,0,0,.22)!important}
#header{z-index:10020!important;isolation:isolate}
#mHeader{z-index:10020!important;isolation:isolate}
#header .navbar,#mHeader .mbar{background:transparent!important}
#header .navbar-brand,#header .navbar-menu a,#mHeader .mbar__brand,#mHeader .mbar__name{color:#f7faff!important;-webkit-text-fill-color:#f7faff!important}
#header .navbar-menu a:hover,#header .navbar-menu a:focus-visible{color:#f4d394!important;-webkit-text-fill-color:#f4d394!important}
.afl-v34-language{background:#142039!important;border:1px solid rgba(233,199,126,.50)!important;border-radius:11px!important;padding:2px!important}
.afl-v34-language .afl-v34-lang-toggle,[data-afl-v38-global-language]{min-width:53px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
 color:#f9e6c2!important;-webkit-text-fill-color:#f9e6c2!important;background:rgba(23,35,56,.96)!important;border:1px solid transparent!important;
 border-radius:9px!important;font-size:13px!important;font-weight:850!important;padding:6px 11px!important;text-shadow:none!important;cursor:pointer}
.afl-v34-language .afl-v34-lang-toggle:hover,[data-afl-v38-global-language]:hover{background:#283954!important;color:white!important}
.afl-v34-auth .afl-v34-account{background:#1a304c!important;border:1px solid rgba(171,204,234,.5)!important;color:#f4f8ff!important;-webkit-text-fill-color:#f4f8ff!important;font-weight:820!important}
.afl-v34-auth .afl-v34-join{background:linear-gradient(130deg,#9b7440,#e2bd75)!important;color:#15182a!important;-webkit-text-fill-color:#15182a!important;border-color:#e6c589!important}
.afl-v34-auth .afl-v34-account:hover{filter:brightness(1.15)}
/* All old two-choice language segments are hidden; the header's sole toggle remains visible. */
.afl-campaign-v36__lang,.afl-v34-legacy-language{display:none!important}
/* Optional theme switchers from former light/dark builds are removed from public UI only. */
:where(#themeToggle,#darkModeToggle,#lightModeToggle,.theme-mode-switch,.theme-toggle,.theme-switch,.dark-mode-toggle,[data-theme-toggle],[data-color-scheme-toggle],[data-aifl-theme-switch]){display:none!important}
/* Main and mobile slides flow AFTER the header, never above it. */
.afl-campaign-v36{position:relative!important;z-index:1!important;isolation:isolate;margin-top:12px!important;clear:both!important}
.afl-campaign-v36__stage{border:1px solid rgba(233,199,126,.50)!important;box-shadow:var(--afl-v38-shadow)!important;overflow:hidden!important}
.afl-campaign-v36__link img{object-fit:contain!important;max-width:100%!important;filter:none!important;opacity:1!important}
.afl-campaign-v36__bar{background:linear-gradient(110deg,#10192b,#16223a)!important;border-color:rgba(170,190,219,.32)!important;color:#edf4ff!important}
.afl-campaign-v36__dots button,.afl-campaign-v36__pause{color:#e9f1ff!important;background:#1d304d!important;border-color:#547090!important}
.afl-campaign-v36__dots button[aria-current="true"]{background:linear-gradient(115deg,#ffe9ad,#cba66a)!important;color:#101b2e!important;border-color:#f0d298!important}
/* Public service sections, not media/player controls. */
:where(#services,#pricing,#why,.m-platform-signature,.m-services-fantasy,.m-visit-v70){color:var(--afl-v38-text)}
:where(#services,#pricing,#why,.m-platform-signature,.m-services-fantasy,.m-visit-v70) :where(p,small,.m-desc,.m-platform-copy,.service-description){color:var(--afl-v38-muted);opacity:1}
:where(.service-card,.why-card,.pricing-card,.m-visit-channel,.swipe-fantasy .card){border-color:rgba(153,181,218,.30)!important;box-shadow:0 12px 36px rgba(0,0,0,.20)}
:where(.service-card,.why-card,.pricing-card,.m-visit-channel,.swipe-fantasy .card) :where(p,small,.service-description,.card-desc){color:#d8e3f5!important;opacity:1!important}
:where(#services,#pricing,#why,.m-services-fantasy) :where(h1,h2,h3,.section-title,.m-title){color:#fff!important;opacity:1!important}
:where(#services,#pricing,#why) a:focus-visible,.afl-campaign-v36 :focus-visible,.afl-v34-language :focus-visible{outline:3px solid #f5d48e!important;outline-offset:3px!important}
/* Keep global patch conservative for service internals. Explicit global tokens for opt-in components. */
.aifl-v38-panel{background:linear-gradient(145deg,#172740,#10192e);color:#f7faff;border:1px solid var(--afl-v38-line);box-shadow:var(--afl-v38-shadow)}
.aifl-v38-panel p{color:var(--afl-v38-muted)}
.aifl-v38-gold-action{background:linear-gradient(115deg,#ffe3a3,#d1a463);color:#131f32;min-height:44px;font-weight:850}
/* Mobile single-row header, dynamic spacer set by JS ResizeObserver. */
@media(max-width:900px){
 :root{--afl-v38-header:60px;--mhH:60px;--headerH:60px}
 #mHeader{height:var(--afl-v38-header)!important;min-height:0!important;max-height:none!important;position:fixed!important;left:0!important;right:0!important;top:0!important;width:100%!important;padding:0!important}
 #mHeader .mbar{height:var(--afl-v38-header)!important;min-height:0!important;max-height:none!important;width:100%!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:5px!important;padding:0 9px!important}
 #mHeader .mbar__brand{flex:0 1 auto!important;min-width:0!important;max-width:37%!important}
 #mHeader .mbar__name{font-size:clamp(10.5px,3vw,15px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 #mHeader .afl-v34-mobile-actions{flex:1 1 auto!important;min-width:0!important;display:flex!important;justify-content:flex-end!important;gap:4px!important;white-space:nowrap!important}
 #mHeader .afl-v34-account{font-size:11px!important;min-height:37px!important;padding:0 5px!important}
 #mHeader .afl-v34-language{flex:0 0 auto!important;padding:1px!important}
 #mHeader .afl-v34-lang-toggle{min-width:46px!important;min-height:36px!important;padding:5px 7px!important;font-size:11px!important}
 #mHeader #mNavBtn{flex:0 0 36px!important;height:38px!important;width:36px!important;min-width:36px!important;margin:0!important}
 body:has(#mHeader){padding-top:var(--afl-v38-header)!important}
 body.bty-has-fixed-header{padding-top:var(--afl-v38-header)!important}
 .m-wrap{margin-top:0!important;padding-top:0!important;transform:none!important;position:relative!important;z-index:0!important}
 .m-wrap>.m-container{padding-top:0!important}
 .m-wrap .afl-campaign-v36{margin-top:8px!important;padding:0 6px!important}
 .m-wrap .afl-campaign-v36__stage{aspect-ratio:941/1672!important;border-radius:14px!important}
 .m-wrap .afl-campaign-v36__bar{margin-top:6px!important;min-height:49px!important;padding:6px 4px!important}
 .m-wrap .afl-campaign-v36__dots{gap:2px!important;min-width:0!important}
 .m-wrap .afl-campaign-v36__dots button{font-size:10px!important;min-width:0!important;min-height:35px!important;padding:3px 1px!important}
 .m-wrap .afl-campaign-v36__pause{min-height:37px!important;min-width:35px!important}
 .m-wrap .m-platform-copy,.m-wrap .m-desc,.m-wrap .card-desc{font-size:clamp(13.5px,3.6vw,16px)!important;line-height:1.64!important;opacity:1!important}
 .m-wrap .m-platform-services>span{font-size:clamp(11px,3vw,13px)!important;min-height:80px!important}
 .m-wrap :where(.m-title,.m-platform-title){line-height:1.25!important;overflow-wrap:anywhere}
 .m-wrap section{scroll-margin-top:calc(var(--afl-v38-header) + 15px)!important}
}
@media(max-width:360px){
 #mHeader .mbar{padding:0 6px!important;gap:3px!important}
 #mHeader .mbar__brand{max-width:32%!important}
 #mHeader .mbar__name{font-size:10px!important}
 #mHeader .afl-v34-account{font-size:10px!important;padding:0 4px!important;min-width:0!important}
 #mHeader .afl-v34-lang-toggle{min-width:42px!important;font-size:10.5px!important;padding:0 5px!important}
 #mHeader #mNavBtn{width:33px!important;min-width:33px!important;flex-basis:33px!important}
}
@media(prefers-reduced-motion:reduce){.afl-campaign-v36__slide{transition:none!important}}


/* ===============================================
 AI FLUX LIFE V41: Fixed dark scheme; targeted production CTA/desktop/mobile/locale repairs.
 This file MUST load last, after older inline theme and V70 CSS.
=============================================== */
:root,html,html[data-aifl-theme],html[data-aifl-theme="noir"],html[data-mobile-theme],html[data-bs-theme],html[data-theme],body{
 color-scheme:dark!important;--afl-v41-text:#f7f9ff;--afl-v41-muted:#d5dfed;--afl-v41-background:#080d19;
}
html,html[data-theme="light"],html[data-bs-theme="light"],html.light,html[data-aifl-theme] body,body{
 background-color:#080d19!important;color:#f7f9ff!important;
}
:where(.light-mode,.light-theme,.theme-light):not(html):not(body){color-scheme:dark}
:where(#themeToggle,#darkModeToggle,#lightModeToggle,.theme-mode-switch,.theme-toggle,.theme-switch,.dark-mode-toggle,.light-mode-toggle,[data-theme-toggle],[data-color-scheme-toggle],[data-aifl-theme-switch]){
 display:none!important;visibility:hidden!important;
}
/* Scoped header language buttons: hidden duplicates have no keyboard/focus footprint. */
:where(#header,#mHeader) :where(.afl-v34-legacy-language,[data-afl-v41-duplicate]){display:none!important;visibility:hidden!important}
:where(#header,#mHeader) .afl-v34-language{color-scheme:dark!important}
/* Original live membership status: data-member="paid" (NOT 'membership-active'). */
html body .aifl-preview-upgrade,
html body #previews .aifl-preview-upgrade,
html body .aifl-preview-upgrade[data-member="paid"],
html body .aifl-preview-upgrade.is-member{
 box-sizing:border-box!important;
 width:min(calc(100% - 52px),1360px)!important;max-width:1360px!important;
 margin:22px auto 24px!important;padding:23px clamp(22px,2.5vw,38px)!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:clamp(18px,3vw,46px)!important;
 border:1px solid rgba(163,189,228,.42)!important;border-radius:22px!important;
 background:linear-gradient(110deg,#1a263a 0%,#141e30 55%,#14263a 100%)!important;
 box-shadow:0 15px 38px rgba(0,0,0,.27)!important;color:#f5f8ff!important;
}
html body .aifl-preview-upgrade .aifl-preview-upgrade-copy{
 min-width:0!important;max-width:880px!important;flex:1 1 auto!important;
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
 padding:0!important;gap:5px!important;text-align:left!important;
}
html body .aifl-preview-upgrade .aifl-preview-upgrade-kicker{
 margin:0 0 3px!important;font-size:12px!important;font-weight:900!important;letter-spacing:.09em!important;
 line-height:1.35!important;color:#cbdafa!important;-webkit-text-fill-color:#cbdafa!important;text-shadow:none!important;
}
html body .aifl-preview-upgrade .aifl-preview-upgrade-copy > strong,
html body .aifl-preview-upgrade strong:not(a strong){
 margin:0!important;max-width:100%!important;line-height:1.4!important;
 font-size:clamp(17px,1.12vw,21px)!important;font-weight:850!important;
 color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;text-shadow:none!important;
}
html body .aifl-preview-upgrade .aifl-preview-upgrade-copy > p,
html body .aifl-preview-upgrade p{
 margin:2px 0 0!important;color:#d8e4f3!important;-webkit-text-fill-color:#d8e4f3!important;
 font-size:clamp(13px,.92vw,16px)!important;font-weight:540!important;
 line-height:1.65!important;opacity:1!important;text-shadow:none!important;
}
/* All bright mint buttons in the member CTA must have DARK text, including nested spans. */
html body .aifl-preview-upgrade a,
html body .aifl-preview-upgrade[data-member="paid"] a,
html body #previews .aifl-preview-upgrade a{
 box-sizing:border-box!important;flex:0 0 auto!important;min-width:178px!important;min-height:48px!important;
 padding:12px 19px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 background:linear-gradient(115deg,#c5ffe7,#86edc8)!important;
 border:1px solid #a9f2d3!important;border-radius:13px!important;
 color:#102b32!important;-webkit-text-fill-color:#102b32!important;
 font-size:14px!important;font-weight:900!important;line-height:1.4!important;
 text-align:center!important;text-decoration:none!important;text-shadow:none!important;opacity:1!important;
 white-space:normal!important;box-shadow:0 8px 24px rgba(110,239,194,.12)!important;
}
html body .aifl-preview-upgrade a :is(span,strong,small,b,i){color:#102b32!important;-webkit-text-fill-color:#102b32!important;opacity:1!important;text-shadow:none!important}
html body .aifl-preview-upgrade a:hover{background:linear-gradient(115deg,#d7fff0,#9cf5d5)!important;filter:none!important}
html body .aifl-preview-upgrade a:focus-visible{outline:3px solid #f4d58a!important;outline-offset:3px!important}
/* Desktop: keep a noticeable inset even when card is inside an edge-to-edge preview module. */
@media(min-width:901px){
 #previews :is(.aifl-preview-upgrade,.m-preview-slot > .aifl-preview-upgrade){width:min(calc(100% - 64px),1360px)!important}
}
/* Mobile: large accessible label and CTA, never cause sideways overflow. */
@media(max-width:900px){
 html body .aifl-preview-upgrade,
 html body #previews .aifl-preview-upgrade{
  width:calc(100% - 24px)!important;margin:15px auto 20px!important;padding:18px 17px!important;
  flex-direction:column!important;align-items:stretch!important;gap:13px!important;border-radius:17px!important;
 }
 html body .aifl-preview-upgrade .aifl-preview-upgrade-copy{width:100%!important;max-width:none!important;gap:6px!important}
 html body .aifl-preview-upgrade .aifl-preview-upgrade-kicker{font-size:11px!important}
 html body .aifl-preview-upgrade .aifl-preview-upgrade-copy > strong{font-size:clamp(16px,4.4vw,20px)!important;line-height:1.4!important}
 html body .aifl-preview-upgrade .aifl-preview-upgrade-copy > p{font-size:clamp(13.5px,3.5vw,15px)!important;line-height:1.62!important}
 html body .aifl-preview-upgrade a,
 html body #previews .aifl-preview-upgrade a{width:100%!important;max-width:none!important;min-width:0!important;min-height:48px!important;font-size:14px!important;align-self:stretch!important}
 #mHeader{background:#090f20!important;border-bottom:1px solid rgba(233,199,126,.33)!important}
 #mHeader .mbar{min-width:0!important}
 #mHeader .mbar__brand,#mHeader .afl-v34-mobile-actions{min-width:0!important}
 .m-wrap,.m-page,body{overflow-x:clip}
}
@media(max-width:350px){
 html body .aifl-preview-upgrade,html body #previews .aifl-preview-upgrade{width:calc(100% - 16px)!important;padding:15px 13px!important}
}
