:root{color-scheme:dark;--bg:#1d1d1d;--card:#282828;--text:#f5f5f5;--muted:#999;--blue:#7F6EEA;--line:#7f6eea40}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.3}button{font:inherit;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #bfb5ff;outline-offset:4px}main{max-width:460px;margin:auto;padding:20px 18px 28px;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(28px,env(safe-area-inset-bottom));min-height:100dvh;display:flex;flex-direction:column}.symbols{position:absolute;width:0;height:0;overflow:hidden}svg{display:block;width:28px;height:28px}.chevron{width:20px;height:20px;flex-shrink:0}.profile{align-self:flex-start;display:flex;align-items:center;gap:8px;border:0;border-radius:30px;background:#1d1d1d;padding:2px 10px 2px 2px;margin-bottom:23px;font-size:18px;max-width:100%}#username{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#626262,#1a1a1a);border:2px solid #3b3b3b;display:grid;place-items:center;flex-shrink:0}.avatar svg{width:21px;height:29px}.promo{position:relative;display:block;text-align:left;width:100%;border:0;background:var(--blue);border-radius:29px;min-height:96px;padding:15px 16px;margin-bottom:25px}.promo-copy{position:relative;z-index:1;display:block;width:74%;font-size:16px;line-height:1.24}.promo-copy strong{display:block;font-size:19px;font-weight:700}.sale{position:absolute;right:14px;top:50%;width:137px;height:137px;transform:translateY(-50%);pointer-events:none}.card{background:var(--card);border-radius:29px}.vpn-card{padding:17px;margin-bottom:25px}.product{display:flex;gap:13px;align-items:center;margin-bottom:19px}.round-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--blue);color:white;flex-shrink:0}.round-icon svg{width:29px;height:29px}h1{font-size:20px;font-weight:500;margin:0 0 3px}.product p{font-size:16px;font-weight:500;color:var(--muted);margin:0;line-height:1.25}.primary{width:100%;border:0;border-radius:32px;background:var(--blue);padding:16px;font-size:20px;font-weight:700;text-align:center}.servers{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.flags{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.flag{position:relative;display:block;width:30px;height:30px;border-radius:50%;overflow:hidden;flex-shrink:0}.de{background:linear-gradient(#242424 33%,#e90035 33% 66%,#ffce00 66%)}.nl{background:linear-gradient(#b90029 33%,#fff 33% 66%,#064991 66%)}.se{background:linear-gradient(90deg,transparent 29%,#ffcf00 29% 41%,transparent 41%),linear-gradient(transparent 44%,#ffcf00 44% 57%,transparent 57%),#0075b8}.ae{background:linear-gradient(90deg,#ed1433 30%,transparent 30%),linear-gradient(#58a534 33%,white 33% 66%,#212121 66%)}.ru{background:linear-gradient(white 33%,#0051ae 33% 66%,#ee1638 66%)}.us{background:repeating-linear-gradient(#e5233e 0 2.4px,#fff 2.4px 4.8px)}.us:before{content:'✦✦✦\a✦✦✦\a✦✦✦';white-space:pre;position:absolute;left:0;top:0;background:#00529b;color:white;font-size:5px;line-height:5px;width:15px;height:16px;text-align:center}.au{background:#032966}.au:before{content:'';position:absolute;left:0;top:0;width:17px;height:16px;background:linear-gradient(90deg,transparent 40%,#e92244 40% 56%,transparent 56%),linear-gradient(transparent 39%,#e92244 39% 57%,transparent 57%),linear-gradient(45deg,transparent 39%,white 39% 50%,transparent 50%),linear-gradient(-45deg,transparent 39%,white 39% 50%,transparent 50%),#073575}.au b{position:absolute;right:3px;top:9px;font-size:9px;color:white}.au i{position:absolute;left:7px;bottom:1px;font-size:10px;color:white}.servers p{font-size:14px;color:#aaa;font-weight:700;margin:8px 0 -3px}.extras{padding:0 17px;margin-bottom:30px}.feature{display:flex;align-items:center;gap:13px;width:100%;position:relative;background:none;border:0;text-align:left;padding:16px 0}.feature+.feature:before{content:'';position:absolute;top:0;left:57px;right:0;height:1px;background:var(--line)}.feature-copy{flex:1;min-width:0}.feature-copy strong{display:block;font-weight:400;font-size:19px;margin-bottom:3px}.feature-copy>span{font-size:16px;color:var(--muted);display:block;line-height:1.3}.feature>.chevron{color:var(--line);width:16px}.bottom-nav{display:flex;align-items:center;justify-content:center;width:78%;min-height:67px;margin:20px auto 0;border:1px solid #7f6eea55;border-radius:40px;padding:5px;background:#1d1d1d;box-shadow:inset 0 0 0 4px #1d1d1d}.bottom-nav button{width:50%;border:0;background:none;color:#a0a0a0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:54px;gap:2px}.bottom-nav svg{width:31px;height:31px}.bottom-nav button:last-child svg{width:36px;height:36px}.bottom-nav span{font-size:13px}.bottom-nav button.active{color:var(--blue)}.nav-divider{width:1px;height:26px;background:#7f6eea33}@media(min-width:700px){main{padding-top:30px;padding-bottom:30px}}@media(max-width:380px){main{padding-left:14px;padding-right:14px}.promo-copy strong{font-size:16px}.sale{width:108px;height:108px;right:5px}.product{gap:10px}.product p,.feature-copy>span{font-size:14px}.feature-copy strong{font-size:17px}.flag{width:27px;height:27px}.flags{gap:7px}}




.sale svg{display:block;width:100%;height:100%}


.logo-orbit{position:relative;width:88px;height:88px;flex-shrink:0;display:grid;place-items:center;isolation:isolate}
.pulse-ring{position:absolute;inset:0;margin:auto;border-radius:50%;animation:ruvi-pulse 2.4s ease-in-out infinite;pointer-events:none}
.pulse-outer{width:100%;height:100%;background:#7f6eea26;animation-delay:.6s}
.pulse-middle{width:75%;height:75%;background:#7f6eea66;animation-delay:.3s}
.logo-orbit .round-icon{position:absolute;inset:0;margin:auto;width:50%;height:50%;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;animation:none}
.logo-orbit .round-icon svg{width:68%;height:68%}
@keyframes ruvi-pulse{0%,45%,100%{transform:scale(1)}18%{transform:scale(1.035)}}
.bolt{display:inline-block;position:relative;width:16px;height:24px;overflow:hidden;vertical-align:middle}
.bolt img{position:absolute;width:35px;height:35px;max-width:none;left:-9px;top:-5px}
@media(max-width:380px){.logo-orbit{width:70px;height:70px}}
@media(prefers-reduced-motion:reduce){.pulse-ring,.logo-orbit .round-icon{animation:none}}

.product h1,.product p{font-family:"Segoe UI",Arial,sans-serif}

.flags-image{display:block;width:75%;height:auto;margin-left:0;margin-right:auto}


.logo-orbit .round-icon{overflow:hidden}
.logo-orbit .ruvi-icon{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}

#main-screen[hidden],.offer-screen[hidden]{display:none}
.offer-screen{position:relative;display:flex;flex-direction:column;max-width:460px;min-height:100dvh;margin:0 auto;padding:20px 28px max(16px,env(safe-area-inset-bottom));background:linear-gradient(180deg,#f0edff 0%,#d7ceff 30%,#ad9df5 62%,#7F6EEA 100%)}
.offer-back{align-self:flex-start;width:40px;height:40px;padding:0;border:0;background:transparent;color:#554b79;font-size:28px;line-height:1;margin-left:-12px;margin-top:env(safe-area-inset-top)}
.offer-art{width:100%;aspect-ratio:1;max-width:390px;margin:auto;flex-shrink:0}
.offer-art svg{display:block;width:100%;height:100%}
.offer-content{padding-top:28px}
.offer-content h2{font-size:28px;line-height:1.16;font-weight:750;letter-spacing:-.5px;margin:0 0 10px;color:#fff}
.offer-content p{font-size:18px;line-height:1.25;font-weight:500;margin:0 0 24px;color:#fff}
.offer-buy{display:block;width:100%;padding:15px 16px;border:0;border-radius:30px;background:#fff;color:#17243a;font-size:18px;font-weight:700}
@media(max-width:380px){.offer-screen{padding-left:22px;padding-right:22px}.offer-content h2{font-size:25px}.offer-content p{font-size:16px}}

.plans-screen[hidden]{display:none}
.plans-screen{max-width:460px;min-height:100dvh;margin:auto;padding:14px 16px 0;display:flex;flex-direction:column}
.plans-back{align-self:flex-start;border:0;background:none;color:#aaa;font-size:28px;width:38px;height:38px;margin-bottom:10px}
.plans-intro{display:flex;align-items:center;gap:16px;padding:20px 16px;background:var(--card);border-radius:28px}
.plans-intro h2{font-size:17px;font-weight:600;margin:0 0 4px}
.plans-intro p{font-size:14px;line-height:1.3;color:var(--muted);margin:0}
.plans-shield{width:64px;height:64px;flex-shrink:0;border:9px solid #7f6eea40;box-shadow:0 0 0 8px #7f6eea20;background:var(--blue);border-radius:50%;display:grid;place-items:center}
.plans-shield svg{width:26px;height:26px}
.plans-caption{display:flex;align-items:center;justify-content:space-between;margin:32px 14px 10px;gap:10px}
.plans-caption h3{font-size:16px;color:var(--muted);margin:0;font-weight:650}
.plans-caption>span{font-size:14px;color:var(--blue)}
.tariff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;border:0;padding:0;margin:0}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.tariff{position:relative;cursor:pointer;min-width:0}
.tariff input{position:absolute;opacity:0;width:1px;height:1px}
.tariff-surface{position:relative;display:flex;flex-direction:column;overflow:hidden;min-height:124px;padding:13px 14px 12px;background:var(--card);border:2px solid transparent;border-radius:25px;transition:border-color .2s,background .2s}
.tariff input:checked~.tariff-surface{border-color:var(--blue)}
.tariff input:focus-visible~.tariff-surface{outline:2px solid #c5bbff;outline-offset:3px}
.tariff-name{font-size:16px}.tariff-saving{font-size:14px;color:var(--blue);margin:2px 0 13px}
.tariff-surface strong{font-size:23px;line-height:1.1;font-weight:750;margin-top:auto;letter-spacing:-.5px}
.tariff-surface small{font-size:13px;color:var(--muted);line-height:1.3}
.ribbon{position:absolute;right:-30px;top:13px;width:108px;padding:5px;text-align:center;transform:rotate(45deg);background:var(--blue);font-size:10px;font-weight:700}
.countries-card{background:var(--card);border-radius:25px;margin:24px 0 30px;overflow:hidden}
.countries-toggle{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:none;padding:14px 16px;font-size:17px;min-height:66px}
.countries-globe{width:38px;height:38px;border-radius:50%;background:var(--blue);display:grid;place-items:center;flex-shrink:0}
.countries-globe svg{width:25px;height:25px;stroke:#fff;stroke-width:1.7;fill:none}
.countries-arrow{margin-left:auto;width:18px;height:18px;color:#a89ae9;transform:rotate(90deg);transition:transform .38s cubic-bezier(.22,1,.36,1)}
.countries-toggle[aria-expanded=true] .countries-arrow{transform:rotate(-90deg)}
.countries-panel{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .45s cubic-bezier(.22,1,.36,1),opacity .3s}
.countries-panel.expanded{grid-template-rows:1fr;opacity:1}
.countries-clip{overflow:hidden;min-height:0}
.countries-panel ul{list-style:none;padding:0 16px 10px;margin:0}
.countries-panel li{display:flex;align-items:center;gap:14px;min-height:56px;border-top:1px solid var(--line);font-size:16px}
.country-flag{display:block;width:34px;height:34px;border-radius:50%;flex-shrink:0;background-image:url('/assets/flags.png');background-size:332px 53px;background-repeat:no-repeat;background-position:var(--flag-x) -9px}
.plans-footer{position:sticky;bottom:0;margin-top:auto;padding:9px 0 max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg)}
.plans-continue{font-size:16px;padding:16px 10px}
@media(max-width:360px){.tariff-surface{padding:12px 10px}.tariff-surface strong{font-size:21px}.tariff-surface small{font-size:12px}.plans-intro{gap:12px}.plans-shield{width:54px;height:54px}}
@media(prefers-reduced-motion:reduce){.countries-panel,.countries-arrow,.tariff-surface{transition:none}}

.plans-intro h2,.plans-intro p{font-family:"Segoe UI",Arial,sans-serif;font-weight:500}
.plans-intro h2{font-size:20px}.plans-intro p{font-size:16px}
.tariff-orbit{width:72px;height:72px}
.tariff-name,.tariff-saving,.tariff-surface small{font-family:"Segoe UI",Arial,sans-serif;font-weight:500}
.tariff-name{font-size:18px}.tariff-saving{font-size:15px}.tariff-surface small{font-size:14px}
.tariff-surface{min-height:136px;padding-right:16px}
.ribbon{z-index:2;right:-3px;top:-3px;width:70px;height:70px;padding:0;transform:none;background:none;overflow:hidden;border-radius:5px 27px 5px 0;filter:drop-shadow(0 2px 2px #0003);pointer-events:none}
.ribbon:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#b4a8ff,var(--blue) 65%,#6553c8);clip-path:polygon(0 0,48% 0,100% 52%,100% 100%);border-radius:5px 27px 5px 0}
.ribbon b{position:absolute;left:10px;top:21px;width:70px;font-size:10px;transform:rotate(45deg);font-weight:600}
.currency-picker{position:relative;z-index:5}
#currency-toggle{display:flex;align-items:center;gap:4px;padding:4px 0 4px 12px;border:0;background:none;color:var(--blue);font-size:14px}
#currency-toggle svg{width:12px;height:16px;fill:none;stroke:currentColor;stroke-width:1.3}
#currency-menu{position:absolute;right:0;top:100%;width:96px;background:#303030;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px #0005}
#currency-menu[hidden]{display:none}#currency-menu button{display:flex;gap:10px;align-items:center;width:100%;border:0;background:none;text-align:left;padding:13px 14px;font-size:16px}#currency-menu button+button{border-top:1px solid #414141}.currency-check{width:12px}
#payment-sheet{position:fixed;inset:auto 0 0;margin:0 auto;padding:0;width:100%;max-width:460px;max-height:92dvh;border:0;border-radius:30px 30px 0 0;background:var(--bg);color:var(--text);overflow-y:auto;transform:translateY(105%);opacity:0;transition:transform .4s cubic-bezier(.22,1,.36,1),opacity .25s}
#payment-sheet.open{transform:translateY(0);opacity:1}#payment-sheet::backdrop{background:#0000;transition:background .4s}#payment-sheet.open::backdrop{background:#0008}
.payment-inner{position:relative;padding:38px 16px 0}#payment-close{position:absolute;right:16px;top:16px;border:0;border-radius:50%;background:#303030;color:#aaa;font-size:26px;width:34px;height:34px;line-height:1}
.payment-hero{text-align:center}.payment-hero .logo-orbit{margin:auto;width:108px;height:108px}.payment-hero h2{font-size:24px;margin:18px 0 8px}.payment-hero p{font-size:17px;line-height:1.3;margin:0 0 30px}
.payment-methods{border:0;background:var(--card);border-radius:26px;padding:0 16px;margin:0 0 30px}
.payment-method{position:relative;display:flex;gap:12px;align-items:center;min-height:67px;cursor:pointer}.payment-method+.payment-method{border-top:1px solid var(--line)}.payment-method input{position:absolute;opacity:0;width:1px;height:1px}.payment-symbol{width:40px;height:40px;border-radius:50%;background:var(--blue);display:grid;place-items:center;font-size:27px;flex-shrink:0}.payment-copy{flex:1}.payment-copy strong{display:block;font-size:18px;font-weight:500}.payment-copy small{display:block;font-size:14px;color:var(--muted)}.payment-check{visibility:hidden;color:var(--blue);font-size:24px}.payment-method input:checked~.payment-check{visibility:visible}.payment-method:has(input:focus-visible){outline:2px solid #c5bbff;outline-offset:3px}
.payment-footer{position:sticky;bottom:0;background:var(--bg);border-top:1px solid var(--line);padding:9px 0 max(10px,env(safe-area-inset-bottom))}#payment-submit{font-size:18px;cursor:default}.payment-note{text-align:center;color:var(--muted);font-size:12px;margin:7px 0 0}body.payment-open{overflow:hidden}
@media(max-width:360px){.tariff-name{font-size:17px}.tariff-surface small{font-size:13px}.plans-intro p{font-size:15px}}
@media(prefers-reduced-motion:reduce){#payment-sheet,#payment-sheet::backdrop{transition:none}}


.referrals-screen[hidden]{display:none}
.referrals-screen{max-width:460px;margin:auto;padding:14px 16px max(24px,env(safe-area-inset-bottom));min-height:100dvh;font-family:"Segoe UI",Arial,sans-serif}
.ref-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.ref-top .profile{margin:0;background:var(--card);font-size:16px}.ref-top .avatar{width:34px;height:34px}
.ref-wallet{background:var(--blue);border:0;border-radius:25px;padding:11px 24px;font-size:14px;color:white}
.ref-intro{display:flex;gap:14px;align-items:center;background:var(--card);border-radius:26px;padding:16px}
.ref-intro .logo-orbit{width:72px;height:72px}
.ref-intro h2{font-size:17px;font-weight:500;margin:0 0 3px;line-height:1.25}.ref-intro p{font-size:14px;line-height:1.3;color:var(--muted);margin:0}
.ref-link-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;margin:32px 0 10px}.ref-link-heading h3{margin:0;color:var(--muted);font-size:17px;font-weight:650}.ref-link-heading button{padding:0;border:0;background:none;color:var(--blue);font-size:16px}
.ref-rewards{background:var(--card);border-radius:25px;padding:4px}
.ref-link{display:flex;gap:8px;align-items:center;min-height:51px;border-radius:23px;background:var(--bg);padding:8px 14px}.ref-link>span{flex:1;min-width:0;font-size:14px;color:var(--muted)}.ref-link button{border:0;background:none;color:var(--blue);padding:0;flex-shrink:0}.ref-link svg{width:23px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6}
.ref-balance{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 10px;gap:8px}.ref-balance strong{font-size:16px;font-weight:500}.ref-balance p{font-size:14px;color:var(--muted);margin:2px 0 0}.ref-balance button{border:0;border-radius:20px;padding:4px 13px;background:#7f6eea80;color:#bbb;font-size:14px;font-weight:600}
.ref-withdraw-note{font-size:14px;line-height:1.25;color:var(--muted);margin:7px 14px 30px}
.ref-level{border-radius:25px;background:var(--card);padding:14px 16px}
.ref-level-top{display:flex;justify-content:space-between;gap:10px}.ref-level-top>div:last-child{text-align:right}.ref-level strong{display:block;font-size:20px;line-height:1.2;font-weight:650}.ref-level-top span{display:block;font-size:14px;color:var(--muted)}.ref-level-top .ref-accent{color:var(--blue)}
.ref-progress{height:8px;background:#3c3c3c;border-radius:8px;overflow:hidden;margin-top:16px}.ref-progress span{display:block;width:0;height:100%;background:var(--blue)}.ref-progress-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:14px;margin-top:2px}
.ref-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:24px 0}.ref-stats>div{border-radius:25px;background:var(--card);padding:12px 16px}.ref-stats strong{display:block;font-size:19px;font-weight:650}.ref-stats span{display:block;font-size:14px;color:var(--muted)}
.ref-history{background:var(--card);border-radius:25px;padding:0 16px}.ref-history button{display:flex;align-items:center;gap:16px;width:100%;padding:14px 8px;border:0;background:none;text-align:left;font-size:16px;position:relative}.ref-history button+button:before{content:"";position:absolute;left:48px;right:0;top:0;height:1px;background:var(--line)}.ref-small-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--blue);color:white;flex-shrink:0;font-size:19px}.ref-history .chevron{margin-left:auto;color:#7f6eea80;width:17px;height:17px}
@media(max-width:360px){.ref-link-heading{padding:0 8px}.ref-link-heading button{font-size:14px}.ref-intro{gap:10px;padding:14px}.ref-intro .logo-orbit{width:62px;height:62px}.ref-level-top span{font-size:13px}}

.gift-intro{margin-bottom:24px}
.gift-option{background:var(--card);border-radius:26px;padding:14px 16px 12px;margin-bottom:16px;display:flex;flex-direction:column}
.gift-option-copy{display:flex;align-items:center;gap:14px}
.gift-option h3{font-size:18px;font-weight:500;line-height:1.25;margin:0 0 2px}
.gift-option p{font-size:16px;color:var(--muted);line-height:1.3;margin:0}
.gift-action{align-self:flex-end;margin-top:13px;border:0;border-radius:20px;padding:3px 13px;background:#7f6eea20;color:var(--blue);font-size:18px;font-weight:650;line-height:1.3}
.gift-calendar{color:var(--blue);width:25px;flex-shrink:0}.gift-calendar svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8}
.gift-links-title{font-size:16px;font-weight:400;color:var(--muted);margin:24px 16px 10px}
.gift-empty{background:var(--card);border-radius:26px;padding:38px 18px;text-align:center}
.gift-empty h3{font-size:18px;font-weight:500;margin:0 0 2px}.gift-empty p{font-size:15px;line-height:1.3;color:var(--muted);margin:0}
@media(max-width:360px){.gift-option h3{font-size:17px}.gift-option p{font-size:14px}.gift-action{font-size:16px}}

.services-screen{display:flex;flex-direction:column;padding-top:28px}
.services-intro{margin-bottom:24px}
.services-tabs{background:var(--card);border-radius:24px;padding:4px;display:flex}.services-tabs span{display:block;width:100%;background:var(--bg);border-radius:20px;text-align:center;font-size:14px;padding:7px}
.services-label{font-size:18px;color:var(--muted);font-weight:650;margin:26px 16px 5px}
.subscription-profile{background:var(--card);border-radius:27px;padding:5px}
.subscription-address{display:flex;align-items:center;gap:10px;background:var(--bg);border-radius:24px;padding:13px 14px;min-height:50px}.subscription-address>span{font-size:14px;color:var(--muted);flex:1;min-width:0}.subscription-address button{border:0;background:none;color:var(--blue);padding:0;flex-shrink:0}.subscription-address svg{width:23px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6}
.subscription-profile-body{padding:13px 11px 10px}.subscription-profile-body h3{font-size:18px;font-weight:500;margin:0}.subscription-profile-body p{font-size:14px;color:#f14b73;margin:1px 0 14px}
.subscription-renew{width:100%;border:0;border-radius:28px;padding:15px;background:#7f6eea20;color:var(--blue);font-size:18px;font-weight:650}


.bottom-nav{width:190px;max-width:100%;gap:0;padding:5px 12px;background:var(--card)}
.bottom-nav button{width:76px;flex:0 1 76px}
.profile-bottom-nav{margin-top:auto}
.account-screen[hidden]{display:none}
.account-screen{max-width:460px;margin:auto;min-height:100dvh;padding:14px 16px max(26px,env(safe-area-inset-bottom));font-family:"Segoe UI",Arial,sans-serif}
.account-card{border:1px solid #7f6eea40;border-radius:26px;background:var(--card);padding:0 16px;margin-bottom:23px;overflow:hidden}
.account-identity{padding:14px 16px 16px}.account-identity>div{display:flex;align-items:center;gap:16px;margin-bottom:14px}.account-identity .avatar{width:60px;height:60px}.account-identity .avatar svg{width:32px;height:44px}.account-identity h2{font-size:20px;font-weight:600;margin:0}.account-connect{font-size:18px;padding:15px}
.account-row{display:flex;align-items:center;width:100%;min-height:51px;gap:16px;border:0;background:none;padding:12px 6px;position:relative;text-align:left;font-size:17px;font-weight:500}
.account-row+.account-row:before{content:"";position:absolute;top:0;left:50px;right:0;height:1px;background:var(--line)}
.account-row .chevron{margin-left:auto;width:17px;height:17px;color:#7f6eea70;flex-shrink:0}.account-icon{display:grid;place-items:center;width:25px;height:25px;color:var(--blue);font-size:26px;flex-shrink:0}.account-language{margin-left:auto}.account-language+.chevron{margin-left:-10px}
.account-theme-options{display:flex;gap:0;margin-left:auto;background:#3c3c3c;border-radius:20px;padding:2px}.account-theme-options button{font-size:13px;line-height:1.2;border:0;background:none;padding:6px 12px;border-radius:18px}.account-theme-options button.selected{background:#605b77}
.account-legal .account-row{color:var(--blue);font-weight:400}.account-legal .account-row+.account-row:before{left:0}.account-brand{display:flex;align-items:center;gap:5px;font-size:23px}.account-brand svg{width:25px;height:25px;color:var(--blue)}
@media(max-width:380px){.account-row{gap:10px;font-size:15px}.account-theme-options button{padding:6px 8px;font-size:12px}.account-card{padding-left:12px;padding-right:12px}.account-identity{padding:14px}}

.account-identity>div{margin-bottom:0}
button{transition:background-color .18s,box-shadow .18s,filter .18s}
@media(hover:hover) and (pointer:fine){button:not(:disabled):hover{box-shadow:inset 0 0 0 100vmax #ffffff16;filter:brightness(1.08)}}
:root[data-theme="light"]{color-scheme:light;--bg:#fff;--card:#f0eff5;--text:#252330;--muted:#716d7f;--line:#7f6eea35}
[data-theme="light"] .profile{background:var(--card)}
[data-theme="light"] .bottom-nav{box-shadow:inset 0 0 0 4px var(--bg)}
[data-theme="light"] .bottom-nav button{color:var(--muted)}
[data-theme="light"] .bottom-nav button.active{color:var(--blue)}
[data-theme="light"] .servers p{color:var(--muted)}
[data-theme="light"] .primary,[data-theme="light"] .promo,[data-theme="light"] .ribbon,[data-theme="light"] .payment-symbol,[data-theme="light"] .plans-shield{color:#fff}
[data-theme="light"] .plans-back{color:var(--muted)}
[data-theme="light"] #currency-menu{background:#fff;box-shadow:0 8px 24px #25233026}
[data-theme="light"] #currency-menu button+button{border-color:var(--line)}
[data-theme="light"] #payment-close{background:#e3e0ed;color:#716d7f}
[data-theme="light"] .ref-progress,[data-theme="light"] .account-theme-options{background:#dedbe8}
[data-theme="light"] .account-theme-options button.selected{background:#fff;color:#383244;box-shadow:0 1px 4px #25233020}
[data-theme="light"] .ref-balance button{color:#686078;background:#dcd5f7}
[data-theme="light"] .subscription-profile-body p{color:#bd3159}
@media(hover:hover) and (pointer:fine){[data-theme="light"] button:not(:disabled):hover{box-shadow:inset 0 0 0 100vmax #ffffff55;filter:brightness(1.025)}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Full-width account rows; the card clips hover to its rounded corners. */
.account-card:not(.account-identity){padding-left:0;padding-right:0}
.account-card>.account-row{padding-left:22px;padding-right:22px}
.account-card>.account-row+.account-row:before{left:66px;right:16px}
.account-legal>.account-row+.account-row:before{left:16px}
@media(max-width:380px){
  .account-card>.account-row{padding-left:18px;padding-right:18px}
  .account-card>.account-row+.account-row:before{left:62px;right:12px}
  .account-legal>.account-row+.account-row:before{left:12px}
}

/* Row hit areas reach the edges of their enclosing rounded cards. */
.extras{padding-left:0;padding-right:0;overflow:hidden}
.extras .feature{padding-left:17px;padding-right:17px}
.extras .feature+.feature:before{left:74px;right:17px}
.ref-history{padding-left:0;padding-right:0;overflow:hidden}
.ref-history button{padding-left:24px;padding-right:24px}
.ref-history button+button:before{left:64px;right:16px}
.payment-methods{padding-left:0;padding-right:0;overflow:hidden}
.payment-method{padding-left:16px;padding-right:16px;border:0}
.payment-method+.payment-method{border-top:0}
.payment-method+.payment-method:before{content:"";position:absolute;top:0;left:16px;right:16px;height:1px;background:var(--line)}
.bottom-nav{padding:0;overflow:hidden;box-shadow:none;min-height:64px}
.bottom-nav button{width:50%;flex:1 1 50%;min-height:64px;border-radius:0}
[data-theme="light"] .bottom-nav{box-shadow:none}
.payment-method{transition:box-shadow .18s}
@media(hover:hover) and (pointer:fine){
  .payment-method:hover,.tariff:hover .tariff-surface{box-shadow:inset 0 0 0 100vmax #ffffff16}
  [data-theme="light"] .payment-method:hover,[data-theme="light"] .tariff:hover .tariff-surface{box-shadow:inset 0 0 0 100vmax #ffffff55}
}
@media(prefers-reduced-motion:reduce){.payment-method{transition:none}}

/* Inset oval for the current bottom-navigation tab. */
.bottom-nav button{position:relative;isolation:isolate}
.bottom-nav button::before{content:"";position:absolute;inset:4px;border-radius:999px;z-index:-1;pointer-events:none;background:transparent;transition:background-color .18s,box-shadow .18s}
.bottom-nav button.active::before{background:#343434;box-shadow:inset 0 0 0 1px #ffffff08}
[data-theme="light"] .bottom-nav button.active::before{background:#e1dcf5;box-shadow:inset 0 0 0 1px #7f6eea20}
@media(prefers-reduced-motion:reduce){.bottom-nav button::before{transition:none}}

@media(hover:hover) and (pointer:fine){
  .bottom-nav button:not(:disabled):hover,
  [data-theme="light"] .bottom-nav button:not(:disabled):hover{box-shadow:none;filter:none}
}

/* Keep the bottom navigation visible without covering the page content. */
.bottom-nav{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);margin:0;z-index:20}
#main-screen,.services-screen{padding-bottom:calc(104px + env(safe-area-inset-bottom))}

/* A single persistent indicator slides between both tabs. */
.bottom-nav[hidden]{display:none}
.bottom-nav{isolation:isolate;font-family:Arial,Helvetica,sans-serif}
.bottom-nav button::before{display:none}
.bottom-nav::before{content:"";position:absolute;left:4px;top:4px;bottom:4px;width:calc(50% - 8px);border-radius:999px;background:#343434;box-shadow:inset 0 0 0 1px #ffffff08;pointer-events:none;z-index:-1;transform:translateX(0);transition:transform .32s cubic-bezier(.22,1,.36,1)}
.bottom-nav.profile-selected::before{transform:translateX(calc(100% + 8px))}
[data-theme="light"] .bottom-nav::before{background:#e1dcf5;box-shadow:inset 0 0 0 1px #7f6eea20}
.bottom-nav button span{font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:700;line-height:15px}
@media(prefers-reduced-motion:reduce){.bottom-nav::before{transition:none}}

button.profile,.ref-top button.profile{font-size:14px;gap:7px;padding:2px 9px 2px 2px;border:1px solid #7f6eea55;border-radius:24px;background:var(--card)}
button.profile .avatar,.ref-top button.profile .avatar{width:29px;height:29px;border:0;overflow:hidden;background:#7f6eea28;flex-shrink:0}
button.profile .avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
button.profile .avatar-placeholder{font:600 14px/1 "Segoe UI",Arial,sans-serif;color:var(--blue)}
button.profile .chevron{width:16px;height:16px}
.telegram-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}

button.profile,.ref-top button.profile{border-color:transparent}
button.profile .telegram-name{font-weight:600}
