.ba-wrap, .ba-top {
--ba-primary: var(--bmfl-primary, #007fe8);
--ba-card: var(--bmfl-row, #0a2236);
--ba-line: var(--bmfl-line, #1e3242);
--ba-muted: var(--bmfl-muted, #8ea3b8);
--ba-gold: #d4a72c; --ba-silver: #b7c3cf; --ba-bronze: #c27a43;
color: #fff;
}
.ba-wrap { display: flex; flex-direction: column; gap: 22px; margin: 8px 0 24px; }
.ba-h { margin: 0 !important; font-family: "Oswald", sans-serif; font-size: 22px !important; text-transform: uppercase; letter-spacing: .03em; color: #fff !important; }
.ba-sub { margin: 4px 0 0 !important; font-size: 13px; color: var(--ba-muted); } .ba-clubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 14px; }
.ba-club { background: var(--ba-card); border: 1px solid var(--ba-line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.ba-club--700, .ba-club--600, .ba-club--500, .ba-club--400 { grid-column: 1 / -1; }
.ba-club__head {
display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 16px; border: 0; cursor: pointer;
background: linear-gradient(90deg, rgba(0, 127, 232, .28), rgba(0, 127, 232, .06)); color: #fff; text-align: left; font: inherit;
}
.ba-club__head:hover { background: linear-gradient(90deg, rgba(0, 127, 232, .45), rgba(0, 127, 232, .12)); }
.ba-club--700 .ba-club__head { background: linear-gradient(90deg, rgba(212, 167, 44, .55), rgba(212, 167, 44, .08)); }
.ba-club--600 .ba-club__head { background: linear-gradient(90deg, rgba(212, 167, 44, .38), rgba(212, 167, 44, .06)); }
.ba-club--500 .ba-club__head { background: linear-gradient(90deg, rgba(183, 195, 207, .35), rgba(183, 195, 207, .05)); }
.ba-club--400 .ba-club__head { background: linear-gradient(90deg, rgba(194, 122, 67, .38), rgba(194, 122, 67, .06)); }
.ba-club__name { font-family: "Oswald", sans-serif; font-size: 20px; text-transform: uppercase; letter-spacing: .03em; }
.ba-club__n { font-size: 13px; color: #dfe7ef; white-space: nowrap; }
.ba-club__n b { font-family: "Oswald", sans-serif; font-size: 20px; color: #fff; margin-right: 2px; }
.ba-club__n::after { content: " →"; color: var(--ba-muted); }
.ba-club__who { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; padding: 10px; }
.ba-member { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .03); border: 1px solid var(--ba-line); color: #fff !important; text-decoration: none !important; min-width: 0; }
.ba-member:hover { border-color: var(--ba-primary); }
.ba-member span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ba-member b { font-size: 14px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ba-member small { font-size: 12px; color: var(--ba-gold); font-weight: 600; }
.ba-photo { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--ba-line); display: inline-block; }
.ba-photo img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; display: block; } .ba-board { background: var(--ba-card); border: 1px solid var(--ba-line); border-radius: 10px; padding: 16px; scroll-margin-top: 20px; }
.ba-tabs { display: flex; gap: 4px; margin: 12px 0; border-bottom: 1px solid var(--ba-line); overflow-x: auto; }
.ba-tabs button {
flex: none; padding: 10px 16px; border: 0; background: none; color: var(--ba-muted); cursor: pointer; font-family: "Oswald", sans-serif;
font-size: 16px; text-transform: uppercase; letter-spacing: .03em; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.ba-tabs button.is-on { color: #fff; border-bottom-color: var(--ba-primary); }
.ba-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ba-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ba-chips button {
padding: 6px 12px; border-radius: 16px; border: 1px solid var(--ba-line); background: rgba(255, 255, 255, .03); color: #dfe7ef;
font-size: 13px; font-weight: 600; cursor: pointer;
}
.ba-chips button b { color: var(--ba-muted); font-weight: 600; margin-left: 3px; }
.ba-chips button.is-on { background: var(--ba-primary); border-color: var(--ba-primary); color: #fff; }
.ba-chips button.is-on b { color: #dfeeff; }
.ba-search input {
width: 240px; max-width: 100%; padding: 8px 12px !important; border-radius: 18px !important; border: 1px solid var(--ba-line) !important;
background: #06182a !important; color: #fff !important; font-size: 14px;
}
.ba-search input:focus { outline: none; border-color: var(--ba-primary) !important; }
.ba-count { margin: 12px 0 6px; font-size: 13px; color: var(--ba-muted); min-height: 1em; }
.ba-tablewrap { overflow-x: auto; }
.ba-table { width: 100%; border-collapse: collapse; margin: 0 !important; background: transparent !important; font-variant-numeric: tabular-nums; }
.ba-table th, .ba-table td { padding: 8px 10px !important; border: 0 !important; border-bottom: 1px solid var(--ba-line) !important; text-align: center; background: transparent !important; color: #fff; font-size: 14px; }
.ba-table thead th { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ba-muted); white-space: nowrap; }
.ba-table tbody tr:hover td { background: rgba(255, 255, 255, .03) !important; }
.ba-table .ba-rank { width: 44px; color: var(--ba-muted); font-weight: 600; }
.ba-table .ba-name { text-align: left; }
.ba-table .ba-name a { color: #fff; text-decoration: none; font-weight: 600; }
.ba-table .ba-name a:hover { color: var(--ba-primary); }
.ba-table td.ba-hl { font-weight: 700; color: var(--ba-primary); font-size: 15px; }
.ba-table thead th.ba-hl { color: #fff; }
.ba-table .ba-avg { color: var(--ba-muted); font-size: 13px; }
.ba-table tbody tr:nth-child(1) .ba-rank { color: var(--ba-gold); } .ba-table tbody tr:nth-child(2) .ba-rank { color: var(--ba-silver); } .ba-table tbody tr:nth-child(3) .ba-rank { color: var(--ba-bronze); }
.ba-empty { color: var(--ba-muted) !important; padding: 20px !important; }
.ba-more { display: block; margin: 14px auto 0; padding: 9px 22px; border-radius: 20px; border: 1px solid var(--ba-primary); background: none; color: #fff; font-weight: 600; cursor: pointer; }
.ba-more:hover { background: var(--ba-primary); }
.ba-more[hidden] { display: none; }
.ba-note { margin: 14px 0 0 !important; font-size: 12px; color: var(--ba-muted); }
.ba-board.is-loading .ba-table { opacity: .6; } .ba-home { margin: 24px 0; }
.ba-top { background: var(--ba-card); border: 1px solid var(--ba-line); border-radius: 10px; padding: 16px; }
.ba-top__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 10px; }
.ba-top__all { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ba-primary) !important; text-decoration: none !important; }
.ba-top__list { list-style: none; margin: 0 !important; padding: 0 4px 0 0 !important; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(10, auto); grid-auto-flow: column; column-gap: 24px; }
.ba-top__row { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px solid var(--ba-line); break-inside: avoid; margin: 0 !important; }
.ba-top__rank { flex: none; width: 28px; text-align: right; color: var(--ba-muted); font-weight: 600; font-size: 13px; }
.ba-top__row .ba-photo { width: 30px; height: 30px; }
.ba-top__row--podium .ba-photo { width: 34px; height: 34px; box-shadow: 0 0 0 2px var(--ba-gold); }
.ba-top__row--podium:nth-child(2) .ba-photo { box-shadow: 0 0 0 2px var(--ba-silver); }
.ba-top__row--podium:nth-child(3) .ba-photo { box-shadow: 0 0 0 2px var(--ba-bronze); }
.ba-top__row:nth-child(1) .ba-top__rank { color: var(--ba-gold); } .ba-top__row:nth-child(2) .ba-top__rank { color: var(--ba-silver); } .ba-top__row:nth-child(3) .ba-top__rank { color: var(--ba-bronze); }
.ba-top__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 14px; }
.ba-top__name:hover { color: var(--ba-primary) !important; }
.ba-top__club { flex: none; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 8px; background: rgba(0, 127, 232, .2); color: #cfe6ff; }
.ba-top__club--700, .ba-top__club--600 { background: var(--ba-gold); color: #10202f; }
.ba-top__club--500 { background: var(--ba-silver); color: #10202f; }
.ba-top__club--400 { background: var(--ba-bronze); color: #10202f; }
.ba-top__m { flex: none; font-size: 12px; color: var(--ba-muted); width: 52px; text-align: right; }
.ba-top__g { flex: none; width: 40px; text-align: right; font-family: "Oswald", sans-serif; font-size: 18px; color: var(--ba-primary); }
@media (max-width: 782px) { .ba-top__list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }
@media (max-width: 600px) {
.ba-board, .ba-top { padding: 12px; }
.ba-search, .ba-search input { width: 100%; }
.ba-table th, .ba-table td { padding: 7px 5px !important; font-size: 13px; }
.ba-table .ba-avg { display: none; }
.ba-club__who { grid-template-columns: 1fr 1fr; }
.ba-top__m { display: none; }
}
.ba-search { display: block; } .ba-search input { box-sizing: border-box; }
@media (max-width: 600px) { .ba-search { flex: 1 1 100%; } } .ba-top__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ba-btn {
display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 22px; border: 1px solid var(--ba-primary);
color: #fff !important; text-decoration: none !important; font-family: "Oswald", sans-serif; font-size: 16px; text-transform: uppercase; letter-spacing: .03em;
}
.ba-btn::after { content: "→"; margin-left: 8px; font-family: sans-serif; }
.ba-btn:hover { background: rgba(0, 127, 232, .25); }
.ba-btn--main { background: var(--ba-primary); }
.ba-btn--main:hover { background: #1a8ff0; }
@media (max-width: 600px) { .ba-top__links { flex-direction: column; } .ba-btn { justify-content: center; font-size: 15px; } }
.ba-home--stats { margin: 0 0 24px; }
.ba-stats-h { margin: 0 0 8px !important; font-size: 20px !important; }