/* CS27 3.27.1 — shared table appearance, loaded after the legacy theme.
   Structural column rules stay in their existing templates. */
body[data-template="cs27Reg"][data-cs27-ui="3271"] {
  --cs27-table-bg:#191f1d;
  --cs27-table-alt:#1d2521;
  --cs27-table-head:#25302a;
  --cs27-table-line:#38463d;
  --cs27-table-hover:#28362d;
  --cs27-table-text:#eef3ed;
  --cs27-table-muted:#a5b6aa;
  --cs27-accent:#ff6a32;
  --cs27-accent-soft:rgba(255,106,50,.12);
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll {
  width:100%;max-width:100%;min-width:0;overflow:auto!important;
  border:1px solid var(--cs27-table-line)!important;border-radius:10px!important;
  background:var(--cs27-table-bg)!important;scrollbar-width:thin;
  scrollbar-color:#65796a var(--cs27-table-bg);overscroll-behavior-x:contain;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll:focus-visible {outline:2px solid #ffab85;outline-offset:3px}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table {
  display:table!important;width:100%!important;min-width:0!important;margin:0!important;
  border:0!important;border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important;
  border-radius:0!important;background:var(--cs27-table-bg)!important;color:var(--cs27-table-text)!important;
  font:14px/1.5 Arial,sans-serif!important;font-variant-numeric:tabular-nums;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table > thead {display:table-header-group!important}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table > tbody {display:table-row-group!important}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table > tfoot {display:table-footer-group!important}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table > :is(thead,tbody,tfoot) > tr {
  display:table-row!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table > :is(thead,tbody,tfoot) > tr > :is(th,td) {
  display:table-cell!important;position:static!important;padding:14px 16px!important;
  height:auto!important;min-height:0!important;float:none!important;
  border:0!important;border-bottom:1px solid var(--cs27-table-line)!important;border-radius:0!important;
  background:transparent!important;vertical-align:middle!important;text-align:left!important;
  color:inherit!important;font:inherit!important;white-space:normal!important;overflow-wrap:anywhere;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table > thead > tr > :is(th,td) {
  background:var(--cs27-table-head)!important;color:#c8d6cb!important;font-size:12px!important;font-weight:700!important;letter-spacing:.025em!important;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table > tbody > tr:nth-child(even) {background:var(--cs27-table-alt)!important}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table > tbody > tr:hover {background:var(--cs27-table-hover)!important}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table > tbody > tr:last-child > :is(th,td) {border-bottom:0!important}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-table [data-cs27-label]::before {content:none!important;display:none!important}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-table p {margin:0!important}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-table :is(input,select,textarea) {max-width:100%;box-sizing:border-box}
/* Lists, including dynamically inserted ban, mute, service and support rows. */
body[data-template="cs27Reg"][data-cs27-ui="3271"] :is(#stats,#banlist,#muts,#my_stores,.table-adaptive,.cs27-dashboard-table,.cs27-list-table) {
  background:transparent!important;border-radius:10px!important;box-shadow:none!important;min-width:0;max-width:100%;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] :is(#stats,#banlist,#muts,#my_stores,.table-adaptive,.cs27-dashboard-table,.cs27-list-table) :is(.table-row,.cs27-ghost-stat-row) {
  background:var(--cs27-table-bg)!important;background-image:none!important;
  border:1px solid var(--cs27-table-line)!important;border-radius:10px!important;
  box-shadow:none!important;margin-top:0!important;margin-bottom:8px!important;
  color:var(--cs27-table-text)!important;font-variant-numeric:tabular-nums;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] :is(#stats,#banlist,#muts,#my_stores,.table-adaptive,.cs27-dashboard-table,.cs27-list-table) :is(.table-row,.cs27-ghost-stat-row):hover {
  background:var(--cs27-table-hover)!important;border-color:#627b69!important;box-shadow:none!important;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] :is(#stats,#banlist,#muts,#my_stores,.table-adaptive,.cs27-dashboard-table,.cs27-list-table) .table-row > .row > [class*="col-"] {
  background:transparent!important;border-color:var(--cs27-table-line)!important;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] :is(#stats,#banlist,#muts,#my_stores,.table-adaptive,.cs27-dashboard-table,.cs27-list-table) .with-description > span {
  color:var(--cs27-table-muted)!important;font:11px/1.4 Arial,sans-serif!important;letter-spacing:.02em!important;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] :is(.cs27-table-head,.cs27-ghost-head) {
  background:var(--cs27-table-head)!important;color:#c8d6cb!important;border-color:var(--cs27-table-line)!important;box-shadow:none!important;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] :is(.new_table_forum,.new_table_privileges) {
  background:var(--cs27-table-bg)!important;border:1px solid var(--cs27-table-line)!important;border-radius:10px!important;box-shadow:none!important;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] :is(.cs27-u-table,.table-adaptive) :is(a,button,input,select):focus-visible {outline:2px solid #ffab85!important;outline-offset:3px}
@media(max-width:767px) {
  body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table > :is(thead,tbody,tfoot) > tr > :is(th,td) {padding:12px!important;font-size:13px!important}
  body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-u-scroll > table.cs27-u-table:has(tr > :nth-child(4)) {min-width:560px!important}
  body[data-template="cs27Reg"][data-cs27-ui="3271"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row {
    grid-template-columns:36px repeat(2,minmax(0,1fr))!important;
    grid-template-areas:"place player player" "place kills deaths" "place heads skill"!important;
    padding:12px!important;gap:10px!important;
  }
  body[data-template="cs27Reg"][data-cs27-ui="3271"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > :is(.cs27-ghost-value,.cs27-ghost-skill) {
    background:var(--cs27-table-alt)!important;border-color:var(--cs27-table-line)!important;border-radius:6px!important;
    font-size:14px!important;min-height:58px!important;
  }
  body[data-template="cs27Reg"][data-cs27-ui="3271"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > :is(.cs27-ghost-value,.cs27-ghost-skill)::before {font-size:10px!important;line-height:1.3!important;white-space:normal!important}
  body[data-template="cs27Reg"][data-cs27-ui="3271"].cs27-route-stats .cs27-inner-page #stats > .cs27-ghost-stat-row > .cs27-ghost-skill .label {font-size:11px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere}
}
