:root{--np-orange:#ff8a00;--np-coral:#ff5e5e;--np-pink:#ff2d80;--np-navy:#111827;--np-bg:#f8fafc;--np-white:#fff;--np-border:#e5e7eb;--np-muted:#64748b;--np-success:#16a34a;--np-warning:#f59e0b;--np-error:#dc2626;--np-gradient:linear-gradient(135deg,#ff8a00 0%,#ff5e5e 50%,#ff2d80 100%);--np-shadow:0 10px 30px rgba(15,23,42,.07)}
html{background:#eef2f7}body[data-page]:not([data-page="login"]):not([data-page="register"]){min-height:100svh;background:var(--np-bg);color:var(--np-navy);overflow-x:hidden}
body[data-page]:not([data-page="login"]):not([data-page="register"]) .app-shell,body[data-page="dashboard"] .dashboard-home{width:min(100%,1080px);min-height:100svh;margin:0 auto;padding-bottom:calc(104px + env(safe-area-inset-bottom));background:var(--np-bg);box-shadow:0 0 60px rgba(15,23,42,.06)}
body[data-page] .screen,body[data-page] .profile-screen,body[data-page] .team-screen,body[data-page] .history-screen{padding:22px clamp(16px,4vw,28px) 30px!important}
body[data-page] h1{font-size:clamp(22px,5vw,26px);line-height:1.18;letter-spacing:-.04em}body[data-page] h2{font-size:17px;letter-spacing:-.025em}body[data-page] .muted,body[data-page] small{color:var(--np-muted)}
body[data-page] .topbar,body[data-page] .profile-page-head,body[data-page] .team-page-header{min-height:64px;margin:0 0 18px;padding:0;background:transparent;border:0;box-shadow:none}
body[data-page] .icon-btn,body[data-page] .header-icon-button{display:grid;width:42px;height:42px;place-items:center;border:1px solid var(--np-border);border-radius:14px;color:var(--np-navy);background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.05)}
body[data-page] .card,body[data-page] .wallet-card,body[data-page] .profile-user-card,body[data-page] .team-invite-card,body[data-page] .team-goal-card,body[data-page] .team-reward-card,body[data-page] .history-record,body[data-page] .buy-control-panel{border:1px solid var(--np-border)!important;border-radius:20px!important;background:rgba(255,255,255,.94)!important;box-shadow:var(--np-shadow)!important}
body[data-page] .btn:not(.ghost),body[data-page] button[type="submit"]{min-height:50px;border:0;border-radius:16px;color:#fff;background:var(--np-gradient);box-shadow:0 10px 24px rgba(255,45,128,.18);font-weight:700;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
body[data-page] .btn:not(.ghost):active,body[data-page] button[type="submit"]:active{transform:scale(.98)}body[data-page] button:disabled{cursor:not-allowed;opacity:.5;box-shadow:none!important}
body[data-page] .btn.ghost{min-height:46px;border:1px solid rgba(255,77,109,.3);border-radius:15px;color:var(--np-navy);background:#fff}
body[data-page] .input,body[data-page] select{min-height:52px;border:1px solid var(--np-border)!important;border-radius:15px!important;background:#fff!important;box-shadow:none!important}body[data-page] .input:focus,body[data-page] select:focus{border-color:var(--np-coral)!important;outline:3px solid rgba(255,77,109,.1)!important}
body[data-page] .eyebrow,body[data-page] .section-kicker{color:var(--np-coral)!important;font-size:11px;font-weight:800;letter-spacing:.12em}
body[data-page] .bottom-nav{position:fixed!important;z-index:90!important;right:0!important;bottom:0!important;left:0!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;width:min(calc(100% - 20px),680px)!important;height:76px!important;margin:0 auto calc(10px + env(safe-area-inset-bottom))!important;padding:7px 8px!important;border:1px solid rgba(229,231,235,.9)!important;border-radius:23px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 18px 45px rgba(15,23,42,.16)!important;transform:none!important;backdrop-filter:blur(20px)!important}
body[data-page] .bottom-nav .nav-link,body[data-page] .bottom-nav .nav-link.nav-plus{display:flex!important;width:auto!important;height:60px!important;min-height:60px!important;flex-direction:column!important;gap:4px!important;align-items:center!important;justify-content:center!important;padding:0 3px!important;border:0!important;border-radius:17px!important;color:#94a3b8!important;background:transparent!important;box-shadow:none!important;transform:none!important}
body[data-page] .bottom-nav .nav-link::before,body[data-page] .bottom-nav .nav-link::after{content:none!important}body[data-page] .bottom-nav .nav-link svg{width:22px!important;height:22px!important;stroke-width:2!important;filter:none!important}body[data-page] .bottom-nav .nav-link span,body[data-page] .bottom-nav .nav-link.nav-plus span,body[data-page] .bottom-nav .nav-link.nav-plus span::after{display:block!important;font-size:10px!important;line-height:1!important;color:inherit!important;font-weight:650!important;content:none!important}
body[data-page="dashboard"] .bottom-nav .nav-link[data-nav="dashboard"],body[data-page="purchase"] .bottom-nav .nav-link[data-nav="purchase"],body[data-page="history"] .bottom-nav .nav-link[data-nav="orders"],body[data-page="withdrawal"] .bottom-nav .nav-link[data-nav="withdrawal"],body[data-page="bank"] .bottom-nav .nav-link[data-nav="withdrawal"],body[data-page="upi"] .bottom-nav .nav-link[data-nav="withdrawal"],body[data-page="profile"] .bottom-nav .nav-link[data-nav="profile"]{color:var(--np-pink)!important;background:linear-gradient(135deg,rgba(255,138,0,.11),rgba(255,45,128,.1))!important}
body[data-page="dashboard"] .premium-home-header{padding:18px clamp(16px,4vw,28px) 12px!important;background:rgba(255,255,255,.92)!important;border-bottom:1px solid var(--np-border)!important;box-shadow:none!important;backdrop-filter:blur(18px)}body[data-page="dashboard"] .header-primary{margin-bottom:16px}.novapay-home-brand img{width:38px!important;height:38px!important}.novapay-home-brand strong{color:var(--np-navy);letter-spacing:-.04em}.header-user-row{padding:0!important}.notice-row{margin-top:14px!important;border:1px solid rgba(255,138,0,.15)!important;background:#fff7ed!important}
body[data-page="dashboard"] .dashboard-content{display:flex!important;flex-direction:column;gap:20px;padding:18px clamp(16px,4vw,28px) 28px!important}
body[data-page="dashboard"] .floating-support{display:none!important}
body[data-page="dashboard"] .balance-hero{order:1;overflow:hidden;padding:22px!important;border:0!important;border-radius:24px!important;color:#fff!important;background:radial-gradient(circle at 88% 5%,rgba(255,45,128,.48),transparent 38%),linear-gradient(145deg,#111827,#172033 60%,#251425)!important;box-shadow:0 20px 44px rgba(17,24,39,.24)!important}.balance-hero p,.balance-hero small,.balance-hero .balance-stats span{color:rgba(255,255,255,.72)!important}.balance-hero #balance{font-size:34px!important}.balance-hero .wallet-mark{background:var(--np-gradient)!important}.balance-hero .balance-stats{border-color:rgba(255,255,255,.12)!important}.balance-hero .balance-stats strong{color:#fff!important}
.np-balance-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.np-balance-actions a{display:flex;min-height:44px;align-items:center;justify-content:center;gap:7px;border-radius:14px;color:#fff;font-size:13px;font-weight:750;text-decoration:none}.np-balance-actions a:first-child{background:var(--np-gradient)}.np-balance-actions a:last-child{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1)}.np-balance-actions svg{width:17px;height:17px}.np-visibility{display:grid;width:36px;height:36px;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:12px;color:#fff;background:rgba(255,255,255,.1)}.np-visibility svg{width:18px;height:18px}
body[data-page="dashboard"] .quick-action-section{order:2}.quick-action-grid.np-actions{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:11px!important}.quick-action-grid.np-actions .quick-action{display:flex!important;min-width:0;min-height:84px!important;flex-direction:column;gap:7px;align-items:center;justify-content:center;padding:10px 4px!important;border:1px solid var(--np-border)!important;border-radius:18px!important;color:var(--np-navy);background:#fff!important;box-shadow:0 7px 20px rgba(15,23,42,.05)!important;text-decoration:none}.quick-action-grid.np-actions .quick-action>span{display:grid;width:38px!important;height:38px!important;place-items:center;border-radius:13px!important;color:#fff!important;background:var(--np-gradient)!important}.quick-action-grid.np-actions .quick-action svg{width:19px!important;height:19px!important}.quick-action-grid.np-actions strong{font-size:11px!important;text-align:center}
.np-order-card{order:3;padding:18px;border:1px solid var(--np-border);border-radius:21px;background:#fff;box-shadow:var(--np-shadow)}.np-order-top,.np-order-main{display:flex;align-items:center;justify-content:space-between;gap:14px}.np-order-status{display:inline-flex;align-items:center;gap:6px;color:var(--np-success);font-size:11px;font-weight:750}.np-order-status::before{width:7px;height:7px;border-radius:50%;background:currentColor;content:""}.np-order-main{margin-top:14px}.np-order-main strong{font-size:28px}.np-order-main a{padding:10px 13px;border-radius:13px;color:var(--np-pink);background:#fff1f6;font-size:12px;font-weight:750;text-decoration:none}
.np-earnings{order:4}.np-earnings-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.np-earning-card{padding:16px;border:1px solid var(--np-border);border-radius:18px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.04)}.np-earning-card span{display:block;color:var(--np-muted);font-size:12px}.np-earning-card strong{display:block;margin-top:6px;font-size:19px}.np-earning-card i{display:grid;width:34px;height:34px;margin-bottom:12px;place-items:center;border-radius:11px;color:var(--np-pink);background:#fff1f6}.np-earning-card svg{width:17px;height:17px}
body[data-page="dashboard"] .activity-section{order:5}body[data-page="dashboard"] .offers-section{order:6}body[data-page="dashboard"] .corporate-section{order:7}body[data-page="dashboard"] .home-download-card{order:8}body[data-page="dashboard"] .primary-action-section{display:none!important}
body[data-page="purchase"] .purchase-screen,body[data-page="withdrawal"] .withdrawal-screen{display:flex;flex-direction:column;gap:16px}body[data-page="purchase"] .purchase-wallet,body[data-page="withdrawal"] .withdraw-balance-card{border:0!important;color:#fff!important;background:radial-gradient(circle at 88% 8%,rgba(255,45,128,.35),transparent 36%),linear-gradient(145deg,#111827,#202b42)!important}body[data-page="purchase"] .purchase-wallet-copy,body[data-page="purchase"] .purchase-wallet .label,body[data-page="purchase"] .purchase-wallet .balance,body[data-page="purchase"] .purchase-wallet small{position:relative!important;z-index:2!important;display:block!important;visibility:visible!important;opacity:1!important}body[data-page="purchase"] .purchase-wallet .label,body[data-page="purchase"] .purchase-wallet small,body[data-page="withdrawal"] .withdraw-balance-card p{color:#cbd5e1!important}body[data-page="purchase"] .purchase-wallet .balance{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.22)!important}.purchase-wallet-icon,.withdraw-balance-icon{background:var(--np-gradient)!important}
body[data-page="purchase"] .purchase-segment,body[data-page] .tabs{padding:4px;border:1px solid var(--np-border);border-radius:15px;background:#eef2f7}body[data-page="purchase"] .purchase-segment button.active,body[data-page] .tab.active{border-radius:11px!important;color:#fff!important;background:var(--np-gradient)!important;box-shadow:none!important}
body[data-page="history"] .history-tabs{position:sticky;z-index:10;top:0;grid-template-columns:repeat(4,1fr);padding:5px}.history-record{padding:15px!important}.history-record-amount{font-size:15px!important}.status,.status-badge{border-radius:999px!important}
body[data-page="team"] .team-earnings-card{border:0!important;border-radius:24px!important;background:radial-gradient(circle at 90% 0,rgba(255,45,128,.46),transparent 38%),#111827!important;box-shadow:0 18px 38px rgba(17,24,39,.22)!important}.team-stats-grid{gap:11px!important}.team-stat-card{border:1px solid var(--np-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 20px rgba(15,23,42,.04)!important}.team-copy-row{border-color:var(--np-border)!important;border-radius:15px!important;background:var(--np-bg)!important}.team-copy-row button,.team-share-button{border-radius:13px!important}
body[data-page="profile"] .profile-user-card{padding:18px!important;color:#fff!important;background:radial-gradient(circle at 88% 8%,rgba(255,45,128,.35),transparent 36%),linear-gradient(145deg,#111827,#202b42)!important}body[data-page="profile"] .profile-identity,body[data-page="profile"] .profile-member-label,body[data-page="profile"] .profile-copy-line strong,body[data-page="profile"] .profile-id-line{position:relative!important;z-index:2!important;visibility:visible!important;opacity:1!important;color:#fff!important}body[data-page="profile"] .profile-identity{display:grid!important}body[data-page="profile"] .profile-member-label{display:block!important;color:#cbd5e1!important}.profile-avatar{background:var(--np-gradient)!important;box-shadow:0 10px 24px rgba(255,45,128,.2)!important}.profile-summary-grid,.profile-functions-grid{gap:11px!important}body[data-page="profile"] .profile-balance-card{border:0!important;border-radius:22px!important;color:#fff!important;background:radial-gradient(circle at 88% 8%,rgba(255,45,128,.28),transparent 38%),linear-gradient(145deg,#111827,#202b42)!important}body[data-page="profile"] .profile-balance-label,body[data-page="profile"] .profile-balance-label span,body[data-page="profile"] .profile-detail-btn{color:#cbd5e1!important}body[data-page="profile"] .profile-balance-amount{display:block!important;visibility:visible!important;opacity:1!important;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.2)!important}body[data-page="profile"] .profile-earnings-strip{color:#d1fae5!important;background:rgba(22,163,74,.16)!important;border-color:rgba(74,222,128,.25)!important}body[data-page="profile"] .profile-earnings-strip strong{color:#86efac!important}.profile-function,.profile-quick-item{border:1px solid var(--np-border)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body[data-page="bank"] .form,body[data-page="upi"] .form{padding:20px!important}.pin-row{gap:6px!important}.pin-row .input{min-width:0;padding:0;text-align:center}
body[data-page] .modal-backdrop,body[data-page] .profile-modal,body[data-page] .tool-sheet,body[data-page] .team-qr-modal{backdrop-filter:blur(8px)}body[data-page] .payment-modal,body[data-page] .profile-modal-sheet,body[data-page] .tool-sheet-panel,body[data-page] .team-qr-sheet{border:1px solid rgba(255,255,255,.62)!important;border-radius:26px 26px 0 0!important;background:#fff!important;box-shadow:0 -16px 60px rgba(15,23,42,.18)!important}
.np-loader-mark{width:54px;height:54px;animation:np-loader 1.4s ease-in-out infinite;filter:drop-shadow(0 8px 14px rgba(255,45,128,.24))}@keyframes np-loader{0%,100%{transform:translateY(0) scale(.96)}50%{transform:translateY(-4px) scale(1.04)}}
@media(min-width:760px){body[data-page="dashboard"] .dashboard-content{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.balance-hero,.quick-action-section,.np-order-card,.np-earnings,.activity-section,.offers-section,.corporate-section,.home-download-card{grid-column:auto}.balance-hero,.quick-action-section{grid-column:span 2}.offers-section,.activity-section{grid-column:span 2}.np-earnings-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:350px){.quick-action-grid.np-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}.quick-action-grid.np-actions .quick-action{min-height:78px!important}.quick-action-grid.np-actions strong{font-size:9px!important}body[data-page] .bottom-nav{width:calc(100% - 12px)!important;padding-inline:4px!important}}
@media(prefers-reduced-motion:reduce){.np-loader-mark{animation:none}}

/* Static route UI: tab switches and the destination screen paint immediately. */
body[data-page] .bottom-nav .nav-link,
body[data-page] .bottom-nav .nav-link *,
body[data-page] .bottom-nav .nav-link::before,
body[data-page] .bottom-nav .nav-link::after,
body[data-page] .bottom-nav .nav-link *::before,
body[data-page] .bottom-nav .nav-link *::after {
  animation: none !important;
  animation-delay: 0s !important;
  transition: none !important;
}

body[data-page="dashboard"] .premium-home-header,
body[data-page="dashboard"] .balance-hero,
body[data-page="dashboard"] .home-section,
body[data-page="dashboard"] .proof-item,
body[data-page="purchase"] .purchase-topbar,
body[data-page="purchase"] .purchase-wallet,
body[data-page="purchase"] .buy-control-panel,
body[data-page="purchase"] .order-list-head,
body[data-page="purchase"] #orderList,
body[data-page="withdrawal"] .warning-strip,
body[data-page="withdrawal"] .wallet-topbar,
body[data-page="withdrawal"] .withdraw-balance-card,
body[data-page="withdrawal"] .withdraw-add-tool,
body[data-page="withdrawal"] .withdrawal-accounts-section,
body[data-page="withdrawal"] .withdraw-form-card,
body[data-page="withdrawal"] .wallet-history-section,
body[data-page="profile"] .profile-page-head,
body[data-page="profile"] .profile-safe-banner,
body[data-page="profile"] .profile-user-card,
body[data-page="profile"] .profile-summary-section,
body[data-page="profile"] .profile-action-heading,
body[data-page="profile"] .profile-quick-grid,
body[data-page="profile"] .profile-functions-card {
  animation: none !important;
  animation-delay: 0s !important;
}

/* Higher specificity than every legacy nav skin: no delayed color movement. */
body[data-page][data-page] .bottom-nav.bottom-nav .nav-link.nav-link,
body[data-page][data-page] .bottom-nav.bottom-nav .nav-link.nav-link:not(.nav-plus),
body[data-page][data-page] .bottom-nav.bottom-nav .nav-link.nav-link.nav-plus,
body[data-page][data-page] .bottom-nav.bottom-nav .nav-link.nav-link * {
  animation: none !important;
  animation-delay: 0s !important;
  transition: none !important;
  transition-delay: 0s !important;
  transition-duration: 0s !important;
}
