/* ============ DhakaPay Design System ============ */
:root{
  --bg:#F6F7F5; --surface:#FFFFFF; --surface-raised:#FFFFFF; --border:#E3E5E1;
  --text:#12181B; --text-muted:#5B6560; --text-faint:#8B948E;
  --brand:#0B4A3D; --brand-contrast:#F6F7F5; --brand-soft:#E3F3EF; --brand-accent:#00BFA0;
  --success:#1E7A46; --success-bg:#E8F3EC;
  --warning:#9A6A12; --warning-bg:#FBF1DE;
  --error:#B3311E; --error-bg:#FBEAE7;
  --focus:#14342B; --radius:10px;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
:root[data-theme="dark"]{
  --bg:#0B0F0E; --surface:#131917; --surface-raised:#1A211E; --border:#26302C;
  --text:#EDEFEC; --text-muted:#9BA5A0; --text-faint:#6C756F;
  --brand:#00D9B5; --brand-contrast:#0B0F0E; --brand-soft:#123A32; --brand-accent:#00D9B5;
  --success:#5CC98C; --success-bg:#173425;
  --warning:#E0AE55; --warning-bg:#332811;
  --error:#E38375; --error-bg:#331D18; --focus:#7FE0B3;
}
html{scroll-padding-top:env(safe-area-inset-top,0px); height:100%;}
*{box-sizing:border-box;}
body{height:100%; margin:0; background:var(--bg); color:var(--text);
  font-family:'Inter',system-ui,-apple-system,sans-serif; -webkit-font-smoothing:antialiased;}
button,input,select,textarea{font-family:inherit;}
a{color:inherit; text-decoration:none;}
:focus-visible{outline:2px solid var(--focus); outline-offset:2px;}
h1,h2,h3,p{margin:0;}

/* Layout shell */
.app{display:flex; min-height:100vh;}
.sidebar{width:232px; flex-shrink:0; background:var(--surface); border-right:1px solid var(--border);
  display:flex; flex-direction:column; padding:20px 12px; position:sticky; top:0; height:100vh;}
.brand{display:flex; align-items:center; gap:9px; padding:6px 10px 22px;}
.brand-mark{width:26px; height:26px; object-fit:contain; flex-shrink:0; display:block;}
.brand-name{font-weight:700; font-size:15px; letter-spacing:-0.01em;}
.brand-name-pay{color:var(--brand-accent);}
.nav{display:flex; flex-direction:column; gap:2px;}
.nav-item{display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:8px; font-size:14px;
  font-weight:500; color:var(--text-muted); text-decoration:none; border:none; background:none; cursor:pointer; width:100%; text-align:left;}
.nav-item svg{flex-shrink:0;}
.nav-item:hover{background:var(--bg); color:var(--text);}
.nav-item.active{background:var(--surface-raised); color:var(--text); box-shadow:inset 0 0 0 1px var(--border);}
.sidebar-foot{margin-top:auto; padding-top:14px; border-top:1px solid var(--border);}
.user-row{display:flex; align-items:center; gap:9px; padding:8px 10px; border-radius:8px;}
.avatar{width:30px; height:30px; border-radius:50%; background:var(--brand); color:var(--brand-contrast);
  display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex-shrink:0;}
.user-meta{min-width:0;}
.user-name{font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.user-id{font-size:11.5px; color:var(--text-faint);}
.main{flex:1; min-width:0; padding:22px 28px 96px; max-width:820px; margin:0 auto; width:100%;}
.main.wide{max-width:960px;}
.topbar{display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; gap:12px;}
.topbar-title{font-size:19px; font-weight:600; letter-spacing:-0.01em;}
.topbar-sub{font-size:13px; color:var(--text-muted); margin-top:2px;}
.topbar-actions{display:flex; gap:8px; flex-shrink:0;}
.back-row{display:flex; align-items:center; gap:10px; margin-bottom:18px;}
.icon-btn{width:36px; height:36px; border-radius:8px; border:1px solid var(--border); background:var(--surface);
  display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--text-muted); flex-shrink:0;}
.icon-btn:hover{color:var(--text); background:var(--bg);}
.bottom-nav{display:none;}

.mobile-brand-badge{display:none;}

@media (max-width:900px){
  .sidebar{display:none;}
  .main{padding:16px 16px 100px; max-width:none;}
  .mobile-brand-badge{display:flex; align-items:center; gap:8px; margin-bottom:16px; text-decoration:none;}
  .mobile-brand-badge img{width:24px; height:24px; object-fit:contain;}
  .bottom-nav{display:flex; position:fixed; left:0; right:0; bottom:0; background:var(--surface);
    border-top:1px solid var(--border); padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px));
    justify-content:space-around; z-index:20;}
  .bn-item{display:flex; flex-direction:column; align-items:center; gap:3px; background:none; border:none;
    color:var(--text-faint); font-size:10.5px; font-weight:500; padding:4px 10px; cursor:pointer; min-width:52px;}
  .bn-item.active{color:var(--brand);}
}

/* Cards & panels */
.panel{background:var(--surface); border:1px solid var(--border); border-radius:12px; overflow:hidden;}
.card{background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:18px;}
.balance-card{background:var(--brand); color:var(--brand-contrast); border-radius:14px; padding:22px 22px 20px; margin-bottom:16px;}
.balance-label{font-size:12.5px; opacity:0.72; font-weight:500;}
.balance-amount{font-size:34px; font-weight:700; letter-spacing:-0.02em; margin-top:6px; font-variant-numeric:tabular-nums;}
.balance-sub{font-size:13px; opacity:0.72; margin-top:3px; font-variant-numeric:tabular-nums;}
.action-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:18px;}
.action-btn{display:flex; flex-direction:column; align-items:center; gap:6px; padding:11px 4px;
  background:rgba(246,247,245,0.12); border:1px solid rgba(246,247,245,0.18); border-radius:10px;
  color:var(--brand-contrast); font-size:12px; font-weight:500; cursor:pointer;}
:root[data-theme="dark"] .action-btn{background:rgba(14,18,16,0.35); border-color:rgba(14,18,16,0.4);}
.action-btn:hover{background:rgba(246,247,245,0.2);}
:root[data-theme="dark"] .action-btn:hover{background:rgba(14,18,16,0.5);}

.section{margin-top:26px;}
.section-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px;}
.section-title{font-size:14px; font-weight:600;}
.section-link{font-size:12.5px; color:var(--text-muted); background:none; border:none; cursor:pointer; padding:0;}
.section-link:hover{color:var(--text);}

.tx-row{display:flex; align-items:center; gap:12px; padding:13px 16px; border-bottom:1px solid var(--border); cursor:pointer;}
.tx-row:last-child{border-bottom:none;}
.tx-row:hover{background:var(--bg);}
.tx-icon{width:34px; height:34px; border-radius:9px; display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.tx-icon.in{background:var(--success-bg); color:var(--success);}
.tx-icon.out{background:var(--bg); color:var(--text-muted);}
.tx-main{flex:1; min-width:0;}
.tx-title{font-size:13.5px; font-weight:500;}
.tx-date{font-size:12px; color:var(--text-faint); margin-top:1px;}
.tx-amount{font-size:13.5px; font-weight:600; font-variant-numeric:tabular-nums; text-align:right;}
.tx-amount.in{color:var(--success);}
.tx-status{font-size:11px; margin-top:2px; text-align:right;}
.badge{display:inline-flex; padding:2px 7px; border-radius:5px; font-size:11px; font-weight:500;}
.badge.pending{background:var(--warning-bg); color:var(--warning);}
.badge.failed{background:var(--error-bg); color:var(--error);}
.badge.success{background:var(--success-bg); color:var(--success);}

.security-panel{display:flex; align-items:center; gap:13px; padding:15px 16px;}
.security-icon{width:38px; height:38px; border-radius:10px; background:var(--success-bg); color:var(--success);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.security-title{font-size:13.5px; font-weight:600;}
.security-sub{font-size:12.5px; color:var(--text-muted); margin-top:1px;}
.security-link{margin-left:auto; font-size:12.5px; color:var(--text-muted); background:none; border:none; cursor:pointer; white-space:nowrap;}
.security-link:hover{color:var(--text);}

.empty{padding:36px 16px; text-align:center;}
.empty-title{font-size:13.5px; font-weight:600;}
.empty-sub{font-size:12.5px; color:var(--text-muted); margin-top:4px; line-height:1.5;}

/* Forms */
.field{margin-bottom:14px;}
.field-label{font-size:12.5px; color:var(--text-muted); margin-bottom:6px; display:block;}
.amount-input-row{display:flex; align-items:center; border:1px solid var(--border); border-radius:10px; overflow:hidden; background:var(--bg);}
.amount-prefix{padding:0 12px; font-size:14px; color:var(--text-muted); font-weight:500; border-right:1px solid var(--border);}
.amount-input-row input{border:none; background:none; padding:11px 12px; font-size:16px; font-weight:600; width:100%; color:var(--text); font-variant-numeric:tabular-nums;}
.amount-input-row input:focus{outline:none;}
.text-input{width:100%; border:1px solid var(--border); border-radius:10px; padding:11px 12px; font-size:14px; background:var(--surface); color:var(--text);}
.text-input:focus{outline:none; border-color:var(--focus);}
select.text-input{appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6560' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; padding-right:34px;}
.summary-row{display:flex; justify-content:space-between; padding:9px 0; font-size:13px; border-bottom:1px solid var(--border);}
.summary-row:last-of-type{border-bottom:none; font-weight:600; padding-top:11px;}
.summary-label{color:var(--text-muted);}
.summary-row:last-of-type .summary-label{color:var(--text);}
.btn{width:100%; padding:12px; border-radius:10px; font-size:14px; font-weight:600; cursor:pointer; border:none; margin-top:16px; display:flex; align-items:center; justify-content:center; gap:8px;}
.btn-primary{background:var(--brand); color:var(--brand-contrast);}
.btn-primary:hover{opacity:0.92;}
.btn-primary:disabled{opacity:0.4; cursor:not-allowed;}
.btn-secondary{background:var(--surface); color:var(--text); border:1px solid var(--border);}
.btn-secondary:hover{background:var(--bg);}
.btn-danger{background:var(--error-bg); color:var(--error);}
.btn-sm{width:auto; padding:8px 14px; margin-top:0; font-size:13px;}

/* Method / option tiles */
.option-list{display:flex; flex-direction:column; gap:8px;}
.option-tile{display:flex; align-items:center; gap:12px; padding:14px 15px; border:1px solid var(--border); border-radius:12px; background:var(--surface); cursor:pointer; text-align:left;}
.option-tile:hover{border-color:var(--text-faint);}
.option-tile.selected{border-color:var(--brand); box-shadow:0 0 0 1px var(--brand);}
.option-icon{width:38px; height:38px; border-radius:10px; background:var(--brand-soft); color:var(--brand); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.option-main{flex:1; min-width:0;}
.option-title{font-size:13.5px; font-weight:600;}
.option-sub{font-size:12px; color:var(--text-muted); margin-top:1px;}

/* Tabs */
.tabs{display:flex; gap:4px; background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:4px; margin-bottom:20px;}
.tab{flex:1; text-align:center; padding:8px; border-radius:7px; font-size:13.5px; font-weight:600; color:var(--text-muted); background:none; border:none; cursor:pointer;}
.tab.active{background:var(--brand); color:var(--brand-contrast);}

/* Modal */
.modal-overlay{position:fixed; inset:0; background:rgba(10,12,11,0.5); display:none; align-items:flex-end; justify-content:center; z-index:50;}
.modal-overlay.open{display:flex;}
.modal{background:var(--surface); width:100%; max-width:420px; border-radius:16px 16px 0 0; padding:18px 18px calc(20px + env(safe-area-inset-bottom,0px)); max-height:88vh; overflow-y:auto; animation:slideUp .18s ease-out;}
@media (min-width:640px){.modal-overlay{align-items:center;} .modal{border-radius:14px; padding:22px;}}
@keyframes slideUp{from{transform:translateY(16px); opacity:0;} to{transform:translateY(0); opacity:1;}}
.modal-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;}
.modal-title{font-size:15.5px; font-weight:600;}

/* Auth / onboarding */
.auth-shell{min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px;}
.auth-card{width:100%; max-width:400px;}
.auth-logo{display:flex; align-items:center; gap:9px; margin-bottom:28px; justify-content:center;}
.auth-logo .brand-mark{width:32px; height:32px;}
.auth-title{font-size:20px; font-weight:700; text-align:center; letter-spacing:-0.01em;}
.auth-sub{font-size:13.5px; color:var(--text-muted); text-align:center; margin-top:5px; margin-bottom:24px;}
.divider{display:flex; align-items:center; gap:10px; margin:18px 0; color:var(--text-faint); font-size:12px;}
.divider::before,.divider::after{content:""; flex:1; height:1px; background:var(--border);}
.oauth-btn{width:100%; padding:11px; border-radius:10px; border:1px solid var(--border); background:var(--surface); font-size:14px; font-weight:600; display:flex; align-items:center; justify-content:center; gap:9px; cursor:pointer;}
.oauth-btn:hover{background:var(--bg);}
.auth-footer{text-align:center; font-size:13px; color:var(--text-muted); margin-top:18px;}
.auth-footer button{background:none; border:none; color:var(--brand); font-weight:600; cursor:pointer; padding:0;}

.stepper{display:flex; gap:6px; margin-bottom:22px;}
.step-dot{flex:1; height:3px; border-radius:2px; background:var(--border);}
.step-dot.done{background:var(--brand);}

.country-grid{display:grid; grid-template-columns:1fr 1fr; gap:8px;}
.country-tile{display:flex; align-items:center; gap:10px; padding:13px; border:1px solid var(--border); border-radius:10px; cursor:pointer; background:var(--surface);}
.country-tile:hover{border-color:var(--text-faint);}
.country-tile.selected{border-color:var(--brand); box-shadow:0 0 0 1px var(--brand);}
.flag{font-size:20px;}
.country-name{font-size:13px; font-weight:600;}
.country-currency{font-size:11px; color:var(--text-faint);}

.seed-grid{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:18px 0;}
.seed-word{display:flex; align-items:center; gap:8px; padding:10px 12px; background:var(--bg); border:1px solid var(--border); border-radius:8px; font-size:13.5px; font-weight:600; font-variant-numeric:tabular-nums;}
.seed-num{color:var(--text-faint); font-weight:500; width:16px; flex-shrink:0;}
.warning-box{display:flex; gap:10px; padding:13px 14px; background:var(--warning-bg); border-radius:10px; margin-bottom:16px;}
.warning-box svg{color:var(--warning); flex-shrink:0; margin-top:1px;}
.warning-text{font-size:12.5px; color:var(--text); line-height:1.5;}
.warning-text strong{display:block; margin-bottom:2px;}

.otp-row{display:flex; gap:8px;}
.otp-box{width:100%; aspect-ratio:1; text-align:center; font-size:18px; font-weight:700; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--text);}
.otp-box:focus{outline:none; border-color:var(--focus);}

.qr-box{display:flex; flex-direction:column; align-items:center; padding:24px; background:var(--surface); border:1px solid var(--border); border-radius:14px;}
#qrcode{padding:12px; background:#fff; border-radius:10px;}
#qrcode img{display:block;}

.toggle{position:relative; width:42px; height:24px; flex-shrink:0;}
.toggle input{opacity:0; width:0; height:0;}
.toggle-track{position:absolute; inset:0; background:var(--border); border-radius:999px; cursor:pointer; transition:.15s;}
.toggle-track::before{content:""; position:absolute; width:18px; height:18px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.15s;}
.toggle input:checked + .toggle-track{background:var(--brand);}
.toggle input:checked + .toggle-track::before{transform:translateX(18px);}

.list-item{display:flex; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid var(--border);}
.list-item:last-child{border-bottom:none;}
.list-item-icon{width:36px; height:36px; border-radius:9px; background:var(--brand-soft); color:var(--brand); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.list-item-main{flex:1; min-width:0;}
.list-item-title{font-size:13.5px; font-weight:600;}
.list-item-sub{font-size:12px; color:var(--text-muted); margin-top:1px;}

.search-input{position:relative;}
.search-input svg{position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--text-faint);}
.search-input input{padding-left:36px;}

.filter-row{display:flex; gap:8px; overflow-x:auto; margin-bottom:16px; padding-bottom:2px;}
.filter-chip{flex-shrink:0; padding:7px 14px; border-radius:999px; border:1px solid var(--border); background:var(--surface); font-size:12.5px; font-weight:500; color:var(--text-muted); cursor:pointer; white-space:nowrap;}
.filter-chip.active{background:var(--brand); border-color:var(--brand); color:var(--brand-contrast);}

.wallet-card{background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:18px; display:flex; align-items:center; gap:14px; cursor:pointer;}
.wallet-card:hover{border-color:var(--text-faint);}
.wallet-glyph{width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0;}

/* Landing page */
.lp-header{display:flex; align-items:center; justify-content:space-between; padding:18px 32px; border-bottom:1px solid var(--border); position:sticky; top:0; background:var(--bg); z-index:10;}
.lp-nav{display:flex; gap:26px; align-items:center;}
.lp-nav a{font-size:13.5px; font-weight:500; color:var(--text-muted);}
.lp-nav a:hover{color:var(--text);}
.lp-hero{max-width:640px; margin:0 auto; text-align:center; padding:80px 24px 56px;}
.lp-hero h1{font-size:42px; font-weight:700; letter-spacing:-0.02em; line-height:1.1;}
.lp-hero p{font-size:16px; color:var(--text-muted); margin-top:16px; line-height:1.6;}
.lp-cta-row{display:flex; gap:10px; justify-content:center; margin-top:26px;}
.lp-cta-row .btn{width:auto; padding:12px 22px; margin-top:0;}
.lp-section{max-width:960px; margin:0 auto; padding:48px 24px;}
.lp-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:8px;}
@media (max-width:800px){.lp-grid{grid-template-columns:1fr;} .lp-hero h1{font-size:32px;}}
.lp-feature{padding:20px; border:1px solid var(--border); border-radius:12px; background:var(--surface);}
.lp-feature-icon{width:36px; height:36px; border-radius:9px; background:var(--brand-soft); color:var(--brand); display:flex; align-items:center; justify-content:center; margin-bottom:12px;}
.lp-feature h3{font-size:14.5px; font-weight:600; margin-bottom:6px;}
.lp-feature p{font-size:13px; color:var(--text-muted); line-height:1.5;}
.lp-footer{border-top:1px solid var(--border); padding:24px 32px; display:flex; justify-content:space-between; align-items:center; font-size:12.5px; color:var(--text-faint);}

.container-narrow{max-width:420px; margin:0 auto; width:100%;}


/* Virtual wallet card — Cardtonic-style */
.wallet-virtual-card{border-radius:18px; padding:20px; color:#fff; position:relative; overflow:hidden; margin-bottom:10px; min-height:158px; display:flex; flex-direction:column; justify-content:space-between;}
.vc-top{display:flex; justify-content:space-between; align-items:flex-start; gap:10px;}
.vc-balance-label{font-size:11.5px; opacity:0.8;}
.vc-balance{font-size:25px; font-weight:700; margin-top:2px; font-variant-numeric:tabular-nums;}
.vc-sub{font-size:11.5px; opacity:0.78; margin-top:2px;}
.vc-badge{background:rgba(255,255,255,0.22); border-radius:999px; padding:3px 10px; font-size:10.5px; font-weight:600; white-space:nowrap;}
.vc-mid{margin-top:14px;}
.vc-name{font-size:13.5px; font-weight:600;}
.vc-tag{font-size:11.5px; opacity:0.85; margin-top:1px;}
.vc-bottom{display:flex; justify-content:space-between; align-items:flex-end; margin-top:10px; gap:8px;}
.vc-phone{font-size:11px; opacity:0.8; letter-spacing:0.4px;}
.wallet-virtual-card.frozen{filter:grayscale(0.7) brightness(0.8);}
.vc-frozen-banner{position:absolute; inset:0; background:rgba(0,0,0,0.5); display:flex; align-items:center; justify-content:center; font-size:12.5px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase;}
.vc-action-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:20px;}
.vc-action{display:flex; flex-direction:column; align-items:center; gap:6px; padding:11px 2px; background:var(--surface); border:1px solid var(--border); border-radius:12px; cursor:pointer; font-size:11.5px; font-weight:500; color:var(--text); text-decoration:none;}
.vc-action-icon{width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--brand-soft); color:var(--brand);}
.vc-action.danger .vc-action-icon{background:var(--error-bg); color:var(--error);}
.color-swatch-row{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px;}
.color-swatch{width:34px; height:34px; border-radius:50%; cursor:pointer; border:3px solid transparent; box-shadow:0 0 0 1px var(--border);}
.color-swatch.selected{border-color:var(--text);}

@keyframes dp-shimmer{0%{background-position:-200px 0}100%{background-position:200px 0}}
.skeleton{color:transparent !important; border-radius:8px; background:linear-gradient(90deg, rgba(255,255,255,.12) 25%, rgba(255,255,255,.3) 37%, rgba(255,255,255,.12) 63%); background-size:400px 100%; animation:dp-shimmer 1.2s infinite linear; min-width:150px; display:inline-block;}
.copy-btn{background:rgba(255,255,255,.2); border:none; color:inherit; border-radius:7px; padding:4px 6px; cursor:pointer; display:inline-flex; align-items:center;}

/* App chrome: the side menu slides out (hamburger), top bar carries Wallets / Settings / theme */
.app-header{position:fixed; top:0; left:0; right:0; z-index:30; display:flex; align-items:center; gap:8px; min-height:54px; padding:env(safe-area-inset-top,0px) 12px 0; background:var(--bg); border-bottom:1px solid var(--border);}
.app-header .brand-link{display:flex; align-items:center; gap:8px; text-decoration:none; color:inherit; margin-right:auto; min-width:0;}
.hdr-btn{width:38px; height:38px; border-radius:10px; border:1px solid var(--border); background:var(--surface); color:var(--text-muted); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; text-decoration:none; flex-shrink:0;}
.hdr-btn:hover{color:var(--text); background:var(--bg);}
body.has-header .main{padding-top:calc(70px + env(safe-area-inset-top,0px));}
.sidebar{position:fixed; top:0; left:0; bottom:0; height:auto; width:272px; max-width:84vw; transform:translateX(-105%); transition:transform .22s ease; z-index:160; display:flex; overflow-y:auto;}
.sidebar.open{transform:none; box-shadow:8px 0 30px rgba(0,0,0,0.25);}
.drawer-scrim{position:fixed; inset:0; background:rgba(10,12,11,0.45); z-index:150; opacity:0; pointer-events:none; transition:opacity .2s;}
.drawer-scrim.open{opacity:1; pointer-events:auto;}
.mobile-brand-badge{display:none !important;}

.seed-blur{filter:blur(9px); user-select:none;}

/* Loader: the animated D logo (assets/loader.svg) */
.brand-loader{width:112px; margin:0 auto 14px;}
.brand-loader img{width:100%; height:auto; display:block;}
#dpSplash{position:fixed; inset:0; z-index:120; background:var(--bg); display:flex; align-items:center; justify-content:center; transition:opacity .25s ease;}
#dpSplash img{width:140px; height:auto;}
