/* GeNEE shared visual system. Legacy hooks remain compatible with the existing app. */
@font-face{font-family:Mona;src:url('/assets/genee/mona-sans.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--gn-bg:#070b14;--gn-surface:#111b2b;--gn-raised:#192840;--gn-line:#2a3d56;--gn-accent:#67d7ff;--gn-action:#2563d9;--gn-violet:#8b77ef;--gn-action-gradient:linear-gradient(120deg,#135cc5,#4059db 70%,#6650d2);--ag-bg:var(--gn-bg);--ag-page-ink:var(--gn-bg);--ag-card:var(--gn-surface);--ag-card-highlight:var(--gn-raised);--ag-gold:var(--gn-accent);--ag-border:var(--gn-line);--ag-muted:#a3b3c8;--ag-text:#f2f6ff;--ag-card-gradient:linear-gradient(135deg,#16243a,#101b2c 55%,#0c1523);--ag-selected-gradient:var(--gn-action-gradient);--ag-satin-art:url('/assets/genee/account-ribbon.png');--gold:var(--gn-accent);--bg:var(--gn-bg);--panel:var(--gn-surface);--line:var(--gn-line);--muted:#a3b3c8;--text:#f2f6ff;--color--lime:var(--gn-accent);--color--lime-off:#56aee5;--color--dark-green:var(--gn-bg);--color--dark-green-tint-1:var(--gn-surface);--color--white:#f2f6ff;--color--green-off-white-2:#d4e6f7;--astra-gold:var(--gn-accent);--astra-ink:var(--gn-bg);--astra-paper:#f2f6ff;--astra-muted:#a3b3c8}
body,body[data-view],body.ops-admin,.s,.nav{color:var(--ag-text);font-family:Mona,'Microsoft JhengHei','PingFang TC',sans-serif;background-color:var(--gn-bg)}
body[data-view]{background:linear-gradient(160deg,#0b1423,var(--gn-bg) 65%)}
body.ops-admin{background-image:linear-gradient(90deg,#070b14bd,#070b1480),url('/assets/admin-gold-investment-v3.png');background-size:cover;background-position:right bottom}
.ops-admin .ops-sidebar{background:#0b1322f5;border-color:#26384d}.ops-nav button[aria-current=page]{background:#1b3152;border-color:#35577e;color:#a1e8ff}
.ops-admin :is(.ops-panel,.overview-summary){background:#101b2bf5;border-color:#2a3c53}.ops-admin .overview-metric:hover{background:#1b2e45}.ops-admin .overview-dashboard .needs-attention{color:#8ddfff}.overview-task-icon,.overview-task-action,.overview-text-button{color:#8adfff}.ops-admin .ops-panel-head,.ops-admin .ops-table td,.ops-admin .ops-pager{border-color:#293b51}.ops-admin .ops-table th{background:#0d1725;color:#a7bdd5}.overview-activity-mark{background:#72c9f3}
:where(button,a,input,select,textarea):focus-visible{outline-color:var(--gn-accent)}
::selection{background:#24538a;color:white}body ::selection,body[data-view] ::selection{background:#24538a;color:white}
*{scrollbar-color:#466d9c #0c1421}::-webkit-scrollbar-thumb{background:#466d9c;border-radius:20px}::-webkit-scrollbar-track{background:#0c1421}
input,select,textarea{caret-color:var(--gn-accent);accent-color:var(--gn-accent)}
.ops-primary,.astra-auth-submit,.maintenance-contact,.withdrawal-submit,.verification-submit{background:var(--gn-action-gradient);color:#fff;border-color:#4785d9;font-weight:700;box-shadow:inset 0 1px 0 #ffffff1f}
.ops-primary:hover,.astra-auth-submit:hover,.maintenance-contact:hover{background:#2e66ce;color:#fff}
body[data-view] :is(.button.primary,.account-actions .primary,.asset-actions .primary,.deposit-contact-button){background:var(--gn-action-gradient);border-color:#497fd7;color:#fff;box-shadow:inset 0 1px 0 #ffffff26}
body[data-view] .bottom-nav{background:#0c1421f7;border-color:#2a3d56}.bottom-nav button.active,.bottom-nav [aria-current=page]{color:var(--gn-accent)}
body[data-view=home] .account-panel,body[data-view] .asset-overview,body[data-view] .profile-identity{background:linear-gradient(90deg,#07101d1c,#07101d26),var(--gn-bg) url('/assets/genee/account-ribbon.png') center/cover no-repeat;border-color:#3b5576}
body[data-view=home] .shortcuts button{background:linear-gradient(145deg,#1b304a,#101c2d 65%);border-color:#314960}.shortcuts button svg{color:#81d9fc}
#trade-screen .deriv-instrument{background:linear-gradient(90deg,#0b1524a6,#0b152433),url('/assets/genee/account-ribbon.png') center/cover no-repeat;border-color:#365275}
#trade-screen .deriv-instrument:before{content:none}
body[data-view] :is(.panel,.member-dialog,.profile-menu),.global-settings-panel,.support-workspace,.chat-shell,.verification-form-card,.withdrawal-card{border-color:#2a3d56}
.global-settings-nav,.global-settings-panel{background:#101b2b}.global-settings-nav button[aria-current=page]{background:#1b3152;color:#a2e7ff;border-color:#3a6086}.global-settings-save{background:#0c1523}.global-settings-fields input,.global-settings-fields textarea,.global-settings-fields select{background:#0a1422;border-color:#344b67}
.chat-messages,.messages,.desk-messages{background:#0b1522}.chat-help-bubble,.desk-bubble,.message-bubble{border-color:#334f69}.chat-human-support{background:#173857;color:#a4e8ff;border-color:#3f7397}.chat-human-support:hover{background:#204569}.chat-service-menu h3,.chat-quick-heading,.chat-quick-toggle{color:#8cdfff}.chat-service-menu{background:#101f30;border-color:#30495f}.chat-service-menu button:hover{background:#1c3650}
.deposit-concierge-art{background:radial-gradient(ellipse,#1c4267 0,#111c30 55%,transparent 74%)}
.maintenance-overlay,.maintenance-shell{background:#070b14}.maintenance-illustration img{mix-blend-mode:screen}.maintenance-brand{object-fit:contain}.maintenance-service-note{color:#9ddfff}
img[src*="/assets/genee/wordmark.svg"]{object-fit:contain}
.brand img,.ops-brand,.chat-brand,.support-header>a>img,.verification-brand>a>img{width:auto;max-width:220px;height:52px;object-fit:contain;object-position:left center}
.ops-brand{width:100%;height:58px}.brand img{width:200px;max-width:100%;height:52px}.astra-auth-brand,.astra-auth-logo,.ops-login>img{width:240px;max-width:100%;height:auto;object-fit:contain}
.genee-public-wordmark{display:block;width:100%;height:100%;object-fit:contain}.nav-brand.w-embed{width:210px;max-width:42vw;height:62px}
/* Replace the decorative gold sculpture with the orbital brand artwork. Quote tables and navigation stay live. */
body:has(.s.home-hero){background:#070b14}.s.home-hero{background:#070b14}.genee-hero-art{display:none!important}
.genee-hero-art{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#070b14 0%,#070b1422 50%,#070b1422),url('/assets/genee/orbital-background.png') center/cover no-repeat}
.exchange-intro{z-index:12}.exchange-intro h2{font-family:Mona,'Microsoft JhengHei',sans-serif;font-weight:650;letter-spacing:-.025em}.exchange-intro p{color:#b3c7df}.exchange-primary,.exchange-actions .exchange-primary{background:var(--gn-action-gradient);color:white;border:1px solid #5388d7;border-radius:10px}.exchange-tabs button[aria-pressed=true]{background:#244c89;color:#fff}.exchange-terminal{background:#101b2b;border:1px solid #2a3d56;border-radius:18px}.exchange-ticker{padding:22px;background:#0b1522e8;border:1px solid #294564;border-radius:16px}.exchange-ticker>p:first-child{color:#a7e3ff}.exchange-ticker strong{color:#f2f6ff}.exchange-ticker strong small{color:inherit}
.astra-auth{background:#101b2b;border-color:#3b5272}.astra-auth h2,.astra-auth label{color:#f2f6ff}.astra-auth a{color:#89dfff}.astra-menu-brand{width:240px;height:auto;max-height:90px;object-fit:contain}.nav-menu{background:#0a1220}
[class*="brier"],.span-font-brier{font-family:Mona,'Microsoft JhengHei',sans-serif;font-style:normal}
@media(max-width:768px){.genee-hero-art{background-image:linear-gradient(180deg,#070b141c,#070b1400 65%,#070b14),url('/assets/genee/orbital-background.png');background-size:auto,auto 70%;background-position:center,72% 75%;background-repeat:no-repeat}.exchange-ticker{padding:14px 20px;border-radius:0;border-inline:0}.nav-brand.w-embed{width:180px;height:54px}.ops-brand{height:44px}.brand img{width:180px;height:46px}.exchange-intro h2{font-size:clamp(30px,7vw,42px)}.exchange-intro{width:calc(100% - 40px)}.exchange-intro p{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}

.transition-w{background:#070b14!important}.transition-rive canvas{visibility:hidden!important}.astra-transition-brand{background:transparent!important;width:100px;height:100px}.transition-btn .btn-text{color:#a4dfff}
body[data-view] .market-tabs [aria-selected=true],body[data-view] .workspace-tabs [aria-selected=true],#trade-screen .deriv-duration button[aria-pressed=true]{background:var(--gn-action-gradient);color:#fff;border-color:#5387d1;box-shadow:inset 0 1px 0 #ffffff1f}
.astra-auth-primary,.astra-auth-submit,.astra-auth button[type=submit]{background:var(--gn-action-gradient);color:#fff;border-color:#4a7ed3}
@media(max-width:768px){.home-hero-tablet-text-w{width:270px!important;max-width:72vw!important}.home-hero-tablet-text-w img{height:82px!important;object-fit:contain}.exchange-intro{top:210px!important}.exchange-intro h2{font-size:clamp(27px,6.4vw,36px);line-height:1.3}.exchange-intro p{margin-top:12px}}
@media(max-width:768px) and (max-height:740px){.exchange-intro{top:192px!important}.home-hero-tablet-text-w img{height:74px!important}.exchange-intro h2{font-size:28px}}

.transition-btn .btn-inner{background:var(--gn-action-gradient)!important;color:#fff}.transition-btn .btn-inner:before,.transition-btn .btn-inner:after{background:#316bc9!important}.transition-btn .btn-text{color:#fff!important}
#trade-screen .deriv-ma-toggle:has([data-ma-period="5"]) span{color:#67d7ff}#trade-screen .deriv-ma-toggle:has([data-ma-period="10"]) span{color:#81aacb}#trade-screen .deriv-ma-toggle:has([data-ma-period="30"]) span{color:#b5becd}

body[data-view] .button.primary:hover,body[data-view] .account-actions .primary:hover,body[data-view] .asset-actions .primary:hover,.verification-form-card button[type=submit]:hover,.identity-form .form-actions button:hover,.verification-state-actions>.ops-primary:hover{background:#245cb2;color:#fff;border-color:#70a6ea}
body[data-view] .panel>.section-heading{padding-bottom:14px}

body:not([data-view]):not(.ops-admin):not(:has(.s.home-hero)){background:linear-gradient(155deg,#0d1829,#070b14 65%)}
body .ops-panel{background:var(--ag-card-gradient);border-color:var(--gn-line)}
body .chat-shell,body .chat-workspace,body .chat-panel{background:#101b2b;border-color:var(--gn-line)}
#trade-screen{--dt-surface:#111b2b;--dt-border:#2a3d56}

/* Keep the original fixed WebGL bullion renderer visible through its hero section. */
.s.home-hero,.sticky-item.home-hero,.c.home-hero{background:transparent}

/* The fixed gold canvas must sit above the body paint and below hero copy. */
body:has(.s.home-hero) .gl-wrap{z-index:0!important;pointer-events:none}
body:has(.s.home-hero) .sticky-track,body:has(.s.home-hero) .s{position:relative;z-index:1}

/* Gold quote keeps the bullion material identity in the homepage summary. */
.exchange-ticker>div:first-of-type strong{color:#e2bc6c}

/* Autograph retains the original bullion overlay and scroll-draw behavior. */
.astra-dynamic-signature{color:#8ee4ff;filter:drop-shadow(0 1px 2px #081323b3);stroke-width:4}

/* The signature is a screen-space overlay tracking the genuine 3D bullion. */
body:has(.s.home-hero) .s.home-marquee,body:has(.s.home-hero) .c.is-marquee{background:transparent!important}
.genee-bullion-autograph{position:fixed!important;inset:auto;z-index:3;transform:translate(-50%,-50%) rotate(-7deg);pointer-events:none;max-width:none}

.exchange-ticker>p:first-child>span:empty::after{content:"USD / ozt"}
