@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#f2efff;--muted:#9d9ab8;--line:#29243e;--blue:#9a6bff;--navy:#0b0a15;--surface:#151222;--bg:#090914;--green:#5de2b2;--violet:#b36bff;--shadow:0 12px 32px rgba(0,0,0,.24)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,a,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;display:flex}.sidebar{width:252px;background:var(--navy);color:#aeb8c9;display:flex;flex-direction:column;padding:27px 16px 17px;position:fixed;inset:0 auto 0 0;z-index:10}.brand{display:flex;align-items:center;gap:9px;color:#fff;padding:0 11px;margin-bottom:48px}.brand-mark{width:32px;height:32px;background:#4169f5;border-radius:10px;display:grid;place-items:center;box-shadow:0 7px 18px #4169f544}.brand-mark svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.brand-name{font-family:Manrope,sans-serif;font-size:18px;font-weight:800;letter-spacing:1px}.brand-name span{color:#7792ff}.brand-tag{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#9daac2;margin-left:-7px;margin-top:3px}.sidebar-label{padding:0 12px;color:#65738b;text-transform:uppercase;letter-spacing:1.2px;font-size:9px;font-weight:700;margin-bottom:12px}.sidebar-label-spaced{margin-top:34px}.nav-list{display:grid;gap:4px}.nav-item{height:43px;padding:0 12px;border-radius:9px;display:flex;align-items:center;gap:13px;color:#98a5b9;font-weight:500;font-size:13px;transition:.2s}.nav-item:hover{background:#ffffff0c;color:#fff}.nav-item.active{background:#25375c;color:#fff;box-shadow:inset 3px 0 #5a7cff}.nav-icon{width:18px;height:18px;display:grid;place-items:center}.nav-icon svg{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.nav-badge{margin-left:auto;color:#bac6da;background:#263349;border-radius:5px;padding:3px 7px;font-size:10px}.sidebar-bottom{margin-top:auto}.support-card{background:#1c2a42;border:1px solid #2a3952;border-radius:12px;padding:15px 14px 13px;margin:0 3px 16px;display:flex;flex-direction:column;align-items:flex-start}.support-orb{width:31px;height:31px;border-radius:9px;background:#2d4160;display:grid;place-items:center;margin-bottom:12px;color:#90a9ff}.support-orb svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.support-card strong{font-size:12px;color:#eef2fa}.support-card>span{font-size:10px;color:#8493ab;margin-top:4px}.support-link{border:0;background:none;color:#91a9ff;font-size:10px;padding:12px 0 0;font-weight:600}.support-link span{margin-left:3px}.profile-switch{display:flex;align-items:center;text-align:left;width:100%;border:0;background:transparent;padding:10px 7px;color:white;gap:10px}.avatar,.top-avatar{display:grid;place-items:center;background:linear-gradient(145deg,#f3c6a5,#bd7e66);color:white;border-radius:50%;font-weight:700}.avatar{width:32px;height:32px}.profile-copy{display:grid;gap:3px}.profile-copy strong{font-size:11px}.profile-copy small{font-size:9px;color:#7e8da5}.chevrons{margin-left:auto;color:#65738b;font-size:10px;line-height:7px}.main-area{width:calc(100% - 252px);margin-left:252px;min-height:100vh}.topbar{height:70px;background:#ffffffd9;border-bottom:1px solid #ebeff5;display:flex;align-items:center;justify-content:space-between;padding:0 42px;position:sticky;top:0;z-index:5;backdrop-filter:blur(12px)}.breadcrumb{display:flex;align-items:center;gap:11px;font-size:11px;color:#8a95a7}.breadcrumb b{color:#c5ccd6;font-weight:400}.breadcrumb strong{color:#4c5870;font-weight:600}.topbar-actions{display:flex;align-items:center;gap:19px}.secure-chip{font-size:10px;color:#637386;display:flex;align-items:center;gap:7px}.secure-chip i{width:6px;height:6px;border-radius:50%;background:#3acb9a;box-shadow:0 0 0 3px #3acb9a1e}.icon-button,.top-avatar,.mobile-menu{border:0;background:transparent}.icon-button{width:33px;height:33px;display:grid;place-items:center;color:#6c7890;position:relative}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.notification-button i{position:absolute;width:5px;height:5px;background:#f28a8d;border:1.5px solid white;border-radius:50%;right:5px;top:5px}.top-avatar{width:29px;height:29px;font-size:11px}.mobile-menu{display:none}.page-content{max-width:1440px;padding:32px 42px 18px;margin:auto}.welcome-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.eyebrow,.plan-overline,.dialog-overline{font-size:9px;letter-spacing:1.25px;font-weight:700;color:#96a1b3;margin:0 0 8px}.welcome-row h1{font-family:Manrope,sans-serif;font-size:24px;letter-spacing:-.8px;line-height:1.25;margin:0;font-weight:700}.wave{color:#f0b94e;font-size:19px;margin-left:4px}.welcome-subtitle{font-size:12px;color:#8490a2;margin:7px 0 0}.secondary-button{height:36px;display:flex;align-items:center;gap:8px;padding:0 13px;background:#fff;border:1px solid #e6eaf1;border-radius:8px;color:#5f6c80;font-size:10px;font-weight:600;box-shadow:0 2px 5px #253a5c08}.secondary-button svg{width:14px;height:14px;fill:none;stroke:#77859a;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.hero-card{min-height:294px;overflow:hidden;border-radius:16px;position:relative;background:linear-gradient(112deg,#182941 0%,#192b49 56%,#1a3159 100%);color:#fff;box-shadow:0 16px 36px #1b315523;display:flex}.hero-card:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 88% 50%,#436de33b 0,transparent 42%),linear-gradient(110deg,transparent 56%,#304f8b26 100%);pointer-events:none}.hero-grid-glow{position:absolute;inset:0;background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:31px 31px;mask-image:linear-gradient(90deg,transparent 48%,#000 100%)}.hero-content{position:relative;z-index:2;padding:26px 30px 23px;width:63%;display:flex;flex-direction:column;align-items:flex-start}.hero-status{display:flex;align-items:center;gap:8px;color:#adc0d5;font-size:9px;font-weight:700;letter-spacing:1px}.status-dot{width:7px;height:7px;border-radius:50%;background:#36d09c;box-shadow:0 0 0 4px #36d09c1c}.hero-live{font-size:8px;color:#8ba0bd;border:1px solid #ffffff20;border-radius:4px;padding:3px 5px;letter-spacing:.5px;display:flex;gap:4px;align-items:center}.hero-live i{width:4px;height:4px;background:#51d8ad;border-radius:50%}.hero-card h2{font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-.6px;margin:14px 0 6px}.hero-description{color:#a5b4c9;font-size:11px;margin:0;line-height:1.6}.connected-location{font:inherit;text-align:left;color:inherit;cursor:default}.connected-location:disabled{opacity:1}.connected-location:not(:disabled){cursor:pointer;transition:border-color .18s,background .18s}.connected-location:not(:disabled):hover{border-color:#a96bff80;background:#ffffff12}.location-chevron{margin-left:auto;color:#c8a4ff;font-size:22px;line-height:1}.location-chevron[hidden]{display:none}
.inline-location-list{width:282px;max-width:100%;margin-top:8px;padding:10px;border:1px solid #ffffff18;border-radius:12px;background:linear-gradient(145deg,#21162f,#171120);box-shadow:0 12px 28px #0003;animation:location-list-in .18s ease-out}
.inline-location-list[hidden]{display:none}
.inline-location-heading{padding:2px 5px 9px;color:#a995c5;font-size:9px;font-weight:700;letter-spacing:1.1px}
.inline-location-option{display:grid;grid-template-columns:30px minmax(0,1fr) auto 16px;align-items:center;gap:9px;padding:11px 9px;border:1px solid #a85cff52;border-radius:9px;background:#a34bff12}
.inline-location-flag{font-size:22px}
.inline-location-info{display:grid;gap:4px;min-width:0}
.inline-location-info strong{color:#f7efff;font-size:12px;font-weight:650}
.inline-location-info small{color:#b5a2cc;font-size:10px;line-height:1.4}
.inline-location-ping{font-size:11px;font-weight:700;color:#5de2b2;white-space:nowrap}
.inline-location-check{color:#c995ff;font-size:14px;font-weight:800}
@keyframes location-list-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:560px){.inline-location-list{width:260px}.inline-location-option{grid-template-columns:27px minmax(0,1fr) auto 14px;gap:7px;padding:10px 7px}}
.connected-location{display:flex;align-items:center;gap:10px;margin-top:19px;background:#ffffff0d;border:1px solid #ffffff12;border-radius:9px;padding:8px 11px;width:282px;max-width:100%}.flag{font-size:22px;line-height:1}.connected-location>span:nth-child(2){display:grid;gap:4px;min-width:0}.connected-location strong{font-size:10px;font-weight:600}.connected-location small{font-size:9px;color:#97a8c0}.connected-location small b{color:#5e7393;padding:0 2px}.change-server{margin-left:auto;color:#b5c4d9;background:transparent;border:0;font-size:17px;padding:2px 3px}.hero-footer{margin-top:auto;display:flex;align-items:center;width:100%;gap:16px}.connect-button{height:37px;border:0;border-radius:8px;background:#436cf5;color:#fff;padding:0 15px 0 11px;display:flex;align-items:center;gap:8px;font-size:10px;font-weight:700;box-shadow:0 6px 15px #426bf540;transition:.2s}.connect-button:hover{background:#547cff;transform:translateY(-1px)}.connect-button.disconnected{background:#293952;box-shadow:none;color:#d5deeb}.power-icon{width:22px;height:22px;border-radius:6px;background:#ffffff1c;display:grid;place-items:center}.power-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ip-info{display:grid;gap:4px}.ip-info>span{font-size:7px;letter-spacing:1px;color:#8fa2bd}.ip-info strong{font-size:10px;letter-spacing:.25px}.ip-info button{border:0;background:none;color:#9db1ce;padding:0 0 0 4px;vertical-align:middle}.ip-info button svg{height:12px;width:12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.encryption{font-size:9px;color:#a8bad0;margin-left:auto;display:flex;align-items:center;gap:5px}.lock-icon{color:#6ed4ad;font-size:11px}.hero-visual{position:absolute;right:5%;top:0;bottom:0;width:36%;display:grid;place-items:center}.globe{width:130px;height:130px;border-radius:50%;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 36% 33%,#466bb57a,#273c6448 55%,#1e315600 73%);box-shadow:inset 0 0 25px #8bb5ff25,0 0 55px #4072ff20}.globe svg{width:112px;height:112px;fill:none;stroke:#8eb3f9;stroke-width:.8;opacity:.62}.globe svg .globe-latitude{stroke:#9cc3ff;opacity:.5}.globe-pin{position:absolute;left:57%;top:27%;color:#c8ffeb;font-size:18px;text-shadow:0 0 12px #4ff0bd}.orbit{position:absolute;border:1px solid #84a9eb20;border-radius:50%;width:196px;height:196px;transform:rotate(-26deg)}.orbit-two{width:248px;height:145px;transform:rotate(38deg);border-color:#9ab8ed18}.orbit-three{width:280px;height:112px;transform:rotate(-51deg);border-color:#9ab8ed12}.visual-caption{position:absolute;bottom:24px;text-align:center;color:#8298bc;font-size:7px;letter-spacing:1.1px;line-height:1.7}.visual-caption b{color:#b1c5e2;font-weight:600}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:17px}.stat-card,.panel{background:#fff;border:1px solid #edf0f5;border-radius:12px;box-shadow:var(--shadow)}.stat-card{padding:15px 17px;min-height:119px;position:relative;overflow:hidden}.stat-top{display:flex;align-items:center;justify-content:space-between}.stat-label{font-size:8px;letter-spacing:.9px;color:#929daf;font-weight:700}.stat-icon{width:25px;height:25px;border-radius:7px;display:grid;place-items:center}.stat-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.stat-icon.down{background:#eef3ff;color:#5578e8}.stat-icon.up{background:#f1efff;color:#8777e9}.stat-icon.ping{background:#eaf8f3;color:#2eae87}.stat-value{display:flex;align-items:baseline;gap:6px;margin-top:6px}.stat-value strong{font-family:Manrope,sans-serif;font-size:23px;letter-spacing:-.8px}.stat-value span{font-size:9px;color:#8792a4}.stat-foot{display:flex;align-items:center;gap:7px;color:#9aa4b2;font-size:8px;margin-top:4px}.trend{font-size:8px;font-weight:700}.trend.positive{color:#28ad83}.sparkline{position:absolute;bottom:12px;right:15px;width:82px;height:27px;opacity:.82}.sparkline svg{width:100%;height:100%;overflow:visible}.sparkline path{fill:none;stroke-width:2;stroke-linecap:round}.spark-blue path{stroke:#6481f5}.spark-violet path{stroke:#9a8cf5}.spark-green path{stroke:#4dbb99}.content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.9fr);gap:16px;margin-top:17px}.panel{padding:18px 19px}.traffic-panel{min-height:262px}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start}.panel-heading h3,.plan-head h3{font-family:Manrope,sans-serif;font-size:14px;letter-spacing:-.25px;margin:0;color:#26334a}.panel-heading p{font-size:9px;color:#98a2b2;margin:5px 0 0}.period-select{border:1px solid #e7ebf1;border-radius:7px;background:#fff;color:#657186;font-size:9px;padding:7px 9px;min-width:93px;text-align:left}.period-select span{float:right;color:#93a0b4;margin-left:10px}.traffic-summary{display:flex;align-items:center;gap:24px;margin:17px 0 11px}.traffic-summary>div{display:grid;grid-template-columns:8px auto;grid-template-rows:auto auto;column-gap:7px;align-items:center}.traffic-summary strong{font-family:Manrope,sans-serif;font-size:14px;line-height:1.2}.traffic-summary strong small{font-size:9px;font-weight:500;color:#8894a6}.legend-dot{width:7px;height:7px;border-radius:50%;grid-row:1 / span 2;align-self:start;margin-top:4px}.legend-dot.blue{background:#5577f4}.legend-dot.violet{background:#9a87ef}.legend-name{font-size:8px;color:#929daf;margin-top:2px}.traffic-total{font-size:8px;color:#97a1b2;margin-left:auto}.traffic-total b{font-size:9px;color:#69778c;margin-left:4px}.chart-wrap{height:125px;display:grid;grid-template-columns:33px 1fr}.chart-y-axis{display:flex;flex-direction:column;justify-content:space-between;color:#a9b1bf;font-size:8px;padding:4px 0 14px}.chart-area{position:relative;min-width:0}.chart-gridlines{position:absolute;inset:3px 0 17px;display:flex;flex-direction:column;justify-content:space-between}.chart-gridlines i{height:1px;border-top:1px dashed #edf0f5}.traffic-chart{position:absolute;inset:0 0 17px;display:flex;align-items:flex-end;justify-content:space-around;padding:0 4px;gap:8px}.chart-day{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:3px;position:relative}.chart-bar{width:min(14px,40%);min-width:5px;border-radius:4px 4px 1px 1px;transition:height .35s cubic-bezier(.2,.75,.3,1)}.chart-bar.download{background:linear-gradient(180deg,#8398fb,#5877ef)}.chart-bar.upload{background:linear-gradient(180deg,#c0b6fc,#9b89f2)}.chart-x-axis{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-around;color:#a5afbf;font-size:8px}.plan-panel{min-height:262px;background:linear-gradient(147deg,#fff 25%,#fafaff 100%);position:relative;overflow:hidden}.plan-panel:after{content:"";position:absolute;right:-45px;top:-64px;width:150px;height:150px;border:1px solid #a89df119;border-radius:50%;box-shadow:0 0 0 18px #a89df10b,0 0 0 36px #a89df108;pointer-events:none}.plan-head{display:flex;justify-content:space-between;align-items:flex-start;position:relative;z-index:1}.plan-overline{display:block;margin:0 0 6px;font-size:8px}.plan-head h3{font-size:15px}.premium-icon{width:27px;height:27px;border-radius:8px;background:#f1efff;color:#8776ed;display:grid;place-items:center;font-size:14px}.plan-progress-label{display:flex;justify-content:space-between;margin-top:19px;font-size:9px;color:#67758a}.plan-progress-label b{font-weight:600;color:#46546b}.progress-track{height:5px;background:#edf0f6;border-radius:6px;margin-top:8px;overflow:hidden}.progress-track span{display:block;height:100%;width:72%;border-radius:6px;background:linear-gradient(90deg,#8794fb,#617cf6)}.plan-meta{display:flex;justify-content:space-between;font-size:8px;color:#9aa4b3;margin-top:7px}.plan-meta span:last-child{display:flex;align-items:center;gap:6px}.plan-meta span:last-child b{font-size:0;width:23px;height:13px;background:#50cca3;border-radius:8px;position:relative}.toggle-on i{position:absolute;right:2px;top:2px;width:9px;height:9px;border-radius:50%;background:#fff}.plan-divider{height:1px;background:#edf0f4;margin:14px 0 12px}.plan-benefits{display:flex;gap:14px;font-size:8px;color:#758297}.plan-benefits span{display:flex;align-items:center;gap:4px}.plan-benefits i{font-style:normal;color:#32b88d;font-weight:700}.upgrade-button{height:31px;width:100%;margin-top:13px;border:1px solid #e4e7f1;border-radius:7px;background:#fff;color:#66738a;font-size:9px;font-weight:600;text-align:left;padding:0 10px;position:relative;z-index:1}.upgrade-button span{float:right;color:#7786df;font-size:14px;line-height:1}.devices-panel{margin-top:17px;padding:17px 19px 8px}.devices-heading{align-items:center}.text-button{border:0;background:none;color:#6d7b91;font-size:9px;font-weight:600;padding:6px}.text-button span{font-size:13px;color:#7c8adf;margin-left:5px}.device-list{margin-top:9px}.device-item{display:grid;grid-template-columns:34px minmax(140px,1fr) 1fr 1fr 20px;gap:10px;align-items:center;min-height:51px;border-top:1px solid #f0f2f6}.device-icon{width:29px;height:29px;border-radius:8px;display:grid;place-items:center}.device-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.desktop-icon{background:#eef2ff;color:#6b7ee5}.phone-icon{background:#f1efff;color:#8a78e5}.tablet-icon{background:#eaf7f2;color:#46aa89}.device-copy{display:grid;gap:4px}.device-copy strong{font-size:9px;color:#4a586e;font-weight:600}.device-copy small{font-size:8px;color:#9ba5b3}.online-dot{display:inline-block;vertical-align:1px;margin-left:3px;width:5px;height:5px;border-radius:50%;background:#37c697}.online-dot.muted{background:#c2c9d3}.device-location,.device-last{font-size:8px;color:#8894a6}.device-menu{font-size:12px;color:#a7b0bd;letter-spacing:1px;text-align:center}.page-footer{display:flex;justify-content:space-between;align-items:center;padding:16px 0 2px;color:#a1aab8;font-size:8px}.page-footer a{color:#8793a5}.footer-lock{font-size:7px;color:#50bd9c;margin-right:5px}.modal-backdrop{position:fixed;inset:0;background:#101a2ab8;backdrop-filter:blur(5px);z-index:20;display:grid;place-items:center;padding:20px;opacity:0;visibility:hidden;transition:.2s}.modal-backdrop.open{opacity:1;visibility:visible}.server-dialog{width:min(492px,100%);background:#fff;border-radius:15px;padding:22px;box-shadow:0 26px 80px #101a2a55;transform:translateY(8px);transition:.2s}.modal-backdrop.open .server-dialog{transform:translateY(0)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start}.dialog-overline{font-size:8px;display:block;margin-bottom:6px}.dialog-heading h2{font-family:Manrope,sans-serif;font-size:19px;margin:0;letter-spacing:-.5px}.close-modal{width:30px;height:30px;border:0;border-radius:8px;background:#f4f6fa;color:#78849a;font-size:21px;line-height:1}.server-search{height:39px;border:1px solid #e8ecf2;border-radius:8px;margin-top:18px;display:flex;align-items:center;gap:8px;padding:0 11px;color:#a5afbd}.server-search svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.server-search input{border:0;outline:0;width:100%;font-size:10px;color:#354259}.server-search input::placeholder{color:#a6afbc}.server-section-title{display:flex;justify-content:space-between;margin:18px 2px 7px;font-size:8px;letter-spacing:1px;font-weight:700;color:#8692a4}.server-section-title span{font-size:7px;color:#adb5c0;letter-spacing:.6px}.server-list{display:grid;gap:4px;max-height:287px;overflow:auto}.server-option{width:100%;min-height:51px;display:grid;grid-template-columns:32px minmax(100px,1fr) 39px 53px 27px 15px;gap:8px;align-items:center;text-align:left;padding:6px 8px;border:1px solid transparent;background:#fff;border-radius:8px;color:#536178;transition:.15s}.server-option:hover{background:#f8f9fc}.server-option.selected{background:#f4f6ff;border-color:#e1e7ff}.server-flag{font-size:19px}.server-name{display:grid;gap:4px}.server-name strong{font-size:10px;font-weight:600;color:#39465c}.server-name small{font-size:8px;color:#98a3b1}.server-ping{font-size:8px;color:#8995a8}.load-meter{height:4px;background:#edf0f5;border-radius:5px;overflow:hidden}.load-meter i{height:100%;display:block;background:#48c49b;border-radius:5px}.server-load{font-size:8px;color:#8995a8}.server-check{font-size:11px;color:#4f6ff0;visibility:hidden}.server-option.selected .server-check{visibility:visible}.dialog-footnote{margin-top:13px;border-top:1px solid #eef1f5;padding-top:12px;display:flex;align-items:center;gap:7px;font-size:8px;color:#98a3b3}.latency-dot{width:6px;height:6px;border-radius:50%;background:#49c99f}.toast{position:fixed;right:24px;bottom:24px;z-index:30;display:flex;align-items:center;gap:9px;padding:12px 15px;background:#18263c;color:white;font-size:11px;border-radius:9px;box-shadow:0 12px 30px #1a2a4030;opacity:0;transform:translateY(12px);pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translateY(0)}.toast-check{width:17px;height:17px;border-radius:50%;background:#35bd91;display:grid;place-items:center;font-size:10px;color:white}
@media(min-width:1500px){.page-content{padding-top:38px}.hero-card{min-height:315px}.hero-content{padding-top:31px;padding-bottom:25px}.stats-grid{gap:19px}.stat-card{min-height:127px;padding:17px 20px}.content-grid{gap:19px}.panel{padding:20px 22px}.traffic-panel,.plan-panel{min-height:275px}.devices-panel{padding:19px 22px 9px}}
@media(max-width:1100px){.sidebar{width:220px}.main-area{width:calc(100% - 220px);margin-left:220px}.topbar{padding:0 27px}.page-content{padding-left:27px;padding-right:27px}.hero-content{width:70%}.hero-visual{right:0;width:32%}.content-grid{grid-template-columns:minmax(0,1.3fr) minmax(260px,.9fr)}.plan-benefits{gap:8px}.device-item{grid-template-columns:34px minmax(130px,1fr) .9fr .9fr 18px}}
@media(max-width:800px){.sidebar{width:252px;transform:translateX(-100%);transition:transform .25s;box-shadow:15px 0 40px #111b2d25}.sidebar.open{transform:translateX(0)}.main-area{width:100%;margin-left:0}.topbar{height:60px;padding:0 20px}.mobile-menu{display:grid;place-items:center;padding:5px;margin-left:-7px;color:#56637a}.mobile-menu svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.breadcrumb{margin-right:auto;margin-left:8px}.secure-chip{display:none}.page-content{padding:25px 20px 16px}.hero-card{min-height:287px}.hero-content{width:73%;padding:24px}.hero-visual{width:34%;right:-3%}.globe{width:110px;height:110px}.globe svg{width:95px;height:95px}.orbit-one{width:160px;height:160px}.orbit-two{width:190px;height:125px}.orbit-three{width:210px;height:100px}.content-grid{grid-template-columns:1fr}.plan-panel{min-height:245px}.plan-benefits{gap:18px}.upgrade-button{margin-top:14px}.device-item{grid-template-columns:34px minmax(130px,1fr) .8fr .7fr 18px}.page-footer{gap:10px}.page-footer>span:nth-child(2){text-align:center}}
@media(max-width:560px){.topbar{padding:0 14px}.breadcrumb{font-size:10px;gap:7px}.topbar-actions{gap:8px}.notification-button{width:29px}.page-content{padding:22px 13px 14px}.welcome-row{align-items:flex-start;gap:12px}.welcome-row h1{font-size:20px;max-width:320px}.welcome-subtitle{font-size:10px}.eyebrow{font-size:8px}.secondary-button{width:34px;min-width:34px;padding:0;justify-content:center;font-size:0;gap:0}.secondary-button svg{width:16px;height:16px}.hero-card{min-height:330px}.hero-content{width:100%;padding:21px 18px;z-index:2}.hero-visual{width:48%;right:-8%;top:10px;bottom:auto;height:160px;opacity:.54;z-index:0}.globe{width:100px;height:100px}.globe svg{width:85px;height:85px}.orbit-one{width:145px;height:145px}.orbit-two{width:175px;height:110px}.orbit-three{width:185px;height:95px}.visual-caption{display:none}.hero-status{font-size:8px}.hero-card h2{font-size:22px;margin-top:17px}.hero-description{max-width:265px;font-size:10px}.connected-location{margin-top:18px;width:260px}.hero-footer{gap:12px;flex-wrap:wrap}.connect-button{height:35px}.ip-info{margin-left:2px}.encryption{margin-left:auto}.stats-grid{grid-template-columns:1fr;gap:9px;margin-top:11px}.stat-card{min-height:104px;padding:13px 15px}.stat-value{margin-top:3px}.stat-value strong{font-size:21px}.sparkline{right:18px;bottom:16px;width:100px}.content-grid{gap:10px;margin-top:11px}.traffic-panel,.plan-panel{min-height:250px;padding:16px}.traffic-summary{gap:16px}.traffic-total{font-size:7px}.chart-wrap{height:115px}.devices-panel{margin-top:11px;padding:15px 13px 6px}.devices-heading{gap:5px}.panel-heading h3{font-size:13px}.panel-heading p{font-size:8px}.text-button{font-size:0}.text-button span{font-size:17px}.device-item{grid-template-columns:31px minmax(90px,1fr) 18px;gap:7px;min-height:54px}.device-location,.device-last{display:none}.device-menu{grid-column:3;grid-row:1}.page-footer{flex-wrap:wrap;justify-content:center;font-size:7px;padding-top:13px}.page-footer>span:nth-child(2){order:3;flex-basis:100%}.server-dialog{padding:18px 14px}.server-option{grid-template-columns:27px minmax(90px,1fr) 35px 42px 23px 12px;gap:5px;padding:6px 4px}.server-name strong{font-size:9px}.server-name small{font-size:7px}.server-section-title{font-size:7px}.server-section-title span{font-size:6px}.server-flag{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* SecureLine brand theme — dark navy/black, glossy violet accents */
:root{color-scheme:dark;--ink:#f3f0ff;--muted:#a09bb9;--line:#2b2540;--blue:#9b6cff;--navy:#0b0a15;--surface:#151222;--bg:#090914;--green:#5de2b2;--violet:#b56cff;--shadow:0 14px 34px rgba(0,0,0,.24)}
body{background:radial-gradient(ellipse at 72% -15%,#38205a45 0,transparent 38%),var(--bg);color:var(--ink)}
.sidebar{background:linear-gradient(180deg,#100d1d 0%,#0b0a14 100%);border-right:1px solid #30213f;color:#b9b0d0}
.brand{color:#fff;gap:8px}.brand-mark{background:linear-gradient(135deg,#e0a5ff 0%,#a65cff 40%,#6526d9 100%);box-shadow:0 0 25px #a653ff55,inset 0 1px 0 #ffffff7a;border:1px solid #e4c1ff55}.brand-mark svg{stroke:#fff;stroke-width:2.1}.brand-name{font-size:16px;letter-spacing:-.35px}.brand-tag{color:#c1a0ff;font-size:7px;letter-spacing:1px;margin-left:0}
.sidebar-label{color:#75658f}.nav-item{color:#aaa2c2}.nav-item:hover{background:#ffffff0a;color:#fff}.nav-item.active{background:linear-gradient(100deg,#8b42ed35,#6f36bf16);color:#fff;box-shadow:inset 3px 0 #b36cff;border:1px solid #a55dff20}.nav-badge{background:#2b1c40;color:#d5baff}.support-card{background:linear-gradient(145deg,#211631,#171223);border-color:#39264f}.support-orb{background:linear-gradient(135deg,#9e53ed44,#6d3bb544);color:#d0a2ff}.support-card strong{color:#f6f0ff}.support-card>span{color:#a79abf}.support-link{color:#c69aff}.profile-copy small{color:#9285aa}.chevrons{color:#837096}
.main-area{background:transparent}.topbar{background:#0d0b18df;border-bottom:1px solid #29223b;backdrop-filter:blur(18px)}.breadcrumb{color:#9289a9}.breadcrumb b{color:#514361}.breadcrumb strong{color:#e8ddff}.secure-chip{color:#c2b8d7}.secure-chip i{background:#5de2b2;box-shadow:0 0 0 3px #5de2b21e}.icon-button{color:#b9a9d3}.notification-button i{border-color:#0d0b18}.top-avatar{background:linear-gradient(145deg,#d9a4ff,#7634cb);color:white}.mobile-menu{color:#c1addb}
.eyebrow,.plan-overline,.dialog-overline{color:#a18bbf}.welcome-row h1{color:#f7f2ff}.wave{color:#bd7cff;text-shadow:0 0 18px #a45cff99}.welcome-subtitle{color:#a39ab9}.secondary-button{background:#171322;border-color:#352745;color:#d2c6e7;box-shadow:0 4px 18px #0002}.secondary-button svg{stroke:#b99be8}
.hero-card{background:radial-gradient(ellipse at 83% 48%,#8d42d950 0,transparent 38%),linear-gradient(112deg,#171024 0%,#211333 49%,#171126 100%);border:1px solid #6f3c9b66;box-shadow:0 18px 46px #0005,0 0 32px #883de80c}.hero-card:before{background:radial-gradient(ellipse at 88% 50%,#bd70ff30 0,transparent 44%),linear-gradient(110deg,transparent 52%,#a34fff16 100%)}.hero-grid-glow{background-image:linear-gradient(#e8c9ff08 1px,transparent 1px),linear-gradient(90deg,#e8c9ff08 1px,transparent 1px)}.hero-status{color:#c9b8df}.hero-live{color:#d2b9f1;border-color:#d7b3ff30}.hero-live i{background:#5de2b2}.hero-card h2{color:#fff;text-shadow:0 0 22px #b65cff28}.hero-description{color:#c0b1d5}.connected-location{background:#ffffff09;border-color:#ffffff16}.connected-location small{color:#b4a2ce}.connected-location small b{color:#8b6cae}.change-server{color:#d7c1f1}.connect-button{background:linear-gradient(110deg,#a94eff,#7434dc 62%,#6230c8);box-shadow:0 8px 22px #9b42ed40,inset 0 1px 0 #ffffff45}.connect-button:hover{background:linear-gradient(110deg,#bc6aff,#8746ed 62%,#7540dc)}.connect-button.disconnected{background:#292039;color:#c7b8db}.ip-info>span{color:#a994c6}.ip-info button{color:#c4a4ec}.encryption{color:#c5b4dc}.lock-icon{color:#65e3b5}.globe{background:radial-gradient(circle at 36% 33%,#b56cff50,#6a3aa72c 55%,#1e315900 73%);box-shadow:inset 0 0 30px #d2a3ff24,0 0 65px #a14aff28}.globe svg{stroke:#d1a9ff;opacity:.75}.globe svg .globe-latitude{stroke:#e1c4ff}.globe-pin{color:#f1dcff;text-shadow:0 0 15px #b967ff}.orbit{border-color:#c18cff2a}.orbit-two{border-color:#d4a9ff21}.orbit-three{border-color:#d4a9ff18}.visual-caption{color:#a38aba}.visual-caption b{color:#e0c8ff}
.stat-card,.panel{background:linear-gradient(145deg,#171422,#12101d);border:1px solid #2b243b;box-shadow:var(--shadow)}.stat-label{color:#a79bbd}.stat-value strong{color:#f4efff}.stat-value span,.stat-foot>span:last-child{color:#9288a8}.stat-icon.down{background:#2c1d45;color:#c19aff}.stat-icon.up{background:#2c1d45;color:#c19aff}.stat-icon.ping{background:#18352f;color:#69e0b6}.trend.positive{color:#6be2b8}.spark-blue svg{stroke:#a66aff}.spark-violet svg{stroke:#c16cff}.spark-green svg{stroke:#5de2b2}.sparkline:before{background:linear-gradient(90deg,transparent,#171422)}
.panel-heading h3{color:#f1eaff}.panel-heading p{color:#9e94b4}.period-select{background:#1d172b;border-color:#3a2b4d;color:#d5c3ee}.traffic-summary strong{color:#f2eaff}.traffic-summary strong small,.legend-name,.traffic-total{color:#a79ab9}.legend-dot.blue{background:#a66aff}.legend-dot.violet{background:#d18aff}.chart-gridlines i{border-color:#30263f}.chart-y-axis,.chart-x-axis{color:#867b9b}.chart-bar.download{background:linear-gradient(180deg,#c38aff,#8240dc)}.chart-bar.upload{background:linear-gradient(180deg,#f0a0ff,#a24ce2)}
.plan-head h3{color:#f4edff}.premium-icon{background:linear-gradient(135deg,#a954ff,#6328c5);color:#fff;box-shadow:0 5px 16px #a04bff44}.plan-progress-label{color:#cfc1e4}.plan-progress-label b{color:#c29aff}.progress-track{background:#342642}.progress-track span{background:linear-gradient(90deg,#8d42e7,#d18aff);box-shadow:0 0 12px #b263ff55}.plan-meta{color:#9789ae}.plan-meta b{background:#3b2450}.plan-benefits{color:#b8aacd}.plan-benefits i{color:#67e3b6}.plan-divider{background:#30243e}.upgrade-button{background:#21172f;border-color:#48305e;color:#e0d0f3}.upgrade-button span,.text-button span{color:#c18aff}
.devices-panel .device-item{border-color:#2b2438}.device-copy strong{color:#e6ddf4}.device-copy small,.device-location,.device-last{color:#9d92b2}.desktop-icon{background:#29203d;color:#c2a0ff}.phone-icon{background:#2b1b3c;color:#d49bff}.tablet-icon{background:#18352e;color:#6fe2b8}.online-dot{background:#5de2b2}.online-dot.muted{background:#6e627d}.text-button{color:#c5b4dc}
.page-footer{color:#827795}.page-footer a{color:#b49bcf}.footer-lock{color:#65dfb4}.modal-backdrop{background:#05040bd9}.server-dialog{background:linear-gradient(145deg,#1a1525,#110f1b);border:1px solid #49315e;box-shadow:0 26px 90px #0009}.dialog-heading h2{color:#f5edff}.close-modal{background:#2a2037;color:#d2b7f3}.server-search{background:#100d18;border-color:#392a4b;color:#b49bcf}.server-search input{background:transparent;color:#f2eaff}.server-search input::placeholder{color:#817394}.server-section-title{color:#b7a3d0}.server-section-title span{color:#86749d}.server-option{background:transparent;color:#c6b7da}.server-option:hover{background:#ffffff08}.server-option.selected{background:#9e54e51b;border-color:#9e54e55c}.server-name strong{color:#f1e8ff}.server-name small,.server-ping,.server-load{color:#a396b7}.load-meter{background:#30263d}.load-meter i{background:linear-gradient(90deg,#9a5ce8,#5de2b2)}.server-check{color:#d0a0ff}.dialog-footnote{border-color:#30243e;color:#9c8db1}.latency-dot{background:#5de2b2}.toast{background:#20162e;border:1px solid #563477;color:#f5ecff;box-shadow:0 12px 34px #0007}.toast-check{background:linear-gradient(135deg,#b26aff,#7834d2)}
@media(max-width:800px){.sidebar{box-shadow:15px 0 45px #0008}.mobile-menu{color:#d0b6f2}}


/* Данные подключения и копирование IP */
.ip-copy-row{display:flex;align-items:center;gap:7px}
.ip-copy-row button{width:24px;height:24px;border:1px solid #b68aff55;border-radius:7px;background:#ffffff0b;color:#e4caff;font-size:15px;cursor:pointer}
.ip-copy-notice{min-height:12px;font-size:9px;color:#6fe2b8}
.connection-data-panel{position:relative;z-index:2;width:100%;margin-top:13px}
.connection-data-button{min-height:36px;padding:0 14px;border:1px solid #b36cff66;border-radius:9px;background:linear-gradient(110deg,#a94eff,#7434dc);color:#fff;font-weight:700;font-size:11px;box-shadow:0 7px 20px #9b42ed25}
.connection-data-button:disabled{opacity:.45;cursor:not-allowed}
.connection-data-details{margin-top:10px;padding:13px;border:1px solid #70449a88;border-radius:12px;background:#100b1bd9}
.connection-data-details[hidden],.connection-key-view[hidden],.connection-qr-view[hidden]{display:none}
.connection-data-actions{display:flex;flex-wrap:wrap;gap:7px}
.connection-action{padding:8px 10px;border:1px solid #49345e;border-radius:7px;background:#21172f;color:#d9c6ef;font-size:10px}
.connection-action.active{background:#6e32b5;border-color:#b36cff;color:#fff}
.connection-action.hide-action{margin-left:auto}
.connection-key-view{margin-top:11px}
.connection-key-view textarea{display:block;width:100%;min-height:90px;resize:vertical;padding:10px;border:1px solid #483157;border-radius:8px;background:#090711;color:#e9dfff;font-size:10px;overflow-wrap:anywhere}
.connection-key-view .connection-action{margin-top:8px}
.connection-qr-view{margin-top:13px;text-align:center}
#connectionQrCode{display:inline-flex;align-items:center;justify-content:center;min-width:220px;min-height:220px;padding:10px;background:#fff;border-radius:10px}
#connectionQrCode img,#connectionQrCode canvas{max-width:100%;height:auto}
.connection-qr-view p{font-size:10px;color:#b6a5cb}
.connection-data-notice{min-height:12px;margin:8px 0 0;font-size:10px;color:#6fe2b8}
.connection-data-notice.error{color:#ff929e}
@media(max-width:560px){.connection-data-panel{margin-top:8px}.connection-data-actions{gap:5px}.connection-action{padding:8px}.connection-action.hide-action{margin-left:0}}


/* SecureLine: модальное окно данных подключения */
.ip-copy-row #copyNodeIp {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  padding: 2px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  border-radius: 7px !important;
}
.connection-modal-overlay[hidden],
.connection-modal [hidden] { display: none !important; }
.connection-modal-overlay {
  position: fixed; inset: 0; z-index: 10050; padding: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3, 5, 18, .78); backdrop-filter: blur(10px);
}
.connection-modal {
  width: min(820px, 100%); max-height: min(720px, 92vh); overflow: auto;
  color: #f4f3ff; background: #101426; border: 1px solid #393454;
  border-radius: 20px; box-shadow: 0 24px 90px #0009;
}
.connection-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 26px; border-bottom: 1px solid #302c48;
}
.connection-modal-eyebrow { color: #a89bff; font-size: 10px; letter-spacing: .18em; }
.connection-modal-header h2 { margin: 5px 0 0; font-size: 22px; }
.connection-modal-close {
  width: 36px; height: 36px; border: 1px solid #403b5d; border-radius: 10px;
  color: #fff; background: #1b1d32; font-size: 25px; cursor: pointer;
}
.connection-modal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 350px; }
.connection-modal-sidebar {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 14px;
  background: #0c1020; border-right: 1px solid #302c48;
}
.connection-modal-sidebar button {
  text-align: left; padding: 13px 14px; border: 1px solid transparent;
  border-radius: 10px; color: #c4c1d8; background: transparent; cursor: pointer;
}
.connection-modal-sidebar button.active {
  color: #fff; background: #272341; border-color: #6554a2;
}
.connection-modal-content { min-width: 0; padding: 24px; }
.connection-modal-content h3 { margin: 0 0 10px; font-size: 19px; }
.connection-modal-content p { color: #b9b6ce; line-height: 1.55; }
.connection-modal-content textarea {
  display: block; width: 100%; min-height: 88px; resize: vertical;
  box-sizing: border-box; padding: 10px 12px;
  color: #d9b8ff; background: #100b1c;
  border: 1px solid #7044a0; border-radius: 9px;
  font: inherit; font-size: 13px; line-height: 1.55;
  overflow-wrap: anywhere;
  box-shadow: inset 0 0 12px #8b5cf615, 0 0 10px #8b5cf610;
  text-shadow: 0 0 8px #b77aff30;
}
.connection-modal-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 9px; padding: 7px 11px;
  border: 1px solid #8b65c8; border-radius: 8px;
  color: #fff; background: #6242a0;
  font-size: 12px; line-height: 1.2; cursor: pointer;
}
.connection-modal-qr {
  display: flex; justify-content: center; align-items: center;
  width: fit-content; max-width: 100%; min-height: 220px; margin: 18px auto;
  padding: 12px; background: #fff; border-radius: 12px;
}
.connection-device-list { display: grid; gap: 9px; margin-top: 18px; }
.connection-device-list a {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 13px 15px; color: #f4f3ff; text-decoration: none;
  background: #191c30; border: 1px solid #34314e; border-radius: 10px;
}
.connection-device-list a:hover { border-color: #8b75ed; background: #24213d; }
.connection-modal-notice { min-height: 20px; margin-bottom: 0; font-size: 13px; }
.connection-modal-notice.error { color: #ff9eaa; }
@media (max-width: 600px) {
  .connection-modal-overlay { padding: 8px; }
  .connection-modal { max-height: 95vh; border-radius: 15px; }
  .connection-modal-header { padding: 17px; }
  .connection-modal-header h2 { font-size: 18px; }
  .connection-modal-layout { grid-template-columns: 1fr; }
  .connection-modal-sidebar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px; gap: 5px; border-right: 0; border-bottom: 1px solid #302c48;
  }
  .connection-modal-sidebar button { padding: 10px 6px; text-align: center; font-size: 12px; }
  .connection-modal-content { padding: 17px; }
}

/* Компактная строка выбора локации */
.inline-location-list{padding:6px;margin-top:5px;border-radius:9px;box-shadow:0 7px 18px #0002}
.inline-location-heading{padding:2px 5px 5px;font-size:8px;letter-spacing:.8px}
.inline-location-option{grid-template-columns:22px minmax(0,1fr) auto 13px;gap:7px;padding:7px 8px;border-radius:7px}
.inline-location-flag{font-size:17px}
.inline-location-info{display:block}
.inline-location-info strong{font-size:11px;font-weight:600}
.inline-location-info small{display:none}
.inline-location-ping{font-size:10px}
.inline-location-check{font-size:12px}
@media(max-width:560px){.inline-location-list{width:260px;padding:5px}.inline-location-option{grid-template-columns:21px minmax(0,1fr) auto 12px;gap:6px;padding:7px}}

/* Скрытие копирования IP без активной подписки */
#copyNodeIp[hidden], #ipCopyNotice[hidden]{display:none!important}

/* SecureLine unified design system — responsive refinement */
:root {
  --sl-bg: #070710;
  --sl-surface: #151020;
  --sl-surface-raised: #1b1429;
  --sl-border: rgba(190, 145, 255, .16);
  --sl-text: #f7f2ff;
  --sl-muted: #b0a3c5;
  --sl-accent: #a65cff;
  --sl-accent-light: #c4a4ff;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  background:
    radial-gradient(ellipse at 72% -15%, rgba(126, 55, 190, .15), transparent 38%),
    var(--sl-bg);
  color: var(--sl-text);
}

button, input, select, textarea {
  font: inherit;
}

.main-area {
  min-width: 0;
}

.page-content {
  width: 100%;
  max-width: 1480px;
  padding: clamp(22px, 3vw, 42px);
}

.welcome-row h1 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
  letter-spacing: -.65px;
}

.welcome-subtitle {
  font-size: 13px;
  line-height: 1.6;
  color: var(--sl-muted);
}

.eyebrow, .plan-overline, .dialog-overline {
  font-size: 10px;
  letter-spacing: 1.35px;
}

.topbar {
  padding-inline: clamp(18px, 3vw, 42px);
}

.hero-card {
  border-radius: 18px;
  border-color: var(--sl-border);
}

.hero-content {
  padding: clamp(23px, 2.5vw, 34px);
}

.hero-card h2 {
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.25;
}

.hero-description {
  font-size: 13px;
  line-height: 1.7;
  max-width: 440px;
}

.hero-status {
  font-size: 10px;
}

.connected-location {
  min-height: 44px;
  margin-top: 13px;
  padding: 6px 9px;
  gap: 8px;
}

.connected-location .flag {
  font-size: 19px;
}

.connected-location strong {
  font-size: 9px;
}

.connected-location small {
  font-size: 8px;
}

.location-chevron {
  font-size: 18px;
}

.connect-button {
  min-height: 42px;
  height: auto;
  padding: 9px 15px;
  font-size: 12px;
}

.encryption, .ip-info strong {
  font-size: 11px;
}

.stat-card, .panel {
  border-radius: 14px;
  border-color: var(--sl-border);
  background: linear-gradient(145deg, #191323, #110e1b);
}

.stat-card {
  padding: 18px;
  min-height: 126px;
}

.stat-label {
  font-size: 10px;
  letter-spacing: .7px;
}

.stat-value strong {
  font-size: clamp(22px, 2vw, 28px);
}

.stat-value span, .stat-foot {
  font-size: 11px;
}

.content-grid {
  gap: 18px;
}

.panel {
  padding: clamp(16px, 1.7vw, 23px);
}

.panel-heading h3, .plan-head h3 {
  font-size: 16px;
}

.panel-heading p {
  font-size: 11px;
  line-height: 1.5;
}

.plan-overline {
  font-size: 9px;
}

.plan-benefits {
  flex-wrap: wrap;
  row-gap: 9px;
  font-size: 10px;
}

.upgrade-button {
  min-height: 40px;
  height: auto;
  padding: 10px 12px;
  font-size: 12px;
  border-radius: 9px;
}

.device-item {
  min-height: 60px;
}

.device-copy strong {
  font-size: 11px;
}

.device-copy small, .device-location, .device-last {
  font-size: 10px;
}

.page-footer {
  font-size: 10px;
  gap: 14px;
  line-height: 1.6;
}

.secondary-button {
  min-height: 38px;
  font-size: 11px;
}

.connection-data-button {
  min-height: 40px;
  font-size: 12px;
}

.connection-action {
  font-size: 11px;
}

.connection-key-view textarea {
  font-size: 12px;
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 1100px) {
  .page-content {
    padding: 26px;
  }

  .stats-grid {
    gap: 12px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    min-height: 280px;
  }
}

/* Phone */
@media (max-width: 800px) {
  .topbar {
    padding-inline: 18px;
  }

  .page-content {
    padding: 23px 18px 18px;
  }

  .hero-card {
    min-height: 300px;
  }

  .hero-content {
    padding: 23px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    min-width: 0;
  }

  .device-item {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 9px;
  }

  .device-location, .device-last {
    display: none;
  }

  .page-footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .topbar {
    height: 60px;
    padding-inline: 14px;
  }

  .page-content {
    padding: 20px 13px 16px;
  }

  .welcome-row {
    gap: 10px;
    margin-bottom: 17px;
  }

  .welcome-row h1 {
    font-size: 21px;
    letter-spacing: -.4px;
  }

  .welcome-subtitle {
    font-size: 12px;
  }

  .hero-card {
    min-height: 320px;
    border-radius: 15px;
  }

  .hero-content {
    padding: 21px 17px;
  }

  .hero-card h2 {
    font-size: 23px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-footer {
    gap: 10px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .stat-card {
    min-height: 100px;
    padding: 15px;
  }

  .content-grid {
    gap: 12px;
    margin-top: 12px;
  }

  .panel {
    padding: 16px;
    border-radius: 12px;
  }

  .panel-heading h3, .plan-head h3 {
    font-size: 15px;
  }

  .plan-benefits {
    gap: 10px 14px;
    font-size: 10px;
  }

  .upgrade-button {
    min-height: 42px;
    font-size: 12px;
  }

  .devices-panel {
    margin-top: 12px;
    padding: 15px 13px 8px;
  }

  .device-item {
    min-height: 56px;
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 8px;
  }

  .device-copy strong {
    font-size: 11px;
  }

  .device-copy small {
    font-size: 10px;
  }

  .page-footer {
    font-size: 9px;
    padding-top: 14px;
  }

  .server-dialog {
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }
}

@media (max-width: 360px) {
  .page-content {
    padding-inline: 10px;
  }

  .hero-content {
    padding-inline: 14px;
  }

  .hero-card h2 {
    font-size: 21px;
  }

  .panel {
    padding: 13px;
  }
}

/* Карточка профиля в боковой панели */
.sidebar-profile-card {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  margin: 0 0 14px;
  padding: 12px;
  text-align: left;
  color: #f4f3ff;
  background: linear-gradient(135deg, rgba(111, 78, 230, .17), rgba(25, 29, 53, .88));
  border: 1px solid rgba(151, 128, 255, .24);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.sidebar-profile-card:hover {
  border-color: rgba(166, 145, 255, .65);
  background: linear-gradient(135deg, rgba(111, 78, 230, .25), rgba(25, 29, 53, .96));
}
.sidebar-profile-card:active { transform: scale(.99); }
.sidebar-profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(145deg, #9274ff, #5540b7);
  box-shadow: 0 0 18px rgba(126, 94, 255, .25);
}
.sidebar-profile-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.sidebar-profile-email {
  overflow: hidden;
  color: #f4f3ff;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-profile-edit {
  color: #a99af5;
  font-size: 11px;
  font-weight: 500;
}
.sidebar-profile-chevron {
  flex: 0 0 auto;
  color: #a99af5;
  font-size: 23px;
  line-height: 1;
}

/* Карточка профиля в боковой панели */
.sidebar-profile-card {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  margin: 0 0 14px;
  padding: 12px;
  text-align: left;
  color: #f4f3ff;
  background: linear-gradient(135deg, rgba(111, 78, 230, .17), rgba(25, 29, 53, .88));
  border: 1px solid rgba(151, 128, 255, .24);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.sidebar-profile-card:hover {
  border-color: rgba(166, 145, 255, .65);
  background: linear-gradient(135deg, rgba(111, 78, 230, .25), rgba(25, 29, 53, .96));
}
.sidebar-profile-card:active { transform: scale(.99); }
.sidebar-profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(145deg, #9274ff, #5540b7);
  box-shadow: 0 0 18px rgba(126, 94, 255, .25);
}
.sidebar-profile-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.sidebar-profile-email {
  overflow: hidden;
  color: #f4f3ff;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-profile-edit {
  color: #a99af5;
  font-size: 11px;
  font-weight: 500;
}
.sidebar-profile-chevron {
  flex: 0 0 auto;
  color: #a99af5;
  font-size: 23px;
  line-height: 1;
}


/* Mobile: show the tariff immediately after the subscription status hero */
@media (max-width: 800px) {
  .page-content {
    display: flex;
    flex-direction: column;
  }

  .welcome-row { order: 1; }
  .hero-card { order: 2; }

  .content-grid {
    display: contents;
  }

  .plan-panel {
    order: 3;
    margin-top: 12px;
  }

  .stats-grid {
    order: 4;
    margin-top: 12px;
  }

  .traffic-panel {
    order: 5;
    margin-top: 12px;
  }

  .page-footer { order: 6; }
}

/* SecureLine speed test page */
.speedtest-page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 0 28px;
  color: var(--text-primary, #f4f0ff);
}
.speedtest-page[hidden] { display: none !important; }
.speedtest-heading { margin-bottom: 22px; }
.speedtest-heading h1 { margin: 5px 0 8px; font-size: clamp(25px, 4vw, 34px); }
.speedtest-heading p:last-child { margin: 0; color: var(--text-secondary, #aaa3bd); }
.speedtest-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 20px;
  border: 1px solid rgba(160, 120, 255, .2);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(91, 55, 150, .18), rgba(25, 22, 42, .72));
}
.speedtest-gauge {
  display: grid;
  place-items: center;
  width: min(230px, 65vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 9px;
  background: conic-gradient(#9b70ff 0deg, rgba(155,112,255,.12) 0deg);
  box-shadow: 0 0 45px rgba(135, 85, 255, .12);
}
.speedtest-gauge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #171426;
  text-align: center;
}
.speedtest-gauge-inner span { color: #b8a5e8; font-size: 10px; letter-spacing: 1.2px; }
.speedtest-gauge-inner strong { font-size: clamp(38px, 8vw, 54px); line-height: 1.1; }
.speedtest-gauge-inner small { color: #aaa3bd; font-size: 12px; }
.speedtest-gauge.running { animation: speedtest-pulse 1.2s ease-in-out infinite; }
@keyframes speedtest-pulse {
  0%, 100% { box-shadow: 0 0 25px rgba(135,85,255,.12); }
  50% { box-shadow: 0 0 55px rgba(135,85,255,.4); }
}
.speedtest-start {
  min-width: 190px;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(110deg, #8152e8, #a16bff);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}
.speedtest-start:hover { transform: translateY(-2px); }
.speedtest-start:disabled { opacity: .55; cursor: wait; transform: none; }
.speedtest-progress { min-height: 18px; margin: 0; color: #aaa3bd; font-size: 13px; text-align: center; }
.speedtest-results {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.speedtest-result, .speedtest-info {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(160, 120, 255, .14);
  border-radius: 16px;
  background: rgba(35, 29, 54, .55);
}
.speedtest-result { display: flex; flex-direction: column; gap: 7px; }
.speedtest-result span { color: #b8a5e8; font-size: 12px; }
.speedtest-result strong { font-size: clamp(21px, 3vw, 28px); overflow-wrap: anywhere; }
.speedtest-result small { color: #aaa3bd; font-size: 11px; }
.speedtest-info { margin-top: 14px; }
.speedtest-info h3 { margin: 0 0 13px; font-size: 15px; }
.speedtest-info > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid rgba(160, 120, 255, .1);
  font-size: 13px;
}
.speedtest-info > div span { color: #aaa3bd; }
.speedtest-info > div strong { text-align: right; overflow-wrap: anywhere; }
.speedtest-disclaimer { margin: 16px 2px 0; color: #938ba7; font-size: 11px; line-height: 1.6; }

@media (max-width: 800px) {
  .speedtest-page { padding-top: 4px; }
  .speedtest-panel { padding: 24px 14px; }
  .speedtest-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .speedtest-result { padding: 14px; }
  .speedtest-result:last-child { grid-column: 1 / -1; }
  .speedtest-info { padding: 15px; }
}

/* Keep hidden account pages and sections hidden despite component display rules */
.page-content > [hidden] { display: none !important; }


/* SecureLine space speedtest */
.speedtest-space {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  background: radial-gradient(ellipse at 50% 35%, #21183d 0%, #100e20 58%, #090b16 100%);
  border-color: rgba(151, 117, 255, .3);
}
.speedtest-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.speedtest-space-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.speedtest-connection {
  align-self: stretch;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 16px;
  max-width: 420px;
  margin: 0 auto;
  font-size: 12px;
}
.speedtest-connection span { color: #a99bc9; letter-spacing: .08em; }
.speedtest-connection strong { text-align: right; overflow-wrap: anywhere; color: #fff; }
.speedtest-space .speedtest-results {
  width: 100%;
  margin-top: 8px;
}
.speedtest-space .speedtest-result,
.speedtest-space .speedtest-info {
  background: rgba(12, 10, 27, .68);
  backdrop-filter: blur(8px);
  border-color: rgba(166, 135, 255, .22);
}
.speedtest-space .speedtest-info {
  width: 100%;
  box-sizing: border-box;
}
.speedtest-recommendation {
  margin: 12px 0 0;
  color: #c7bbdf;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 800px) {
  .speedtest-space { min-height: 0; padding: 22px 12px; }
  .speedtest-space .speedtest-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .speedtest-space .speedtest-result:last-child { grid-column: auto; }
  .speedtest-connection { width: 100%; }
}


/* Compact speedtest metrics and suitability summary */
.speedtest-space .speedtest-results {
  gap: 8px;
  margin-top: 4px;
}
.speedtest-space .speedtest-result {
  padding: 10px 12px;
  gap: 3px;
  border-radius: 11px;
}
.speedtest-space .speedtest-result span { font-size: 11px; }
.speedtest-space .speedtest-result strong {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.2;
}
.speedtest-space .speedtest-result small { font-size: 10px; }
.speedtest-space .speedtest-suitability {
  padding: 12px 15px;
  margin-top: 4px;
  border-radius: 12px;
}
.speedtest-space .speedtest-suitability h3 {
  margin: 0 0 5px;
  font-size: 13px;
}
.speedtest-space .speedtest-suitability .speedtest-recommendation {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 800px) {
  .speedtest-space .speedtest-result { padding: 9px 10px; }
}


/* hero-sky: падающие звёзды, мерцающие огоньки, пульс ✦ */
.hero-card{position:relative}
.hero-sky{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit;pointer-events:none}
.hero-sky::after{content:"";position:absolute;top:0;bottom:0;right:0;width:55%;background:radial-gradient(ellipse at 100% 50%,rgba(176,100,255,.20) 0,rgba(176,100,255,.07) 45%,transparent 75%);animation:hero-breath 5.5s ease-in-out infinite}
.hero-sky-field{position:absolute;left:0;top:0;bottom:0;width:64%;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 55%,transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 55%,transparent 100%)}
.hero-sky .sp{position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);border-radius:50%;background:#efe3ff;box-shadow:0 0 calc(var(--s)*3) rgba(205,170,255,.9);opacity:0;animation:hero-twinkle var(--t) ease-in-out var(--d) infinite}
.hero-sky .shoot{position:absolute;width:120px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,rgba(190,150,255,.55) 65%,#fff);opacity:0;transform:rotate(var(--r))}
.hero-sky .shoot::after{content:"";position:absolute;right:-1px;top:50%;width:5px;height:5px;margin-top:-2.5px;border-radius:50%;background:#fff;box-shadow:0 0 8px 2px rgba(220,190,255,.9),0 0 18px 5px rgba(160,90,255,.5)}
.hero-sky .shoot-a{left:8%;top:14%;--r:24deg;animation:hero-shoot 12.2s linear infinite}
.hero-sky .shoot-c{left:62%;top:12%;--r:156deg;animation:hero-shoot 15.2s linear 3s infinite}
.hero-sky .shoot-b{left:22%;top:50%;--r:18deg;animation:hero-shoot 12.2s linear 6.1s infinite}
.hero-visual .globe-pin{animation:hero-pin-glow 2.8s ease-in-out infinite}
@keyframes hero-twinkle{0%,100%{opacity:.05;transform:scale(.5)}50%{opacity:1;transform:scale(1.3)}}
@keyframes hero-shoot{0%{opacity:0;transform:rotate(var(--r)) translateX(0)}2%{opacity:1}12%{opacity:1}16%{opacity:0;transform:rotate(var(--r)) translateX(340px)}100%{opacity:0;transform:rotate(var(--r)) translateX(340px)}}
@keyframes hero-breath{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes hero-pin-glow{0%,100%{opacity:.5;text-shadow:0 0 4px rgba(210,170,255,.3),0 0 10px rgba(170,100,255,.2)}50%{opacity:1;text-shadow:0 0 8px #fff,0 0 18px #d9b3ff,0 0 34px #a34fff,0 0 54px rgba(163,79,255,.6)}}
@media(max-width:560px){.hero-sky-field{width:100%}}
@media(prefers-reduced-motion:reduce){.hero-sky .sp,.hero-sky .shoot,.hero-sky::after,.hero-visual .globe-pin{animation:none}.hero-sky .sp{opacity:.5}}

/* hero-sky-wide: на ПК звёзды по всей ширине блока */
@media(min-width:561px){.hero-sky-field{width:100%;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 88%,transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 88%,transparent 100%)}}

/* Не показывать личный кабинет до успешной авторизации */
.app-shell[hidden] {
  display: none !important;
}


/* Обновлённая структура бокового меню SecureLine */
.sidebar-group { display: grid; gap: 5px; }
.sidebar-group .sidebar-label {
  margin: 0 0 3px;
  padding: 0 12px;
  color: #665879;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}
.sidebar-divider {
  height: 1px;
  margin: 12px 9px;
  background: linear-gradient(90deg, #30233f, #211a2d 75%, transparent);
}
.sidebar-group + .sidebar-divider { flex: 0 0 auto; }
.sidebar-profile-wrap { position: relative; margin: 0 0 14px; }
.sidebar-profile-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px;
  color: #f4f3ff;
  background: linear-gradient(135deg, rgba(111,78,230,.17), rgba(25,29,53,.88));
  border: 1px solid rgba(151,128,255,.24);
  border-radius: 13px;
}
.sidebar-profile-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #c99aff;
  background: #9b55e522;
  border: 1px solid #b77aff30;
  border-radius: 10px;
}
.sidebar-profile-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar-profile-details { flex: 1; min-width: 0; }
.sidebar-profile-email {
  display: block;
  overflow: hidden;
  color: #f4f3ff;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-profile-menu-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0 0 5px;
  color: #d5c0f2;
  background: #ffffff0a;
  border: 1px solid #ffffff18;
  border-radius: 8px;
  font-size: 23px;
  line-height: 1;
}
.sidebar-profile-menu-toggle:hover { background: #ffffff16; border-color: #b77aff66; }
.sidebar-profile-menu {
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: calc(100% + 7px);
  width: 100%;
  padding: 5px;
  background: #191324;
  border: 1px solid #49315e;
  border-radius: 10px;
  box-shadow: 0 12px 30px #0008;
}
.sidebar-profile-menu[hidden] { display: none !important; }
.sidebar-profile-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 10px;
  color: #ffb4c0;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}
.sidebar-profile-logout:hover { background: #ff647d16; }
.sidebar-profile-logout svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Компактная строка профиля без вида кнопки */
.sidebar-profile-wrap {
  margin: 0 0 14px;
}

.sidebar-profile-card {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.sidebar-profile-icon {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  color: #a99abf;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.sidebar-profile-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.5;
}

.sidebar-profile-details {
  flex: 1;
  min-width: 0;
}

.sidebar-profile-email {
  color: #c7bfd2;
  font-size: 10px;
  font-weight: 500;
}

.sidebar-profile-menu-toggle {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0 0 5px;
  color: #c7bfd2;
  background: #ffffff08;
  border: 1px solid #ffffff16;
  border-radius: 6px;
  font-size: 20px;
}

.sidebar-profile-menu-toggle:hover {
  color: #fff;
  background: #ffffff12;
  border-color: #ffffff30;
}

/* Профиль: email и иконка — только отображение, кликабельны только троеточия */
.sidebar-profile-card,
.sidebar-profile-card:hover,
.sidebar-profile-card:active {
  cursor: default !important;
  pointer-events: none !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.sidebar-profile-icon {
  flex-basis: 27px;
  width: 27px;
  height: 27px;
}

.sidebar-profile-icon svg {
  width: 19px;
  height: 19px;
}

.sidebar-profile-email {
  font-size: 11.5px;
  font-weight: 500;
}

.sidebar-profile-menu-toggle {
  pointer-events: auto !important;
  cursor: pointer !important;
  flex-basis: 30px;
  width: 30px;
  height: 30px;
  font-size: 21px;
}

/* Компактная кнопка меню профиля */
.sidebar-profile-menu-toggle {
  flex-basis: 25px;
  width: 25px;
  height: 25px;
  font-size: 18px;
  padding-bottom: 4px;
  border-radius: 5px;
}


/* SecureLine language selector in account menu */
.sidebar-profile-menu-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}
.sidebar-profile-menu-row .sidebar-profile-logout {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}
.sl-account-language { flex: 0 0 auto; }
.sl-account-language .sl-language-trigger {
    min-width: 72px;
    height: 37px;
    padding: 0 8px;
    color: #eee5ff;
    background: rgba(157,91,255,.12);
    border: 1px solid rgba(183,139,255,.28);
    border-radius: 8px;
}
.sl-account-language .sl-language-trigger:hover,
.sl-account-language .sl-language-trigger[aria-expanded="true"] {
    background: rgba(157,91,255,.23);
    border-color: rgba(201,164,255,.6);
}
.sl-account-language .sl-language-menu {
    top: auto;
    right: 0;
    bottom: calc(100% + 9px);
    width: 218px;
    max-width: min(218px, calc(100vw - 32px));
    transform-origin: bottom right;
    animation: sl-language-up .2s cubic-bezier(.2,.8,.2,1);
}
@keyframes sl-language-up {
    from { opacity: 0; transform: translateY(7px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}


/* Shared language selector styles for account page */
.sl-language-switcher {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    z-index: 40;
}
.sl-language-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 66px;
    height: 38px;
    padding: 0 10px;
    color: #eee5ff;
    background: linear-gradient(145deg, rgba(157,91,255,.16), rgba(94,55,150,.12));
    border: 1px solid rgba(190,151,255,.28);
    border-radius: 11px;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}
.sl-language-trigger:hover,
.sl-language-trigger[aria-expanded="true"] {
    background: rgba(157,91,255,.24);
    border-color: rgba(201,164,255,.65);
}
.sl-language-trigger:active { transform: scale(.97); }
.sl-language-flag { font-size: 17px; line-height: 1; }
.sl-language-code { font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.sl-language-trigger svg {
    width: 12px; height: 12px; fill: none; stroke: currentColor;
    stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
    opacity: .7; transition: transform .2s;
}
.sl-language-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.sl-language-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: 218px;
    max-height: min(390px, calc(100vh - 110px));
    overflow-y: auto;
    padding: 7px;
    border: 1px solid rgba(183,139,255,.28);
    border-radius: 14px;
    background: linear-gradient(155deg, #21172f, #100d1b 85%);
    box-shadow: 0 18px 48px rgba(0,0,0,.48), 0 0 25px rgba(139,73,220,.12);
    transform-origin: top right;
    animation: sl-language-down .2s cubic-bezier(.2,.8,.2,1);
}
.sl-language-menu[hidden] { display: none !important; }
.sl-language-option {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 39px;
    padding: 7px 10px;
    color: #d9cde9;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    transition: background .16s, border-color .16s, color .16s;
}
.sl-language-option:hover { background: rgba(173,112,255,.12); color: #fff; }
.sl-language-option[aria-checked="true"] {
    color: #fff;
    background: rgba(157,91,255,.18);
    border-color: rgba(183,139,255,.25);
}
.sl-language-option-flag { width: 23px; font-size: 17px; }
.sl-language-option-name { flex: 1; font-size: 12px; font-weight: 600; }
.sl-language-option-code { color: #9e8bb8; font-size: 9px; font-weight: 800; }
.sl-language-option-check { color: #c69aff; font-size: 13px; }
@keyframes sl-language-down {
    from { opacity: 0; transform: translateY(-7px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width:760px) {
    .sl-language-menu { width: min(218px, calc(100vw - 32px)); }
}
