:root{
  --bg:#07131f;
  --surface:rgba(12,25,37,.80);
  --surface-strong:rgba(11,23,34,.94);
  --surface-soft:rgba(18,31,43,.72);
  --border:rgba(154,178,199,.28);
  --border-strong:rgba(175,196,214,.42);
  --text:#ffffff;
  --text-soft:#dce5ed;
  --muted:#aebac6;
  --orange:#ff7a00;
  --orange2:#ff920d;
  --green:#39e06d;
  --yellow:#ffc22e;
  --red:#ff553d;
  --radius:18px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,Arial,sans-serif;background:#02070b;color:var(--text);font-weight:450;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision;letter-spacing:-.12px}
button,input{font:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent;outline:0}
button:focus,button:active{outline:0}
.stage{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:36px;padding:28px;background:radial-gradient(circle at 50% 15%,#132534 0,#04090e 58%,#010304 100%)}
.phone-shell{position:relative;width:465px;height:965px;border:1px solid #71808d;border-radius:55px;background:#0a1117;padding:8px;box-shadow:0 50px 120px rgba(0,0,0,.66),0 0 0 5px #060b10}
.phone-speaker{position:absolute;z-index:50;top:12px;left:50%;transform:translateX(-50%);width:120px;height:25px;border-radius:0 0 15px 15px;background:#02070b}
.phone-screen{position:relative;width:100%;height:100%;overflow:hidden;border-radius:47px;background:#07131f}
.phone-screen:before{content:"";position:absolute;inset:0;background:url('assets/background.png') center/cover no-repeat;opacity:.92;transform:scale(1.01)}
.phone-screen:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,13,22,.34) 0%,rgba(4,14,24,.34) 45%,rgba(2,10,17,.14) 75%,rgba(2,8,14,.48) 100%);pointer-events:none}
.phone-screen:has(.home-mountains):before,.phone-screen:has(.home-mountains):after{display:none}
.system-status{position:absolute;z-index:30;left:0;right:0;top:0;height:44px;display:flex;align-items:center;justify-content:space-between;padding:8px 21px 0;font-size:13px;font-weight:700;letter-spacing:.1px}
.status-icons{font-size:12px;letter-spacing:1px}
#app{position:absolute;z-index:10;inset:44px 0 18px}
.home-indicator{position:absolute;z-index:40;left:50%;bottom:8px;transform:translateX(-50%);width:154px;height:5px;border-radius:999px;background:#fff}
.screen{position:relative;height:100%;overflow:auto;padding:18px 22px 92px;scrollbar-width:none;background:linear-gradient(180deg,rgba(3,13,22,.12),rgba(3,13,22,.35)),url('assets/screens-bg.png') center/cover no-repeat}
.screen.auth{background:linear-gradient(180deg,rgba(3,13,22,.2),rgba(3,13,22,.45)),url('assets/auth-bg.png') center/cover no-repeat}
.home-mountains{isolation:isolate;background:#07131f url('assets/home-bg.png') center/cover no-repeat}.home-mountains> *{position:relative;z-index:1}.home-mountains:before,.home-mountains:after{display:none}
.screen::-webkit-scrollbar{display:none}
.screen.auth{padding-bottom:26px}
.topbar{height:46px;display:grid;grid-template-columns:52px 1fr 90px;align-items:center;margin-bottom:10px}
.topbar.center-title{grid-template-columns:52px 1fr 52px}
.icon-btn{width:42px;height:42px;border-radius:13px;border:1px solid rgba(131,153,170,.13);background:rgba(16,29,41,.66);color:#fff;display:grid;place-items:center;padding:0}
.icon-btn svg,.inline-icon svg,.nav-svg svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.top-title{text-align:center;font-size:20px;font-weight:760;color:#fff;letter-spacing:-.35px}
.brand-word{text-align:center;font-size:24px;font-weight:800;letter-spacing:-.4px}.brand-word .fox{color:var(--orange)}
.lang{display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:14px;color:#fff}
.hero-logo{display:block;width:136px;height:136px;object-fit:contain;object-position:center;margin:0 auto}
.hero-brand{text-align:center;font-size:39px;line-height:1.02;font-weight:800;margin-top:-4px;letter-spacing:-1.1px}.hero-brand .fox{color:var(--orange)}
.auth-subtitle{text-align:center;color:#c2c9d0;font-size:15px;margin:8px 0 26px}
.segment{height:52px;border-radius:16px;background:rgba(20,33,45,.82);border:1px solid rgba(145,167,185,.21);display:grid;grid-template-columns:1fr 1fr;overflow:hidden;margin-bottom:18px}
.segment button{border:0;background:transparent;color:#c1c9d1;font-weight:600}.segment .active{background:linear-gradient(110deg,#ff8a00,#ff7400);color:white;box-shadow:0 7px 22px rgba(255,122,0,.24)}
.field{height:63px;border:1px solid var(--border-strong);border-radius:16px;background:rgba(14,28,40,.78);display:grid;grid-template-columns:30px 1fr 28px;align-items:center;padding:0 14px;margin:10px 0}
.field.no-tail{grid-template-columns:30px 1fr}
.field .label{font-size:12px;color:#a9b3bd;margin-bottom:3px;transition:color .18s ease}.field:focus-within{border-color:rgba(255,145,38,.9);box-shadow:0 0 0 3px rgba(255,122,0,.12)}.field:focus-within .label{color:var(--orange2)}.field input{width:100%;border:0;outline:0;background:transparent;color:#e8edf2;font-size:15px;padding:0;min-width:0}.field input::placeholder{color:#aeb8c2;opacity:1;transition:opacity .15s ease}.field input:focus::placeholder{opacity:0}.eye-btn{border:0;background:none;color:#a6b1bc;padding:0;display:grid;place-items:center}
.utility-row{display:flex;align-items:center;justify-content:space-between;margin:12px 1px 18px;font-size:13px}.remember{display:flex;align-items:center;gap:8px;border:0;border-radius:0;padding:0;background:transparent!important;color:#fff;font:inherit;cursor:pointer;appearance:none;box-shadow:none}.checkbox{width:20px;height:20px;border-radius:5px;background:var(--orange);display:grid;place-items:center;font-weight:900;color:white}.remember:not(.active) .checkbox{background:rgba(17,31,43,.8);border:1px solid rgba(175,196,214,.42)}.orange-link{color:var(--orange);font-weight:650}
.auth-error{margin:-2px 2px 12px;color:#ff8b7d;font-size:12px;text-align:center}
.offline-box{color:#ffb347;border-color:#ffb347}
.offline-screen .primary svg{width:20px;height:20px}
.primary{height:57px;width:100%;border:0;border-radius:15px;background:linear-gradient(100deg,#ff8a00,#ff7300);color:#121212;font-weight:800;box-shadow:0 10px 24px rgba(255,122,0,.25);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 18px}.primary>span:nth-child(2){grid-column:2}.primary .arrow{justify-self:end;grid-column:3;color:white}
.divider{display:flex;align-items:center;gap:14px;color:#9faab4;font-size:13px;margin:23px 0 14px}.divider:before,.divider:after{content:"";height:1px;background:rgba(161,181,198,.25);flex:1}
.social-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.social-btn{height:54px;border:1px solid var(--border);border-radius:14px;background:rgba(12,25,36,.82);color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:600}.social-logo{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:900}.mailru{background:#168de2;color:#fff}.google{background:conic-gradient(from 0deg,#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);color:white}.yandex{background:#ff3434}.discord{background:#6366f1}.footer-auth{text-align:center;margin-top:25px;font-size:13px;color:#edf1f4}
.reg-logo{width:88px;height:88px;display:block;object-fit:contain;object-position:center;margin:0 auto}.reg-brand{text-align:center;font-size:31px;font-weight:850;letter-spacing:-.8px}.reg-brand .fox{color:var(--orange)}.reg-helper{text-align:center;color:#c1c8cf;font-size:13px;line-height:1.45;margin:8px 20px 18px}.consent{display:flex;align-items:flex-start;gap:8px;width:100%;border:0;background:transparent;padding:0;text-align:left;font-size:12px;color:#c0c8d0;margin:7px 2px}.consent .checkbox{flex:0 0 20px}.consent:not(.checked) .checkbox{background:rgba(17,31,43,.8);border:1px solid rgba(175,196,214,.42)}.consent .orange-link{font-weight:600}
.info-modal{max-height:82vh}.info-modal-content{max-height:52vh;overflow:auto;margin:8px 0 14px;padding:12px;border:1px solid rgba(146,169,187,.18);border-radius:10px;background:rgba(8,18,27,.76);color:#c8d1d8;font-size:12px;line-height:1.55;text-align:left;white-space:pre-wrap}.consent .orange-link{font-weight:600}
.lock-box{width:104px;height:104px;border-radius:23px;margin:64px auto 24px;border:1px solid var(--orange);background:radial-gradient(circle at 50% 60%,rgba(255,122,0,.11),rgba(15,25,34,.54));box-shadow:0 0 28px rgba(255,122,0,.10);display:grid;place-items:center;color:var(--orange)}.lock-box svg{width:50px;height:50px}.recover-title{text-align:center;font-size:26px;font-weight:800;margin:0 0 14px}.recover-help{text-align:center;color:#bdc5cd;font-size:13px;line-height:1.55;margin:0 30px 36px}.back-stack{display:grid;gap:10px}.secondary{height:52px;border:1px solid var(--border);border-radius:14px;background:rgba(11,24,35,.78);color:#fff;font-weight:600}
.verify-back{max-width:280px;margin:20px auto 0}
.email-confirm-link{display:block;margin:14px auto 0;border:0;background:transparent;color:var(--orange);font-size:12px;font-weight:650}
.verified-box{border-color:var(--green);color:var(--green);background:radial-gradient(circle at 50% 60%,rgba(57,224,109,.12),rgba(15,25,34,.54))}
.recover-title-spaced{margin-top:96px}
.recover-help-compact{margin-bottom:22px}
.recover-back-link{display:block;width:100%;height:52px;margin:18px auto 0}
.bottom-nav{position:absolute;z-index:20;left:0;right:0;bottom:0;height:72px;background:rgba(4,15,24,.92);border-top:1px solid rgba(148,170,187,.16);display:grid;grid-template-columns:repeat(5,1fr);padding:3px 5px 5px;backdrop-filter:blur(12px)}
.bottom-nav:before{content:"";position:absolute;left:0;right:0;top:-27px;height:28px;background:linear-gradient(180deg,transparent,rgba(4,15,24,.72));pointer-events:none}
.nav-btn{border:0;background:none;color:#a8b4bf;font-size:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0}.nav-svg{height:22px}.nav-btn.active{color:var(--orange);font-weight:650}
.home-content{padding-top:0}.connect-block{text-align:center;padding-top:4px}.connect-ring{position:relative;width:220px;height:220px;margin:0 auto 16px;border-radius:50%;border:4px solid var(--orange);background:radial-gradient(circle,rgba(255,122,0,.15) 0 44%,rgba(4,14,23,.74) 58%,transparent 59%);box-shadow:0 0 22px rgba(255,122,0,.52),inset 0 0 20px rgba(255,122,0,.08);display:grid;place-items:center;color:#fff;transition:border-color .35s ease,box-shadow .35s ease,transform .2s ease}.connect-ring:before{content:"";position:absolute;inset:-17px;border-radius:50%;border:1px solid rgba(255,122,0,.20)}.connect-ring:after{content:"";position:absolute;inset:-43px;border-radius:50%;border:1px solid rgba(255,122,0,.10)}.connect-ring:active{transform:scale(.96)}.connect-ring.connected{border-color:var(--green);box-shadow:0 0 24px rgba(57,224,109,.35);animation:connected-glow 2.4s ease-in-out infinite}.connect-ring.connecting{animation:connecting-pulse .9s ease-in-out infinite}.power-svg{width:72px;height:72px;display:grid;place-items:center;color:#fff}.power-svg svg{width:72px;height:72px;display:block;stroke:#fff!important;fill:none!important;stroke-width:2.5;filter:drop-shadow(0 0 8px rgba(255,255,255,.38))}.state-title{text-align:center;font-size:26px;font-weight:850;letter-spacing:-.45px;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.5)}.state-sub{text-align:center;color:#d0d8df;font-size:14px;font-weight:450;margin-top:3px}
.card{border:1px solid var(--border);background:linear-gradient(130deg,rgba(17,31,44,.84),rgba(9,21,31,.84));border-radius:17px;box-shadow:0 12px 30px rgba(0,0,0,.14)}.selected-card{margin-top:28px;padding:14px 16px;display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center}.flag-box{width:44px;height:44px;border-radius:11px;background:rgba(20,33,44,.75);display:grid;place-items:center;font-size:26px}.server-title{font-size:17px;font-weight:760;color:#fff}.server-sub{font-size:12px;color:#b9c5cf;margin-top:2px;font-weight:450}.latency{color:var(--green);font-size:13px;font-weight:700;display:flex;align-items:center;gap:7px}.signal{display:flex;align-items:flex-end;gap:2px;height:16px}.signal i{display:block;width:3px;background:currentColor;border-radius:1px}.signal i:nth-child(1){height:5px}.signal i:nth-child(2){height:8px}.signal i:nth-child(3){height:11px}.signal i:nth-child(4){height:15px}.meta-row{display:flex;justify-content:center;align-items:center;gap:16px;color:#c2cad2;font-size:12px;margin:15px 0}.meta-item{display:flex;align-items:center;gap:6px}.meta-sep{width:1px;height:20px;background:rgba(157,177,192,.22)}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.info-card{padding:14px 16px}.info-label{font-size:11px;color:#b3c0cb;font-weight:500}.info-value{margin-top:6px;font-size:14px;font-weight:760;color:#fff;display:flex;align-items:center;justify-content:space-between}.security-card{margin-top:10px;padding:14px 16px;display:flex;align-items:center;gap:13px}.security-icon{width:47px;height:47px;border-radius:12px;background:radial-gradient(circle,rgba(57,224,109,.25),rgba(57,224,109,.03));display:grid;place-items:center;color:#fff}.security-title{font-size:16px;font-weight:750;color:var(--green)}
.page-top{height:48px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;margin-bottom:10px}.page-title-center{text-align:center;font-size:20px;font-weight:800;color:#fff;letter-spacing:-.2px}.filter-row{display:grid;grid-template-columns:1.18fr 1fr 1.15fr;gap:9px;margin-bottom:12px}.filter-btn{height:46px;border-radius:14px;border:1px solid var(--border);background:rgba(13,26,37,.82);color:#cbd2d9;font-size:12px;font-weight:600}.filter-btn.active{background:linear-gradient(100deg,#ff8a00,#ff7300);border-color:transparent;color:white}.search{height:49px;border-radius:14px;border:1px solid var(--border);background:rgba(12,25,36,.82);display:flex;align-items:center;gap:10px;padding:0 14px;margin-bottom:12px}.search input{flex:1;background:transparent;border:0;outline:none;color:#fff;font-size:13px}.search input::placeholder{color:#8f9daa}.server-list{display:flex;flex-direction:column;gap:7px}.server-row{min-height:63px;color:#fff;border-radius:13px;border:1px solid rgba(146,169,187,.25);background:rgba(11,24,35,.82);display:grid;grid-template-columns:44px 1fr auto 27px;gap:10px;align-items:center;padding:8px 12px}.server-row.selected{border-color:rgba(255,122,0,.38)}.server-row .flag{font-size:25px}.server-name{font-size:14px;font-weight:760;color:#fff;letter-spacing:-.05px}.server-city{font-size:11px;color:#aebbc6;margin-top:2px;font-weight:450}.radio{width:20px;height:20px;border-radius:50%;border:2px solid #e8edf1}.radio.on{border-color:var(--orange);box-shadow:inset 0 0 0 4px #08131d,0 0 0 2px rgba(255,122,0,.15);background:var(--orange)}.latency.medium{color:var(--yellow)}.latency.bad{color:#ff6a34}.sort-row{display:grid;grid-template-columns:1fr 56px;gap:10px;margin-top:11px}.sort-box{height:51px;border:1px solid var(--border);border-radius:14px;background:rgba(10,23,34,.82);display:flex;align-items:center;gap:9px;padding:0 15px;color:#c7cfd7;font-size:13px}.sort-box select{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#c7cfd7;font-size:13px;appearance:none;cursor:pointer}.sort-box select option{background:#10212e;color:#fff}.refresh-btn{height:51px;border:1px solid var(--border);border-radius:14px;background:rgba(10,23,34,.82);color:white}
.section-title{font-size:29px;font-weight:800;color:#fff;letter-spacing:-.55px;margin:2px 0 2px}.section-sub{font-size:13px;color:#aebbc5;margin-bottom:17px;letter-spacing:-.18px}.subscription-card{padding:16px}.plan-row{display:flex;justify-content:space-between;align-items:flex-start}.badge{font-size:10px;color:var(--orange);font-weight:800;letter-spacing:.15px}.plan-name{display:flex;align-items:center;gap:6px;font-size:20px;font-weight:800;color:#fff;margin-top:7px;letter-spacing:-.35px}.plan-name svg{width:19px;height:19px;color:var(--orange)}.status-pill{font-size:10px;color:var(--orange);font-weight:750;padding:7px 11px;border-radius:999px;border:1px solid rgba(255,122,0,.38)}.traffic-row{display:flex;justify-content:space-between;color:#9ba9b5;font-size:11px;margin-top:19px}.progress{height:5px;background:#27343e;border-radius:999px;overflow:hidden;margin-top:10px}.progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#ff7a00,#ff9d29)}.sub-row{display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:center;padding:13px 14px;margin-top:10px}.sub-icon{width:42px;height:42px;border-radius:11px;background:rgba(255,122,0,.10);color:var(--orange);display:grid;place-items:center}.device-dots{display:flex;gap:4px}.device-dots i{width:7px;height:7px;border-radius:50%;background:#34424e}.device-dots i.on{background:var(--orange)}.link-card{height:52px;margin-top:10px;display:grid;grid-template-columns:1fr 48px;gap:8px}.link-text,.copy-box{border:1px solid var(--border);border-radius:13px;background:rgba(11,24,35,.82);display:flex;align-items:center}.link-text{padding:0 14px;color:#9aa6b1;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.copy-box{justify-content:center}.time-card{padding:14px 16px;margin-top:10px}.time-top{display:flex;justify-content:space-between;font-size:10px;color:#9eabb7}.time-values{display:flex;justify-content:space-between;align-items:flex-end;margin-top:4px}.countdown{font-size:23px;font-weight:800;letter-spacing:-.45px}.expiry{font-size:12px;color:#abb5bf;text-align:right}.locations-card{padding:12px 15px;margin-top:10px}.chips-locations{display:flex;gap:7px;margin-top:8px;overflow:hidden}.location-chip{padding:7px 10px;border-radius:12px;background:rgba(24,39,50,.73);font-size:11px;white-space:nowrap}.toggle{width:48px;height:28px;border-radius:999px;background:#34424e;padding:3px}.toggle.on{background:var(--orange)}.toggle:after{content:"";display:block;width:22px;height:22px;border-radius:50%;background:white;transform:translateX(0);transition:.2s}.toggle.on:after{transform:translateX(20px)}.renew-row{border-color:rgba(255,122,0,.42);background:linear-gradient(100deg,rgba(255,122,0,.09),rgba(12,25,36,.82))}.options-list{display:flex;flex-direction:column;gap:12px;margin-top:22px}.option-card{min-height:80px;display:grid;grid-template-columns:45px 1fr auto;gap:12px;align-items:center;padding:14px 15px}.option-card.warn{border-color:rgba(255,122,0,.72);background:linear-gradient(100deg,rgba(255,122,0,.12),rgba(11,24,35,.88));color:var(--orange)}.device-header{display:flex;justify-content:space-between;align-items:center;color:#aab6c1;font-size:13px;margin:20px 0 14px}.danger{color:#ff4048}.device-row{min-height:75px;display:grid;grid-template-columns:42px 1fr 27px 27px;gap:10px;align-items:center;padding:12px 14px}.device-icon{width:40px;height:40px;border-radius:11px;background:rgba(22,36,48,.80);display:grid;place-items:center}.add-device{margin-top:14px}
.servers-screen{padding-bottom:96px}.server-tools{display:grid;gap:10px;margin-bottom:14px}.server-picker,.announcement-banner{height:51px;border:1px solid rgba(255,145,38,.35);border-radius:14px;background:rgba(20,18,13,.82);display:flex;align-items:center;gap:9px;padding:0 15px;color:#c7cfd7}.server-picker svg,.announcement-banner svg{width:17px;height:17px;color:var(--orange)}.server-picker select{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#d9e0e5;font-size:13px;appearance:none}.announcement-banner{margin:0 12px 10px;height:42px}.announcement-banner span{font-size:13px}.subscription-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.subscription-action{height:46px;border:1px solid var(--border);border-radius:14px;background:rgba(12,25,36,.82);color:#cbd3da;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:700}.subscription-action svg{width:17px;height:17px}.subscription-action.primary-action{background:linear-gradient(100deg,#ff8a00,#ff7300);border-color:transparent;color:#121212}.server-filter-row{margin-bottom:14px}.server-filter-row .search{margin-bottom:10px}.server-filter-row .protocol-filters{display:flex;gap:7px;overflow:auto}.server-filter-row .filter-btn{height:34px;padding:0 13px;border-radius:10px;font-size:11px;white-space:nowrap}.subscription-list{display:flex;flex-direction:column;gap:10px}.subscription-group{border:1px solid rgba(146,169,187,.18);border-radius:17px;background:rgba(8,18,27,.78);overflow:hidden}.subscription-header{width:100%;height:52px;border:0;background:transparent;color:#dfe6eb;display:grid;grid-template-columns:22px 1fr auto 24px;align-items:center;gap:6px;padding:0 14px;text-align:left}.subscription-chevron{transition:transform .2s}.subscription-chevron svg{width:17px;height:17px}.subscription-group.expanded .subscription-chevron{transform:rotate(180deg)}.subscription-name{font-size:16px;font-weight:750}.subscription-status{font-size:10px;color:var(--green);padding:5px 8px;border-radius:999px;background:rgba(57,224,109,.12)}.subscription-more{color:#8997a2;font-size:16px;letter-spacing:1px}.subscription-meta{display:flex;justify-content:space-between;padding:0 14px 13px;color:#8e9ca7;font-size:11px}.subscription-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px 10px}.subscription-controls button{height:38px;border:1px solid rgba(146,169,187,.2);border-radius:10px;background:rgba(20,34,45,.78);color:#cdd6dd;font-size:11px;display:flex;align-items:center;justify-content:center;gap:5px;width:100%}.subscription-controls button:first-child{color:var(--orange);border-color:rgba(255,122,0,.3)}.subscription-controls svg{width:15px;height:15px}.subscription-group .server-list{padding:0 10px 11px}.subscription-group .server-row{min-height:58px}}.options-list{display:flex;flex-direction:column;gap:12px;margin-top:22px}.option-card{min-height:80px;display:grid;grid-template-columns:45px 1fr auto;gap:12px;align-items:center;padding:14px 15px}.option-card.warn{border-color:rgba(255,122,0,.72);background:linear-gradient(100deg,rgba(255,122,0,.12),rgba(11,24,35,.88));color:var(--orange)}.device-header{display:flex;justify-content:space-between;align-items:center;color:#aab6c1;font-size:13px;margin:20px 0 14px}.danger{color:#ff4048}.device-row{min-height:75px;display:grid;grid-template-columns:42px 1fr 27px 27px;gap:10px;align-items:center;padding:12px 14px}.device-icon{width:40px;height:40px;border-radius:11px;background:rgba(22,36,48,.80);display:grid;place-items:center}.add-device{margin-top:14px}
.toast{position:absolute;z-index:80;left:50%;bottom:105px;transform:translateX(-50%);background:rgba(4,12,18,.95);color:#fff;border:1px solid var(--border);border-radius:13px;padding:11px 16px;font-size:12px;box-shadow:0 15px 40px rgba(0,0,0,.4);white-space:nowrap}
.splash{position:relative;height:100%;overflow:hidden;background:#06121d}.splash-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}.splash:after{display:none}.splash-loader{position:absolute;z-index:2;left:0;right:0;bottom:92px;height:24px;display:flex;justify-content:center;align-items:center}.dots{display:flex;justify-content:center;align-items:center;gap:12px}.dots i{width:10px;height:10px;border-radius:50%;background:var(--orange);box-shadow:0 0 14px rgba(255,122,0,.65)}.dots i:nth-child(2){width:18px;height:18px}
.desktop-note{display:flex;align-items:center;gap:14px;max-width:300px;color:#d8dde2}.desktop-note img{width:72px;height:72px;object-fit:contain;border-radius:14px}.desktop-note strong{display:block;font-size:22px}.desktop-note span{display:block;color:#aeb8c0;margin-top:4px}.desktop-note small{display:block;color:#6f7c87;margin-top:7px;line-height:1.4}
@media(max-width:780px){body{background:#07131f}.stage{padding:0;display:block}.phone-shell{width:100vw;height:100vh;border:0;border-radius:0;padding:0;box-shadow:none}.phone-speaker{display:none}.phone-screen{border-radius:0}.desktop-note{display:none}.home-indicator{bottom:5px}}

/* v3: one-page subscription options + devices */
.inline-section-title{margin:18px 2px 8px;font-size:15px;font-weight:800;color:#fff;letter-spacing:-.1px}
.inline-section-head{display:flex;align-items:center;justify-content:space-between;margin:18px 2px 9px}.inline-section-head .inline-section-title{margin:0}.inline-section-meta{font-size:11px;color:#aebbc6}.inline-danger{border:0;background:transparent;color:#ff4d55;font-size:11px;font-weight:650}
.subscription-device-list{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.subscription-device-list .device-row{min-height:68px}
.option-card{color:#fff}.option-card .server-title{font-size:14px}.option-card .server-sub{line-height:1.35}
.subscription-scroll-note{font-size:10px;color:#7f8e9b;text-align:center;margin:10px 0 0}
.plan-screen{padding-bottom:26px}.group-banner{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid rgba(57,224,109,.42);border-radius:14px;background:rgba(16,68,48,.55);margin:0 0 16px}.group-icon{width:32px;height:32px;border-radius:9px;background:rgba(57,224,109,.18);display:grid;place-items:center}.group-banner strong,.group-banner small{display:block}.group-banner strong{font-size:13px;color:#55ed8a}.group-banner small{font-size:11px;color:#9aabb4;margin-top:3px}.plan-grid{display:grid;grid-template-columns:1fr;gap:14px}.plan-card{min-height:244px;padding:17px 15px;display:flex;flex-direction:column;border-color:rgba(146,169,187,.19)}.plan-card.current{border-color:var(--orange);box-shadow:0 12px 28px rgba(255,122,0,.12)}.plan-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:5px}.plan-card h3{font-size:17px;margin:0;font-weight:800}.current-pill{font-size:10px;color:#3ee477;background:rgba(22,115,67,.38);border:1px solid rgba(57,224,109,.45);border-radius:999px;padding:5px 8px;white-space:nowrap}.plan-card p{font-size:12px;line-height:1.42;color:#9eabb6;min-height:52px;margin:7px 0 10px}.plan-features{display:flex;align-items:center;gap:6px;border-bottom:1px solid rgba(146,169,187,.18);padding:0 0 12px;color:#cbd4dc;font-size:12px}.plan-features span{color:var(--orange);font-size:17px}.plan-features b{font-weight:650;margin-right:auto}.plan-price{font-size:13px;color:#aeb8c1;margin:13px 0 12px}.plan-price::first-letter{color:#aeb8c1}.plan-price:not(:first-child){color:var(--orange)}.plan-price span{color:#aeb8c1;margin-right:5px}.plan-button{height:38px;width:100%;border:1px solid rgba(146,169,187,.28);border-radius:8px;background:rgba(31,31,31,.8);color:#d3d9df;font-size:13px;margin-top:auto}
.profile-screen{padding-bottom:96px}.profile-block{border:1px solid rgba(146,169,187,.18);border-radius:14px;background:rgba(8,18,27,.76);padding:15px 14px;margin-bottom:10px}.profile-block-title{font-size:13px;font-weight:750;color:#e5ebef}.profile-details{margin-top:12px}.profile-details>div,.profile-value-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid rgba(146,169,187,.12);font-size:11px}.profile-details>div:last-child{border-bottom:0;padding-bottom:0}.profile-details span,.profile-value-row span{color:#82919d}.profile-details b,.profile-value-row b{font-weight:550;text-align:right;color:#d9e0e5}.profile-help{font-size:10px;color:#7f8e9b;margin-top:4px}.profile-link-row{display:flex;justify-content:space-between;align-items:center}.profile-accent{float:right;color:var(--orange);font-size:10px;font-weight:500}.referral-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.referral-program{border:0;border-radius:8px;background:var(--orange);color:#1a130b;padding:8px 10px;font-size:10px;font-weight:650;white-space:nowrap}.referral-program span{font-size:14px;line-height:0;margin-left:3px}.referral-actions{display:grid;grid-template-columns:1fr auto auto;gap:6px;margin-top:12px}.referral-url{min-width:0;height:34px;border:1px solid rgba(146,169,187,.16);border-radius:8px;background:rgba(17,28,37,.9);display:flex;align-items:center;padding:0 9px;color:#a6b2bc;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.small-orange,.small-dark{height:34px;border:0;border-radius:8px;padding:0 9px;font-size:10px;display:flex;align-items:center;gap:4px}.small-orange{background:var(--orange);color:#1a130b}.small-dark{background:rgba(30,35,39,.9);color:#cbd3d9}.small-orange svg{width:13px;height:13px}.email-block{position:relative}.profile-value-row{border-bottom:0;padding-bottom:3px;margin-top:10px}.profile-value-row em{font-size:9px;font-style:normal;color:#55df83;background:rgba(36,126,76,.3);padding:4px 6px;border-radius:999px;margin-left:5px}.change-password{font-size:10px;color:var(--orange);text-align:right;margin-top:12px}.notification-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid rgba(146,169,187,.1)}.notification-row:last-child{border-bottom:0;padding-bottom:0}.notification-row b,.notification-row small{display:block}.notification-row b{font-size:11px;font-weight:600;color:#dbe2e7}.notification-row small{font-size:9px;color:#7f8e9b;margin-top:3px}.notification-row label{display:flex;align-items:center;gap:6px;color:#87949e;font-size:9px;margin-top:7px}.notification-row select{background:#182631;color:#cbd3d9;border:1px solid rgba(146,169,187,.2);border-radius:6px;font-size:9px;padding:3px 6px}.profile-exit{margin-top:4px}
.referral-screen{padding-bottom:96px}.referral-screen .section-sub{margin:0 0 14px}.referral-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}.referral-stat{padding:11px 9px;min-width:0}.referral-stat span{display:block;color:#7f8e9b;font-size:9px;white-space:nowrap}.referral-stat b{display:flex;align-items:center;gap:4px;margin-top:8px;color:#dce4e9;font-size:13px}.referral-stat b svg{width:14px;height:14px}.referral-stat .positive{color:var(--green)}.referral-stat .accent{color:var(--orange)}.referral-page-block{padding:14px;margin-bottom:10px}.referral-link-item{margin-top:11px}.referral-link-item small{display:block;color:#8998a4;font-size:9px;margin-bottom:5px}.referral-link-item>div{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}.referral-link-item>div>span{min-width:0;height:34px;display:flex;align-items:center;padding:0 8px;border:1px solid rgba(146,169,187,.16);border-radius:8px;background:rgba(17,28,37,.9);color:#a6b2bc;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.referral-page-block .profile-help{line-height:1.4;margin-top:10px}.referral-conditions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.referral-conditions>div{display:flex;flex-direction:column;gap:5px;padding:10px 7px;border-radius:9px;background:rgba(13,28,39,.82);min-width:0}.referral-conditions span{color:var(--orange)}.referral-conditions span svg{width:15px;height:15px}.referral-conditions b{font-size:9px;color:#a1afba;font-weight:500}.referral-conditions strong{font-size:12px;color:#dce4e9}.referral-person{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid rgba(146,169,187,.1)}.referral-person:last-child{border-bottom:0;padding-bottom:0}.referral-person b{display:block;color:#dce4e9;font-size:11px}.referral-person small{display:block;color:#74838f;font-size:9px;margin-top:3px}.referral-person>span{padding:4px 7px;border-radius:999px;background:rgba(77,93,105,.24);color:#a9b4bc;font-size:8px}.referral-person>strong{font-size:11px}.partner-card{display:flex;gap:11px;align-items:flex-start;padding:14px}.partner-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:rgba(255,122,0,.16);color:var(--orange);flex:0 0 auto}.partner-icon svg{width:18px;height:18px}.partner-card b{display:block;font-size:12px;color:#e1e7eb}.partner-card small{display:block;color:#83929d;font-size:9px;line-height:1.35;margin:4px 0 8px}.partner-card .small-orange{height:28px;font-size:9px}.withdrawal-card .profile-block-title svg{width:14px;height:14px;color:var(--orange);vertical-align:-2px;margin-right:3px}.withdrawal-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.withdrawal-grid>div{padding:10px 9px;border-radius:8px;background:rgba(13,28,39,.82)}.withdrawal-grid small,.withdrawal-grid b{display:block}.withdrawal-grid small{font-size:8px;color:#7f8e9b}.withdrawal-grid b{font-size:12px;color:#dce4e9;margin-top:5px}.withdrawal-grid .positive{color:var(--green)}.withdrawal-button{height:38px;margin-top:10px}.withdrawal-card>.profile-help{display:block;margin-top:6px}.withdrawal-empty{text-align:left;min-height:74px}.withdrawal-empty p{font-size:10px;color:#82909a;text-align:center;margin:20px 0 2px}

/* Keep profile details readable alongside the larger server and subscription text. */
.profile-screen .profile-block-title{font-size:14px}
.profile-screen .profile-details>div,
.profile-screen .profile-value-row{font-size:12px}
.profile-screen .profile-details b,
.profile-screen .profile-value-row b{font-size:13px}
.profile-screen .profile-help{font-size:11px;line-height:1.35}
.profile-screen .profile-accent{font-size:11px}
.profile-screen .referral-program{font-size:11px}
.profile-screen .referral-url{font-size:10px}
.profile-screen .small-orange,
.profile-screen .small-dark{font-size:11px}
.profile-screen .profile-value-row em{font-size:10px}
.profile-screen .notification-row b{font-size:12px}
.profile-screen .notification-row small,
.profile-screen .notification-row label,
.profile-screen .notification-row select{font-size:10px}

.subscription-group{position:relative}
.subscription-group .server-row{width:100%;margin:0}
.subscription-group.expired .subscription-status{color:var(--red);background:rgba(255,85,61,.12)}
.subscription-group.expired .subscription-meta{color:#ff8b7d}
.subscription-header{display:flex;align-items:center;gap:6px;padding:0 14px}
.subscription-header-main{min-width:0;flex:1;height:52px;border:0;background:transparent;color:#dfe6eb;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:6px;padding:0;text-align:left}
.subscription-more{width:30px;height:30px;border:0;background:transparent;color:#8997a2;font-size:16px;letter-spacing:1px}
.subscription-menu{position:absolute;z-index:8;top:42px;right:9px;width:205px;padding:7px 0;border:1px solid rgba(146,169,187,.2);border-radius:10px;background:rgba(25,24,31,.98);box-shadow:0 16px 35px rgba(0,0,0,.4);display:none}
.subscription-menu.open{display:block}
.subscription-menu button{width:100%;height:43px;border:0;background:transparent;color:#f1f3f5;display:flex;align-items:center;gap:13px;padding:0 14px;font-size:13px;text-align:left}
.subscription-menu button:hover{background:rgba(255,255,255,.07)}
.subscription-menu button svg{width:17px;height:17px;color:#c8ced5}
.subscription-menu button.danger{border-top:1px solid rgba(146,169,187,.2);color:var(--red);margin-top:5px;padding-top:5px;height:48px}
.subscription-menu button.danger svg{color:var(--red)}
.qr-modal{max-width:360px}
.qr-modal p{margin-bottom:14px}
.qr-wrap{width:190px;height:190px;margin:0 auto 14px;padding:12px;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.28)}
.qr-code{display:block;width:100%;height:100%;shape-rendering:crispEdges}
.qr-url{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:9px 11px;border:1px solid rgba(146,169,187,.2);border-radius:9px;background:rgba(11,24,35,.82);color:#aebbc6;font-size:10px;margin-bottom:16px}
.balance-history{padding:16px;margin-top:14px}.balance-operation{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid rgba(146,169,187,.12);font-size:11px;color:#aab6c1}.balance-operation:last-child{border-bottom:0}.balance-operation b{color:#ff5b4b;font-weight:650}.balance-operation b.positive{color:var(--green)}.topup-screen{padding-bottom:30px}.topup-method-title{font-size:14px;color:#aebbc6;margin:18px 0 10px}.payment-methods{display:grid;gap:10px}.payment-method{width:100%;min-height:72px;display:grid;grid-template-columns:44px 1fr auto;align-items:center;text-align:left;gap:11px;padding:12px 14px;color:#fff;border-radius:14px}.payment-method.selected{border-color:var(--orange);background:rgba(71,42,12,.58);box-shadow:0 0 0 1px rgba(255,122,0,.15)}.payment-icon{width:38px;height:38px;border-radius:11px;background:rgba(255,122,0,.18);display:grid;place-items:center;font-size:18px}.payment-method b,.payment-method small,.payment-selected b,.payment-selected small{display:block}.payment-method b{font-size:14px}.payment-method small,.payment-selected small{font-size:10px;color:#97a6b2;margin-top:4px}.method-check{font-size:18px;color:transparent}.payment-method.selected .method-check{color:var(--orange)}.topup-note{font-size:11px;color:#7f8e9b;margin:14px 2px 18px}.payment-selected{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid rgba(255,122,0,.4);border-radius:14px;background:rgba(65,40,14,.44);margin:16px 0 22px}.payment-selected b{font-size:16px}.amount-input{height:59px;display:flex;align-items:center;border:1px solid var(--orange);border-radius:14px;background:rgba(29,29,29,.9);padding:0 15px;box-shadow:0 0 0 1px rgba(255,122,0,.12)}.amount-input input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#fff;font-size:22px}.amount-input input::placeholder{color:#78838c}.amount-input span{color:#aeb8c1;font-size:16px}.amount-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.amount-option{height:68px;border:1px solid rgba(146,169,187,.2);border-radius:14px;background:rgba(11,24,35,.82);color:#d7dfe5}.amount-option b,.amount-option small{display:block}.amount-option b{font-size:16px}.amount-option small{font-size:10px;color:#7f8e9b;margin-top:4px}.topup-submit{margin-top:18px}
.amount-option.selected{border-color:var(--orange);color:var(--orange);background:rgba(71,42,12,.42)}.payment-ready{margin-top:20px;padding:16px;border:1px solid rgba(34,221,111,.42);border-radius:15px;background:rgba(8,62,39,.48)}.payment-ready-title{font-size:15px;font-weight:750;color:#49e68a}.payment-ready p{font-size:11px;line-height:1.4;color:#a7b8b0;margin:14px 0}.payment-open{height:46px;width:100%;border:0;border-radius:10px;background:#20dc6b;color:#fff;font-weight:750;font-size:14px}.payment-link{height:38px;display:flex;align-items:center;gap:6px;margin-top:14px;padding-left:11px;border:1px solid rgba(146,169,187,.16);border-radius:8px;background:rgba(16,33,29,.82);color:#81958b;font-size:10px;white-space:nowrap;overflow:hidden}.payment-link button{margin-left:auto;height:100%;width:42px;border:0;border-left:1px solid rgba(146,169,187,.12);background:rgba(20,43,36,.9);color:#aabdb3}.payment-link svg{width:16px;height:16px}
.plan-card{position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(18,31,42,.96),rgba(7,17,25,.94));box-shadow:0 14px 28px rgba(0,0,0,.2)}.plan-card:before{content:"";position:absolute;width:150px;height:150px;right:-70px;top:-70px;border-radius:50%;background:rgba(255,122,0,.08);filter:blur(3px)}.plan-card.current{background:linear-gradient(145deg,rgba(57,38,17,.9),rgba(11,24,34,.96));border-width:1.5px}.plan-card-head h3{display:flex;align-items:center;gap:8px;position:relative}.plan-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;color:var(--orange);background:rgba(255,122,0,.14)}.plan-icon svg{width:17px;height:17px}.plan-card p{color:#aab7c1;min-height:0;margin-bottom:15px}.plan-features{position:relative;gap:8px;padding:11px 0;border-top:1px solid rgba(146,169,187,.12)}.traffic-icon{font-size:19px!important;color:#55adff!important;line-height:1}.device-icon-small{display:grid;place-items:center;color:#b7c4ce;margin-left:8px}.device-icon-small svg{width:16px;height:16px}.plan-price{font-size:18px;font-weight:800;color:var(--orange);margin:14px 0}.plan-price span{font-size:11px;font-weight:500}.plan-button{height:42px;border-radius:11px;transition:.18s ease}.plan-button:hover{border-color:var(--orange);color:#fff;background:rgba(255,122,0,.16)}.plan-card .primary{height:42px;border-radius:11px;font-size:13px}

.clean-topbar{display:flex;justify-content:center!important}.clean-topbar .brand-word{width:100%;text-align:center}.protocol-filters{display:flex;gap:8px;overflow:hidden}.protocol-filters .filter-btn{height:38px;padding:0 14px;white-space:nowrap;border-radius:999px}
.server-sort-row{margin:0 0 12px}

#app{opacity:1;transform:translateY(0);transition:opacity .22s ease,transform .22s ease}
#app.screen-enter{animation:screen-enter .34s cubic-bezier(.22,.8,.24,1) both}
.primary,.secondary,.social-btn,.filter-btn,.nav-btn,.icon-btn,.copy-box,.refresh-btn{transition:transform .18s ease,filter .18s ease,background-color .18s ease}
.primary:active,.secondary:active,.social-btn:active,.filter-btn:active,.nav-btn:active,.icon-btn:active,.copy-box:active,.refresh-btn:active{transform:scale(.97);filter:brightness(1.08)}
.splash-logo{animation:splash-logo-in .7s cubic-bezier(.22,.8,.24,1) both}
.dots i{animation:loading-dot 1.2s ease-in-out infinite}
.dots i:nth-child(2){animation-delay:.14s}.dots i:nth-child(3){animation-delay:.28s}
@keyframes screen-enter{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes splash-logo-in{from{opacity:0;transform:scale(.82) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes loading-dot{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}

/* Unified FoxlyVPN Dark button language */
button{border-radius:12px;transition:transform .18s ease,filter .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
button:focus-visible{outline:2px solid var(--orange2);outline-offset:2px}
.primary,.referral-program,.small-orange,.payment-open{background:linear-gradient(135deg,#ff8a1f,#e86a00);border:1px solid rgba(255,181,88,.38);color:#fff4e8;box-shadow:0 8px 20px rgba(245,124,0,.22)}
.primary:hover,.referral-program:hover,.small-orange:hover,.payment-open:hover{filter:brightness(1.08);box-shadow:0 10px 24px rgba(245,124,0,.32)}
.secondary,.small-dark,.plan-button,.social-btn,.copy-box,.refresh-btn,.amount-option,.payment-method{border:1px solid #2b3d4f;background:#202a35;color:#e6edf5;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.secondary:hover,.small-dark:hover,.plan-button:hover,.social-btn:hover,.copy-box:hover,.refresh-btn:hover,.amount-option:hover,.payment-method:hover{border-color:#51677c;background:#263543}
.small-orange{height:34px;padding:0 12px;border-radius:11px;background:#f57c00;color:#fff7ee;box-shadow:0 5px 14px rgba(245,124,0,.2)}
.small-dark{height:34px;padding:0 12px;border-radius:11px}
.referral-program{padding:10px 13px;border-radius:12px;font-size:10px}
.referral-program span{color:#fff}
.copy-box{border-radius:12px}
.inline-danger{border-radius:10px;padding:7px 10px;border:1px solid rgba(255,77,85,.3);background:rgba(255,77,85,.08)}
.toggle{border:0;box-shadow:none}
.nav-btn,.eye-btn{border:0;background:transparent;box-shadow:none}
.nav-btn:hover,.eye-btn:hover{filter:brightness(1.2)}
.modal-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:22px;background:rgba(1,7,12,.72);backdrop-filter:blur(8px);animation:modal-fade-in .2s ease both}
.modal-card{position:relative;width:min(100%,420px);padding:28px 24px 22px;border:1px solid rgba(255,145,38,.42);border-radius:22px;background:linear-gradient(145deg,rgba(23,36,48,.98),rgba(7,17,26,.98));box-shadow:0 24px 80px rgba(0,0,0,.5);text-align:center;animation:modal-rise-in .24s cubic-bezier(.22,.8,.24,1) both}
.modal-close{position:absolute;top:10px;right:12px;width:32px;height:32px;border:0;background:transparent;color:#aab8c4;font-size:27px;line-height:1}
.modal-icon{width:52px;height:52px;margin:0 auto 14px;border:1px solid rgba(255,122,0,.5);border-radius:16px;display:grid;place-items:center;color:var(--orange);background:rgba(255,122,0,.12)}
.modal-icon svg{width:27px;height:27px}
.modal-card h2{margin:0;color:#fff;font-size:21px}.modal-card p{margin:10px auto 22px;max-width:320px;color:#aebbc6;font-size:13px;line-height:1.5}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modal-actions button{height:48px;display:flex;align-items:center;justify-content:center;padding:0 14px}.modal-actions .primary{display:flex}
@keyframes modal-fade-in{from{opacity:0}to{opacity:1}}@keyframes modal-rise-in{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.segment button{border-radius:0}
.icon-btn{border-radius:12px}
.primary:active,.secondary:active,.small-orange:active,.small-dark:active,.referral-program:active,.plan-button:active,.social-btn:active,.copy-box:active,.refresh-btn:active,.amount-option:active,.payment-method:active{transform:scale(.97);filter:brightness(1.08)}
@keyframes connecting-pulse{0%,100%{transform:scale(1);box-shadow:0 0 22px rgba(255,122,0,.52),inset 0 0 20px rgba(255,122,0,.08)}50%{transform:scale(1.035);box-shadow:0 0 38px rgba(255,122,0,.75),inset 0 0 25px rgba(255,122,0,.16)}}
@keyframes connected-glow{0%,100%{box-shadow:0 0 24px rgba(57,224,109,.35),inset 0 0 20px rgba(57,224,109,.06)}50%{box-shadow:0 0 34px rgba(57,224,109,.55),inset 0 0 25px rgba(57,224,109,.12)}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Android WebView resolves local assets from its asset origin explicitly. */
html.android-webview .screen{background-image:linear-gradient(180deg,rgba(3,13,22,.12),rgba(3,13,22,.35)),url('android.resource://com.foxlyvpn.app/drawable/screens_bg')}
html.android-webview .screen.auth{background-image:linear-gradient(180deg,rgba(3,13,22,.2),rgba(3,13,22,.45)),url('android.resource://com.foxlyvpn.app/drawable/auth_bg')}
html.android-webview .splash{background:#06121d url('android.resource://com.foxlyvpn.app/drawable/splash_screen') center/cover no-repeat}

/* Present the prototype as the app itself, without the demonstration phone shell. */
html,body{width:100%;min-height:100%;background:#07131f}
body{overflow:hidden}
body>#app{position:relative;inset:0;width:100%;height:100vh;min-height:100vh}
body>#app>.screen,body>#app>.splash{height:100vh;min-height:100vh}

/* On wider displays, keep the mobile-first layout readable instead of stretching
   controls across the entire monitor. */
@media (min-width:781px){
  body>#app>.screen{
    width:100%;
    margin:0 auto;
    padding:28px max(28px,calc((100vw - 760px)/2)) 108px;
    background-image:
      linear-gradient(180deg,rgba(3,13,22,.42),rgba(3,13,22,.62)),
      url('assets/home-wide.png');
    background-position:center;
    background-size:cover;
  }
  body>#app>.screen.auth{
    padding-bottom:32px;
    background-image:linear-gradient(180deg,rgba(3,13,22,.2),rgba(3,13,22,.45)),url('assets/auth-bg.png');
    background-position:center;
    background-size:cover;
  }
  body>#app>.splash{
    width:min(100%,1100px);
    margin:0 auto;
  }
  body>#app>.screen.home-mountains{
    width:100%;
    max-width:none;
    padding-left:clamp(28px,8vw,140px);
    padding-right:clamp(28px,8vw,140px);
    background-image:url('assets/home-wide.png');
  }
  body>#app>.splash{
    width:100%;
    max-width:none;
    background:#06121d url('assets/splash-wide.png') center/cover no-repeat;
  }
  body>#app>.splash .splash-art{
    display:none;
  }
  body>#app>.splash .splash-loader{
    bottom:clamp(42px,8vh,92px);
  }
}

@media (min-width:1200px){
  body>#app>.screen{
    width:100%;
    padding-left:max(48px,calc((100vw - 900px)/2));
    padding-right:max(48px,calc((100vw - 900px)/2));
  }
  .connect-ring{width:250px;height:250px}
  .power-svg,.power-svg svg{width:82px;height:82px}
  .state-title{font-size:30px}
  .card{border-radius:20px}
  .selected-card,.info-card,.security-card{padding:18px 20px}
}

/* Trial Subscription Offer Card */
.trial-card{text-align:center;padding:24px 18px;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);margin-bottom:14px}
.trial-icon-badge{width:54px;height:54px;margin:0 auto 14px;border-radius:16px;background:rgba(255,122,0,.15);border:1px solid rgba(255,122,0,.35);display:grid;place-items:center;color:var(--orange)}
.trial-icon-badge svg{width:28px;height:28px}
.trial-title{font-size:20px;font-weight:800;color:#fff;margin:0 0 6px;letter-spacing:-.3px}
.trial-sub{font-size:13px;color:#9eabb6;margin:0 0 20px;line-height:1.35}
.trial-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:22px;padding:14px 8px;background:rgba(8,18,27,.65);border-radius:14px;border:1px solid rgba(146,169,187,.12)}
.trial-metric-item b{display:block;font-size:26px;font-weight:850;color:#fff;line-height:1}
.trial-metric-item span{display:block;font-size:11px;color:#8fa0ad;margin-top:4px}
.trial-activate-btn{width:100%;height:52px;border-radius:14px;font-size:15px;font-weight:750;margin-bottom:12px}
.trial-view-plans-btn{width:100%;height:50px;border:1px solid var(--orange);background:transparent;color:var(--orange);border-radius:14px;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px;transition:background .15s ease}
.trial-view-plans-btn:active{background:rgba(255,122,0,.12)}

