/*
  Телефон: сайт как приложение. Внизу хотбар из Майнкрафта, каждый раздел — отдельный экран, товары — строки как чаты в Telegram,
  подробности и оплата — шторки снизу. Подключается только на узком экране, всё под html.phone (класс ставит скрипт в <head>),
  поэтому компьютерная версия этих правил не видит.
*/
@view-transition{navigation:auto}
@supports (transition-timing-function:linear(0,1)){
  html.phone{--m-spring:linear(0,.006,.025 2.8%,.101 6.1%,.539 18.9%,.721 25.3%,.849 31.5%,.937 38.1%,.968 41.8%,.991 45.7%,1.006 50.1%,1.015 55%,1.017 63.9%,1.001 85.9%,1)}
}
/* смена экрана: браузер снимает старый и новый экран и сводит их на видеокарте, шапка и хотбар остаются на месте */
html::view-transition{pointer-events:none}
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s;animation-timing-function:cubic-bezier(.22,1,.36,1)}
.phone{--vt-x:22px}
.phone[data-vt="push"],.phone[data-vt="pop"]{--vt-x:44px}
.phone[data-vt="left"]::view-transition-old(root),.phone[data-vt="push"]::view-transition-old(root){animation-name:m-out-l}
.phone[data-vt="left"]::view-transition-new(root),.phone[data-vt="push"]::view-transition-new(root){animation-name:m-in-r}
.phone[data-vt="right"]::view-transition-old(root),.phone[data-vt="pop"]::view-transition-old(root){animation-name:m-out-r}
.phone[data-vt="right"]::view-transition-new(root),.phone[data-vt="pop"]::view-transition-new(root){animation-name:m-in-l}
@keyframes m-out-l{to{opacity:0;transform:translateX(calc(var(--vt-x)*-1))}}
@keyframes m-in-r{from{opacity:0;transform:translateX(var(--vt-x))}}
@keyframes m-out-r{to{opacity:0;transform:translateX(var(--vt-x))}}
@keyframes m-in-l{from{opacity:0;transform:translateX(calc(var(--vt-x)*-1))}}
::view-transition-old(hotbar){display:none}
::view-transition-new(hotbar){animation:none}
::view-transition-group(hotbar),::view-transition-group(appbar),::view-transition-group(cartbar){animation-duration:.28s}
.phone{--m-ease:cubic-bezier(.22,1,.36,1);--m-spring:cubic-bezier(.3,1.3,.5,1);--bar:calc(66px + env(safe-area-inset-bottom,0px));--head:calc(52px + env(safe-area-inset-top,0px));--edge:14px;scroll-behavior:auto;-webkit-tap-highlight-color:transparent}
.phone body{padding-bottom:var(--bar)}
.phone.has-cart body{padding-bottom:calc(var(--bar) + 60px)}
/* слой шума на весь экран и размытие под шторками — самое тяжёлое для телефона */
.phone .grain{display:none}
.phone .loader__bar i{transition:transform .35s ease-out}
.phone .rv{opacity:1!important;transform:none!important;transition:none!important}
.phone .intro{animation:none!important;opacity:1!important;transform:none!important}
.phone.seen .loader{display:none}
.phone a,.phone button{touch-action:manipulation}

/* ---------- хотбар: пять ячеек, выбранная в белой рамке, рамка переезжает шагами ---------- */
.phone .hotbar{position:fixed;inset:auto 0 0;z-index:58;display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));background:#0b0b0b;box-shadow:0 -1px 0 #232323;view-transition-name:hotbar}
.phone .hotbar__sel{--c:3px;--bw:2px;--pxb-line:#f2f2f2;--pxb-fill:#1a1a1a;position:absolute;left:6px;top:6px;z-index:0;width:calc((100% - 12px)/var(--n,5));height:54px;transform:translateX(calc(var(--i,0)*100%));transition:transform .42s var(--m-spring);will-change:transform}
.phone .hotbar__slot{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:54px;padding:0;border:0;background:none;color:#838383;font:500 10.5px/1 var(--font-body);text-decoration:none;cursor:pointer;transition:color .22s ease-out}
.phone .hotbar__slot[hidden]{display:none}
.phone .hotbar__slot svg{display:block;width:22px;height:22px;transition:transform .36s var(--m-spring)}
.phone .hotbar__slot--case svg{color:var(--red-hi)}
.phone .hotbar__slot.is-on{color:var(--ink)}
.phone .hotbar__slot.is-on svg{transform:translateY(-1px) scale(1.08)}
.phone .hotbar__slot:active svg{transform:scale(.86);transition-duration:.1s}
.phone .hotbar__slot:focus-visible{outline:2px solid var(--red-hi);outline-offset:-2px}

/* ---------- шапка экрана: логотип на главной, стрелка и название на остальных ---------- */
.phone .topbar,.phone .top{position:fixed;inset:0 0 auto;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:10px;width:auto;max-width:none;height:var(--head);margin:0;padding:env(safe-area-inset-top,0px) var(--edge) 0;background:#0b0b0b;box-shadow:0 1px 0 #1e1e1e;pointer-events:auto;animation:none;view-transition-name:appbar}
.phone .topbar::before,.phone .nav,.phone .ytlink,.phone .acc,.phone .menubtn,.phone .menu,.phone .toplink{display:none}
.phone .brand,.phone .logo{padding:0}
.phone .brand svg,.phone .logo svg{width:76px;height:16px}
.phone .mhead{display:none;align-items:center;gap:2px;min-width:0;flex:1}
.phone .mback{display:grid;place-items:center;flex:none;width:40px;height:44px;margin-left:-10px;padding:0;border:0;background:none;color:var(--ink);cursor:pointer}
.phone .mback[hidden]{display:none}
.phone .mback svg{width:9px;height:16px}
.phone.in-telegram .mback{display:none}
.phone .mtitle{min-width:0;font:700 18px/1.2 var(--font-display);letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone .topbar__right{display:flex;align-items:center;gap:8px}
.phone .lang a{min-width:32px}
.phone[data-screen]:not([data-screen="top"]) .brand,.phone[data-screen]:not([data-screen="top"]) .topbar__right{display:none}
.phone[data-screen]:not([data-screen="top"]) .mhead{display:flex}
.phone[data-mp]:not([data-mp=""]) .logo,.phone[data-mp]:not([data-mp=""]) .top__right{display:none}
.phone[data-mp]:not([data-mp=""]) .mhead{display:flex}

/* ---------- экраны: виден только выбранный ---------- */
.phone main{padding-top:var(--head)}
.phone main>section,.phone .marquee,.phone .foot{display:none}
.phone[data-screen="configs"] #configs,.phone[data-screen="case"] #case,.phone[data-screen="access"] #access,.phone[data-screen="collab"] #collab,.phone[data-screen="social"] #social,.phone[data-screen="top"] .foot{display:block}
.phone[data-screen="faq"] #social{display:block}
.phone[data-screen="faq"] .socials,.phone[data-screen="faq"] .faq .eyebrow,.phone[data-screen="faq"] .faq__title,.phone[data-screen="social"] .faq{display:none}
.phone .faq{margin-top:0;max-width:none}
.phone[data-screen="top"] #top{display:flex}
.phone main>section[hidden]{display:none!important}
.phone main>section{scroll-margin-top:var(--head)}
.phone .section{padding:12px var(--edge) 22px}
.phone .sec-head{display:none}
.phone main.m-tab>*{animation:m-tab .24s ease-out}
.phone main.m-push>*{animation:m-push .3s var(--m-ease)}
@keyframes m-tab{from{opacity:0}}
@keyframes m-push{from{opacity:0;transform:translateX(32px)}}

/* ---------- главная: компактная 3D-надпись, плитки разделов, товары лентой вбок ---------- */
.phone .hero{min-height:0;height:clamp(150px,23svh,196px);padding:0 var(--edge) 8px}
.phone .hero::after{height:40%}
.phone .hero__row{gap:0}
.phone .hero__lead,.phone .hero__cta{display:none}
.phone .hero__title{font-size:clamp(16px,5vw,19px);line-height:1.15;white-space:nowrap}
.phone .hero__touch{font-size:11px}
.phone[data-screen="top"] .mhome{display:flex}
.phone .mhome{flex-direction:column;gap:10px;padding:6px var(--edge) 14px}
.phone .mtiles{display:flex;flex-wrap:wrap;gap:8px}
.phone .mtile{--c:3px;--pxb-fill:#151515;--pxb-line:#272727;flex:1 1 40%;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;column-gap:10px;min-height:58px;padding:0 12px;color:var(--ink);text-decoration:none}
.phone .mtile[hidden]{display:none}
.phone .mtile i{display:grid;place-items:center;width:34px;height:34px;background:#1e1e1e;color:var(--red-hi)}
.phone .mtile svg{width:16px;height:16px}
.phone .mtile b{display:block;font:600 14.5px/1.15 var(--font-body)}
.phone .mtile span{display:block;margin-top:3px;color:var(--muted);font:400 12px/1 var(--font-pixel);letter-spacing:.04em}
.phone .mtile,.phone .mcard,.phone .cfg-cell .cfg,.phone .bundle-cell .cfg,.phone .soc,.phone .ach-grid .at{transition:transform .34s var(--m-spring)}
.phone .mtile:active,.phone .mcard:active,.phone .cfg-cell .cfg:active,.phone .bundle-cell .cfg:active,.phone .soc:active,.phone .ach-grid .at:active{transform:scale(.97);transition-duration:.1s}
.phone .mlist a{transition:background-color .2s ease-out}
.phone .mlist a:active{background:#1d1d1d}
.phone .mrow{display:flex;align-items:baseline;justify-content:space-between;margin-top:2px}
.phone .mrow b{font:700 15px/1 var(--font-display);letter-spacing:-.02em}
.phone .mrow a{color:var(--muted);font-size:13px;text-decoration:none}
.phone .mstrip{display:flex;gap:8px;margin:0 calc(var(--edge)*-1);padding:0 var(--edge);overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:var(--edge);scrollbar-width:none}
.phone .mstrip::-webkit-scrollbar{display:none}
.phone .mcard{--c:3px;--pxb-fill:#151515;--pxb-line:#272727;flex:none;width:136px;padding:10px;text-align:left;color:var(--ink);scroll-snap-align:start;cursor:pointer}
.phone .mcard .cfg__thumb,.phone .mcard .pack__cover{width:40px;height:40px}
.phone .mcard b{display:block;margin-top:8px;font:600 13.5px/1.2 var(--font-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone .mcard small{display:block;margin-top:2px;color:var(--muted);font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone .mcard em{display:block;margin-top:7px;font:700 14px/1 var(--font-display);font-style:normal;letter-spacing:-.02em}
.phone .mlist{--c:3px;--pxb-fill:#151515;--pxb-line:#272727;display:flex;flex-direction:column}
.phone .mlist a{display:grid;grid-template-columns:30px minmax(0,1fr) 7px;align-items:center;column-gap:12px;height:50px;padding:0 14px 0 10px;color:var(--ink);font:500 15px/1 var(--font-body);text-decoration:none}
.phone .mlist a[hidden]{display:none}
.phone .mlist a+a{box-shadow:inset 0 1px 0 #202020}
.phone .mlist i{display:grid;place-items:center;width:30px;height:30px;background:#1e1e1e;color:#cccccc}
.phone .mlist i svg{width:15px;height:15px}
.phone .mlist .chev{width:7px;height:12px;color:#5a5a5a}
.phone .foot{padding:6px var(--edge) 18px;border:0}
.phone .bigmark,.phone .foot__up{display:none}
.phone .foot__row{gap:10px}
.phone .foot__docs{display:flex;flex-wrap:wrap;gap:6px}
.phone .foot__docs a{--pxb-line:transparent;--pxb-fill:transparent;padding:0;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.phone .foot__docs a+a{margin-left:6px}
.phone .foot__legal{font-size:11px}

/* ---------- магазин: вкладки прилипают под шапкой, товары — строки ---------- */
.phone #configs{padding-top:0}
.phone .shopnav{position:sticky;top:var(--head);z-index:20;margin:0 calc(var(--edge)*-1) 8px;padding:8px var(--edge);background:var(--bg)}
.phone .shopnav__frame{width:100%}
.phone .cfg-grid{display:flex;flex-direction:column;flex-wrap:nowrap;gap:6px}
.phone .cfg-cell{flex:none;width:100%;max-width:none;min-height:74px}
.phone .cfg-cell[hidden]{display:none}
.phone .cfg-grid[hidden],.phone .bundles[hidden]{display:none}
.phone .cfg-cell .cfg,.phone .bundle-cell .cfg{--c:3px;--pxb-line:#272727;--pxb-fill:#151515;display:grid;grid-template-columns:52px minmax(0,1fr) auto;column-gap:12px;align-items:center;gap:0 12px;height:auto;min-height:74px;padding:10px;transform:none;cursor:pointer}
.phone .cfg__thumb{--c:3px;--pxb-line:#2f2f2f;--pxb-fill:#1c1c1c;display:grid;place-items:center;width:52px;height:52px;color:var(--ink)}
.phone .cfg__thumb b{font:700 22px/1 var(--font-display)}
.phone .cfg__thumb svg{width:26px;height:26px}
.phone .cfg-cell .pack__cover{--c:3px;grid-column:1;width:52px;height:52px;aspect-ratio:1}
.phone .cfg-cell .pack__cover svg{width:100%;height:100%}
.phone .cfg-cell .gui,.phone .cfg-cell .cfg__meta,.phone .cfg-cell .cfg__body>p,.phone .cfg-cell .pack__feat,.phone .cfg-cell [data-buy],.phone .bundle-cell .cfg__meta,.phone .bundle-cell .bundle__items,.phone .bundle-cell p,.phone .bundle-cell [data-buy-bundle],.phone .bundle__gift{display:none}
.phone .cfg-cell .cfg__body,.phone .bundle-cell .bundle__row,.phone .bundle-cell .bundle__info{display:contents}
.phone .cfg-cell h3,.phone .bundle-cell h3{grid-column:2;margin:0;min-width:0;font:700 15px/1.2 var(--font-display);letter-spacing:-.025em;overflow-wrap:anywhere}
.phone .cfg-cell h3 span,.phone .bundle-cell h3 span{display:block;margin-top:3px;font:400 13px/1.25 var(--font-body);letter-spacing:0;color:var(--muted)}
.phone .cfg-cell .cfg__foot,.phone .bundle-cell .bundle__buy{grid-column:3;display:flex;align-items:center;gap:8px;width:auto;margin:0;padding:0;border:0}
.phone .cfg-cell .price,.phone .bundle-cell .price{font-size:15px}
.phone .bundle__prices{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.phone .bundle__old{font-size:11.5px}
.phone .cfg-cell .cartadd,.phone .bundle-cell .cartadd{width:38px;height:38px}
.phone .cfg-cell .want{height:38px;padding:0 10px;font-size:12.5px}
.phone .bundles{gap:6px;margin-top:6px}
.phone .bundle-cell{min-height:74px}
.phone .cfg-key{margin:14px 0 0;font-size:13.5px}
.phone .cfg-prices{margin-top:8px}

/* ---------- корзина: полоска над хотбаром вместо кнопки в углу ---------- */
.phone .cartfab{left:8px;right:8px;bottom:calc(var(--bar) + 6px);width:auto;height:48px;filter:none;z-index:57;view-transition-name:cartbar}
.phone .cartfab.is-in{animation:m-bar .42s var(--m-ease)}
@keyframes m-bar{from{opacity:0;transform:translateY(28px)}}
.phone .cartfab__body{--c:3px;display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:0 16px}
.phone .cartfab__body svg{width:20px;height:16px}
.phone .cartfab__t{display:block;font:700 14.5px/1 var(--font-body)}
.phone .cartfab__n{top:50%;right:12px;margin-top:-13px}
.phone[data-screen="case"] .cartfab,.phone[data-screen="collab"] .cartfab,.phone[data-screen="social"] .cartfab,.phone .cartfab[data-cartfab]{display:none}

/* ---------- шторки: подробности товара, оплата, вход ---------- */
.phone dialog.msheet,.phone dialog.ck,.phone dialog.buy{position:fixed;inset:auto 0 0;z-index:80;width:100%;max-width:100%;max-height:92dvh;margin:0;padding:0;border:0;background:none;color:var(--ink);overflow:visible;transform:translateY(100%);transition:transform .24s cubic-bezier(.4,0,1,1),display .24s allow-discrete,overlay .24s allow-discrete}
.phone dialog.msheet[open],.phone dialog.ck[open],.phone dialog.buy[open]{transform:none;animation:m-sheet .38s var(--m-ease)}
.phone dialog.m-instant{transition:none}
@keyframes m-sheet{from{transform:translateY(100%)}}
.phone dialog::backdrop{background:rgba(3,3,5,.72);-webkit-backdrop-filter:none;backdrop-filter:none;transition:opacity .24s ease-out,display .24s allow-discrete,overlay .24s allow-discrete}
.phone dialog[open]::backdrop{animation:m-dim .3s ease-out}
.phone dialog:not([open])::backdrop{opacity:0}
@keyframes m-dim{from{opacity:0}}
.phone .msheet__in,.phone .ck__in,.phone .buy__in{position:relative;width:100%;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;background:#141414;clip-path:polygon(0 12px,4px 12px,4px 8px,8px 8px,8px 4px,12px 4px,12px 0,calc(100% - 12px) 0,calc(100% - 12px) 4px,calc(100% - 8px) 4px,calc(100% - 8px) 8px,calc(100% - 4px) 8px,calc(100% - 4px) 12px,100% 12px,100% 100%,0 100%)}
.phone .ck__in::before,.phone .buy__in::before{display:none}
.phone .msheet__in::after,.phone .ck__in::after,.phone .buy__in::after{content:"";position:absolute;top:7px;left:50%;width:36px;height:4px;margin-left:-18px;background:#3d3d3d}
.phone .buy__in{padding:26px var(--edge) calc(18px + env(safe-area-inset-bottom,0px))}
.phone .input{font-size:16px}
.phone .msheet__in .ck__close{position:absolute;top:10px;right:8px;z-index:3;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;background:none;color:var(--muted);font-size:15px;cursor:pointer}
.phone .msheet .cfg{--pxb-line:transparent;--pxb-fill:transparent;display:block;height:auto;padding:46px var(--edge) 0;transform:none;clip-path:none;background:none}
.phone .msheet .cfg::before{display:none}
.phone .msheet .pack__cover{aspect-ratio:16/8;margin-bottom:12px}
.phone .msheet .cfg__thumb{display:none}
.phone .msheet .gui{margin-bottom:12px}
.phone .msheet .cfg__body{padding:0;gap:10px}
.phone .msheet h3{font-size:21px;padding-right:36px}
.phone .msheet .cfg__foot,.phone .msheet .bundle__buy{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px calc(var(--edge)*-1) 0;padding:12px var(--edge) calc(12px + env(safe-area-inset-bottom,0px));background:#141414;box-shadow:0 -1px 0 #222222}
.phone .msheet .cfg__acts{flex:1;justify-content:flex-end}
.phone .msheet .btn--buy{flex:1;max-width:220px;height:50px}
.phone .msheet .cartadd{width:50px;height:50px}
.phone .msheet .bundle__row{display:block}
.phone .msheet .bundle__buy{width:auto}
.phone .msheet__in .ck__close:focus-visible{outline:none}
.phone .msheet .bundle__prices{display:flex;flex-direction:column;align-items:flex-start;gap:3px}

/* ---------- кейс: сундук сверху, кнопка всегда под пальцем ---------- */
.phone #case .eyebrow,.phone #case .h2{display:none}
.phone #case{padding-top:8px}
.phone #case .case__grid{display:flex;flex-direction:column;gap:12px}
.phone #case .case__stage{order:-1;min-height:clamp(150px,27svh,230px)}
.phone #case .case__chest{filter:none}
.phone #case:not(.is-opening) .case__chest{animation-timing-function:ease-in-out}
.phone #case .case__lead{margin:0;font-size:14.5px;line-height:1.45}
.phone #case .case__steps{margin:10px 0 0}
.phone #case .case__cta{position:sticky;bottom:calc(var(--bar) + 8px);z-index:3;margin-top:12px}
.phone #case .case__btn{width:100%}
.phone #case .case__odds{display:flex;flex-wrap:nowrap;gap:6px;margin:12px calc(var(--edge)*-1) 0;padding:0 var(--edge);overflow-x:auto;scrollbar-width:none}
.phone #case .case__odds::-webkit-scrollbar{display:none}
.phone #case .case__odds>*{flex:none}

/* ---------- сотрудничество и соцсети: короткие карточки без декораций ---------- */
.phone .partners-room,.phone .scan{display:none!important}
.phone .partners{position:static;display:flex;gap:12px;margin:0 calc(var(--edge)*-1) 12px;padding:2px var(--edge);overflow-x:auto;scrollbar-width:none;pointer-events:auto}
.phone .partners::-webkit-scrollbar{display:none}
.phone .partner{--s:48px;position:static;flex:none;opacity:1!important;transform:none!important;visibility:visible!important;transition:none}
.phone .partner[hidden]:not([aria-hidden="true"]){display:block!important}
.phone .partner[aria-hidden="true"]{display:none}
.phone .partner__para,.phone .partner__float{transform:none!important;filter:none!important;animation:none!important}
.phone .partner__ava img{filter:none}
.phone .partner__name{font-size:11px;color:#adadad}
.phone .collab{display:block;max-width:none}
.phone .tcard{padding:0 var(--edge) 16px}
.phone .tcard__cover,.phone .tcard__fade{display:none}
.phone .tcard__ava{margin-top:16px}
.phone .socials{display:flex;flex-direction:column;gap:8px;max-width:none}
.phone .soc{--c:3px;display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:0 12px;min-height:76px;padding:10px 12px}
.phone .faq__item summary{padding:14px;font-size:15px}
.phone .faq__a{padding:0 14px 14px;font-size:14px}
.phone .soc__cover,.phone .soc__fade,.phone .soc__desc,.phone .soc__cta{display:none}
.phone .soc__top{display:contents}
.phone .soc__ava{grid-row:1/3;grid-column:1;width:56px;height:56px;margin:0}
.phone .soc__ava img{width:100%;height:100%}
.phone .soc__platform{grid-row:1/3;grid-column:3;margin:0}
.phone .soc__name{grid-column:2;grid-row:1;align-self:end;margin:0;font-size:16px}
.phone .soc__handle{grid-column:2;grid-row:2;align-self:start;margin:2px 0 0;font-size:13px}

/* ---------- всплывающее: помощник на весь экран, сообщения над хотбаром ---------- */
.phone .hlp-fab{display:none}
.phone .hlp-panel,.phone .cartfab:not([hidden])~.hlp-panel{inset:0;left:0;right:0;top:0;bottom:auto;z-index:70;width:100%;height:var(--vvh,100dvh);max-height:none;padding-top:env(safe-area-inset-top,0px);clip-path:none;background:#141414;transition:transform .24s cubic-bezier(.4,0,1,1),display .24s allow-discrete;animation:m-sheet .36s var(--m-ease)}
.phone .hlp-panel[hidden]{transform:translateY(100%)}
.phone .hlp-panel::before{display:none}
.phone .hlp-form{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
.phone .hlp-form input{font-size:16px}
.phone .toast{opacity:0;visibility:hidden;transition:transform .36s var(--m-ease),opacity .22s ease-out,visibility 0s .36s}
.phone .toast.show{opacity:1;visibility:visible;transition-delay:0s}
.phone[data-screen] .toast:not(.show){transform:translateY(18px)}
.phone[data-mp] .toast:not(.show){transform:translate(-50%,18px)}
.phone[data-screen] .toast,.phone .ach-toasts{top:auto;right:8px;left:8px;bottom:calc(var(--bar) + 62px);min-width:0}
.phone[data-mp] .toast{bottom:calc(var(--bar) + 10px);width:max-content;max-width:calc(100vw - 16px)}
.phone .ach-toast{width:100%}

/* ---------- кабинет: экран профиля со списком как настройки в Telegram, каждый раздел — свой экран ---------- */
.phone .shell{padding:calc(var(--head) + 12px) var(--edge) 18px}
.phone .docs{display:none}
.phone[data-mp=""] .docs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 12px;padding:0 var(--edge) 16px;font-size:12px}
.phone .cab{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding-top:0}
.phone .side{display:contents}
.phone .me{order:1;--pxb-fill:#151515;--pxb-line:#272727;padding:12px;grid-template-columns:52px minmax(0,1fr)}
.phone .ava{width:52px;height:52px}
.phone .cab__main{order:2}
.phone .snav{order:3;--c:3px;position:static;flex-direction:column;gap:0;margin:0;padding:0;overflow:visible;background:#151515;border:0;box-shadow:inset 0 0 0 1px #272727}
.phone .snav a{flex:none;display:grid;grid-template-columns:30px minmax(0,1fr) auto 7px;gap:12px;height:52px;padding:0 14px 0 10px;color:var(--ink);font:500 15.5px/1 var(--font-body);background:none}
.phone .snav a[hidden]{display:none}
.phone .snav a+a{box-shadow:inset 0 1px 0 #202020}
.phone .snav a svg{box-sizing:border-box;width:30px;height:30px;padding:7px;background:#1e1e1e;color:var(--red-hi)}
.phone .snav a.is-active::before{display:none}
.phone .snav a.is-active{background:none;color:var(--ink)}
.phone .snav a{transition:background-color .2s ease-out}
.phone .snav a:active{background:#1d1d1d}
.phone .snav a .chev{grid-column:4;box-sizing:content-box;width:7px;height:12px;padding:0;background:none;color:#5a5a5a}
.phone .snav .cnt{grid-column:3;font-style:normal}
.phone .help{order:4;margin:4px 0 0;padding:0}
.phone[data-mp]:not([data-mp=""]) .me,.phone[data-mp]:not([data-mp=""]) .snav,.phone[data-mp]:not([data-mp=""]) .help{display:none}
.phone[data-mp=""] .view{display:none!important}
.phone .vhead h1{display:none}
.phone .vhead p{display:none}
.phone .vhead{margin:0}
.phone .vhead .seg{margin-bottom:12px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%}
.phone .vhead .seg button{flex:none}
.phone .cab__main>.view{animation:none}
/* покупки и заказы — строками, подсказки открываются нажатием на строку */
.phone .h3{margin:16px 0 8px;font-size:15px}
.phone .list .item{grid-template-columns:44px minmax(0,1fr) auto;column-gap:10px;row-gap:8px;align-items:center;padding:10px}
.phone .item>:first-child{width:44px;height:44px}
.phone .item__body{gap:3px}
.phone .item__head{gap:0 6px}
.phone .item__head h3{font-size:14.5px;line-height:1.2}
.phone .item__head span{font-size:12.5px;color:var(--muted)}
.phone .item__tags .tag:not(.tag--red){display:none}
.phone .item__meta{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone .item__act{grid-column:3;grid-row:1;align-self:center}
.phone .item__act .btn{height:40px;padding:0 12px;font-size:13px}
.phone .item__act .btn:has(svg){width:44px;padding:0;font-size:0;gap:0}
.phone .item__act .btn:has(svg) svg{width:15px;height:15px}
.phone .item__more{grid-column:1/-1}
.phone .item:not(.is-open):not(.has-update) .item__more{display:none}
.phone .item.is-open .item__more,.phone .faq__item[open] .faq__a{animation:m-open .3s var(--m-ease)}
@keyframes m-open{from{opacity:0;transform:translateY(-6px)}}
.phone .alert{margin-bottom:8px;padding:12px}
.phone .alert .btn{width:100%}
.phone .order{padding:10px}
.phone .order__line{grid-template-columns:40px minmax(0,1fr) auto;column-gap:10px;row-gap:8px;align-items:center}
.phone .order__what b{font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone .order__what span{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone .order__sum{grid-column:3;grid-row:1;font-size:15px}
.phone .order .pill{grid-column:2;justify-self:start}
.phone .order.is-paid .pill,.phone .order.is-pending .pill,.phone .order.is-paid .order__cta{display:none}
.phone .order__cta{grid-column:1/-1}
.phone .order__cta .linkish{font-size:13px}
.phone .order__extra{margin:8px 0 0;font-size:13px}
/* достижения — инвентарь: шесть ячеек в ряд, подробности в шторке */
.phone .ach-sum{padding:12px;gap:6px 12px}
.phone .ach-sum__icon{width:44px;height:44px}
.phone .ach-sum__icon svg{width:32px;height:32px}
.phone .ach-sum__count{font-size:20px}
.phone .ach-sum__count small{font-size:12px}
.phone .ach-sum__meta{margin:0;font-size:12.5px}
.phone .ach-recent{flex-wrap:nowrap;overflow-x:auto;margin-top:8px;scrollbar-width:none}
.phone .ach-recent::-webkit-scrollbar{display:none}
.phone .ach-mini{flex:none}
.phone .ach-group{margin-top:14px}
.phone .ach-group h3{margin-bottom:8px;font-size:15px}
.phone .ach-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
.phone .ach-grid .at{--c:3px;aspect-ratio:1;min-height:0;display:grid;place-items:center;padding:0;cursor:pointer}
.phone .ach-grid .at__body{display:none}
.phone .ach-grid .at__icon{width:100%;height:100%;background:none;border:0;box-shadow:none}
.phone .ach-grid .at__icon svg{width:66%;height:66%}
.phone .ach-grid .at.is-locked svg{opacity:.55}
.phone .msheet .at{--pxb-line:transparent;--pxb-fill:transparent;clip-path:none;background:none;align-items:center;padding:42px var(--edge) calc(20px + env(safe-area-inset-bottom,0px))}
.phone .msheet .at::before{display:none}
.phone .msheet .at__icon{width:64px;height:64px}
.phone .msheet .at__icon svg{width:46px;height:46px}
.phone .msheet .at__body b{font-size:17px}
/* настройки и баланс */
.phone .settings{display:flex;flex-direction:column;gap:8px}
.phone .card{padding:14px;gap:10px}
.phone .bal{gap:8px}
.phone #topup-form .btn--buy,.phone .card form .btn,.phone form.card>.btn{align-self:stretch;width:100%}
.phone .guest{display:flex;flex-direction:column;gap:14px;min-height:0;padding-top:0}
.phone .guest .h1{margin-top:0;font-size:24px}
.phone .guest .lead{margin-top:8px;font-size:14px}
.phone .guest .eyebrow,.phone .guest .perks{display:none}
.phone .auth{padding:16px}

@media (prefers-reduced-motion:reduce){
  .phone main.m-tab>*,.phone main.m-push>*,.phone dialog.msheet[open],.phone dialog.ck[open],.phone dialog.buy[open],.phone dialog[open]::backdrop,.phone .hlp-panel,.phone .cartfab.is-in,.phone .item.is-open .item__more,.phone .faq__item[open] .faq__a{animation:none}
  .phone dialog.msheet,.phone dialog.ck,.phone dialog.buy,.phone .hlp-panel{transition:none}
  .phone .hotbar__sel{transition:none}
}
