/* One-screen PRISM cabinet. Local Cyrillic fonts, no external font services. */
:root{--bg:#0b0b10;--surface:#1b1722;--muted:#a9a1b6;--primary:#c18ce9;--line:#ffffff12;font-family:Onest,sans-serif;font-size:16px}
html,body{height:100%;overflow:hidden;background:#0b0b10}body{margin:0}.client-shell{width:100%;max-width:600px!important;margin:0 auto;height:var(--app-height,100dvh)!important;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 100% 0%,#25152d55,transparent 55%),#0b0b10;font-family:Onest,sans-serif}
body:has(.demo-banner) .client-shell{height:calc(var(--app-height,100dvh) - 30px)!important}.demo-banner{height:30px;box-sizing:border-box;padding:6px;font-size:10px}
.client-shell .topbar{position:relative;flex:0 0 64px;min-height:0;padding:12px 18px;display:flex;align-items:center;background:#0d0c1288;border-bottom:1px solid #ffffff09}.client-shell .brand img{width:31px;height:35px}.client-shell .brand-copy strong{font:650 17px/1.2 Unbounded,sans-serif;letter-spacing:-.6px}.client-shell .brand-copy small,.client-shell .topbar .avatar{display:none}.client-shell .balance-chip{font:650 14px/1.2 Manrope,sans-serif;min-height:34px;padding:7px 9px;border-radius:12px;gap:6px}.client-shell .balance-chip .icon{width:18px;height:18px}
.client-shell #content{flex:1;min-height:0;overflow:hidden!important;padding:16px 18px 12px;scrollbar-gutter:auto}.client-shell .view-page{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px;font-family:Onest,sans-serif}.client-shell h1{font:600 clamp(23px,6.2vw,30px)/1.2 Unbounded,sans-serif!important;letter-spacing:-1px!important;margin:0}.client-shell h2{font:650 19px/1.3 Onest,sans-serif!important;letter-spacing:-.3px}.client-shell .page-head{margin:0!important;flex-shrink:0}.client-shell .page-head p{font:400 14px/1.45 Onest,sans-serif;margin-top:7px;color:#aaa0b8}.client-shell strong{font-family:Onest,sans-serif;letter-spacing:-.3px}.client-shell small{color:#afa5bc}.client-shell .back{min-height:24px!important;font:500 13px/1.2 Onest,sans-serif!important;margin:0!important}.client-shell .button{min-height:46px!important;padding:10px 12px;font:650 16px/1.25 Onest,sans-serif!important;border-radius:14px}.client-shell .button.primary{background:linear-gradient(110deg,#b36be3,#8647b7)}.client-shell .button.secondary{background:linear-gradient(135deg,#2b2235,#1c1724);border:1px solid #ba8ada40}.client-shell .panel{padding:18px!important;border-radius:20px!important}.client-shell .help{font:400 14px/1.5 Onest,sans-serif}.client-shell .bottom-nav{position:relative!important;bottom:auto;flex:0 0 auto;min-height:68px;padding:6px 10px max(7px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #ffffff0a;gap:5px;background:#0d0c12}.client-shell .bottom-nav button{min-height:54px;font:500 11px/1.25 Onest,sans-serif;gap:5px;border-radius:15px}.client-shell .bottom-nav button.active{background:linear-gradient(145deg,#35243f,#21172c);color:#e1b2ff}.client-shell .bottom-nav .icon{width:23px;height:23px}
.client-shell .view-home .home-dashboard,.client-shell .view-home .home-dashboard.has-subscriptions{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;gap:11px;padding:0;margin:0;max-width:none;overflow:hidden}.client-shell .home-dashboard>*{flex-shrink:0}.client-shell .dashboard-title{margin:0}.client-shell .dashboard-title h1{font-size:clamp(21px,5.7vw,27px)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-shell .subscription-tabs{margin:0;min-height:29px;gap:7px;overflow-x:auto;scrollbar-width:none}.client-shell .subscription-tabs button{min-height:29px;padding:5px 12px;font:500 12px/1.3 Onest,sans-serif;border-radius:10px}.client-shell .home-dashboard.has-subscriptions .access-summary{flex:1;min-height:150px;max-height:225px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:17px 20px;border-radius:22px;border:1px solid #b484d250;background:radial-gradient(ellipse at 100% 0%,#71409433,transparent 65%),linear-gradient(140deg,#251c30,#151219);box-shadow:none}.client-shell .access-summary .eyebrow{font:600 14px/1.3 Onest,sans-serif;letter-spacing:0;text-transform:none;color:#e6dced}.client-shell .access-summary .badge{font:550 11px/1.2 Onest,sans-serif;padding:5px 8px;border-radius:9px}.client-shell .home-dashboard.has-subscriptions .days-summary{margin:4px 0 0;padding:0;text-align:left}.client-shell .days-summary strong{font:650 clamp(27px,7.4vw,39px)/1.2 Manrope,sans-serif!important;letter-spacing:-1.4px!important;white-space:nowrap}.client-shell .access-summary>.expiry-line{padding:0;margin:0!important;align-self:flex-start;justify-content:flex-start;border:0;background:none;gap:6px;font:400 14px/1.3 Onest,sans-serif}.client-shell .access-summary>.expiry-line strong{font:650 14px/1.3 Onest,sans-serif}.compact-traffic{margin-top:8px;border-top:1px solid #b58bc329;padding-top:9px}.compact-traffic>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:13px}.compact-traffic>div:first-child strong{font-size:14px;color:#ead8f8}.compact-traffic>.row small{font-size:11px}.client-shell .access-summary .progress{height:7px;flex:none;margin:6px 0 2px}.client-shell .home-dashboard.has-subscriptions .dashboard-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.client-shell .home-dashboard.has-subscriptions .dashboard-action{height:96px;min-height:0;gap:5px;padding:12px 10px;border-radius:20px;justify-content:center}.client-shell .home-dashboard.has-subscriptions .dashboard-action>.icon{width:27px;height:27px}.client-shell .dashboard-action strong{font:650 18px/1.2 Onest,sans-serif}.client-shell .dashboard-action span{font:400 12px/1.3 Onest,sans-serif;color:#afa5ba}.client-shell .dashboard-balance.wallet-compact{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;padding:0;margin:0;border:0;background:none;height:100px;flex-shrink:0}.client-shell .wallet-column,.client-shell .wallet-column+.wallet-column{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin:0;padding:10px;background:linear-gradient(140deg,#221b2c,#17131f);border:1px solid #b187cf2d;border-radius:19px;min-width:0}.client-shell .wallet-column>small{font:500 12px/1.2 Onest,sans-serif;color:#b8aec4}.client-shell .wallet-column>strong{font:700 25px/1.2 Manrope,sans-serif;letter-spacing:-.7px}.client-shell .wallet-column>.button{width:100%;min-height:30px!important;height:30px;padding:5px 8px;border-radius:10px;font:600 12px/1.2 Onest,sans-serif!important;gap:5px}.client-shell .wallet-column .icon{width:15px;height:15px}.offer-caption{font:550 11px/1.3 Onest,sans-serif;color:#d9a5f8;display:block}.client-shell .trial-card{padding:22px;display:flex;flex-direction:column;gap:9px;flex:1;justify-content:center;min-height:0}.client-shell .trial-card h2{font-size:25px!important}
.client-shell .large-entry{width:100%;min-height:76px;padding:15px 17px;border-radius:19px;gap:14px}.client-shell .large-entry strong{font:650 17px/1.25 Onest,sans-serif}.client-shell .large-entry small{font:400 13px/1.3 Onest,sans-serif;margin-top:4px}.client-shell .large-entry .item-icon{width:30px;height:34px;padding:0}.client-shell .large-entry .item-icon .icon{width:28px;height:28px}.large-actions{gap:11px}.client-shell .view-support .support-illustration{flex:1;height:auto;min-height:65px;max-height:160px;width:140px;margin:0 auto;align-self:center}.support-illustration .icon{width:72px;height:72px}.view-support .large-actions{margin-top:auto}.client-shell .view-support .large-entry{min-height:77px}.client-shell .profile-summary{padding:17px;border-radius:21px}.client-shell .profile-identity{padding:0 0 13px;gap:13px}.client-shell .profile-identity .avatar{width:51px;height:51px;font:650 26px/1 Manrope,sans-serif;display:grid;place-items:center;flex-shrink:0}.client-shell .profile-identity strong{font:650 23px/1.2 Onest,sans-serif;max-width:250px;overflow:hidden;text-overflow:ellipsis}.client-shell .profile-identity small{font:400 14px/1.3 Onest,sans-serif}.client-shell .profile-summary .kv{padding:10px 0;font:400 14px/1.3 Onest,sans-serif}.client-shell .profile-wallet{padding-top:12px;gap:9px;font:450 14px/1.3 Onest,sans-serif}.client-shell .profile-wallet .icon{width:20px;height:20px}.client-shell .profile-wallet strong{font:700 17px/1.3 Manrope,sans-serif}.client-shell .profile-links{margin:0;gap:10px}.client-shell .profile-links .large-entry{min-height:65px;padding:12px 15px}.client-shell .profile-links .large-entry strong{font-size:16px}.client-shell .profile-links .large-entry small{font-size:12px}.client-shell .profile-links .large-entry .item-icon .icon{width:25px;height:25px}
.client-shell .referral-page{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:11px}.client-shell .referral-heading .eyebrow{display:none}.client-shell .referral-heading h1{font-size:clamp(23px,5.9vw,29px)!important}.client-shell .referral-heading p{font:400 14px/1.45 Onest,sans-serif;margin:7px 0 0;color:#aaa0b8}.client-shell .referral-gift{flex:1;height:auto;min-height:45px;max-height:130px}.client-shell .referral-gift .icon{width:85px;height:85px}.client-shell .referral-level{display:flex;align-items:center;gap:10px;padding:13px 16px;min-height:65px;border-radius:18px;width:100%;color:inherit;text-align:left;background:linear-gradient(135deg,#2c2036,#1a1522);border:1px solid #bd8ed440}.client-shell .referral-level>span{font:550 14px/1.35 Onest,sans-serif;flex:1;max-width:150px}.client-shell .referral-level>strong{font:650 33px/1.2 Unbounded,sans-serif;margin-left:auto;color:#d992f8}.client-shell .referral-level>.icon{width:16px;height:16px}.client-shell .referral-link{padding:12px 15px;border-radius:18px;background:#1b1622;border:1px solid #b58bcb33}.client-shell .referral-link>small{font:400 12px/1.3 Onest,sans-serif}.referral-copy{display:flex;align-items:center;gap:9px;width:100%;padding:8px 0 0;background:none;color:#f1e7f7;border:0;text-align:left;font:550 13px/1.4 Onest,sans-serif}.referral-copy span{flex:1;min-width:0;overflow-wrap:anywhere}.referral-copy .icon{width:22px;height:22px;flex-shrink:0;color:#ce98ef}.client-shell .referral-counts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.client-shell .referral-counts>button{padding:12px 14px;text-align:left;border:1px solid #ae83c52e;border-radius:18px;background:linear-gradient(135deg,#251b30,#18131e);color:#f4edf8;display:flex;flex-direction:column;gap:3px;min-width:0}.client-shell .referral-counts small{font:400 12px/1.3 Onest,sans-serif}.client-shell .referral-counts strong{font:700 26px/1.2 Manrope,sans-serif;letter-spacing:-.7px;white-space:nowrap}.client-shell .referral-counts span{font:400 11px/1.3 Onest,sans-serif;color:#a69aae}.client-shell .referral-share{margin-top:auto}
.device-summary{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:11px 14px;background:#201927;border-radius:14px;font-size:14px}.client-shell .compact-device-list{display:flex;flex-direction:column;gap:10px;min-height:0}.client-shell .compact-device-list .large-entry{min-height:94px}.subscription-tools{margin-top:auto;display:grid;gap:10px}.subscription-tools .dashboard-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.subscription-tools .button{font-size:14px!important}.screen-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;flex-shrink:0}.screen-pagination button{display:flex;align-items:center;gap:5px;min-height:34px;padding:7px 10px;background:#291e34;border:1px solid #ab7fc43b;border-radius:11px;color:#dec6ef;font:550 13px/1.2 Onest,sans-serif}.screen-pagination button:disabled{opacity:.35}.screen-pagination span{font:550 12px/1.2 Manrope,sans-serif;color:#ada0bb}.screen-pagination .icon{width:15px;height:15px}.device-identifier{display:grid;gap:5px;margin-top:10px}.device-identifier code{font:500 12px/1.45 Onest,sans-serif;overflow-wrap:anywhere;color:#ddc9ed}.device-identifier small{font-size:11px;color:#a898b6}.client-shell .view-device .kv{font-size:13px;padding:9px 0}.client-shell .view-device>.button{margin-top:auto}.client-shell .plan-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.plan-choices button{padding:10px 7px;border:1px solid #9f7bb133;border-radius:13px;background:#1c1724;color:#bbaeC8;font:550 13px/1.2 Onest,sans-serif;min-width:0}.plan-choices button.active{background:#3a234b;color:#f3dfff;border-color:#bb7be2}.client-shell .selected-plan{padding:20px;border-radius:22px;background:linear-gradient(135deg,#2a1d36,#18121f);display:flex;flex-direction:column;gap:9px;margin:0}.client-shell .selected-plan .metric{font:700 36px/1.3 Manrope,sans-serif}.client-shell .selected-plan .kv{padding:9px 0;font-size:14px}.client-shell .view-plans>.help{margin:0}.client-shell .wallet-hero{padding:17px;border-radius:20px;min-height:90px}.client-shell .wallet-hero .metric{font:700 31px/1.2 Manrope,sans-serif}.client-shell .pane-stack{min-height:0;gap:11px}.client-shell .pane-body{overflow:hidden;min-height:0}.client-shell .screen-tabs{gap:5px}.client-shell .screen-tabs button{font:550 12px/1.3 Onest,sans-serif;padding:8px}.client-shell .view-wallet .item{padding:10px 0}.client-shell .view-wallet .item strong{font-size:14px}.client-shell .view-wallet .item small{font-size:11px}.client-shell .ticket-item{padding:15px;border-radius:17px}.ticket-item p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.client-shell .guide-copy,.client-shell .faq-copy{font:400 16px/1.6 Onest,sans-serif}.client-shell .view-ticket .panel{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;overflow:hidden}.client-shell .view-ticket .chat{flex:1;max-height:none;min-height:0}.client-shell .view-ticket .composer textarea{max-height:80px;min-height:65px}.client-shell .view-subinfo .subscription-card{padding:19px}.client-shell .view-subinfo .subscription-card .metric{font:700 29px/1.25 Manrope,sans-serif}.client-shell .view-subinfo .subscription-card h2{display:none}.client-shell .view-subinfo .stats-row{margin:13px 0}.client-shell .view-subinfo .expiry-line{font-size:13px}.client-shell .view-settings .help{margin:10px 0 0;font-size:13px}.client-shell .view-settings .setting-toggle{font-size:15px}.client-shell .view-settings input[type=checkbox]{width:23px;height:23px;accent-color:#ba78e1}
@media(max-height:740px){.client-shell .topbar{flex-basis:57px;padding:9px 16px}.client-shell #content{padding:12px 16px 10px}.client-shell .view-page{gap:10px}.client-shell .view-home .home-dashboard,.client-shell .view-home .home-dashboard.has-subscriptions{gap:9px}.client-shell .home-dashboard.has-subscriptions .access-summary{min-height:144px;padding:12px 16px;max-height:190px}.client-shell .days-summary strong{font-size:31px!important}.client-shell .home-dashboard.has-subscriptions .dashboard-action{height:85px;padding:10px;gap:4px}.client-shell .dashboard-balance.wallet-compact{height:94px}.client-shell .wallet-column>strong{font-size:23px}.client-shell .bottom-nav{min-height:62px;padding-top:5px;padding-bottom:5px}.client-shell .bottom-nav button{min-height:50px}.client-shell .view-support .large-entry{min-height:71px}.client-shell .profile-links .large-entry{min-height:60px;padding:10px 14px}.client-shell .profile-summary{padding:14px}.client-shell .profile-summary .kv{padding:8px 0}.client-shell .referral-page{gap:9px}.client-shell .referral-level{min-height:58px;padding:10px 13px}.client-shell .referral-gift{min-height:35px;max-height:90px}.client-shell .referral-gift .icon{width:65px;height:65px}.client-shell .referral-counts>button{padding:10px 12px}.client-shell .referral-counts strong{font-size:24px}.client-shell .referral-link{padding:10px 13px}.client-shell .compact-device-list .large-entry{min-height:85px;padding:12px 14px}.client-shell .view-page .panel{padding:15px!important}}
@media(max-height:620px){.client-shell .topbar{flex-basis:50px;padding:7px 14px}.client-shell .brand img{width:26px;height:29px}.client-shell .brand-copy strong{font-size:14px}.client-shell .balance-chip{font-size:12px;min-height:30px}.client-shell #content{padding:10px 14px 8px}.client-shell h1{font-size:22px!important}.client-shell .dashboard-title h1{font-size:21px!important}.client-shell .view-home .home-dashboard,.client-shell .view-home .home-dashboard.has-subscriptions{gap:7px}.client-shell .home-dashboard.has-subscriptions .access-summary{min-height:134px;padding:10px 14px;gap:3px}.client-shell .days-summary strong{font-size:28px!important}.compact-traffic{margin-top:4px;padding-top:5px}.client-shell .home-dashboard.has-subscriptions .dashboard-action{height:73px;gap:3px;padding:8px}.client-shell .home-dashboard.has-subscriptions .dashboard-action>.icon{width:22px;height:22px}.client-shell .dashboard-action strong{font-size:16px}.client-shell .dashboard-action span{font-size:11px}.client-shell .dashboard-balance.wallet-compact{height:87px}.client-shell .wallet-column{gap:4px;padding:7px}.client-shell .wallet-column>strong{font-size:21px}.client-shell .wallet-column>.button{height:27px;min-height:27px!important;font-size:11px!important}.client-shell .bottom-nav{min-height:56px;padding:4px 8px}.client-shell .bottom-nav button{min-height:46px;font-size:10px}.client-shell .bottom-nav .icon{width:21px;height:21px}.client-shell .profile-summary{padding:12px}.client-shell .profile-identity{padding-bottom:9px}.client-shell .profile-identity .avatar{width:43px;height:43px;font-size:24px}.client-shell .profile-identity strong{font-size:21px}.client-shell .profile-summary .kv{padding:6px 0;font-size:13px}.client-shell .profile-wallet{padding-top:9px;font-size:12px}.client-shell .profile-wallet strong{font-size:15px}.client-shell .profile-links .large-entry{min-height:54px;padding:9px 12px}.client-shell .profile-links .large-entry strong{font-size:14px}.client-shell .profile-links .large-entry small{font-size:11px}.client-shell .view-page{gap:8px}.client-shell .view-support .large-entry{min-height:65px;padding:12px}.client-shell .view-support .page-head p{font-size:13px}.client-shell .referral-page{gap:7px}.client-shell .referral-heading h1{font-size:22px!important}.client-shell .referral-heading p{font-size:12px}.client-shell .referral-level{min-height:50px;padding:8px 12px}.client-shell .referral-level>strong{font-size:27px}.client-shell .referral-gift{min-height:25px;max-height:55px}.client-shell .referral-gift .icon{width:48px;height:48px}.client-shell .referral-counts>button{padding:8px 11px}.client-shell .referral-share{min-height:42px!important}.client-shell .selected-plan{padding:15px}.client-shell .selected-plan .metric{font-size:30px}.client-shell .selected-plan .kv{padding:6px 0}.client-shell .view-plans .page-head p{font-size:12px}.client-shell .view-plans>.help{font-size:12px}.client-shell .view-device .kv{padding:6px 0;font-size:12px}.client-shell .compact-device-list .large-entry{min-height:74px;padding:10px 12px}.client-shell .device-row strong{font-size:15px}.client-shell .device-row small{font-size:11px}}

.client-shell .plan-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.client-shell .selected-plan{min-height:0}.client-shell .selected-plan .metric{margin:0}.client-shell .view-subinfo .kv{font-size:14px;padding:12px 0}.client-shell .view-subinfo>.button{margin-top:auto}
@media(max-height:740px){.client-shell .selected-plan{padding:16px;gap:7px}.client-shell .selected-plan .metric{font-size:33px}.client-shell .selected-plan .kv{padding:7px 0}.client-shell .view-device .panel{padding:12px!important}.client-shell .view-device .kv{padding:7px 0}.client-shell .view-device .panel>h2{font-size:16px!important}.client-shell .view-device .device-identifier{gap:4px}.client-shell .view-plans .plan-choices button{padding:10px 4px;font-size:12px}}
@media(max-height:620px){.client-shell .selected-plan{padding:13px;gap:5px}.client-shell .selected-plan .metric{font-size:30px}.client-shell .selected-plan .kv{padding:5px 0;font-size:12px}.client-shell .view-plans>.help{font-size:11px}.client-shell .view-device .kv{padding:5px 0}.client-shell .view-device .panel>h2{display:none}.client-shell .view-device .device-identifier code{font-size:11px}.client-shell .view-device .device-identifier small{font-size:10px}.client-shell .view-subinfo .kv{padding:9px 0;font-size:12px}}

.client-shell .bottom-nav{left:0;right:0;transform:none;width:100%;max-width:none;margin:0;box-sizing:border-box}

.client-shell .profile-identity>span:nth-child(2){min-width:0;overflow:hidden}.client-shell .profile-identity strong,.client-shell .profile-identity small{max-width:100%;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-shell .wallet-column>strong{font-size:clamp(18px,5.7vw,25px);max-width:100%;white-space:nowrap}.client-shell .view-account .kv>span:last-child{overflow-wrap:anywhere;min-width:0}.client-shell .view-page [hidden]{display:none!important}

.client-shell .view-referral-info .kv{padding:9px 0;font-size:14px}.client-shell .view-referral-info .panel>h2{margin-bottom:10px}.client-shell .view-referral-info .help{margin:8px 0}.client-shell .view-write .composer textarea{height:110px;min-height:80px;max-height:130px}.client-shell .view-write .composer small{font-size:11px}.client-shell .view-write .upload-desktop-hint{font-size:11px;line-height:1.4;margin:8px 0}.client-shell .view-write .telegram-help{font-size:13px;margin-top:12px}.client-shell .view-write .composer .row.wrap{gap:9px}.client-shell .view-write .composer .row.wrap .button{font-size:13px!important}
@media(max-height:620px){.client-shell .view-write .composer textarea{height:85px;min-height:70px}.client-shell .view-write .composer .button{min-height:38px!important}.client-shell .view-write .telegram-help{margin-top:8px}.client-shell .view-write .support-compose{padding:12px!important}.client-shell .view-referral-info .panel>h2{font-size:17px!important}}
