.bd {
--bd-primary: var(--bmfl-primary, #007fe8);
--bd-card: var(--bmfl-row, #0a2236);
--bd-line: var(--bmfl-line, #1e3242);
--bd-muted: var(--bmfl-muted, #8ea3b8);
--bd-gold: #d4a72c; --bd-win: #2fbf71; --bd-draw: #8ea3b8; --bd-loss: #e5534b;
background: var(--bd-card); border: 1px solid var(--bd-line); border-radius: 10px; padding: 16px; color: #fff;
}
.bd-home { margin: 0 0 24px; }
.bd-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.bd-h { margin: 0 !important; font-family: "Oswald", sans-serif; font-size: 22px !important; text-transform: uppercase; letter-spacing: .03em; color: #fff !important; }
.bd-sub { font-size: 13px; color: var(--bd-muted); }
.bd-h3 { margin: 18px 0 8px !important; font-family: "Oswald", sans-serif; font-size: 17px !important; text-transform: uppercase; letter-spacing: .03em; color: #fff !important; }
.bd-h3 small { font-family: inherit; font-size: 13px; color: var(--bd-muted); margin-left: 4px; }
.bd a { color: #fff; text-decoration: none; }
.bd a:hover { color: var(--bd-primary); } .bd-controls { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 4px; }
.bd-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.bd-days button {
flex: none; padding: 7px 12px; border-radius: 16px; border: 1px solid var(--bd-line); background: rgba(255, 255, 255, .03);
color: #dfe7ef; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.bd-days button.is-on { background: var(--bd-primary); border-color: var(--bd-primary); color: #fff; }
.bd-range { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bd-range label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--bd-muted); margin: 0; }
.bd-range input, .bd-range select {
padding: 7px 10px !important; border-radius: 8px !important; border: 1px solid var(--bd-line) !important; background: #06182a !important;
color: #fff !important; font-size: 14px; color-scheme: dark; height: auto !important; margin: 0 !important;
}
.bd-range select { max-width: 280px; }
.bd-q { flex: 1 1 200px; min-width: 0; }
.bd.is-loading .bd-body { opacity: .5; pointer-events: none; }
.bd-loading, .bd-empty, .bd-nojubs { color: var(--bd-muted); font-size: 14px; margin: 12px 0 0 !important; }
.bd-summary { margin-top: 10px; font-size: 13px; color: var(--bd-muted); } .bd-full { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--bd-primary) !important; }
.bd-jubs ul { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.bd-jc { display: flex; align-items: center; gap: 12px; margin: 0 !important; padding: 10px 12px; border-radius: 10px; background: rgba(212, 167, 44, .08); border: 1px solid rgba(212, 167, 44, .35); min-width: 0; }
.bd-jc--100 { background: rgba(212, 167, 44, .18); border-color: var(--bd-gold); }
.bd-jc__pic { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--bd-line); box-shadow: 0 0 0 2px rgba(212, 167, 44, .6); }
.bd-jc--100 .bd-jc__pic { box-shadow: 0 0 0 2px var(--bd-gold); }
.bd-jc__pic--team { border-radius: 8px; background: rgba(255, 255, 255, .06); box-shadow: none !important; padding: 4px; }
.bd-jc__pic img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; display: block; }
.bd-jc__pic--team img { object-fit: contain; }
.bd-jc__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bd-jc__top { font-size: 13px; color: #dfe7ef; line-height: 1.25; }
.bd-jc__top b { font-family: "Oswald", sans-serif; font-size: 20px; color: var(--bd-gold); margin-right: 3px; vertical-align: -1px; }
.bd-jc__who { display: flex; flex-direction: column; min-width: 0; }
.bd-jc__who > a { font-weight: 700; font-size: 14.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-jc__sub { font-size: 12px; color: var(--bd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd .bd-jc__match { font-size: 12px; color: var(--bd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd .bd-jc__match:hover { color: var(--bd-primary); }
.bd--compact .bd-h3 { display: none; } .bd-scroll { overflow-x: auto; border: 1px solid var(--bd-line); border-radius: 8px; }
.bd-table { width: 100%; border-collapse: collapse; margin: 0 !important; background: transparent !important; font-variant-numeric: tabular-nums; font-size: 13px; }
.bd-table th, .bd-table td { padding: 6px 8px !important; border: 0 !important; border-bottom: 1px solid var(--bd-line) !important; background: transparent !important; color: #fff; white-space: nowrap; text-align: left; }
.bd-table thead th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--bd-muted); text-align: center; }
.bd-table thead .bd-groups th { color: #fff; font-family: "Oswald", sans-serif; font-size: 13px; border-left: 1px solid var(--bd-line) !important; }
.bd-table thead .bd-groups th:first-child { border-left: 0 !important; }
.bd-table thead th.bd-name { text-align: left; }
.bd-table td.bd-c { text-align: center; }
.bd-table .bd-day { background: rgba(0, 127, 232, .08) !important; border-left: 1px solid var(--bd-line) !important; }
.bd-table td.bd-day { color: var(--bd-muted); }
.bd-table td.bd-pos { color: #fff; font-weight: 700; }
.bd-table .bd-name { position: sticky; left: 0; z-index: 1; background: var(--bd-card) !important; font-weight: 600; }
.bd-table td.bd-team, .bd-table td.bd-sea { color: #c9d4df; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.bd-table td.bd-sea { font-size: 12px; color: var(--bd-muted); }
.bd-table tbody tr:hover td { background: rgba(255, 255, 255, .03) !important; }
.bd-table tbody tr:hover td.bd-name { background: #0f2a42 !important; }
.bd-table td.bd-j { color: #10202f; font-weight: 700; background: rgba(212, 167, 44, .55) !important; }
.bd-table td.bd-j--100 { background: var(--bd-gold) !important; }
.bd-table tr.bd-has-j td.bd-name { box-shadow: inset 3px 0 0 var(--bd-gold); }
.bd-w { color: var(--bd-win); } .bd-d { color: var(--bd-draw); } .bd-l { color: var(--bd-loss); }
.bd-res { display: inline-block; padding: 1px 7px; border-radius: 4px; font-weight: 700; color: #fff !important; }
.bd-res--w { background: var(--bd-win); } .bd-res--d { background: var(--bd-draw); } .bd-res--l { background: var(--bd-loss); }
.bd-more { display: block; margin: 10px auto 0; padding: 8px 20px; border-radius: 18px; border: 1px solid var(--bd-primary); background: none; color: #fff; font-weight: 600; cursor: pointer; }
.bd-more:hover { background: var(--bd-primary); }
.bd-more[hidden], .bd-table tr[hidden] { display: none; }
@media (max-width: 600px) {
.bd { padding: 12px; }
.bd-range label { flex: 1 1 45%; } .bd-range label input { flex: 1; min-width: 0; }
.bd-range select, .bd-q { flex: 1 1 100%; max-width: none; }
.bd-jubs ul { grid-template-columns: 1fr; }
.bd-full { margin-left: 0; }
.bd-table .bd-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
}
.bd-full + .bd-up { margin-left: 14px; }
.bd--full .bd-up { margin-left: auto; }
.bd-up { color: var(--bd-gold) !important; }
@media (max-width: 600px) { .bd-full + .bd-up, .bd--full .bd-up { margin-left: 0; } .bd-head .bd-full { flex-basis: 100%; } }