.ept-leaders-feed{width:100%;overflow-x:auto}.ept-leaders-table{width:100%;border-collapse:collapse;min-width:440px;font-size:clamp(14px,1.15vw,17px)}.ept-leaders-table th,.ept-leaders-table td{padding:10px 12px;text-align:center;white-space:nowrap;border-bottom:1px solid #7bbcff55}.ept-leaders-table th{color:#bfeaff;font-weight:900}.ept-leaders-table td:nth-child(2){text-align:right;font-weight:800}.ept-leaders-empty{padding:14px;text-align:center}.ept-leaders-feed small{display:block;text-align:left;opacity:.8;padding:8px}
.ept-leaders-league-select{display:block;width:100%;max-width:100%;margin:0 0 10px;padding:9px 12px;border:1px solid rgba(99,191,255,.45);border-radius:12px;background:#071b3b;color:#fff;font:inherit}
.ept-leaders-league-select option{background:#071b3b;color:#fff}
.ept-leader-team{white-space:nowrap}
.ept-leader-crest{width:20px;height:20px;object-fit:contain;vertical-align:middle;margin-inline-end:7px}
.ept-leader-hidden{display:none}
.ept-leaders-feed.is-expanded .ept-leader-hidden{display:table-row}
.ept-leaders-toggle{display:block;margin:10px auto;padding:8px 16px;border:1px solid rgba(99,191,255,.55);border-radius:999px;background:linear-gradient(135deg,#115ce5,#4829a7);color:white;font:inherit;cursor:pointer}
.ept-leaders-empty{padding:10px;text-align:center;opacity:.8}

.ept-leaders-tabs{display:flex;gap:8px;margin:0 0 10px;flex-wrap:wrap}.ept-leaders-tab{padding:7px 13px;border:1px solid rgba(99,191,255,.45);border-radius:999px;background:#071b3b;color:#d8eaff;font:inherit;cursor:pointer}.ept-leaders-tab.active{background:linear-gradient(135deg,#115ce5,#4829a7);color:#fff}.ept-leaders-table.is-expanded .ept-leader-hidden{display:table-row}.ept-leaders-table:not(.is-expanded) .ept-leader-hidden{display:none}.ept-standings-group{margin:10px 0 6px;color:#d8eaff}.ept-leaders-table{width:100%;table-layout:auto;overflow-x:auto;display:block}.ept-leaders-table th,.ept-leaders-table td{white-space:nowrap;padding:6px 7px}.ept-leaders-feed{max-width:100%;overflow-x:auto}

/* V13: keep scorer and standings cards independent; native tables retain their natural width. */
.ept-leaders-feed,.ept-league-standings-feed{width:100%;max-width:100%;overflow-x:auto;box-sizing:border-box}.ept-leaders-table{display:table;width:100%;min-width:440px;table-layout:auto;border-collapse:collapse;overflow:visible}.ept-leaders-table thead{display:table-header-group}.ept-leaders-table tbody{display:table-row-group}.ept-leaders-table tr{display:table-row}.ept-leaders-table th,.ept-leaders-table td{display:table-cell;white-space:nowrap;padding:8px 9px}.ept-leaders-feed .ept-leaders-table{font-size:clamp(14px,1.15vw,17px)}.ept-league-standings-feed .ept-leaders-table{font-size:clamp(12px,1vw,15px)}.ept-leaders-feed .ept-leaders-tabs{display:none}

/* Keep scorer table at the full card width on desktop and mobile. */
.ept-leaders-feed{width:100%;min-width:0}.ept-leaders-feed .ept-leaders-table{display:table;width:100%;min-width:100%;table-layout:auto}




/* V6: consistent table geometry with readable, aligned crests. */
.ept-leaders-table .ept-leader-crest,
.ept-leaders-table .ept-visual-team-logo,
.ept-leaders-table img[class*="logo"],
.ept-leaders-table img[class*="crest"] {
  display:inline-block; width:32px !important; height:32px !important;
  min-width:32px; max-width:32px; object-fit:contain; vertical-align:middle;
  margin:0; flex:none;
}
.ept-leaders-table td.ept-leader-team { text-align:center !important; }
.ept-leader-team-inner { display:inline-flex; align-items:center; justify-content:center;
  gap:8px; direction:rtl; min-height:42px; white-space:nowrap; }
.ept-leader-team-inner > span { display:inline-block; }
.ept-leaders-table th,.ept-leaders-table td { vertical-align:middle; }

/* Final correction V1: scorer team logo and name stay together in one fixed-width cell. */
.ept-leaders-table-scorers{table-layout:fixed!important;min-width:100%!important;width:100%!important}
.ept-leaders-table-scorers th:nth-child(1),.ept-leaders-table-scorers td:nth-child(1){width:10%}
.ept-leaders-table-scorers th:nth-child(2),.ept-leaders-table-scorers td:nth-child(2){width:34%;text-align:center!important}
.ept-leaders-table-scorers th:nth-child(3),.ept-leaders-table-scorers td:nth-child(3){width:42%;text-align:center!important}
.ept-leaders-table-scorers th:nth-child(4),.ept-leaders-table-scorers td:nth-child(4){width:14%}
.ept-leaders-table-scorers .ept-leader-team-inner{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;direction:rtl;white-space:nowrap;min-height:42px}
.ept-leaders-table-scorers .ept-leader-crest,.ept-leaders-table-scorers .ept-leader-crest-fallback{width:32px!important;height:32px!important;min-width:32px;max-width:32px;object-fit:contain;vertical-align:middle;flex:none}
.ept-leaders-table-scorers .ept-leader-crest-fallback{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#274779;color:#fff;font-size:11px;font-weight:900}
.ept-leaders-table-scorers td{overflow:hidden;text-overflow:ellipsis}
