/* ===== Galaxy v131: landing, country picker, security, notifications, skeleton, splash, light theme, admin charts ===== */
:root{--gx-grad:linear-gradient(135deg,#6ee7ff 0%,#a78bfa 55%,#f0abfc 100%);--gx-line:rgba(255,255,255,.1);--gx-card:rgba(255,255,255,.05)}

/* ---- boot splash ---- */
#boot-splash{position:fixed;inset:0;z-index:99999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:radial-gradient(circle at 50% 38%,#10163a 0%,#050816 62%);color:#fff;transition:opacity .45s ease,visibility .45s}
#boot-splash.done{opacity:0;visibility:hidden;pointer-events:none}
#boot-splash img{width:96px;height:96px;border-radius:24px;box-shadow:0 0 60px rgba(167,139,250,.55);animation:bsPulse 2.2s ease-in-out infinite}
#boot-splash b{margin-top:12px;font-size:26px;letter-spacing:.34em;text-indent:.34em;background:var(--gx-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
#boot-splash small{letter-spacing:.5em;text-indent:.5em;font-size:10px;opacity:.7}
#boot-splash .bs-bar{margin-top:22px;width:120px;height:3px;border-radius:3px;background:rgba(255,255,255,.12);overflow:hidden}
#boot-splash .bs-bar i{display:block;height:100%;width:40%;background:var(--gx-grad);border-radius:3px;animation:bsRun 1.1s ease-in-out infinite}
@keyframes bsRun{0%{transform:translateX(-110%)}100%{transform:translateX(320%)}}
@keyframes bsPulse{50%{transform:scale(1.05);box-shadow:0 0 80px rgba(110,231,255,.5)}}

/* ---- skeleton loading ---- */
.sk-wrap{padding:16px 14px 90px;display:flex;flex-direction:column;gap:14px;max-width:560px;margin:0 auto}
.sk-bar,.sk-card,.sk-row i{position:relative;overflow:hidden;background:rgba(255,255,255,.07);border-radius:14px}
.sk-bar{height:22px;width:46%}.sk-card{height:92px}.sk-card.tall{height:170px}
.sk-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.sk-row i{height:64px;display:block}
.sk-bar::after,.sk-card::after,.sk-row i::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);animation:skShine 1.3s infinite}
@keyframes skShine{100%{transform:translateX(100%)}}

/* ---- empty states ---- */
.empty,.wx-empty{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:28px 16px!important;text-align:center;color:var(--muted,#8aa1b5);border:1px dashed var(--gx-line);border-radius:16px;background:var(--gx-card);font-size:14px}
.empty::before{content:"";width:46px;height:46px;opacity:.75;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238aa1b5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13.5 6 5h12l3 8.5V19a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-5.5Z'/%3E%3Cpath d='M3 13.5h5l1.5 2.5h5l1.5-2.5h5'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---- theme + install buttons ---- */
.top-action.theme-toggle,.ld-icon-btn,.auth-theme{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--gx-line);background:rgba(255,255,255,.06);color:inherit;cursor:pointer;padding:0}
.top-action.theme-toggle svg,.ld-icon-btn svg,.auth-theme svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-theme{position:absolute;top:14px;right:58px;z-index:5}

/* ---- landing / legal ---- */
.ld{min-height:100vh;color:#e9eefc;background:radial-gradient(1200px 600px at 80% -10%,rgba(124,92,255,.28),transparent 60%),radial-gradient(900px 500px at -10% 20%,rgba(34,211,238,.16),transparent 55%),#050816;font-family:inherit;overflow-x:hidden}
.ld a{color:inherit;text-decoration:none}.ld *{box-sizing:border-box}
.ld-head{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;padding:10px max(16px,calc((100vw - 1100px)/2));padding-top:calc(10px + env(safe-area-inset-top,0px));background:rgba(5,8,22,.78);backdrop-filter:blur(14px);border-bottom:1px solid var(--gx-line)}
.ld-brand{display:flex;align-items:center;gap:9px;margin-right:auto}.ld-brand img{border-radius:10px}
.ld-brand b{font-size:19px;letter-spacing:.2em;background:var(--gx-grad);-webkit-background-clip:text;background-clip:text;color:transparent}.ld-brand small{font-size:8px;letter-spacing:.32em;opacity:.65;display:none}
.ld-nav{display:none;gap:22px;font-size:14px;opacity:.85}.ld-nav a:hover{opacity:1;text-decoration:underline}
.ld-head-actions{display:flex;align-items:center;gap:8px}
.ld-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:999px;font-weight:700;font-size:15px;border:1px solid transparent;cursor:pointer;white-space:nowrap}
.ld-small{padding:8px 15px;font-size:13px}
.ld-primary{background:var(--gx-grad);color:#0b1020!important;box-shadow:0 8px 28px rgba(124,92,255,.38)}
.ld-ghost{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.04)}
.ld-hero{display:grid;gap:26px;align-items:center;padding:34px max(18px,calc((100vw - 1100px)/2)) 20px}
.ld-hero-text{display:flex;flex-direction:column;gap:16px}
.ld-eyebrow{font-size:11px;letter-spacing:.3em;color:#9bd8ff;font-weight:700}
.ld h1{margin:0;font-size:clamp(30px,6.4vw,54px);line-height:1.08;letter-spacing:-.02em}.ld h1 em{font-style:normal;background:var(--gx-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.ld-hero p{margin:0;font-size:16px;line-height:1.6;color:#b9c3e3;max-width:560px}
.ld-cta{display:flex;flex-wrap:wrap;gap:12px}.ld-center{justify-content:center}
.ld-chips{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.ld-chips li{font-size:12px;padding:6px 12px;border-radius:999px;border:1px solid var(--gx-line);background:var(--gx-card);color:#c9d3f2}
.ld-install{display:none;align-items:center;gap:8px;align-self:flex-start;background:none;border:1px dashed rgba(255,255,255,.28);color:#c9d3f2;border-radius:12px;padding:9px 14px;font-size:13px;cursor:pointer}.ld-install svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ld-install.show{display:inline-flex}
.ld-hero-art{display:grid;place-items:center}.ld-hero-art img{width:min(100%,460px);height:auto;border-radius:32px;box-shadow:0 30px 80px rgba(80,60,200,.35)}
.ld-stats{margin:18px max(16px,calc((100vw - 1100px)/2));display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--gx-line);border:1px solid var(--gx-line);border-radius:20px;overflow:hidden}
.ld-stats div{background:#0a0f26;padding:20px 12px;text-align:center}.ld-stats b{display:block;font-size:30px;background:var(--gx-grad);-webkit-background-clip:text;background-clip:text;color:transparent}.ld-stats span{font-size:12px;color:#9aa6cf;letter-spacing:.06em}
.ld-sec{padding:46px max(18px,calc((100vw - 1100px)/2)) 6px}.ld-sec h2{margin:0;font-size:clamp(24px,4.4vw,34px);text-align:center}
.ld-sub{margin:8px auto 24px;text-align:center;color:#9aa6cf;max-width:620px;line-height:1.55}
.ld-grid{display:grid;gap:14px}.ld-card{padding:20px;border-radius:20px;border:1px solid var(--gx-line);background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02))}
.ld-card h3{margin:12px 0 6px;font-size:18px}.ld-card p{margin:0;color:#a9b4d8;font-size:14px;line-height:1.55}
.ld-ico{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(124,92,255,.18);color:#c4b5fd}.ld-ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ld-flags{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;font-size:38px}.ld-flags span{filter:drop-shadow(0 4px 10px rgba(0,0,0,.4))}
.ld-steps{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:12px;counter-reset:s}
.ld-steps li{display:flex;gap:14px;align-items:flex-start;padding:16px;border-radius:18px;border:1px solid var(--gx-line);background:var(--gx-card)}
.ld-steps b{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--gx-grad);color:#0b1020;font-size:17px}.ld-steps h4{margin:0 0 4px;font-size:16px}.ld-steps p{margin:0;font-size:14px;color:#a9b4d8;line-height:1.5}
.ld-faqs{max-width:760px;margin:20px auto 0;display:grid;gap:10px}.ld-faq{border:1px solid var(--gx-line);border-radius:16px;background:var(--gx-card);padding:0 16px}
.ld-faq summary{cursor:pointer;padding:15px 0;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:10px}.ld-faq summary::-webkit-details-marker{display:none}.ld-faq summary::after{content:"+";font-size:20px;color:#a78bfa;line-height:1}.ld-faq[open] summary::after{content:"–"}
.ld-faq p{margin:0 0 15px;color:#a9b4d8;font-size:14px;line-height:1.6}
.ld-final{text-align:center;padding-bottom:30px}
.ld-foot{margin-top:30px;padding:26px max(18px,calc((100vw - 1100px)/2)) calc(26px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--gx-line);display:grid;gap:14px;font-size:13px;color:#8f9bc4}
.ld-foot-brand{display:flex;align-items:center;gap:10px;color:#e9eefc}.ld-foot-brand img{border-radius:8px}.ld-foot nav{display:flex;flex-wrap:wrap;gap:8px 20px}.ld-foot nav a:hover{color:#fff;text-decoration:underline}
.ld-doc{max-width:760px;margin:0 auto;padding:26px 18px 10px}.ld-doc h1{font-size:30px}.ld-doc h3{margin:22px 0 6px;font-size:17px}.ld-doc p{margin:0;color:#b4bfe0;line-height:1.7;font-size:15px}.ld-demo{margin:6px 0 4px!important;font-size:12px!important;color:#8f9bc4!important}
.ld-doc .ld-btn{margin-top:28px}.ld-doc-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.ld-doc-tabs a{padding:7px 13px;border-radius:999px;border:1px solid var(--gx-line);font-size:13px;color:#b4bfe0}.ld-doc-tabs a.on{background:var(--gx-grad);color:#0b1020;border-color:transparent;font-weight:700}
@media(min-width:760px){.ld-nav{display:flex}.ld-brand small{display:block}.ld-hero{grid-template-columns:1.05fr .95fr;padding-top:60px}.ld-grid{grid-template-columns:repeat(3,1fr)}.ld-stats{grid-template-columns:repeat(4,1fr)}.ld-steps{grid-template-columns:repeat(4,1fr)}.ld-steps li{flex-direction:column}.ld-foot{grid-template-columns:auto 1fr;align-items:center}.ld-foot small{grid-column:1/-1}.ld-foot nav{justify-content:flex-end}}

/* ---- country picker ---- */
.cp-btn{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;color:inherit;font:inherit;text-align:left;padding:0;cursor:pointer}
.cp-flag{font-size:24px;line-height:1}.cp-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cp-caret{opacity:.6}
.cp-dial{font-weight:700;min-width:54px;display:inline-block}
.cp-ov{position:fixed;inset:0;z-index:20000;background:rgba(0,0,0,.6);display:flex;align-items:flex-end;justify-content:center}
.cp-sheet{width:min(100%,520px);max-height:82vh;display:flex;flex-direction:column;background:#0c1328;color:#e9eefc;border-radius:22px 22px 0 0;border:1px solid var(--gx-line);padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px))}
.cp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.cp-head b{font-size:17px}.cp-close{background:none;border:0;color:inherit;font-size:26px;line-height:1;cursor:pointer}
.cp-search{width:100%;padding:12px 14px;border-radius:14px;border:1px solid var(--gx-line);background:rgba(255,255,255,.06);color:inherit;font-size:16px;outline:none;margin-bottom:8px}
.cp-list{overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column}
.cp-item{display:flex;align-items:center;gap:12px;padding:11px 8px;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.06);color:inherit;font:inherit;text-align:left;cursor:pointer}
.cp-item:hover,.cp-item.on{background:rgba(124,92,255,.16)}.cp-item .cp-name{font-size:15px}.cp-item .cp-code{opacity:.7;font-size:14px}.cp-none{padding:22px;text-align:center;opacity:.7}

/* ---- security card / badges ---- */
.vbadge{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:700;vertical-align:middle;white-space:nowrap}
.vbadge.ok{background:rgba(73,240,178,.16);color:#49f0b2;border:1px solid rgba(73,240,178,.35)}
.vbadge.no{background:rgba(255,255,255,.07);color:#9fb0c4;border:1px solid rgba(255,255,255,.16)}
.vbadge-hint{display:block;font-size:12px;color:#9fb0c4;margin-top:4px}.vbadge-hint a{color:#f3d49c;text-decoration:underline}
.sec-card{margin:12px 0;padding:16px;border-radius:18px}.sec-card h3{margin:0 0 10px;font-size:16px;display:flex;align-items:center;gap:8px}
.sec-row{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:14px}.sec-row:last-child{border-bottom:0}.sec-row span{color:#9fb0c4}.sec-row b{text-align:right;word-break:break-word}
.sec-form{display:grid;gap:9px;margin-top:10px}.sec-form input{width:100%;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:inherit;font-size:16px}
.sec-form .sec-line{display:flex;gap:8px}.sec-form .sec-line>input{flex:1}.sec-btn{padding:11px 16px;border-radius:12px;border:0;background:linear-gradient(135deg,#17e3bf,#6a8dff);color:#04101a;font-weight:700;cursor:pointer;white-space:nowrap}.sec-btn.alt{background:rgba(255,255,255,.1);color:inherit}.sec-btn[disabled]{opacity:.55;cursor:default}
.sec-msg{font-size:13px;line-height:1.5;color:#9fb0c4}.sec-msg.good{color:#49f0b2}.sec-msg.bad{color:#ff8b8b}.sec-demo{display:inline-block;margin-top:4px;padding:5px 10px;border-radius:10px;background:rgba(243,212,156,.14);color:#f3d49c;font-weight:700;letter-spacing:.12em}
.last-login-line{display:flex;align-items:center;gap:8px;margin:8px 14px 0;padding:8px 12px;border-radius:12px;font-size:12px;color:#9fb0c4;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}.last-login-line b{color:#dfe8f2;font-weight:600}
.otp-box{margin:10px 0 0}.otp-box .sec-line{display:flex;gap:8px}.otp-box input{flex:1;min-width:0;letter-spacing:.3em;text-align:center;font-size:18px}

/* ---- notifications ---- */
.nt-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.nt-top h2{margin:0;font-size:20px}.nt-top p{margin:2px 0 0;font-size:12.5px;color:#9fb0c4}
.nt-list{display:grid;gap:9px}.nt-item{display:flex;gap:12px;padding:13px;border-radius:16px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);position:relative}
.nt-item.unread{border-color:rgba(106,141,255,.55);background:rgba(106,141,255,.1)}.nt-item.unread::after{content:"";position:absolute;top:14px;right:14px;width:9px;height:9px;border-radius:50%;background:#ff5d73}
.nt-ico{flex:none;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:21px;background:rgba(255,255,255,.08)}
.nt-ico.deposit{background:rgba(73,240,178,.16)}.nt-ico.withdraw{background:rgba(255,184,77,.16)}.nt-ico.task{background:rgba(106,141,255,.18)}.nt-ico.security{background:rgba(255,93,115,.16)}.nt-ico.chat{background:rgba(167,139,250,.18)}
.nt-body{min-width:0;padding-right:14px}.nt-body b{display:block;font-size:14.5px;margin-bottom:3px}.nt-body p{margin:0;font-size:13.5px;line-height:1.5;color:#c3cfdc;word-break:break-word}.nt-body small{display:block;margin-top:5px;color:#8396a8;font-size:12px}
.nt-date{margin:14px 2px 2px;font-size:12px;letter-spacing:.08em;color:#8396a8;text-transform:uppercase}

/* ---- install card ---- */
.install-card{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;margin:12px 0}.install-card img{width:44px;height:44px;border-radius:12px}.install-card div{flex:1;min-width:0}.install-card b{display:block}.install-card small{color:#9fb0c4}

/* ---- admin: charts, team, audit ---- */
.ac-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:14px}
.ac-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;margin-top:14px}
.ac-box h3{margin:0 0 12px;font-size:16px}.ac-bars{display:grid;gap:9px}.ac-bar{display:grid;grid-template-columns:140px 1fr 70px;gap:10px;align-items:center;font-size:13px}
.ac-bar .ac-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ac-track{height:12px;border-radius:8px;background:rgba(255,255,255,.08);overflow:hidden}.ac-fill{height:100%;border-radius:8px;background:linear-gradient(90deg,#17e3bf,#6a8dff,#a78bfa)}.ac-val{text-align:right;font-variant-numeric:tabular-nums;color:#dfe8f2}
.ac-cols{display:flex;align-items:flex-end;gap:5px;height:150px;padding-top:8px}.ac-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;height:100%;min-width:0}.ac-col i{display:block;width:100%;min-height:2px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#a78bfa,#6a8dff)}.ac-col.dep i{background:linear-gradient(180deg,#49f0b2,#17b3a3)}.ac-col span{font-size:10px;color:#8396a8}.ac-col em{font-style:normal;font-size:10px;color:#dfe8f2}
.role-chip{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:700;background:rgba(106,141,255,.2);color:#b9c8ff}.role-chip.full{background:rgba(73,240,178,.18);color:#49f0b2}.role-chip.finance{background:rgba(255,184,77,.18);color:#ffc977}.role-chip.support{background:rgba(167,139,250,.2);color:#d3c4ff}
.admin-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;align-items:end}.admin-form-grid label{display:grid;gap:6px;font-size:13px}.admin-form-grid input,.admin-form-grid select{padding:10px 12px;border-radius:10px}
.audit-path{font-family:ui-monospace,Menlo,monospace;font-size:12px}.audit-status.ok{color:#49f0b2}.audit-status.bad{color:#ff8b8b}
@media(max-width:560px){.ac-bar{grid-template-columns:96px 1fr 58px}}

/* ---- light theme: one switch for the whole app (colours inverted, pictures/QR/chat kept as they are) ---- */
html[data-theme="light"]{filter:invert(1) hue-rotate(180deg);background:#06090e;color-scheme:light}
html[data-theme="light"] :is(img,video,canvas,picture,.slide,[style*="background-image"],.fund-img,.wx-chat,.wx-lock-ov,.qr-zoom-ov,.mr2-qr,.cp-ov,#boot-splash){filter:invert(1) hue-rotate(180deg)}
html[data-theme="light"] :is(.wx-chat,.wx-lock-ov,.qr-zoom-ov,.mr2-qr,.cp-ov,.fund-img,.slide) :is(img,[style*="background-image"]){filter:none}
html[data-theme="light"] .page-bg{display:none}
html[data-theme="light"] .ld{background:radial-gradient(1200px 600px at 80% -10%,rgba(124,92,255,.35),transparent 60%),#050816}

/* v132: the Customer Service chat list is a light card in the dark theme; re-invert it in the light theme (like the chat itself) */
html[data-theme="light"] .wx-list{filter:invert(1) hue-rotate(180deg)}
html[data-theme="light"] .wx-list :is(img,[style*="background-image"]){filter:none}

/* v133: long page titles (e.g. "Customer Service") must never run under the theme / language / bell buttons */
.back-head{display:flex!important;align-items:center!important;gap:8px!important}
.back-head .back{flex:none}
.back-head .page-title{position:static!important;transform:none!important;flex:1 1 auto!important;min-width:0!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:clamp(15px,4.8vw,19px)!important}
.back-head .head-actions{flex:none!important;display:flex!important;gap:6px!important}
.back-head .head-actions{position:static!important;right:auto!important;margin-right:10px!important}
.back-head .page-title{padding-left:56px!important;box-sizing:border-box!important}

/* ===== v134: About us, footer details, home polish ===== */
.ab-wrap{display:block}
.ab-card{border:1px solid var(--gx-line,rgba(255,255,255,.16));border-radius:16px;padding:16px 16px 14px;margin:0 0 14px;background:rgba(255,255,255,.045);text-align:left}
.ab-card h2{margin:0 0 6px;font-size:19px}.ab-card h3{margin:0 0 10px;font-size:16px}.ab-card p{margin:0;line-height:1.6;opacity:.92;font-size:14px}
.ab-hero{display:flex;gap:14px;align-items:center}.ab-hero img{border-radius:14px;flex:none}
.ab-facts{margin:0;display:grid;gap:0}.ab-fact{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--gx-line,rgba(255,255,255,.12));font-size:13.5px}
.ab-fact:last-child{border-bottom:0}.ab-fact dt{opacity:.7;flex:none}.ab-fact dd{margin:0;text-align:right;font-weight:700;word-break:break-word}
.ab-timeline{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid var(--gx-line,rgba(255,255,255,.2))}
.ab-timeline li{position:relative;padding:0 0 14px 14px;display:grid;gap:2px;font-size:13.5px}.ab-timeline li:last-child{padding-bottom:2px}
.ab-timeline li::before{content:"";position:absolute;left:-21px;top:5px;width:10px;height:10px;border-radius:50%;background:#8b7bff}
.ab-timeline b{font-size:13px}.ab-timeline span{opacity:.88}
.ab-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ab-social-link{padding:6px 12px;border-radius:999px;border:1px solid var(--gx-line,rgba(255,255,255,.25));font-size:12.5px;font-weight:700;text-decoration:none;color:inherit}
.ld-foot-co{margin:0;font-size:12.5px;opacity:.85;line-height:1.5}
.ld-foot .ab-social{margin-top:0}
.partner-country em.live{color:#19c37d;font-weight:800;font-style:normal}
.partner-country.is-live{box-shadow:inset 0 0 0 1px rgba(25,195,125,.45)}
.fx-hint{display:block;font-size:11.5px;opacity:.75;font-weight:600;margin-top:2px}
.mr2-guide{margin:12px 0;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05);font-size:13.5px;line-height:1.55}
.mr2-guide summary{cursor:pointer;font-weight:800;margin-bottom:6px}.mr2-guide ol{margin:6px 0 8px;padding-left:20px}.mr2-guide li{margin:4px 0}
.mr2-guide-warn{margin:6px 0 0;font-size:12.5px;color:#f2b84b;font-weight:700}
/* smaller, calmer floating Customer Service button */

/* v134: on laptops / tablets the app stays a centred phone-width column (conflicting max-width rules made it stretch across the screen) */
@media (min-width:700px){
  body{background-attachment:fixed}
  html body #app .mobile-shell{max-width:430px!important;margin-left:auto!important;margin-right:auto!important}
  html body #app .mobile-shell{box-shadow:0 0 0 1px rgba(120,140,255,.18),0 0 90px rgba(0,245,223,.10)!important}
  .customer-service-float-v105{right:calc(50% - 215px + 12px)!important}
}

/* v135: the new home banners are 16:9 and full of text, so the slider must show the whole picture (no cropping) */
html body #app .hero-slider-v50{aspect-ratio:16/9!important;height:auto!important;background:#020b0d!important}
html body #app .hero-slider-v50 .slide{background-size:cover!important;background-position:center!important}
/* About: company profile pages as a swipe gallery (Android browsers cannot show a PDF inside a page) */
.about-pages-v135{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:6px 2px 8px}
.about-pages-v135 img{flex:0 0 90%;width:90%;height:auto;scroll-snap-align:center;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:#071016}
.about-pages-hint-v135{margin:2px 0 4px;text-align:center;font-size:12px;opacity:.7}

/* v136: the landing header must fit 320-390 px phones (the Register button was cut off at the right edge) */
.ld-brand{min-width:0;flex:1 1 auto;overflow:hidden}
.ld-brand img{flex:none}
@media (max-width:420px){
  .ld-head{gap:8px!important;padding-left:12px!important;padding-right:12px!important}
  .ld-brand{gap:7px!important}
  .ld-brand img{width:30px!important;height:30px!important}
  .ld-brand span,.ld-brand b,.ld-brand strong{font-size:14px!important;letter-spacing:.12em!important;white-space:nowrap}
  .ld-brand small,.ld-brand em{display:none!important}
  .ld-head-actions{gap:6px!important;flex:none}
  .ld-btn.ld-small{padding:8px 11px!important;font-size:13px!important}
  .ld-icon-btn{width:32px!important;height:32px!important}
}
@media (max-width:340px){.ld-brand span,.ld-brand b,.ld-brand strong{font-size:12px!important;letter-spacing:.06em!important}.ld-btn.ld-small{padding:7px 9px!important;font-size:12px!important}}

/* ===== v137: Lucky Wheel - premium wheel on a rotating galaxy ===== */
.gxw-stage{--w:clamp(228px,70vw,288px);position:relative;overflow:hidden;border-radius:24px;border:1px solid rgba(170,150,255,.4);padding:16px 8px 22px;min-height:470px;background:radial-gradient(circle at 50% 46%,#131d5c 0,#080c2c 52%,#03050f 100%);box-shadow:0 18px 44px rgba(0,0,0,.45),inset 0 0 60px rgba(90,70,220,.18)}
.gxw-galaxy{position:absolute;left:50%;top:50%;width:155%;aspect-ratio:1;background:url(/assets/img/spin-galaxy.webp) center/contain no-repeat;opacity:.95;animation:gxwGalaxy 90s linear infinite;pointer-events:none}
.gxw-stars{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(1.4px 1.4px at 12% 18%,#fff,transparent 60%),radial-gradient(1.2px 1.2px at 78% 12%,#cfe9ff,transparent 60%),radial-gradient(1.6px 1.6px at 40% 84%,#fff,transparent 60%),radial-gradient(1px 1px at 90% 70%,#fff,transparent 60%),radial-gradient(1.3px 1.3px at 22% 62%,#ffe9c8,transparent 60%),radial-gradient(1px 1px at 62% 36%,#fff,transparent 60%),radial-gradient(1.5px 1.5px at 6% 92%,#fff,transparent 60%),radial-gradient(1.1px 1.1px at 72% 92%,#fff,transparent 60%),radial-gradient(1.2px 1.2px at 52% 6%,#fff,transparent 60%),radial-gradient(1px 1px at 94% 40%,#fff,transparent 60%);animation:gxwTwinkle 4.5s ease-in-out infinite alternate}
.gxw-nebula{position:absolute;inset:0;pointer-events:none;mix-blend-mode:screen;background:radial-gradient(circle at 15% 25%,rgba(255,90,200,.20),transparent 38%),radial-gradient(circle at 88% 78%,rgba(40,200,255,.22),transparent 40%)}
.gxw-balance{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.7)}
.gxw-balance span{font-size:13px;font-weight:800;letter-spacing:.14em;color:#8ff3ff}.gxw-balance b{font-size:32px;font-weight:900;line-height:1.1}.gxw-balance small{font-size:13px;opacity:.9}
.gxw-wheel-wrap{position:relative;z-index:3;width:calc(var(--w) + 44px);height:calc(var(--w) + 44px);margin:30px auto 4px;display:grid;place-items:center}
.gxw-glow{position:absolute;inset:-26px;border-radius:50%;background:radial-gradient(circle,rgba(255,196,80,.30),rgba(120,90,255,.18) 55%,transparent 72%);filter:blur(6px);animation:gxwGlow 3.2s ease-in-out infinite alternate}
.gxw-ring{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 20deg,#fff3b8,#d9a43a,#fff3b8,#a8721a,#fff3b8,#d9a43a,#fff3b8);box-shadow:0 0 38px rgba(255,190,70,.38),0 14px 30px rgba(0,0,0,.6)}
.gxw-ring:after{content:"";position:absolute;inset:21px;border-radius:50%;background:#070b24;box-shadow:inset 0 0 24px #000}
.gxw-leds{position:absolute;inset:0}
.gxw-leds i{position:absolute;left:50%;top:50%;width:9px;height:9px;margin:-4.5px;border-radius:50%;background:#fff7cf;transform:rotate(var(--a)) translateY(calc((var(--w) + 44px) / -2 + 10.5px));animation:gxwBlink .9s ease-in-out infinite alternate;animation-delay:var(--d)}
.gxw-wheel{position:relative;width:var(--w);height:var(--w);padding:0;border:0;border-radius:50%;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent;color:inherit}
.gxw-disc{position:absolute;inset:0;border-radius:50%;will-change:transform}
.gxw-disc canvas{display:block;width:100%;height:100%;border-radius:50%}
.gxw-pointer{position:absolute;left:50%;top:-36px;z-index:6;width:38px;height:50px;transform:translateX(-50%);background:linear-gradient(#fff6c4,#e8b43a 55%,#9a6a10);clip-path:polygon(50% 100%,2% 30%,20% 0,80% 0,98% 30%);filter:drop-shadow(0 4px 5px rgba(0,0,0,.65))}
.gxw-pointer:after{content:"";position:absolute;left:50%;top:9px;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#c0392b 70%)}
.gxw-hub{position:absolute;z-index:5;left:50%;top:50%;width:30%;height:30%;margin:-15% 0 0 -15%;border-radius:50%;display:grid;place-items:center;font:900 15px/1 "Segoe UI",system-ui,sans-serif;letter-spacing:.04em;color:#2a1a00;background:radial-gradient(circle at 30% 25%,#fff7cc,#eab93f 55%,#8a5c10);box-shadow:0 0 0 5px rgba(255,255,255,.14),0 0 26px rgba(255,196,64,.65),inset 0 -6px 10px rgba(80,50,0,.35)}
.gxw-wheel:not(:disabled):not(.is-done) .gxw-hub{animation:gxwPulse 1.8s ease-in-out infinite}
.gxw-wheel.is-spinning .gxw-hub{animation:none;font-size:13px}
.gxw-wheel:disabled{cursor:default}.gxw-wheel.is-done .gxw-hub{filter:saturate(.7) brightness(.92)}
.gxw-result{position:relative;z-index:3;min-height:24px;margin:10px 0 0;text-align:center;font-size:15px;font-weight:800;color:#ffe9a6;text-shadow:0 2px 8px rgba(0,0,0,.7)}
.gxw-spark{position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-3.5px;border-radius:50%;background:var(--c);box-shadow:0 0 10px var(--c);pointer-events:none;z-index:8;animation:gxwSpark 1.15s ease-out forwards}
@keyframes gxwGalaxy{from{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes gxwTwinkle{from{opacity:.55}to{opacity:1}}
@keyframes gxwBlink{from{opacity:.25;box-shadow:none}to{opacity:1;box-shadow:0 0 10px 2px rgba(255,224,138,.9)}}
@keyframes gxwGlow{from{opacity:.65;transform:scale(.98)}to{opacity:1;transform:scale(1.03)}}
@keyframes gxwPulse{0%,100%{box-shadow:0 0 0 5px rgba(255,255,255,.14),0 0 22px rgba(255,196,64,.5),inset 0 -6px 10px rgba(80,50,0,.35)}50%{box-shadow:0 0 0 7px rgba(255,255,255,.22),0 0 38px rgba(255,210,90,.95),inset 0 -6px 10px rgba(80,50,0,.35)}}
@keyframes gxwSpark{to{transform:translate(var(--dx),var(--dy)) scale(.2);opacity:0}}
@media (prefers-reduced-motion:reduce){.gxw-galaxy,.gxw-stars,.gxw-glow,.gxw-leds i,.gxw-wheel .gxw-hub{animation:none!important}}

/* v138: e-mail verification row on the registration form */
.emailcode-btn{font-size:14px!important;letter-spacing:0!important;padding:0 14px!important;white-space:nowrap;min-width:118px;cursor:pointer}
.emailcode-btn:disabled{opacity:.7;cursor:default}
.emailcode-hint{margin:6px 2px 10px;font-size:12.5px;line-height:1.5;opacity:.85}
.emailcode-demo{display:inline-block;margin-top:4px;padding:3px 9px;border-radius:999px;background:rgba(255,214,102,.16);color:#ffe08a;font-weight:700}
html body #app .emailcode-row .emailcode-btn{letter-spacing:0!important;word-spacing:0!important;text-indent:0!important;font-size:13.5px!important;font-weight:700!important;padding:0 12px!important;min-width:112px!important;max-width:140px;white-space:nowrap!important;overflow:hidden;text-overflow:clip}
html body #app .emailcode-row .compact{min-width:0;flex:1 1 auto}
/* v138: keep the code box + Send code button inside the form on every phone width */
html body #app .emailcode-row{display:flex!important;align-items:center!important;gap:8px!important;grid-template-columns:none!important}
html body #app .emailcode-row .compact{flex:1 1 0!important;min-width:0!important;width:auto!important}
html body #app .emailcode-row .compact input{width:100%!important;min-width:0!important}
html body #app .emailcode-row .emailcode-btn{flex:0 0 auto!important;min-width:104px!important;margin:0!important}
