:root{color-scheme:dark;--bg:#000;--card:#2b2b2d;--text:#f6f6f7;--muted:#929294;--accent:#9680d8;--line:#4a4a4c;--selected:#393644;--gutter:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b7a0f0;outline-offset:4px}button:active:not(:disabled){filter:brightness(.9)}h1,h2,p{margin:0}h1{font-size:25px;line-height:1.2;letter-spacing:-.7px;font-weight:700}p{line-height:1.5}small{display:block}img{max-width:100%}.icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}#app{max-width:440px;min-height:100dvh;margin:auto;position:relative}main{padding:30px var(--gutter) 130px;min-height:calc(100dvh - 77px)}.preview-header{height:77px;display:flex;align-items:center;justify-content:space-between;padding:9px 14px;background:var(--bg);position:relative;z-index:5;gap:8px}.preview-header>button{font-size:16px;padding:5px 0;white-space:nowrap}.preview-header>div{text-align:center;min-width:0}.preview-header strong{font-size:16px;white-space:normal;line-height:1.2}.preview-header small{font-size:13px;color:var(--muted);margin-top:1px}.preview-header .more{font-size:12px;border:1.5px solid currentColor;border-radius:50%;width:21px;height:21px;letter-spacing:0;line-height:10px;flex-shrink:0;padding:0}.primary{border-radius:18px;min-height:53px;padding:15px 17px;width:100%;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--accent);color:#fff;font-weight:650;font-size:16px;line-height:1.35}.primary .icon{width:20px;height:20px}.primary:disabled{background:#473a63;color:#8e8797}.secondary{border-radius:15px;background:var(--card);padding:14px;width:100%;margin-top:10px}.text-button{color:var(--accent);padding:10px 0;font-weight:600}.icon-button{padding:8px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);border-radius:10px}.icon-button .icon{width:21px;height:21px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:440px;height:94px;padding:14px 14px max(20px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);background:var(--bg);z-index:10}.bottom-nav button{display:flex;align-items:center;flex-direction:column;justify-content:flex-start;gap:6px;color:var(--muted);font-size:12px;padding:4px 0}.bottom-nav .icon{width:23px;height:23px}.bottom-nav button.active{color:var(--accent)}
.home{padding-top:0}.hero{position:relative;text-align:center;padding:29px 10px 25px;isolation:isolate}.hero:before{content:"";position:absolute;z-index:-1;inset:0 calc(-1 * var(--gutter));background:radial-gradient(ellipse at 40% 22%,#211b32 0%,#14111e 38%,#000 78%)}.brand-logo{width:218px;height:145px;object-fit:contain;border-radius:12px;display:block;margin:6px auto 39px}.subscription-state{font-size:15px;letter-spacing:.1px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:650;margin-bottom:15px;line-height:1.4}.subscription-state i{width:8px;height:8px;background:#43d6b1;border-radius:50%;flex-shrink:0}.hero p{color:var(--muted);font-size:14px;line-height:1.5;max-width:340px;margin:auto}.home>.primary{min-height:57px}.home-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.tile{position:relative;min-height:177px;padding:17px 16px;border-radius:19px;border:1px solid #515154;text-align:left;overflow:hidden;background:linear-gradient(145deg,#292a2d,#2b2b2d);box-shadow:inset 0 0 1px #a5a5a5}.tile strong{display:block;font-size:16px;line-height:1.35;position:relative;z-index:1;white-space:nowrap}.tile small{font-size:13px;color:var(--muted);line-height:1.35;margin-top:7px;position:relative;z-index:1}.tile img{position:absolute;width:100px;right:8px;bottom:21px}.tile img.devices-art{width:116px;right:7px;bottom:19px}.tile .tile-arrow{position:absolute;left:17px;bottom:19px;color:#999;width:20px;height:20px}
.page-heading{margin:4px 0 22px}.page-heading p{color:var(--muted);font-size:14px;margin-top:11px;line-height:1.5}.centered{text-align:center;margin:13px 0 30px}.centered h1{font-size:26px}.centered p{margin:14px auto 0}.target-list{display:flex;flex-direction:column;gap:12px}.target-card{background:var(--card);border:1px solid #4b4b4d;border-radius:19px;min-height:114px;padding:24px 18px;text-align:left;position:relative;display:flex;align-items:center;box-shadow:inset 0 0 1px #aaa}.target-card.selected{background:var(--selected);border:2px solid var(--accent);padding:23px 17px;box-shadow:0 0 0 .5px var(--accent)}.target-card strong{font-size:17px;position:relative;z-index:1}.target-card small{font-size:13px;color:var(--muted);margin-top:9px;position:relative;z-index:1}.target-card img{position:absolute;right:9px;top:5px;width:96px;height:102px;object-fit:contain}.target-card:last-child img{width:113px;right:8px}.setup-button{margin-top:23px}.setup-button .icon{margin-left:5px}.subscription-required{color:var(--muted);font-size:14px;margin:20px 0 13px}
.card{background:var(--card);border-radius:19px;border:1px solid #505052;box-shadow:inset 0 0 1px #777}.capacity{padding:25px 20px 21px}.capacity p{font-size:13px;color:var(--muted)}.capacity-number{font-size:34px;margin-top:9px;font-weight:500;line-height:1.2}.capacity-number span{font-size:12px;color:var(--muted);margin-left:5px;font-weight:400}.progress{height:4px;border-radius:3px;background:#414144;margin:34px 0 25px;overflow:hidden}.progress span{display:block;background:var(--accent);width:0;height:100%;border-radius:3px}.section-label{font-size:13px;color:var(--muted);font-weight:500;margin:22px 4px 12px;line-height:1.35}.devices>.section-label{margin:21px 0 14px;font-size:14px}.device-card{display:flex;align-items:center;gap:10px;padding:16px 12px;min-height:98px}.device-icon{height:49px;width:43px;border-radius:14px;background:#383442;color:var(--accent);display:flex;align-items:center;justify-content:center;flex-shrink:0}.device-icon .icon{width:22px;height:22px}.device-info{min-width:0;flex:1}.device-info h2{font-size:15px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.4}.device-info p,.device-info small{font-size:12px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-info small{margin-top:9px}.device-card>.icon-button{padding:6px;flex-shrink:0}.device-card>.icon-button .icon{width:18px;height:18px}.device-note{font-size:13px;color:var(--muted);border-top:1px solid #151515;margin-top:14px;padding-top:0;line-height:1.4}.device-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.profile{padding-top:4px}.identity{display:flex;align-items:center;gap:13px;margin-bottom:24px}.avatar{width:49px;height:49px;border-radius:15px;background:linear-gradient(145deg,#315179,#142331);font-size:27px;font-weight:600;display:flex;align-items:center;justify-content:center;color:#bedbf1}.identity h1{font-size:20px;font-weight:500;letter-spacing:0}.identity p{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted);margin-top:6px}.identity p .icon{width:14px;height:14px;color:var(--accent)}.copy-id{margin-left:auto}.menu-card{border-radius:17px;background:var(--card);overflow:hidden}.menu-row{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:15px 18px;min-height:64px}.menu-row>.icon{width:21px;height:21px;color:var(--accent)}.menu-row strong{font-size:16px;font-weight:500;line-height:1.35;display:block}.menu-row small{font-size:13px;color:var(--muted);margin-top:5px;line-height:1.35}.menu-row em{color:#d77d8d;font-style:normal}.referral{margin-top:18px}.profile .section-label{font-weight:600;margin-top:20px}.profile .menu-row+.menu-row{padding-top:12px}.profile .menu-row{padding-top:15px;padding-bottom:15px}
.light{color-scheme:light;--bg:#fff;--text:#080808;--muted:#929292;--accent:#965dce;--card:#f2f0f4;--selected:#f1eaf8;--line:#ccc}.subscription{padding-top:0;padding-bottom:max(22px,env(safe-area-inset-bottom))}.checkout-header{display:flex;align-items:center;justify-content:space-between;height:45px;margin:0 2px 24px}.checkout-header strong{font-size:15px;font-weight:600}.checkout-header>.icon{color:var(--muted);width:22px;height:22px}.checkout-header .icon-button{color:var(--text);padding:5px}.subscription h1{font-size:27px;margin:0 0 23px}.plan-summary{border:1px solid #ccc;border-radius:13px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;min-height:64px}.plan-summary strong{font-size:15px;font-weight:650}.plan-summary small{color:var(--muted);font-size:13px;margin-top:6px}.plan-summary button{font-size:12px;color:var(--muted);padding:5px 0 5px 8px}fieldset{padding:0;border:0;margin:0;min-width:0}legend{padding:0;font-size:14px;margin-bottom:12px}.term{border:1px solid #ccc;border-radius:14px;width:100%;display:flex;justify-content:space-between;align-items:center;padding:18px 16px;min-height:65px;margin-bottom:9px}.term.selected{border:2px solid var(--accent);padding:17px 15px;background:var(--selected);box-shadow:0 0 0 .3px var(--accent)}.term strong{font-size:16px;font-weight:650}.term b{font-size:24px;letter-spacing:-.7px}.payment-field{margin-top:12px}.payment-field legend{color:var(--muted);font-weight:650;display:flex;align-items:center;gap:12px;margin-bottom:12px;padding-left:5px}.payment-field legend .icon{width:18px;height:18px;color:#89a8ea}.payment-methods{display:flex;flex-wrap:wrap;gap:8px}.payment-method{display:flex;align-items:center;gap:8px;border:1px solid #ccc;border-radius:11px;padding:12px 11px;font-size:14px;font-weight:700;white-space:nowrap;min-height:45px}.payment-method.selected{border:2px solid var(--accent);padding:11px 10px;background:var(--selected);box-shadow:0 0 0 .4px var(--accent)}.payment-method .icon{width:18px;height:18px}.payment-method:disabled{opacity:.4}.totals{margin:16px 0 17px;font-size:14px}.totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.totals dt{color:var(--muted)}.totals dd{margin:0}.totals .total-due{border-top:1px solid #ccc;padding-top:19px;margin-top:15px;margin-bottom:0}.total-due dd{font-size:27px;font-weight:750;letter-spacing:-.7px}.pay-button{border-radius:14px;justify-content:space-between;padding:16px 18px;font-size:17px;min-height:53px}.pay-button .icon{width:22px;height:22px}
dialog{color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:24px;padding:24px;width:calc(100% - 28px);max-width:410px;max-height:85dvh;overflow:auto;box-shadow:0 16px 80px #0008}dialog::backdrop{background:#000a;backdrop-filter:blur(6px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.modal-heading h2{font-size:22px;letter-spacing:-.4px;line-height:1.2}.modal-heading .icon-button{padding:4px}.modal-heading .icon{width:20px;height:20px}dialog p{font-size:14px;line-height:1.55;margin-bottom:17px}dialog .primary{font-size:15px;border-radius:14px;min-height:49px}dialog input{background:var(--card);border:1px solid var(--line);border-radius:12px;color:var(--text);width:100%;padding:14px 12px;margin:8px 0 18px;min-width:0}dialog label{font-size:13px;color:var(--muted)}.muted{color:var(--muted)}.small-text{font-size:12px!important;margin-top:14px;margin-bottom:14px!important}.payment-illustration{width:72px;height:72px;border-radius:22px;margin:10px auto 22px;background:var(--selected);display:flex;align-items:center;justify-content:center;color:var(--accent)}.payment-illustration .icon{width:36px;height:36px}.danger{background:#c8586c}.empty{text-align:center;padding:22px 16px}.empty>.icon{color:var(--accent);width:32px;height:32px;margin-bottom:12px}.empty h2{font-size:18px;margin-bottom:10px}.empty p{color:var(--muted);font-size:14px}.transactions article{padding:14px 0;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.transactions article strong{font-size:14px}.transactions article small{font-size:11px;color:var(--muted);margin-top:7px}.transactions article b{font-size:14px}.transactions .text-button{width:100%;text-align:left;padding-bottom:0}.platforms{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:23px}.platforms button{border:1px solid var(--line);border-radius:9px;padding:8px 10px;font-size:12px}.platforms .selected{border-color:var(--accent);color:var(--accent);background:var(--selected)}.steps{padding-left:22px;font-size:14px}.steps li{padding-left:4px;margin-bottom:19px}.steps p{color:var(--muted);margin-top:6px;font-size:13px}.steps li::marker{color:var(--accent)}#toast{position:fixed;bottom:110px;left:50%;transform:translate(-50%,10px);background:#ece9f5;color:#272332;box-shadow:0 3px 25px #0003;font-size:13px;line-height:1.4;max-width:370px;width:max-content;max-width:min(370px,calc(100% - 32px));padding:13px 18px;border-radius:14px;z-index:100;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}#toast.visible{opacity:1;transform:translate(-50%,0)}.loading,.error-screen{padding:100px 25px;text-align:center}.loading img{margin-bottom:25px;object-fit:contain;border-radius:12px}.loading p,.error-screen p{color:var(--muted);font-size:14px;margin:20px 0}.error-screen>.icon{color:var(--accent);width:50px;height:50px;margin-bottom:20px}.error-screen h1{font-size:24px}.telegram main{min-height:100dvh;padding-top:max(30px,var(--tg-content-safe-area-inset-top,0px))}.telegram .home{padding-top:0}.telegram .profile{padding-top:4px}.telegram .subscription{padding-top:0}
.tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.tile img{bottom:22px}.tile img.devices-art{bottom:20px}.bottom-nav{padding-bottom:max(20px,env(safe-area-inset-bottom))}.telegram .bottom-nav{height:calc(74px + max(20px,var(--tg-content-safe-area-inset-bottom,0px)));padding-bottom:max(20px,var(--tg-content-safe-area-inset-bottom,0px))}
@media(min-width:600px){body{background:#101012}#app{background:var(--bg);box-shadow:0 0 80px #0005}.light body{background:#efedf2}.bottom-nav{border-top:1px solid #151515}}@media(max-width:359px){:root{--gutter:16px}.preview-header strong{font-size:13px}.preview-header>button{font-size:14px}.preview-header small{font-size:11px}.tile{padding:15px 12px}.tile strong{font-size:14px}.tile small{font-size:12px}.target-card strong{font-size:15px}.target-card small{font-size:11px}.target-card img{opacity:.8;width:80px}.target-card:last-child img{width:95px}.payment-method{font-size:12px;padding:11px 9px}.payment-method.selected{padding:10px 8px}.device-card{gap:6px;padding:14px 9px}.device-info h2{font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
