/* All selectors stay inside the shared Youth League presentation. */
.youth-league {
  --youth-navy: #102f45;
  --youth-teal: #087f91;
  --youth-ink: #193344;
  --youth-muted: #627483;
  --youth-line: #dfe7ee;
  --youth-surface: #f3f6fa;
  box-sizing: border-box;
  color: var(--youth-ink);
  background: var(--youth-surface);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  color-scheme: light;
  overflow-wrap: anywhere;
}
.youth-league *, .youth-league *::before, .youth-league *::after { box-sizing: border-box; }
.youth-league h2, .youth-league h3, .youth-league h4, .youth-league p { margin: 0; color: inherit; }
.youth-league button, .youth-league select { font: inherit; }
.youth-league button, .youth-league select, .youth-league summary { touch-action: manipulation; }
.youth-league button:focus-visible, .youth-league select:focus-visible, .youth-league summary:focus-visible, .youth-league [tabindex]:focus-visible { outline: 3px solid var(--youth-teal); outline-offset: 3px; }
.youth-league .youth-topbar { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.5rem; background: var(--youth-navy); color: #fff; font-size: .73rem; font-weight: 700; letter-spacing: .12em; }
.youth-league .youth-topbar > :last-child { font-weight: 400; opacity: .8; }
.youth-league .youth-content { max-width: 1180px; margin: 0 auto; padding: 2rem 1.5rem; }
.youth-league .youth-heading { margin-bottom: 1.7rem; }
.youth-league .youth-eyebrow { color: var(--youth-teal); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; margin-bottom: .4rem; }
.youth-league .youth-title-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.youth-league .youth-title-row h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.15; font-weight: 750; letter-spacing: -.045em; }
.youth-league .youth-format { display: inline-block; padding: .3rem .75rem; border-radius: 6px; background: var(--youth-navy); color: #fff; font-size: .9rem; font-weight: 700; }
.youth-league .youth-description { margin-top: .6rem; color: var(--youth-muted); font-size: .88rem; }
.youth-league .youth-updated { margin-top: .4rem; color: var(--youth-muted); font-size: .75rem; }
.youth-league .youth-progress { display: grid; width: fit-content; min-width: 175px; gap: .2rem; padding: .85rem 1rem; margin-top: 1.1rem; border: 1px solid var(--youth-line); border-radius: 8px; background: #fff; }
.youth-league .youth-progress strong { font-size: 1.2rem; }
.youth-league .youth-progress strong span { color: var(--youth-muted); font-size: .85rem; font-weight: 400; }
.youth-league .youth-progress > span { font-size: .75rem; color: var(--youth-muted); }
.youth-league .youth-tabs { display: flex; gap: 1.35rem; border-bottom: 1px solid var(--youth-line); margin-bottom: 1.1rem; overflow-x: auto; }
.youth-league .youth-tabs button { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; padding: .7rem 0; min-height: 44px; color: var(--youth-muted); white-space: nowrap; cursor: pointer; font-size: .86rem; box-shadow: none; }
.youth-league .youth-tabs button[aria-pressed="true"] { color: var(--youth-navy); border-bottom-color: var(--youth-teal); font-weight: 750; }
.youth-league .youth-tabs button:hover { color: var(--youth-teal); }
.youth-league .youth-filters { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; margin-bottom: 1.4rem; }
.youth-league .youth-filters label { display: flex; flex-direction: column; gap: .3rem; min-width: 150px; max-width: 100%; font-size: .72rem; font-weight: 600; }
.youth-league .youth-filters select { display: block; width: 100%; max-width: 280px; min-height: 44px; padding: .5rem 2rem .5rem .65rem; border: 1px solid var(--youth-line); border-radius: 5px; color: var(--youth-ink); background: #fff; font-size: .83rem; }
.youth-league .youth-filter-count { margin-left: auto; color: var(--youth-muted); font-size: .73rem; text-align: right; }
.youth-league .youth-filter-count span { display: block; }
.youth-league .youth-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; margin: 1rem 0; }
.youth-league .youth-pagination p { margin: 0; color: var(--youth-muted); font-size: .78rem; text-align: center; }
.youth-league .youth-pagination button { min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--youth-line); border-radius: 5px; color: var(--youth-navy); background: #fff; font: inherit; font-size: .8rem; cursor: pointer; }
.youth-league .youth-pagination button:disabled { opacity: .5; cursor: default; }
.youth-league .youth-pagination button:not(:disabled):hover { border-color: var(--youth-teal); color: var(--youth-teal); }
.youth-league .youth-day + .youth-day { margin-top: 1.8rem; }
.youth-league .youth-day > h3, .youth-league .youth-focus > h3 { padding-bottom: .7rem; margin-bottom: .75rem; border-bottom: 1px solid var(--youth-line); font-size: 1.05rem; font-weight: 750; }
.youth-league .youth-match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; align-items: start; }
.youth-league .youth-match { min-width: 0; background: #fff; border: 1px solid var(--youth-line); border-radius: 8px; overflow: hidden; }
.youth-league .youth-match-live { border-color: #74b8be; }
.youth-league .youth-match-head { display: flex; justify-content: space-between; gap: .6rem; padding: .6rem .85rem; border-bottom: 1px solid #edf1f5; color: var(--youth-muted); font-size: .72rem; }
.youth-league .youth-range { align-self: start; border-radius: 3px; padding: 0 .3rem; background: #edf4f8; color: #476575; }
.youth-league .youth-match-body { padding: .85rem; }
.youth-league .youth-match-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; }
.youth-league .youth-time { font-size: 1.15rem; font-weight: 750; }
.youth-league .youth-status { display: inline-block; border-radius: 4px; background: #edf1f5; color: #506473; padding: .1rem .4rem; font-size: .65rem; font-weight: 650; white-space: nowrap; }
.youth-league .youth-status-finished { background: #e6f4ee; color: #247050; }
.youth-league .youth-status-live { background: #dff3f4; color: #076778; }
.youth-league .youth-match-score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .65rem; }
.youth-league .youth-team { display: inline-flex; align-items: center; min-width: 0; gap: .5rem; font-size: .88rem; }
.youth-league .youth-team-identity { display: flex; flex-direction: column; min-width: 0; }
.youth-league .youth-team-code { font-weight: 750; }
.youth-league .youth-team-name { font-size: .8rem; font-weight: 500; }
.youth-league .youth-team-code + .youth-team-name { color: var(--youth-muted); font-size: .68rem; }
.youth-league .youth-flag { font-size: 1.1rem; line-height: 1.3; flex: 0 0 auto; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.youth-league .youth-match-score > .youth-team:last-child { justify-content: end; text-align: right; }
.youth-league .youth-placeholder { color: var(--youth-muted); font-size: .76rem; font-weight: 400; }
.youth-league .youth-score { font-size: 1.1rem; font-weight: 750; color: var(--youth-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.youth-league .youth-score-separator { color: var(--youth-muted); font-weight: 400; }
.youth-league .youth-score-pending { color: var(--youth-muted); font-weight: 500; }
.youth-league .youth-match details { border-top: 1px solid #edf1f5; }
.youth-league .youth-match summary { min-height: 44px; padding: .7rem .85rem; color: var(--youth-muted); font-size: .72rem; cursor: pointer; }
.youth-league .youth-match summary:hover { color: var(--youth-teal); background: #f8fbfc; }
.youth-league .youth-match-details { padding: 0 .85rem .85rem; }
.youth-league .youth-lineups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.youth-league .youth-lineups h4 { font-size: .8rem; }
.youth-league .youth-members { padding: 0; margin: .6rem 0; list-style: none; }
.youth-league .youth-members li { display: flex; flex-direction: column; gap: .1rem; margin: .4rem 0; font-size: .82rem; }
.youth-league .youth-members small { color: var(--youth-muted); font-size: .7rem; }
.youth-league .youth-muted { color: var(--youth-muted); font-size: .77rem; }
.youth-league .youth-table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--youth-line); border-radius: 7px; background: #fff; }
.youth-league table { border-collapse: collapse; width: 100%; margin: 0; background: #fff; color: var(--youth-ink); }
.youth-league caption { text-align: left; padding: .7rem .85rem; font-size: .86rem; font-weight: 700; }
.youth-league th, .youth-league td { padding: .65rem .7rem; border: 0; border-top: 1px solid var(--youth-line); vertical-align: middle; text-align: center; font-size: .82rem; background: transparent; color: inherit; }
.youth-league thead th { color: var(--youth-muted); background: #f8fafc; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.youth-league th[scope="row"] { text-align: left; }
.youth-league abbr[title] { text-decoration: none; cursor: help; }
.youth-league .youth-standings { min-width: 600px; }
.youth-league .youth-rank { color: var(--youth-muted); width: 4rem; }
.youth-league .youth-standing-points { color: var(--youth-navy); font-weight: 800; }
.youth-league .youth-medal-results { margin-bottom: 1.4rem; }
.youth-league .youth-medal-results > h3 { font-size: 1.05rem; margin-bottom: .7rem; }
.youth-league .youth-medal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .7rem; }
.youth-league .youth-medal-card { padding: .9rem; border: 1px solid var(--youth-line); border-top: 3px solid #aab7c1; border-radius: 7px; background: #fff; }
.youth-league .youth-medal-card h4 { color: var(--youth-muted); font-size: .76rem; margin-bottom: .55rem; }
.youth-league .youth-medal-1 { border-top-color: #b38a2d; }
.youth-league .youth-medal-2 { border-top-color: #7c8b9e; }
.youth-league .youth-medal-3 { border-top-color: #b57b55; }
.youth-league .youth-tie { display: block; color: #75540b; font-weight: 500; font-size: .7rem; margin-top: .2rem; }
.youth-league .youth-parts th, .youth-league .youth-parts td { font-size: .72rem; padding: .5rem; }
.youth-league .youth-parts .youth-score { font-size: .9rem; }
.youth-league .youth-shoot-off { display: block; margin-top: .2rem; font-size: .68rem; color: var(--youth-muted); }
.youth-league .youth-shoot-off .youth-score { font-size: .75rem; }
.youth-league .youth-shoot-off-targets { display: block; margin-top: .15rem; color: var(--youth-muted); font-size: .68rem; }
.youth-league .youth-hit-details { display: flex; flex-direction: column; gap: .15rem; text-align: left; white-space: nowrap; font-variant-numeric: tabular-nums; }
.youth-league .youth-hit-details > span > span { color: var(--youth-muted); }
.youth-league .youth-range-note, .youth-league .youth-golden, .youth-league .youth-duel-winner { display: block; font-size: .68rem; font-weight: 500; margin-top: .2rem; color: var(--youth-muted); }
.youth-league .youth-duel-winner { color: #247050; font-weight: 700; }
.youth-league .youth-golden { color: #795b15; font-weight: 700; }
.youth-league .youth-shots-block { text-align: left; }
.youth-league .youth-shots-block + .youth-shots-block { margin-top: .6rem; }
.youth-league .youth-shots-title { color: var(--youth-muted); font-size: .7rem; font-weight: 650; margin-bottom: .4rem; }
.youth-league .youth-shot-row { display: grid; grid-template-columns: minmax(45px, .35fr) minmax(0, 1fr); align-items: center; gap: .5rem; margin-top: .3rem; font-size: .72rem; }
.youth-league .youth-shots { display: flex; flex-wrap: wrap; gap: .2rem; }
.youth-league .youth-shot { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 1px solid var(--youth-line); border-radius: 3px; font-size: .9rem; font-weight: 650; }
.youth-league .youth-shot-hit { color: #247050; background: #e6f4ee; }
.youth-league .youth-shot-miss { color: #a52c2c; background: #fff1f1; }
.youth-league .youth-shot-pending { color: var(--youth-muted); background: #f7f9fc; }
.youth-league .youth-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.youth-league .youth-team-card { min-width: 0; padding: 1rem; border: 1px solid var(--youth-line); border-radius: 8px; background: #fff; }
.youth-league .youth-team-card h3 { margin-bottom: .6rem; }
.youth-league .youth-team-card .youth-team { font-size: 1rem; }
.youth-league .youth-note, .youth-league .youth-empty { padding: 1rem; border: 1px solid var(--youth-line); border-radius: 6px; background: #fff; color: var(--youth-muted); font-size: .85rem; }
.youth-league .youth-note { margin-bottom: 1rem; border-left: 3px solid var(--youth-teal); }
.youth-league .youth-focus { max-width: 860px; margin: 0 auto; }
.youth-league .youth-focus .youth-match-body { padding: 1.3rem; }
.youth-league .youth-focus .youth-score { font-size: 2rem; }
.youth-league .youth-display-title { font-size: 1.3rem; margin-bottom: .5rem; }
.youth-league .youth-timezone { margin-bottom: 1rem; font-size: .8rem; color: var(--youth-muted); }
.youth-league.youth-display { font-size: 20px; }
.youth-league.youth-display .youth-content { max-width: 1760px; }
.youth-league.youth-display .youth-time, .youth-league.youth-display .youth-score { font-size: 1.7rem; }
.youth-league.youth-display .youth-team-code { font-size: 1.2rem; }
.youth-league.youth-display .youth-team-name, .youth-league.youth-display .youth-status, .youth-league.youth-display .youth-match-head, .youth-league.youth-display .youth-members li { font-size: .95rem; }
.youth-league.youth-display .youth-standings th, .youth-league.youth-display .youth-standings td { padding: .85rem; font-size: 1.1rem; }
@media (max-width: 620px) {
  .youth-league .youth-content { padding: 1.25rem .8rem; }
  .youth-league .youth-topbar { padding: .75rem .8rem; font-size: .64rem; }
  .youth-league .youth-topbar > :last-child { display: none; }
  .youth-league .youth-heading { margin-bottom: 1rem; }
  .youth-league .youth-tabs { gap: 1rem; }
  .youth-league .youth-tabs button { font-size: .78rem; }
  .youth-league .youth-filters { gap: .65rem; }
  .youth-league .youth-filters label { flex: 1 1 135px; min-width: 0; }
  .youth-league .youth-filters select { max-width: none; }
  .youth-league .youth-filter-count { width: 100%; text-align: left; }
  .youth-league .youth-filter-count span { display: inline; margin-left: .7rem; }
  .youth-league .youth-pagination p { flex: 1 0 100%; order: -1; }
  .youth-league .youth-match-grid, .youth-league .youth-team-grid { grid-template-columns: minmax(0, 1fr); }
  .youth-league .youth-title-row { gap: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  .youth-league *, .youth-league *::before, .youth-league *::after { scroll-behavior: auto; animation: none; transition: none; }
}
@media print {
  .youth-league { background: #fff; font-size: 10pt; color: #000; }
  .youth-league .youth-topbar, .youth-league .youth-tabs, .youth-league .youth-filters, .youth-league .youth-pagination, .youth-league summary { display: none; }
  .youth-league .youth-content { padding: 0; max-width: none; }
  .youth-league .youth-heading { margin-bottom: 1rem; }
  .youth-league .youth-progress { padding: .4rem .7rem; }
  .youth-league .youth-match, .youth-league .youth-team-card, .youth-league tr { break-inside: avoid; }
  .youth-league .youth-match-grid, .youth-league .youth-team-grid { display: block; }
  .youth-league .youth-match, .youth-league .youth-team-card { margin-bottom: .7rem; }
  .youth-league details::details-content { display: block; content-visibility: visible; }
  .youth-league details > :not(summary) { display: block !important; }
  .youth-league .youth-table-scroll { overflow: visible; border: 0; }
  .youth-league .youth-standings { min-width: 0; }
  .youth-league thead { display: table-header-group; }
}
