/* XALO V77 - unified warm-black / champagne typography and shared site chrome.
   Scoped: editing canvases, browser games, color grading and media surfaces stay intact. */
:root{--x77-background:#0c0e12;--x77-surface:#17191e;--x77-surface2:#202126;--x77-ink:#f2ede7;--x77-gold:#d7b895;--x77-muted:#bcb4a9;--x77-border:#635446}
html{scroll-padding-top:88px}
body.x75-public{background-color:var(--x77-background)!important;color:var(--x77-ink);accent-color:var(--x77-gold)}
body.x75-public :is(.page-hero,.page-header,.intro-hero,.section-dark,.x69-deepdive,.x67-section,.x68-shell,.x69-hub){border-color:var(--x77-border)!important}
body.x75-public :is(.page-hero,.x69-deepdive,.x67-section,.x68-shell,.x69-hub){background-image:none!important;box-shadow:none!important}
body.x75-public :is(.page-hero h1,.page-hero h2,.section h2,.x67-section h2,.x68-shell h2,.x69-deepdive h2){text-wrap:balance;overflow-wrap:break-word}
body.x75-public :is(.page-hero p,.section p,.x67-section p,.x68-shell p,.x69-deepdive p){overflow-wrap:break-word}
body.x75-public main :is(.x67-card,.x68-card,.x69-card,.x68-tile,.x69-tile,.x67-tile,.xalo-guide-card,.feature-card,.editorial-card,.service-card,.product-card,.news-card,.guide-card,.quick-contact-shell){box-shadow:none!important;border-color:var(--x77-border)!important}
body.x75-public :is(.x67-card,.x68-card,.x69-card,.x68-tile,.x69-tile,.x67-tile,.feature-card,.editorial-card,.service-card,.product-card,.news-card,.guide-card){background-color:var(--x77-surface)!important;background-image:none!important}
body.x75-public .x68-shell :is(a,button):focus-visible,
body.x75-public .x69-deepdive :is(a,button):focus-visible{outline:2px solid var(--x77-gold);outline-offset:3px}
body.x75-public :is(.ambient,.ambient-layer,.old-identity-aura,.background-grid,.purple-glow,.neon-halo,.glow-ring,.global-glow){pointer-events:none;filter:grayscale(1)!important;opacity:.06!important}
/* Pages that retain an old custom masthead: preserve anchors and functionality, only unify paint. */
body.x75-public :is(.site-header,.topbar,.masthead){border-color:var(--x77-border)!important;box-shadow:none!important}
body.x75-public :is(.site-header,.topbar){background:var(--x77-background)!important}
/* The shared navigation wins; old masthead is kept in the DOM for scripts, but not double-rendered. */
body:has(#xalo-global-header) .xalo-universal-language{display:none!important}
#xalo-global-header .xg-shell{background:#16171bf7!important;border:1px solid var(--x77-border)!important;box-shadow:0 7px 23px #0008!important}
#xalo-global-header .xg-action,#xalo-global-header a{--accent:var(--x77-gold)}
#xalo-global-header .xg-action:focus-visible,#xalo-global-header a:focus-visible{outline:2px solid var(--x77-gold)!important;outline-offset:3px}
/* Footer must remain visible, including links/quick navigation on the private service pages. */
body .xalo-global-footer,body .footer-hub{border-color:var(--x77-border)!important;box-shadow:none!important}
body .xalo-global-footer{background:#0e1014!important}
body.x75-public .footer-hub{background:transparent!important}
body .xalo-global-footer :is(a,h4){transition:color .2s ease}
body .xalo-global-footer a:hover{color:var(--x77-gold)!important}
/* Workspace tools: unify outer shell and nav only; never override filters, editor controls or game scene. */
body.x75-workspace{background-color:#0d0f13}
body.x75-workspace :is(.topbar,header.topbar){background:#14161b!important;border-bottom:1px solid var(--x77-border)!important}
body.x75-workspace .xalo-global-footer{background:#0d0f13!important}
/* Inline historic CSS on cards, separators and editorial chrome should not cause neon spills. */
body.x75-public :is(.x69-deepdive,.x67-section,.x68-shell)[style*="background:linear-gradient"]{background:#16181d!important}
body.x75-public :is(.x69-deepdive,.x67-section,.x68-shell)[style*="border:1px"]{border-color:var(--x77-border)!important}
@media(max-width:900px){body.x75-public main :is(.page-hero,.x67-section,.x68-shell,.x69-deepdive){max-width:100%;min-width:0}body.x75-public :is(.x69-deepdive,.x67-section,.x68-shell){overflow-wrap:anywhere}}
@media(max-width:600px){html{scroll-padding-top:76px}body.x75-public :is(.page-hero,.x69-deepdive,.x67-section,.x68-shell){padding-inline:clamp(14px,4vw,22px)}}
@media(prefers-reduced-motion:reduce){body.x75-public :is(.ambient,.ambient-layer,.global-glow){animation:none!important}}

/* V77: preserve XALO top shortcuts and shared footer; eliminate obsolete duplicate private mastheads. */
body.x75-public:has(#xalo-global-header) > header.site-header:not(#xalo-global-header),
body.x75-public:has(#xalo-global-header) main > header.site-header:not(#xalo-global-header){display:none!important}
body.x75-public:has(footer.xalo-global-footer) > footer.footer:not(.xalo-global-footer){display:none!important}
body.x75-public{--accent:#d7b895;--accent2:#e8ceb0;--gold:#d7b895;--cyan:#d7b895;--purple:#bca38b}
body.x75-public :is(.x67-section,.x68-shell,.x69-deepdive) a:not(.btn){text-underline-offset:3px}
body.x75-public :is(.x67-section,.x68-shell,.x69-deepdive) a:not(.btn):hover{color:#f1d5b4}
/* Keep all navigation targets reachable with sticky masthead. */
body.x75-public :is(section[id],article[id]){scroll-margin-top:95px}
/* Printed agreement: list numerals separated from sentences in RTL and LTR, legible legal copy. */
@media print{
  .print-copy[dir="rtl"] ol{list-style-position:outside!important;padding-inline-start:2.1em!important;margin-inline-start:0!important}
  .print-copy[dir="rtl"] li{padding-inline-start:.7em!important;text-align:right!important;unicode-bidi:plaintext}
  .print-copy .print-grid strong{overflow-wrap:anywhere;word-break:normal}
  .print-copy .print-header h1{font-size:19pt!important;line-height:1.25!important}
}

#x77-private-privacy-summary{margin-top:30px;margin-bottom:10px;max-width:1020px;padding:22px 25px;border:1px solid #6e5c47;background:#17191e}
#x77-private-privacy-summary h2{font:400 clamp(22px,3vw,30px)/1.25 Georgia,serif;color:#e4c6a3;margin:0 0 10px}
#x77-private-privacy-summary p{color:#e0d5c9;line-height:1.7;margin:0}
/* Consistent editorial typography on public pages; distinct application workspaces remain untouched. */
body.x75-public main :is(.page-hero h1,.hero h1,.x69-heading h2,.x68-heading h2,.editorial-heading h2,.section-heading h2){font-family:Georgia,"Times New Roman",serif!important;font-weight:400;letter-spacing:-.028em;line-height:1.13}
body.x75-public main :is(.page-hero .eyebrow,.x67-kicker,.x69-kicker,.x68-kicker,.section-kicker){color:var(--x77-gold)!important}
body.x75-public main :is(.hero,.page-hero,.x69-deepdive){overflow-wrap:break-word}
body.x75-public main :is(.page-hero,.x67-section,.x68-shell,.x69-deepdive) :is(.btn,.button,.cta-button){border-radius:4px;box-shadow:none!important}
body.x75-public main :is(.page-hero,.x67-section,.x68-shell,.x69-deepdive) :is(.btn,.button,.cta-button):hover{transform:none}
body.x75-public .x69-deepdive{background-color:#12151a!important}
body.x75-public .x68-shell{color:var(--x77-ink)}
@media(max-width:600px){body.x75-public main :is(.page-hero h1,.hero h1){font-size:clamp(35px,9vw,62px);line-height:1.12}}
/* Unified frame around interactive tool/game pages; the actual work areas retain their functional colors. */
body.x75-workspace :is(.x42-crumb,.x42-hero,.x42-foot,.v57-guide,.x67-guide,.x594-related,.x69-tool,.v39-portal-header,.v39-footer,.xff-header,.xff-footer){border-color:var(--x77-border)!important;box-shadow:none!important}
body.x75-workspace :is(.x42-crumb,.v57-guide,.x67-guide,.x594-related,.x69-tool){background-color:#15171c!important;background-image:none!important}
body.x75-workspace :is(.x42-hero h1,.xff-hero h1,.v39-hero h1){color:#f2ede7;overflow-wrap:break-word}
body.x75-workspace :is(.x42-hero .x42-kicker,.x42-crumb,.v57-guide h2,.x67-guide .x67-kicker,.x69-tool .x69-kicker){color:#dcc09c!important}
body.x75-workspace :is(.x42-hero,.x42-crumb,.x42-foot,.xff-header,.v39-portal-header){background-image:none!important}
body.x75-workspace :is(.x42-hero a,.x42-crumb a,.x42-foot a,.xff-header a,.v39-portal-header a){text-underline-offset:3px}
body.x75-workspace :is(.x42-hero a,.x42-crumb a,.x42-foot a,.xff-header a,.v39-portal-header a):focus-visible{outline:2px solid #d7b895!important;outline-offset:3px}
