:root{color-scheme:dark;--bg:#020d1b;--cyan:#00f0ec;--blue:#0873ff;--muted:#a8b3da;--line:#075078;font-family:Arial,Helvetica,sans-serif;color:#f6f8ff;background:var(--bg)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;min-width:320px;min-height:100dvh;background:radial-gradient(ellipse at 0 22%,#005c682d,transparent 35%),radial-gradient(ellipse at 100% 4%,#003f642e,transparent 32%),#020d1b}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}.app{max-width:780px;min-height:100dvh;margin:auto;padding:30px 24px 160px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.square{width:52px;height:52px;border:1px solid #084364;border-radius:14px;background:linear-gradient(140deg,#041b30,#020d1c);box-shadow:inset 0 0 12px #008bcb1f;display:grid;place-items:center;position:relative;color:#73d6ff}.square svg{width:29px;height:29px}.square i{position:absolute;right:9px;top:8px;width:7px;height:7px;background:var(--cyan);border-radius:50%}.hamburger,.hamburger:before,.hamburger:after{width:25px;height:2px;background:#73d6ff;display:block;position:relative}.hamburger:before,.hamburger:after{content:'';position:absolute;top:-8px}.hamburger:after{top:8px}.header-actions{display:flex;gap:12px}.brand{display:flex;align-items:center;gap:12px;font-size:30px;font-weight:900;letter-spacing:-1px}.brand-mark{font-size:59px;font-weight:1000;font-style:italic;line-height:1;background:linear-gradient(135deg,#00ffe2 15%,#00dfff 50%,#066bff 90%);background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 8px #00a5ff30)}.blue{color:#078dff}.greeting{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.identity{display:flex;align-items:center;gap:17px}.avatar{height:62px;width:62px;border-radius:50%;border:1px solid #a5adc5;background:linear-gradient(130deg,#748297,#3e4f69);overflow:hidden}.avatar svg{width:100%;height:100%;fill:#c8d0df;stroke:none}.identity p,.status-card p,.rank-info p{margin:0 0 5px;color:var(--muted);font-size:16px}.text-button{padding:0;border:0;background:none;font-weight:700;font-size:20px}.text-button span{color:#99aae4;margin-left:15px}.membership{display:flex;align-items:center;gap:10px;color:var(--cyan);font-weight:700;font-size:16px;border:1px solid #00c7c2;border-right-color:#154aff;border-radius:28px;padding:12px 17px;background:linear-gradient(110deg,#003f42a0,#031445);box-shadow:inset 0 0 12px #0076ff30}.panel{border:1px solid #087093;border-right-color:#0754bf;border-radius:20px;background:radial-gradient(ellipse at 0 0,#006d7457,transparent 43%),radial-gradient(ellipse at 100% 110%,#00e9cb3b,transparent 26%),linear-gradient(115deg,#03192a,#031126 70%,#021b39);box-shadow:inset 0 0 15px #007bd51c,0 0 2px #00d7ed60}.balance-card{min-height:235px;position:relative;overflow:hidden;padding:23px 25px;margin-bottom:12px;background:radial-gradient(ellipse at 0 0,#00e3d98c,transparent 34%),radial-gradient(ellipse at 100% 100%,#003ffc70,transparent 60%),#021226}.balance-content{position:relative;z-index:2;width:54%}.balance-label{display:flex;align-items:center;gap:12px}.balance-label h1{font-size:18px;font-weight:500;margin:0}.balance-label button{position:relative;background:none;border:0;font-size:27px;padding:0 4px;line-height:1}.slash{position:absolute;width:27px;height:2px;background:white;transform:rotate(-40deg);top:14px;left:3px}.balance{font-size:52px;font-weight:750;letter-spacing:-2px;margin:7px 0 0;line-height:1.1}.muted{color:var(--muted);font-size:16px;margin:7px 0 23px}.connect-button{display:flex;align-items:center;justify-content:center;gap:12px;white-space:nowrap;border:1px solid #00d7ee;border-right-color:#1d79ff;border-radius:28px;padding:12px 20px;font-weight:700;font-size:17px;background:linear-gradient(105deg,#008d8c,#02223b 38%,#031b3f 78%,#0058c8);box-shadow:inset 0 0 12px #00e7ef56,0 0 15px #00dfd51a}.connect-button svg{color:var(--cyan)}.connect-button>span,.arrow{color:#16e4ee;font-size:32px;line-height:20px}.status-grid,.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.status-card{padding:13px 16px;display:flex;align-items:center;gap:14px;min-height:88px}.round-icon{width:58px;height:58px;display:grid;place-items:center;border:1px solid #0639b4;border-radius:50%;background:radial-gradient(circle,#07316c,#010e25);color:#00ceff;flex-shrink:0;box-shadow:0 0 12px #0646e934}.round-icon svg{width:34px;height:34px}.network-icon{color:#f6cd28;font-size:50px;background:radial-gradient(circle,#332f07,#020d1b);border-color:#736722}.status-card strong{font-size:16px}.arrow{margin-left:auto}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px;gap:12px}h2{font-size:26px;letter-spacing:-.5px;margin:0}.period select{background:#041e33;border:1px solid #095272;border-radius:24px;padding:10px 14px;color:#f1f6ff;font-size:15px;max-width:145px}.income-list{display:grid;gap:7px}.income-row{width:100%;display:flex;align-items:center;gap:17px;min-height:65px;padding:0 22px 0 0;text-align:left;border-radius:18px}.income-icon{align-self:stretch;display:grid;place-items:center;width:82px;flex-shrink:0;background:linear-gradient(110deg,#00ddc73c,#04466030);border-radius:17px;color:var(--cyan);box-shadow:inset 3px 0 8px #00ffdd4d}.income-icon svg{height:36px;width:36px;stroke-width:2.6}.income-name{font-size:16px;flex:1}.income-value{font-size:23px;font-weight:700;min-width:94px;text-align:center;border-left:1px solid #063457;padding:5px 5px 5px 16px}.data-note{font-size:12px;color:#8295b7;margin:10px 2px 16px}.overview-card{padding:16px;min-height:176px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-heading h2{font-size:16px;letter-spacing:0}.view-all{background:none;border:0;color:var(--cyan);font-size:14px;white-space:nowrap;padding:0}.view-all span{font-size:23px;vertical-align:-1px}.team-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:23px}.team-stats>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;border-right:1px solid #103351}.team-stats>div:last-child{border:0}.team-stats svg{color:#00d7f4;width:30px;height:30px}.team-stats span{font-size:11px;white-space:nowrap}.team-stats strong{font-size:24px}.rank-info{display:flex;align-items:center;gap:17px;margin-top:17px}.rank-icon{width:61px;height:64px;display:grid;place-items:center;color:#00daff;border:3px solid #00beef;border-radius:17px;transform:rotate(0deg);box-shadow:0 0 16px #00bcf426}.rank-icon svg{width:34px;height:34px;fill:currentColor}.rank-info p{font-size:13px}.rank-info strong{font-size:16px}.rank-progress{display:flex;align-items:center;gap:13px;margin-top:14px;font-size:14px}.progress-track{height:10px;border-radius:10px;background:#06305a;flex:1}.bottom-nav{position:fixed;z-index:5;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:750px;display:flex;align-items:center;justify-content:space-around;padding:7px 9px;border:1px solid #074b71;border-radius:33px;background:linear-gradient(120deg,#063449eF,#021226f5 40%);box-shadow:0 8px 30px #0008,inset 0 0 12px #0078c42b;backdrop-filter:blur(16px)}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:76px;width:19%;font-size:16px;color:#a5b2e8;background:none;border:1px solid transparent;border-radius:27px}.nav-item svg{width:29px;height:29px}.nav-item.active{background:radial-gradient(ellipse at 20% 100%,#00b8b25e,transparent 70%),#05304a;color:var(--cyan);border-color:#076482;box-shadow:inset 0 0 15px #00cfe22e}.nav-item.active svg{filter:drop-shadow(0 0 7px #00eee9);fill:#00e4e4}.nav-wallet{display:grid;place-items:center;width:81px;height:81px;flex-shrink:0;background:radial-gradient(circle at 35% 25%,#00edee,#00a4ff 55%,#063fff);border:3px solid #00c3ff;border-radius:50%;box-shadow:0 0 0 7px #023c624f,0 0 15px #00bfff,inset 0 0 10px #00ffff}.nav-wallet svg{width:39px;height:39px;stroke-width:2.2}dialog{width:calc(100% - 40px);max-width:440px;color:#f6f8ff;border:1px solid #087c9c;border-radius:22px;background:#04172a;padding:24px;box-shadow:0 0 60px #00a9cf20}dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-heading h2{font-size:22px}.dialog-heading button{background:none;border:0;font-size:30px}.dialog-heading+p{color:#b5c4db;line-height:1.6;margin:16px 0 24px}#toast{position:fixed;z-index:10;bottom:130px;left:50%;transform:translateX(-50%);border:1px solid #087c9c;background:#062237;color:white;padding:14px 20px;border-radius:16px;max-width:90%;width:max-content;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1000px){.app{max-width:1060px;padding-top:40px}.topbar{margin-bottom:34px}.balance-card{min-height:255px;padding:30px}.income-list{grid-template-columns:1fr 1fr;gap:12px}.income-row{gap:12px;padding-right:14px}.income-icon{width:64px}.income-name{font-size:14px}.income-value{min-width:48px;padding-left:10px}.overview-card{min-height:190px}.team-stats span{font-size:13px}.bottom-nav{max-width:760px}}@media(max-width:580px){.app{padding:20px 16px 125px}.topbar{gap:10px;margin-bottom:18px}.square{width:42px;height:44px;border-radius:12px}.header-actions{gap:8px}.brand{font-size:24px;gap:7px}.brand-mark{font-size:47px}.square svg{width:25px;height:25px}.identity{gap:10px}.avatar{width:46px;height:46px}.identity p{font-size:13px}.text-button{font-size:16px}.text-button span{margin-left:8px}.membership{padding:10px 12px;font-size:12px;gap:6px}.membership svg{width:20px;height:20px}.balance-card{padding:18px;min-height:205px;border-radius:17px}.balance-content{width:60%}.balance-label h1{font-size:15px}.balance{font-size:43px}.muted{font-size:12px;margin-bottom:24px}.connect-button{font-size:14px;gap:8px;padding:10px 12px}.connect-button svg{width:22px;height:22px}.status-grid,.overview-grid{gap:9px}.status-card{padding:11px 9px;gap:8px;min-height:78px;border-radius:16px}.round-icon{width:40px;height:40px}.round-icon svg{width:26px;height:26px}.network-icon{font-size:35px}.status-card p{font-size:12px}.status-card strong{font-size:12px}.arrow{font-size:27px}.section-heading{margin-top:18px}h2{font-size:22px}.period select{font-size:12px;padding:9px 10px;max-width:113px}.income-row{min-height:58px;gap:10px;padding-right:12px;border-radius:15px}.income-icon{width:56px;border-radius:14px}.income-icon svg{width:30px;height:30px}.income-name{font-size:13px}.income-value{font-size:19px;min-width:53px;padding-left:10px}.overview-card{padding:12px 9px;min-height:160px;border-radius:17px}.card-heading h2{font-size:12px}.view-all{font-size:11px}.team-stats{margin-top:20px}.team-stats span{font-size:8px}.team-stats svg{width:25px;height:25px}.team-stats strong{font-size:22px}.rank-info{gap:10px;margin-top:17px}.rank-icon{width:45px;height:51px;border-radius:12px}.rank-icon svg{width:27px;height:27px}.rank-info p{font-size:10px}.rank-info strong{font-size:13px}.rank-progress{font-size:11px;gap:8px;margin-top:15px}.bottom-nav{width:calc(100% - 22px);padding:6px;bottom:max(12px,env(safe-area-inset-bottom));border-radius:27px}.nav-item{min-height:64px;font-size:12px;gap:6px;border-radius:22px}.nav-item svg{width:25px;height:25px}.nav-wallet{width:65px;height:65px}.nav-wallet svg{width:31px;height:31px}}@media(max-width:360px){.app{padding-left:12px;padding-right:12px}.brand{font-size:21px}.brand-mark{font-size:40px}.header-actions{gap:6px}.membership{padding:9px;font-size:11px}.balance-label{gap:5px}.income-row{gap:8px}.income-name{font-size:12px}.income-value{min-width:40px}.status-card{gap:6px}.round-icon{width:34px;height:34px}.status-card strong{font-size:11px}.team-stats span{font-size:7px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.status-grid>*,.overview-grid>*,.income-list>*{min-width:0}.status-card>div{min-width:0}.status-card strong{overflow-wrap:anywhere}.income-name{min-width:0}.team-stats>div{min-width:0}
@media(max-width:580px){.team-stats span{white-space:normal;line-height:1.25;min-height:20px;padding:0 3px}.team-stats{align-items:start}}


/* Reference proportions: 738 x 1600 artwork, scaled to the dashboard width. */
.app{container-type:inline-size;max-width:738px;min-height:100dvh;height:auto;display:block;padding:36px 4.33% 24px;overflow:visible}
.topbar{position:relative;min-height:36px;margin-bottom:7px}
.brand{position:absolute;left:50%;transform:translateX(-50%);font-size:22px;gap:8px;white-space:nowrap}
.brand-mark{font-size:43px}
.square{width:37px;height:37px;border-radius:10px}
.square svg{width:24px;height:24px}
.header-actions{gap:11px}
.hamburger,.hamburger:before,.hamburger:after{width:18px}
.hamburger:before{top:-6px}.hamburger:after{top:6px}
main{padding:0;overflow:visible}
.greeting{margin:8px 2px 6px;min-height:42px}
.avatar{width:42px;height:42px}
.identity{gap:13px}.identity p{font-size:11px;margin-bottom:3px}
.text-button{font-size:14px}.text-button span{margin-left:10px}
.membership{padding:9px 15px;font-size:11px;gap:8px;border-radius:25px}
.membership svg{width:19px;height:19px}
.balance-card{height:36cqw;min-height:125px;margin-bottom:7px;padding:12px 17px;border-radius:13px}
.balance-content{display:block;width:49%;position:relative;z-index:2}
.balance-label{gap:8px}.balance-label h1{font-size:12px}.balance-label button{font-size:20px}
.slash{width:20px;top:10px;left:3px}
.balance{font-size:34px;line-height:1.1;margin:7px 0 0;letter-spacing:-1px}
.muted{font-size:10px;margin:4px 0 14px;white-space:nowrap}
.connect-button{padding:8px 12px;font-size:12px;gap:8px;min-height:32px}
.connect-button svg{width:18px;height:18px}
.connect-button>span{font-size:24px}
.reference-wallet-art{position:absolute;right:0;top:0;width:51%;height:100%;background-image:url('zevix.jpeg');background-size:279% auto;background-position:100% 18.1%;background-repeat:no-repeat;mask-image:linear-gradient(to right,transparent,#000 13%);pointer-events:none}
.status-grid,.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.status-card{height:15cqw;min-height:56px;padding:7px 9px;gap:10px;border-radius:12px}
.round-icon{width:42px;height:42px}.round-icon svg{width:29px;height:29px}
.network-icon{color:#f8cf16;background:radial-gradient(circle,#282606,#020d1b);border-color:#625c26}
.status-card p{font-size:11px;margin-bottom:3px}.status-card strong{font-size:11px;white-space:nowrap}
.arrow{font-size:26px}
.section-heading{margin:8px 0 6px;min-height:26px;gap:8px}h2,.section-heading h2{font-size:18px;letter-spacing:-.4px}
.period select{padding:7px 11px;font-size:10px;max-width:100px;background:linear-gradient(120deg,#07394c,#03162e);box-shadow:inset 0 0 7px #0073a530}
.income-list{grid-template-columns:minmax(0,1fr);gap:4px}
.income-row{height:10.3cqw;min-height:39px;gap:11px;padding:0 14px 0 0;border-radius:12px}
.income-icon{width:14.7%;border-radius:11px;box-shadow:inset 2px 0 7px #00ffdd4d}
.income-icon svg{width:27px;height:27px;stroke-width:2.4}
.income-name{font-size:10.5px;line-height:1.25;min-width:0}
.mini-chart{color:#00d9f9;width:31px;height:27px;stroke-width:3.6;filter:drop-shadow(0 0 3px #009cff66);flex-shrink:0}
.income-value{margin-left:0;min-width:54px;text-align:right;border-left:1px solid #063457;padding:3px 0 3px 12px;font-size:16px;flex-shrink:0}
.income-row>.arrow{margin-left:8px;font-size:24px}
.overview-grid{margin-top:10px}
.overview-card{height:28.5cqw;min-height:108px;padding:9px;border-radius:13px}
.card-heading h2{font-size:10px;letter-spacing:0}.view-all{font-size:9px}.view-all span{font-size:18px}
.team-stats{margin-top:14px}.team-stats>div{gap:5px}.team-stats svg{width:24px;height:24px}
.team-stats span{font-size:7px;white-space:normal;min-height:0;padding:0 2px;line-height:1.15}
.team-stats strong{font-size:19px}
.rank-info{margin-top:10px;gap:12px}.rank-icon{width:40px;height:43px;border-radius:9px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.rank-icon svg{width:26px;height:26px}.rank-info p{font-size:9px;margin-bottom:4px}.rank-info strong{font-size:11px}
.rank-progress{margin-top:9px;font-size:10px;gap:8px}.progress-track{height:7px}
.bottom-nav{position:relative;left:auto;bottom:auto;transform:none;width:calc(100% + 14px);max-width:none;margin:19px -7px 0;padding:4px 7px;min-height:65px;border-radius:25px}
.nav-item{min-height:54px;gap:5px;font-size:11px;border-radius:20px}.nav-item svg{width:25px;height:25px}
.nav-wallet{width:57px;height:57px}.nav-wallet svg{width:30px;height:30px}
body{background:radial-gradient(ellipse at 0 0,#006c7c4a,transparent 26%),radial-gradient(ellipse at 100% 8%,#00597832,transparent 24%),radial-gradient(ellipse at 0 100%,#007f7f3a,transparent 15%),#020d1b}
@media(min-width:600px){
.app{padding:55px 32px 35px}.topbar{min-height:66px;margin-bottom:14px}.square{width:66px;height:66px;border-radius:17px}.square svg{width:37px;height:37px}.brand{font-size:38px;gap:15px}.brand-mark{font-size:75px}.header-actions{gap:22px}
.greeting{min-height:78px;margin-bottom:12px}.avatar{width:76px;height:76px}.identity{gap:24px}.identity p{font-size:19px}.text-button{font-size:24px}.membership{font-size:19px;padding:16px 27px}.membership svg{width:30px;height:30px}
.balance-card{padding:23px 32px}.balance-label h1{font-size:21px}.balance{font-size:58px}.muted{font-size:17px;margin-bottom:26px}.connect-button{font-size:21px;padding:14px 22px}.connect-button svg{width:29px;height:29px}
.status-grid,.overview-grid{gap:13px}.status-card{padding:13px 17px;gap:17px}.round-icon{width:73px;height:73px}.round-icon svg{width:46px;height:46px}.status-card p,.status-card strong{font-size:19px}.section-heading{margin:14px 0 10px}h2,.section-heading h2{font-size:31px}.period select{font-size:17px;max-width:160px;padding:11px 18px}
.income-list{gap:7px}.income-row{gap:20px;padding-right:24px}.income-name{font-size:18px}.income-icon svg{width:43px;height:43px}.mini-chart{width:52px;height:43px}.income-value{font-size:26px;min-width:90px;padding-left:20px}.income-row>.arrow{font-size:34px;margin-left:15px}
.overview-grid{margin-top:18px}.overview-card{padding:16px}.card-heading h2{font-size:18px}.view-all{font-size:16px}.team-stats{margin-top:25px}.team-stats svg{width:39px;height:39px}.team-stats span{font-size:12px}.team-stats strong{font-size:32px}.rank-info{margin-top:18px;gap:20px}.rank-icon{width:68px;height:73px}.rank-info p{font-size:16px}.rank-info strong{font-size:20px}.rank-progress{font-size:17px;margin-top:16px}.progress-track{height:12px}
.bottom-nav{margin-top:32px;min-height:112px;padding:7px 12px;border-radius:38px}.nav-item{min-height:95px;font-size:19px;gap:9px}.nav-item svg{width:40px;height:40px}.nav-wallet{width:99px;height:99px}.nav-wallet svg{width:48px;height:48px}
}
@media(max-width:360px){.app{padding-top:25px}.brand{font-size:19px;gap:6px}.brand-mark{font-size:37px}.square{width:33px;height:35px}.header-actions{gap:8px}.identity{gap:9px}.membership{padding:8px 10px;font-size:10px}.text-button{font-size:12px}.balance-card{padding:11px 13px}.connect-button{font-size:10px;padding:7px 9px;gap:6px}.muted{font-size:9px;margin-bottom:10px}.balance{font-size:30px}.status-card{padding:6px;gap:6px}.round-icon{width:34px;height:34px}.status-card strong,.status-card p{font-size:9px}.income-row{gap:8px;padding-right:10px}.income-name{font-size:9.5px}.mini-chart{width:25px}.income-value{min-width:40px;padding-left:8px}.income-row>.arrow{margin-left:3px}.card-heading h2{font-size:9px}.view-all{font-size:8px}.rank-info{gap:8px}.rank-info strong{font-size:10px}}
/* Corrections from the first side-by-side render. */
.balance-card{height:38cqw}
.reference-wallet-art{background-size:214% auto;background-position:right -4.3cqw top -35.9cqw}
.status-card{height:15.7cqw}
.income-row{height:11cqw}
.overview-card{height:30.3cqw}
.panel{border-color:#087d96;border-right-color:#0754bf;box-shadow:inset 0 0 12px #007bd52a,0 0 2px #00d7ed70;background:radial-gradient(ellipse at 0 0,#008c895c,transparent 42%),radial-gradient(ellipse at 100% 110%,#00e9cb65,transparent 24%),linear-gradient(115deg,#03192a,#031126 70%,#021b39)}
.balance-card{background:radial-gradient(ellipse at 0 0,#00e3d98c,transparent 34%),radial-gradient(ellipse at 100% 100%,#003ffc70,transparent 60%),#021226}
.rank-icon{position:relative;border:0;clip-path:none;background:none;box-shadow:none;border-radius:0}
.rank-icon:before,.rank-icon:after{content:'';position:absolute;inset:0;background:#00d6f7;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.rank-icon:after{inset:3px;background:#03192b}
.rank-icon svg{position:relative;z-index:1}
.team-stats span{white-space:nowrap;font-size:6.6px;min-height:10px;padding:0}
@media(min-width:600px){.app{padding-top:73px}.team-stats span{font-size:12px;min-height:16px}}
@media(max-width:360px){.team-stats span{font-size:5.7px}}
.balance-content{height:100%}
.balance-content>.connect-button{position:absolute;left:0;bottom:0}
.balance-label{line-height:1.1}
.balance{font-size:32px;margin-top:4px}
.balance-content>.muted{line-height:1.1;margin:3px 0 0}
@media(min-width:600px){.balance{font-size:58px;margin-top:7px}.balance-content>.muted{margin-top:5px}}
@media(max-width:599px){
.status-card{position:relative;padding-right:19px;gap:8px}
.status-card>.arrow{position:absolute;right:8px;top:50%;transform:translateY(-50%)}
.status-card .round-icon{width:36px;height:36px}
.status-card strong{font-size:9.5px}
.team-stats{margin-top:10px}.team-stats>div{gap:3px}.team-stats svg{width:21px;height:21px}.team-stats span{white-space:normal;font-size:6.6px;min-height:15px;padding:0 2px}.team-stats strong{font-size:18px}
}
@media(max-width:360px){.status-card .round-icon{width:30px;height:30px}.status-card{gap:5px}.status-card strong{font-size:8.5px}}
/* Additional wallet-based pages reuse the Home card system. */
[hidden]{display:none!important}
.app{display:flex;flex-direction:column}
.app>main{flex:1}
.bottom-nav .nav-item{width:25%}
.secondary-page{padding-top:18px;min-width:0}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.page-heading h1{font-size:24px;line-height:1.2;letter-spacing:-.4px;margin:0}
.page-network{font-size:11px;color:var(--muted);text-align:right}
.direction-tabs{display:flex;border:1px solid #087d96;border-radius:15px;padding:4px;background:#04162a;margin-bottom:20px}
.direction-tabs button{flex:1;min-height:44px;border:1px solid transparent;border-radius:11px;background:none;color:var(--muted);font-weight:bold}
.direction-tabs button[aria-selected=true]{color:var(--cyan);border-color:#087d96;background:linear-gradient(120deg,#07505a,#052443);box-shadow:inset 0 0 10px #00c5c322}
.level-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:14px;margin-bottom:20px}
.level-picker select{min-height:44px;padding:8px 14px;border:1px solid #075d7a;border-radius:12px;background:#041e33;color:white;font:inherit}
#team-level-heading{font-size:17px;margin:0 0 12px}
.record-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.empty-state{padding:24px 18px}.empty-state h3{font-size:17px;margin:0 0 10px}.empty-state p,.page-note{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.page-note{margin-top:16px}
.member-card{width:100%;display:flex;align-items:center;gap:12px;padding:16px 12px;min-width:0}
.level-label{color:var(--cyan);white-space:nowrap;font-size:12px;flex-shrink:0}
.wallet-address{font-size:12px;line-height:1.5;overflow-wrap:anywhere;min-width:0}
#page-income-list{gap:8px}
#page-income-list .income-row{min-height:60px;height:auto;padding:0 16px 0 0;gap:12px}
#page-income-list .income-icon{width:50px;min-height:60px}
#page-income-list .income-name{font-size:13px}
#page-income-list .income-value{font-size:16px;min-width:65px;margin-left:auto}
.purchase-card{padding:18px;min-width:0}.purchase-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.purchase-heading h2{font-size:16px;letter-spacing:0}.purchase-amount{font-size:18px;text-align:right;overflow-wrap:anywhere;min-width:0}
.purchase-fields{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;margin:20px 0 0;font-size:12px;line-height:1.5}.purchase-fields dt{color:var(--muted)}.purchase-fields dd{margin:0;text-align:right;overflow-wrap:anywhere;text-transform:capitalize}
.hash-label{font-size:12px;color:var(--muted);margin:20px 0 8px}.transaction-link{display:block;color:var(--cyan);font-family:monospace;font-size:12px;line-height:1.6;overflow-wrap:anywhere;text-decoration:underline}
@media(min-width:600px){.secondary-page{padding-top:30px}.page-heading h1{font-size:30px}.page-network{font-size:14px}#page-income-list .income-row{min-height:72px}#page-income-list .income-icon{min-height:72px;width:72px}#page-income-list .income-name{font-size:18px}#page-income-list .income-value{font-size:23px}.wallet-address{font-size:15px}.member-card{padding:20px}.empty-state{padding:28px}}
@media(max-width:360px){.page-heading h1{font-size:21px}.page-network{font-size:10px}#page-income-list .income-row{gap:8px;padding-right:12px}#page-income-list .income-name{font-size:12px}#page-income-list .income-value{font-size:14px;min-width:55px}.wallet-address{font-size:11px}}

/* Anchor navigation to the viewport, outside the app's query container. */
.app{padding-bottom:calc(89px + env(safe-area-inset-bottom, 0px))}
.bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    transform:none;
    width:min(calc(91.34% + 14px), 688px);
    margin:0 auto;
    min-height:calc(65px + env(safe-area-inset-bottom, 0px));
    padding-bottom:calc(4px + env(safe-area-inset-bottom, 0px));
}
html{scroll-padding-bottom:calc(89px + env(safe-area-inset-bottom, 0px))}
@media(min-width:600px){
    .app{padding-bottom:calc(147px + env(safe-area-inset-bottom, 0px))}
    .bottom-nav{min-height:calc(112px + env(safe-area-inset-bottom, 0px));padding-bottom:calc(7px + env(safe-area-inset-bottom, 0px))}
    html{scroll-padding-bottom:calc(147px + env(safe-area-inset-bottom, 0px))}
}
/* Home summaries use the full content width on mobile. */
@media(max-width:599px){
    #home .overview-grid{grid-template-columns:minmax(0,1fr)}
}

/* Home reuses the balance-card action in the header. Other page headers stay unchanged. */
.header-actions .home-connect{display:none}
body:has(#home:not([hidden])) .header-actions .square{display:none}
body:has(#home:not([hidden])) .header-actions .home-connect{display:flex;min-height:37px;font-size:9.5px;padding:7px 8px;gap:4px}
.header-actions .home-connect svg{width:14px;height:14px}
.header-actions .home-connect>span{display:none}
@media(min-width:600px){body:has(#home:not([hidden])) .header-actions .home-connect{min-height:54px;font-size:15px;padding:12px;gap:7px}.header-actions .home-connect svg{width:21px;height:21px}}
@media(max-width:360px){body:has(#home:not([hidden])) .header-actions .home-connect{min-height:35px;font-size:9px;padding:7px;gap:3px}}
@media(max-width:360px){body:has(#home:not([hidden])) .header-actions .home-connect{width:96px;min-width:0;font-size:8.5px;padding:7px 6px;gap:3px}.header-actions .home-connect svg{width:12px;height:12px}}

/* Disconnected Home monetary placeholders are explicitly labelled. */
#home .balance-content>.muted{white-space:normal;line-height:1.35}
.home-income-note{font-size:10px;line-height:1.4;color:var(--muted);margin:7px 0 0}
@media(min-width:600px){.home-income-note{font-size:14px}}

/* Balance visibility control: the touch target extends into existing card spacing. */
#balance-toggle{display:inline-grid;place-items:center;color:var(--cyan);padding:0;width:28px;height:24px;flex-shrink:0}
#balance-toggle:after{content:'';position:absolute;inset:-10px -8px}
#balance-toggle svg{width:21px;height:21px;stroke-width:1.8}
