/* NestStore — single theme: Neumorphism / Soft UI */
:root,html[data-theme="neumorphism"]{
  color-scheme:light;
  --bg:#e8edf5;--ink:#26334a;--text:#3e4b61;--muted:#738096;--faint:#9aa6b8;
  --line:#d5ddea;--surface:#e8edf5;--soft:#e2e8f1;--brand:#2864df;
  --p1:#4d84ef;--p2:#2864df;--p3:#1f50bd;--teal:#2864df;--navy:#26334a;--navy2:#35445e;--indigo:#2864df;--sky:#9bb9f3;
  --gold:#2864df;--ok:#2864df;--danger:#bd5260;--warn:#a47a36;
  --r:22px;--r-sm:15px;--tabbar-h:88px;
  --shadow-card:8px 8px 18px #c7cfdb,-8px -8px 18px #ffffff;
  --shadow-lift:12px 12px 24px #c3cbd8,-12px -12px 24px #ffffff;
}
html,body{background:var(--bg);color:var(--text)}
body::before,.admin-body::before{background:var(--bg)!important;opacity:1!important}
::selection{background:rgba(40,100,223,.18);color:var(--ink)}
:is(h1,h2,h3,h4,.display,.h2,.h3,.page-head h1,.num,.price,.label,strong,b){color:var(--ink)}
em{background:none;color:var(--brand)}
.eyebrow,.link,.saldo-pill,.badge-solid{color:var(--brand)}
.card,.stat,.sc-card,.ol,.faq,.help-tile,.urow,.price-item,.choice .body,.empty,.flash,.pill,.saldo-pill,.tabs a,.back,.cat-back,.cat-search,.set-tabs a,.rank,.upl,.ch-row,.tg-guide,.float,.qr,.copy,.secret-box,.theme-opt,.hero-logo,.modal .sheet,.modal .sheet-h,.ld-card,.profile-heading,.profile-card,.profile-stat,.profile-info-table,.profile-edit-panel,.profile-password,.a-card,.a-stat,.admin-card{
  background:var(--surface);color:var(--text);border:1px solid rgba(255,255,255,.72);
  box-shadow:var(--shadow-card);border-radius:var(--r);
}
.card-soft,.tag,.badge-gray,.note-soft,.sc-chip,.cm-row,.chip,.upl .pv,th,.src-badge,.steps-dots i{
  background:var(--soft);color:var(--muted);box-shadow:inset 3px 3px 7px #cbd3df,inset -3px -3px 7px #fff;border:0;
}
.card-soft{border-radius:var(--r-sm)}
:is(.nav,.a-top,.a-side,.tabbar,.checkout-bar,.footer){background:var(--bg)!important;border-color:var(--line)!important;box-shadow:4px 4px 12px #c9d1de,-4px -4px 12px #fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.nav-links,.tab-bubble,.nav-bubble,.set-tabs{background:var(--bg);border:0;box-shadow:inset 4px 4px 8px #cbd3df,inset -4px -4px 8px #fff}
.nav-links a.active,.tabbar a.active,.nav-links a.active:hover{background:var(--bg);color:var(--brand);box-shadow:inset 3px 3px 7px #cbd3df,inset -3px -3px 7px #fff;border:0}
.btn,.btn-light,.btn-ghost,.btn-danger,.pp,.btn-icon{
  background:var(--bg);color:var(--ink);border:1px solid rgba(255,255,255,.65);border-radius:var(--r-sm);
  box-shadow:5px 5px 11px #c7cfdb,-5px -5px 11px #fff;transition:box-shadow .18s,transform .18s,color .18s;
}
.btn:hover,.btn-light:hover,.btn-ghost:hover,.pp:hover{transform:translateY(-1px);filter:none;box-shadow:7px 7px 13px #c4ccd9,-7px -7px 13px #fff}
.btn:active,.btn-light:active,.btn-ghost:active,.pp:active{transform:translateY(0);box-shadow:inset 4px 4px 8px #c7cfdb,inset -4px -4px 8px #fff}
.btn:not(.btn-ghost):not(.btn-light):not(.btn-danger),.btn-primary,.btn-brand,.pp.is-play{background:linear-gradient(145deg,#4d84ef,#2864df);color:#fff;border:0;box-shadow:5px 5px 12px #c5ccda,-4px -4px 10px #fff}
.btn-danger{background:#bd5260;color:#fff}
:is(input[type=text],input[type=email],input[type=password],input[type=number],input[type=search],input[type=url],input[type=file],select,textarea){
  background:var(--bg)!important;color:var(--ink)!important;border:1px solid #d7deea!important;border-radius:var(--r-sm)!important;
  box-shadow:inset 4px 4px 8px #cbd3df,inset -4px -4px 8px #fff!important;
}
:is(input,select,textarea):focus{outline:none!important;border-color:rgba(40,100,223,.65)!important;box-shadow:inset 3px 3px 6px #cbd3df,inset -3px -3px 6px #fff,0 0 0 2px rgba(40,100,223,.12)!important}
::placeholder{color:#9aa6b8!important;opacity:1}
:is(.ico,.platform-pill,.no,.badge-solid,.status-dot.on,.step .no){background:var(--bg)!important;color:var(--brand)!important;border:0!important;box-shadow:5px 5px 10px #c8d0dd,-5px -5px 10px #fff!important}
:is(.ico,.platform-pill) .i{color:var(--brand)}
:is(.card-hero,.bal-bar,.hero){background:var(--bg)!important;color:var(--ink)!important;box-shadow:var(--shadow-card)!important}
.card-hero :is(.eyebrow,.muted,.small,.num){color:var(--ink)!important}
.faq,details.card{border:1px solid rgba(255,255,255,.7)}
.rule,.sep-title{border-color:var(--line)!important;background:transparent}
.table-wrap,table,.profile-info-table{background:var(--bg);border-color:var(--line)}
th,.table th{background:var(--soft)!important}
:is(.modal .sheet,.pop-card,.cm-card,.ld-card){background:var(--bg)!important;color:var(--text)!important;box-shadow:12px 12px 24px #c5cdda,-12px -12px 24px #fff!important}
.footer{color:var(--muted)}
/* Profile page */
.profile-page{max-width:850px;padding-top:28px;padding-bottom:40px}
.profile-heading{display:flex;align-items:center;gap:16px;padding:18px 22px;margin-bottom:20px;border-left:5px solid var(--brand)}
.profile-heading-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#4d84ef,#2864df);color:white;box-shadow:5px 5px 12px #c5ccda,-4px -4px 10px #fff}
.profile-heading-icon .i{width:27px;height:27px}
.profile-heading h1{font-size:23px;line-height:1.2;font-weight:800}
.profile-heading p{margin-top:4px;color:var(--muted);font-size:14px}
.profile-card{overflow:hidden;padding:0 22px 22px}
.profile-cover{height:138px;margin:0 -22px;background:linear-gradient(110deg,#2454c5,#3478eb 55%,#51b5e8);box-shadow:inset 0 -1px 0 rgba(255,255,255,.35)}
.profile-identity{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:-64px;position:relative}
.profile-avatar-wrap{width:126px;height:126px;padding:7px;border-radius:50%;background:var(--bg);box-shadow:6px 6px 14px #c4ccd9,-6px -6px 14px #fff;display:grid;place-items:center}
.profile-avatar{width:100%;height:100%;display:grid;place-items:center;object-fit:cover;border-radius:50%;background:#dce7fb;color:#245acb;font-size:44px;font-weight:800;border:4px solid #fff}
.profile-identity h2{font-size:25px;font-weight:800;margin-top:14px;line-height:1.2}
.profile-handle{color:var(--muted);font-size:15px;margin-top:4px}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:28px 0 22px}
.profile-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:90px;padding:14px 8px;background:var(--bg);box-shadow:inset 4px 4px 8px #d0d8e4,inset -4px -4px 8px #fff;border:0;border-radius:18px;min-width:0}
.profile-stat strong{font-size:20px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}
.profile-stat span{font-size:13px;color:var(--muted);margin-top:3px}
.profile-info-table{overflow:hidden;border:1px solid #d5ddea;box-shadow:none;border-radius:18px;background:transparent}
.profile-info-row{display:grid;grid-template-columns:minmax(125px,38%) 1fr;min-height:58px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.34)}
.profile-info-row:last-child{border-bottom:0}
.profile-info-row>span{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#edf2fb;color:#65738a;font-weight:700}
.profile-info-row>span .i{width:18px;height:18px}
.profile-info-row>strong{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 18px;color:var(--ink);overflow-wrap:anywhere}
.profile-verified{font-size:11px;color:var(--brand);font-weight:700}
.profile-edit-trigger{margin-top:20px;border-radius:999px;min-height:54px}
.profile-edit-panel{margin-top:16px}
.profile-upload-row{display:flex;align-items:center;gap:16px;margin:12px 0 18px}
.profile-upload-preview{width:76px;height:76px;flex:none;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--bg);box-shadow:inset 4px 4px 8px #cbd3df,inset -4px -4px 8px #fff;color:var(--brand);font-size:28px;font-weight:800}
.profile-upload-preview img{width:100%;height:100%;object-fit:cover}
.profile-password{margin-top:16px;padding:16px 18px}
.profile-password summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;font-weight:700;color:var(--ink);list-style:none}
.profile-password summary::-webkit-details-marker{display:none}
.profile-actions{margin-top:16px}
@media(max-width:560px){
  .profile-page{padding-left:14px;padding-right:14px}
  .profile-heading{padding:14px;gap:12px}
  .profile-heading-icon{width:50px;height:50px}
  .profile-cover{height:112px}
  .profile-identity{margin-top:-56px}
  .profile-avatar-wrap{width:112px;height:112px}
  .profile-identity h2{font-size:22px}
  .profile-stats{gap:8px;margin:22px 0 16px}
  .profile-stat{min-height:78px;padding:10px 5px}
  .profile-stat strong{font-size:16px}
  .profile-stat span{font-size:11px}
  .profile-info-row{grid-template-columns:116px 1fr;min-height:54px}
  .profile-info-row>span,.profile-info-row>strong{padding:12px 10px;font-size:13px;gap:6px}
  .profile-info-row>span .i{width:16px;height:16px}
}
