.boards-page { --boards-ink: #18271f; --boards-muted: #65736b; --boards-green: #146d48; --boards-line: #dce5df; background: #fff; color: var(--boards-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 14px; line-height: 1.5; padding-bottom: 48px; }
.boards-page *, .boards-page *::before, .boards-page *::after { box-sizing: border-box; letter-spacing: 0; }
.boards-page :is(h1, h2, h3, p, dl, ol) { margin: 0; font-family: inherit; color: inherit; }
.boards-page a { color: var(--boards-green); text-decoration: none; }
.boards-page a:hover { text-decoration: underline; }
.boards-page :is(a, button, input, select, summary, [tabindex]):focus-visible { outline: 3px solid #c8951d; outline-offset: 3px; }
.boards-page img[hidden] { display: none; }
.boards-container { width: min(1184px, calc(100% - 48px)); margin-inline: auto; }
.boards-heading-band { border: 0; border-bottom: 1px solid var(--boards-line); background: #edf5ef; }
.boards-heading-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 30px; }
.boards-page .boards-eyebrow { color: var(--boards-green); font-size: 11px; font-weight: 800; margin-bottom: 8px; }
.boards-page h1 { font-size: 34px; font-weight: 800; line-height: 1.2; }
.boards-page h1 > span { color: #279567; }
.boards-page .boards-tournament-name { font-size: 17px; font-weight: 650; margin-top: 14px; overflow-wrap: anywhere; }
.boards-page .boards-meta { color: var(--boards-muted); font-size: 12px; margin-top: 4px; }
.boards-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; flex: 0 1 440px; }
.boards-totals > div { display: flex; flex-direction: column-reverse; border-left: 1px solid #c9d8ce; padding-left: 18px; }
.boards-totals dt { font-size: 11px; color: var(--boards-muted); font-weight: 500; }
.boards-totals dd { margin: 0 0 4px; font-size: 28px; font-weight: 800; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.boards-totals small { font-size: 13px; color: var(--boards-muted); font-weight: 500; }
.boards-tournament-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--boards-line); }
.boards-tournament-form { display: flex; align-items: center; gap: 12px; flex: 1; max-width: 590px; min-width: 0; }
.boards-tournament-form label { font-size: 12px; color: var(--boards-muted); margin: 0; }
.boards-page select, .boards-search input { height: 42px; border: 1px solid #c9d5cd; border-radius: 4px; padding: 0 12px; min-width: 0; font-family: inherit; font-size: 13px; background: #fff; color: var(--boards-ink); margin: 0; }
.boards-tournament-form select { flex: 1; width: 100%; padding-right: 28px; }
.boards-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #c9d5cd; border-radius: 4px; color: var(--boards-green); background: #fff; cursor: pointer; }
.boards-icon-button:hover { background: #edf5ef; text-decoration: none !important; }
.boards-results-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 650; }
.boards-champion { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e9dbb4; }
.boards-champion > .fa-trophy { color: #ac7d17; font-size: 21px; }
.boards-champion-label { font-size: 11px; text-transform: uppercase; font-weight: 750; color: #866218; }
.boards-champion .boards-identity { flex: 0 1 auto; }
.boards-champion .boards-identity > a, .boards-champion .boards-name { font-size: 15px; }
.boards-champion-season { margin-left: auto; color: var(--boards-muted); font-size: 12px; }
.boards-view-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--boards-line); }
.boards-view-tabs > a { display: flex; align-items: center; gap: 9px; color: var(--boards-muted); padding: 19px 0 16px; font-size: 13px; font-weight: 700; border-bottom: 3px solid transparent; }
.boards-view-tabs > a[aria-current] { color: var(--boards-green); border-bottom-color: var(--boards-green); }
.boards-view-tabs > a > span { color: var(--boards-muted); font-size: 11px; font-weight: 500; }
.boards-standings-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0 16px; }
.boards-group-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.boards-group-tabs a { color: var(--boards-muted); border-bottom: 2px solid transparent; padding: 8px 11px; font-weight: 650; font-size: 12px; }
.boards-group-tabs a[aria-current] { background: #edf5ef; color: var(--boards-green); border-bottom-color: var(--boards-green); }
.boards-search { display: flex; gap: 8px; align-items: center; margin: 0 0 0 auto; flex: 0 1 290px; }
.boards-search input { width: 100%; }
.boards-table-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; font-size: 12px; color: var(--boards-muted); }
.boards-table-options a { margin-left: 10px; }
.boards-full-stats { display: none; align-items: center; gap: 8px; margin: 0; white-space: nowrap; }
.boards-full-stats input { accent-color: var(--boards-green); width: 16px; height: 16px; margin: 0; }
.boards-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.boards-tables--single { grid-template-columns: minmax(0, 1fr); }
.boards-table-section { min-width: 0; }
.boards-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
.boards-section-heading h2 { font-size: 18px; font-weight: 750; line-height: 1.4; }
.boards-section-heading > div > span { display: block; color: var(--boards-muted); font-size: 11px; margin-top: 4px; }
.boards-section-heading .boards-icon-button { width: 30px; height: 30px; flex-basis: 30px; font-size: 11px; }
.boards-table-scroll { overflow-x: auto; overscroll-behavior-x: contain; border-block: 1px solid var(--boards-line); }
.boards-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.boards-table th, .boards-table td { text-align: center; padding: 12px 4px; border: 0; border-bottom: 1px solid #e8eee9; background: transparent; color: inherit; vertical-align: middle; }
.boards-table thead th { font-size: 10px; color: var(--boards-muted); background: #f5f8f5; font-weight: 600; padding-block: 11px; }
.boards-table abbr { border: 0; text-decoration: none; }
.boards-table tbody tr:last-child > * { border-bottom: 0; }
.boards-table tbody tr:hover { background: #f6f9f7; }
.boards-table .boards-rank { width: 32px; font-weight: 600; color: var(--boards-muted); border-left: 3px solid transparent; }
.boards-table .boards-qualified .boards-rank { border-left-color: #218355; color: var(--boards-green); }
.boards-table .boards-player-col { width: 36%; text-align: left; padding-left: 8px; padding-right: 8px; }
.boards-table .boards-points { font-weight: 800; color: var(--boards-ink); background: #f1f6f2; }
.boards-table .boards-positive { color: #1d7650; }
.boards-table .boards-negative { color: #a45249; }
.boards-identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
.boards-avatar { width: 29px; height: 29px; flex: 0 0 29px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border-radius: 50%; background: #e9f0eb; color: #42624e; font-size: 10px; font-weight: 800; }
.boards-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.boards-identity > a, .boards-name { color: var(--boards-ink); font-size: 12px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; min-width: 0; }
.boards-page .boards-qualification-note { display: flex; gap: 8px; align-items: center; font-size: 10px; color: var(--boards-muted); padding-top: 11px; }
.boards-qualification-note > span { width: 8px; height: 8px; background: #218355; flex: 0 0 8px; }
.boards-table-key { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--boards-line); font-size: 12px; color: var(--boards-muted); }
.boards-table-key summary { cursor: pointer; display: flex; align-items: center; gap: 10px; list-style: none; color: var(--boards-green); font-weight: 600; }
.boards-table-key summary::-webkit-details-marker, .boards-match-details summary::-webkit-details-marker { display: none; }
.boards-table-key p { margin-top: 12px; font-size: 11px; }
.boards-knockout-heading { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.boards-knockout-heading h2, .boards-battle-results h2 { font-size: 20px; font-weight: 750; line-height: 1.4; }
.boards-knockout-heading p, .boards-battle-results p { font-size: 12px; color: var(--boards-muted); margin-top: 4px; }
.boards-round-nav { display: flex; gap: 8px 16px; flex-wrap: wrap; justify-content: flex-end; }
.boards-round-nav a { font-size: 11px; padding-block: 6px; }
.boards-bracket { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 20px; align-items: start; }
.boards-round { min-width: 0; scroll-margin: 24px; }
.boards-round-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 3px solid #cbd9cf; padding: 12px 0 16px; }
.boards-round-heading h3 { font-size: 13px; font-weight: 750; line-height: 1.4; }
.boards-round-heading > span { font-size: 10px; color: var(--boards-muted); }
.boards-round--final .boards-round-heading { border-top-color: #c59833; }
.boards-round-matches { display: flex; flex-direction: column; gap: 14px; }
.boards-match { border: 1px solid var(--boards-line); border-radius: 6px; overflow: hidden; background: #fff; }
.boards-round--final .boards-match { border-color: #d6be87; }
.boards-match-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; background: #f7faf7; font-size: 10px; color: var(--boards-muted); }
.boards-match-status { font-size: 9px; font-weight: 650; }
.boards-match-status--completed { color: var(--boards-green); }
.boards-match-status--inprogress { color: #956c12; }
.boards-match-status--postponed, .boards-match-status--cancelled { color: #a45249; }
.boards-match-side { display: grid; grid-template-columns: minmax(0, 1fr) 14px 24px; gap: 6px; align-items: center; padding: 9px 12px; min-height: 47px; }
.boards-match-side + .boards-match-side { border-top: 1px solid #edf1ee; }
.boards-match-side > strong { font-size: 17px; text-align: center; font-variant-numeric: tabular-nums; }
.boards-match-side.is-winner { background: #f0f7f2; }
.boards-match-side.is-winner > strong, .boards-match-win { color: var(--boards-green); }
.boards-match-win { font-size: 10px; }
.boards-match-summary { display: flex; align-items: center; justify-content: space-between; padding: 5px 12px 8px; font-size: 9px; color: var(--boards-muted); }
.boards-match-summary > a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: 11px; }
.boards-awaiting-publication { display: inline-flex; align-items: center; min-height: 28px; }
.boards-match-details { border-top: 1px solid var(--boards-line); font-size: 10px; }
.boards-match-details summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; padding: 10px 12px; color: #52685a; }
.boards-match-details[open] summary > i, .boards-table-key[open] summary > i { transform: rotate(180deg); }
.boards-match-details ol { list-style: none; padding: 0 12px 10px; }
.boards-match-details li { display: flex; gap: 8px; flex-wrap: wrap; padding: 5px 0; border-top: 1px solid #edf1ee; }
.boards-match-details li > strong { margin-left: auto; }
.boards-penalties { color: var(--boards-muted); }
.boards-battle { padding-top: 28px; }
.boards-squads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.boards-squad { min-width: 0; border: 1px solid var(--boards-line); border-top: 3px solid #609b9c; border-radius: 4px; }
.boards-squad:nth-child(even) { border-top-color: #b66b65; }
.boards-squad--winner { border-top-color: #c59833 !important; }
.boards-squad-heading { padding: 20px; display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.boards-squad-heading h3 { font-size: 19px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.boards-squad-heading span { display: block; margin-top: 5px; font-size: 11px; color: var(--boards-muted); }
.boards-squad-heading .boards-squad-winner { color: #946c1b; }
.boards-squad-heading > strong { font-size: 27px; font-weight: 800; line-height: 1.2; text-align: center; }
.boards-squad-heading small { display: block; font-size: 10px; color: var(--boards-muted); margin-top: 4px; font-weight: 500; }
.boards-squad-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: #f5f8f5; padding: 12px 16px; }
.boards-squad-stats > div { text-align: center; }
.boards-squad-stats dt { font-size: 10px; font-weight: 500; color: var(--boards-muted); }
.boards-squad-stats dd { margin: 4px 0 0; font-size: 16px; font-weight: 750; }
.boards-members { list-style: none; padding: 0 20px; }
.boards-members li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid #e8eee9; padding: 12px 0; }
.boards-members li:last-child { border-bottom: 0; }
.boards-member-order { font-size: 11px; color: var(--boards-muted); }
.boards-member-club { display: block; font-size: 10px; color: var(--boards-muted); margin: 3px 0 0 38px; }
.boards-member-state { font-size: 10px; color: var(--boards-green); }
.boards-member-state.is-eliminated { color: #9a544b; }
.boards-battle-results { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--boards-line); }
.boards-battle-results > a { font-size: 12px; font-weight: 650; }
.boards-empty { padding: 60px 16px; text-align: center; max-width: 520px; margin: auto; }
.boards-empty > i { font-size: 30px; color: #8ca497; margin-bottom: 20px; }
.boards-empty h2 { font-size: 23px; font-weight: 750; line-height: 1.4; margin-bottom: 12px; }
.boards-empty p { font-size: 14px; color: var(--boards-muted); margin-bottom: 20px; }
@media (min-width: 1600px) { .boards-container { width: min(1280px, calc(100% - 80px)); } }
@media (max-width: 1100px) {
    .boards-totals { gap: 12px; flex-basis: 370px; }
    .boards-totals > div { padding-left: 12px; }
    .boards-extra { display: none; }
    .boards-full-stats { display: inline-flex; }
    .boards-table .boards-player-col { width: 55%; }
    .boards-page:has(#boards-full-stats:checked) .boards-extra { display: table-cell; }
    .boards-page:has(#boards-full-stats:checked) .boards-table { min-width: 550px; }
    .boards-page:has(#boards-full-stats:checked) .boards-player-col { width: 36%; }
    .boards-standings-tools { flex-wrap: wrap; }
}
@media (max-width: 760px) {
    .boards-heading-inner { flex-direction: column; align-items: stretch; gap: 24px; }
    .boards-totals { flex-basis: auto; }
    .boards-tournament-bar { flex-direction: column; align-items: stretch; gap: 16px; }
    .boards-tournament-form { max-width: none; }
    .boards-results-link { justify-content: flex-end; }
    .boards-champion-season { display: none; }
    .boards-tables, .boards-squads { grid-template-columns: minmax(0, 1fr); }
    .boards-search { flex-basis: 100%; }
    .boards-knockout-heading { flex-direction: column; align-items: stretch; gap: 14px; }
    .boards-round-nav { justify-content: flex-start; }
    .boards-bracket { display: grid; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 24px; overflow: visible; }
    .boards-round-matches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .boards-battle-results { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .boards-container { width: calc(100% - 32px); }
    .boards-heading-inner { padding-block: 16px; gap: 16px; }
    .boards-page .boards-eyebrow { display: none; }
    .boards-page h1 { font-size: 26px; }
    .boards-page .boards-tournament-name { margin-top: 8px; }
    .boards-totals { gap: 8px; }
    .boards-totals > div { padding-left: 9px; }
    .boards-totals dd { font-size: 25px; }
    .boards-totals small { font-size: 11px; }
    .boards-totals dt { font-size: 10px; min-height: 30px; }
    .boards-tournament-form { flex-wrap: wrap; gap: 8px; }
    .boards-tournament-form label { width: 100%; }
    .boards-page select, .boards-search input { font-size: 16px; }
    .boards-tournament-bar { padding-block: 14px; gap: 12px; }
    .boards-champion { gap: 10px; padding-block: 12px; }
    .boards-champion-label { font-size: 9px; }
    .boards-champion .boards-identity > a, .boards-champion .boards-name { font-size: 13px; }
    .boards-view-tabs { gap: 20px; }
    .boards-view-tabs > a { gap: 6px; font-size: 12px; padding-block: 15px 12px; }
    .boards-standings-tools { padding-block: 16px 12px; gap: 12px; }
    .boards-group-tabs { gap: 2px; }
    .boards-group-tabs a { padding: 8px; font-size: 11px; }
    .boards-table-options { font-size: 11px; flex-wrap: wrap; gap: 10px; padding-bottom: 12px; }
    .boards-table .boards-player-col { width: 50%; }
    .boards-table .boards-rank { width: 26px; }
    .boards-identity { gap: 7px; }
    .boards-table th, .boards-table td { padding-block: 13px; }
    .boards-round-matches { grid-template-columns: minmax(0, 1fr); }
    .boards-match-side { min-height: 49px; }
    .boards-match-side .boards-identity > a, .boards-match-side .boards-name { font-size: 13px; }
    .boards-squad-heading, .boards-members { padding-inline: 14px; }
    .boards-members li { gap: 7px; }
    .boards-member-state { font-size: 9px; }
}
