/* CS27REG 3.24.0 — mobile statistics redesign */
@media(max-width:767px){
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page{padding-left:10px!important;padding-right:10px!important}
body[data-template="cs27Reg"].cs27-route-stats .block_select_servers_blocked_two{margin:0 0 14px!important;padding:14px!important;border:1px solid #383f40!important;border-radius:16px!important;background:#202526!important;box-shadow:none!important}
body[data-template="cs27Reg"].cs27-route-stats .flex_servers_block_bms{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}
body[data-template="cs27Reg"].cs27-route-stats .block_head_vert_al{display:flex!important;align-items:center!important;gap:11px!important;margin:0!important;padding:0!important}
body[data-template="cs27Reg"].cs27-route-stats .block_head_vert_al>i{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;margin:0!important;border-radius:11px!important;background:#ff572817!important;color:#ff6d43!important;font-size:21px!important}
body[data-template="cs27Reg"].cs27-route-stats .block_head_vert_al h1{margin:0!important;font-size:17px!important;line-height:1.25!important;color:#f4f6f6!important}
body[data-template="cs27Reg"].cs27-route-stats .block_head_vert_al text{display:block!important;margin-top:2px!important;font-size:11px!important;color:#8f9b9c!important}
body[data-template="cs27Reg"].cs27-route-stats .block_search,body[data-template="cs27Reg"].cs27-route-stats .input-search{width:100%!important;margin:0!important}
body[data-template="cs27Reg"].cs27-route-stats .input-search .custom-input{width:100%!important;margin:0!important;padding-right:42px!important;border-radius:11px!important}
body[data-template="cs27Reg"].cs27-route-stats .vertical_navigation_bms{display:flex!important;gap:8px!important;width:100%!important;margin:12px 0 0!important;padding:0 0 3px!important;overflow-x:auto!important;scrollbar-width:none!important}
body[data-template="cs27Reg"].cs27-route-stats .vertical_navigation_bms::-webkit-scrollbar{display:none!important}
body[data-template="cs27Reg"].cs27-route-stats .vertical_navigation_bms>*{flex:0 0 auto!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-stats-head{display:none!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats.cs27-stats-hybrid-table{display:grid!important;gap:9px!important;border:0!important;overflow:visible!important;background:transparent!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-ghost-stat-row,body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-ghost-stat-row:nth-child(even){display:grid!important;grid-template-columns:54px minmax(0,1fr) repeat(4,minmax(0,1fr))!important;grid-template-areas:"place player player player player player" "place kills deaths heads skill skill"!important;width:100%!important;height:auto!important;min-height:108px!important;padding:12px!important;border:1px solid #383f40!important;border-radius:14px!important;background:#202526!important;box-shadow:none!important;overflow:hidden!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-place-1{border-color:#6d5a2e!important;background:linear-gradient(135deg,#2a281f 0,#202526 58%)!important;box-shadow:inset 3px 0 #d9ad48!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-place-2{border-color:#555e63!important;background:linear-gradient(135deg,#282d30 0,#202526 58%)!important;box-shadow:inset 3px 0 #aeb9c0!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-place-3{border-color:#654533!important;background:linear-gradient(135deg,#2b2521 0,#202526 58%)!important;box-shadow:inset 3px 0 #bd744c!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>span{height:auto!important;min-width:0!important;padding:0!important;overflow:visible!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-place{grid-area:place!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;border-right:1px solid #353c3d!important;font-size:18px!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-player{grid-area:player!important;justify-content:flex-start!important;gap:9px!important;padding:0 0 10px 12px!important;border-bottom:1px solid #343b3c!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-avatar{flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;min-height:34px!important;max-height:34px!important;border-radius:10px!important;background:#2c3233!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-nick{font-size:13px!important;line-height:1.3!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value,body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill{position:relative!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;min-height:44px!important;padding-top:18px!important;font-size:12px!important;font-weight:800!important;text-align:center!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value:nth-of-type(3){grid-area:kills!important}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value:nth-of-type(4){grid-area:deaths!important}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value:nth-of-type(5){grid-area:heads!important}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill{grid-area:skill!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value::before,body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill::before{position:absolute!important;top:5px!important;left:0!important;width:100%!important;color:#7f8b8c!important;font-size:8px!important;font-weight:700!important;line-height:1!important;text-transform:uppercase!important;letter-spacing:.04em!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value:nth-of-type(3)::before{content:"Убийств"}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value:nth-of-type(4)::before{content:"Смертей"}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value:nth-of-type(5)::before{content:"В голову"}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill::before{content:"Skill"}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill .label{min-width:0!important;max-width:100%!important;padding:4px 5px!important;font-size:8px!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-template="cs27Reg"].cs27-route-stats .pagination_center{margin-top:14px!important}
body[data-template="cs27Reg"].cs27-route-stats .content-page-title{margin:0 0 12px!important;padding:0!important;font-size:19px!important;line-height:1.3!important}
body[data-template="cs27Reg"].cs27-route-stats .block_solution{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body[data-template="cs27Reg"].cs27-route-stats .profile_stats_player{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 10px!important;padding:12px!important;border:1px solid #383f40!important;border-radius:14px!important;background:#202526!important}
body[data-template="cs27Reg"].cs27-route-stats .flex_player_stats_top{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:0!important}
body[data-template="cs27Reg"].cs27-route-stats .stats_player_podblock{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important}
body[data-template="cs27Reg"].cs27-route-stats .stats_player_podblock .info_block_names{width:100%!important;min-width:0!important;height:auto!important;min-height:72px!important;margin:0!important;padding:11px!important;border:1px solid #383f40!important;border-radius:12px!important;background:#202526!important;box-sizing:border-box!important}
body[data-template="cs27Reg"].cs27-route-stats .stats_player_podblock .info_block_names>i{flex:0 0 32px!important;width:32px!important;height:32px!important;display:grid!important;place-items:center!important;margin:0!important;border-radius:9px!important;background:#ff572817!important;color:#ff7048!important;font-size:17px!important}
body[data-template="cs27Reg"].cs27-route-stats .flex_info_block_names{min-width:0!important}body[data-template="cs27Reg"].cs27-route-stats .text_desp_info{font-size:9px!important;line-height:1.25!important;color:#899596!important}body[data-template="cs27Reg"].cs27-route-stats .name_info_block{max-width:100%!important;font-size:13px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important;color:#f0f3f3!important}
body[data-template="cs27Reg"].cs27-route-stats .flex_stats_player_progress{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}body[data-template="cs27Reg"].cs27-route-stats .flex_stats_player_progress .info_block_names{min-height:62px!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-secondary-rail .block_t_u{margin-top:12px!important;border:1px solid #383f40!important;border-radius:14px!important;overflow:hidden!important;background:#202526!important}body[data-template="cs27Reg"].cs27-route-stats .cs27-secondary-rail .tabs__controls{padding:12px!important}body[data-template="cs27Reg"].cs27-route-stats .cs27-secondary-rail .card_stats_top_player{margin:7px 10px!important;border-radius:12px!important}
body[data-template="cs27Reg"] .cs27-avatar-fallback[hidden]{display:none!important}body[data-template="cs27Reg"] .cs27-avatar-fallback:not([hidden]){display:grid!important;place-items:center!important;background:#303637!important;color:#ff7048!important;font-weight:800!important;text-transform:uppercase!important}
}

/* CS27 3.24.1 — mobile stats refinement */
@media (max-width:767px){
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-head{display:none!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;grid-template-areas:"place player" "metrics metrics"!important;gap:10px 12px!important;padding:12px!important;margin:8px 0!important;min-height:0!important;border-radius:14px!important;align-items:center!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-place{grid-area:place!important;width:44px!important;min-width:44px!important;height:48px!important;border-right:1px solid rgba(255,255,255,.08)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-player{grid-area:player!important;min-width:0!important;display:flex!important;align-items:center!important;gap:10px!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-avatar{width:38px!important;height:38px!important;min-width:38px!important;border-radius:10px!important;object-fit:cover!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-nick{font-size:13px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:800!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value,body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;min-width:0!important;padding:7px 8px!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.055)!important;border-radius:9px!important;font-size:12px!important;font-weight:800!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value:nth-of-type(1)::before{content:"УБИЙСТВА"}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value:nth-of-type(2)::before{content:"СМЕРТИ"}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value:nth-of-type(3)::before{content:"В ГОЛОВУ"}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill::before{content:"SKILL"}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value::before,body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill::before{font-size:7px!important;line-height:1!important;color:#829092!important;font-weight:700!important;margin-bottom:5px!important;letter-spacing:.25px!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row{grid-template-columns:44px minmax(0,1fr)!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>.cs27-ghost-value,body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>.cs27-ghost-skill{grid-row:2!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>.cs27-ghost-value:nth-of-type(1){grid-column:1!important}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>.cs27-ghost-value:nth-of-type(2){grid-column:2!important}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>.cs27-ghost-value:nth-of-type(3){grid-column:3!important}body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>.cs27-ghost-skill{grid-column:4!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row{grid-template-columns:44px minmax(0,1fr)!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row::after{content:"";grid-area:metrics;display:block;height:0}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>.cs27-ghost-value,body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>.cs27-ghost-skill{position:relative!important;grid-row:auto!important;grid-column:auto!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row{display:flex!important;flex-wrap:wrap!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-place{flex:0 0 44px!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-player{flex:1 1 calc(100% - 56px)!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value,body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill{flex:1 1 calc(25% - 7px)!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-stats-search,body[data-template="cs27Reg"].cs27-route-stats .block_search{border-radius:13px!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-secondary-rail{margin-top:12px!important}
body[data-template="cs27Reg"].cs27-route-stats .card_stats_top_player{min-height:0!important}
}

/* CS27 3.24.2 — mobile stats / ban / mute compact two-row controls */
@media (max-width:767px){
/* Stats table has its own card labels; desktop header is redundant on phones. */
body[data-template="cs27Reg"].cs27-route-stats .cs27-table-head.cs27-stats-head{display:none!important;height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}

/* Stats / ban-list / mute-list: selector panel = exactly two visual rows.
   Row 1: compact page identity + search. Row 2: server buttons. */
body[data-template="cs27Reg"] .block_select_servers_blocked_two{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;gap:9px!important;width:100%!important;padding:10px!important;margin-bottom:10px!important;box-sizing:border-box!important;overflow:hidden!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two>.flex_servers_block_bms{grid-row:1!important;display:grid!important;grid-template-columns:minmax(92px,34%) minmax(0,1fr)!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two .block_head_vert_al{min-width:0!important;margin:0!important;gap:7px!important;align-items:center!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two .block_head_vert_al>i{flex:0 0 28px!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;margin:0!important;border-radius:8px!important;font-size:15px!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two .flex_vert_al{min-width:0!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two .flex_vert_al h1{margin:0!important;font-size:9px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two .flex_vert_al text{display:none!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two .block_search,body[data-template="cs27Reg"] .block_select_servers_blocked_two .input-search{min-width:0!important;width:100%!important;margin:0!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two .input-search{height:42px!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two .input-search .custom-input{height:42px!important;min-height:42px!important;margin:0!important;padding-right:34px!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two .input-search .custom-input input{height:40px!important;min-height:40px!important;font-size:11px!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two .input-search .custom-input span{font-size:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two>.vertical_navigation_bms{grid-row:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two>.vertical_navigation_bms>li{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;white-space:normal!important}
body[data-template="cs27Reg"] .block_select_servers_blocked_two>.vertical_navigation_bms>li>a{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;min-height:38px!important;padding:8px 9px!important;box-sizing:border-box!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9px!important}

/* Cleaner mobile stat cards after removing the old column header. */
body[data-template="cs27Reg"].cs27-route-stats .cs27-stats-hybrid-wrap{margin-top:0!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats.cs27-stats-hybrid-table{gap:8px!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-ghost-stat-row{margin:0!important;padding:11px!important;gap:9px 10px!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value,body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill{flex:1 1 calc(25% - 8px)!important;min-height:48px!important;padding:6px 5px!important;align-items:center!important;text-align:center!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value::before,body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill::before{position:static!important;display:block!important;width:auto!important;margin:0 0 5px!important;font-size:6.5px!important;line-height:1.05!important;white-space:nowrap!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill .label{margin:0!important;padding:3px 4px!important;font-size:7px!important;line-height:1.1!important}
}

/* CS27 3.24.3 — fix compact selector/search geometry on mobile */
@media (max-width:767px){
/* Stage 3.24.2 was too broad. Keep this layout only on Stats / Ban / Mute. */
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two{
  display:block!important;width:100%!important;padding:12px!important;margin:0 0 10px!important;overflow:hidden!important;box-sizing:border-box!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two>.flex_servers_block_bms{
  display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important;min-width:0!important;margin:0!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .block_head_vert_al{
  display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;margin:0!important;padding:0!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .block_head_vert_al>i{
  flex:0 0 28px!important;width:28px!important;height:28px!important;margin:0!important;font-size:15px!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .flex_vert_al{min-width:0!important;overflow:hidden!important}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .flex_vert_al h1{
  margin:0!important;font-size:9px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .flex_vert_al text{display:none!important}

/* Reset old 80px / negative-margin search component before sizing it. */
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .block_search{
  position:relative!important;width:100%!important;min-width:0!important;height:42px!important;margin:0!important;padding:0!important;overflow:visible!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .input-search{
  position:relative!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;overflow:hidden!important;border-radius:11px!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .input-search .search_btn{
  position:absolute!important;z-index:5!important;left:5px!important;top:5px!important;width:32px!important;height:32px!important;border-radius:9px!important;margin:0!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .input-search .custom-input{
  position:relative!important;display:block!important;top:0!important;left:0!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;border:0!important;border-radius:11px!important;overflow:hidden!important;box-sizing:border-box!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .input-search .custom-input>input{
  position:relative!important;display:block!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:8px 10px 8px 43px!important;border:0!important;border-radius:11px!important;text-indent:0!important;font-size:11px!important;line-height:1.2!important;box-sizing:border-box!important;background:#343a3b!important;color:#f4f6f6!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .input-search .custom-input.with-title>span{
  display:block!important;position:absolute!important;z-index:6!important;left:43px!important;right:8px!important;top:12px!important;height:auto!important;margin:0!important;padding:0!important;transform:none!important;font-size:9px!important;line-height:18px!important;font-weight:600!important;color:#929c9d!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;pointer-events:none!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .input-search .custom-input.with-title>input:focus+span,
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two .input-search .custom-input.with-title>input:not(:placeholder-shown)+span{
  top:3px!important;font-size:7px!important;line-height:12px!important;transform:none!important
}

/* Server selector is the second visual row; two equal columns. */
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two>.vertical_navigation_bms{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:10px 0 0!important;padding:0!important;overflow:visible!important
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two>.vertical_navigation_bms>li{width:100%!important;min-width:0!important;margin:0!important}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two>.vertical_navigation_bms>li>a{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;min-height:40px!important;padding:8px 9px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;box-sizing:border-box!important;font-size:9px!important
}
}

/* Stage 11 / 3244: mobile server selector + stats card spacing */
@media (max-width:767px){
/* Stats / ban / mute: each server gets its own full-width row so the name is never truncated. */
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two>.vertical_navigation_bms{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  gap:8px!important;
  width:100%!important;
  margin:10px 0 0!important;
  padding:0!important;
  overflow:visible!important;
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two>.vertical_navigation_bms>li{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
body[data-template="cs27Reg"]:is(.cs27-route-stats,.cs27-route-banlist,.cs27-route-mutlist) .block_select_servers_blocked_two>.vertical_navigation_bms>li>a{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  height:auto!important;
  padding:9px 11px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  white-space:normal!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  font-size:9px!important;
  line-height:1.25!important;
}
/* Give the player header breathing room before the stat values. */
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-player{
  margin-bottom:10px!important;
  padding-bottom:10px!important;
}
/* Values: more internal spacing and separation, without widening the card. */
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value,
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill{
  min-height:50px!important;
  padding:8px 6px!important;
  margin-top:2px!important;
  box-sizing:border-box!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row{
  row-gap:8px!important;
  column-gap:7px!important;
}
}

/* Stage 12 / 3245: extra horizontal breathing room inside mobile stat value pills */
@media (max-width:767px){
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value,
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill{
  padding-left:10px!important;
  padding-right:10px!important;
}
}

/* CS27 3.24.6 — final mobile metric pill geometry.
   Important: earlier rules set flex-basis/padding several times. Force a real box width here,
   otherwise padding only squeezes the content and is visually lost. */
@media (max-width:767px){
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-ghost-stat-row>.cs27-ghost-value,
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-ghost-stat-row>.cs27-ghost-skill{
  flex:0 0 calc((100% - 21px)/4)!important;
  width:calc((100% - 21px)/4)!important;
  min-width:0!important;
  max-width:calc((100% - 21px)/4)!important;
  min-height:50px!important;
  margin:0!important;
  padding:7px 8px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.035)!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:9px!important;
  overflow:hidden!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-ghost-stat-row{
  column-gap:7px!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-ghost-stat-row>.cs27-ghost-value::before,
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-ghost-stat-row>.cs27-ghost-skill::before{
  position:static!important;
  width:100%!important;
  margin:0 0 5px!important;
  text-align:center!important;
  font-size:6px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats>.cs27-ghost-stat-row>.cs27-ghost-skill .label{
  max-width:100%!important;
  margin:0!important;
  padding:3px 3px!important;
  box-sizing:border-box!important;
  font-size:6.5px!important;
}
}

/* CS27 3.24.7 — definitive mobile stats layout fix.
   The previous flex-wrap override made the four metric boxes shrink to content width.
   Restore an explicit two-row grid: place at left, player on top, 4 equal metric cells below. */
@media (max-width:767px){
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row{
  display:grid!important;
  grid-template-columns:48px repeat(4,minmax(0,1fr))!important;
  grid-template-rows:auto auto!important;
  grid-template-areas:
    "place player player player player"
    "place kills deaths heads skill"!important;
  align-items:stretch!important;
  gap:9px 7px!important;
  width:100%!important;
  min-height:0!important;
  padding:11px 12px 12px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-place{
  grid-area:place!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  align-self:stretch!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 8px 0 0!important;
  margin:0!important;
  border-right:1px solid #343b3c!important;
  box-sizing:border-box!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-player{
  grid-area:player!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0 0 9px 0!important;
  box-sizing:border-box!important;
  border-bottom:1px solid #343b3c!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-value,
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-skill{
  flex:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:48px!important;
  margin:0!important;
  padding:7px 6px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.035)!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:9px!important;
  overflow:hidden!important;
  text-align:center!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-value:nth-of-type(3){grid-area:kills!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-value:nth-of-type(4){grid-area:deaths!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-value:nth-of-type(5){grid-area:heads!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-skill{grid-area:skill!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-value::before,
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-skill::before{
  position:static!important;
  display:block!important;
  width:100%!important;
  margin:0 0 5px!important;
  padding:0!important;
  font-size:5.7px!important;
  line-height:1.05!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-skill .label{
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:3px 3px!important;
  font-size:6.2px!important;
  line-height:1.05!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row::after{display:none!important;content:none!important}
}


/* CS27 3.24.8 — player details: normal TOP sidebar + one-column stats on mobile */
@media (max-width:767px){
/* Detailed player statistics: each metric is one full-width row. */
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page .stats_player_podblock{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page .stats_player_podblock>.info_block_names,
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page .stats_player_podblock>.flex_stats_player_progress{
  grid-column:1!important;
  width:100%!important;
  max-width:100%!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page .stats_player_podblock>.info_block_names{
  min-height:58px!important;
  padding:10px 12px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
}
/* The sidebar TOP must use the same compact component as other pages. */
body[data-template="cs27Reg"].cs27-route-stats .cs27-secondary-rail .block_t_u .card_stats_top_player{
  display:flex!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-secondary-rail .block_t_u :is(.cs27-ghost-head,.cs27-ghost-stat-row){
  display:none!important;
}
}

/* CS27 3.24.9 — compact server players modal + profile header background cleanup */
body[data-template="cs27Reg"] .cs27-profile-page .flex_head_block{
  background:transparent!important;
}

/* Server players popup: compact desktop layout without changing functionality. */
@media (min-width:768px){
  body[data-template="cs27Reg"] .cs27-server-modal .modal-dialog{
    width:min(760px,calc(100vw - 32px))!important;
    max-width:760px!important;
    margin:18px auto!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .modal-content{
    border-radius:14px!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .server_info{
    min-height:118px!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .info_server{
    padding:17px 42px 14px!important;
    gap:7px!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .name_server_info{
    font-size:13px!important;
    line-height:1.3!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .player_number_info{
    padding:5px 11px!important;
    font-size:11px!important;
    line-height:1.2!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .connect_server{
    padding:7px 13px!important;
    font-size:11px!important;
    line-height:1.2!important;
    border-radius:7px!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .modal-body{
    padding:10px 14px 12px!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal [id^="server-players"]{
    max-height:330px!important;
    padding:0 4px 0 0!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row{
    margin:0 0 6px!important;
    border-radius:9px!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row > .row,
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row > .row:has(> div:nth-child(4)){
    min-height:56px!important;
    padding:8px 10px!important;
    gap:8px!important;
    grid-template-columns:minmax(0,1.45fr) minmax(70px,.55fr) minmax(90px,.72fr) minmax(160px,1.2fr)!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row > .row > div:first-child{
    padding-left:35px!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row .cs27-player-position{
    width:25px!important;
    min-width:25px!important;
    max-width:25px!important;
    height:25px!important;
    border-radius:7px!important;
    font-size:10px!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row p{
    margin:0 0 2px!important;
    font-size:11px!important;
    line-height:1.25!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row p + span,
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row > .row > div > span{
    font-size:9px!important;
    line-height:1.2!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row select{
    height:32px!important;
    padding:0 20px 0 30px!important;
    font-size:10px!important;
    border-radius:7px!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row .custom-select i{
    top:9px!important;
    left:9px!important;
  }
  body[data-template="cs27Reg"] .cs27-server-modal .cs27-server-player-row .succesy_button_player{
    flex-basis:30px!important;
    width:30px!important;
    height:30px!important;
    border-radius:7px!important;
  }
}

/* CS27 3.25.1 — iPhone/Safari player detail progress fix.
   A legacy global .progress rule uses height:-webkit-fill-available, which Safari
   expands to the available viewport height. Keep progress metrics compact. */
@media (max-width:767px){
  body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page .flex_stats_player_progress{
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    align-self:auto!important;
  }
  body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page .flex_stats_player_progress .info_block_names{
    height:auto!important;
    min-height:58px!important;
    max-height:none!important;
    padding:10px 12px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page .flex_stats_player_progress .progress{
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:8px!important;
    min-height:8px!important;
    max-height:8px!important;
    margin:7px 0 0!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.09)!important;
    box-sizing:border-box!important;
    -webkit-appearance:none!important;
    appearance:none!important;
  }
  body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page .flex_stats_player_progress .progress > *{
    height:100%!important;
    min-height:0!important;
    max-height:8px!important;
  }
  body[data-template="cs27Reg"].cs27-route-stats .cs27-inner-page .flex_stats_player_progress :is(.progress-bar,.progress_bar){
    height:8px!important;
    min-height:8px!important;
    max-height:8px!important;
    border-radius:999px!important;
  }
}
