/* Keep header groups on intentional rows instead of incidental flex wrapping. */
#main > .top{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;grid-template-areas:"brand status status" "account sponsor support";gap:10px 16px;position:static;align-items:center}
#main > .top > .brand{grid-area:brand;min-width:0}
#main > .top > .brand > div{min-width:0}
#main > .top #meName{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
#main > .top > .lamps{grid-area:status;justify-self:end;min-width:0;max-width:100%;flex-wrap:wrap}
#main > .top > .langs{grid-area:account;display:flex;flex-wrap:wrap;min-width:0;max-width:100%;gap:6px;padding:0;border:0;background:none;box-shadow:none}
#main > .top > .nb-vsphone{grid-area:sponsor;margin:0;width:250px}
#main > .top > .support-links{grid-area:support;margin:0;justify-self:end;white-space:nowrap}
#main > .top ~ .tabs{top:0}
#main > .top #acctEmail{min-width:0;max-width:100%;margin:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#main > .top #btnLogout{margin:0!important}
#main > .top .savebar{position:static;transform:none;inset:auto;z-index:auto;max-width:100%;width:auto;justify-content:flex-start}
#main > .top .savebar .inner{border-radius:8px;padding:5px 9px;box-shadow:none;max-width:100%;overflow-wrap:anywhere;font-size:11px;line-height:1.4}
#botGroupBar{display:block}
#botGroupBar>.mut{display:block;margin-bottom:5px}
#botGroupFilters{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
#botGroupFilters .bot-group-filter{flex:0 1 auto;min-width:240px;min-height:58px;padding:9px 12px;border-radius:12px;text-align:left;line-height:1.35;font-size:12px}
#botGroupFilters .bot-group-wallet{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:5px;font-size:11px;font-weight:500;line-height:1.35}
#botGroupFilters .bot-group-wallet>span{white-space:nowrap}
#botGroupFilters .bot-group-wallet>span:last-child{flex-basis:auto;font-weight:500;color:var(--mut)}
@media(max-width:1100px){
 #main > .top{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand status" "account account" "sponsor support";gap:10px}
 #main > .top .lamps .lamp{padding:5px 7px;font-size:11px}
}
@media(max-width:700px){
 #main > .top{grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "status" "account" "sponsor" "support";gap:8px}
 #main > .top > .lamps{justify-self:stretch;display:flex;justify-content:space-between;gap:0}
 #main > .top .lamps .lamp{flex:1 1 auto;justify-content:center;min-width:0;font-size:10px;padding:6px 5px;gap:4px;white-space:normal;line-height:1.35}
 #main > .top .lamps .lamp::before{width:11px;height:11px}
 #main > .top > .nb-vsphone{width:100%;height:44px;min-height:44px}
 #main > .top > .support-links{justify-self:stretch;justify-content:center}
 #main > .top > .langs{gap:6px}
 #main > .top #gameServerClock{font-size:11px;padding:4px 8px}
 #main > .top #acctEmail{flex:1 1 150px;font-size:11px!important;text-align:left}
 #main > .top #btnLogout{font-size:11px}
 #licChips{gap:6px}
 #licChips .chip{grid-template-columns:14px minmax(0,1fr) minmax(64px,28%);grid-template-rows:minmax(28px,auto) auto;min-height:60px;padding:7px 10px;gap:2px 6px;border-radius:14px;font-size:13px}
 #licChips .chip-ava{width:16px;height:16px;left:8px;top:8px}
 #licChips .chip>i{width:6px;height:6px;align-self:end;justify-self:center}
 #licChips .chip>small{max-width:100%;font-size:10px;line-height:1.3}
 #licChips .chip-expiry{font-size:9px}
 #licChips .chip-name-row{line-height:1.25}
 #licChips .chip-level{font-size:10px;padding:0 5px}
 #licChips .chip-wallet{font-size:10px;gap:3px;line-height:1.4;min-height:0;overflow:visible;white-space:normal}
 #licChips .chip-wallet span{white-space:nowrap}
 #botGroupFilters .bot-group-filter{min-height:54px;padding:8px 11px;border-radius:12px;font-size:11px}
 #botGroupFilters .bot-group-wallet{display:flex;flex-wrap:wrap;gap:3px 7px;margin-top:3px;font-size:10px}
 #botGroupFilters .bot-group-wallet>span:last-child{flex-basis:auto}
 #botGroupBar{display:block}
 #botGroupFilters{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;max-width:100%;padding:4px 0;overscroll-behavior-x:contain}
 #botGroupFilters .bot-group-filter{flex:0 0 auto;min-width:240px;max-width:280px}
}
