.cup-standings {
    --standings-accent: var(--theme-accent, #ffd700);
    --standings-text: var(--theme-text, #e0e0e0);
    --standings-muted: var(--theme-muted, #aaa);
    --standings-surface: var(--theme-surface, #101010);
    --standings-border: var(--theme-border, #383522);
    --standings-highlight: var(--theme-highlight, #211d08);
    color: var(--standings-text);
    margin: 24px 0 56px;
    line-height: 1.5;
}
.standings-heading { padding: clamp(20px, 3vw, 36px); background: var(--standings-surface); border: 1px solid var(--standings-border); border-radius: 16px; margin-bottom: 24px; }
.standings-heading h1 { color: var(--standings-accent); font-size: clamp(30px, 5vw, 44px); font-weight: 800; line-height: 1.2; margin: 8px 0 12px; overflow-wrap: anywhere; }
.standings-heading > p:last-child { color: var(--standings-muted); max-width: 760px; }
.standings-eyebrow { color: var(--standings-accent); font-size: 13px; font-weight: 600; }
.standings-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.standings-tabs a { color: var(--standings-text); background: var(--standings-surface); border: 1px solid var(--standings-border); border-radius: 8px; min-height: 44px; padding: 10px 18px; text-decoration: none; font: inherit; cursor: pointer; }
.standings-tabs a[aria-current="page"], .standings-tabs a:hover { color: var(--standings-accent); border-color: var(--standings-accent); background: var(--standings-highlight); }
.cup-standings.discipline-view-header { margin: 0 0 24px; display: flow-root; }
.discipline-view-title { text-align: center; padding: 24px 20px; background: linear-gradient(135deg, var(--theme-tint, rgba(255, 215, 0, 0.1)) 0%, transparent 100%); border: 1px solid var(--theme-border, rgba(255, 215, 0, 0.2)); border-radius: 16px; }
.discipline-view-title h1 { margin: 0 0 4px; font-size: 42px; font-weight: 900; line-height: 1.2; color: var(--standings-accent); overflow-wrap: anywhere; }
.discipline-view-season { color: var(--standings-muted); font-size: 20px; }
.discipline-view-header .standings-tabs { margin: 24px 0 0; justify-content: center; }
.cup-standings.category-discipline-content { margin-top: 0; }
.container:has(.discipline-view-header) { width: 100%; max-width: none; }
@media (max-width: 768px) {
    .container:has(.discipline-view-header) { padding-left: 12px; padding-right: 12px; }
    .discipline-view-title { padding: 16px; }
    .discipline-view-title h1 { font-size: 28px; }
    .discipline-view-season { font-size: 16px; }
}
@media (max-width: 480px) {
    .container:has(.discipline-view-header) { padding-left: 8px; padding-right: 8px; }
    .discipline-view-title { padding: 12px; }
    .discipline-view-title h1 { font-size: 24px; }
    .discipline-view-season { font-size: 14px; }
}
.cup-standings a:focus-visible, .cup-standings input:focus-visible, .cup-standings select:focus-visible, .cup-standings button:focus-visible { outline: 2px solid var(--standings-accent); outline-offset: 4px; }
.leaders-section { margin-top: 36px; scroll-margin-top: 24px; }
.leaders-section > h2 { font-size: 24px; margin-bottom: 18px; }
.leaders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr)); gap: 20px; align-items: start; }
.leader-board { background: var(--standings-surface); border: 1px solid var(--standings-border); border-radius: 12px; overflow: hidden; min-width: 0; }
.leader-board header { padding: 14px 16px; border-bottom: 1px solid var(--standings-border); }
.leader-board h3, .leader-board h4 { font-size: 17px; overflow-wrap: anywhere; margin-top: 4px; }
.leader-discipline { margin-top: 28px; }
.leader-discipline + .leader-discipline { border-top: 1px solid var(--standings-border); padding-top: 24px; }
.leader-discipline-title { color: var(--standings-accent); font-size: 19px; margin-bottom: 14px; overflow-wrap: anywhere; }
.leader-list { list-style: none; padding: 0; margin: 0; }
.leader-entry { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; padding: 10px 16px; align-items: center; border-bottom: 1px solid var(--standings-border); }
.leader-place { color: var(--standings-muted); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.leader-name { min-width: 0; overflow-wrap: anywhere; }
.leader-name strong { font-size: 14px; font-weight: 600; }
.leader-name span, .leader-points span { display: block; font-size: 12px; color: var(--standings-muted); margin-top: 3px; }
.leader-points { text-align: right; font-variant-numeric: tabular-nums; }
.leader-points strong { color: var(--standings-text); font-size: 16px; }
.standings-more { display: block; padding: 12px 16px; color: var(--standings-accent); text-decoration: none; font-size: 13px; }
.cup-leaders .standings-heading { padding: 20px 24px; }
.cup-leaders .standings-heading h1 { font-size: clamp(24px, 3vw, 30px); }
.cup-leaders .standings-heading > p:last-child { font-size: 14px; }
.cup-leaders .leaders-section > h2 { font-size: 20px; }
.standings-more:hover { text-decoration: underline; }
.standings-empty { color: var(--standings-muted); border: 1px dashed var(--standings-border); border-radius: 12px; padding: 28px; }
.discipline-search input::-webkit-search-cancel-button { display: none; }
.discipline-search-submit { min-height: 44px; margin-top: 8px; padding: 8px 16px; font: inherit; color: var(--standings-accent); background: var(--standings-highlight); border: 1px solid var(--standings-border); border-radius: 8px; cursor: pointer; }
.search-enhanced .discipline-search-submit { display: none; }
.discipline-scoring-hint { color: var(--standings-muted); font-size: 13px; text-align: center; }
.category-chips { display: flex; gap: 8px; padding-block: 4px 10px; overflow-x: auto; }
.category-chips a { flex-shrink: 0; }
.category-chips a:first-child { margin-inline-start: auto; }
.category-chips a:last-child { margin-inline-end: auto; }
.category-chips a { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--standings-border); border-radius: 8px; color: var(--standings-text); text-decoration: none; background: var(--standings-surface); }
.category-chips a[aria-current="page"] { border-color: var(--standings-accent); color: var(--standings-accent); background: var(--standings-highlight); }
.category-count { color: var(--standings-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.category-chips a:hover { border-color: var(--standings-accent); }
.category-genders { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 12px; }
.category-genders a { color: var(--standings-muted); padding-block: 8px; text-decoration: none; border-bottom: 2px solid transparent; }
.category-genders a[aria-current="page"] { color: var(--standings-accent); border-color: var(--standings-accent); }
.discipline-results-summary { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 24px; color: var(--standings-muted); font-size: 14px; text-align: center; }
.discipline-results-summary a, .standings-table-heading a { color: var(--standings-accent); text-decoration: none; }
.discipline-results-summary a:hover, .standings-table-heading a:hover { text-decoration: underline; }
.standings-table-heading a { font-size: 14px; flex-shrink: 0; }
[data-discipline-content][aria-busy="true"] { opacity: .55; }
.discipline-browser [hidden] { display: none !important; }
.container:has([data-discipline-browser]) { max-width: none; width: 100%; }
#discipline-results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 24px; }
#discipline-results:focus-visible { outline: 2px solid var(--standings-accent); outline-offset: 4px; }
.standings-table-section { min-width: 0; border: 1px solid var(--standings-border); border-radius: 12px; }
@media (max-width: 480px) {
    .container:has([data-discipline-browser]) { padding-left: 8px; padding-right: 8px; }
}
@media (min-width: 481px) and (max-width: 768px) {
    .container:has([data-discipline-browser]) { padding-left: 12px; padding-right: 12px; }
}
.public-site .category-table-scroll { overflow-x: auto; border: 0; border-radius: 0 0 12px 12px; scrollbar-color: var(--standings-border) var(--standings-surface); }
.category-table-scroll:focus-visible { outline: 2px solid var(--standings-accent); outline-offset: 3px; }
.category-rating-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.category-rating-table :is(th, td) { border-bottom: 1px solid var(--standings-border); text-align: left; }
.category-rating-table :is(th, td):first-child { position: sticky; left: 0; min-width: 80px; width: 80px; z-index: 2; }
.category-rating-table :is(th, td):nth-child(2) { position: sticky; left: 80px; min-width: 180px; max-width: 240px; z-index: 2; overflow-wrap: anywhere; }
.category-rating-table :is(.rank-cell, .total-points) { font-weight: 700; }
.category-rating-table .athlete-name { font-weight: 600; }
.category-rank-short { display: none; }
.category-rating-table :is(th, td):nth-child(3) { min-width: 50px; }
.category-rating-table :is(th, td):nth-child(4) { min-width: 150px; max-width: 220px; overflow-wrap: anywhere; }
.category-rating-table :is(th, td):nth-child(n+5) { min-width: 100px; text-align: right; }
.category-rating-table th:nth-child(n+6) { max-width: 170px; }
.category-rating-table tbody tr:last-child td { border-bottom: 0; }
.category-stage-count { display: block; color: var(--standings-muted); font-size: 12px; font-weight: 400; margin-top: 3px; }
.category-stage-notice { padding: 0 12px 12px; color: var(--standings-muted); font-size: 13px; }
.category-sort { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 4px 0; color: inherit; font: inherit; text-align: inherit; cursor: pointer; min-height: 36px; }
.category-sort-indicator { min-width: 8px; font-size: 10px; }
.category-rating-table th[aria-sort="ascending"] .category-sort-indicator::after { content: "▲"; }
.category-rating-table th[aria-sort="descending"] .category-sort-indicator::after { content: "▼"; }
@media (max-width: 600px) {
    .category-rank-label { display: none; }
    .category-rank-short { display: inline; }
    .category-rating-table :is(th, td):first-child { min-width: 52px; width: 52px; }
    .category-rating-table :is(th, td):nth-child(2) { left: 52px; min-width: 128px; max-width: 160px; }
}
.standings-table-section .standings-table-heading { padding: 12px 12px 0; margin-bottom: 10px; flex-wrap: wrap; }
.standings-table-section .standings-table-heading h2 { font-size: 18px; }
.standings-table-section .standings-table { table-layout: fixed; font-size: 14px; }
.standings-table-section .standings-table th, .standings-table-section .standings-table td { padding: 8px; }
.standings-table-section .standings-table th:first-child { width: 52px; }
.standings-table-section .standings-table th:nth-child(3) { width: 76px; }
.standings-table-section .standings-table th:last-child { width: 56px; }
.standings-table-section .standings-table tr:last-child td { border-bottom: 0; }
.standings-table-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.standings-table-heading h2 { font-size: 23px; overflow-wrap: anywhere; }
.standings-table-heading p { color: var(--standings-muted); font-size: 14px; }
.standings-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.standings-table th { color: var(--standings-muted); font-weight: 500; font-size: 13px; text-align: left; background: var(--standings-surface); }
.standings-table th, .standings-table td { padding: 14px 16px; border-bottom: 1px solid var(--standings-border); }
.standings-table td:first-child { width: 50px; color: var(--standings-accent); font-weight: 700; }
.standings-table td:nth-child(2) { overflow-wrap: anywhere; }
.standings-table th:nth-child(3), .standings-table td:nth-child(3) { text-align: right; white-space: nowrap; }
.standings-table td:nth-child(3) { font-weight: 700; color: var(--standings-accent); }
.standings-table th:last-child, .standings-table td:last-child { text-align: right; }
@media (max-width: 600px) {
    .standings-table-heading { flex-wrap: wrap; gap: 8px; }
    .standings-tabs a { flex: 1; text-align: center; padding-inline: 12px; }
    .leader-entry { gap: 8px; }
    .standings-table th, .standings-table td,
    .standings-table-section .standings-table th, .standings-table-section .standings-table td { padding: 8px 6px; }
    .standings-table { font-size: 14px; }
    .standings-table td:first-child { width: 28px; }
}
