/* CS-MONIC HOTFIX V41: scoped layout and click fixes for TopBoost2026. */
.tb26-header.tb26-header-safe{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;min-height:74px}
.tb26-header .tb26-brand{flex:0 0 auto;min-width:205px}
.tb26-header .tb26-menu{display:flex;flex:1 1 590px;align-items:center;gap:2px;min-width:0;flex-wrap:wrap;justify-content:center}
.tb26-header .tb26-menu a{display:inline-flex;align-items:center;min-height:38px;padding:9px 10px!important;white-space:nowrap}
.tb26-header .tb26-userbox{display:flex;flex:0 0 auto;align-items:center;gap:8px;min-width:0;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.tb26-header .tb40-mobile-menu{order:2;cursor:pointer}
.tb26-brand-text b{white-space:nowrap}
/* The old card ::before overlay had z-index:1 and intercepted clicks on map links. */
.tb26-card-grid-engine .tb26-server-card{padding:0!important;min-width:0;overflow:hidden;isolation:isolate}
.tb26-card-grid-engine .tb26-server-card:before{pointer-events:none!important;z-index:1}
.tb26-card-grid-engine .tb26-map{position:relative!important;display:block!important;height:158px!important;z-index:3!important;overflow:hidden;cursor:pointer;isolation:isolate}
.tb26-card-grid-engine .tb26-map img{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:.88!important;filter:none!important;pointer-events:none}
.tb26-card-grid-engine .tb26-map .tb26-badge,.tb26-card-grid-engine .tb26-map .tb26-status-dot{pointer-events:none}
.tb26-card-grid-engine .tb26-card-body{height:auto!important;min-height:150px!important;padding:14px!important;position:relative!important;z-index:2!important;display:flex!important;flex-direction:column!important}
.tb26-card-grid-engine .tb26-card-actions{margin-top:auto!important;padding-top:12px}
.tb26-card-grid-engine .tb26-card-actions a{position:relative;z-index:4}
.tb26-card-grid-engine .tb26-server-name{overflow-wrap:anywhere;white-space:normal}
.tb26-card-grid-engine .tb26-free-place .tb26-map{cursor:pointer}
/* Cabinet: stop lists from inheriting odd legacy margins and column widths. */
.tb26-main-content-safe,.tb26-main-content-safe .tm-main,.tb26-main-content-safe .tm-content{min-width:0!important}
.tb26-main-content .tb40-cabinet-nav{margin:0!important;padding:0!important;list-style:none!important}
.tb26-main-content .tb40-cabinet-nav li{margin:0!important;max-width:100%}
.tb26-main-content .tb40-cabinet-nav li>a{width:100%!important;min-height:44px;box-sizing:border-box!important;overflow-wrap:break-word!important}
.tb26-main-content .tb26-services-table{table-layout:auto!important;min-width:680px}
.tb26-main-content .tb26-services-table th:last-child,.tb26-main-content .tb26-services-table td:last-child{text-align:center}
.tb26-table-scroll{max-width:100%;overflow-x:auto!important}
@media(max-width:1320px){
 .tb26-header .tb26-menu{order:3;flex:1 0 100%;justify-content:flex-start}
 .tb26-header .tb26-userbox{margin-left:auto}
}
@media(max-width:1000px){
 .tb26-header .tb40-mobile-menu{display:inline-flex!important;order:1;margin-left:auto}
 .tb26-header .tb26-userbox{order:2;margin-left:0;justify-content:flex-end}
 .tb26-header .tb26-menu{display:none!important;order:3;flex:1 0 100%;width:100%;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;padding:10px 0 4px;border-top:1px solid rgba(95,210,255,.15)}
 .tb26-header .tb26-menu.tb41-nav-open{display:flex!important}
 .tb26-header .tb26-menu a{width:100%;padding:12px 14px!important}
}
@media(max-width:640px){
 .tb26-header{gap:10px!important}
 .tb26-header .tb26-brand{min-width:0;max-width:calc(100% - 105px)}
 .tb26-header .tb26-brand-text b{font-size:14px}
 .tb26-header .tb26-brand-text em{font-size:10px}
 .tb26-header .tb26-userbox{order:3;flex:1 0 100%;width:100%;margin-left:0;justify-content:space-between}
 .tb26-header .tb26-menu{order:4}
 .tb26-card-grid-engine{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))!important}
 .tb26-home-hero-safe h1{font-size:clamp(23px,7vw,32px)!important}
 .tb26-card-grid-engine .tb26-map{height:175px!important}
}
@media(prefers-reduced-motion:reduce){.tb26-card-grid-engine .tb26-server-card:hover{transform:none!important}}

/* Standalone Telegram Pay administrator health summary. */
.tg41-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}
.tg41-health-grid>div{background:rgba(255,255,255,.045);border:1px solid rgba(100,205,255,.14);border-radius:12px;padding:12px}
.tg41-health-grid b{display:block;color:#85e3ff;font-size:15px;margin-bottom:5px}
.tg41-health-grid span{display:block;font-size:12px;color:#aabed8}
@media(max-width:720px){.tg41-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.tg41-health-grid{grid-template-columns:1fr}}
