/* MannBets login / register theme: slate + soft blue. Loads last; only affects the auth screen. */
body:has(.mbx-auth){
  background:
    radial-gradient(620px 340px at 50% -60px,rgba(70,120,190,.14),transparent 70%),
    radial-gradient(520px 300px at 100% 100%,rgba(70,120,190,.05),transparent 70%),
    #0a0d12 !important;
  padding-bottom:24px !important;
}
body:has(.mbx-auth) header{display:none !important}

.mbx-auth{
  --mbx-card:#10151c;--mbx-card2:#141a22;--mbx-in:#0e131a;--mbx-line:#242d3a;
  --mbx-tx:#eef2f7;--mbx-mu:#8c98a9;--mbx-teal:#5b95db;
  --gold:#5b95db;--gold-hi:#8db8f0;--gold-lo:#3d74be;
  max-width:440px;margin:0 auto;padding:6px 18px 8px;color:var(--mbx-tx);
}

/* logo */
.mbx-hero{
  height:auto;background:none;border:0;border-radius:0;overflow:visible;
  margin:clamp(10px,4vh,34px) 0 6px;display:flex;justify-content:center;position:relative;
}
.mbx-hero:before{content:"";position:absolute;inset:-10% 8%;background:radial-gradient(closest-side,rgba(70,120,190,.18),transparent 75%);pointer-events:none}
.mbx-hero .mbx-logo{
  position:static;display:block;width:min(100%,400px);height:auto;object-fit:contain;
    animation:mbxLogoIn .7s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes mbxLogoIn{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mbx-hero .mbx-logo{animation:none}}

/* form area: flat, no card */
.mbx-sheet{background:none;border:0;border-radius:0;box-shadow:none;padding:0}
.mbx-tabs{gap:28px;border-bottom:1px solid var(--mbx-line);margin:0 0 6px}
.mbx-tabs button{font:800 22px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;padding:14px 0 12px;color:#667386}
.mbx-tabs button.on{color:#fff}
.mbx-tabs button.on:after{height:3px;background:linear-gradient(90deg,var(--gold-hi),var(--gold-lo))}
.mbx-field>label{color:#dde4ee;font-weight:700}

.mbx-input{background:var(--mbx-in);border:1.5px solid var(--mbx-line);border-radius:14px;height:54px}
.mbx-input:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px rgba(91,149,219,.18)}
.mbx-input svg{stroke:#8e9db1}
.mbx-input input::placeholder{color:#667285}
.mbx-input.ok{border-color:#5fc79a;box-shadow:0 0 0 3px rgba(95,199,154,.15)}

.mbx-link{color:var(--gold)}
.mbx-check a{color:var(--gold-hi)}
.mbx-check{color:#b3becd}
.mbx-box{background:var(--mbx-in);border-color:#445066}
.mbx-check input:checked+.mbx-box{background:var(--gold);border-color:var(--gold)}
.mbx-check input:checked+.mbx-box svg{stroke:#fff}
.mbx-promo-head{color:#a9b5c6}.mbx-promo-head svg{stroke:#a9b5c6}

/* buttons */
.mbx-pass{
  display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:54px;margin-top:16px;
  background:transparent;border:1.5px solid #2f3a4a;border-radius:14px;color:#eef2f7;
  font:750 16.5px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;cursor:pointer;touch-action:manipulation;transition:border-color .15s,background .15s;
}
.mbx-pass svg{width:21px;height:21px;stroke:var(--gold);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mbx-pass:hover{border-color:var(--gold);background:rgba(91,149,219,.07)}
.mbx-pass:focus-visible,.mbx-go:focus-visible,.mbx-social button:focus-visible,.mbx-tabs button:focus-visible{outline:2px solid var(--gold-hi);outline-offset:2px}

.mbx-go{
  height:56px;border-radius:14px;margin-top:12px;
  background:linear-gradient(180deg,var(--gold-hi) 0%,var(--gold) 45%,var(--gold-lo) 100%);
  color:#ffffff;font:850 17.5px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  box-shadow:0 10px 26px rgba(61,116,190,.30),inset 0 1px 0 rgba(255,255,255,.45);
}
.mbx-go:disabled{background:#151b24;color:#586578;box-shadow:none}

.mbx-or{color:#8592a4;margin:24px 0 14px}
.mbx-or:before,.mbx-or:after{background:var(--mbx-line)}
.mbx-social{gap:10px}
.mbx-social button{height:56px;border-radius:14px;border:1.5px solid var(--mbx-line);background:#111720;transition:border-color .15s,background .15s}
.mbx-social button:hover{border-color:#3a4a62;background:#151b24}
.mbx-social button:active{background:#18202b}
.mbx-foot{color:#7a8698;margin-top:18px}
.mbx-err{color:#ff8f8f}.mbx-ok{color:#7be0bd}

.mbx-err:empty{min-height:0;margin:0}
.mbx-pass{margin-top:22px}
html:has(.mbx-auth){background:#0a0d12 !important}
