/* GALAXIA THRESHOLD · unified 2026-11-04 sunset / black theme.
   This file is loaded AFTER legacy inline styles, to avoid returning dots, brown panels and yellow accents. */
:root{
 --black:#050608!important;--dark:#08090b!important;--card:#090a0d!important;
 --orange:#D6492B!important;--orange2:#E75934!important;
 --gt-gold:#E75934!important;--gt-accent:#D6492B!important;--gt-bg:#050608!important;
 --gt-panel:#090a0d!important;--gt-night:#050608!important;--gt-line:rgba(255,255,255,.10)!important;
}
html,body,body>.topbar,.topbar,body #merged-app,
body #merged-app .page,body #merged-app .app-page,
body #merged-app #home,body #merged-app #engine,body #merged-app #fuel,
body #merged-app #wallet,body #merged-app #profile,
body #appBottom,body #merged-app #appBottom{
 background:#050608!important;background-color:#050608!important;background-image:none!important;
}
/* Public page: no old amber, no yellow lettering. */
body .gt-reference-landing,body .gt-reference-mobile{
 background:#050608!important;background-image:radial-gradient(ellipse 60% 20% at 50% 13%,rgba(154,43,25,.12),transparent 85%)!important;
}
body .gt-reference-mobile h1 span{
 color:#D6492B!important;-webkit-text-fill-color:#D6492B!important;
 text-shadow:0 0 25px rgba(214,73,43,.18)!important;
}
body .gt-reference-mobile .gt-brand-words i,
body .gt-reference-mobile .gt-features>div,
body .gt-reference-mobile .gt-features>div>i,
body .gt-reference-mobile .gt-features svg,
body .gt-reference-mobile .gt-features .feature-icon{
 color:#D6492B!important;fill:currentColor!important;
}
body .gt-reference-mobile .gt-landing-actions button,
body .gt-reference-mobile .gt-landing-actions button:not(.gt-watch){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:12px!important;width:auto!important;min-width:190px!important;
 padding:15px 29px!important;border-radius:16px!important;
 background:linear-gradient(120deg,#B93622 0%,#DA4A2B 58%,#E95A31 100%)!important;
 border:1px solid rgba(240,115,73,.75)!important;color:#fff!important;
 font-size:15px!important;font-weight:800!important;line-height:1.3!important;
 letter-spacing:.01em!important;text-transform:none!important;
 box-shadow:0 7px 18px rgba(183,54,31,.17)!important;
 text-shadow:none!important;transform:none!important;animation:none!important;
}
body .gt-reference-mobile .gt-landing-actions button span{font-weight:650!important;color:#fff!important}
body .gt-reference-mobile .gt-landing-actions button:focus-visible{outline:2px solid #ED6945!important;outline-offset:4px!important}
body .gt-reference-mobile .gt-features b{color:#EFF1F5!important}
body .gt-reference-mobile .gt-features small{color:#AEB5BF!important}
body .gt-reference-mobile .gt-landing-player{background:#050608!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 12px 36px #0007!important}
body .gt-mobile-brand img{mix-blend-mode:normal!important;background:transparent!important}

/* Words: a real box width is essential because its children are absolutely positioned.
   Default first word remains accessible if JS is unavailable; canvas owns the effect when ready. */
body .gt-reference-mobile .gt-motion-line{
 width:245px!important;max-width:min(80vw,300px)!important;
 min-width:190px!important;height:48px!important;min-height:48px!important;
 display:block!important;flex:0 0 48px!important;align-self:center!important;
 position:relative!important;overflow:visible!important;
 margin:3px auto 19px!important;text-align:center!important;
 font-size:25px!important;line-height:48px!important;font-weight:850!important;
 color:#D6492B!important;-webkit-text-fill-color:#D6492B!important;
}
body .gt-reference-mobile .gt-motion-line span{
 animation:none!important;filter:none!important;transform:none!important;
 position:absolute!important;inset:0!important;text-align:center!important;
 visibility:hidden!important;opacity:0!important;
}
body .gt-reference-mobile .gt-motion-line:not([data-gx-ready="1"]) span:first-child{
 visibility:visible!important;opacity:1!important;
}
body .gt-reference-mobile .gt-motion-line[data-gx-ready="1"] span{
 visibility:hidden!important;opacity:0!important;
}
body #gxWordCanvas{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:4!important;pointer-events:none!important}

/* Consistent card-free, dotted-pattern-free private app. */
body #merged-app,body #merged-app .page,body #merged-app .app-page{color:#EFF1F5!important;box-shadow:none!important;}
body #merged-app .app-page::before,body #merged-app .app-page::after,
body #merged-app .page::before,body #merged-app .page::after,
body #merged-app .hero::before,body #merged-app .hero::after,
body #merged-app .intro::before,body #merged-app .intro::after,
body #merged-app .card::before,body #merged-app .card::after,
body #merged-app .campaign-card::before,body #merged-app .campaign-card::after,
body #merged-app .engine-intro::before,body #merged-app .engine-intro::after{
 content:none!important;display:none!important;background:none!important;box-shadow:none!important;
}
body #merged-app .hero,body #merged-app .intro,
body #merged-app #home .hero,body #merged-app #engine .intro.engine-intro,
body #merged-app #engine .card.course,body #merged-app #home .card,
body #merged-app .card,body #merged-app .campaign-card,
body #merged-app .campaign-card .card,body #merged-app .fuel-simple,
body #merged-app .learning-list>div,body #merged-app .profile-list button,
body #merged-app .history,body #merged-app .stats,body #merged-app .stat,
body #merged-app .fuel-flow,body #merged-app .gt-manual-card,
body #merged-app .hero-copy,body #merged-app .hero-media{
 background:none!important;background-image:none!important;background-color:transparent!important;
 box-shadow:none!important;border:0!important;outline:0!important;
}
/* Do not use nested brown cards. Use whitespace and thin separators instead. */
body #merged-app #engine .intro.engine-intro,
body #merged-app #engine .card.course{padding:24px 7px!important;margin:0 auto 20px!important}
body #merged-app #engine .card.course{border-top:1px solid rgba(255,255,255,.10)!important;border-radius:0!important;}
body #merged-app #engine .learning-list>div{
 background:#090a0d!important;border:0!important;border-radius:11px!important;
 padding:13px 15px!important;box-shadow:none!important;
}
body #merged-app #fuel .campaign-card{padding:4px 0 23px!important;border-bottom:1px solid rgba(255,255,255,.13)!important;border-radius:0!important;margin:0 0 14px!important}
body #merged-app #fuel .campaign-card>.card{padding:12px 6px!important;background:none!important;border:0!important;box-shadow:none!important}
body #merged-app #home .hero{padding:26px 14px!important;}
body #merged-app .hero-media .video,body #merged-app #engine .video,
body #merged-app #home .video,body #merged-app .gt-video-slot,
body #merged-app .gt-video-slot video{
 background:#020304!important;background-image:none!important;
 border-color:rgba(255,255,255,.14)!important;box-shadow:none!important;
}
body #merged-app .hero h1,body #merged-app .intro h2,
body #merged-app h1,body #merged-app h2,body #merged-app h3{
 color:#F3F4F5!important;text-shadow:none!important;
}
body #merged-app p,body #merged-app small,
body #merged-app .price-note,body #merged-app .muted{
 color:#BCC3CD!important;
}
body #merged-app .kicker,body #merged-app .amount small,
body #merged-app .learning-list span,body #merged-app .fuel-flow .flow-sep,
body #merged-app #fuel .fuel-subtitle,
body #merged-app #fuel .fuel-simple>h2,
body #merged-app #fuel .fuel-simple>.fuel-subtitle,
body #merged-app #engine .intro.engine-intro .kicker,
body #merged-app #home .hero .kicker,
body #merged-app #wallet .kicker,
body #merged-app #profile .kicker,
body #merged-app .small-action-icon{
 color:#D6492B!important;-webkit-text-fill-color:#D6492B!important;
}
/* Site-wide sunset buttons and real readable labels. */
body #merged-app button.primary,body #merged-app .primary,
body #merged-app .purchase-btn,body #merged-app .purchase-button,
body #merged-app .join-campaign,
body #merged-app #fuel .join-campaign,
body #merged-app #fuel .fuel-action-orange,
body #merged-app .cta,body #merged-app .fuel-actions button,
body #merged-app #gxPayButton{
 background:#D6492B!important;background-image:linear-gradient(120deg,#B93622 0%,#D6492B 56%,#EA5C33 100%)!important;
 border:1px solid #ED6A44!important;box-shadow:0 6px 19px rgba(184,54,30,.20)!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;
 text-shadow:none!important;border-radius:14px!important;
 animation:none!important;transform:none!important;
}
/* Orbit's secondary controls stay dark, not orange. */
body #merged-app #fuel .fuel-actions button:not(.join-campaign){
 background:#111216!important;background-image:none!important;
 border:1px solid rgba(255,255,255,.17)!important;
 box-shadow:none!important;color:#EFF1F5!important;-webkit-text-fill-color:#EFF1F5!important;
}
body #merged-app #fuel .fuel-actions button .small-action-icon{color:#D6492B!important;-webkit-text-fill-color:#D6492B!important}
body #merged-app .gx-plan{
 display:block!important;width:100%!important;text-align:left!important;
 padding:14px 16px!important;background:#101114!important;background-image:none!important;
 border:1px solid rgba(255,255,255,.17)!important;border-radius:12px!important;
 box-shadow:none!important;color:#EDEFF3!important;-webkit-text-fill-color:#EDEFF3!important;
 font-size:15px!important;line-height:1.5!important;font-weight:650!important;animation:none!important;
}
body #merged-app .gx-plan.selected{border-color:#D6492B!important;background:#211111!important;box-shadow:inset 3px 0 0 #D6492B!important}
body #merged-app #appBottom,body #appBottom{
 background:#050608!important;border-top:1px solid rgba(255,255,255,.10)!important;
 box-shadow:none!important;
}
body #merged-app #appBottom button.active,
body #appBottom button.active{background:#23100D!important;color:#E85C36!important}
body #appBottom .nav-home .home-body,
body #appBottom .nav-home .home-roof{
 background:linear-gradient(135deg,#F16F43,#D6492B 68%,#A92A1C)!important;
 filter:drop-shadow(0 0 5px rgba(218,73,43,.23))!important;
}
body #appBottom .nav-orbit .orbit-core{background:#D6492B!important;box-shadow:0 0 7px #D6492B60!important}
body #appBottom .nav-orbit .orbit-ring{border-color:#D6492B80!important;border-right-color:transparent!important}
body #appBottom .nav-wallet .wallet-body{background:linear-gradient(135deg,#EF6840,#C63B23)!important}
body #appBottom .nav-wallet .wallet-flap{background:#E65B36!important}
body #appBottom .nav-wallet .wallet-coin{background:radial-gradient(circle at 35% 30%,#F58A60,#D6492B 65%,#97281B)!important;border-color:#F17752!important}
body #appBottom .nav-cosmos .star{background:#E65B36!important;box-shadow:0 0 6px rgba(214,73,43,.65)!important}
body #appBottom .gt-profile-nav-icon{color:#E65B36!important}
/* Special code: show only after server verification; hidden attr must win over display:block. */
body #merged-app [hidden],body #merged-app #gxSpecialPlanArea[hidden],
body #merged-app #gxDepositPlan[hidden],body #merged-app #gxDueBox[hidden]{display:none!important}
body #merged-app .gx-checkout{max-width:680px;margin:0 auto;padding:8px 0 0!important}
body #merged-app .gx-checkout-grid{display:grid;gap:10px;margin:11px 0 15px!important}
body #merged-app .gx-coupon-area{margin:18px 0 14px}
body #merged-app .gx-checkout-label{color:#E1E3E8!important;font-size:14px!important;margin:0 0 8px!important;}
body #merged-app .gx-coupon-controls{display:flex;gap:8px;align-items:stretch}
body #merged-app #gxWebinarCoupon{flex:1;min-width:0;width:100%;height:48px!important;
 border-radius:12px!important;background:#0A0B0E!important;color:#fff!important;
 border:1px solid rgba(255,255,255,.20)!important;box-shadow:none!important;font-size:15px!important}
body #merged-app #gxApplyCoupon{
 flex:none;min-width:104px;padding:0 14px!important;border:1px solid #D6492B!important;
 border-radius:12px!important;background:#21100F!important;color:#F28C6E!important;
 box-shadow:none!important;font-size:13px!important;font-weight:850!important;cursor:pointer!important;
}
body #merged-app #gxApplyCoupon:disabled{opacity:.6;cursor:wait!important}
body #merged-app .gx-offer-title{font-size:16px!important;font-weight:850!important;color:#E75934!important;margin:10px 0!important}
body #merged-app .gx-coupon-result{font-size:13px!important;min-height:1em!important;margin:5px 0!important;color:#BFC5CD!important}
body #merged-app .gx-coupon-result.is-valid{color:#83D8A0!important}
body #merged-app .gx-coupon-result.is-error{color:#F59984!important}
body #merged-app .gx-plan-explain{color:#BFC5CD!important;font-size:13px!important}
body #merged-app #gxCourseNote,body #merged-app #gxDueBox{color:#BFC5CD!important;font-size:13px!important;line-height:1.55!important}
body #merged-app #gxPayButton{width:100%!important;margin:13px 0 0!important;padding:15px 14px!important;font-size:14px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:.01em!important}
body #merged-app #gxPayButton:disabled{filter:grayscale(.4)!important;opacity:.62!important;cursor:not-allowed!important}
/* Footer only public and signed-in Home, not on Cosmos/Orbit/Wallet/Profile. */
body[data-gt-page]:not([data-gt-page="public"]):not([data-gt-page="home"]) #gtSiteFooter{display:none!important}
@media(max-width:520px){
 body #merged-app #engine .intro.engine-intro,body #merged-app #engine .card.course{padding:19px 7px!important}
 body .gt-reference-mobile .gt-landing-actions button{min-width:177px!important;padding:14px 23px!important}
 body #merged-app .gx-coupon-controls{gap:7px}
 body #merged-app #gxApplyCoupon{min-width:96px;padding:0 9px!important;font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){
 body .gt-mobile-brand img{opacity:1!important}
 body .gt-reference-mobile .gt-motion-line span:first-child{visibility:visible!important;opacity:1!important}
 body #gxWordCanvas{display:none!important}
}
/* Precise legacy specificity fixes validated against the mobile screenshot. */
body #merged-app #home.app-page .hero,
body #merged-app #home.app-page .hero::before,
body #merged-app #home.app-page .hero::after{
 background:none!important;background-image:none!important;
 background-color:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;
}
body #merged-app #home.app-page .hero::before,
body #merged-app #home.app-page .hero::after{content:none!important;display:none!important}
body #merged-app #engine .course h1,
body #merged-app #engine .card.course h1{
 padding:0!important;margin:12px 0 20px!important;
 background:none!important;background-image:none!important;background-color:transparent!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 color:#F4F5F6!important;
}
body #merged-app #engine .learning-list div,
body #merged-app #engine .learning-list>div{
 background:transparent!important;background-image:none!important;border:0!important;
 border-radius:0!important;box-shadow:none!important;padding:11px 4px!important;
}
body #merged-app #engine .learning-list span{
 color:#D6492B!important;background:#17100E!important;
 border:1px solid rgba(214,73,43,.24)!important;
}
body #gtSiteFooter .gt-footer-tagline,
body .gt-site-footer .gt-footer-tagline,
body .galaxia-slogan,
body #gtSiteFooter .gt-footer-links a:hover,
body #gtSiteFooter .gt-footer-links a:focus-visible{
 color:#D6492B!important;-webkit-text-fill-color:#D6492B!important;
}
