/* Member tables: loaded after both site stylesheets. */
.bet-tracker-panel:has(#betTrackerTableScroll), .bet-tracker-panel-body:has(#betTrackerTableScroll) { overflow: visible; }
.bet-tracker-sticky-tools { position: sticky; top: 0; z-index: 40; background: #fff9df; }
.bet-tracker-top-scroll { margin: 0; }
.bet-tracker-sticky-head { position: absolute; top: 100%; left: 0; right: 0; overflow: hidden; background: #17458b; box-shadow: 0 3px 8px #102d5140; }
.bet-tracker-header-copy { table-layout: fixed; border-collapse: collapse; margin: 0; }
.bet-tracker-header-copy th { box-sizing: border-box; padding: 12px 8px; color: white; background: #17458b; font-size: 11px; text-align: center; white-space: normal; }
#betTrackerTableScroll { overflow-x: auto; }
#betTrackerTableScroll .bet-tracker-table { width: 100%; min-width: 1460px; table-layout: fixed; }
#betTrackerTableScroll .bet-tracker-table th, #betTrackerTableScroll .bet-tracker-table td { box-sizing: border-box; padding: 10px 7px; min-width: 0; white-space: normal; text-align: center; }
#betTrackerTableScroll .bet-tracker-table th:nth-child(1), #betTrackerTableScroll .bet-tracker-table td:nth-child(1) { width: 9%; }
#betTrackerTableScroll .bet-tracker-table th:nth-child(2), #betTrackerTableScroll .bet-tracker-table td:nth-child(2) { width: 17%; text-align: left; }
#betTrackerTableScroll .bet-tracker-table th:nth-child(3), #betTrackerTableScroll .bet-tracker-table td:nth-child(3) { width: 11%; text-align: left; }
#betTrackerTableScroll .bet-tracker-table th:nth-child(4), #betTrackerTableScroll .bet-tracker-table td:nth-child(4) { width: 8%; text-align: left; }
#betTrackerTableScroll .bet-tracker-table th:nth-child(n+5), #betTrackerTableScroll .bet-tracker-table td:nth-child(n+5) { width: 5.5%; }
#betTrackerTableScroll .bet-tracker-table th:nth-child(8), #betTrackerTableScroll .bet-tracker-table td:nth-child(8), #betTrackerTableScroll .bet-tracker-table th:nth-child(13), #betTrackerTableScroll .bet-tracker-table td:nth-child(13) { width: 7%; }
#betTrackerTableScroll .bet-tracker-table th:last-child, #betTrackerTableScroll .bet-tracker-table td:last-child { width: 6%; }
#betTrackerTableScroll input, #betTrackerTableScroll select { width: 100%; min-width: 0; padding: 8px 6px; }
#betTrackerTableScroll .bet-tracker-fixture-cell { display: grid; grid-template-columns: 1fr; gap: 5px; }
#betTrackerTableScroll .bet-tracker-table button { min-width: 0; padding: 8px 9px; white-space: normal; }
.fixture-predictions-heading, .fixture-factory-ai-head { margin: 16px 0 0; padding: 16px; border-radius: 12px 12px 0 0; background: linear-gradient(100deg,#103958,#1384af); color: white; font-size: 17px; }
.fixture-factory-ai-head { margin: 0; }
.fixture-factory-ai-head h2 { margin: 0; font-size: 17px; }
.fixture-factory-ai { box-shadow: none; }
.fixture-factory-ai-body { padding: 0; }
.fixture-prediction-scroll { overflow-x: auto; }
.fixture-prediction-table { width: 100%; border-collapse: collapse; table-layout: auto; }
.fixture-prediction-table th, .fixture-prediction-table td { padding: 14px 10px; text-align: center; font-size: 12px; border-bottom: 1px solid #e8e4d7; }
.fixture-prediction-table th { background: #174b81; color: white; font-weight: 700; }
.fixture-prediction-table td { color: #163957; }
.fixture-prediction-table .prediction-positive-value { background: #a5d6a7; }
.fixture-factory-generated, .fixture-factory-values, .fixture-factory-expected { margin: 12px; }
.streak-view-switch { display: flex; gap: 12px; flex-wrap: wrap; }
.streak-view-switch .is-active { background: #145bb5; color: white; }
/* A compact shared footer, matching the network site's three-part layout. */
.site-community-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-top: 36px; padding: 22px 26px; border-top: 1px solid #d3e0f3; background: #f3f7fd; color: #163f75; }
.site-community-footer nav { display: flex; flex-wrap: wrap; gap: 8px; }
.site-community-footer nav a { display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 14px; border: 1px solid #c8d9ef; border-radius: 12px; background: white; color: #163f75; text-decoration: none; font-size: 13px; font-weight: 800; }
.site-community-footer nav a:hover { background: #e7f0fe; border-color: #397dcc; }
.site-community-footer nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-community-footer .community-copyright { margin: 0; text-align: center; font-size: 13px; }
.site-community-footer .responsible-gambling { display: inline-flex; justify-self: end; align-items: center; gap: 10px; color: #163f75; text-decoration: none; font-size: 13px; }
.responsible-age-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border: 2px solid currentColor; border-radius: 50%; font-size: 14px; font-weight: 800; }
.streaks-filter-form { display: grid; grid-template-columns: minmax(190px, 1.4fr) minmax(180px, .7fr) minmax(180px, 1fr) auto; align-items: end; gap: 12px; }
.streaks-filter-form label { display: grid; gap: 7px; }
.streaks-filter-form select, .streaks-filter-form input { box-sizing: border-box; width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #b9d0eb; border-radius: 10px; background: white; color: #173b68; font: inherit; }
@media(max-width:900px) { .site-community-footer { grid-template-columns: 1fr auto; } .site-community-footer .community-copyright { grid-column: 1 / -1; grid-row: 2; } .streaks-filter-form { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px) { .site-community-footer { grid-template-columns: 1fr; justify-items: center; gap: 18px; padding: 22px 14px; } .site-community-footer nav { justify-content: center; } .site-community-footer .responsible-gambling { justify-self: center; } .site-community-footer .community-copyright { grid-row: auto; } .streaks-filter-form { grid-template-columns: 1fr; } }

@media(max-width:720px) { .fixture-prediction-table { min-width: 720px; } .responsible-gambling { align-items: flex-start; text-align: left; } }

.bet-tracker-shell, .bet-tracker-registry, .bet-tracker-registry .bet-tracker-panel-body, .bet-tracker-sticky-tools { min-width: 0; max-width: 100%; }

.ladder-page .ladder-create-body { width: 100%; max-width: none; box-sizing: border-box; }
.ladder-page .ladder-field .ladder-tooltip-target { justify-content: center; }
/* One centred layout for the ladder's inputs and all four checkboxes. */
.ladder-page .ladder-form { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; width: 100%; max-width: 1100px; margin: 0 auto; align-items: end; }
.ladder-page .ladder-field { width: auto; min-width: 0; text-align: center; }
.ladder-page .ladder-field input, .ladder-page .ladder-field select { width: 100%; box-sizing: border-box; text-align: center; }
.ladder-page .ladder-checkbox-group { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; width: 100%; min-height: 0; margin: 6px 0 0; }
.ladder-page .ladder-checkbox-group .ladder-checkbox { flex: 0 1 auto; width: auto; margin: 0; white-space: normal; }
.ladder-page .ladder-build-button { grid-column: 1 / -1; justify-self: center; margin: 0; min-width: 170px; }
.shared-league-filter-shell { width: 100%; box-sizing: border-box; }
.shared-league-filter-body { padding: 30px 20px; }
body .page-league-filter.page-league-filter { display: block; box-sizing: border-box; width: 100%; max-width: 980px; margin: 0 auto; padding: 0; border: 1px solid #a7c9ff; border-radius: 26px; background: linear-gradient(180deg,#fff,#f6faff); box-shadow: 0 12px 26px #143b6410; }
body .page-league-filter .page-league-filter-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; min-height: 52px; box-sizing: border-box; background: transparent; border: 0; border-radius: 26px; }
body .page-league-filter .page-league-filter-kicker { color: #145ab2; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
body .page-league-filter .page-league-filter-current { color: #113a65; font-size: 13px; font-weight: 750; text-align: right; }
body .page-league-filter .page-league-filter-form { padding: 20px; border-top: 1px solid #d7e5f5; }
body .value-bets-preset-wrap:has(.shared-league-filter-shell), body .page-league-filter-host { width: 100%; max-width: none; margin: 0; }
@media(max-width:900px) { .ladder-page .ladder-form { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:480px) { .ladder-page .ladder-form { grid-template-columns: 1fr; gap: 15px; } .ladder-page .ladder-checkbox-group { display: grid; grid-template-columns: 1fr; justify-items: start; max-width: 280px; justify-self: center; } .shared-league-filter-body { padding: 20px 12px; } }
