:root{
  --bg:#07111a;
  --panel:#0b1621;
  --panel-2:#101d29;
  --text:#f7f8fa;
  --muted:#9eafc0;
  --gold:#f6c84f;
  --orange:#ff7418;
  --line:rgba(255,255,255,.09);
}
*{box-sizing:border-box;border-radius:0!important}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--bg)}
body.wallet-onboarding-body{
  margin:0;
  min-width:0;
  min-height:100dvh;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 50% 8%,rgba(246,200,79,.08),transparent 26rem),
    linear-gradient(180deg,#0a141e 0%,#07111a 100%);
  color:var(--text);
  font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight:400;
}
body.wallet-onboarding-body img{display:block;max-width:100%;height:auto}
body.wallet-onboarding-body a{color:inherit}
.wallet-onboarding{
  width:100%;
  max-width:680px;
  min-height:100dvh;
  margin:0 auto;
  background:rgba(7,17,26,.82);
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
}
.wallet-onboarding-head{
  position:sticky;
  top:0;
  z-index:10;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  min-height:72px;
  padding:env(safe-area-inset-top) 18px 0;
  background:rgba(7,17,26,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
}
.wallet-onboarding-head h1{
  min-width:0;
  margin:0;
  overflow:hidden;
  color:#fff;
  font-size:20px;
  font-weight:600;
  line-height:1.25;
  letter-spacing:-.02em;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.wallet-back{
  display:grid;
  width:44px;
  height:44px;
  place-items:center;
  border:0;
  color:#fff!important;
  font-size:30px;
  line-height:1;
  text-decoration:none;
}
.wallet-onboarding-main{
  width:100%;
  padding:28px 28px calc(34px + env(safe-area-inset-bottom));
}
.wallet-art{
  position:relative;
  display:grid;
  width:100%;
  height:220px;
  margin:0 auto 20px;
  place-items:center;
  overflow:hidden;
}
.wallet-art::before{
  position:absolute;
  width:230px;
  height:230px;
  background:radial-gradient(circle,rgba(246,200,79,.18),rgba(246,200,79,.04) 44%,transparent 70%);
  content:"";
}
.wallet-card-art{
  position:absolute;
  width:130px;
  height:86px;
  transform:translate(12px,-43px) rotate(10deg);
  border:2px solid rgba(255,255,255,.9);
  background:linear-gradient(135deg,#50c9ff,#176db5 65%,#0a3768);
  box-shadow:0 16px 30px rgba(0,0,0,.35);
}
.wallet-shell-art{
  position:relative;
  display:grid;
  width:182px;
  height:120px;
  place-items:center;
  border:2px solid #eeb53a;
  background:linear-gradient(145deg,#1b2b3c,#080d14 64%);
  box-shadow:0 22px 44px rgba(0,0,0,.42),inset 0 0 0 1px rgba(255,255,255,.08);
}
.wallet-shell-art::after{
  position:absolute;
  top:39px;
  right:-2px;
  width:42px;
  height:38px;
  border:2px solid #eeb53a;
  background:#211a13;
  content:"";
}
.wallet-shell-art img{
  width:70px!important;
  height:70px!important;
  max-width:70px!important;
  object-fit:contain;
  filter:drop-shadow(0 7px 16px rgba(0,0,0,.35));
}
.wallet-intro{
  max-width:540px;
  margin:0 auto 28px;
  text-align:center;
}
.wallet-intro h2{
  margin:0 0 10px;
  color:#fff;
  font-size:30px;
  font-weight:600;
  line-height:1.18;
  letter-spacing:-.03em;
}
.wallet-intro p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}
.wallet-feature-list{
  display:grid;
  gap:14px;
  width:100%;
  margin:0 0 26px;
}
.wallet-feature{
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  gap:14px;
  align-items:center;
  min-width:0;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.wallet-feature:last-child{border-bottom:0}
.wallet-feature-icon{
  display:grid;
  width:56px;
  height:56px;
  place-items:center;
  border:1px solid rgba(246,200,79,.2);
  background:rgba(255,116,24,.08);
  color:#ff9a35;
  font-size:13px;
  font-weight:600;
}
.wallet-feature>div:last-child{min-width:0}
.wallet-feature h3{
  margin:0 0 4px;
  color:#fff;
  font-size:15px;
  font-weight:600;
  line-height:1.35;
}
.wallet-feature p{
  margin:0;
  color:#9dafc0;
  font-size:12px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.wallet-create-button{
  display:flex;
  width:100%;
  min-height:58px;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 18px;
  border:0;
  background:linear-gradient(90deg,#ff7418,#efa91e);
  box-shadow:0 12px 28px rgba(255,116,24,.16);
  color:#fff!important;
  font-size:15px;
  font-weight:600;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
}
.wallet-create-button span{font-size:20px;line-height:1}
.wallet-existing-link{
  display:block;
  width:100%;
  padding:17px 10px 5px;
  color:var(--gold)!important;
  font-size:12px;
  font-weight:500;
  text-align:center;
  text-decoration:none;
}
.wallet-stage-note{
  margin:17px 0 0;
  padding:16px 8px 0;
  border-top:1px solid var(--line);
  color:#6f8396;
  font-size:9px;
  line-height:1.55;
  text-align:center;
}
@media(min-width:768px){
  body.wallet-onboarding-body{padding:28px}
  .wallet-onboarding{
    min-height:calc(100dvh - 56px);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .wallet-onboarding-main{padding:30px 64px 46px}
  .wallet-art{height:235px}
  .wallet-intro h2{font-size:32px}
}
@media(max-width:520px){
  .wallet-onboarding{border-left:0;border-right:0}
  .wallet-onboarding-head{
    min-height:64px;
    grid-template-columns:40px minmax(0,1fr) 40px;
    padding-left:10px;
    padding-right:10px;
  }
  .wallet-onboarding-head h1{font-size:17px}
  .wallet-back{width:40px;height:40px;font-size:27px}
  .wallet-onboarding-main{padding:20px 16px calc(24px + env(safe-area-inset-bottom))}
  .wallet-art{height:170px;margin-bottom:10px}
  .wallet-card-art{width:101px;height:68px;transform:translate(8px,-33px) rotate(10deg)}
  .wallet-shell-art{width:145px;height:96px}
  .wallet-shell-art::after{top:31px;width:34px;height:31px}
  .wallet-shell-art img{width:55px!important;height:55px!important;max-width:55px!important}
  .wallet-intro{margin-bottom:20px}
  .wallet-intro h2{font-size:25px}
  .wallet-intro p{font-size:12px;line-height:1.65}
  .wallet-feature-list{gap:3px;margin-bottom:20px}
  .wallet-feature{grid-template-columns:48px minmax(0,1fr);gap:11px;padding:10px 0}
  .wallet-feature-icon{width:48px;height:48px;font-size:11px}
  .wallet-feature h3{font-size:14px}
  .wallet-feature p{font-size:11px}
  .wallet-create-button{min-height:54px;padding:13px 14px;font-size:14px}
  .wallet-existing-link{padding-top:14px}
  .wallet-stage-note{font-size:8px}
}
@media(max-width:360px){
  .wallet-onboarding-head h1{font-size:15px}
  .wallet-onboarding-main{padding-left:12px;padding-right:12px}
  .wallet-art{height:150px}
  .wallet-shell-art{width:132px;height:88px}
  .wallet-card-art{width:92px;height:62px;transform:translate(7px,-30px) rotate(10deg)}
  .wallet-shell-art::after{top:28px}
  .wallet-intro h2{font-size:22px}
  .wallet-feature{grid-template-columns:44px minmax(0,1fr)}
  .wallet-feature-icon{width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
