:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#15233d;background:#f4f7fc;font-synthesis:none;text-rendering:optimizeLegibility;--blue:#155eef;--navy:#102a56;--muted:#75839b;--line:#e7edf6;--white:#fff}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f4f7fc}.app-shell{max-width:1120px;margin:auto;min-height:100vh;padding-bottom:92px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;color:#102a56;text-decoration:none;font-weight:850;letter-spacing:.06em}.brand-mark{height:34px;width:34px;border-radius:11px;background:linear-gradient(145deg,#2676ff,#0d3eaa);display:grid;place-items:center;color:#fff;font-weight:900}.brand-light{font-weight:500;color:#7890b5}.top-actions{display:flex;align-items:center;gap:10px}select{border:1px solid var(--line);border-radius:10px;padding:9px;background:#fff;color:#253653}main{padding:30px 28px}.page{display:none}.page.active{display:block}.welcome{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--blue);margin-bottom:7px}h1{font-size:29px;letter-spacing:-.04em;margin:0 0 5px;color:#14294b}h2{font-size:15px;margin:0;color:#1b2e4e}.muted{color:var(--muted);font-size:12px;line-height:1.55;margin:5px 0}.network-pill,.tiny-tag{font-size:10px;font-weight:750;color:#3765ad;background:#eef4ff;border-radius:20px;padding:7px 10px}.network-pill i{display:inline-block;width:6px;height:6px;background:#20b477;border-radius:50%;margin-right:5px}.notice{display:flex;gap:13px;align-items:flex-start;padding:15px 17px;background:#edf4ff;border:1px solid #d9e7ff;border-radius:15px;margin-bottom:18px}.notice.compact{margin:0 0 20px}.notice-icon{background:#d9e7ff;color:var(--blue);width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font-size:20px;flex:none}.notice b{font-size:12px}.notice p{font-size:11px;color:#617391;margin:4px 0 0;line-height:1.45}.grid{display:grid;gap:16px}.stats-grid{grid-template-columns:1fr 1fr}.two-grid{grid-template-columns:1fr 1fr;margin-top:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;box-shadow:0 5px 18px rgba(23,55,105,.035)}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.status{font-size:10px;font-weight:700;padding:6px 9px;border-radius:20px;background:#f0f3f8;color:#73819a}.status.good{background:#e8f8f1;color:#14885a}.avatar{width:46px;height:46px;border-radius:15px;background:linear-gradient(145deg,#eaf2ff,#d5e4ff);display:grid;place-items:center;color:#155eef;font-size:24px;margin:6px 0 10px}.wallet-address{font-size:12px;font-weight:750;color:#1a3155;overflow-wrap:anywhere}.wallet-address.large{font-size:14px;margin:8px 0 16px}.profile-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.profile-meta div,.voucher-info>div{display:flex;flex-direction:column;gap:5px}.profile-meta small,.voucher-info small,.ref-block small,.wallet-balance small{font-size:10px;color:var(--muted)}.profile-meta b,.voucher-info b{font-size:12px}.ref-block{border-top:1px solid var(--line);padding-top:13px}.ref-row{display:flex;gap:8px;align-items:center;margin-top:7px}.ref-row span{font-size:10px;color:#536582;overflow-wrap:anywhere;flex:1}.icon-btn{border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px 10px;color:var(--blue)}.balance-total{font-size:31px;font-weight:850;letter-spacing:-.05em;color:#155eef}.balance-total small{font-size:12px;letter-spacing:0}.balance-lines{margin:14px 0 16px}.balance-lines div,.network-info div,.claim-preview{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f0f3f8;font-size:11px}.balance-lines span,.network-info span,.claim-preview span{color:#77859a}.balance-lines b,.network-info b,.claim-preview b{font-size:11px;color:#263c5e}.btn{border:0;border-radius:11px;padding:12px 16px;font-weight:750;font-size:12px;cursor:pointer;transition:.15s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--blue);color:#fff;box-shadow:0 5px 12px rgba(21,94,239,.15)}.btn-primary:active{transform:translateY(1px)}.btn-outline{border:1px solid #d8e3f3;background:#fff;color:#2454a0}.btn-small{padding:9px 13px}.btn-wide{width:100%}.voucher-info{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:8px 0 18px}.network-info{margin-top:4px}.footnote{font-size:10px;color:#8995a8;line-height:1.5;margin:10px 0 0}.package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.package-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;position:relative;overflow:hidden}.package-card.featured{border:1.5px solid #9bbcff;box-shadow:0 8px 24px rgba(21,94,239,.08)}.tier-label,.popular{font-size:10px;letter-spacing:.13em;font-weight:850;color:#6e83a4}.popular{color:var(--blue)}.price{font-size:34px;font-weight:850;color:#152d52;letter-spacing:-.05em;margin:10px 0}.rate{font-size:20px;font-weight:850;color:#155eef}.rate span,.cap span{font-size:10px;font-weight:500;color:#7b89a0;letter-spacing:0}.cap{margin:5px 0 15px;font-size:14px;font-weight:800;color:#29446e}.package-card ul{padding-left:17px;min-height:90px;color:#687993;font-size:11px;line-height:1.9}.registration-panel{margin-top:18px}.registration-panel label,.claim-panel label{display:block;font-size:11px;font-weight:700;color:#425574;margin:12px 0 7px}.text-input{width:100%;border:1px solid #dce5f1;border-radius:10px;padding:12px;font:inherit;font-size:12px;outline:none;color:#1d3457}.text-input:focus{border-color:#80a9ff;box-shadow:0 0 0 3px #eaf1ff}.registration-panel .btn{margin-top:12px}.wallet-panel{margin-bottom:16px}.wallet-actions{display:flex;gap:9px;flex-wrap:wrap}.wallet-balance{margin-top:18px;padding:15px;border-radius:13px;background:#f5f8fe;display:flex;flex-direction:column;gap:7px}.wallet-balance b{font-size:24px;color:#155eef}.claim-panel{margin-bottom:16px}.claim-preview{margin:8px 0 14px}.empty-state{padding:16px 0;color:#8592a6;font-size:11px}.text-btn{border:0;background:none;color:var(--blue);font-size:11px;font-weight:700}.history-row{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:11px}.history-row b{display:block;color:#29405f;margin-bottom:4px}.history-row small{color:#8290a5}.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,1120px);height:75px;padding:7px 16px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr)}.nav-item{border:0;background:none;color:#8a98ad;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer}.nav-item span{font-size:21px;line-height:1}.nav-item small{font-size:10px;font-weight:700}.nav-item.active{color:var(--blue)}.toast{position:fixed;z-index:20;bottom:90px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#14294b;color:#fff;padding:11px 15px;border-radius:11px;font-size:11px;max-width:90%;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.busy{position:fixed;inset:0;background:rgba(12,29,57,.35);z-index:30;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;color:#fff;font-size:13px}.busy.hidden{display:none}.spinner{width:30px;height:30px;border:3px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}[dir=rtl] .panel-head,[dir=rtl] .welcome{direction:rtl}[dir=rtl] .bottom-nav{direction:rtl}[dir=rtl] .package-card ul{padding-left:0;padding-right:17px}
@media(max-width:720px){.topbar{height:62px;padding:0 15px}.brand{font-size:13px}.brand-mark{height:30px;width:30px}.top-actions{gap:7px}.top-actions select{padding:8px 5px;font-size:10px}.btn-small{font-size:10px;padding:9px 10px}main{padding:22px 14px}.welcome{align-items:flex-start;gap:10px}h1{font-size:25px}.network-pill{white-space:nowrap;margin-top:7px}.stats-grid,.two-grid{grid-template-columns:1fr}.panel{padding:17px}.package-grid{grid-template-columns:1fr;gap:12px}.package-card{padding:18px}.package-card ul{min-height:0;margin-bottom:15px}.package-card.featured{order:-1}.registration-panel{margin-top:14px}.balance-total{font-size:29px}.bottom-nav{height:70px}.claim-panel .btn{margin-top:4px}}
@media(min-width:721px){.profile-card,.balance-card{min-height:355px}}


/* --- Mobile layout correction (patch 2026-11) --- */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
.app-shell {
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  margin-inline: auto;
}
.topbar, main, .page, .grid, .panel {
  min-width: 0;
  max-width: 100%;
}
.topbar {
  width: 100%;
}
.brand {
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
}
.top-actions {
  min-width: 0;
  flex: 0 1 auto;
}
.top-actions > * {
  flex-shrink: 0;
}
.wallet-address, .ref-row span, .muted, .footnote {
  overflow-wrap: anywhere;
  word-break: break-word;
}
img, svg, video, canvas {
  max-width: 100%;
}

@media (max-width: 480px) {
  .topbar {
    height: 60px;
    padding: 0 10px;
    gap: 8px;
  }
  .brand {
    gap: 7px;
    font-size: 11px;
    letter-spacing: .035em;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 9px;
  }
  .top-actions {
    gap: 6px;
  }
  .top-actions select {
    min-width: 48px;
    max-width: 58px;
    padding: 7px 4px;
  }
  #connectBtn {
    max-width: 112px;
    min-width: 0;
    padding: 8px 9px;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  main {
    padding: 18px 12px 24px;
  }
  .welcome {
    min-width: 0;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  .welcome > div {
    min-width: 0;
    flex: 1 1 190px;
  }
  .network-pill {
    flex: 0 0 auto;
    margin-top: 0;
  }
  h1 {
    font-size: 24px;
    overflow-wrap: anywhere;
  }
  .panel {
    padding: 15px;
    border-radius: 15px;
  }
  .panel-head {
    min-width: 0;
    gap: 8px;
  }
  .panel-head h2 {
    min-width: 0;
  }
  .profile-meta, .voucher-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ref-row {
    min-width: 0;
    align-items: flex-start;
  }
  .ref-row span {
    min-width: 0;
  }
  .icon-btn {
    flex: 0 0 auto;
  }
  .balance-total {
    overflow-wrap: anywhere;
  }
  .balance-lines > div,
  .network-info > div,
  .claim-preview {
    min-width: 0;
    gap: 8px;
  }
  .balance-lines span,
  .network-info span,
  .claim-preview span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .balance-lines b,
  .network-info b,
  .claim-preview b {
    flex: 0 0 auto;
    text-align: right;
  }
  .bottom-nav {
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: none;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
}



/* Five-tab navigation and Dashboard / Network pages */
.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));}
.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0;}
.dashboard-stat{display:flex;flex-direction:column;gap:7px;min-width:0;}
.dashboard-stat small{font-size:11px;color:var(--muted);}
.dashboard-stat b{font-size:25px;line-height:1.2;color:var(--blue);overflow-wrap:anywhere;}
.dashboard-stat span{font-size:10px;color:#8995a8;line-height:1.4;}
.project-intro{margin-bottom:16px;}
.info-list{display:flex;flex-direction:column;margin:4px 0 16px;}
.info-list>div{display:flex;flex-direction:column;gap:4px;padding:10px 0;border-bottom:1px solid #f0f3f8;}
.info-list b{font-size:12px;color:#263c5e;}
.info-list span{font-size:11px;color:var(--muted);}
.network-tree-panel{margin-top:16px;}
.network-tree{overflow-x:auto;padding:6px 0 12px;min-width:0;}
.tree-root{min-width:0;}
.tree-root>ul,.tree-root ul{list-style:none;margin:10px 0 0 16px;padding-left:18px;border-left:1px solid #cbd8eb;}
.tree-root li{position:relative;margin:10px 0;padding-left:12px;}
.tree-root li:before{content:"";position:absolute;left:-18px;top:18px;width:24px;border-top:1px solid #cbd8eb;}
.tree-node{display:flex;align-items:center;gap:9px;min-width:0;width:fit-content;max-width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#f9fbff;}
.root-node{background:#eef4ff;border-color:#d6e4ff;}
.tree-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#1b70ef;}
.tree-address{font-size:11px;font-weight:700;color:#29405f;overflow-wrap:anywhere;word-break:break-all;}
.tree-node small{font-size:9px;color:var(--muted);white-space:nowrap;}
.tree-root .root-node>div{display:flex;flex-direction:column;gap:4px;min-width:0;}
.tree-root .root-node>div b{font-size:12px;}
.tree-root .root-node>div small{white-space:normal;overflow-wrap:anywhere;}
.tree-you{font-size:9px;font-weight:800;color:#155eef;background:#dce9ff;border-radius:20px;padding:4px 7px;margin-left:auto;}
@media(max-width:720px){
  .bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));padding-left:4px;padding-right:4px;height:70px;}
  .nav-item{gap:3px;min-width:0;}
  .nav-item span{font-size:19px;}
  .nav-item small{font-size:9px;white-space:nowrap;}
  .dashboard-grid{grid-template-columns:1fr 1fr;gap:10px;}
  .dashboard-stat:last-child{grid-column:1/-1;}
  .dashboard-stat{padding:14px;}
  .dashboard-stat b{font-size:22px;}
  .tree-node{max-width:calc(100vw - 90px);}
  .tree-root>ul,.tree-root ul{margin-left:8px;padding-left:13px;}
  .tree-root li{padding-left:8px;}
  .tree-root li:before{left:-13px;width:17px;}
}


/* ===== WEB3.FINANCE Premium Dark Emerald / Neon ===== */
:root{
  color-scheme:dark;
  --blue:#6dffad;--navy:#d9ffe9;--muted:#9ab9a8;--line:rgba(105,255,170,.17);--white:#0b2119;
  --emerald:#06251b;--emerald2:#0a3324;--neon:#65ff9d;--neon2:#20d978;
}
html,body{background:#041710;color:#e8fff0}
body{
 background:
 radial-gradient(ellipse at 12% 8%,rgba(18,190,105,.22),transparent 34%),
 radial-gradient(ellipse at 88% 28%,rgba(0,255,128,.13),transparent 30%),
 radial-gradient(ellipse at 50% 100%,rgba(12,110,68,.2),transparent 38%),
 linear-gradient(145deg,#03140e 0%,#06251b 48%,#04170f 100%);
 background-attachment:fixed;
}
.app-shell{background:transparent}
.topbar{
 background:rgba(4,24,16,.88);border-bottom:1px solid rgba(101,255,157,.22);
 box-shadow:0 8px 30px rgba(0,255,128,.07);backdrop-filter:blur(18px)
}
.brand{color:#eafff1}.brand-light{color:#9ac8ad}
.brand-mark{background:linear-gradient(145deg,#72ffad,#087b43);color:#032114;box-shadow:0 0 18px rgba(78,255,150,.42)}
select,.text-input{
 background:#09271c;color:#eafff1;border:1px solid rgba(105,255,170,.25)
}
select:focus,.text-input:focus{border-color:var(--neon);box-shadow:0 0 0 3px rgba(101,255,157,.12)}
h1,h2,.wallet-address,.profile-meta b,.voucher-info b{color:#edfff3}
.eyebrow{color:#75ffac}
.muted,.footnote,.profile-meta small,.voucher-info small,.ref-block small,.wallet-balance small{color:#9ab9a8}
.network-pill,.tiny-tag{color:#9dffc0;background:rgba(47,220,119,.12);border:1px solid rgba(101,255,157,.2)}
.notice{background:rgba(12,65,42,.62);border-color:rgba(101,255,157,.24)}
.notice-icon,.avatar{background:linear-gradient(145deg,rgba(85,255,153,.22),rgba(10,110,62,.32));color:#8bffb4;box-shadow:0 0 18px rgba(55,255,135,.16)}
.panel,.package-card{
 background:linear-gradient(145deg,rgba(12,48,33,.94),rgba(5,29,20,.96));
 border:1px solid rgba(101,255,157,.2);
 box-shadow:0 0 0 1px rgba(101,255,157,.035),0 8px 28px rgba(0,0,0,.28),0 0 24px rgba(26,255,126,.075);
 color:#eafff1;backdrop-filter:blur(12px)
}
.panel:hover,.package-card:hover{
 border-color:rgba(101,255,157,.42);
 box-shadow:0 0 0 1px rgba(101,255,157,.08),0 10px 32px rgba(0,0,0,.32),0 0 28px rgba(26,255,126,.13)
}
.status{background:rgba(255,255,255,.07);color:#b2cbbd}
.status.good{background:rgba(47,220,119,.16);color:#8bffb4}
.ref-block{border-color:rgba(101,255,157,.17)}
.ref-row span,.balance-lines span,.network-info span,.claim-preview span,.history-row small{color:#9ab9a8}
.balance-lines div,.network-info div,.claim-preview,.history-row,.info-list>div{border-color:rgba(101,255,157,.13)}
.balance-lines b,.network-info b,.claim-preview b,.info-list b{color:#eafff1}
.balance-total,.dashboard-stat b,.rate{color:#75ffad;text-shadow:0 0 18px rgba(101,255,157,.2)}
.price{color:#f0fff5}
.btn{border-radius:12px;min-height:42px;letter-spacing:.01em}
.btn-primary{
 color:#032014;background:linear-gradient(135deg,#9affbd,#35e982 55%,#14bd68);
 border:1px solid rgba(190,255,214,.65);
 box-shadow:0 0 0 1px rgba(101,255,157,.16),0 5px 18px rgba(24,224,112,.24),0 0 22px rgba(50,255,135,.2)
}
.btn-primary:hover{filter:brightness(1.08);box-shadow:0 0 0 1px rgba(180,255,205,.35),0 7px 22px rgba(24,224,112,.32),0 0 28px rgba(50,255,135,.3)}
.btn-outline,.icon-btn{
 color:#a9ffc8;background:rgba(31,130,77,.14);border:1px solid rgba(101,255,157,.38);
 box-shadow:0 0 13px rgba(30,255,125,.07)
}
.text-btn{color:#8dffb6}
.package-card.featured{border:1px solid rgba(119,255,174,.68);box-shadow:0 0 0 1px rgba(101,255,157,.13),0 0 30px rgba(32,255,125,.17)}
.tier-label,.popular{color:#8bffb4}
.wallet-balance{background:rgba(31,130,77,.16);border:1px solid rgba(101,255,157,.18)}
.wallet-balance b{color:#83ffb3;text-shadow:0 0 16px rgba(101,255,157,.24)}
.bottom-nav{
 background:rgba(3,22,15,.94);border-top:1px solid rgba(101,255,157,.24);
 box-shadow:0 -8px 32px rgba(0,0,0,.28),0 0 22px rgba(25,255,125,.08);backdrop-filter:blur(20px)
}
.nav-item{color:#769b86}
.nav-item.active{color:#83ffb3;text-shadow:0 0 14px rgba(101,255,157,.4)}
.nav-item.active .nav-icon{filter:drop-shadow(0 0 7px rgba(101,255,157,.8))}
.nav-item span{font-size:19px}
.nav-item small{font-size:10px}
.toast{background:#0b3926;border:1px solid rgba(101,255,157,.35);box-shadow:0 0 22px rgba(30,255,125,.16);color:#eafff1}
.busy{background:rgba(1,15,9,.82);backdrop-filter:blur(8px)}
.spinner{border-color:rgba(255,255,255,.2);border-top-color:#83ffb3}
.tree-root>ul,.tree-root ul{border-color:rgba(101,255,157,.42)}
.tree-root li:before{border-color:rgba(101,255,157,.42)}
.tree-node{background:rgba(8,45,29,.95);border-color:rgba(101,255,157,.25);box-shadow:0 0 14px rgba(30,255,125,.08)}
.root-node{background:rgba(26,115,66,.24);border-color:rgba(101,255,157,.5)}
.tree-address,.tree-root .root-node>div b{color:#eafff1}
.tree-dot{background:#78ffad;box-shadow:0 0 10px #48ff91}
.tree-you{color:#032014;background:#83ffb3}
.empty-state{color:#9ab9a8}
.panel-head h2{display:flex;align-items:center;gap:9px}
.ui-icon{width:19px;height:19px;display:inline-grid;place-items:center;flex:0 0 19px;color:#80ffae;filter:drop-shadow(0 0 5px rgba(101,255,157,.32))}
.ui-icon svg,.nav-icon svg{width:100%;height:100%;display:block;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-icon{width:21px;height:21px;display:block;color:currentColor}
.avatar .ui-icon{width:25px;height:25px}
.dashboard-stat{position:relative}
.dashboard-stat:before{content:"";position:absolute;right:15px;top:15px;width:32px;height:32px;border-radius:11px;background:rgba(101,255,157,.1);box-shadow:0 0 16px rgba(101,255,157,.12)}
@media(max-width:720px){
 .bottom-nav{height:72px}
 .nav-item span{font-size:19px}
 .nav-icon{width:20px;height:20px}
}


/* ===== Emerald Luxe: premium visual refinement ===== */
:root{
  color-scheme:dark;
  --blue:#72f5b0;
  --navy:#effff5;
  --muted:#a9c5b7;
  --line:rgba(129,238,177,.16);
  --emerald:#041b14;
  --emerald2:#0a3023;
  --neon:#83ffc0;
  --neon2:#22d98b;
  --gold:#e5c58b;
}
html{background:#03130e}
body{
  color:#effff5;
  background:
    radial-gradient(ellipse 48% 36% at 4% 2%,rgba(28,207,126,.24),transparent 72%),
    radial-gradient(ellipse 42% 34% at 98% 20%,rgba(17,147,105,.23),transparent 72%),
    radial-gradient(ellipse 55% 40% at 52% 96%,rgba(11,101,70,.24),transparent 72%),
    linear-gradient(135deg,#020d0a 0%,#06251b 42%,#03170f 100%);
  background-attachment:fixed;
}
body:before{
  content:"";position:fixed;inset:-20%;z-index:-1;pointer-events:none;
  background:
    radial-gradient(circle at 25% 25%,rgba(90,255,174,.075),transparent 24%),
    radial-gradient(circle at 75% 62%,rgba(36,214,143,.07),transparent 27%);
  filter:blur(36px);animation:emeraldAura 18s ease-in-out infinite alternate;
}
@keyframes emeraldAura{from{transform:translate3d(-1.5%,0,0) scale(1)}to{transform:translate3d(1.5%,1%,0) scale(1.06)}}
.app-shell{isolation:isolate}
.topbar{
  background:linear-gradient(110deg,rgba(3,19,13,.97),rgba(5,37,26,.92) 58%,rgba(3,22,16,.97));
  border-bottom:1px solid rgba(117,255,183,.22);
  box-shadow:0 12px 38px rgba(0,0,0,.28),0 1px 0 rgba(130,255,190,.06);
}
.brand{letter-spacing:.055em;text-shadow:0 1px 12px rgba(100,255,177,.12)}
.brand-mark{
  background:linear-gradient(145deg,#a3ffd0 0%,#36df91 48%,#08794d 100%);
  box-shadow:0 0 0 1px rgba(189,255,218,.35),0 5px 18px rgba(23,224,132,.26),0 0 28px rgba(42,255,154,.2);
}
.brand-light{color:#9ecbb3}
select,.text-input{
  background:linear-gradient(145deg,rgba(13,52,37,.96),rgba(5,29,21,.96));
  color:#edfff4;border-color:rgba(132,255,190,.25);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
select:focus,.text-input:focus{border-color:#8affbd;box-shadow:0 0 0 3px rgba(104,255,171,.13),0 0 22px rgba(55,239,144,.12)}
main{padding-top:34px}
.welcome{margin-bottom:26px}
.eyebrow{color:#8dffc0;text-shadow:0 0 16px rgba(92,255,170,.3)}
h1{color:#f2fff7;text-shadow:0 2px 22px rgba(103,255,177,.11);font-weight:820}
h2{color:#f1fff6}
.muted,.footnote,.profile-meta small,.voucher-info small,.ref-block small,.wallet-balance small{color:#a8c6b7}
.network-pill,.tiny-tag{
  color:#b7ffd2;
  background:linear-gradient(135deg,rgba(29,135,83,.23),rgba(7,54,36,.52));
  border:1px solid rgba(124,255,184,.24);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 0 18px rgba(37,230,135,.07);
}
.network-pill i{box-shadow:0 0 10px #42ff9b}
.panel,.package-card{
  position:relative;overflow:hidden;
  background:
    linear-gradient(145deg,rgba(13,53,38,.88),rgba(5,28,20,.94) 58%,rgba(4,24,18,.96));
  border:1px solid rgba(128,241,177,.19);
  border-radius:21px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 -1px 0 rgba(90,255,164,.035),
    0 14px 34px rgba(0,0,0,.25),
    0 0 26px rgba(25,214,123,.065);
  backdrop-filter:blur(18px);
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}
.panel:before,.package-card:before{
  content:"";position:absolute;inset:0 0 auto;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(188,255,215,.42),transparent);
}
.panel:hover,.package-card:hover{
  border-color:rgba(137,255,190,.38);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 18px 42px rgba(0,0,0,.3),0 0 34px rgba(35,238,137,.12);
  transform:translateY(-2px);
}
.project-intro{
  background:
    radial-gradient(ellipse at 100% 0%,rgba(37,204,126,.13),transparent 45%),
    linear-gradient(135deg,rgba(12,57,39,.94),rgba(4,29,20,.97));
}
.dashboard-stat{
  min-height:126px;padding:19px 18px 17px 20px;
  background:
    radial-gradient(circle at 100% 0%,rgba(62,240,150,.12),transparent 42%),
    linear-gradient(145deg,rgba(12,52,36,.94),rgba(4,27,19,.98));
}
.dashboard-stat:before{display:none}
.stat-icon{
  position:absolute;right:16px;top:15px;width:39px;height:39px;
  display:grid;place-items:center;border-radius:13px;
  color:#9affc4;background:linear-gradient(145deg,rgba(71,226,143,.2),rgba(12,83,54,.25));
  border:1px solid rgba(130,255,186,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 0 22px rgba(48,237,140,.13);
}
.stat-icon .ui-icon{width:20px;height:20px}
.dashboard-stat small{color:#a9caba}
.dashboard-stat b,.balance-total,.rate{
  color:#8dffc0;
  text-shadow:0 0 22px rgba(89,255,169,.24);
}
.dashboard-stat span{color:#91ad9f}
.balance-total{font-size:35px}
.balance-lines div,.network-info div,.claim-preview,.history-row,.info-list>div{border-color:rgba(133,236,176,.12)}
.balance-lines b,.network-info b,.claim-preview b,.info-list b,.wallet-address,.profile-meta b,.voucher-info b{color:#effff5}
.ref-block{border-color:rgba(133,236,176,.16)}
.ref-row span,.balance-lines span,.network-info span,.claim-preview span,.history-row small{color:#a8c5b7}
.status{background:rgba(255,255,255,.07);color:#c2d7ca;border:1px solid rgba(255,255,255,.07)}
.status.good{background:rgba(48,212,128,.15);color:#9dffbf;border:1px solid rgba(105,255,168,.2)}
.avatar{
  background:radial-gradient(circle at 30% 20%,rgba(146,255,195,.3),rgba(10,105,65,.42));
  color:#9affc5;border:1px solid rgba(133,255,187,.22);
  box-shadow:0 0 26px rgba(40,234,133,.17),inset 0 1px 0 rgba(255,255,255,.08);
}
.btn{
  border-radius:13px;min-height:45px;font-weight:800;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.btn:active{transform:translateY(1px) scale(.99)}
.btn-primary{
  color:#032116;
  background:linear-gradient(112deg,#a4ffd0 0%,#58efa2 42%,#19c979 100%);
  border:1px solid rgba(198,255,221,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 7px 22px rgba(22,206,119,.26),0 0 26px rgba(56,255,151,.18);
}
.btn-primary:hover{filter:brightness(1.08) saturate(1.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 26px rgba(22,206,119,.34),0 0 34px rgba(56,255,151,.26)}
.btn-outline,.icon-btn{
  color:#c4ffda;background:linear-gradient(135deg,rgba(27,115,73,.2),rgba(6,48,32,.52));
  border:1px solid rgba(133,255,187,.32);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 0 16px rgba(30,220,128,.06);
}
.btn-outline:hover,.icon-btn:hover{border-color:rgba(152,255,199,.65);background:rgba(35,150,91,.24);box-shadow:0 0 22px rgba(45,235,139,.14)}
.text-btn{color:#9cffc2}
.package-card{padding:23px}
.package-card.featured{
  border-color:rgba(151,255,197,.62);
  background:
    radial-gradient(ellipse at 100% 0%,rgba(65,236,145,.18),transparent 45%),
    linear-gradient(145deg,rgba(14,67,45,.98),rgba(4,29,20,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 14px 38px rgba(0,0,0,.27),0 0 34px rgba(42,245,139,.17);
}
.tier-label,.popular{color:#a5ffca}
.price{color:#f3fff7;text-shadow:0 2px 20px rgba(122,255,183,.14)}
.cap{color:#d5f5e1}
.package-card ul{color:#a8c5b6}
.wallet-balance{
  background:linear-gradient(135deg,rgba(29,117,75,.25),rgba(7,47,32,.62));
  border:1px solid rgba(126,255,183,.2);
  border-radius:17px;padding:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 0 24px rgba(31,221,128,.08);
}
.wallet-balance b{color:#98ffc4;text-shadow:0 0 20px rgba(93,255,169,.2)}
.notice{
  background:linear-gradient(120deg,rgba(20,91,57,.32),rgba(5,40,27,.7));
  border:1px solid rgba(132,255,184,.2);
  box-shadow:0 8px 26px rgba(0,0,0,.16),0 0 24px rgba(37,220,128,.07);
}
.notice-icon{background:rgba(66,208,129,.16);color:#a1ffca}
.bottom-nav{
  background:linear-gradient(100deg,rgba(2,17,12,.97),rgba(5,35,24,.96),rgba(2,17,12,.97));
  border-top:1px solid rgba(128,255,183,.2);
  box-shadow:0 -12px 36px rgba(0,0,0,.34),0 0 28px rgba(28,220,127,.09);
  backdrop-filter:blur(24px);
}
.nav-item{color:#789d89;gap:5px}
.nav-item.active{
  color:#a2ffca;
  text-shadow:0 0 16px rgba(117,255,180,.42);
}
.nav-item.active .nav-icon{filter:drop-shadow(0 0 8px rgba(101,255,165,.8))}
.nav-icon{width:22px;height:22px}
.nav-item small{font-size:10px;font-weight:750;letter-spacing:.01em}
.ui-icon{color:#9bffc3;filter:drop-shadow(0 0 7px rgba(91,255,164,.38))}
.tree-root>ul,.tree-root ul{border-color:rgba(126,255,182,.38)}
.tree-root li:before{border-color:rgba(126,255,182,.38)}
.tree-node{
  background:linear-gradient(135deg,rgba(13,66,44,.92),rgba(4,31,21,.96));
  border-color:rgba(129,255,185,.25);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 18px rgba(35,222,131,.09);
}
.root-node{background:linear-gradient(120deg,rgba(35,139,82,.3),rgba(7,55,35,.65));border-color:rgba(150,255,196,.5)}
.tree-address,.tree-root .root-node>div b{color:#effff5}
.tree-dot{background:#8dffc0;box-shadow:0 0 12px #54ffa1}
.tree-you{color:#062216;background:linear-gradient(120deg,#b2ffd1,#5be99b)}
.empty-state{color:#a9c5b7}
.toast{background:linear-gradient(120deg,#0c3c28,#052619);border:1px solid rgba(128,255,182,.3);box-shadow:0 0 26px rgba(33,225,130,.16)}
.busy{background:rgba(1,12,8,.82);backdrop-filter:blur(12px)}
.spinner{border-color:rgba(255,255,255,.18);border-top-color:#9dffc4}
@media(max-width:720px){
  main{padding:22px 14px 28px}
  .welcome{margin-bottom:20px}
  .panel,.package-card{border-radius:18px}
  .dashboard-stat{min-height:116px;padding:16px}
  .stat-icon{width:34px;height:34px;right:13px;top:13px}
  .dashboard-stat b{font-size:24px}
  .bottom-nav{height:74px}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


/* ===== Approved Emerald / Neon / Champagne Gold visual system ===== */
:root{
  --gold:#f3d18a;
  --gold-bright:#ffe7ad;
  --gold-deep:#9e6d22;
  --mint:#8effc2;
  --mint-hot:#22e58d;
  --deep:#03140f;
  --deep-card:#06271c;
}
html,body{background-color:#02110c}
body{
 background:
  radial-gradient(ellipse 54% 42% at 8% 0%,rgba(16,210,123,.22),transparent 68%),
  radial-gradient(ellipse 44% 38% at 94% 12%,rgba(0,255,171,.17),transparent 70%),
  radial-gradient(ellipse 48% 40% at 55% 100%,rgba(12,112,73,.27),transparent 72%),
  linear-gradient(135deg,#020d09 0%,#063321 47%,#02150e 100%);
 background-attachment:fixed;
}
body:before{
 background:
  radial-gradient(circle at 18% 22%,rgba(74,255,165,.13),transparent 23%),
  radial-gradient(circle at 83% 42%,rgba(0,255,178,.10),transparent 26%),
  radial-gradient(circle at 50% 85%,rgba(255,205,119,.045),transparent 22%);
 filter:blur(30px);animation:emeraldAura 14s ease-in-out infinite alternate;
}
@keyframes emeraldAura{from{transform:translate3d(-1.2%,-.5%,0) scale(1)}to{transform:translate3d(1.3%,1%,0) scale(1.07)}}
.app-shell{max-width:1240px}
.topbar{
 background:linear-gradient(105deg,rgba(2,20,13,.98),rgba(5,49,32,.96) 55%,rgba(2,23,15,.98));
 border-bottom:1px solid rgba(128,255,187,.30);
 box-shadow:0 10px 38px rgba(0,0,0,.30),0 0 24px rgba(30,238,135,.10)
}
.brand-mark{
 background:linear-gradient(145deg,#c2ffdc 0%,#35e995 43%,#087a4d 100%);
 color:#032014;box-shadow:0 0 0 1px rgba(225,255,237,.55),0 5px 18px rgba(31,255,145,.35),0 0 30px rgba(36,255,150,.32)
}
.brand,.brand-light{color:#effff5}
select,.text-input{
 color:#effff5;background:linear-gradient(145deg,rgba(10,57,39,.98),rgba(3,27,19,.98));
 border-color:rgba(135,255,190,.34);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)
}
select:focus,.text-input:focus{border-color:var(--mint);box-shadow:0 0 0 3px rgba(105,255,173,.16),0 0 24px rgba(49,255,148,.16)}
h1,h2{color:#f3fff8}
.eyebrow{color:#8effbd;text-shadow:0 0 16px rgba(92,255,170,.45)}
.muted,.footnote,.profile-meta small,.voucher-info small,.ref-block small,.wallet-balance small{color:#a9cbbb}
.network-pill,.tiny-tag,.status{
 color:#c9ffdd;background:linear-gradient(135deg,rgba(24,132,80,.28),rgba(5,52,34,.64));
 border:1px solid rgba(130,255,185,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 18px rgba(36,235,137,.09)
}
.network-pill i{background:#38ff9d;box-shadow:0 0 12px #38ff9d}
.panel,.package-card{
 background:
  radial-gradient(ellipse at 100% 0%,rgba(31,197,117,.10),transparent 45%),
  linear-gradient(145deg,rgba(10,54,37,.96),rgba(3,29,20,.98) 62%,rgba(2,22,16,.99));
 border:1px solid rgba(121,244,173,.24);border-radius:21px;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.07),inset 0 -1px 0 rgba(80,255,160,.04),0 16px 38px rgba(0,0,0,.27),0 0 24px rgba(29,233,128,.09);
 backdrop-filter:blur(18px);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease
}
.panel:before,.package-card:before{
 content:"";position:absolute;inset:0 0 auto;height:1px;pointer-events:none;
 background:linear-gradient(90deg,transparent,rgba(208,255,224,.55),rgba(255,225,164,.35),transparent)
}
.panel:hover,.package-card:hover{transform:translateY(-2px);border-color:rgba(142,255,194,.48);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 20px 42px rgba(0,0,0,.32),0 0 32px rgba(29,245,137,.15)}
.project-intro{background:radial-gradient(ellipse at 100% 0%,rgba(43,222,139,.18),transparent 48%),linear-gradient(135deg,rgba(10,66,43,.98),rgba(3,29,20,.98))}
.dashboard-stat b,.balance-total,.wallet-balance b,.rate{color:#8dffc0;text-shadow:0 0 18px rgba(75,255,160,.24)}
.dashboard-stat .stat-icon,.stat-icon{background:linear-gradient(145deg,rgba(22,145,86,.34),rgba(4,54,34,.72));border:1px solid rgba(125,255,183,.26);box-shadow:0 0 18px rgba(30,245,135,.16)}
.balance-lines div,.network-info div,.claim-preview,.history-row,.info-list>div{border-color:rgba(122,244,173,.15)}
.balance-lines span,.network-info span,.claim-preview span,.history-row small,.ref-row span{color:#a7c8b6}
.balance-lines b,.network-info b,.claim-preview b,.info-list b,.history-row b{color:#effff5}
.price{color:#f5fff8}
.btn{min-height:44px;border-radius:13px;font-weight:800;letter-spacing:.01em;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.btn:focus-visible,.nav-item:focus-visible,.icon-btn:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}
.btn-primary{
 color:#032014;background:linear-gradient(112deg,#baffd4 0%,#62f5a7 38%,#18ce7b 100%);
 border:1px solid rgba(210,255,226,.78);
 box-shadow:0 0 0 1px rgba(107,255,173,.20),0 7px 20px rgba(17,225,121,.29),0 0 27px rgba(42,255,145,.24)
}
.btn-primary:hover{filter:brightness(1.10);transform:translateY(-1px);box-shadow:0 0 0 1px rgba(210,255,226,.36),0 9px 26px rgba(17,225,121,.38),0 0 34px rgba(42,255,145,.34)}
.btn-outline,.icon-btn{
 color:#c3ffda;background:linear-gradient(145deg,rgba(12,73,47,.65),rgba(3,35,24,.9));
 border:1px solid rgba(122,255,181,.43);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 16px rgba(31,238,133,.08)
}
.btn-outline:hover,.icon-btn:hover{border-color:#9affc2;background:rgba(18,112,69,.38);box-shadow:0 0 20px rgba(40,255,145,.17)}
.text-btn{color:#9bffc4}
.package-card.featured{border-color:rgba(255,220,151,.75);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(255,218,145,.18),0 0 32px rgba(244,190,91,.18),0 16px 38px rgba(0,0,0,.25)}
.package-card.featured .popular,.package-card:nth-child(3) .tier-label{color:var(--gold-bright);text-shadow:0 0 12px rgba(255,215,145,.28)}
.package-card.featured .btn-primary,.registration-panel .btn-primary,.claim-panel .btn-primary{background:linear-gradient(112deg,#fff0bd 0%,#f5d17e 45%,#d99b39 100%);color:#261806;border-color:rgba(255,239,190,.88);box-shadow:0 0 0 1px rgba(255,220,150,.18),0 7px 22px rgba(225,165,64,.25),0 0 25px rgba(255,206,113,.20)}
.package-card.featured .btn-primary:hover,.registration-panel .btn-primary:hover,.claim-panel .btn-primary:hover{box-shadow:0 0 0 1px rgba(255,240,194,.34),0 9px 26px rgba(225,165,64,.34),0 0 32px rgba(255,206,113,.29)}
.tier-label,.popular{color:#a8ffca}
.wallet-balance{background:linear-gradient(135deg,rgba(16,89,56,.48),rgba(3,34,24,.88));border:1px solid rgba(117,255,177,.25);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 22px rgba(23,236,129,.08)}
.bottom-nav{background:rgba(2,20,14,.96);border-top:1px solid rgba(130,255,185,.30);box-shadow:0 -10px 36px rgba(0,0,0,.32),0 0 28px rgba(25,255,125,.10);backdrop-filter:blur(22px)}
.nav-item{color:#7da992;gap:5px;transition:color .18s ease,text-shadow .18s ease}
.nav-item.active{color:#a0ffca;text-shadow:0 0 14px rgba(101,255,157,.55)}
.nav-item.active .nav-icon{filter:drop-shadow(0 0 8px rgba(101,255,165,.92))}
.nav-icon{width:22px;height:22px}
.nav-item small{font-size:10px;font-weight:800}
.ui-icon{color:#91ffc0;filter:drop-shadow(0 0 6px rgba(101,255,157,.38))}
.avatar{background:linear-gradient(145deg,rgba(29,157,93,.48),rgba(3,64,39,.9));border:1px solid rgba(130,255,185,.28);color:#a4ffca;box-shadow:0 0 22px rgba(32,244,137,.18)}
.notice{background:linear-gradient(135deg,rgba(12,70,47,.8),rgba(3,33,23,.95));border-color:rgba(125,255,180,.26);color:#effff5}
.notice p{color:#b3cdbd}.notice-icon{background:rgba(27,153,91,.28);color:#a0ffca}
.text-input{color:#effff5}
.status.good{background:rgba(30,176,105,.2);color:#a5ffd0;border:1px solid rgba(113,255,174,.3)}
.toast{background:linear-gradient(135deg,#0b422b,#062519);border:1px solid rgba(135,255,190,.38);box-shadow:0 0 26px rgba(28,240,132,.2);color:#f0fff6}
.busy{background:rgba(1,14,9,.84);backdrop-filter:blur(10px)}
.spinner{border-color:rgba(255,255,255,.2);border-top-color:#9affc5}
.tree-root>ul,.tree-root ul{border-color:rgba(133,255,187,.48)}
.tree-root li:before{border-color:rgba(133,255,187,.48)}
.tree-node{background:linear-gradient(145deg,rgba(9,61,40,.96),rgba(3,30,21,.98));border-color:rgba(128,255,183,.30);box-shadow:0 0 18px rgba(30,245,135,.12)}
.root-node{background:linear-gradient(135deg,rgba(20,129,75,.44),rgba(4,50,32,.9));border-color:rgba(255,219,146,.55);box-shadow:0 0 22px rgba(255,211,130,.14)}
.tree-address,.tree-root .root-node>div b{color:#f2fff7}.tree-dot{background:#83ffb5;box-shadow:0 0 12px #48ff91}.tree-you{color:#1d1606;background:linear-gradient(135deg,#fff0bd,#e4b95e)}
.empty-state{color:#a6c7b6}
@media(max-width:720px){
 main{padding:22px 14px 28px}.bottom-nav{height:76px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
 .nav-icon{width:21px;height:21px}.nav-item small{font-size:9px}
 .panel,.package-card{border-radius:18px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}


/* ===== Dashboard UI: approved reference composition ===== */
.dashboard-page{max-width:100%;padding-bottom:18px}
.dashboard-welcome{margin-bottom:18px;align-items:center}
.dashboard-welcome .eyebrow{font-size:10px;letter-spacing:.16em}
.dashboard-welcome h1{font-size:clamp(26px,3vw,34px);margin-bottom:5px}
.dashboard-welcome .muted{font-size:12px}
.dashboard-hero{
  min-height:174px;position:relative;isolation:isolate;overflow:hidden;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:22px 25px;margin:0 0 14px;border-radius:23px;
  border:1px solid rgba(123,255,183,.58);
  background:
    radial-gradient(ellipse at 82% 52%,rgba(28,255,148,.32),transparent 39%),
    radial-gradient(ellipse at 8% 0%,rgba(42,205,122,.22),transparent 48%),
    linear-gradient(112deg,#0a5537 0%,#063b29 48%,#041d16 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.17),0 10px 28px rgba(0,0,0,.24),0 0 28px rgba(25,255,139,.19);
}
.dashboard-hero:after{content:"";position:absolute;inset:0;z-index:-1;opacity:.28;background:linear-gradient(120deg,transparent 42%,rgba(126,255,189,.12) 62%,transparent 78%)}
.hero-copy{position:relative;z-index:2;min-width:0}
.hero-kicker{font-size:9px;font-weight:900;letter-spacing:.16em;color:#a7ffd0}
.hero-copy h2{font-size:clamp(21px,2.5vw,28px);font-weight:950;letter-spacing:-.045em;margin:5px 0 4px;color:#f4fff7;text-shadow:0 0 18px rgba(116,255,177,.2)}
.hero-copy p{font-size:12px;line-height:1.45;color:#d4f3df;margin:0 0 12px}
.hero-link{border:1px solid rgba(255,236,180,.8);border-radius:99px;padding:8px 14px;background:linear-gradient(110deg,#fff0b9,#f3c65f 58%,#d99d35);color:#35230a;font-size:10px;font-weight:900;box-shadow:0 4px 16px rgba(255,195,77,.25);cursor:pointer}
.hero-link span{font-size:16px;line-height:8px;margin-left:6px}
.hero-art{position:relative;z-index:1;flex:0 0 40%;height:142px;max-width:270px;display:grid;place-items:center;perspective:500px}
.hero-orbit{position:absolute;border:1px solid rgba(139,255,192,.34);border-radius:50%;transform:rotateX(65deg);box-shadow:0 0 15px rgba(55,255,154,.22)}
.orbit-one{width:180px;height:94px}.orbit-two{width:135px;height:70px;border-color:rgba(255,218,133,.3)}
.hero-platform{position:absolute;left:50%;transform:translateX(-50%) rotateX(62deg);border-radius:50%;border:2px solid rgba(139,255,189,.75)}
.platform-back{bottom:17px;width:170px;height:64px;background:radial-gradient(ellipse,rgba(49,255,156,.45),rgba(11,104,65,.1) 68%,transparent 70%);box-shadow:0 0 24px rgba(39,255,146,.55)}
.platform-front{bottom:7px;width:138px;height:47px;border-color:rgba(255,218,135,.85);box-shadow:0 0 18px rgba(255,205,91,.35)}
.hero-coin{position:absolute;top:13px;width:75px;height:75px;display:grid;place-items:center;filter:drop-shadow(0 7px 12px rgba(255,190,52,.32)) drop-shadow(0 0 17px rgba(47,255,153,.38));animation:coinFloat 4s ease-in-out infinite}
.hero-coin svg{width:100%;height:100%}
.hero-spark{position:absolute;color:#fff0ad;text-shadow:0 0 12px #ffe08b;font-size:19px}
.spark-a{right:16%;top:20px}.spark-b{left:15%;bottom:35px;font-size:13px}
@keyframes coinFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.hero-glow{position:absolute;right:8%;bottom:-70px;width:190px;height:120px;border-radius:50%;background:#18e98b;filter:blur(55px);opacity:.24;z-index:-1}
.dashboard-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.dashboard-stats .dashboard-stat{min-height:100px;padding:15px 17px;border-radius:18px}
.dashboard-stat small{font-size:11px;line-height:1.3;font-weight:650}
.dashboard-stat b{font-size:27px;margin-top:2px;line-height:1.05}
.dashboard-stat b em{font-style:normal;font-size:12px}
.dashboard-stats .stat-icon{width:34px;height:34px;right:12px;top:12px}
.stat-icon svg,.membership-crown svg,.membership-check svg,.feature-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.membership-highlight{
  min-height:82px;display:flex;align-items:center;gap:13px;padding:13px 16px;margin-bottom:12px;
  background:radial-gradient(ellipse at 90% 0%,rgba(41,255,149,.24),transparent 45%),linear-gradient(110deg,#0b5839,#063a28 65%,#052519);
  border-color:rgba(112,255,177,.48);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 25px rgba(0,0,0,.22),0 0 25px rgba(36,255,144,.15)
}
.membership-crown{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;color:#ffdc83;filter:drop-shadow(0 0 9px rgba(255,210,102,.5))}
.membership-crown svg{width:31px;height:31px;fill:rgba(255,209,91,.24);stroke:#ffdc83;stroke-width:1.7}
.membership-highlight>div{display:flex;flex-direction:column;gap:1px;min-width:0}
.membership-highlight small{font-size:11px;color:#e1f8e9;font-weight:700}
.membership-highlight b{font-size:22px;line-height:1.15;color:#8effbd;text-shadow:0 0 15px rgba(86,255,166,.34)}
.membership-highlight span:not(.membership-crown):not(.membership-check){font-size:10px;color:#b2d5c0}
.membership-check{margin-left:auto;flex:0 0 27px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:#b5ffd0;border:1px solid rgba(166,255,202,.7);box-shadow:0 0 14px rgba(70,255,153,.22)}
.membership-check svg{width:17px;height:17px}
.membership-shine{position:absolute;right:-30px;bottom:-65px;width:180px;height:100px;transform:rotate(-25deg);background:linear-gradient(90deg,transparent,rgba(111,255,180,.1),transparent);pointer-events:none}
.dashboard-packages,.dashboard-features{padding:16px;margin-bottom:12px;border-radius:19px}
.dashboard-packages .panel-head,.dashboard-features .panel-head{margin-bottom:12px}
.dashboard-packages .panel-head h2,.dashboard-features .panel-head h2{font-size:14px;gap:8px}
.dashboard-packages .ui-icon svg,.dashboard-features .ui-icon svg{width:20px;height:20px}
.mini-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}
.mini-package{min-width:0;min-height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid rgba(126,255,183,.34);border-radius:13px;background:linear-gradient(145deg,rgba(15,101,62,.45),rgba(3,34,24,.88));box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 15px rgba(35,244,139,.08)}
.mini-package small{font-size:10px;color:#d7f3e1;font-weight:700}
.mini-package b{font-size:17px;color:#f3fff7;letter-spacing:-.03em}
.mini-gem{font-size:23px;line-height:1.1;font-weight:900;filter:drop-shadow(0 0 7px currentColor)}
.basic-gem{color:#8effc2}.standard-gem{color:#71caff}.premium-gem{color:#ffdc79}
.btn-gold{color:#392609!important;background:linear-gradient(110deg,#fff0b5,#f6d477 48%,#d99b35)!important;border:1px solid rgba(255,239,190,.9)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 5px 18px rgba(224,166,57,.24),0 0 20px rgba(255,211,112,.16)!important}
.btn-gold:hover{filter:brightness(1.07);box-shadow:0 8px 23px rgba(224,166,57,.34),0 0 25px rgba(255,211,112,.24)!important}
.btn-gold span{font-size:17px;margin-left:5px;vertical-align:-1px}
.feature-row{width:100%;display:flex;align-items:center;gap:10px;padding:9px 2px;border:0;border-bottom:1px solid rgba(125,241,175,.14);background:transparent;color:#effff5;text-align:left;cursor:pointer}
.feature-row:last-child{border-bottom:0;padding-bottom:2px}
.feature-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;color:#9affc4;border-radius:9px;background:rgba(32,162,96,.18);border:1px solid rgba(127,255,183,.2)}
.feature-icon svg{width:19px;height:19px}
.feature-row>span:nth-child(2){display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.feature-row b{font-size:11px;color:#effff5}
.feature-row small{font-size:9px;color:#a9cbbb}
.feature-row i{font-style:normal;font-size:22px;line-height:1;color:#d9f8e4}
.feature-row:hover{background:linear-gradient(90deg,rgba(66,235,143,.08),transparent);padding-left:7px}
.dashboard-disclaimer{font-size:9px;margin:2px 0 14px}
@media(min-width:900px){
 .dashboard-hero{min-height:190px;padding:26px 32px}
 .hero-art{height:158px}
 .dashboard-stats .dashboard-stat{min-height:112px;padding:18px 20px}
 .dashboard-packages,.dashboard-features{padding:20px}
 .mini-package{min-height:96px}
}
@media(max-width:560px){
 .dashboard-welcome{gap:8px;align-items:flex-start}
 .dashboard-welcome .network-pill{font-size:9px;padding:6px 8px;margin-top:2px}
 .dashboard-hero{min-height:150px;padding:17px 14px;border-radius:19px}
 .hero-art{flex-basis:39%;height:125px;margin-right:-8px}
 .hero-coin{width:63px;height:63px;top:13px}
 .orbit-one{width:140px;height:75px}.orbit-two{width:108px;height:58px}
 .platform-back{width:140px;height:54px}.platform-front{width:112px;height:40px}
 .hero-copy h2{font-size:20px}.hero-copy p{font-size:10px}
 .hero-link{font-size:9px;padding:7px 10px}
 .dashboard-stats{gap:9px}
 .dashboard-stats .dashboard-stat{min-height:93px;padding:13px 12px}
 .dashboard-stat small{font-size:10px}
 .dashboard-stat b{font-size:24px}
 .dashboard-stats .stat-icon{width:29px;height:29px;right:9px;top:9px}
 .membership-highlight{min-height:76px;padding:11px 12px;gap:9px}
 .membership-highlight b{font-size:20px}
 .dashboard-packages,.dashboard-features{padding:13px}
 .mini-packages{gap:6px}
 .mini-package{min-height:82px}
 .mini-package b{font-size:15px}
}


/* =========================================================
   DASHBOARD REDESIGN — approved WEB3.FINANCE visual direction
   Scope: Dashboard layout + persistent header / navigation.
   Other page layouts and all app.js / contract logic untouched.
   ========================================================= */
html, body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
.app-shell {
  width: min(100%, 1120px);
  min-width: 0;
  margin-inline: auto;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  min-width: 0;
  height: 72px;
  padding: 0 clamp(14px, 3vw, 30px);
  background: linear-gradient(105deg, rgba(2,18,12,.97), rgba(5,43,29,.96) 55%, rgba(2,20,14,.97));
  border-bottom: 1px solid rgba(125,255,185,.26);
  box-shadow: 0 8px 28px rgba(0,0,0,.28), 0 0 22px rgba(27,235,133,.08);
  backdrop-filter: blur(20px);
}
.brand { min-width: 0; flex: 0 1 auto; white-space: nowrap; }
.brand-mark { flex: 0 0 34px; }
.top-actions { min-width: 0; flex: 0 1 auto; }
#connectBtn {
  max-width: min(42vw, 190px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
main { min-width: 0; }
.page { min-width: 0; }
.dashboard-page {
  max-width: 100%;
  overflow: clip;
}
.dashboard-welcome {
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 24px;
}
.dashboard-welcome .muted { font-size: 13px; }
.dashboard-page .network-pill { flex: 0 0 auto; margin-bottom: 3px; }
.dashboard-hero {
  min-width: 0;
  min-height: 190px;
  padding: clamp(20px, 3vw, 30px);
  margin-bottom: 16px;
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 86% 46%, rgba(42,255,161,.28), transparent 36%),
    radial-gradient(ellipse at 12% 8%, rgba(56,235,147,.23), transparent 48%),
    linear-gradient(115deg, #0c6844 0%, #075035 42%, #041e16 100%);
  border: 1px solid rgba(137,255,192,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2),
              0 16px 36px rgba(0,0,0,.28),
              0 0 34px rgba(29,245,139,.19);
}
.hero-copy { max-width: 64%; }
.hero-kicker { color: #aaffd0; font-size: 10px; letter-spacing: .18em; }
.hero-copy h2 {
  color: #f4fff8;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.08;
  margin: 7px 0 6px;
  text-shadow: 0 3px 20px rgba(0,0,0,.25), 0 0 18px rgba(142,255,194,.18);
}
.hero-copy p { color: #e0f9e9; font-size: 13px; line-height: 1.5; }
.hero-art {
  width: min(38%, 270px);
  min-width: 120px;
  right: 2%;
  transform: scale(1.05);
}
.hero-coin { filter: drop-shadow(0 8px 16px rgba(255,190,52,.42)) drop-shadow(0 0 20px rgba(255,212,94,.25)); }
.hero-link {
  min-height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  background: linear-gradient(110deg, #fff0b7, #f4d16e 55%, #d99b36);
  border: 1px solid rgba(255,245,203,.85);
  color: #382508;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 7px 20px rgba(227,170,54,.24), 0 0 20px rgba(255,209,99,.17);
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 13px;
  margin: 0 0 13px;
}
.dashboard-stats .dashboard-stat {
  min-width: 0;
  min-height: 116px;
  padding: 17px 18px;
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(9,57,39,.96), rgba(3,27,19,.98));
}
.dashboard-stat small { color: #b6d7c4; font-size: 12px; }
.dashboard-stat b {
  color: #8effc2;
  font-size: clamp(24px, 3vw, 30px);
  text-shadow: 0 0 22px rgba(92,255,169,.28);
}
.dashboard-stat b em { color: #9cffc9; }
.dashboard-stat span { color: #9cb9a9; }
.dashboard-stats .stat-icon {
  color: #a5ffd0;
  border: 1px solid rgba(141,255,191,.25);
  background: linear-gradient(145deg, rgba(73,228,145,.24), rgba(8,83,53,.32));
  box-shadow: 0 0 22px rgba(52,255,150,.16);
}
.membership-highlight {
  position: relative;
  overflow: hidden;
  min-height: 98px;
  margin-bottom: 14px;
  padding: 17px 20px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(88,255,167,.22), transparent 42%),
    linear-gradient(110deg, #087448, #06452f 60%, #03251a);
  border: 1px solid rgba(131,255,184,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 30px rgba(0,0,0,.22), 0 0 30px rgba(28,239,132,.16);
}
.membership-highlight:after {
  content:"";
  position:absolute;
  width:180px;height:180px;right:-35px;bottom:-125px;
  border:1px solid rgba(139,255,190,.22);border-radius:50%;
  box-shadow:0 0 0 12px rgba(139,255,190,.035),0 0 0 25px rgba(139,255,190,.025);
  pointer-events:none;
}
.membership-crown { width:42px;height:42px;flex-basis:42px; }
.membership-highlight b { font-size: clamp(21px, 2.6vw, 27px); }
.membership-check { z-index:1; width:32px;height:32px;flex-basis:32px; }
.dashboard-packages, .dashboard-features {
  min-width: 0;
  padding: 19px;
  margin-bottom: 14px;
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(10,53,37,.96), rgba(3,26,19,.98));
  border: 1px solid rgba(126,241,174,.23);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 30px rgba(0,0,0,.2), 0 0 25px rgba(35,220,127,.07);
}
.dashboard-packages .panel-head, .dashboard-features .panel-head { margin-bottom: 15px; }
.dashboard-packages .panel-head h2, .dashboard-features .panel-head h2 { font-size: 15px; }
.mini-packages { gap: 10px; }
.mini-package {
  min-height: 105px;
  border-radius: 16px;
  border-color: rgba(136,255,190,.32);
  background: linear-gradient(145deg, rgba(12,100,61,.52), rgba(3,32,23,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 5px 18px rgba(0,0,0,.16), 0 0 18px rgba(38,240,135,.08);
}
.mini-package b { font-size: 19px; }
.mini-gem { font-size: 26px; }
.btn-gold {
  min-height: 46px;
  border-radius: 13px;
  background: linear-gradient(110deg, #fff0b7 0%, #f4d16f 52%, #d99a32 100%) !important;
  border: 1px solid rgba(255,246,205,.82) !important;
  color: #382608 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58), 0 8px 22px rgba(224,169,58,.25), 0 0 22px rgba(255,211,107,.16);
}
.feature-row {
  min-height: 58px;
  border-bottom-color: rgba(132,237,177,.15);
}
.feature-row b { color: #edfff4; }
.feature-row small { color: #a8c7b6; }
.feature-icon { color: #91ffc0; }
.dashboard-disclaimer { color: #9ab9a8; line-height: 1.55; }
.bottom-nav {
  position: fixed !important;
  z-index: 60 !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  transform: translateX(-50%) !important;
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
  height: calc(76px + env(safe-area-inset-bottom)) !important;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom)) !important;
  background: rgba(2,20,14,.96) !important;
  border-top: 1px solid rgba(130,255,184,.3) !important;
  box-shadow: 0 -10px 34px rgba(0,0,0,.36), 0 0 28px rgba(35,238,137,.1) !important;
  backdrop-filter: blur(22px);
}
.nav-item { gap: 5px; }
.nav-item.active { color: #a1ffca; }
.nav-icon { width: 22px;height:22px; }
@media (min-width: 800px) {
  .dashboard-page { display: block; }
  .dashboard-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-packages, .dashboard-features { padding: 20px; }
}
@media (max-width: 600px) {
  .app-shell { width:100%; }
  .topbar { height:64px; padding:0 12px; gap:8px; }
  .brand { gap:7px; font-size:12px; letter-spacing:.025em; }
  .brand-mark { width:31px;height:31px;flex-basis:31px;border-radius:10px; }
  .top-actions { gap:6px; }
  .top-actions select { padding:8px 7px; min-width:48px; }
  #connectBtn { max-width:34vw; min-height:38px; padding:0 10px; font-size:10px; }
  main { padding:22px 14px 28px; }
  .dashboard-welcome { align-items:flex-start; margin-bottom:17px; }
  .dashboard-welcome .muted { max-width:250px; font-size:12px; }
  .dashboard-page .network-pill { font-size:9px; padding:7px 8px; margin-top:2px; }
  .dashboard-hero {
    min-height:174px;
    padding:20px 17px;
    border-radius:21px;
    gap:0;
  }
  .hero-copy { max-width:70%; }
  .hero-copy h2 { font-size:clamp(20px,6vw,25px); overflow-wrap:anywhere; }
  .hero-copy p { font-size:11px; max-width:190px; }
  .hero-art { width:39%;min-width:108px;right:-5%;opacity:.95; }
  .hero-link { min-height:36px;padding:0 13px;font-size:10px; }
  .dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:10px; }
  .dashboard-stats .dashboard-stat { min-height:104px;padding:14px 12px;border-radius:17px; }
  .dashboard-stat small { font-size:10px; }
  .dashboard-stat b { font-size:23px; }
  .dashboard-stats .stat-icon { width:30px;height:30px;right:9px;top:9px; }
  .membership-highlight { min-height:88px;padding:13px 14px;gap:10px;margin-bottom:11px; }
  .membership-crown { width:35px;height:35px;flex-basis:35px; }
  .membership-highlight b { font-size:21px; }
  .dashboard-packages,.dashboard-features { padding:15px;margin-bottom:11px;border-radius:18px; }
  .dashboard-packages .panel-head h2,.dashboard-features .panel-head h2 { font-size:13px; }
  .mini-packages { gap:6px; }
  .mini-package { min-height:91px;padding:7px 3px; }
  .mini-package small { font-size:9px; }
  .mini-package b { font-size:16px; }
  .mini-gem { font-size:22px; }
  .btn-gold { min-height:43px;font-size:11px; }
  .feature-row { min-height:54px;gap:9px;padding:9px 0; }
  .feature-row small { font-size:10px; }
  .bottom-nav {
    width:100% !important;
    height:calc(70px + env(safe-area-inset-bottom)) !important;
    padding:6px 5px calc(6px + env(safe-area-inset-bottom)) !important;
  }
  .nav-item { min-width:0;gap:3px; }
  .nav-icon { width:20px;height:20px; }
  .nav-item small { font-size:9px;white-space:nowrap; }
}
@media (max-width:360px) {
  .brand { font-size:11px; }
  #connectBtn { max-width:31vw;font-size:9px; }
  .dashboard-hero { min-height:166px;padding:17px 13px; }
  .hero-copy { max-width:73%; }
  .hero-art { right:-11%;min-width:98px; }
  .dashboard-stats .dashboard-stat { padding:12px 10px; }
  .dashboard-stat b { font-size:21px; }
  .mini-package b { font-size:14px; }
}
@media (prefers-reduced-motion: reduce) {
  body:before { animation:none !important; }
}


/* Dashboard review tweaks: gold wallet CTA + two-up KPI row */
#connectBtn.btn-primary,
.topbar #connectBtn,
.top-actions #connectBtn {
  background: linear-gradient(115deg,#fff0b4 0%,#f4d16d 52%,#d99a35 100%) !important;
  color: #2d2109 !important;
  border: 1px solid rgba(255,246,205,.92) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7),
              0 5px 18px rgba(232,177,61,.38),
              0 0 24px rgba(255,205,91,.25) !important;
}
#connectBtn.btn-primary:hover,
.topbar #connectBtn:hover,
.top-actions #connectBtn:hover {
  filter: brightness(1.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78),
              0 7px 22px rgba(232,177,61,.48),
              0 0 28px rgba(255,205,91,.32) !important;
}
.dashboard-page .dashboard-stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100%;
  min-width: 0;
}
.dashboard-page .dashboard-stats > .dashboard-stat {
  width: auto !important;
  min-width: 0 !important;
  grid-column: auto !important;
}
@media (max-width: 600px) {
  .dashboard-page .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
  .dashboard-page .dashboard-stats > .dashboard-stat {
    min-height: 104px;
    padding: 13px 10px;
  }
  .dashboard-page .dashboard-stat small { max-width: 82%; }
}


/* v3 fix: one aligned icon per Platform Features row */
.dashboard-features .feature-row {
  display: grid !important;
  grid-template-columns: 34px minmax(0,1fr) 16px !important;
  align-items: center !important;
  column-gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 10px 0 !important;
  text-align: left !important;
}
.dashboard-features .feature-row::before,
.dashboard-features .feature-row::after {
  content: none !important;
  display: none !important;
}
.dashboard-features .feature-row > .feature-icon {
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  flex: none !important;
  margin: 0 !important;
}
.dashboard-features .feature-row > .feature-icon svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}
.dashboard-features .feature-row > .feature-copy {
  display: flex !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 3px !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}
.dashboard-features .feature-row > .feature-copy b {
  display: block !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.dashboard-features .feature-row > .feature-copy small {
  display: block !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}
.dashboard-features .feature-row > i {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  margin: 0 !important;
}


/* Membership tier icons — aligned with the approved WEB3.FINANCE UI */
.mini-gem,
.tier-gem{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.mini-gem svg{
  display:block;
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mini-gem .gem-fill,
.tier-gem .gem-fill{
  fill:currentColor;
  stroke:currentColor;
}
.basic-gem{color:#8effc2!important;filter:drop-shadow(0 0 6px rgba(112,255,184,.65))}
.standard-gem{color:#71caff!important;filter:drop-shadow(0 0 6px rgba(74,177,255,.7))}
.premium-gem{color:#ffdc79!important;filter:drop-shadow(0 0 7px rgba(255,205,83,.75))}
.tier-label,.popular{
  display:flex;
  align-items:center;
  gap:7px;
}
.tier-gem svg{
  display:block;
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}


/* Gemstone identity icons: emerald / ruby / diamond */
.mini-gem,
.tier-gem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
  filter: none !important;
}
.mini-gem svg {
  width: 27px;
  height: 27px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 5px currentColor);
}
.tier-gem svg {
  width: 25px;
  height: 25px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 5px currentColor);
}
.basic-gem { color: #42e995 !important; }
.standard-gem { color: #ff5478 !important; }
.premium-gem { color: #75dfff !important; }



/* Header wallet button alignment and responsive sizing */
.topbar {
  display: flex;
  align-items: center !important;
}
.top-actions {
  display: flex;
  align-items: center !important;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.top-actions select {
  align-self: center;
  height: 40px;
  box-sizing: border-box;
}
#connectBtn {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex-direction: row;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 13px !important;
  margin: 0 !important;
  line-height: 1 !important;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  transform: none;
}
#connectBtn svg,
#connectBtn .ui-icon,
#connectBtn .nav-icon {
  display: block !important;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0 !important;
}
@media (max-width: 480px) {
  .topbar {
    min-height: 60px;
    height: 60px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .top-actions {
    align-self: center;
    gap: 6px;
  }
  .top-actions select {
    height: 36px;
    min-height: 36px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #connectBtn {
    height: 38px !important;
    min-height: 38px !important;
    max-width: min(42vw, 160px);
    padding: 0 9px !important;
    font-size: 10px !important;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #connectBtn svg,
  #connectBtn .ui-icon,
  #connectBtn .nav-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }
}
@media (max-width: 360px) {
  .topbar { padding-left: 8px !important; padding-right: 8px !important; gap: 5px; }
  .top-actions { gap: 4px; }
  .top-actions select { min-width: 43px; max-width: 48px; }
  #connectBtn { max-width: 34vw; padding-inline: 7px !important; font-size: 9px !important; }
}


/* =========================================================
   PACKAGE PAGE — Premium gemstone edition (based on supplied baseline)
   ========================================================= */
.package-page .package-welcome { align-items:flex-end; margin-bottom:24px; }
.package-count {
  display:inline-flex; align-items:center; gap:7px; white-space:nowrap;
  padding:9px 13px; border-radius:999px; color:#baffd8; font-size:10px;
  font-weight:850; letter-spacing:.08em;
  background:linear-gradient(135deg,rgba(22,105,69,.48),rgba(3,31,22,.85));
  border:1px solid rgba(111,255,177,.28);
  box-shadow:0 0 18px rgba(35,230,132,.1),inset 0 1px rgba(255,255,255,.08);
}
.count-spark { color:#ffe08a; font-size:14px; }
.package-notice {
  background:linear-gradient(110deg,rgba(12,75,51,.82),rgba(4,31,23,.92));
  border:1px solid rgba(105,245,163,.25);
  box-shadow:0 8px 25px rgba(0,0,0,.16),0 0 22px rgba(32,224,128,.07);
}
.package-page .notice-icon {
  color:#9bffca;
  background:linear-gradient(145deg,rgba(30,159,96,.45),rgba(4,61,39,.7));
  border:1px solid rgba(127,255,183,.2);
}
.package-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
.package-card {
  --tier-glow:rgba(66,233,149,.24);
  --tier-border:rgba(111,255,177,.36);
  --tier-accent:#65f3a6;
  min-width:0;
  padding:22px;
  border-radius:22px;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  background:
    radial-gradient(ellipse at 88% 0%,var(--tier-glow),transparent 42%),
    linear-gradient(150deg,rgba(11,67,46,.98) 0%,rgba(4,37,27,.98) 56%,rgba(2,24,18,.99) 100%);
  border:1px solid var(--tier-border);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 13px 30px rgba(0,0,0,.24),0 0 24px var(--tier-glow);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.package-card:before {
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:190px;height:190px;right:-90px;top:-110px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.13),transparent 68%);
}
.package-card:hover { transform:translateY(-4px);border-color:rgba(180,255,214,.72);box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 18px 38px rgba(0,0,0,.3),0 0 32px var(--tier-glow); }
.package-basic { --tier-glow:rgba(54,236,143,.23);--tier-border:rgba(86,246,160,.42);--tier-accent:#78ffb5; }
.package-standard { --tier-glow:rgba(255,61,113,.2);--tier-border:rgba(255,117,153,.55);--tier-accent:#ff91ad; }
.package-premium { --tier-glow:rgba(69,185,255,.22);--tier-border:rgba(104,207,255,.48);--tier-accent:#8cddff; }
.package-card.featured { border-width:1.5px;box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 15px 34px rgba(0,0,0,.27),0 0 30px var(--tier-glow); }
.package-card-top { display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px; }
.package-card .tier-label { display:flex;align-items:center;gap:9px;color:#edfff5;font-size:12px;font-weight:900;letter-spacing:.13em; }
.package-card .tier-gem { display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px; }
.package-card .tier-gem svg { width:32px;height:32px;display:block;overflow:visible;filter:drop-shadow(0 0 7px currentColor); }
.package-basic .tier-gem { color:#53f5a1; }
.package-standard .tier-gem { color:#ff668b; }
.package-premium .tier-gem { color:#79d9ff; }
.tier-chip { flex:0 0 auto;padding:6px 9px;border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.08em;color:#baffd8;background:rgba(20,119,73,.3);border:1px solid rgba(126,255,185,.26); }
.tier-chip-gold { color:#392607;background:linear-gradient(110deg,#fff0b7,#dfa53c);border-color:#ffdf91;box-shadow:0 0 14px rgba(255,204,92,.2); }
.tier-chip-blue { color:#c7efff;background:rgba(31,124,173,.25);border-color:rgba(112,207,255,.35); }
.package-price { margin:17px 0 13px;color:#f3fff8;font-size:clamp(31px,3vw,39px);font-weight:950;letter-spacing:-.06em;line-height:1; }
.package-rate,.package-cap { display:flex;align-items:baseline;gap:7px;flex-wrap:wrap; }
.package-rate strong { color:var(--tier-accent);font-size:25px;font-weight:950;letter-spacing:-.04em; }
.package-rate span,.package-cap span { color:#a2c5b2;font-size:11px; }
.package-cap { margin-top:5px; }
.package-cap strong { color:#e8fff1;font-size:15px;font-weight:900; }
.package-divider { height:1px;margin:17px 0 12px;background:linear-gradient(90deg,transparent,rgba(152,255,195,.3),transparent); }
.package-card ul { flex:1 1 auto;min-height:106px;margin:0 0 17px;padding-left:17px;color:#b8d2c3;font-size:11px;line-height:1.9; }
.package-card li::marker { color:var(--tier-accent); }
.package-card li b { color:#effff5; }
.package-activate {
  min-height:47px;border-radius:13px;
  background:linear-gradient(110deg,#a7ffd0 0%,#43e99a 48%,#08bd72 100%) !important;
  color:#032719 !important;border:1px solid rgba(206,255,226,.8) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.58),0 8px 22px rgba(23,225,127,.24),0 0 20px rgba(47,238,145,.14) !important;
  display:flex;align-items:center;justify-content:center;gap:10px;
}
.package-activate:hover { filter:brightness(1.08);transform:translateY(-1px); }
.package-standard .package-activate { background:linear-gradient(110deg,#ffe9a8 0%,#f3c35b 52%,#d99832 100%) !important;color:#382509 !important;border-color:rgba(255,238,183,.9) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 22px rgba(239,178,60,.22),0 0 20px rgba(255,201,87,.16) !important; }
.package-premium .package-activate { background:linear-gradient(110deg,#c4f0ff 0%,#66cfff 52%,#2699db 100%) !important;color:#06263a !important;border-color:rgba(220,248,255,.85) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 22px rgba(63,182,244,.22),0 0 20px rgba(82,194,255,.16) !important; }
.package-activate .ui-icon { display:none; }
.button-arrow { font-size:20px;line-height:10px; }
.package-registration { margin-top:20px;background:linear-gradient(145deg,rgba(8,54,38,.94),rgba(2,28,21,.98));border-color:rgba(118,239,168,.25);box-shadow:0 12px 30px rgba(0,0,0,.2),0 0 22px rgba(37,224,130,.06); }
.package-registration .text-input { background:rgba(1,24,17,.75);border-color:rgba(128,233,169,.3);color:#edfff4; }
.package-registration .text-input:focus { border-color:#73f4ac;box-shadow:0 0 0 3px rgba(79,231,145,.12); }
.package-registration label { color:#b8d9c6; }
.package-registration .btn-primary { background:linear-gradient(110deg,#a7ffd0,#24d889) !important;color:#032719 !important;box-shadow:0 7px 20px rgba(30,218,123,.2); }
.package-registration .footnote { color:#9cbdab; }

@media(max-width:720px) {
  .package-page .package-welcome { align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:19px; }
  .package-count { font-size:9px;padding:7px 10px; }
  .package-grid { grid-template-columns:minmax(0,1fr);gap:13px; }
  .package-card { padding:19px;border-radius:20px; }
  .package-price { font-size:36px; }
  .package-card ul { min-height:0;margin-bottom:16px; }
  .package-card.featured { order:initial; }
  .package-standard { transform:none; }
  .package-card:hover { transform:none; }
  .package-activate { min-height:48px;font-size:13px; }
}
@media(min-width:721px) {
  .package-card { min-height:390px; }
  .package-card.featured { transform:translateY(-5px); }
}


/* Package page: registration panel sits above the membership tier choices. */
.package-registration {
  margin-top: 16px;
  margin-bottom: 18px;
}


/* WALLET page premium treatment — scoped to #wallet only */
#wallet .wallet-panel,
#wallet .claim-panel,
#wallet > .panel:not(.wallet-panel):not(.claim-panel) {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 20px;
}
#wallet .panel-head h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
#wallet .wallet-section-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  color: #8dffc0;
  font-size: 20px;
  line-height: 1;
  background: linear-gradient(145deg,rgba(69,255,157,.22),rgba(4,83,51,.34));
  border: 1px solid rgba(112,255,178,.28);
  box-shadow: 0 0 18px rgba(34,255,137,.13), inset 0 1px rgba(255,255,255,.1);
}
#wallet .wallet-address.large {
  display: block;
  margin: 14px 0 16px;
  color: #edfff4;
  line-height: 1.55;
  font-size: 14px;
  letter-spacing: .005em;
}
#wallet .wallet-actions {
  align-items: center;
  gap: 10px;
}
#wallet .wallet-actions .btn {
  min-height: 48px;
  border-radius: 15px;
  padding-inline: 18px;
}
#wallet .wallet-actions .btn-outline {
  background: rgba(4,37,26,.68);
  border: 1px solid rgba(102,255,168,.32);
  color: #b9ffd3;
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
#wallet .wallet-balance {
  position: relative;
  isolation: isolate;
  min-height: 138px;
  margin-top: 18px;
  padding: 20px 18px;
  padding-right: 104px;
  justify-content: center;
  gap: 9px;
  border-radius: 19px;
  overflow: hidden;
  background:
    radial-gradient(circle at 93% 70%,rgba(20,255,155,.22),transparent 32%),
    linear-gradient(125deg,rgba(9,80,51,.88),rgba(3,34,25,.96));
  border: 1px solid rgba(104,255,174,.27);
  box-shadow: inset 0 1px rgba(255,255,255,.07),0 0 25px rgba(23,235,132,.08);
}
#wallet .wallet-balance::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 116px;
  height: 116px;
  right: -20px;
  bottom: -43px;
  border-radius: 50%;
  border: 1px solid rgba(112,255,183,.23);
  box-shadow: 0 0 0 8px rgba(71,255,160,.035),0 0 0 18px rgba(71,255,160,.025),0 0 28px rgba(22,255,137,.14);
}
#wallet .wallet-token-art {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #caffdf;
  font-size: 30px;
  font-weight: 900;
  font-style: italic;
  background: linear-gradient(145deg,#51ffb0,#079b63 65%,#03563d);
  border: 3px solid rgba(192,255,220,.65);
  box-shadow: 0 0 0 5px rgba(49,255,156,.10),0 0 24px rgba(37,255,152,.38),inset 0 2px 8px rgba(255,255,255,.55);
}
#wallet .wallet-token-art::before,
#wallet .wallet-token-art::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(210,255,230,.62);
}
#wallet .wallet-token-art::before { top: -5px; }
#wallet .wallet-token-art::after { bottom: -5px; opacity: .55; }
#wallet .wallet-token-art span { text-shadow: 0 2px 8px rgba(0,52,31,.45); }
#wallet .wallet-balance small {
  color: #a7cbb8;
  font-size: 11px;
}
#wallet .wallet-balance b {
  color: #83ffc0;
  font-size: clamp(22px,5vw,27px);
  letter-spacing: -.035em;
  line-height: 1.2;
}
#wallet .claim-panel p {
  line-height: 1.65;
  margin: 12px 0;
}
#wallet .claim-panel label {
  color: #a8d2ba;
  margin-top: 14px;
}
#wallet .claim-panel .text-input {
  min-height: 48px;
  color: #edfff4;
  background: rgba(2,25,18,.78);
  border: 1px solid rgba(107,255,173,.28);
  border-radius: 13px;
}
#wallet .claim-panel .text-input:focus {
  border-color: rgba(255,207,105,.8);
  box-shadow: 0 0 0 3px rgba(255,197,82,.12),0 0 18px rgba(255,197,82,.12);
}
#wallet .claim-preview {
  margin: 12px 0 15px;
  border-bottom-color: rgba(115,255,177,.16);
}
#wallet .claim-preview span { color: #a4c6b3; }
#wallet .claim-preview b { color: #f3fff7; }
#wallet .claim-panel .btn-primary {
  min-height: 50px;
  border-radius: 15px;
  background: linear-gradient(110deg,#fff0b9 0%,#f5d17c 48%,#d99b39 100%);
  color: #241707;
  border: 1px solid rgba(255,239,190,.8);
  box-shadow: 0 7px 22px rgba(225,165,64,.24),0 0 22px rgba(255,206,113,.15);
}
#wallet #historyRefresh {
  color: #8fffc0;
  font-weight: 800;
}
#wallet .empty-state {
  min-height: 78px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #a1c7b2;
  border-top: 1px solid rgba(113,255,177,.13);
  margin-top: 10px;
}
#wallet .history-row {
  border-bottom-color: rgba(113,255,177,.15);
}
#wallet .history-row b { color: #eafff1; }
#wallet .history-row small { color: #9ab9a8; }

@media (max-width: 480px) {
  #wallet .wallet-panel,
  #wallet .claim-panel,
  #wallet > .panel:not(.wallet-panel):not(.claim-panel) {
    padding: 16px;
    border-radius: 19px;
  }
  #wallet .wallet-address.large { font-size: 13px; }
  #wallet .wallet-actions .btn { min-height: 44px; }
  #wallet .wallet-balance {
    min-height: 126px;
    padding: 17px 14px;
    padding-right: 88px;
  }
  #wallet .wallet-token-art {
    width: 56px;
    height: 56px;
    right: 14px;
    font-size: 25px;
  }
}


/* Wallet connection controls: keep both actions aligned in one row. */
#wallet .wallet-actions {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: 9px;
  width: 100%;
}
#wallet .wallet-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  line-height: 1.15;
  font-size: clamp(10px, 2.7vw, 13px);
}
@media (max-width: 360px) {
  #wallet .wallet-actions {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 7px;
  }
  #wallet .wallet-actions .btn {
    padding-inline: 5px;
    font-size: 10px;
  }
}



/* NETWORK PAGE — emerald / jade / restrained gold visual refresh */
.network-page .network-welcome { margin-bottom: 20px; }
.network-page .network-welcome .eyebrow { color:#72ffc0; }
.network-page .network-welcome h1 { color:#f3fff8; }
.network-page .network-welcome .muted { color:#a9cbbb; }
.network-page .network-stats-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:18px 0;
}
.network-page .network-stat-card {
  position:relative;
  min-height:118px;
  padding:18px;
  overflow:hidden;
  border:1px solid rgba(91,235,163,.24);
  border-radius:21px;
  background:
    radial-gradient(circle at 100% 0%,rgba(30,205,126,.18),transparent 42%),
    linear-gradient(145deg,#0c3929 0%,#052319 68%,#031a13 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 28px rgba(0,0,0,.12);
}
.network-page .network-stat-card::after {
  content:"";
  position:absolute;
  width:92px;height:92px;right:-34px;bottom:-48px;
  border:1px solid rgba(105,255,177,.13);border-radius:50%;
  box-shadow:0 0 0 10px rgba(105,255,177,.025),0 0 0 22px rgba(105,255,177,.02);
  pointer-events:none;
}
.network-page .network-stat-icon {
  width:34px;height:34px;display:grid;place-items:center;
  position:absolute;right:14px;top:14px;
  border:1px solid rgba(114,255,192,.25);border-radius:12px;
  color:#8dffc5;background:rgba(43,210,130,.12);
  font-size:20px;line-height:1;
}
.network-page .network-stat-card small {
  display:block;color:#b2d1c1;font-size:11px;font-weight:700;
  margin:0 40px 12px 0;letter-spacing:.01em;
}
.network-page .network-stat-card b {
  display:block;color:#79ffb8;font-size:25px;line-height:1.15;
  font-weight:850;letter-spacing:-.04em;
}
.network-page .network-stat-card b em {
  font-style:normal;font-size:12px;letter-spacing:0;color:#a8d8c0;
}
.network-page .network-stat-card span {
  display:block;color:#91b7a4;font-size:10px;margin-top:8px;
}
.network-page .network-member-stat { grid-column:1 / -1;min-height:104px; }
.network-page .network-member-stat b { font-size:27px; }
.network-page .network-tree-panel {
  margin-top:16px;padding:20px;
  border:1px solid rgba(91,235,163,.28);border-radius:23px;
  background:
    radial-gradient(ellipse at 50% 0%,rgba(24,172,106,.16),transparent 52%),
    linear-gradient(150deg,#0a3023,#041d15 72%,#03170f);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 16px 34px rgba(0,0,0,.13);
}
.network-page .network-tree-panel .panel-head { margin-bottom:16px; }
.network-page .network-tree-panel h2 {
  display:flex;align-items:center;gap:10px;color:#effff5;font-size:16px;
}
.network-page .network-heading-icon {
  width:34px;height:34px;display:grid;place-items:center;
  border-radius:12px;color:#8affbf;font-size:21px;
  border:1px solid rgba(112,255,184,.23);background:rgba(36,196,119,.12);
}
.network-page .network-tree-panel .text-btn {
  color:#8bffc0;font-weight:800;padding:8px 0 8px 10px;
}
.network-page .network-tree-stage {
  position:relative;min-height:250px;overflow:hidden;
  border:1px solid rgba(104,241,166,.16);border-radius:18px;
  background:linear-gradient(180deg,rgba(3,32,22,.55),rgba(3,23,16,.34));
  padding:18px 12px;
}
.network-page .network-stage-glow {
  position:absolute;left:50%;top:-100px;transform:translateX(-50%);
  width:280px;height:220px;border-radius:50%;
  background:radial-gradient(ellipse,rgba(25,224,128,.13),transparent 68%);
  pointer-events:none;
}
.network-page .network-tree { position:relative;z-index:1;min-width:0;overflow-x:auto; }
.network-page .network-tree .empty-state {
  min-height:210px;display:flex;flex-direction:column;align-items:center;
  justify-content:center;text-align:center;gap:10px;
  padding:22px;color:#b2d1c1;font-size:12px;line-height:1.55;
}
.network-page .network-tree .empty-state::before {
  content:"♧";width:58px;height:58px;display:grid;place-items:center;
  border-radius:20px;color:#8affbf;font-size:31px;
  border:1px solid rgba(112,255,184,.28);
  background:radial-gradient(circle at 50% 20%,rgba(57,232,146,.24),rgba(13,93,58,.18));
  box-shadow:0 0 28px rgba(48,236,139,.13),inset 0 1px 0 rgba(255,255,255,.08);
}
.network-page .network-tree .tree-node,
.network-page .network-tree .network-node {
  color:#effff5;
}
.network-page .network-tree .tree-node-card,
.network-page .network-tree .node-card {
  border:1px solid rgba(112,255,184,.35);
  background:linear-gradient(145deg,#0e5638,#07301f);
  color:#effff5;border-radius:16px;
  box-shadow:0 8px 22px rgba(0,0,0,.18),0 0 18px rgba(48,236,139,.08);
}
.network-page .footnote { color:#8fb6a2;line-height:1.6;margin-top:14px; }
@media(max-width:420px) {
  .network-page .network-stats-grid { gap:10px; }
  .network-page .network-stat-card { min-height:112px;padding:15px;border-radius:18px; }
  .network-page .network-stat-card b { font-size:23px; }
  .network-page .network-tree-panel { padding:16px; }
  .network-page .network-tree-stage { min-height:235px;padding:12px 8px; }
}


/* Network statistic icon refinement */
.network-page .network-stat-icon svg { display:block; width:19px; height:19px; flex:none; }
.network-page .network-stat-icon { color:#8affbf; box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 16px rgba(65,238,151,.08); }


/* ACCOUNT PAGE — premium emerald layout, aligned to the approved mobile UI */
.account-page .account-welcome { margin-bottom:20px; }
.account-page .account-welcome .muted { max-width:330px; }
.account-page .account-profile-card,
.account-page .account-ledger-card,
.account-page .account-voucher-card,
.account-page .account-network-card {
  border:1px solid rgba(105,255,174,.25);
  border-radius:22px;
  background:
    radial-gradient(ellipse at 100% 0%,rgba(28,195,119,.13),transparent 42%),
    linear-gradient(145deg,rgba(10,52,36,.97),rgba(3,27,19,.98) 72%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 12px 30px rgba(0,0,0,.16),0 0 22px rgba(29,235,133,.045);
}
.account-page .account-profile-card { padding:20px; }
.account-page .panel-head h2 { display:flex;align-items:center;gap:9px; }
.account-page .account-profile-main {
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:12px 14px;
  align-items:center;
}
.account-page .account-profile-identity { min-width:0; }
.account-page .account-profile-main > .profile-meta {
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0;
}
.account-page .account-profile-main > .profile-meta > div {
  min-width:0;
  min-height:58px;
  justify-content:center;
  padding:9px 12px;
  border-radius:15px;
  border:1px solid rgba(255,211,112,.42);
  background:
    linear-gradient(135deg,rgba(255,211,112,.17),rgba(22,91,58,.28)),
    rgba(2,25,17,.55);
  box-shadow:inset 0 1px 0 rgba(255,245,205,.08);
}
.account-page .account-profile-main > .profile-meta small {
  color:#ffe2a0;
  font-size:10px;
  font-weight:750;
}
.account-page .account-profile-main > .profile-meta b {
  color:#78ffad;
  font-size:14px;
  font-weight:850;
}
.account-page .account-avatar {
  width:58px;height:58px;margin:2px 0;border-radius:18px;
  border:1px solid rgba(112,255,184,.26);
  background:linear-gradient(145deg,rgba(44,207,130,.24),rgba(4,75,47,.35));
}
.account-page .account-avatar .ui-icon svg { width:28px;height:28px; }
.account-page .account-profile-identity { min-width:0; }
.account-page .wallet-address { color:#effff5;font-size:12px;line-height:1.5; }
.account-page .profile-meta { margin:12px 0 0;gap:10px; }
.account-page .profile-meta div { padding:8px 10px;border-radius:12px;background:rgba(2,25,17,.42);border:1px solid rgba(109,255,177,.10); }
.account-page .profile-meta b { color:#eafff1; }
.account-page .ref-block { margin-top:16px;padding-top:14px;border-top:1px solid rgba(112,255,177,.16); }
.account-page .ref-row { align-items:center; }
.account-page .ref-row span { min-width:0;flex:1;color:#a9cbbb;line-height:1.45;overflow-wrap:anywhere; }
.account-page .icon-btn { flex:0 0 38px;width:38px;height:38px;border-radius:12px; }
.account-page .account-ledger-card { margin-top:14px;padding:20px; }
.account-page .account-ledger-total {
  padding:15px 16px;margin:0 0 12px;border-radius:17px;
  border:1px solid rgba(111,255,179,.17);
  background:linear-gradient(120deg,rgba(16,102,64,.28),rgba(2,28,19,.46));
}
.account-page .account-ledger-total>small { color:#a9cbbb;font-size:11px;font-weight:650; }
.account-page .account-ledger-total .balance-total {
  margin:5px 0 3px;color:#80ffc0;font-size:clamp(27px,6vw,34px);font-weight:900;letter-spacing:-.045em;
}
.account-page .account-ledger-total .balance-total small { color:#a9d9bf;font-size:12px;letter-spacing:0; }
.account-page .account-ledger-total>span { color:#94b9a5;font-size:10px; }
.account-page .balance-lines { margin:0 0 15px; }
.account-page .balance-lines>div,
.account-page .network-info>div {
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:11px 2px;border-bottom:1px solid rgba(112,255,177,.13);
}
.account-page .balance-lines span,.account-page .network-info span { color:#a9cbbb;font-size:11px; }
.account-page .balance-lines b,.account-page .network-info b { color:#effff5;font-size:12px;font-weight:800;text-align:right; }
.account-page .balance-lines b small { color:#9bc8af;font-size:9px;font-weight:600; }
.account-page #refreshBtn { min-height:46px;border-radius:14px;color:#aaffcb;border-color:rgba(111,255,179,.32); }
.account-page .account-lower-grid { margin-top:14px; }
.account-page .account-voucher-card,.account-page .account-network-card { padding:18px; }
.account-page .voucher-info { display:grid;grid-template-columns:1fr 1fr;gap:13px 10px;margin:8px 0 17px; }
.account-page .voucher-info>div { padding:10px;border-radius:12px;background:rgba(2,25,17,.34);border:1px solid rgba(109,255,177,.10);min-width:0; }
.account-page .voucher-info b { color:#effff5;overflow-wrap:anywhere; }
.account-page .account-voucher-card .btn-gold {
  color:#251807;background:linear-gradient(110deg,#fff0b7,#f3cb72 55%,#d99b39);
  border:1px solid rgba(255,239,190,.78);box-shadow:0 7px 20px rgba(225,165,64,.18);
  min-height:46px;border-radius:14px;
}
.account-page .network-info { margin-top:5px; }
.account-page .account-network-card .footnote { line-height:1.55;margin-top:12px; }
@media(max-width:720px) {
  .account-page .account-welcome { gap:8px;margin-bottom:17px; }
  .account-page .account-profile-card,.account-page .account-ledger-card { padding:16px;border-radius:20px; }
  .account-page .account-profile-main { grid-template-columns:52px minmax(0,1fr);gap:11px; }
  .account-page .account-avatar { width:52px;height:52px;border-radius:16px; }
  .account-page .wallet-address { font-size:11px; }
  .account-page .profile-meta { margin-top:9px; }
  .account-page .profile-meta div { padding:7px 8px; }
  .account-page .ref-block { margin-top:12px;padding-top:12px; }
  .account-page .account-ledger-card { margin-top:12px; }
  .account-page .account-lower-grid { grid-template-columns:1fr;gap:12px; }
  .account-page .account-voucher-card,.account-page .account-network-card { padding:16px; }
  .account-page .balance-lines>div { padding:10px 1px; }
}


/* ===== Account Profile refinement: responsive address, premium status & referral ===== */
.account-profile-card {
  min-width: 0;
}
.account-profile-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 14px;
}
.account-profile-identity {
  min-width: 0;
  width: 100%;
}
.account-profile-identity .wallet-address {
  display: block;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(9px, 2.55vw, 12px);
  line-height: 1.35;
  letter-spacing: -.025em;
}
.account-profile-identity .profile-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 0;
}
.account-profile-identity .profile-meta > div {
  min-width: 0;
  padding: 10px 11px;
  gap: 5px;
  border-radius: 14px;
  border: 1px solid rgba(255,220,125,.34);
  background:
    linear-gradient(135deg, rgba(255,224,145,.20), rgba(190,132,35,.13) 48%, rgba(4,47,31,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 5px 18px rgba(0,0,0,.12);
}
.account-profile-identity .profile-meta small {
  color: #ffe5a1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .015em;
}
.account-profile-identity .profile-meta b {
  color: #8dffb8;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
  text-shadow: 0 0 12px rgba(105,255,169,.2);
  overflow-wrap: anywhere;
}
.account-profile-card .ref-block {
  margin-top: 14px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(126,255,183,.18);
}
.account-profile-card .ref-block > small {
  display: block;
  color: #c5e9d4;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .025em;
}
.account-profile-card .ref-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: stretch;
  margin-top: 9px;
  padding: 9px;
  border: 1px solid rgba(104,255,166,.22);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(10,67,45,.82), rgba(3,29,21,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.account-profile-card .ref-row > span {
  align-self: center;
  min-width: 0;
  color: #b9d9c8;
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.account-profile-card .copy-ref-btn {
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(118,255,177,.42);
  border-radius: 13px;
  color: #a4ffca;
  background: linear-gradient(145deg, rgba(21,111,71,.65), rgba(4,48,33,.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 16px rgba(54,255,144,.09);
}
.account-profile-card .copy-ref-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-profile-card .copy-ref-label {
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
}
.account-profile-card .copy-ref-btn:active {
  transform: translateY(1px) scale(.97);
  background: linear-gradient(145deg, rgba(31,145,91,.8), rgba(5,62,41,.98));
}
@media (max-width: 380px) {
  .account-profile-main {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
  }
  .account-profile-main .account-avatar {
    width: 48px;
    height: 48px;
  }
  .account-profile-identity .profile-meta {
    gap: 7px;
  }
  .account-profile-identity .profile-meta > div {
    padding: 9px 8px;
  }
  .account-profile-identity .wallet-address {
    font-size: 9px;
  }
}


/* Referral link preview: compact, single-line address and blue/gold copy icon */
.account-profile-card .ref-row > span {
  color: #9bdcff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  word-break: normal;
  font-size: 10px;
}
.account-profile-card .copy-ref-btn {
  color: #9edfff;
  border-color: rgba(255,222,142,.72);
  background: linear-gradient(145deg, rgba(255,238,186,.20), rgba(202,145,49,.26) 58%, rgba(5,57,48,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 16px rgba(230,184,89,.14);
}
.account-profile-card .copy-ref-btn.copied {
  color: #8affbd;
  border-color: rgba(112,255,177,.72);
}

/* Copy referral button: solid premium gold finish */
.account-profile-card .copy-ref-btn {
  border: 0 !important;
  color: #78e6ff !important;
  background: linear-gradient(135deg, #fff0ad 0%, #f6ca63 48%, #d99a2f 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    inset 0 -1px 0 rgba(143,91,18,.18),
    0 5px 16px rgba(224,169,63,.24) !important;
}
.account-profile-card .copy-ref-btn svg {
  color: #28b9e8 !important;
  stroke: #28b9e8 !important;
}
.account-profile-card .copy-ref-btn .copy-ref-label {
  color: #173b35 !important;
}
.account-profile-card .copy-ref-btn:hover {
  background: linear-gradient(135deg, #fff4c6 0%, #f8d477 48%, #e2a83f 100%) !important;
}
.account-profile-card .copy-ref-btn:active {
  transform: translateY(1px) scale(.97);
  background: linear-gradient(135deg, #f5d987 0%, #e8b44d 52%, #c98b28 100%) !important;
}
.account-profile-card .copy-ref-btn.copied {
  color: #173b35 !important;
  background: linear-gradient(135deg, #fff0ad 0%, #f6ca63 48%, #d99a2f 100%) !important;
  border: 0 !important;
}


/* Account referral copy button: wider horizontal icon + label */
.account-profile-card .ref-row {
  grid-template-columns: minmax(0, 1fr) 62px;
}
.account-profile-card .copy-ref-btn {
  width: 62px;
  min-width: 62px;
  min-height: 46px;
  padding: 0 8px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.account-profile-card .copy-ref-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.account-profile-card .copy-ref-label {
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}


/* Account Profile layout refinement — align wallet identity with avatar */
.account-page .account-profile-main,
.account-profile-card .account-profile-main {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.account-page .account-profile-identity,
.account-profile-card .account-profile-identity {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  text-align: left;
}
.account-page .account-profile-identity .wallet-address,
.account-profile-card .account-profile-identity .wallet-address {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(8px, 2.35vw, 10px);
  line-height: 1.35;
  letter-spacing: -.03em;
}
.account-page .account-profile-identity .profile-meta,
.account-profile-card .account-profile-identity .profile-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: 8px;
  margin: 8px 0 0;
}
.account-page .account-profile-identity .profile-meta > div,
.account-profile-card .account-profile-identity .profile-meta > div {
  min-width: 0;
  text-align: left;
  padding: 8px 9px;
}
.account-page .account-avatar,
.account-profile-card .account-avatar {
  align-self: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  margin: 0;
}
@media (max-width: 380px) {
  .account-page .account-profile-main,
  .account-profile-card .account-profile-main {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 9px;
  }
  .account-page .account-avatar,
  .account-profile-card .account-avatar {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .account-page .account-profile-identity .profile-meta,
  .account-profile-card .account-profile-identity .profile-meta {
    gap: 6px;
  }
}


/* Account profile: avatar + wallet address on the first row,
   Registration + Rank cards on their own full-width row. */
.account-page .account-profile-identity .wallet-address {
  overflow-wrap:anywhere;
  word-break:normal;
}
@media (max-width:380px) {
  .account-page .account-profile-main {
    grid-template-columns:50px minmax(0,1fr);
    gap:10px;
  }
  .account-page .account-avatar {
    width:50px;
    height:50px;
  }
  .account-page .account-profile-main > .profile-meta > div {
    padding:8px 9px;
  }
}


/* ===== Account Ledger + Voucher Status premium refinement ===== */
.account-page .account-ledger-card {
  padding:16px;
  border:1px solid rgba(91,255,174,.27);
  background:
    radial-gradient(ellipse at 100% 0%,rgba(18,130,81,.22),transparent 48%),
    linear-gradient(155deg,rgba(5,48,32,.97),rgba(1,25,18,.98));
  box-shadow:inset 0 1px 0 rgba(191,255,220,.06),0 12px 28px rgba(0,0,0,.18);
}
.account-page .account-ledger-card .panel-head,
.account-page .account-voucher-card .panel-head {
  margin-bottom:12px;
}
.account-page .account-ledger-card .panel-head h2,
.account-page .account-voucher-card .panel-head h2 {
  font-size:15px;
  letter-spacing:-.025em;
}
.account-page .account-ledger-card .tiny-tag {
  color:#caffdf;
  border-color:rgba(79,255,165,.38);
  background:linear-gradient(120deg,rgba(13,110,68,.75),rgba(2,48,31,.8));
}
.account-page .account-ledger-total {
  padding:12px 14px;
  margin-bottom:10px;
  border-radius:15px;
  background:linear-gradient(120deg,rgba(16,111,69,.34),rgba(2,34,23,.72));
  border-color:rgba(100,255,174,.2);
}
.account-page .account-ledger-total .balance-total {
  font-size:clamp(25px,6vw,32px);
}
.account-page .balance-lines {
  margin:0 0 12px;
  padding:4px 10px;
  border:1px solid rgba(88,255,169,.2);
  border-radius:14px;
  background:linear-gradient(120deg,rgba(7,67,44,.58),rgba(1,31,22,.72));
  box-shadow:inset 0 1px 0 rgba(191,255,220,.045);
}
.account-page .balance-lines>div {
  min-height:27px;
  padding:5px 1px;
  border-bottom:1px solid rgba(116,255,180,.11);
}
.account-page .balance-lines>div:last-child { border-bottom:0; }
.account-page .balance-lines span {
  display:flex;
  align-items:center;
  gap:8px;
  color:#d5f5e3;
  font-size:10px;
  font-weight:650;
}
.account-page .balance-lines span svg,
.account-page .voucher-info small svg {
  flex:0 0 15px;
  width:15px;
  height:15px;
  fill:none;
  stroke:#8cffbd;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 4px rgba(77,255,164,.28));
}
.account-page .balance-lines b {
  color:#f4fff8;
  font-size:10px;
  white-space:nowrap;
}
.account-page .balance-lines b small {
  color:#9cebc0;
  font-size:9px;
}
.account-page .account-ledger-card #refreshBtn {
  min-height:38px;
  font-size:11px;
  border-radius:12px;
}
.account-page .account-voucher-card {
  padding:16px;
  border:1px solid rgba(91,255,174,.27);
  background:
    radial-gradient(ellipse at 100% 0%,rgba(18,130,81,.2),transparent 48%),
    linear-gradient(155deg,rgba(5,48,32,.97),rgba(1,25,18,.98));
  box-shadow:inset 0 1px 0 rgba(191,255,220,.06),0 12px 28px rgba(0,0,0,.18);
}
.account-page .voucher-info {
  grid-template-columns:1fr;
  gap:0;
  margin:8px 0 13px;
  padding:4px 10px;
  border:1px solid rgba(88,255,169,.2);
  border-radius:14px;
  background:linear-gradient(120deg,rgba(7,67,44,.58),rgba(1,31,22,.72));
}
.account-page .voucher-info>div {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:31px;
  padding:6px 1px;
  border:0;
  border-bottom:1px solid rgba(116,255,180,.11);
  border-radius:0;
  background:transparent;
}
.account-page .voucher-info>div:last-child { border-bottom:0; }
.account-page .voucher-info small {
  display:flex;
  align-items:center;
  gap:8px;
  color:#d5f5e3;
  font-size:10px;
  font-weight:650;
}
.account-page .voucher-info small svg { width:15px;height:15px; }
.account-page .voucher-info b {
  color:#f4fff8;
  font-size:10px;
  font-weight:800;
  text-align:right;
  white-space:nowrap;
}
.account-page .account-voucher-card .btn-gold {
  width:100%;
  min-height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#251807;
  background:linear-gradient(110deg,#fff0b7,#f3cb72 55%,#d99b39);
  border:1px solid rgba(255,239,190,.9);
  box-shadow:0 5px 18px rgba(225,165,64,.22),inset 0 1px 0 rgba(255,255,255,.42);
  border-radius:13px;
  font-weight:850;
}
@media(max-width:720px) {
  .account-page .account-ledger-card,
  .account-page .account-voucher-card { padding:13px; }
  .account-page .balance-lines { padding:3px 8px; }
  .account-page .balance-lines>div { min-height:26px;padding:4px 1px; }
  .account-page .voucher-info { padding:3px 8px; }
  .account-page .voucher-info>div { min-height:29px;padding:5px 1px; }
}


/* FINAL OVERRIDE — Voucher Status: one clean horizontal row per field */
.account-page .account-voucher-card .voucher-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 5px 12px !important;
  margin: 10px 0 13px !important;
  border: 1px solid rgba(88,255,169,.22) !important;
  border-radius: 15px !important;
  background: linear-gradient(120deg,rgba(7,67,44,.62),rgba(1,31,22,.78)) !important;
}
.account-page .account-voucher-card .voucher-info > div {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  grid-template-rows: minmax(34px,auto) !important;
  align-items: center !important;
  justify-content: initial !important;
  column-gap: 12px !important;
  min-width: 0 !important;
  min-height: 39px !important;
  padding: 6px 2px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(116,255,180,.13) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.account-page .account-voucher-card .voucher-info > div:last-child {
  border-bottom: 0 !important;
}
.account-page .account-voucher-card .voucher-info > div > small {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #d5f5e3 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-align: left !important;
  white-space: normal !important;
}
.account-page .account-voucher-card .voucher-info > div > small svg {
  display: block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  fill: none !important;
  stroke: #8cffbd !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.account-page .account-voucher-card .voucher-info > div > b {
  display: block !important;
  min-width: max-content !important;
  margin: 0 !important;
  color: #f4fff8 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  text-align: right !important;
  white-space: nowrap !important;
}
.account-page .account-voucher-card .voucher-info > div > b small {
  display: inline !important;
  color: #9cebc0 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
}
.account-page .account-voucher-card .panel-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}
.account-page .account-voucher-card .panel-head h2 {
  margin: 0 !important;
  text-align: left !important;
}
.account-page .account-voucher-card .panel-head .status {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}
@media (max-width: 380px) {
  .account-page .account-voucher-card .voucher-info {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
  .account-page .account-voucher-card .voucher-info > div {
    column-gap: 7px !important;
  }
  .account-page .account-voucher-card .voucher-info > div > small,
  .account-page .account-voucher-card .voucher-info > div > b {
    font-size: 10px !important;
  }
}

/* FINAL OVERRIDE — Membership registration button responsive sizing */
.package-registration {
  min-width: 0;
  width: 100%;
}
.package-registration #registerBtn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 52px;
  margin-top: 12px !important;
  padding: 13px 16px !important;
  box-sizing: border-box !important;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.25;
}
@media (max-width: 380px) {
  .package-registration #registerBtn {
    min-height: 48px;
    padding: 12px 10px !important;
    font-size: 11px;
  }
}

/* Network tree: center the root / YOU card in the stage */
.network-page .network-tree > .tree-root {
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  min-width:0;
}
.network-page .network-tree > .tree-root > .root-node,
.network-page .network-tree > .tree-root > .tree-node.root-node,
.network-page .network-tree > .tree-root > .tree-node-card.root-node,
.network-page .network-tree > .tree-root > .node-card.root-node,
.network-page .network-tree .tree-root > .root-node {
  align-self:center;
  margin-left:auto;
  margin-right:auto;
}
.network-page .network-tree > .tree-root > ul {
  align-self:stretch;
  width:100%;
  box-sizing:border-box;
}

/* WEB3.FINANCE multilingual language picker */
.language-picker{position:relative;display:inline-flex;flex:0 0 auto;z-index:1005}
.language-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.language-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:66px;height:42px;padding:0 10px!important;border:1px solid rgba(90,220,158,.34)!important;border-radius:13px!important;background:linear-gradient(145deg,#073c2b,#031d16)!important;color:#eafff2!important;box-shadow:inset 0 1px rgba(255,255,255,.06),0 5px 14px rgba(0,0,0,.16);font:750 12px/1 inherit;cursor:pointer;white-space:nowrap}
.language-trigger:hover,.language-picker.open .language-trigger{border-color:#5ce9a5!important;background:linear-gradient(145deg,#0b573b,#063021)!important}
.language-flag{font-size:17px;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.language-code{font-size:11px;font-weight:850;letter-spacing:.03em;color:#eafff2}
.language-chevron{font-size:15px;color:#8fffc0;line-height:1;margin-left:1px}
.language-menu{display:none;position:absolute;top:calc(100% + 9px);right:0;min-width:190px;max-height:min(70vh,390px);overflow-y:auto;padding:7px;border:1px solid rgba(93,232,164,.42);border-radius:15px;background:linear-gradient(155deg,#0b4934 0%,#05291e 56%,#031a13 100%);box-shadow:0 16px 38px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.07);backdrop-filter:blur(16px)}
.language-picker.open .language-menu{display:block}
.language-option{display:flex!important;width:100%!important;align-items:center!important;gap:11px!important;min-height:42px;padding:8px 10px!important;margin:1px 0!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:#eafff2!important;text-align:left!important;font:650 12px/1.2 inherit;cursor:pointer}
.language-option .language-name{flex:1;color:#eafff2;font-weight:700}
.language-option .language-code{color:#8de9b7;opacity:.8}
.language-option:hover,.language-option:focus-visible{outline:none;background:rgba(55,218,139,.16)!important;border-color:rgba(91,237,166,.34)!important}
.language-option.selected{background:linear-gradient(100deg,rgba(20,173,105,.27),rgba(226,180,68,.12))!important;border-color:rgba(235,193,91,.36)!important}
.language-option.selected .language-name{color:#fff2c2}
html[dir="rtl"] .language-menu{right:auto;left:0}
html[dir="rtl"] .language-option{ text-align:right!important;flex-direction:row-reverse!important}
html[dir="rtl"] .top-actions{direction:rtl}
html[dir="rtl"] .language-trigger{direction:rtl}
@media(max-width:380px){.language-trigger{min-width:60px;height:39px;padding:0 8px!important}.language-menu{min-width:174px}}
