/* v14: compact visual density, without scaling text or the browser viewport. */
body:not(.admin-workspace) .topbar{min-height:4rem;padding-top:.625rem;padding-bottom:.625rem}
button,.btn{padding:.55rem .8rem;border-radius:.5rem;min-height:2.25rem}
.nav-item{padding:.6rem .7rem;margin:.15rem 0;gap:.6rem;transition:background .18s ease,color .18s ease,transform .18s ease}
.nav-item:hover,.nav-item:focus-visible{transform:translateX(.2rem)}
.nav-item:active,.quick-grid a:active{transform:scale(.98)}
.quick-grid a,.public-footer a{transition:background .18s ease,color .18s ease,transform .18s ease}
.quick-grid a:hover,.quick-grid a:focus-visible{transform:translateY(-.125rem)}
.main{padding-top:1.25rem}.main>.page-head{margin-bottom:1.25rem}
.card{border-radius:.875rem}.form-card{padding:1.2rem}.overview-top{gap:.8rem;margin-bottom:1.2rem}
.overview-wallet{padding:1.4rem 1.6rem}.overview-wallet>.section-head{margin-bottom:.95rem}.overview-wallet>strong{font-size:2.3rem}.overview-wallet p{margin:.5rem 0 1rem}
.overview-mode{padding:1.2rem 1.6rem;gap:1rem}.overview-mode h2{font-size:1.3rem;margin:.6rem 0 .4rem}.overview-mode>button{min-height:2.25rem}
.dashboard-guide .text-link{min-height:2.4rem;padding:.6rem .8rem;font-size:.8125rem;border-radius:.7rem}
.stat{padding:1rem}.stat-value{font-size:1.7rem}.stat-icon{width:1.9rem;height:1.9rem}.dashboard-six{gap:.9rem;margin-bottom:1.2rem}
.dashboard-notice{padding:.8rem 1rem}.language-toggle button{min-width:2.25rem;min-height:2.25rem;padding:.5rem}
.update-banner,.dashboard-promo{padding:1.2rem}.update-banner{gap:.8rem;margin-bottom:1.2rem}.update-banner>.btn{min-height:2.25rem}.dashboard-promo h2{font-size:1.5rem}.partner-grid{gap:1.1rem;margin:1.2rem 0}.quick-grid{gap:.6rem}.quick-grid a{padding:.75rem .8rem}
.section-head{padding:1rem 1.1rem}.history-tools{padding:1rem;gap:.75rem}.field{margin-bottom:.9rem}.field input,.field select{min-height:2.5rem}
.auth-v10 .auth-story{padding:1.2rem 1.6rem}.auth-v10 .auth-form{padding:1.6rem}.auth-v10 h1{font-size:1.6rem}.auth-v10 .field{margin-bottom:.85rem}.auth-v10 input{height:2.75rem}.auth-v10 button.primary,.auth-v10 .google-login{min-height:2.5rem}.auth-v10 .auth-subtitle{margin-bottom:1.2rem}.auth-v10 .auth-divider{margin:1rem 0}.auth-v10 .auth-switch{margin-top:1.2rem}.auth-v10 .auth-back{min-height:2.25rem;margin-top:1rem}
.payment-main,.payment-side{padding:1.2rem}.amount-options button{min-height:2.25rem}.payment-main .primary{min-height:2.5rem}.checkout-actions>*,.checkout-hosted,.row-actions>button,.modal-actions>button{min-height:2.25rem}
/* The route container is recreated on navigation, including transactions/API/settings. */
@keyframes workspace-enter{from{opacity:.35;transform:translateY(.4rem)}to{opacity:1;transform:none}}
.main{animation:workspace-enter .24s ease-out both}
@media(max-width:640px){
 body:not(.admin-workspace) .topbar{display:grid;grid-template-columns:2.25rem minmax(0,1fr) auto 2.25rem;align-items:center;gap:.375rem;min-height:3.75rem;padding:.5rem .75rem}
 .topbar .mobile-menu{grid-column:1;grid-row:1;min-width:2.25rem;min-height:2.25rem;padding:.375rem}
 .topbar .breadcrumb{grid-column:2;grid-row:1;font-size:.75rem}.topbar .breadcrumb>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .topbar .user-mini{grid-column:4;grid-row:1;min-width:2.25rem;min-height:2.25rem}.topbar .user-mini .avatar{width:1.875rem;height:1.875rem;font-size:.6875rem}
 body:not(.admin-workspace) .top-actions .deposit-guide{grid-column:3;grid-row:1;min-height:2.25rem;max-width:8.5rem;padding:.5rem .625rem;font-size:.625rem;gap:.25rem}
 .main{padding:1.2rem .8rem calc(5.25rem + env(safe-area-inset-bottom))}.page-head h1{font-size:1.4rem}.page-head p{font-size:.8125rem}
 .overview-wallet{padding:1.2rem;min-height:0}.overview-wallet>strong{font-size:2rem}.overview-wallet p{font-size:.8125rem;margin:.5rem 0 1rem}.overview-mode{padding:1.2rem}.overview-mode p{font-size:.8125rem}
 .dashboard-six .stat{padding:.85rem}.dashboard-six .stat-value{font-size:1.3rem}.dashboard-six .stat-top>span:first-child{font-size:.625rem}.dashboard-six .stat-foot{font-size:.5625rem;line-height:1.6}
 .update-banner>.btn{min-height:2.25rem}.update-banner h3{font-size:1rem}.update-banner p{font-size:.75rem}
 .auth-v10 .auth-form{padding:1.2rem 1rem}.auth-v10 .auth-story{padding:1rem}.auth-v10 h1{font-size:1.5rem}
 .mobile-nav{padding:.5rem .2rem calc(.5rem + env(safe-area-inset-bottom))}.mobile-nav a{min-height:2.25rem;font-size:.5625rem}.mobile-nav svg{width:1rem;height:1rem}
 .telegram-bar{padding-top:1.25rem;margin-top:1.5rem}.telegram-bar button{min-height:2.25rem;padding:.5rem .6rem}.public-footer{padding:1.5rem 0;gap:1rem;margin-top:1.5rem}.telegram-float{width:2.5rem;height:2.5rem}.telegram-float svg{width:1.25rem;height:1.25rem}
 .row-actions{min-width:0}.row-actions>button,.modal-actions>button{min-height:2.25rem}
}
@media(prefers-reduced-motion:reduce){.main{animation:none}.nav-item,.quick-grid a,.public-footer a{transition:none}.nav-item:hover,.quick-grid a:hover,.nav-item:active,.quick-grid a:active{transform:none}}

/* v14.1: compact buttons; Telegram stays anchored to the viewport. */
button,.btn{padding:.45rem .7rem;min-height:2rem;font-size:.75rem}
body:not(.admin-workspace) .deposit-guide{min-height:2rem;padding:.45rem .625rem;font-size:.6875rem;gap:.3rem}
.language-toggle button{min-height:2rem;min-width:2rem;padding:.4rem}
.auth-v10 button.primary,.auth-v10 .google-login,.payment-main .primary{min-height:2.25rem}
.overview-mode>button,.amount-options button,.update-banner>.btn,.checkout-actions>*,.checkout-hosted,.row-actions>button,.modal-actions>button{min-height:2rem}
.telegram-bar button{min-height:2rem;padding:.45rem .6rem}
.telegram-float{position:fixed;inset:auto 1rem 1.25rem auto;margin:0;width:2.75rem;height:2.75rem;padding:0;display:grid;place-items:center;z-index:40}
.telegram-float svg{width:1.375rem;height:1.375rem}
@media(max-width:640px){
 body:not(.admin-workspace) .top-actions .deposit-guide{min-height:2rem;max-width:8rem;padding:.4rem .5rem;font-size:.625rem;gap:.25rem}
 .telegram-float{position:fixed;inset:auto .875rem calc(4.5rem + env(safe-area-inset-bottom)) auto;margin:0;width:2.5rem;height:2.5rem}
 .telegram-float svg{width:1.25rem;height:1.25rem}
}

/* v14.2: website logo in user identity and consistent compact actions. */
.profile-identity{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;min-width:0}.profile-identity h2,.profile-identity strong{min-width:0;overflow-wrap:anywhere}
.profile-logo{display:block;width:2.5rem;height:2.5rem;object-fit:contain;border-radius:.625rem;flex-shrink:0}
.user-mini .avatar{padding:0;overflow:hidden;background:transparent;border-color:#70528a}.user-mini .avatar .profile-logo{width:100%;height:100%;border-radius:inherit}
.main :is(button,.btn):not(.product-title):not(.carousel-arrow):not(.icon-btn),dialog :is(button,.btn):not(.icon-btn){padding:.4rem .65rem;min-height:2rem;font-size:.75rem;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.account-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem}.account-menu-grid>*{min-width:0}.admin-quick{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:640px){.profile-identity{gap:.625rem;margin-bottom:.875rem}.profile-identity>.profile-logo{width:2.25rem;height:2.25rem}.admin-quick{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.account-menu-grid{grid-template-columns:minmax(0,1fr)}}
