/* CS27REG 3.21.14 — Hybrid: Ghost data + Solution/muts table geometry. CENTRAL /stats ONLY. */
body[data-template="cs27Reg"].cs27-route-stats .cs27-stats-hybrid-wrap{
  background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-stats-head{
  display:grid!important;grid-template-columns:10% 35% 13% 13% 14% 15%;align-items:center;
  min-height:42px;height:42px;margin:0!important;padding:0!important;
  background:#202627!important;border:0!important;border-bottom:1px solid #323c3d!important;border-radius:0!important;
  color:#8f9a9b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-stats-head>span{display:flex;align-items:center;justify-content:center;height:42px;padding:0 8px;text-align:center;box-sizing:border-box}
body[data-template="cs27Reg"].cs27-route-stats #stats.cs27-stats-hybrid-table{
  display:block!important;margin:0!important;padding:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;overflow:hidden!important;
}
/* The common renderer outputs sidebar/card/legacy row + our Ghost data row. In the central stats table only, keep exactly the data row. */
body[data-template="cs27Reg"].cs27-route-stats #stats>.top_block_stats_player,
body[data-template="cs27Reg"].cs27-route-stats #stats>.card_stats_top_player,
body[data-template="cs27Reg"].cs27-route-stats #stats>.table-row{display:none!important}
body[data-template="cs27Reg"] .cs27-ghost-stat-row{display:none}
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-ghost-stat-row{
  position:relative;display:grid!important;grid-template-columns:10% 35% 13% 13% 14% 15%;align-items:center;
  width:100%;height:50px;min-height:50px;margin:0!important;padding:0!important;box-sizing:border-box;
  color:#eef2f2;text-decoration:none!important;background:#1d2324!important;
  border:0!important;border-bottom:1px solid #323c3d!important;border-radius:0!important;box-shadow:none!important;
}
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-ghost-stat-row:nth-child(even){background:#202627!important}
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-ghost-stat-row:hover{background:#242b2c!important}
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-ghost-stat-row:last-child{border-bottom:1px solid #323c3d!important}
/* No special large TOP-3 cards/backgrounds: only a compact trophy, like a table status icon. */
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-place-1,
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-place-2,
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-place-3{background:inherit!important}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>span{
  min-width:0;height:50px;display:flex;align-items:center;justify-content:center;padding:0 8px;box-sizing:border-box;overflow:hidden;
  color:#eef2f2;font-size:12px;line-height:1.15;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-place{gap:6px;font-weight:800}
body[data-template="cs27Reg"].cs27-route-stats .cs27-medal{font-size:15px;line-height:1}
body[data-template="cs27Reg"].cs27-route-stats .cs27-medal.gold{color:#ffd84d}
body[data-template="cs27Reg"].cs27-route-stats .cs27-medal.silver{color:#c7ced4}
body[data-template="cs27Reg"].cs27-route-stats .cs27-medal.bronze{color:#d87a48}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-player{justify-content:flex-start!important;gap:8px!important;padding-left:10px!important;text-align:left}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-avatar{
  flex:0 0 28px!important;width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;min-height:28px!important;max-height:28px!important;
  margin:0!important;padding:0!important;border-radius:50%!important;object-fit:cover!important;
}
body[data-template="cs27Reg"].cs27-route-stats .cs27-avatar-letter{display:grid!important;place-items:center;background:#2b3031;color:#ff7048;font-size:10px;font-weight:800}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-nick{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;color:#eef2f2}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-value{font-weight:700;text-align:center}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill{justify-content:center!important;text-align:center}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill .label{display:inline-flex!important;align-items:center;justify-content:center;min-width:58px;max-width:100%;padding:4px 7px!important;border-radius:5px!important;white-space:nowrap;font-size:10px;line-height:1}
body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-skill img.rank{width:auto!important;height:auto!important;max-width:70px!important;max-height:28px!important;object-fit:contain!important}
@media(max-width:767px){
 body[data-template="cs27Reg"].cs27-route-stats .cs27-stats-head,
 body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-ghost-stat-row{grid-template-columns:11% 35% 12% 12% 14% 16%}
 body[data-template="cs27Reg"].cs27-route-stats .cs27-stats-head{font-size:8px}
 body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-stat-row>span{padding:0 4px;font-size:10px}
 body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-avatar{flex-basis:24px!important;width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;min-height:24px!important;max-height:24px!important}
 body[data-template="cs27Reg"].cs27-route-stats .cs27-ghost-player{gap:5px!important;padding-left:5px!important}
}

/* CS27REG 3.21.14.1 — border-only hotfix. Do not change stats DOM/integration. */
body[data-template="cs27Reg"].cs27-route-stats .cs27-table-head.cs27-stats-head{
  border:1px solid #323c3d!important;
  border-bottom:0!important;
  border-radius:0!important;
}
body[data-template="cs27Reg"].cs27-route-stats #stats.cs27-stats-hybrid-table{
  border-radius:0!important;
}
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-ghost-stat-row{
  border-radius:0!important;
  border-bottom:1px solid #323c3d!important;
}
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-ghost-stat-row:last-child{
  border-bottom:1px solid #323c3d!important;
}

/* CS27REG 3.21.14.2 — table frame + subtle TOP-3 accents. */
body[data-template="cs27Reg"].cs27-route-stats #stats.cs27-stats-hybrid-table{
  border:1px solid #323c3d!important;
  border-radius:0!important;
}
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-ghost-stat-row.cs27-place-1{
  background:linear-gradient(90deg,rgba(214,170,64,.14) 0%,rgba(214,170,64,.045) 42%,rgba(29,35,36,1) 100%)!important;
  box-shadow:inset 3px 0 0 rgba(226,184,75,.78)!important;
}
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-ghost-stat-row.cs27-place-2{
  background:linear-gradient(90deg,rgba(166,177,188,.12) 0%,rgba(166,177,188,.035) 42%,rgba(32,38,39,1) 100%)!important;
  box-shadow:inset 3px 0 0 rgba(184,194,204,.68)!important;
}
body[data-template="cs27Reg"].cs27-route-stats #stats>.cs27-ghost-stat-row.cs27-place-3{
  background:linear-gradient(90deg,rgba(181,104,61,.14) 0%,rgba(181,104,61,.04) 42%,rgba(29,35,36,1) 100%)!important;
  box-shadow:inset 3px 0 0 rgba(195,112,66,.74)!important;
}
