[hidden]{display:none!important}
/* The trading terminal locks the document on desktop; release that lock while
   the welcome/auth screen is visible so long registration forms can scroll. */
html:has(#welcome-screen:not([hidden])),
body:has(#welcome-screen:not([hidden])){min-height:100%;min-height:100dvh;overflow-x:hidden;overflow-y:auto}
.welcome{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(380px,.8fr);align-items:stretch;background:#09111e;color:#edf4fc;font-family:Inter,ui-sans-serif,system-ui,"Segoe UI",sans-serif}
.welcome-story{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh;padding:clamp(26px,5vw,70px);overflow:hidden;background:linear-gradient(90deg,#071321e8 0%,#0a172bc4 55%,#09152580 100%),linear-gradient(0deg,#07111bbd,#07111b30),url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2200&q=88") center/cover no-repeat}
.welcome-story:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 60% 48%,transparent 0 28%,#06101b38 75%)}
.welcome-brand,.welcome-copy,.welcome-foot{position:relative;z-index:1}.welcome-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:14px;font-weight:800;letter-spacing:.1em}.welcome-wordmark{display:flex;flex-direction:column;gap:2px}.welcome-brand b{color:#91abc4;font-weight:700}
.welcome-copy{max-width:650px;margin:8vh 0}.welcome-kicker{color:#7bcaff;font-size:11px;font-weight:800;letter-spacing:.2em}.welcome-copy h1{margin:20px 0 16px;font-size:clamp(46px,6.3vw,88px);line-height:.98;letter-spacing:-.055em}.welcome-copy h1 em{color:#8dd5ff;font-style:normal}.welcome-copy p{max-width:460px;color:#c2d0df;font-size:17px;line-height:1.7}.welcome-points{display:flex;flex-wrap:wrap;gap:18px;margin-top:30px;color:#dbe9f6;font-size:13px}.welcome-foot{color:#9db0c4;font-size:11px}
.auth-panel{width:min(100%,540px);align-self:center;justify-self:center;padding:clamp(24px,4vw,52px);}
.auth-panel-head{display:flex;align-items:center;gap:12px;margin-bottom:24px;color:#fff;font-size:20px;font-weight:750}.auth-mark{display:block;width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 2px 5px #0008)}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;margin-bottom:26px;border:1px solid #26384c;border-radius:10px;background:#0d1928}.auth-tabs button{min-height:42px;border:0;border-radius:7px;background:transparent;color:#9eafc2;font-weight:700;cursor:pointer}.auth-tabs button.active{background:#203a54;color:#fff;box-shadow:0 2px 8px #0003}
.auth-form h2{margin:0 0 7px;font-size:25px}.auth-form>p{margin:0 0 21px;color:#9fb0c3;font-size:13px}.auth-form>label:not(.auth-check){display:grid;gap:8px;margin:15px 0;color:#cfdae6;font-size:12px;font-weight:650}.auth-form input:not([type=checkbox]){width:100%;height:46px;box-sizing:border-box;border:1px solid #33465c;border-radius:7px;padding:0 13px;background:#111e2e;color:#f4f8fc;font:inherit;font-size:14px;outline:none}.auth-form input:focus{border-color:#67bdf5;box-shadow:0 0 0 3px #49b9ff22}.auth-form label small{color:#8ea1b5;font-weight:400}.auth-inline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:15px 0 19px}.auth-check{display:flex;align-items:center;gap:9px;color:#aebdd0;font-size:12px;line-height:1.45}.auth-check input{width:16px;height:16px;accent-color:#42b8ed}.auth-consent{align-items:flex-start;margin:14px 0}.auth-consent input{margin-top:2px;flex:none}.auth-link{border:0;background:none;color:#7ccaff;font:inherit;font-size:12px;cursor:pointer}.auth-link:hover{text-decoration:underline}.auth-submit{width:100%;height:48px;margin:7px 0;border:1px solid #28bd8c;border-radius:8px;background:linear-gradient(110deg,#16a66e,#1bc28a);color:white;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 8px 24px #13ae7030}.auth-submit:hover{filter:brightness(1.08);box-shadow:0 0 18px #20c98b55}.auth-submit:disabled{opacity:.55;cursor:wait}.auth-message,.auth-setup{margin-top:14px;padding:12px 13px;border:1px solid #324b62;border-radius:8px;background:#102033;color:#c7d8e7;font-size:12px;line-height:1.55}.auth-message.error{border-color:#8a4147;background:#321c27;color:#ffd9dc}.auth-setup{display:grid;gap:5px;border-color:#7b6438;background:#282315}.auth-setup b{color:#f0d391}.auth-privacy{display:block;margin-top:21px;color:#8598ad;font-size:10px;line-height:1.55;text-align:center}
.identity-verification{display:grid;gap:10px;margin:12px 0;padding:13px 14px}.verification-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:750}.kyc-badge{padding:4px 8px;border-radius:999px;background:#344054;color:#d5deea;font-size:10px}.kyc-badge.pending{background:#56451e;color:#ffdc80}.kyc-badge.approved{background:#123e31;color:#80e3b4}.kyc-badge.rejected{background:#512b31;color:#ffabb0}.identity-verification p{margin:0;color:#a9b9cb;font-size:11px;line-height:1.5}.kyc-upload-form{display:grid;gap:9px}.kyc-upload-form label{display:grid;gap:5px;color:#b9c8d7;font-size:11px}.kyc-upload-form input[type=file]{width:100%;color:#9fb2c6;font-size:10px}.kyc-upload-form button,.kyc-review-actions button{min-height:34px;border:1px solid #39779c;border-radius:6px;background:#173650;color:#eaf6ff;font-weight:750;cursor:pointer}.kyc-upload-form button:hover,.kyc-review-actions button:hover{background:#205375}.kyc-upload-form small{color:#8298ae;font-size:10px;line-height:1.45}.kyc-upload-form[hidden]{display:none}.admin-kyc{margin:12px 0;padding:13px 14px}.admin-kyc-list{display:grid;gap:9px;margin-top:10px}.kyc-review-row{display:grid;gap:7px;padding:10px;border:1px solid #34445a;border-radius:7px;background:#111d2c}.kyc-review-row>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:11px}.kyc-review-row a{color:#84ccff;font-size:11px}.kyc-review-actions{display:flex;gap:7px}.kyc-review-actions button{min-height:29px;padding:0 10px;font-size:10px}.kyc-review-actions .reject{border-color:#91434c;background:#40232c}
@media(max-width:850px){.welcome{grid-template-columns:1fr}.welcome-story{min-height:38dvh;padding:24px 25px 32px}.welcome-copy{margin:5vh 0 2vh}.welcome-copy h1{font-size:clamp(40px,10vw,64px)}.welcome-copy p{font-size:14px}.welcome-points{margin-top:15px}.welcome-foot{font-size:10px}.auth-panel{width:min(100%,540px);box-sizing:border-box;padding:28px 24px 38px}}
.verification-badge.verified{background:#18a66d;box-shadow:0 0 10px #22c98455}.admin-kyc>button{min-height:30px;margin-top:8px;border:1px solid #38556d;border-radius:6px;background:#152a3d;color:#b9d7eb;font-size:10px;font-weight:700;cursor:pointer}
.auth-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-name-grid>label{display:grid;gap:8px;margin:15px 0;color:#cfdae6;font-size:12px;font-weight:650}
.country-select-wrap{position:relative;margin:-7px 0 15px}.country-select{display:flex;width:100%;height:46px;align-items:center;gap:10px;border:1px solid #33465c;border-radius:7px;padding:0 13px;background:#111e2e;color:#f4f8fc;text-align:left;font:inherit;cursor:pointer}.country-select>span:nth-child(2){flex:1}.country-select:hover,.country-select[aria-expanded=true]{border-color:#67bdf5}
.country-drawer{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;max-height:300px;padding:8px;border:1px solid #36516b;border-radius:9px;background:#101d2d;box-shadow:0 14px 35px #0009}.country-drawer[hidden]{display:none}.country-drawer>input{width:100%;height:40px;box-sizing:border-box;margin-bottom:7px;border:1px solid #33465c;border-radius:6px;padding:0 10px;background:#0b1725;color:#fff;font:inherit}.country-drawer>div{max-height:235px;overflow:auto}.country-option{display:flex;width:100%;align-items:center;gap:11px;border:0;border-radius:5px;padding:8px 9px;background:transparent;color:#dce9f5;text-align:left;font:inherit;cursor:pointer}.country-option:hover,.country-option[aria-selected=true]{background:#203a54}.country-empty{padding:8px;color:#9fb0c3;font-size:12px}.auth-resend{display:block;margin:8px auto;text-align:center}
@media(max-width:460px){.auth-name-grid{grid-template-columns:1fr;gap:0}}
.northstar-mark{display:block;width:30px;height:30px;flex:0 0 auto;object-fit:contain;filter:drop-shadow(0 1px 3px #0008)}
.welcome-brand .northstar-mark{width:48px;height:48px}
.sidebar-brand .northstar-mark{width:29px;height:29px}
.top-brand .northstar-mark{width:26px;height:26px}
