/* Refined account-center visual system */
:root{
  --brand:#1788e8;
  --brand-strong:#0873ce;
  --brand-soft:#e9f4ff;
  --brand-soft-2:#f4f9ff;
  --brand-ring:rgba(23,136,232,.17);
  --ink:#102038;
  --ink-2:#41516a;
  --muted:#77869a;
  --muted-2:#9ba8b8;
  --line:#e6ebf2;
  --line-soft:#eff3f7;
  --bg:#f4f7fb;
  --card:#fff;
  --side-bg:#0b1628;
  --side-active:rgba(39,151,245,.17);
  --r-sm:9px;
  --r-md:12px;
  --r-lg:18px;
  --r-xl:24px;
  --shadow-xs:0 2px 6px rgba(21,42,74,.035);
  --shadow-sm:0 8px 24px rgba(21,42,74,.065);
  --shadow-md:0 18px 48px rgba(11,28,54,.13);
  --ease:cubic-bezier(.22,.8,.24,1);
}

html{scroll-behavior:smooth;scroll-padding-top:24px}
body{background:radial-gradient(ellipse at 88% 0%,rgba(218,237,255,.55),transparent 30%),var(--bg);color:var(--ink)}
button,a,input{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}

/* Sign-in experience */
.auth-view{position:relative;isolation:isolate;overflow:hidden;min-height:100svh;padding:34px clamp(20px,5vw,76px);background:radial-gradient(ellipse at 3% 100%,rgba(31,113,194,.2),transparent 40%),radial-gradient(ellipse at 78% 8%,rgba(39,109,213,.18),transparent 34%),linear-gradient(125deg,#071426 0%,#0a1b32 52%,#0c1d36 100%)}
.auth-view:before,.auth-view:after{position:absolute;z-index:-1;content:"";pointer-events:none;border:1px solid rgba(132,187,255,.1);border-radius:50%}
.auth-view:before{width:650px;height:650px;right:-280px;top:-320px;box-shadow:0 0 0 55px rgba(132,187,255,.025),0 0 0 115px rgba(132,187,255,.02)}
.auth-view:after{width:420px;height:420px;left:-280px;bottom:-300px;box-shadow:0 0 0 42px rgba(132,187,255,.025),0 0 0 88px rgba(132,187,255,.02)}
.auth-shell{width:min(1200px,100%)}
.auth-brand{margin:0 0 clamp(42px,7vh,76px);gap:13px}
.auth-brand .tg-logo{width:44px;height:44px;border:1px solid rgba(255,255,255,.2);border-radius:15px;background:linear-gradient(145deg,#35b7ff,#1479d8 65%,#3564d8);box-shadow:0 8px 28px rgba(23,136,232,.32)}
.auth-brand .tg-logo svg{width:21px;height:21px}
.auth-brand strong{color:#f4f8ff;font-size:14px;letter-spacing:.15px}
.auth-brand small{color:#8094b0;font-size:9px;font-weight:700;letter-spacing:1.8px;margin-top:4px}
.auth-layout{grid-template-columns:minmax(0,1fr) minmax(360px,430px);gap:clamp(42px,9vw,128px);align-items:center}
.auth-copy{position:relative;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:6px 0 0}
.auth-copy .section-kicker{display:flex;align-items:center;gap:11px;color:#72cbff;font-size:10px;letter-spacing:2.4px}
.auth-copy .section-kicker i{width:34px;height:1px;background:linear-gradient(90deg,#65caff,transparent)}
.auth-copy h1{margin:22px 0 18px;color:#f5f8ff;font-size:clamp(44px,5.2vw,68px);line-height:1.1;letter-spacing:-2.8px;font-weight:760}
.auth-copy p{max-width:470px;color:#9aacc4;font-size:15px;line-height:1.95}
.auth-features{display:flex;flex-wrap:wrap;gap:11px;margin:25px 0 0}
.auth-features li{gap:8px;color:#cbd8e8;font-size:12px}
.auth-features li svg{width:16px;height:16px;padding:3px;border:1px solid rgba(104,208,255,.36);border-radius:50%;color:#78d8ff}
.auth-visual{position:relative;width:min(560px,100%);height:216px;margin:20px 0 -22px;overflow:hidden;border:1px solid rgba(142,189,255,.12);border-radius:23px;background:linear-gradient(115deg,rgba(12,37,69,.7),rgba(16,43,78,.3));box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.auth-visual:before{position:absolute;inset:0;content:"";opacity:.25;background-image:linear-gradient(rgba(167,200,248,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(167,200,248,.08) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,#000,transparent 84%)}
.auth-visual-glow{position:absolute;width:260px;height:150px;left:31%;top:19%;border-radius:50%;background:rgba(17,150,255,.19);filter:blur(42px)}
.network-art{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.visual-stat{position:absolute;display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid rgba(183,213,255,.16);border-radius:12px;background:rgba(8,24,45,.72);backdrop-filter:blur(12px);box-shadow:0 8px 22px rgba(2,10,26,.18)}
.visual-stat-a{right:14px;top:19px}.visual-stat-b{left:14px;bottom:15px}
.visual-stat-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(64,195,255,.13);color:#8ce6ff;font-size:17px}
.visual-stat b,.visual-stat small{display:block}.visual-stat b{color:#edf7ff;font-family:var(--mono);font-size:12px;letter-spacing:.3px}.visual-stat small{margin-top:2px;color:#91a6c0;font-size:9px;letter-spacing:.4px}
.visual-status-dot{width:7px;height:7px;border-radius:50%;background:#45dda7;box-shadow:0 0 0 4px rgba(69,221,167,.12)}
.auth-card{position:relative;padding:30px 31px 23px;border:1px solid rgba(255,255,255,.62);border-radius:23px;background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(249,252,255,.97));box-shadow:0 26px 80px rgba(0,8,22,.36),0 2px 4px rgba(0,0,0,.08)}
.auth-card:before{position:absolute;top:0;left:30px;right:30px;height:1px;content:"";background:linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent)}
.auth-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.form-overline{color:#9aa8ba;font-size:9px;font-weight:750;letter-spacing:1.8px}
.auth-safe{display:inline-flex;align-items:center;gap:6px;color:#70839b;font-size:10px;font-weight:600}
.auth-safe i{width:6px;height:6px;border-radius:50%;background:#23bd88;box-shadow:0 0 0 3px rgba(35,189,136,.12)}
.auth-tabs{gap:25px;margin:0 0 22px}
.auth-tab{padding:11px 1px 13px;font-size:13px}
.auth-card h2{font-size:21px;letter-spacing:-.5px}
.auth-card .muted{font-size:12px}
.auth-card label{margin-top:19px;font-size:12px;color:#465772}
.auth-card input{height:47px;padding:11px 13px;border-color:#e4eaf1;border-radius:11px;background:#fbfcfe;font-size:13px}
.auth-card .input-wrap input{padding-left:42px;padding-right:44px}
.auth-card .input-icon{left:14px;width:17px;height:17px;color:#99a9bc}
.auth-card .input-wrap input:focus~.input-icon{color:var(--brand)}
.auth-card .pw-toggle{right:7px;width:34px;height:34px}
.auth-card .remember-row{margin-top:15px!important}
.remember-row small{font-size:10px}
.auth-card .tg-button{height:47px;margin-top:22px;border-radius:11px;background:linear-gradient(100deg,#1788e8,#2575e8);box-shadow:0 8px 18px rgba(23,136,232,.22);font-size:13px}
.auth-card .tg-button:hover{background:linear-gradient(100deg,#0876d3,#1f64d4);box-shadow:0 10px 22px rgba(23,136,232,.3)}
.button-arrow{margin-left:auto;font-size:18px;font-style:normal;font-weight:400;line-height:1}
.auth-card .full{position:relative;padding:0 16px 0 20px}
.auth-card .form-error{margin:8px 0 0;min-height:16px;font-size:11px}
.auth-card-foot{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:9px;padding-top:15px;border-top:1px solid #edf1f6;color:#8998aa;font-size:10px}
.mini-lock{width:14px;height:14px;color:#68a8db;flex:0 0 auto}
.auth-foot{margin-top:clamp(34px,7vh,70px);color:#61758f;font-size:10px;letter-spacing:.2px}
.auth-trust{gap:27px;margin-bottom:12px;color:#a0b1c7;font-size:11px}
.auth-trust svg{color:#73cfff}

/* Desktop workspace frame */
.panel-view{min-height:100svh}
.sidebar{width:252px;padding:25px 17px 18px;background:linear-gradient(180deg,#0c192c 0%,#0a1526 100%);border-right:1px solid rgba(255,255,255,.055);box-shadow:8px 0 32px rgba(16,35,62,.025)}
.side-brand{gap:12px;padding:1px 9px 24px}
.side-brand .tg-logo{width:37px;height:37px;border-radius:12px;background:linear-gradient(145deg,#38baff,#1687e6 65%,#2865d6);box-shadow:0 7px 19px rgba(19,126,218,.3)}
.side-brand strong{font-size:13px;letter-spacing:.15px}
.side-brand small{margin-top:3px;color:#8494aa;font-size:10px;letter-spacing:.6px}
.profile-mini{gap:10px;margin-bottom:20px;padding:11px 10px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:linear-gradient(130deg,rgba(255,255,255,.065),rgba(255,255,255,.025))}
.profile-mini>span{width:36px;height:36px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:linear-gradient(145deg,#34bcff,#3478ee);font-size:14px;box-shadow:0 5px 16px rgba(15,112,211,.25)}
.profile-mini>span.plan-pill{display:inline-flex;place-items:center;flex:0 0 auto;width:auto;height:auto;min-height:0;max-width:70px;padding:4px 7px;border:1px solid rgba(76,171,255,.16);border-radius:99px;background:rgba(48,149,243,.14);box-shadow:none;color:#8acbff;font-size:9px;font-weight:650}
.profile-mini b{font-size:12px}.profile-mini small{font-size:10px;color:#54d6aa}
.plan-pill{display:inline-flex;place-items:center;flex:0 0 auto;width:auto;height:auto;min-height:0;max-width:70px;padding:4px 7px;border-color:rgba(76,171,255,.16);background:rgba(48,149,243,.14);color:#8acbff;font-size:9px}
.side-nav{gap:4px}
.nav-label{padding:0 12px 8px;color:#667b98;font-size:9px;font-weight:750;letter-spacing:1.7px}
.nav-item{min-height:44px;gap:12px;padding:10px 12px;border:1px solid transparent;border-radius:12px;color:#9aabc2;font-size:12px;font-weight:570}
.nav-item .nav-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;color:#8297b2;transition:color .2s,background .2s}
.nav-item:hover{color:#edf6ff;background:rgba(255,255,255,.045)}
.nav-item:hover .nav-icon{color:#a7d8ff}
.nav-item.active{color:#f3f8ff;border-color:rgba(61,151,240,.1);background:linear-gradient(90deg,rgba(38,137,227,.2),rgba(39,131,214,.075));box-shadow:inset 2px 0 #50b7ff}
.nav-item.active .nav-icon{color:#79ceff;background:rgba(49,159,244,.15)}
.side-status{margin-top:auto;padding:13px;border-color:rgba(255,255,255,.075);border-radius:13px;background:rgba(255,255,255,.035)}
.side-status b{font-size:10.5px}.side-status small{font-size:9.5px;color:#7d92ab}
.side-version{margin:14px 11px 6px;padding-top:12px;color:#63758d;font-size:9px}
.side-logout{min-height:40px;border-radius:11px;color:#91a1b6;font-size:11px}
.side-logout:hover{color:#ffb2b2;background:rgba(220,38,38,.12)}
.content{flex:1;width:auto;max-width:1680px;margin-left:252px;padding:27px clamp(24px,4vw,66px) 58px}
.topbar{min-height:56px;margin-bottom:22px;padding:1px 0 16px;border-bottom:1px solid rgba(220,228,238,.8)}
.topbar-title{gap:12px}
.topbar-title h1{margin-top:3px;font-size:20px;letter-spacing:-.55px}
.section-kicker{font-size:9px;letter-spacing:1.65px}
.topbar-tools{gap:11px}
.clock{padding:8px 11px;border-color:#e8edf3;border-radius:11px;color:#718097;box-shadow:none}
.clock b{font-size:11px;color:#43546c}
.live-indicator{font-size:11px}
.icon-button{width:37px;height:37px;border-color:#e7edf3;border-radius:11px;color:#718097;box-shadow:none}
.icon-button:hover{border-color:#c5def2;background:#f5faff;color:var(--brand)}
.page-section{animation-duration:.32s}
.panel-card,.kpi-card{border-color:#e8edf3;border-radius:17px;box-shadow:0 3px 12px rgba(20,41,72,.025)}
.panel-card{padding:21px 23px;margin-bottom:15px}
.panel-card:hover{border-color:#dce6f0;box-shadow:0 8px 24px rgba(20,41,72,.045)}
.card-heading h3{margin-top:5px;font-size:16px}
.section-intro{margin:3px 0 24px}
.section-intro h2{font-size:24px;letter-spacing:-.7px}
.section-intro p{font-size:12.5px}

/* Overview hero and metric cards */
.welcome-row{position:relative;isolation:isolate;display:block;min-height:245px;overflow:hidden;margin:0 0 17px;padding:30px 32px;border:1px solid rgba(143,194,255,.18);border-radius:24px;background:radial-gradient(ellipse at 75% 80%,rgba(37,149,236,.25),transparent 39%),linear-gradient(112deg,#0c1c33 0%,#102846 54%,#17365d 100%);box-shadow:0 16px 38px rgba(14,42,78,.13)}
.welcome-row:before{position:absolute;z-index:-1;inset:0;content:"";opacity:.12;background-image:linear-gradient(rgba(181,212,250,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(181,212,250,.16) 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(90deg,transparent 12%,#000 85%)}
.welcome-row>div:nth-child(2){position:relative;z-index:2;max-width:62%;padding-top:2px}
.hello-overline{margin-bottom:10px;color:#73d1ff;font-size:9px;letter-spacing:2.35px}
.welcome-row h2{color:#f2f7ff;font-size:25px;letter-spacing:-.7px}
.welcome-row h2 span{color:#86dbff}
.welcome-row h2 #welcome-name{display:inline-block;max-width:calc(100% - 5.5em);overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}
.welcome-row p{max-width:440px;margin-top:8px;color:#a6b8cf;font-size:12px}
.welcome-actions{position:absolute;z-index:3;left:32px;bottom:28px;justify-content:flex-start;gap:9px;margin:0;padding:0}
.welcome-actions .tg-button,.welcome-actions .ghost-button{min-height:39px;border-radius:11px;padding:9px 14px;font-size:11px}
.welcome-actions .tg-button{background:linear-gradient(100deg,#279deb,#2b73ea);box-shadow:0 6px 18px rgba(13,118,223,.28)}
.welcome-actions .tg-button:hover{background:linear-gradient(100deg,#34aff5,#286ce1)}
.welcome-actions .ghost-button{border-color:rgba(206,226,255,.22);background:rgba(255,255,255,.065);color:#d8e8fb}
.welcome-actions .ghost-button:hover{border-color:rgba(206,226,255,.4);background:rgba(255,255,255,.12);color:#fff}
.expiry-pill{padding:8px 11px;border:1px solid rgba(255,198,120,.2);background:rgba(207,144,53,.12);color:#ffd18b;font-size:10px}
.hero-art{position:absolute;z-index:1;top:5px;right:5px;width:min(40%,330px);height:218px;display:grid;place-items:center;pointer-events:none}
.hero-art>svg{position:relative;z-index:1;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 10px 30px rgba(45,152,255,.12))}
.hero-art-ring{position:absolute;width:145px;height:145px;border:1px solid rgba(143,203,255,.15);border-radius:50%;box-shadow:0 0 0 16px rgba(142,201,255,.025),0 0 0 34px rgba(142,201,255,.018)}
.hero-art-ring-b{width:180px;height:180px;border-style:dashed;opacity:.5;animation:ring-spin 42s linear infinite}
@keyframes ring-spin{to{transform:rotate(360deg)}}
.hero-art-label{position:absolute;right:9px;bottom:16px;display:flex;align-items:center;gap:7px;color:#9bb8d8;font-family:var(--mono);font-size:8px;letter-spacing:1.3px}
.hero-art-label i{width:6px;height:6px;border-radius:50%;background:#52dfb0;box-shadow:0 0 0 4px rgba(82,223,176,.12)}
.kpi-grid{gap:13px;margin-bottom:14px}
.kpi-card{min-height:133px;padding:17px 19px 15px;transition:transform .2s var(--ease),box-shadow .2s,border-color .2s}
.kpi-card:hover{transform:translateY(-3px);border-color:#d4e3f0;box-shadow:0 12px 28px rgba(20,58,98,.08)}
.kpi-card:first-child{background:radial-gradient(ellipse at 100% 0%,rgba(214,241,255,.54),transparent 52%),#fff}
.kpi-top small{color:#718098;font-size:12px;font-weight:650}
.kpi-icon{width:33px;height:33px;border:1px solid rgba(23,136,232,.08);border-radius:11px;background:#edf7ff;color:#2588db}
.kpi-card strong{margin:12px 0 2px;font-size:26px;letter-spacing:-.7px}
.kpi-card:not(.balance-card)>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.balance-card strong{color:#117ad0}
.kpi-sub{color:#8997a9;font-size:12px}
.usage-card{position:relative;padding:21px 23px 18px}
.usage-card .card-heading{margin-bottom:3px}
.period-tag{border:1px solid #e2effb;background:#f0f8ff;color:#4b90c4;font-size:9px}
.usage-main{grid-template-columns:minmax(0,1fr) auto;gap:15px 28px;padding-top:7px}
.usage-numbers{gap:12px 29px}
.usage-numbers>div{gap:7px;font-size:12px}
.usage-numbers b{margin-left:1px;font-size:12px}
.legend-dot{width:7px;height:7px;border-radius:3px}
.usage-percent b{font-size:21px;color:#137dcf}
.usage-percent small{font-size:11px}
.usage-bar{height:7px;border:1px solid #eaf0f5;background:#eff3f7}
.usage-bar i{background:linear-gradient(90deg,#2e9ce7,#49d0d3);box-shadow:0 0 10px rgba(57,172,220,.24)}
.usage-sparkline{display:flex;align-items:flex-end;gap:5px;height:28px;grid-column:1/-1;margin-top:-7px;opacity:.7}
.usage-sparkline i{flex:1;max-width:25px;border-radius:4px 4px 2px 2px;background:linear-gradient(180deg,rgba(40,162,226,.23),rgba(40,162,226,.035));transform-origin:bottom;transition:height .5s var(--ease)}
.usage-sparkline i:nth-child(3n){background:linear-gradient(180deg,rgba(69,208,194,.28),rgba(69,208,194,.035))}
.usage-footnote{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;margin-top:-5px;color:#a0acba;font-size:8px;letter-spacing:.15px}
.content-grid{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:14px}
.content-grid>.panel-card{min-width:0}
.quick-list{gap:4px}
.quick-list button{min-height:60px;gap:12px;padding:9px 11px;border-radius:12px}
.qa-icon{width:35px;height:35px;border:1px solid rgba(23,136,232,.06);border-radius:11px;background:#edf7ff;color:#2187d8}
.qa-copy b{font-size:13px}.qa-copy small{font-size:11.5px;color:#8291a4}
.qa-arrow{width:14px;height:14px}
.account-card dl{gap:10px}
.account-card dl>div{padding-bottom:9px}
.account-card dt{font-size:12px}.account-card dd{font-size:12.5px}
.verified-mark{font-size:9px}
.account-foot{margin-top:12px;padding-top:11px;font-size:11px}
.lower-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:stretch}
.lower-grid>.panel-card{min-width:0}
.node-overview-card .card-heading{margin-bottom:11px}
.summary-node{border-color:#e9eef4;background:#f7f9fc;padding:6px 10px;font-size:10px}
.summary-node i{width:6px;height:6px}
.summary-meta b{font-size:19px}
.status-card .card-heading h3{margin-bottom:9px}
.status-card .status-row{gap:10px;padding:9px 0}
.status-row b{font-size:12px}.status-row small{font-size:11px}.status-row strong{font-size:11px}
.status-pulse{width:7px;height:7px}
.status-card-foot{margin-top:8px;padding-top:8px;font-size:10.5px}

/* Recharge, packages and node details */
#section-recharge.active-section{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,.8fr);align-items:start;gap:0 17px}
#section-recharge>.section-intro{grid-column:1/-1}
.single-card{max-width:none;padding:25px 26px}
#recharge-form>label{font-size:12px}
.amount-presets{gap:8px;margin:10px 0 21px}
.amount-presets button{min-width:62px;border-color:#e6ebf1;border-radius:10px;padding:10px 14px;background:#fff;font-size:12px;transition:all .18s var(--ease)}
.amount-presets button:hover{border-color:#a9d5f5;background:#f7fbff}
.amount-presets button.selected{border-color:#1788e8;background:linear-gradient(105deg,#218fe7,#327be7);box-shadow:0 5px 12px rgba(23,136,232,.2)}
.pay-methods{gap:10px;margin:9px 0 19px}
.pay-option{min-height:108px;justify-content:center;gap:9px;border-color:#e7ecf2;border-radius:14px;background:linear-gradient(145deg,#fff,#fbfcfe);transition:transform .2s var(--ease),border-color .2s,box-shadow .2s,background .2s}
.pay-option:hover{transform:translateY(-2px);border-color:#bddcf5;box-shadow:0 8px 19px rgba(22,84,137,.07)}
.pay-option:has(input:checked){border-color:#70b8ed;background:linear-gradient(145deg,#f5fbff,#edf7ff);box-shadow:0 0 0 3px rgba(23,136,232,.1)}
.pay-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#eff7ff;color:#2389d9}
.pay-icon svg{width:22px;height:22px}
.pay-icon img{display:block;width:22px;height:22px;object-fit:contain}
.pay-wxpay{color:#18a66a;background:#edfaf3}.pay-usdt{color:#2ca985;background:#eefaF6}
.pay-copy b{font-size:12px}.pay-copy small{font-size:10px}
.secure-note{font-size:11px}
.single-card #recharge-form>.tg-button{width:100%;min-height:44px;margin-top:1px;border-radius:11px}
.payment-box{padding:17px;border-color:#d6ebf8;border-radius:14px;background:linear-gradient(145deg,#f4fbff,#f2f9ff);font-size:12px}
.payment-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.payment-success-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#e2f8ef;color:#13a574;font-size:15px;font-weight:800}
.payment-head b,.payment-head small{display:block}.payment-head b{font-size:12px}.payment-head small{margin-top:2px;color:#8393a6;font-size:9px}
.payment-details{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px 0;border-top:1px solid #deebf3;border-bottom:1px solid #deebf3}
.payment-details span{color:#8090a4;font-size:11px}.payment-details b{color:#233b57;font-size:11px}
.payment-address{display:grid;gap:5px;margin:12px 0}.payment-address small{color:#7d8da1;font-size:9px}.payment-address code{overflow-wrap:anywhere;color:#304a67;font-family:var(--mono);font-size:10px}
.payment-link{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:10px 12px;border:1px solid #d4e8f6;border-radius:9px;background:#fff;color:#187dc9!important;font-size:10px}
.recharge-aside{position:relative;overflow:hidden;min-height:325px;margin:0;padding:25px 23px;background:radial-gradient(ellipse at 100% 0%,rgba(79,180,248,.14),transparent 38%),linear-gradient(145deg,#fff,#f8fbff)}
.recharge-aside:after{position:absolute;right:-36px;top:-41px;width:126px;height:126px;border:1px solid rgba(61,153,226,.12);border-radius:50%;box-shadow:0 0 0 15px rgba(61,153,226,.035),0 0 0 31px rgba(61,153,226,.025);content:""}
.aside-icon{display:grid;place-items:center;width:39px;height:39px;margin-bottom:21px;border:1px solid #e0effb;border-radius:13px;background:linear-gradient(145deg,#f2faff,#e6f4ff);color:#3396dc;font-size:18px}
.recharge-aside .section-kicker{color:#5b9bc8;font-size:8px}
.recharge-aside h3{max-width:230px;margin:9px 0 7px;font-size:17px;letter-spacing:-.4px}
.recharge-aside p{max-width:290px;color:#7d8ca0;font-size:12px;line-height:1.8}
.recharge-aside ol{display:grid;gap:0;margin:22px 0 0;padding:0;list-style:none}
.recharge-aside li{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #edf1f6;color:#566982;font-size:11px;font-weight:600}
.recharge-aside li b{color:#45a0dd;font-family:var(--mono);font-size:9px;letter-spacing:.5px}
.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.package-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.category-card{min-height:100px;gap:15px;padding:18px 20px;border-color:#e6ecf3;border-radius:16px;background:linear-gradient(145deg,#fff,#fbfdff);box-shadow:0 3px 10px rgba(20,41,72,.025)}
.category-card:hover{transform:translateY(-3px);border-color:#badbf4;box-shadow:0 13px 28px rgba(29,97,149,.09)}
.category-icon{width:44px;height:44px;border:1px solid #e5f1fb;border-radius:14px;background:linear-gradient(145deg,#f1f9ff,#e9f5ff);color:#2588d7}
.category-icon svg{width:21px;height:21px}
.category-card b{font-size:14px}.category-card small{margin-top:4px;color:#8593a5;font-size:11px}
.category-note{display:block;margin-top:5px;color:#a0adbc;font-size:10px}
.category-card>.chevron{color:#9aabba}
.tag-hot,.tag-recommend{top:9px;right:12px;padding:4px 8px;border-radius:7px;font-size:8px;letter-spacing:.25px}
.tag-hot{background:linear-gradient(100deg,#f7a746,#ef8051);box-shadow:0 3px 8px rgba(238,139,61,.2)}
.tag-recommend{background:linear-gradient(100deg,#248fe0,#4079e8);box-shadow:0 3px 8px rgba(48,122,218,.2)}
.package-list-toolbar{margin:-2px 0 17px}
.back-button{min-height:37px;border-color:#e5ebf2;border-radius:10px;padding:8px 12px;font-size:10px}
.package-list-toolbar span{font-size:12px}
.package-card{min-height:282px;padding:20px;border-color:#e6ebf2;border-radius:17px;background:radial-gradient(ellipse at 100% 0%,rgba(228,243,255,.38),transparent 40%),#fff;box-shadow:0 3px 11px rgba(20,41,72,.03)}
.package-card:hover{transform:translateY(-3px);border-color:#b8d9f1;box-shadow:0 14px 30px rgba(24,89,143,.09)}
.package-card.recommended{border-color:#badcf4}
.package-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.package-number{color:#a4b4c5;font-family:var(--mono);font-size:9px;letter-spacing:1px}
.package-cycle{padding:4px 8px;border:1px solid #e6f0f8;border-radius:7px;background:#f4f9fe;color:#6397bd;font-size:9px}
.package-card h3{font-size:14px;letter-spacing:-.2px}
.package-price{display:flex;align-items:baseline;gap:1px;margin:11px 0 14px;color:#167aca;font-size:32px;font-weight:780;letter-spacing:-1.2px}
.package-price:before{display:none}
.package-price small{align-self:flex-start;margin-top:6px;font-size:13px;letter-spacing:0}
.package-price>span{overflow:hidden;color:#8897aa;font-size:9px;font-weight:500;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}
.package-meta{gap:7px;margin-bottom:13px}
.package-meta span{border-color:#ebeff4;background:#f7f9fc;color:#61738a;font-size:10px}
.package-perks{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 17px;color:#8391a3;font-size:11px}
.package-perks span{display:inline-flex;align-items:center;gap:4px}
.package-perks i{color:#27b488;font-size:9px;font-style:normal}
.package-card .tg-button{display:flex;justify-content:space-between;min-height:42px;border-radius:10px;padding:10px 13px;font-size:12px}
.node-list{gap:11px}
.node-card{min-height:120px;gap:17px;padding:18px 20px;border-color:#e6ecf2;border-radius:16px;background:linear-gradient(100deg,#fff,#fcfdff);box-shadow:0 3px 10px rgba(20,41,72,.025)}
.node-card:hover{transform:translateY(-2px);border-color:#cde2f3;box-shadow:0 10px 25px rgba(20,66,106,.065)}
.node-card-icon{display:grid;place-items:center;flex:0 0 auto;width:47px;height:47px;border:1px solid #dfeefa;border-radius:15px;background:linear-gradient(145deg,#f0faff,#e8f4ff)}
.node-signal{display:flex;align-items:flex-end;gap:3px;height:19px}
.node-signal i{width:4px;border-radius:5px;background:linear-gradient(180deg,#60d4d0,#278de0)}
.node-signal i:nth-child(1){height:8px}.node-signal i:nth-child(2){height:14px}.node-signal i:nth-child(3){height:19px}
.node-card-main{flex:1;min-width:0}
.node-title-row{display:flex;align-items:center;gap:10px}
.node-card h3{flex:1 1 auto;min-width:0;margin:0;font-size:13px}
.node-dot{width:7px;height:7px}
.node-online{padding:4px 8px;font-size:9px}
.node-address{display:flex;align-items:center;gap:10px;margin:9px 0 5px!important;color:#52647d!important;font-size:12px!important}
.node-address>span{color:#9ba9b9;font-family:var(--font);font-size:8px;letter-spacing:1px}
.node-address code{flex:1;min-width:0;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.node-route{display:flex;align-items:center;gap:7px;color:#9aa7b6!important;font-size:10px!important}
.route-line{width:15px;height:1px;background:#9dd6ee}
.node-card-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}
.copy-btn,.node-card a{min-height:42px;justify-content:center;border-radius:10px;padding:9px 11px;font-size:11px}
.copy-btn{display:inline-flex;align-items:center;gap:6px;border-color:#e4eaf1;color:#66778e}
.copy-btn>span{font-size:12px}
.copy-btn svg{width:13px;height:13px;flex:0 0 auto}
.copy-btn.copied{border-color:#a8e3cc;background:#effcf6;color:#13966b}
.copy-btn.copied svg{color:#13966b}
.node-card a{background:linear-gradient(100deg,#218fe5,#3178e5);box-shadow:0 5px 12px rgba(37,126,217,.16)}
.node-card a:hover{background:linear-gradient(100deg,#127dd4,#286bdd)}
.loading-state{display:grid;justify-items:center;gap:8px;border-style:solid}
.loading-state b{color:#536780;font-size:13px}.loading-state small,.empty-state small{color:#91a0b2;font-size:11px}
.loading-orbit{width:24px;height:24px;border:2px solid #e5f1fa;border-top-color:#218fe5;border-radius:50%;animation:spin .75s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* Modal, focus and interaction polish */
.modal-backdrop{background:rgba(4,17,35,.57);backdrop-filter:blur(5px)}
.modal-card{padding:30px;border:1px solid rgba(255,255,255,.8);border-radius:21px;box-shadow:0 25px 70px rgba(5,22,44,.28)}
.modal-icon{width:46px;height:46px;border:1px solid #d9eefc;border-radius:14px;background:linear-gradient(145deg,#eff9ff,#e5f4ff);color:#1883d5}
.modal-card h2{margin-top:17px;font-size:19px}
.modal-card>p{font-size:11px}
.confirm-summary{gap:12px 20px;padding:16px;border-color:#e9eef4;border-radius:12px;background:#f7f9fc}
.confirm-summary span{font-size:10px}.confirm-summary b{font-size:11px}
.modal-actions .tg-button,.modal-actions .secondary-button{min-height:40px;border-radius:10px;font-size:11px}
.toast{right:26px;bottom:25px;padding:12px 16px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(10,25,45,.95);font-size:11px;box-shadow:0 14px 35px rgba(9,23,41,.22);backdrop-filter:blur(12px)}
.tg-button:focus-visible,.ghost-button:focus-visible,.secondary-button:focus-visible,.nav-item:focus-visible,.dock-item:focus-visible,.category-card:focus-visible,.pay-option:focus-within{outline:3px solid rgba(49,159,239,.32);outline-offset:2px}
.nav-open{overflow:hidden}
.bottom-dock{display:none}

/* Responsive composition */
@media(min-width:1500px){
  .content{padding-right:clamp(60px,6vw,104px);padding-left:clamp(50px,5vw,84px)}
  .welcome-row{min-height:260px;padding:36px 39px}
  .hero-art{right:4%;width:340px;height:235px}
  .auth-layout{gap:clamp(100px,12vw,180px)}
}
@media(max-width:1120px){
  .sidebar{width:226px}
  .content{margin-left:226px;padding-right:25px;padding-left:25px}
  .welcome-row{padding:27px 26px}
  .welcome-row>div:nth-child(2){max-width:66%}
  .welcome-actions{left:26px;bottom:25px}
  .hero-art{width:33%;opacity:.85}
  .content-grid{grid-template-columns:minmax(0,1fr) minmax(245px,.9fr)}
  .lower-grid{grid-template-columns:1fr}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .auth-layout{grid-template-columns:minmax(0,1fr) minmax(340px,400px);gap:46px}
  .auth-copy h1{font-size:clamp(42px,5vw,58px)}
  .auth-visual{height:190px}
}
@media(max-width:860px){
  .auth-view{padding:27px 25px 28px}
  .auth-layout{grid-template-columns:minmax(0,1fr) minmax(315px,370px);gap:28px}
  .auth-brand{margin-bottom:48px}
  .auth-copy h1{font-size:43px;letter-spacing:-1.8px}
  .auth-copy p{font-size:13px}
  .auth-visual{height:170px}
  .auth-card{padding:26px 24px 20px}
  .sidebar{width:214px}
  .content{margin-left:214px;padding:23px 21px 48px}
  .welcome-row>div:nth-child(2){max-width:64%}
  .welcome-actions{left:21px;bottom:21px}
  .hero-art{top:7px;right:1px;width:30%;height:145px}
  .content-grid{grid-template-columns:1fr}
  .lower-grid{grid-template-columns:1fr 1fr}
  .kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  .kpi-card{padding:15px 14px}
  .kpi-card strong{font-size:21px}
  #section-recharge.active-section{grid-template-columns:minmax(0,1fr) minmax(220px,.75fr);gap:0 12px}
  .single-card{padding:20px 18px}
  .recharge-aside{padding:21px 18px}
  .node-card{gap:12px;padding:15px}
  .node-card-actions{gap:6px}
  .node-card a,.copy-btn{padding-right:9px;padding-left:9px}
}
@media(max-width:780px){
  .lower-grid{grid-template-columns:1fr}
  #section-recharge.active-section{grid-template-columns:1fr;gap:0}
  #section-recharge>.section-intro{grid-column:1}
  .hero-art{opacity:.42}
}
@media(max-width:720px){
  html{scroll-padding-top:12px}
  body{background:linear-gradient(180deg,#f5f8fc,#f2f6fb)}
  .auth-view{min-height:100svh;display:block;padding:22px 18px 26px}
  .auth-brand{margin-bottom:35px}
  .auth-brand .tg-logo{width:40px;height:40px;border-radius:13px}
  .auth-shell,.auth-layout,.auth-copy,.auth-card{width:100%;min-width:0}
  .auth-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
  .auth-copy{margin:0 0 22px;padding:0}
  .auth-copy .section-kicker{font-size:9px;letter-spacing:1.8px}
  .auth-copy h1{margin:15px 0 10px;font-size:clamp(34px,9vw,43px);letter-spacing:-1.8px}
  .auth-copy p{width:100%;max-width:100%;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
  .auth-features{gap:8px 13px;margin-top:14px}
  .auth-features li{font-size:11px}
  .auth-visual{display:none}
  .auth-card{justify-self:stretch;padding:23px 21px 18px;border-radius:19px}
  .auth-card h2{font-size:19px}
  .auth-card .muted{font-size:11px}
  .auth-card label{margin-top:16px;font-size:13px}
  .auth-card input{height:48px;font-size:16px}
  .auth-card .remember-row input{width:1px!important;height:1px!important;padding:0}
  .auth-card .tg-button{height:48px;margin-top:19px;font-size:14px}
  .auth-card-foot{font-size:10px}
  .auth-trust{display:flex;flex-direction:row;gap:9px 18px;margin:20px 0 10px;font-size:10px}
  .auth-foot{margin-top:22px;font-size:10px}
  .panel-view{display:block;min-height:100svh}
  .content{width:100%;max-width:none;margin:0;padding:15px 15px calc(104px + env(safe-area-inset-bottom))}
  .topbar{min-height:47px;margin-bottom:15px;padding:0 0 12px}
  .topbar-title{gap:9px}
  .topbar-title h1{margin-top:3px;font-size:18px}
  .topbar-tools{gap:7px}
  .topbar-tools .clock,.topbar-tools .live-indicator{display:none}
  .icon-button{width:44px;height:44px}
  .page-section{animation-duration:.25s}
  .panel-card{padding:17px 16px;margin-bottom:11px;border-radius:15px}
  .card-heading h3{margin-bottom:12px;font-size:15px}
  .section-kicker{font-size:9px;letter-spacing:1.3px}
  .welcome-row{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-height:232px;margin-bottom:12px;padding:23px 19px 18px;border-radius:20px}
  .welcome-row>div:nth-child(2){max-width:100%}
  .hello-overline{margin-bottom:8px;font-size:9px;letter-spacing:1.9px}
  .welcome-row h2{font-size:22px;letter-spacing:-.45px}
  .welcome-row p{max-width:270px;margin-top:6px;font-size:12px;line-height:1.65}
  .hero-art{top:69px;right:-7px;width:42%;height:137px;opacity:.62}
  .hero-art-ring{width:95px;height:95px}
  .hero-art-ring-b{width:122px;height:122px}
  .hero-art-label{right:10px;bottom:4px;font-size:6px;letter-spacing:.8px}
  .welcome-actions{position:relative;left:auto;right:auto;bottom:auto;display:flex;align-self:auto;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:12px}
  .welcome-actions .expiry-pill{padding:8px 10px;font-size:10px}
  .welcome-actions .tg-button,.welcome-actions .ghost-button{min-height:40px;padding:9px 11px;font-size:10px}
  .welcome-actions .tg-button{gap:5px}
  .welcome-actions .tg-button svg{width:13px;height:13px}
  .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:11px}
  .kpi-card{min-height:104px;padding:13px 12px 11px;border-radius:14px}
  .kpi-card:first-child{grid-column:1/-1;min-height:112px;padding:15px 16px 12px}
  .kpi-top small{font-size:10px}
  .kpi-icon{width:28px;height:28px;border-radius:9px}
  .kpi-icon svg{width:14px;height:14px}
  .kpi-card strong{margin:8px 0 1px;font-size:20px;letter-spacing:-.5px}
  .kpi-card:not(.balance-card) strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .kpi-card:first-child strong{font-size:26px}
  .kpi-sub{font-size:10px}
  .usage-card{padding:16px;margin-bottom:11px}
  .usage-main{gap:12px 9px;padding-top:2px}
  .usage-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 8px}
  .usage-numbers>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px;font-size:10px}
  .usage-numbers b{grid-column:1/-1;font-size:11px}
  .usage-percent b{font-size:19px}
  .usage-percent small{font-size:9px}
  .usage-bar{height:6px}
  .usage-sparkline{height:21px;gap:4px}
  .content-grid,.lower-grid{grid-template-columns:1fr;gap:0}
  .content-grid>.panel-card,.lower-grid>.panel-card{margin-bottom:11px}
  .quick-list{gap:2px}
  .quick-list button{min-height:54px;padding:7px 8px}
  .qa-icon{width:32px;height:32px}
  .qa-copy b{font-size:13px}.qa-copy small{font-size:11px}
  .account-card dl{gap:9px}
  .account-card dl>div{padding-bottom:8px}
  .account-card dt{font-size:11px}.account-card dd{font-size:12px}
  .node-overview-card .card-heading{margin-bottom:8px}
  .node-summary{align-items:flex-start;gap:10px}
  .summary-list{gap:6px}
  .summary-node{padding:6px 9px;font-size:10px}
  .summary-meta{font-size:10px}
  .summary-meta b{font-size:18px}
  .status-card .status-row{padding:8px 0}
  .status-row b{font-size:12px}.status-row small{font-size:11px}.status-row strong{font-size:10px}
  .section-intro{margin:4px 0 17px}
  .section-intro h2{font-size:22px}
  .section-intro p{font-size:12px;line-height:1.7}
  .section-intro-row{align-items:flex-start;gap:11px}
  #section-recharge.active-section{display:grid;grid-template-columns:1fr;gap:0}
  #section-recharge>.section-intro{grid-column:auto}
  .single-card{padding:18px 16px}
  .amount-presets{gap:7px;margin-bottom:18px}
  .amount-presets button{flex:1;min-width:0;min-height:44px;padding:9px 6px;font-size:10px}
  .pay-methods{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .pay-option{min-height:99px;padding:12px 5px}
  .pay-icon{width:34px;height:34px}
  .pay-icon svg{width:21px;height:21px}
  .pay-copy b{font-size:10.5px}.pay-copy small{font-size:9px}
  .pay-option .pay-check{top:6px;right:6px;width:14px;height:14px}
  .secure-note{align-items:flex-start;font-size:10px;line-height:1.5}
  .recharge-aside{min-height:0;margin:0;padding:20px 18px}
  .aside-icon{width:34px;height:34px;margin-bottom:15px}
  .recharge-aside h3{font-size:15px}
  .recharge-aside p{font-size:11px}
  .recharge-aside ol{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
  .recharge-aside li{display:grid;align-content:start;gap:5px;padding:11px 5px 0;font-size:9px}
  .recharge-aside li b{font-size:9px}
  .category-grid,.package-grid{grid-template-columns:1fr;gap:10px}
  .category-card{min-height:85px;padding:14px 15px}
  .category-icon{width:40px;height:40px}
  .category-card b{font-size:14px}
  .category-card small{font-size:11px}
  .category-note{font-size:9px}
  .tag-hot{top:7px;right:9px}
  .package-card{min-height:0;padding:17px;border-radius:15px}
  .package-card-top{margin-bottom:10px}
  .package-price{margin:8px 0 10px;font-size:30px}
  .package-perks{margin-bottom:13px}
  .package-list-toolbar{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:13px}
  .node-list{gap:9px}
  .node-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px 11px;min-height:0;padding:13px;border-radius:14px}
  .node-card-icon{grid-row:1;width:38px;height:38px;border-radius:12px}
  .node-signal{height:16px}.node-signal i{width:3px}.node-signal i:nth-child(1){height:7px}.node-signal i:nth-child(2){height:12px}.node-signal i:nth-child(3){height:16px}
  .node-card-main{grid-row:1;align-self:center}
  .node-card h3{font-size:12px}
  .node-online{padding:4px 8px;font-size:9px}
  .node-address{flex-wrap:wrap;gap:4px 8px;margin:8px 0 0!important}
  .node-address>span{width:100%;font-size:8px}
  .node-address code{font-size:10px}
  .node-route{display:none!important}
  .node-card-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.2fr;gap:7px}
  .copy-btn,.node-card a{min-height:44px;width:100%;font-size:10px}
  .empty-state{padding:32px 18px;font-size:12px}
  .loading-state{gap:7px}
  .toast{left:14px;right:14px;bottom:calc(83px + env(safe-area-inset-bottom));padding:11px 14px;text-align:center;font-size:10px}
  .modal{padding:15px}
  .modal-card{padding:24px 20px 20px;border-radius:18px}
  .modal-card h2{font-size:17px}
  .confirm-summary{gap:10px 12px;padding:13px}
  .modal-actions{gap:7px}
  .modal-actions .tg-button,.modal-actions .secondary-button{flex:1;padding-right:10px;padding-left:10px}
  .bottom-dock{position:fixed;z-index:50;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:4px;padding:6px;border:1px solid rgba(224,232,241,.9);border-radius:18px;background:rgba(255,255,255,.9);box-shadow:0 12px 35px rgba(18,40,70,.14),0 2px 7px rgba(18,40,70,.05);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
  .bottom-dock .dock-item{width:100%;min-width:0;height:49px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;margin:0;padding:6px 4px;border:0;border-radius:12px;color:#7d8ba0;transition:background .18s var(--ease),color .18s var(--ease)}
  .bottom-dock .dock-icon{display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px}
  .bottom-dock .dock-icon svg{width:19px;height:19px}
  .bottom-dock .dock-item small{height:13px;line-height:13px;white-space:nowrap;font-size:10.5px;font-weight:650}
  .bottom-dock .dock-item.active{background:#edf6ff;color:#157ecb}
  .bottom-dock .dock-primary{background:linear-gradient(145deg,#2196e9,#2779e4)!important;box-shadow:0 7px 16px rgba(24,126,220,.24)!important}
}
@media(max-width:390px){
  .auth-view{padding-right:14px;padding-left:14px}
  .auth-card{padding-right:17px;padding-left:17px}
  .auth-trust{gap:8px 12px}
  .content{padding-right:11px;padding-left:11px}
  .welcome-row{min-height:232px;padding:20px 15px 15px}
  .hero-art{top:75px;right:-13px;width:42%;height:127px}
  .welcome-row h2{font-size:20px}
  .welcome-row p{max-width:235px;font-size:11px}
  .welcome-actions{gap:6px}
  .welcome-actions .expiry-pill{padding:7px 8px;font-size:9px}
  .welcome-actions .tg-button,.welcome-actions .ghost-button{min-height:39px;padding:8px 9px;font-size:9px}
  .kpi-card{padding-right:10px;padding-left:10px}
  .kpi-card strong{font-size:19px}
  .kpi-card:first-child strong{font-size:24px}
  .usage-numbers{gap:8px 6px}
  .usage-numbers>div{font-size:9px}
  .usage-numbers b{font-size:10px}
  .content-grid .panel-card,.lower-grid .panel-card{padding-right:13px;padding-left:13px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-art-ring-b,.loading-orbit{animation:none}
  .auth-visual,.visual-stat,.node-card,.category-card,.package-card{transition:none}
}

/* Sidebar v2: fixed rails, safe truncation, and image-backed navigation */
.auth-view{background-color:#071426}
.auth-scenery{position:absolute;z-index:0;inset:0;overflow:hidden;pointer-events:none}
.auth-scenery:after{position:absolute;inset:0;content:"";background:linear-gradient(90deg,rgba(5,17,32,.94) 0%,rgba(6,20,38,.84) 48%,rgba(7,20,38,.84) 100%),linear-gradient(0deg,rgba(5,15,28,.62),transparent 52%)}
.auth-scenery img{width:100%;height:100%;object-fit:cover;object-position:center 45%;opacity:.52;filter:saturate(.72) contrast(1.08)}
.auth-shell{position:relative;z-index:1}
.tg-logo{overflow:hidden}
.tg-logo .remote-icon{width:21px;height:21px;object-fit:contain}
.tg-logo .image-fallback[hidden]{display:none}
.tg-logo .image-fallback{width:20px;height:20px}
.sidebar{z-index:30;width:274px;isolation:isolate;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:23px 17px 17px;background-color:#0a1526;background-image:linear-gradient(180deg,rgba(11,25,44,.985) 0%,rgba(10,22,39,.955) 58%,rgba(8,19,34,.86) 100%),url("https://images.unsplash.com/photo-1519608487953-e999c86e7455?auto=format&fit=crop&w=1100&q=75");background-size:cover,cover;background-position:center,center bottom;background-repeat:no-repeat;scrollbar-width:thin;scrollbar-color:rgba(163,190,225,.22) transparent}
.sidebar::-webkit-scrollbar{width:5px}
.sidebar::-webkit-scrollbar-track{background:transparent}
.sidebar::-webkit-scrollbar-thumb{border:0;border-radius:99px;background:rgba(163,190,225,.2)}
.side-brand{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:0 11px;margin:0 2px 17px;padding:1px 2px 18px;border-bottom:1px solid rgba(180,210,245,.09)}
.side-brand .tg-logo{grid-row:1;grid-column:1;width:40px;height:40px;border:1px solid rgba(255,255,255,.15);border-radius:13px;background:linear-gradient(145deg,#42bdff,#1687e6 60%,#315fdb);box-shadow:0 8px 22px rgba(15,126,220,.28)}
.side-brand-copy{display:grid;min-width:0;gap:4px}
.side-brand-copy strong{overflow:hidden;color:#f3f8ff;font-size:13px;font-weight:720;letter-spacing:.1px;text-overflow:ellipsis;white-space:nowrap}
.side-brand-copy small{overflow:hidden;color:#8497b2;font-size:8px;font-weight:700;letter-spacing:1.25px;text-overflow:ellipsis;white-space:nowrap}
.brand-live{position:absolute;top:3px;right:0;display:inline-flex;align-items:center;gap:5px;padding:4px 6px;border:1px solid rgba(96,218,175,.13);border-radius:7px;background:rgba(41,166,129,.08);color:#84dcbc;font-family:var(--mono);font-size:7px;font-weight:700;letter-spacing:.7px}
.brand-live i{width:5px;height:5px;border-radius:50%;background:#53d9aa;box-shadow:0 0 0 3px rgba(83,217,170,.1)}
.profile-card{display:grid;gap:10px;margin:0 0 21px;padding:12px;border:1px solid rgba(164,197,238,.1);border-radius:15px;background:linear-gradient(140deg,rgba(255,255,255,.075),rgba(255,255,255,.028));box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.profile-main{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:10px;min-width:0}
.profile-avatar{display:grid!important;place-items:center;grid-row:1;grid-column:1;width:42px!important;height:42px!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:13px!important;background:linear-gradient(145deg,#4ac7ff,#3479ed 68%,#5a68ed)!important;color:#fff!important;font-size:15px!important;font-weight:760!important;box-shadow:0 6px 18px rgba(36,117,217,.24)!important}
.profile-identity{display:grid;min-width:0;gap:3px}
.profile-identity b{display:block;max-width:100%;overflow:hidden;color:#f0f5ff;font-size:12px;font-weight:670;text-overflow:ellipsis;white-space:nowrap}
.profile-identity small{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;color:#80d9ba;font-size:10px;font-weight:580;text-overflow:ellipsis;white-space:nowrap}
.profile-identity small:before{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#48d4a2;box-shadow:0 0 0 3px rgba(72,212,162,.1);content:""}
.profile-chevron{display:grid;place-items:center;width:18px;height:24px;color:#8496b0;font-size:16px;letter-spacing:-2px}
.profile-plan-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding-top:9px;border-top:1px solid rgba(182,205,236,.085)}
.profile-plan-row>span{flex:0 0 auto;color:#8093ad;font-size:9px;font-weight:600}
.profile-plan-row .plan-pill{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;width:auto;height:auto;min-height:0;max-width:min(100%,154px);margin:0;padding:4px 8px;overflow:hidden;border:1px solid rgba(76,171,255,.18);border-radius:99px;background:rgba(48,149,243,.12);box-shadow:none;color:#9bd3ff;font-size:9px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.side-nav{display:grid;gap:6px;margin:0;padding:0 1px}
.nav-label{display:flex;align-items:center;gap:9px;margin:1px 10px 5px;padding:0 0 1px;color:#6f84a1;font-size:8px;font-weight:760;letter-spacing:1.75px}
.nav-label:after{height:1px;flex:1;background:linear-gradient(90deg,rgba(140,171,210,.16),transparent);content:""}
.nav-item{display:grid;grid-template-columns:40px minmax(0,1fr) 6px;align-items:center;gap:10px;width:100%;min-width:0;min-height:51px;padding:6px 11px;border:1px solid transparent;border-radius:13px;color:#a1b1c7;font-size:12px;font-weight:580;line-height:1.35;text-align:left;transition:background .2s,border-color .2s,color .2s,transform .2s var(--ease)}
.nav-item .nav-icon{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border:1px solid rgba(181,206,241,.045);border-radius:12px;background:rgba(255,255,255,.035);color:#90a9c8;transition:background .2s,border-color .2s,transform .2s var(--ease)}
.nav-icon .remote-icon,.nav-icon .image-fallback{display:block;width:19px;height:19px;object-fit:contain}
.nav-icon .image-fallback[hidden]{display:none}
.nav-copy{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-current{width:5px;height:5px;border-radius:50%;background:#7ed6ff;opacity:0;transform:scale(.6);transition:opacity .2s,transform .2s}
.nav-item:hover{border-color:rgba(166,203,246,.07);background:rgba(255,255,255,.045);color:#eef6ff}
.nav-item:hover .nav-icon{transform:translateY(-1px);border-color:rgba(103,183,255,.2);background:rgba(52,147,229,.1)}
.nav-item.active{border-color:rgba(74,160,241,.17);background:linear-gradient(105deg,rgba(39,137,223,.2),rgba(48,130,211,.085));box-shadow:inset 2px 0 #55baff,0 6px 18px rgba(4,16,33,.08);color:#f4f9ff}
.nav-item.active .nav-icon{border-color:rgba(102,190,255,.18);background:linear-gradient(145deg,rgba(52,155,237,.2),rgba(42,104,194,.12));color:#8ddaff}
.nav-item.active .nav-current{opacity:1;transform:scale(1)}
.side-status{gap:10px;min-width:0;margin-top:auto;padding:12px;border:1px solid rgba(107,205,168,.12);border-radius:13px;background:linear-gradient(110deg,rgba(30,137,111,.105),rgba(255,255,255,.025))}
.side-status .status-dot{width:8px;height:8px;box-shadow:0 0 0 4px rgba(22,163,74,.12)}
.side-status>div{min-width:0}
.side-status b,.side-status small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-status b{font-size:10.5px}.side-status small{font-size:9px;color:#8ba0b9}
.side-version{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:13px 10px 6px;padding:12px 0 0;border-top:1px solid rgba(173,198,231,.08);color:#7c8ea8;font-family:var(--mono);font-size:8px;letter-spacing:.15px}
.side-version:after{padding:3px 6px;border:1px solid rgba(130,170,218,.12);border-radius:6px;background:rgba(255,255,255,.025);color:#8298b4;content:"PRO";font-size:7px;letter-spacing:1px}
.side-logout{display:flex;align-items:center;gap:9px;width:100%;min-width:0;min-height:43px;margin:2px 0 0;padding:10px 12px;border:1px solid transparent;border-radius:12px;color:#97a7bc;font-size:11px;font-weight:580;transition:background .18s,border-color .18s,color .18s}
.side-logout:hover{border-color:rgba(255,134,134,.11);background:rgba(220,38,38,.1);color:#ffb3b3}
.content{margin-left:274px}
.welcome-row{background-color:#102746;background-image:radial-gradient(ellipse at 75% 80%,rgba(37,149,236,.22),transparent 42%),linear-gradient(105deg,rgba(9,24,44,.95),rgba(13,39,70,.87) 60%,rgba(18,49,83,.74)),linear-gradient(112deg,#0c1c33 0%,#102846 54%,#17365d 100%)}
.welcome-photo{position:absolute;z-index:0;inset:0;overflow:hidden;pointer-events:none}
.welcome-photo img{width:100%;height:100%;object-fit:cover;object-position:center 48%;opacity:.34;filter:saturate(.74) contrast(1.08)}
.welcome-row:before{z-index:1}
.welcome-row>div:nth-child(2){z-index:2}
.hero-art{z-index:2}
.welcome-actions{z-index:4}
.bottom-dock .dock-icon .remote-icon,.bottom-dock .dock-icon .image-fallback{width:19px;height:19px;object-fit:contain}
.bottom-dock .dock-icon .image-fallback[hidden]{display:none}

@media(max-width:1120px){
  .sidebar{width:236px}
  .content{margin-left:236px}
  .brand-live{display:none}
}
@media(max-width:860px){
  .sidebar{width:220px;padding-right:13px;padding-left:13px}
  .content{margin-left:220px}
  .profile-card{padding:10px}
  .profile-main{grid-template-columns:38px minmax(0,1fr) 16px;gap:8px}
  .profile-avatar{width:38px!important;height:38px!important}
  .nav-item{grid-template-columns:36px minmax(0,1fr) 5px;gap:8px;min-height:48px;padding-right:8px;padding-left:8px}
  .nav-item .nav-icon{width:35px;height:35px}
}
@media(max-width:720px){
  .welcome-photo img{object-position:60% center}
  .welcome-row:before{opacity:.08}
}
@media(max-height:690px) and (min-width:721px){
  .sidebar{padding-top:16px;padding-bottom:12px}
  .side-brand{margin-bottom:11px;padding-bottom:12px}
  .profile-card{gap:7px;margin-bottom:13px;padding:9px}
  .side-nav{gap:3px}
  .nav-item{min-height:44px}
  .nav-item .nav-icon{width:34px;height:34px}
  .side-status{padding:9px}
  .side-version{margin-top:9px;padding-top:8px}
  .side-logout{min-height:38px}
}
@media(prefers-reduced-motion:reduce){
  .nav-item,.nav-icon,.profile-avatar{transition:none}
}
