/* One application and one account, arranged for the available window. */
.desktop-sidebar{display:none}
.in-telegram body{padding-top:var(--tg-content-safe-area-inset-top,0px)}
@media(min-width:800px){
 .tma-shell{max-width:1360px;display:grid;grid-template-columns:208px minmax(0,1fr);grid-template-rows:88px 1fr;min-height:calc(100dvh - var(--tg-content-safe-area-inset-top,0px));border:0;box-shadow:none}
 .tma-header{grid-column:1/-1;padding:0 32px;border-bottom:1px solid #242424}
 .desktop-sidebar{display:flex;flex-direction:column;align-self:start;position:sticky;top:var(--tg-content-safe-area-inset-top,0px);height:calc(100dvh - 88px - var(--tg-content-safe-area-inset-top,0px));padding:28px 16px;border-right:1px solid #242424;gap:24px}
 .desktop-sidebar nav{display:grid;gap:8px}.desktop-sidebar .navitem{width:100%;padding:14px 12px;font-size:13px;align-items:center;min-height:54px;color:#a3a3a3}
 .desktop-sidebar .navitem.active{background:var(--ds-accent-soft);color:#ffaaa0}.desktop-sidebar .nav-avatar{flex-shrink:0}.desktop-sidebar p{margin-top:auto;padding:12px;font-size:12px;line-height:1.7;color:#777}
 .tma-shell>.bottomnav{display:none}.tma-shell>.content{min-width:0;padding:32px 28px 48px!important}
 .heading h1,.form-page h1{font-size:36px}.heading{margin-bottom:28px}.tma-feed .game-search-wrap{max-width:680px}.tma-create{max-width:680px}.filters{margin-bottom:28px}
 .cards{align-items:start}.catalog-card{height:100%;display:flex;flex-direction:column}.catalog-card .card-bottom{margin-top:auto;padding-top:18px}.catalog-card>.tma-game-meta{margin-bottom:18px}.catalog-card .card-desc{margin-top:0}.catalog-tags{max-width:58%}
 .tma-profile{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.tma-profile>.heading{grid-column:1/-1;margin-bottom:8px}.tma-profile .tma-preferences{margin-top:0}.tma-profile .profile-card{padding:28px}.admin-entry{max-width:420px}
 .request-wizard{display:block}.request-wizard>.content{padding:32px 28px 130px!important}.request-wizard .form-page{max-width:660px;margin:auto}.request-wizard .request-footer{max-width:716px;padding:18px 28px max(20px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.request-wizard .form-panel{padding:28px}.request-game-list{max-height:48dvh}
 dialog{width:min(600px,calc(100% - 64px));max-height:85dvh;border-radius:28px}.modal-body{padding:32px}.modal-body .actions{bottom:-32px}dialog:has(.admin-table-wrap){width:min(1080px,calc(100% - 64px))}.admin-table-wrap{max-height:48dvh}
 .ob-wrap{max-width:680px;padding:0 48px;border-left:1px solid #202020;border-right:1px solid #202020}.ob-title{font-size:38px}.ob-content{min-height:calc(100dvh - 240px - var(--tg-content-safe-area-inset-top,0px))}.ob-footer{padding-bottom:28px}
 #toast{bottom:32px}.ob-active .tma-shell{display:none}
}
@media(min-width:1120px){
 .tma-shell{grid-template-columns:236px minmax(0,1fr)}.tma-shell>.content{padding:40px!important}.desktop-sidebar{padding:28px 20px}.desktop-sidebar .navitem{font-size:14px}
 .tma-feed>.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cards:has(>.outgoing-request){grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cards>.empty{grid-column:1/-1}
 .tma-profile{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.tma-profile .profile-card{grid-row:2/4}.tma-profile .profile-language{grid-column:2}.tma-profile .demo-note,.tma-profile .reset{grid-column:1/-1}
 .request-wizard>.content{padding:40px 28px 140px!important}
}
