:root{--bg:#f4f7fb;--surface:#fff;--text:#162033;--muted:#718096;--line:#e5eaf2;--navy:#101827;--green:#15a876;--green-soft:#e9f9f2;--shadow:0 18px 50px rgba(21,34,56,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}body.dark,:root[data-theme="dark"]{--bg:#0b1220;--surface:#111c2e;--text:#eef4ff;--muted:#9aa9bf;--line:#26344a;--green-soft:#12382d;--shadow:0 18px 50px rgba(0,0,0,.2)}
button,input{font:inherit}button{cursor:pointer}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,6vw,92px);background:var(--surface);border-bottom:1px solid var(--line)}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--text);font-weight:850;font-size:23px;letter-spacing:-.8px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:var(--navy);color:#fff;border-radius:13px;font-size:26px;font-style:italic}.accent{color:var(--green)}.brand small{display:block;font-size:8px;letter-spacing:1.25px;color:var(--muted);font-weight:700;margin-top:-3px}.top-actions{display:flex;align-items:center;gap:18px}.icon-btn{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;width:39px;height:39px;font-size:20px}.online-dot{font-size:12px;color:var(--muted)}.online-dot:before{content:"";display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%;margin-right:7px}
main{min-height:calc(100vh - 150px);padding:48px clamp(20px,6vw,92px) 64px}.auth-layout{max-width:1240px;margin:auto;display:grid;grid-template-columns:1fr minmax(340px,440px);gap:clamp(45px,8vw,120px);align-items:center;min-height:570px}.hero-copy{max-width:610px}.eyebrow{font-size:11px;font-weight:850;letter-spacing:2px;color:var(--green);margin-bottom:13px}.hero-copy h1,.dash-head h1{font-size:clamp(34px,4.2vw,57px);letter-spacing:-2px;line-height:1.1;margin:0 0 21px}.hero-copy h1 span{color:var(--green)}.hero-copy>p{font-size:17px;color:var(--muted);max-width:490px}.feature-list{display:grid;gap:14px;margin:34px 0}.feature-list div{font-size:14px;font-weight:650}.feature-list span{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--green-soft);color:var(--green);margin-right:10px}.risk-note,.bottom-warning{font-size:12px;color:var(--muted);border-left:3px solid #e9b44c;padding:10px 13px;background:rgba(233,180,76,.08);max-width:550px}.auth-card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.auth-card{padding:28px 30px}.tabs{display:grid;grid-template-columns:1fr 1fr;background:var(--bg);padding:4px;border-radius:12px;margin-bottom:27px}.tab{border:0;background:transparent;color:var(--muted);padding:10px;border-radius:9px;font-size:13px;font-weight:750}.tab.active{background:var(--surface);color:var(--text);box-shadow:0 2px 8px #0000000b}.form h2,.panel h2,.section-title h2{font-size:21px;letter-spacing:-.5px;margin:0 0 5px}.muted{color:var(--muted);font-size:13px;margin:0}.form>p.muted{margin-bottom:23px}.form label{display:block;font-size:12px;font-weight:750;margin:15px 0;color:var(--text)}.form input{display:block;width:100%;border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:12px 13px;margin-top:7px;color:var(--text);outline:none;font-size:13px}.form input:focus{border-color:var(--green);box-shadow:0 0 0 3px #15a8761c}.optional,.tiny{font-size:10px;font-weight:500;color:var(--muted)}.primary{width:100%;border:0;border-radius:10px;background:var(--green);color:white;font-weight:800;padding:13px 16px;margin-top:10px;display:flex;justify-content:space-between}.primary:hover{filter:brightness(.96)}.message{font-size:12px;min-height:18px;color:var(--green)}.message.error{color:#d64e58}.tiny{line-height:1.5}.hidden{display:none!important}
.dashboard{max-width:1240px;margin:auto}.dash-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.dash-head h1{font-size:35px;margin-bottom:6px}.secondary{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:9px;padding:9px 13px;font-weight:750;font-size:12px}.status-banner{display:flex;gap:13px;align-items:center;padding:16px 18px;border-radius:13px;background:#fff8e9;border:1px solid #f4e4be;color:#614b1f;margin-bottom:29px}.status-icon{display:grid;place-items:center;flex:0 0 30px;height:30px;background:#f3d99b;border-radius:50%;font-weight:900}.status-banner strong{font-size:13px}.status-banner p{font-size:12px;margin:2px 0 0;color:#806a3e}.verified{margin-left:auto;background:#fff0c6;color:#946c00;padding:5px 8px;border-radius:7px;font-size:10px;font-weight:900;white-space:nowrap}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-title h2{font-size:20px}.demo-tag{font-size:9px;font-weight:900;letter-spacing:1px;color:#8c6b2d;background:#fff4d9;border-radius:7px;padding:7px 9px}.balance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.balance-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:19px;min-width:0}.balance-card.total{background:var(--navy);color:#fff;border-color:var(--navy)}.balance-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:750;color:var(--muted)}.total .balance-top{color:#b7c5d8}.balance-icon{display:grid;place-items:center;width:31px;height:31px;background:var(--green-soft);color:var(--green);border-radius:9px;font-size:17px}.total .balance-icon{background:#203c3b}.balance-card strong{display:block;font-size:26px;letter-spacing:-.8px;margin:17px 0 5px;white-space:nowrap}.balance-card strong small{font-size:10px;letter-spacing:0;font-weight:700;color:var(--muted)}.total strong small{color:#b7c5d8}.balance-card p{font-size:11px;color:var(--muted);margin:0}.total p{color:#b7c5d8}.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:18px}.panel{padding:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.panel h2{font-size:17px}.ref-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--green-soft);color:var(--green);font-size:23px}.ref-box{display:flex;gap:10px;align-items:center;background:var(--bg);border:1px dashed #b7c6d5;padding:10px 12px;border-radius:10px}.ref-box code{font-size:15px;font-weight:850;letter-spacing:1px;color:var(--green);flex:1}.share-note{font-size:11px;color:var(--muted);margin-top:12px}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.action{display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;align-items:center;text-align:left;gap:0 10px;padding:12px;border:1px solid var(--line);background:var(--bg);border-radius:11px;color:var(--text);opacity:.65}.action>span{grid-row:span 2;display:grid;place-items:center;width:34px;height:34px;background:var(--green-soft);color:var(--green);border-radius:9px;font-size:20px}.action b{font-size:12px}.action small{font-size:10px;color:var(--muted)}.bottom-warning{margin-top:18px;max-width:none}footer{border-top:1px solid var(--line);padding:20px clamp(20px,6vw,92px);display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted)}
@media(max-width:900px){.auth-layout{grid-template-columns:1fr minmax(320px,400px);gap:30px}.hero-copy h1{font-size:39px}.balance-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){main{padding-top:28px}.auth-layout{grid-template-columns:1fr;gap:28px}.hero-copy h1{font-size:38px}.hero-copy>p{font-size:15px}.feature-list{margin:22px 0}.auth-card{padding:22px}.balance-grid{grid-template-columns:1fr 1fr}.balance-card{padding:14px}.balance-card strong{font-size:21px}.lower-grid{grid-template-columns:1fr}.dash-head h1{font-size:29px}.status-banner{align-items:flex-start}.verified{display:none}footer{flex-wrap:wrap}footer span:last-child{width:100%}}
@media(max-width:420px){.balance-grid{grid-template-columns:1fr}.topbar{height:72px}.brand{font-size:20px}.online-dot{display:none}.section-title{align-items:flex-start;gap:10px}.demo-tag{font-size:8px}.action-grid{grid-template-columns:1fr 1fr}}


.head-actions{display:flex;gap:8px;align-items:center}.count-pill{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:99px;background:var(--green-soft);color:var(--green);font-size:10px;margin-left:4px;padding:0 5px}
.notifications-panel{margin:0 0 20px;padding:20px}.notification-list{display:grid;gap:9px}.notification-item{display:flex;gap:12px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}.notification-item.unread{border-left:3px solid var(--green)}.notification-item .notif-dot{width:9px;height:9px;background:var(--green);border-radius:50%;margin-top:5px;flex-shrink:0}.notification-item.read .notif-dot{background:#a8b3c3}.notification-item strong{font-size:12px}.notification-item p{font-size:12px;color:var(--muted);margin:3px 0}.notification-item small{font-size:10px;color:var(--muted)}.notification-item button{margin-left:auto;white-space:nowrap}
@media(max-width:500px){.head-actions{flex-direction:column;align-items:stretch}.dash-head{align-items:flex-start}}

.subscription-panel{margin:18px 0;padding:22px}.subscription-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,220px);gap:12px;align-items:end;margin-bottom:16px}.subscription-form label{font-size:12px;font-weight:750}.subscription-form input{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text)}.subscription-form .primary{margin:0}.subscription-form .message{grid-column:1/-1;margin:0}.subscription-panel .table-wrap{margin-top:8px}
@media(max-width:600px){.subscription-form{grid-template-columns:1fr}.subscription-form .primary{width:100%}}

.referral-stats{font-size:11px;color:var(--muted);margin-top:9px}.vip-panel{margin-top:18px;padding:22px}.vip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.vip-item{border:1px solid var(--line);background:var(--bg);border-radius:11px;padding:13px}.vip-item strong{display:block;font-size:13px}.vip-item span,.vip-item small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.vip-item.achieved{border-color:var(--green);background:var(--green-soft)}@media(max-width:700px){.vip-grid{grid-template-columns:repeat(2,1fr)}}

/* Referral links remain readable and usable on narrow screens. */
.referral-link-label{margin:12px 0 6px}.referral-link-box{align-items:center;min-width:0}.referral-link{min-width:0;flex:1;color:var(--green);font-size:12px;overflow-wrap:anywhere;text-decoration:underline}.referral-link.is-placeholder{color:var(--muted);text-decoration:none}.referral-link-box .secondary{flex-shrink:0}.ref-box .secondary{white-space:nowrap}@media(max-width:420px){.referral-link-box{align-items:stretch;flex-direction:column}.referral-link-box .secondary{width:100%}.referral-link{font-size:11px}}


/* Public visitor crypto market: responsive, readable in both themes. */
.public-crypto-market{margin:24px 0 18px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:0 8px 28px rgba(0,0,0,.04);max-width:760px}
.market-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.market-heading h2{font-size:19px;margin:4px 0 0}.market-live{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;font-weight:750;color:var(--green)}.market-live-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px var(--green-soft)}
.market-caption{font-size:12px;margin:8px 0 12px}.market-status{font-size:12px;color:var(--muted);margin:10px 0}.crypto-table-wrap{width:100%;overflow-x:auto}.crypto-table{width:100%;border-collapse:collapse;font-size:12px}.crypto-table th,.crypto-table td{padding:10px 7px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}.crypto-table th{font-size:10px;color:var(--muted);font-weight:750}.crypto-table th:nth-child(2),.crypto-table td:nth-child(2){text-align:left}.crypto-asset{display:flex;align-items:center;gap:8px;text-align:left}.crypto-asset img{width:22px;height:22px;border-radius:50%}.crypto-asset strong{font-size:12px}.crypto-asset small{display:block;color:var(--muted);font-size:10px}.crypto-change-positive{color:#16834a;font-weight:750}.crypto-change-negative{color:#d14343;font-weight:750}.market-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;color:var(--muted);font-size:10px}.market-refresh{padding:7px 10px;font-size:11px}.market-disclaimer{font-size:10px;line-height:1.5;color:var(--muted);margin:12px 0 0}.public-crypto-market .hidden{display:none!important}
@media(max-width:600px){.public-crypto-market{padding:13px;margin-top:18px}.market-heading h2{font-size:16px}.crypto-table th,.crypto-table td{padding:9px 5px;font-size:11px}.crypto-asset{gap:5px}.crypto-asset img{width:19px;height:19px}.market-footer{align-items:flex-start}.market-refresh{flex-shrink:0}}

/* v4.50.3 account activation, transfer, and language controls */
.feature-panel{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.feature-panel h3{margin:3px 0 8px;font-size:17px}.feature-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.feature-panel form{display:grid;gap:9px}.feature-panel input,.language-control select,.site-language select{max-width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--card);color:inherit}
.language-control select{font-size:12px;padding:7px}.feature-panel button{width:100%;margin-top:5px}.feature-panel .muted{font-size:12px;line-height:1.5}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
