@font-face{font-family:Manrope;src:url('/assets/manrope-cyrillic.woff2') format('woff2');font-style:normal;font-weight:400 800;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:Manrope;src:url('/assets/manrope-latin.woff2') format('woff2');font-style:normal;font-weight:400 800;font-display:swap;unicode-range:U+0000-024F,U+2000-206F,U+20AC,U+2122}
/* Consistent StealthCat dark surface, including Telegram's light host theme. */
:root{color-scheme:dark;--bg:#0e0c13;--surface:#18121f;--card:#21172d;--text:#faf7ff;--muted:#bcb0ca;--line:#513561;--accent:#d0a0ff;--success:#a2e2c0;font-family:Manrope,Arial,sans-serif}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;min-width:280px;background:radial-gradient(ellipse at 80% 5%,#69299f1c,transparent 38%),var(--bg);color:var(--text);font:13px/1.75 Manrope,Arial,sans-serif;-webkit-font-smoothing:antialiased}::selection{background:#753aab;color:white}a{color:inherit;text-decoration:none}button,select,input{font:inherit;color:inherit}button,a,select,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button,summary,select{cursor:pointer}button{border:0}h1,h2,p{margin:0}svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}img{display:block;max-width:100%;height:auto}[hidden]{display:none!important}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid #ddb9ff;outline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.setup-shell{width:min(488px,calc(100% - 40px));margin:auto;padding-top:max(12px,env(safe-area-inset-top,0px),var(--tg-content-safe-area-inset-top,0px));padding-bottom:max(20px,env(safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px));}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:59px;border-bottom:1px solid #a978ce26}.brand{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:22px;font-weight:750;letter-spacing:-1px}.brand>img{width:32px;height:32px;object-fit:contain}.brand>span>span{color:var(--accent)}.help-link{display:inline-flex;align-items:center;gap:7px;color:#d7b5f0;font-size:10px;min-height:44px}.help-link>span{font-size:15px;color:#c68ef5}
.heading{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:35px 0 30px;isolation:isolate}.heading-copy{position:relative;z-index:1}.eyebrow{display:flex;align-items:center;gap:8px;color:#c3a0dd;font-size:8px;font-weight:600;letter-spacing:1.4px;margin-bottom:16px}.eyebrow>span{width:16px;height:1px;background:#c18aee}h1{font-size:36px;line-height:1.17;font-weight:600;letter-spacing:-1.8px}h1>span{color:#c291ff}.hero-description{font-size:12px;line-height:1.85;color:var(--muted);margin-top:15px}.brand-emblem{position:relative;display:grid;place-items:center;width:136px;height:136px;flex-shrink:0;isolation:isolate;margin-right:-5px}.brand-emblem::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(circle,#8e42d954,transparent 70%)}.brand-emblem>img{width:116px;height:116px;object-fit:contain;filter:drop-shadow(0 0 14px #934ce029)}.cat-orbit{position:absolute;inset:0;border:1px solid #aa68df65;border-radius:50%;z-index:-1}.cat-orbit::after{content:'';position:absolute;inset:17px;border:1px solid #894daf3b;border-radius:50%}.cat-orbit::before{content:'';width:4px;height:4px;position:absolute;top:18px;left:18px;border-radius:50%;background:#d7a1ff;box-shadow:0 0 10px #aa66df}
.device{display:flex;align-items:center;gap:12px;min-height:77px;padding:13px 16px;background:linear-gradient(105deg,#2d1d3d,#21162f);border:1px solid #6c4787;border-radius:10px;margin-bottom:22px}.device-icon{display:grid;place-items:center;width:37px;height:39px;border:1px solid #8c59af;background:#482762;border-radius:8px;color:#ddb6ff;flex-shrink:0}.device-icon svg{width:20px;height:20px}.device-choice{flex:1;min-width:0}.device label{font-size:9px;display:block;color:#bda5ce;line-height:1.4}.device select{display:block;min-width:0;width:100%;min-height:32px;border:0;background:transparent;padding:0 18px 0 0;color:#f3e8ff;font-size:14px;font-weight:600}.device option{background:#261a32;color:#f3e8ff}.detection-label{font-size:8px;color:#bc9cd2;white-space:nowrap}
.step{position:relative;padding:23px 23px 16px;background:linear-gradient(130deg,#251b30,#19131f);border:1px solid #51365f;border-radius:13px;overflow:hidden}.step-two{background:radial-gradient(ellipse at 100% 0%,#703a9e25,transparent 70%),#21152d;border-color:#8854ab;transition:border-color .2s,box-shadow .2s}.step-two::before{content:'';position:absolute;height:1px;top:0;left:20%;width:60%;background:linear-gradient(90deg,transparent,#c48eec90,transparent)}.step-eyebrow{display:flex;align-items:center;gap:10px;font-size:8px;letter-spacing:1.7px;color:#c8a6dd;line-height:1}.step-number{display:grid;place-items:center;width:28px;height:28px;border:1px solid #9060b5;background:#422453;border-radius:6px;font-size:9px;letter-spacing:.5px;color:#e6c4ff;font-weight:650}.step-icon{margin-left:auto;color:#bf8ade}.step-icon svg{width:20px;height:20px}.step-heading{margin:19px 0 19px}h2{font-size:23px;line-height:1.3;font-weight:550;letter-spacing:-.7px}.step-heading>p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:9px}.button{display:flex;align-items:center;justify-content:center;gap:15px;width:100%;min-height:51px;padding:12px 15px;border:1px solid #aa75dc;border-radius:8px;background:linear-gradient(115deg,#8042e4,#692cbf);color:white;font-weight:650;font-size:13px;line-height:1.6;text-align:center;box-shadow:inset 0 1px #e0c0ff20,0 5px 22px #7430bd24;transition:filter .15s,transform .15s}.button>svg{width:17px;height:17px}.button:not(:disabled):active{transform:scale(.985)}.button:disabled{opacity:.5;cursor:wait;box-shadow:none}.install-details{margin-top:7px}.install-details summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;gap:10px;list-style:none;font-size:10px;color:#c4afda;cursor:pointer}.install-details summary::-webkit-details-marker{display:none}.install-details summary span{font-size:17px;color:#c38ee9;transition:transform .15s}.install-details[open] summary span{transform:rotate(45deg)}.install-details p{font-size:11px;color:var(--muted);line-height:1.9;padding-bottom:12px}.alternative-links{display:grid;gap:7px;margin-bottom:10px}.alternative-links a{min-height:42px;padding:10px 12px;border:1px solid #654778;background:#30203d;border-radius:6px;color:#dec0f6;font-size:11px}.ready-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;background:none;padding:7px 0;color:#d4a6fb;font-size:11px;border-top:1px solid #78509030;margin-top:4px}.step-connector{position:relative;width:1px;height:31px;margin:auto;background:#684281}.step-connector>span{position:absolute;inset:0;background:#c483ff;transform:scaleY(0);transform-origin:top;transition:transform .25s}.step-connector>b{position:absolute;top:4px;left:50%;transform:translateX(-50%);background:var(--bg);color:#b27ad7;width:21px;height:23px;text-align:center;font-size:15px;font-weight:400;line-height:23px}.step-two-ready .step-connector>span{transform:scaleY(1)}.step-two-ready .step-connector>b{color:#e2b8ff}.step-two-ready .step-two{border-color:#c28aee;box-shadow:0 0 0 1px #a858e627,0 8px 35px #7430bd1b}.step-extras{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:45px;margin-top:7px}.status{font-size:10px;line-height:1.8;color:var(--success)}.status[data-state=info]{color:#bdabca}.status[data-state=error]{color:#fac4a0}.copy-button{display:inline-flex;align-items:center;gap:6px;min-height:44px;flex-shrink:0;padding:5px 0 5px 5px;background:none;color:#d2a8ef;font-size:10px}.copy-button svg{width:14px;height:14px}.connection-note{display:flex;gap:13px;align-items:center;padding:20px 4px 24px}.power-icon{display:grid;place-items:center;width:37px;height:37px;border:1px solid #79509d;border-radius:50%;background:#362149;color:#dcb0ff;flex-shrink:0}.power-icon svg{width:18px;height:18px}.connection-note p{font-size:11px;line-height:1.9}.connection-note strong{display:block;color:#e2cfee;font-weight:600}.connection-note p>span{display:block;font-size:10px;color:#b7a3c5;margin-top:3px}footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:15px;border-top:1px solid #8b5eac30;color:#aa94bc;font-size:9px}footer a{display:flex;align-items:center;min-height:44px;color:#c8a8e1}.notice{padding:13px 15px;border:1px solid #795393;border-radius:9px;background:#30203e;margin-bottom:18px;color:#dcc5ed;font-size:11px;line-height:1.9}.notice a{color:#e7c5ff;text-decoration:underline;text-underline-offset:3px}.toast{position:fixed;left:50%;bottom:max(22px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:20;padding:13px 17px;max-width:calc(100% - 32px);width:max-content;background:#372248;border:1px solid #a96bcd;border-radius:9px;box-shadow:0 10px 35px #0008;color:#f6e6ff;font-size:11px;opacity:0;pointer-events:none;transition:opacity .15s}.toast.visible{opacity:1}
.redirect-shell .heading{display:block;margin-top:35px}.redirect-shell .heading h1{font-size:36px}.redirect-shell .heading>p:not(.eyebrow){font-size:12px;line-height:1.9;color:var(--muted);margin-top:17px}.redirect-symbol{display:grid;place-items:center;width:56px;height:56px;border:1px solid #955eb9;border-radius:14px;background:#432559;color:#dcadff;margin-top:30px}.redirect-symbol svg{width:27px;height:27px}.redirect-card .status{margin-top:12px}.redirect-card .copy{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;font-size:11px;background:none;border:0;color:#d6a9f6;padding:8px 0}.manual-link{display:block;background:#100b17;border:1px solid #754c93;padding:13px;border-radius:7px;margin:10px 0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:11px;user-select:all}.redirect-shell footer{margin-top:32px}.redirect-shell>.button{margin-top:20px}
@media(hover:hover) and (pointer:fine){.button:not(:disabled):hover{filter:brightness(1.08)}.help-link:hover,.ready-button:hover,.copy-button:hover{color:#f1d7ff}}
@media(prefers-reduced-motion:no-preference){.heading{animation:enter .55s cubic-bezier(.22,1,.36,1) both}.device{animation:enter .45s cubic-bezier(.22,1,.36,1) .06s both}.step{animation:enter .5s cubic-bezier(.22,1,.36,1) .12s both}.step-two{animation-delay:.2s}@keyframes enter{from{opacity:.3;transform:translateY(10px)}to{opacity:1;transform:none}}}
@media(min-width:700px){.setup-shell{padding-top:30px}.heading{margin-top:40px;margin-bottom:34px}.step{padding:27px 26px 19px}h1{font-size:39px}.brand-emblem{width:145px;height:145px}.brand-emblem>img{width:125px;height:125px}footer{padding-bottom:10px}}
@media(max-width:420px){.setup-shell{width:calc(100% - 36px)}.heading{margin-top:29px;gap:6px}.heading-copy{min-width:0}h1{font-size:31px;letter-spacing:-1.5px}.brand-emblem{width:96px;height:96px;margin-right:-3px}.brand-emblem>img{width:82px;height:82px}.cat-orbit::after{inset:13px}.cat-orbit::before{top:12px;left:12px}.hero-description{font-size:11px;margin-top:13px}.eyebrow{font-size:7px;margin-bottom:14px;letter-spacing:1.2px}.device{gap:10px;padding:13px 13px;margin-bottom:20px}.device select{font-size:13px}.detection-label{font-size:7px}.device-icon{width:33px;height:37px}.step{padding:21px 19px 14px}.step-heading{margin-top:17px;margin-bottom:18px}h2{font-size:22px}.step-heading>p{font-size:11px}.step-eyebrow{font-size:7px;letter-spacing:1.5px}.button{min-height:50px;font-size:12px}.step-extras{gap:8px}.status,.copy-button{font-size:9px}.step-connector{height:29px}.connection-note{gap:11px;padding-top:19px}.connection-note p{font-size:10px}.connection-note p>span{font-size:9px}.power-icon{width:34px;height:34px}footer{font-size:8px;gap:10px}.redirect-shell .heading h1{font-size:31px}}
@media(max-width:350px){.setup-shell{width:calc(100% - 28px)}.brand{font-size:20px;gap:5px}.brand>img{width:28px;height:28px}.help-link{font-size:9px}.heading{gap:0}h1{font-size:28px;letter-spacing:-1.5px}.brand-emblem{width:78px;height:78px}.brand-emblem>img{width:66px;height:66px}.eyebrow{font-size:6px;letter-spacing:1px}.hero-description{font-size:10px}.device{padding:12px 11px}.device select{font-size:12px}.detection-label{display:none}.step{padding:20px 16px 13px}h2{font-size:21px}.step-heading>p{font-size:10px}.step-extras{align-items:flex-start}.status{padding-top:10px}.copy-button{font-size:9px}.ready-button{font-size:10px}.install-details summary{font-size:10px}.button{font-size:11px}.connection-note p>span{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.button:active{transform:none!important}}

/* Softer surfaces, consistently rounded at every viewport size. */
.subscription-card{border-radius:28px;border-color:#b580db85}.step{border-radius:26px}.step:not(.step-two):not([data-ready=true]){border-color:#9d70b844}.button{border-radius:16px}.device,.device-picker{border-radius:24px}.device-icon,.step-number{border-radius:12px}.status-pill{border-radius:100px;padding-left:11px;padding-right:11px}.link-field,.manual-link,.copy-fallback input{border-radius:14px}.notice,.connection-hint,.step-content .action-feedback{border-radius:18px}.downloads a,.alternative-links a{border-radius:13px}.header .support-link{border-radius:100px}.toast{border-radius:20px}.copy-fallback{border-radius:26px}.error-shell{border-radius:28px}#qr-dialog{border-radius:28px}#qr-dialog .dialog-close{border-radius:50%;width:44px;height:44px}.redirect-symbol{border-radius:20px}