/* CS27 3.29.10: status and player left, services right; privilege and details stay inline. */
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) {
 --cs27-columns:minmax(220px,1fr) minmax(120px,1fr) minmax(220px,1fr);
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-mobile-field {
 min-height:60px!important;padding:12px 16px!important;align-items:center!important;align-self:stretch!important;justify-content:center!important;text-align:center!important;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-field-services[data-admin-services] {
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:8px!important;
}
body[data-template="cs27Reg"] .cs27-admins-page [data-admin-services] > .cs27-service-groups {
 display:block!important;flex:0 1 auto!important;width:auto!important;min-width:0!important;
}
body[data-template="cs27Reg"] .cs27-admins-page [data-admin-services] .cs27-service-roles {width:auto!important;align-items:center!important;justify-content:center!important}
body[data-template="cs27Reg"] .cs27-admins-page [data-admin-services] > .cs27-services-details {
 align-self:center!important;flex:0 0 auto!important;white-space:nowrap!important;
}
body[data-template="cs27Reg"] .cs27-admins-page [data-admin-services] .cs27-service-no-role {font:400 13px/1.4 'Segoe UI',Arial,sans-serif!important;color:#a6afb3!important}
@media(max-width:767px) {
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-mobile-field {
  align-items:center!important;min-height:0!important;padding:12px!important;
 }
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-field-services[data-admin-services] {
  align-items:center!important;gap:10px!important;
 }
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-field-services[data-admin-services] > span {display:none!important}
}

/* Match header alignment to the content; target only the three administration columns. */
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .cs27-table-head > span {
 justify-content:center!important;text-align:center!important;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-mobile-field > :is(p,span) {
 text-align:center!important;
}
body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-field-identity > p {
 flex:0 1 auto!important;width:auto!important;min-width:0!important;
}

/* Preserve the three-column grid; align player names and their heading left. */
@media(min-width:768px) {
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .cs27-table-head > span:first-child,
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .cs27-table-head > span:nth-child(2),
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-field-identity,
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-field-status {
  justify-content:flex-start!important;text-align:left!important;
 }
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-field-status > p,
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-field-identity > p {text-align:left!important}
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .cs27-table-head > span:last-child,
 body[data-template="cs27Reg"][data-cs27-ui="3271"] .cs27-admins-page :is(#cs27-table-stats,[id^="cs27-table-admins-"]) > .table-adaptive > .cs27-entitlement-row > .row > .cs27-field-services[data-admin-services] {
  justify-content:flex-end!important;text-align:right!important;
 }
}
