/* Light blue card-header (dashboard, stats, logs, accounts, profile) – méně výrazná */
.card-header.card-header-orange {
  background-color: #0dcaf0 !important;
  color: #212529 !important;
}
.card-header.card-header-orange .text-muted {
  color: rgba(33, 37, 41, 0.75) !important;
}

/* Orange for Matches (zápasy) – card on dashboard + card-header + thead */
.card.card-matches {
  background-color: #fd7e14 !important;
}
.card-header.card-header-matches {
  background-color: #fd7e14 !important;
  color: #fff !important;
}
.table thead.thead-matches,
table thead.thead-matches {
  background-color: #fd7e14 !important;
  color: #fff !important;
}
.table thead.thead-matches th,
table thead.thead-matches th {
  background-color: #fd7e14 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Compiled from styles.scss - placeholder and Select2 styling */
.form-control::placeholder,
.form-select::placeholder {
  font-size: 0.875rem;
  opacity: 0.7;
}
.form-control-lg::placeholder {
  font-size: 0.875rem;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__placeholder {
  font-size: 0.875rem !important;
  opacity: 0.7 !important;
  line-height: 1.5;
}
.select2-container--bootstrap-5.select2-container--large .select2-selection--single .select2-selection__placeholder {
  font-size: 0.875rem !important;
}
.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field::placeholder {
  font-size: 0.875rem !important;
  opacity: 0.7 !important;
}
select.select2[style*="width"] + .select2-container {
  width: inherit !important;
}
.match-score-form .table {
  font-size: 0.875rem;
  width: 100%;
}
.match-score-form .table th.match-number {
  width: 40px;
}
.match-score-form .table th.player-name {
  width: 180px;
}
.match-score-form .table th.stat-100,
.match-score-form .table th.stat-140,
.match-score-form .table th.stat-180 {
  width: 60px;
}
.match-score-form .table th.stat-checkout {
  width: 70px;
}
.match-score-form .table th.legs-column {
  width: 120px;
}
.match-score-form .table th.points-column {
  width: 120px;
  font-size: 1.1rem;
}
.match-score-form .table .points-cell {
  background-color: #f8f9fa;
  font-size: 1.3rem;
}
.match-score-form .table .table-info #total-points {
  font-size: 1.5rem;
}
.match-score-form .table .table-info #overall-winner {
  font-size: 1.5rem;
}

/* Dashboard – ligová tabulka mobilní karty */
@media (max-width: 767px) {
  .league-table-mobile {
    padding: 0.5rem !important;
  }
  .league-team-card-mobile {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
  }
  .league-team-card-mobile__position {
    flex-shrink: 0;
    width: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #495057;
    background: var(--team-accent, #e9ecef);
    min-height: 100%;
  }
  .league-team-card-mobile__body {
    flex: 1;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .league-team-card-mobile__name {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
  }
  .league-team-card-mobile__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .league-team-card-mobile__stats {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .league-team-card-mobile__points {
    font-weight: 700;
    font-size: 1rem;
    color: #212529;
    margin-top: 0.15rem;
  }

  /* Poslední zápasy – názvy týmů pod sebe */
  .recent-match-teams-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  /* Seznam hráčů – mobilní karty */
  .players-list-mobile {
    padding: 0.5rem !important;
  }
  .player-card-mobile {
    display: flex;
    align-items: stretch;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
  }
  .player-card-mobile__accent {
    width: 4px;
    flex-shrink: 0;
    background: #adb5bd;
  }
  .player-card-mobile__body {
    flex: 1;
    padding: 0.6rem 0.75rem;
  }
  .player-card-mobile__name {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  .player-card-mobile__team {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: #6c757d;
  }
  .player-card-mobile__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .player-card-mobile__meta {
    font-size: 0.75rem;
    margin-top: 0.15rem;
  }
  .player-card-mobile__actions .btn {
    min-height: 44px;
  }

  /* Seznam zápasů – názvy týmů se nezalamují */
  .match-card-teams-mobile {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.25rem;
  }
  .match-card-teams-mobile .match-card-team-name {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
  }
  .match-card-teams-mobile .text-nowrap {
    white-space: nowrap;
  }
}

/* Dashboard – Hráčští lídři: celé pole je odkaz na hráčské statistiky */
.leader-stat-link {
  display: block;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.leader-stat-link:hover {
  opacity: 0.9;
}
.leader-stat-link .leader-stat-box {
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.leader-stat-link:hover .leader-stat-box {
  background-color: rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* DataTables – styly pro řádek „Hledat“, „Počet záznamů“ a „Zobrazeno X–Y z Z“ (Logy, Hráčské statistiky) */
.card-body .dataTables_wrapper {
  padding: 1rem;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-weight: normal;
  font-size: 0.875rem;
}
.dataTables_wrapper .dataTables_length select {
  display: inline-block;
  width: auto;
  min-width: 5rem;
  padding: 0.25rem 2rem 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  appearance: auto;
}
.dataTables_wrapper .dataTables_filter input {
  display: inline-block;
  width: auto;
  min-width: 12rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
}
.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
/* Spodní řádek: info + stránkování v jedné linii, zarovnané */
.dataTables_wrapper table.dataTable {
  margin-bottom: 0 !important;
}
.dataTables_wrapper .dataTables-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #dee2e6;
}
.dataTables_wrapper .dataTables-footer-row .dataTables_info,
.dataTables_wrapper .dataTables_info {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
  padding: 0;
}
.dataTables_wrapper .dataTables-footer-row .dataTables_paginate,
.dataTables_wrapper .dataTables_paginate {
  margin: 0;
  padding: 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  margin: 0 2px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #212529;
  background-color: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #0a0a0a;
  background-color: #e9ecef;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  color: #fff;
  background-color: #0d6efd;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  cursor: default;
  color: #adb5bd;
  background-color: transparent;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  color: #adb5bd;
  background-color: transparent;
}
@media (max-width: 767px) {
  .dataTables_wrapper .dataTables-footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .dataTables_wrapper .dataTables_paginate {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media (max-width: 767px) {
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    margin-bottom: 0.5rem;
  }
  .dataTables_wrapper .dataTables_filter input {
    min-width: 100%;
  }
}

/* Horní značka – MČR družstev */
.navbar-brand-mcr {
  font-size: 0.95rem;
  line-height: 1.15;
}

/* Liga – barvy podle kategorie (A–D) */
.league-page {
  --league-accent: #1565c0;
  --league-accent-rgb: 21, 101, 192;
  --league-accent-hover: #1976d2;
  --league-accent-contrast: #fff;
  --league-accent-soft: rgba(var(--league-accent-rgb), 0.1);
  --league-accent-softer: rgba(var(--league-accent-rgb), 0.06);
  --league-matrix-thead: rgba(var(--league-accent-rgb), 0.12);
  --league-match-tint: rgba(var(--league-accent-rgb), 0.04);
}
.league-page--men,
.dashboard-league-card--men {
  --league-accent: #1565c0;
  --league-accent-rgb: 21, 101, 192;
  --league-accent-hover: #1976d2;
}
.league-page--women,
.dashboard-league-card--women {
  --league-accent: #ad1457;
  --league-accent-rgb: 173, 20, 87;
  --league-accent-hover: #c2185b;
}
.league-page--mix2,
.dashboard-league-card--mix2 {
  --league-accent: #00897b;
  --league-accent-rgb: 0, 137, 123;
  --league-accent-hover: #009688;
}
.league-page--mix3,
.dashboard-league-card--mix3 {
  --league-accent: #6a1b9a;
  --league-accent-rgb: 106, 27, 154;
  --league-accent-hover: #7b1fa2;
}

/* Soupisky – velké číslo týmu (1–7) v záhlaví karty */
.league-page .league-roster-team-num {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1;
}

/* Soupisky – štítky pozic (Muž 1, Žena, náhradník…) */
.league-page .league-roster-slot-label {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bs-body-color);
}

/* Soupisky – pole jména hráče (odlišení od poznámky / ELO) */
.league-page .league-roster-name-fld {
  background-color: rgba(var(--league-accent-rgb), 0.14);
  border-color: rgba(var(--league-accent-rgb), 0.45);
  font-weight: 500;
}
.league-page .league-roster-name-fld::placeholder {
  color: rgba(var(--league-accent-rgb), 0.55);
  font-weight: 400;
}
.league-page .league-roster-name-fld:focus {
  background-color: rgba(var(--league-accent-rgb), 0.1);
  border-color: var(--league-accent);
  box-shadow: 0 0 0 0.2rem rgba(var(--league-accent-rgb), 0.22);
}

.dashboard-league-card {
  --league-accent-contrast: #fff;
  --league-matrix-thead: rgba(var(--league-accent-rgb), 0.12);
}

/* Dashboard – karty lig (stejné barvy jako stránka ligy) */
.dashboard-league-card .card-header {
  background-color: var(--league-accent);
  color: var(--league-accent-contrast);
  font-weight: 600;
  border-bottom: none;
}
.dashboard-league-card .card-header h4 {
  color: inherit;
}
.dashboard-league-card .dashboard-league-table thead th {
  background-color: var(--league-matrix-thead) !important;
  color: #212529;
  border-color: rgba(var(--league-accent-rgb), 0.2);
}
.dashboard-league-card .dashboard-league-table tbody tr:nth-child(odd) {
  background-color: rgba(var(--league-accent-rgb), 0.04);
}

/* Dashboard – přehled stolů v sále (SVG pohled shora, číslo na ploše) */
.dashboard-venue-tables-card .card-header h2 {
  color: #212529;
}
.dashboard-venue-tables {
  display: grid;
  gap: 0.45rem 0.35rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dashboard-venue-table-tile {
  border: 1px solid #dee2e6;
  border-radius: 0.4rem;
  padding: 0.45rem 0.35rem 0.45rem;
  background: linear-gradient(180deg, #f1f3f5 0%, #e9ecef 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dashboard-venue-table-tile:hover {
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow: 0 0.15rem 0.45rem rgba(13, 110, 253, 0.1);
}
.dashboard-venue-table-tile--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline-offset: 2px;
}
.dashboard-venue-table-tile--link:hover {
  border-color: rgba(13, 110, 253, 0.55);
  box-shadow: 0 0.2rem 0.55rem rgba(13, 110, 253, 0.14);
}
.dashboard-venue-line-link {
  text-decoration: none;
}
.dashboard-venue-line-link:hover .dashboard-venue-line,
.dashboard-venue-line-link:focus-visible .dashboard-venue-line {
  text-decoration: underline;
}
.dashboard-venue-line-link:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.65);
  outline-offset: 1px;
  border-radius: 0.2rem;
}
.dashboard-venue-table-who {
  line-height: 1.3;
  text-align: center;
  min-height: 2.5rem;
  max-height: 2.5rem;
  padding: 0 0.1rem 0.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  hyphens: auto;
  color: #212529;
}
.dashboard-venue-table-who-placeholder {
  color: #adb5bd;
  font-weight: 600;
  font-size: 1rem;
}
.dashboard-venue-table-tile--assigned .dashboard-venue-table-who {
  min-height: auto;
  max-height: none;
  -webkit-line-clamp: unset;
  display: block;
  padding-bottom: 0.35rem;
}
.dashboard-venue-table-match {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
}
.dashboard-venue-table-match:not(:last-child) {
  margin-bottom: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.dashboard-venue-table-match-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  border-radius: 0.25rem;
  outline-offset: 1px;
}
.dashboard-venue-table-match-link:hover .dashboard-venue-table-team,
.dashboard-venue-table-match-link:focus-visible .dashboard-venue-table-team {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dashboard-venue-table-match-link:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.65);
}
.dashboard-venue-table-league-mark {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  line-height: 1.15;
}
.dashboard-venue-table-teams {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.2rem 0.4rem;
  font-size: clamp(0.82rem, 2.2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.3;
}
.dashboard-venue-table-vs {
  font-size: 0.78em;
  font-weight: 600;
  color: #6c757d;
}
.dashboard-venue-table-team {
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}
.dashboard-venue-line {
  font-weight: 700;
  font-size: 0.68rem;
  line-height: 1.35;
}
.dashboard-venue-line--men {
  color: #1565c0;
}
.dashboard-venue-line--women {
  color: #ad1457;
}
.dashboard-venue-line--mix2 {
  color: #00897b;
}
.dashboard-venue-line--mix3 {
  color: #6a1b9a;
}

/* Liga – výběr stolu u utkání (1–16) */
.league-venue-table-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: 22rem;
}
.league-venue-table-btn {
  width: 2.35rem;
  min-width: 2.35rem;
  padding-left: 0;
  padding-right: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.league-venue-table-btn.league-venue-table-btn--blocked,
.league-venue-table-btn.league-venue-table-btn--blocked:disabled {
  opacity: 1;
  background-color: #ced4da !important;
  border-color: #adb5bd !important;
  color: #6c757d !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* Liga – čísla stolů v záhlaví utkání (stejný duch jako výběr stolů) */
.league-match-table-chips {
  margin-top: 0.05rem;
}
.league-match-table-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.9rem;
  padding: 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  border-radius: 0.3rem;
  background: linear-gradient(160deg, var(--league-accent-hover) 0%, var(--league-accent) 100%);
  color: var(--league-accent-contrast);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.dashboard-venue-table-svg {
  width: 100%;
  max-width: 5.35rem;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  display: block;
  aspect-ratio: 128 / 80;
}
.dashboard-venue-table-svg-num {
  font-variant-numeric: tabular-nums;
}
.dashboard-venue-table-svg-label {
  letter-spacing: 0.03em;
}
.dashboard-venue-table-tile--referee {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 14rem);
}

.league-page .h3.mb-0 {
  color: var(--league-accent);
  border-left: 4px solid var(--league-accent);
  padding-left: 0.65rem;
  margin-left: -0.15rem;
}

.league-page .nav-tabs .nav-link {
  color: #495057;
}
.league-page .nav-tabs .nav-link:hover {
  border-color: #dee2e6 #dee2e6 #dee2e6;
  color: var(--league-accent);
}
.league-page .nav-tabs .nav-link.active {
  color: var(--league-accent);
  font-weight: 600;
  border-color: #dee2e6 #dee2e6 #fff;
  border-top: 3px solid var(--league-accent);
}

.league-page #league-overview-pane > .card > .card-header {
  background-color: var(--league-accent);
  color: var(--league-accent-contrast);
  font-weight: 600;
  border-bottom: none;
}

.league-page #league-matrix-table thead th,
.league-page #league-standings-table thead th {
  background-color: var(--league-matrix-thead) !important;
  color: #212529;
  border-color: rgba(var(--league-accent-rgb), 0.2);
}

.league-page #autosave-progress-bar {
  background-color: var(--league-accent) !important;
}

.league-page .league-round > .card-header {
  background: linear-gradient(90deg, var(--league-accent-soft), transparent);
  border-bottom: 1px solid rgba(var(--league-accent-rgb), 0.15);
}
.league-round-day-time {
  color: #0d6efd;
  font-weight: 700;
}

/* Rozpis kol – poslední (lichá) karta přehledu doprostřed */
@media (min-width: 768px) {
  .league-round-overview-col--last-centered {
    flex: 0 0 auto;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 1200px) {
  .league-round-overview-col--last-centered {
    width: 33.333333%;
  }
}

.league-page .league-match {
  background-color: var(--league-match-tint);
  border-color: rgba(var(--league-accent-rgb), 0.18) !important;
}

/* Horní lišta: zvýraznění aktuální ligy */
body.league-navbar--men .navbar a.nav-link[data-league-nav="men"],
body.league-navbar--women .navbar a.nav-link[data-league-nav="women"],
body.league-navbar--mix2 .navbar a.nav-link[data-league-nav="mix2"],
body.league-navbar--mix3 .navbar a.nav-link[data-league-nav="mix3"] {
  color: #fff !important;
  font-weight: 600;
  border-radius: 0.3rem;
  margin: 0 0.1rem;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}
body.league-navbar--men .navbar a.nav-link[data-league-nav="men"] {
  background-color: rgba(21, 101, 192, 0.55);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.35);
}
body.league-navbar--women .navbar a.nav-link[data-league-nav="women"] {
  background-color: rgba(173, 20, 87, 0.55);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.35);
}
body.league-navbar--mix2 .navbar a.nav-link[data-league-nav="mix2"] {
  background-color: rgba(0, 137, 123, 0.55);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.35);
}
body.league-navbar--mix3 .navbar a.nav-link[data-league-nav="mix3"] {
  background-color: rgba(106, 27, 154, 0.55);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.35);
}

.league-page .modal-header {
  background: var(--league-accent-soft);
  border-bottom-color: rgba(var(--league-accent-rgb), 0.2);
}

/* Liga – křížová tabulka */
.league-cross-table .league-corner {
  min-width: 7.5rem;
  vertical-align: middle;
}
.league-cross-table .league-matrix-row-head {
  min-width: 7.5rem;
  max-width: 14rem;
  vertical-align: middle;
  text-align: left !important;
}
.league-cross-table .league-matrix-row-head .d-flex {
  min-width: 0;
}
.league-cross-table .league-matrix-head {
  min-width: 6.5rem;
  vertical-align: bottom;
}
.league-cross-table td.league-matrix-diagonal {
  background-color: #e9ecef;
}
.league-page .league-cross-table td.league-matrix-diagonal {
  background-color: var(--league-accent-softer);
}
.league-page .league-save-toast {
  position: fixed;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1085;
  min-width: 16rem;
  max-width: min(92vw, 34rem);
  margin: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.autosave-progress-container {
  position: relative;
  min-height: 2.15rem;
}
.autosave-progress-container .autosave-loader {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 0.35rem !important;
  z-index: 2;
}
.league-set.league-set-complete .league-set-inp,
.league-set.league-set-complete span {
  font-weight: 700;
}
.league-sets .league-set {
  padding: 0.25rem 0.4rem;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  background-color: #f8f9fa;
}
.league-sets .league-set.league-set-complete {
  border-color: #a3d9a5;
  background-color: #d1f2d3;
}

@keyframes league-score-error-pulse {
  0%,
  100% {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.12rem rgba(220, 53, 69, 0.55);
    background-color: rgba(220, 53, 69, 0.1);
  }
  50% {
    border-color: #b02a37;
    box-shadow: 0 0 0 0.22rem rgba(220, 53, 69, 0.35);
    background-color: rgba(220, 53, 69, 0.2);
  }
}

.league-page .league-fld.league-score-error-blink {
  animation: league-score-error-pulse 1s ease-in-out infinite;
  border-color: #dc3545 !important;
}

.league-round-toggle {
  border: 0;
  background: transparent;
}
.league-round-toggle:focus {
  box-shadow: none;
}
.league-round-toggle .league-round-icon-up {
  display: none;
}
.league-round-toggle:not(.collapsed) .league-round-icon-down {
  display: none;
}
.league-round-toggle:not(.collapsed) .league-round-icon-up {
  display: inline-block;
}
.league-match-toggle {
  border: 0;
  background: transparent;
}
.league-match-toggle:focus {
  box-shadow: none;
}
.league-match-toggle .league-match-icon-up {
  display: none;
}
.league-match-toggle:not(.collapsed) .league-match-icon-down {
  display: none;
}
.league-match-toggle:not(.collapsed) .league-match-icon-up {
  display: inline-block;
}
.league-match-score-wrap {
  white-space: nowrap;
}
.league-match-order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  height: 1.9rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--league-accent-contrast);
  background: linear-gradient(160deg, var(--league-accent-hover) 0%, var(--league-accent) 100%);
  box-shadow: 0 1px 3px rgba(var(--league-accent-rgb), 0.35);
}
.league-match-teams-main {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: #212529;
}
.league-match-vs-sep {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6c757d;
}
.league-match-seed {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.league-match-score-wrap .league-team-score {
  font-size: 1.08rem;
  font-weight: 700;
}
.league-match-score-wrap .league-team-score--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.1rem;
  padding: 0.2rem 0.55rem 0.22rem;
  line-height: 1.15;
  color: #495057;
  background: linear-gradient(180deg, #f1f3f5 0%, #e9ecef 100%);
  border: 2px solid #adb5bd;
  border-radius: 0.4rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 1px 2px rgba(73, 80, 87, 0.12);
}
.league-match-score-wrap .league-team-score--filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.1rem;
  padding: 0.2rem 0.55rem 0.22rem;
  line-height: 1.15;
  color: #0f5132;
  background: linear-gradient(180deg, #d8f3e4 0%, #c5edd6 100%);
  border: 2px solid #198754;
  border-radius: 0.4rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 1px 2px rgba(25, 135, 84, 0.22);
}
.league-match-score-wrap button.public-match-preview-trigger.league-team-score--filled {
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 1.08rem;
  appearance: none;
  -webkit-appearance: none;
}
.league-match-score-wrap .league-team-score--incomplete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.1rem;
  padding: 0.2rem 0.55rem 0.22rem;
  line-height: 1.15;
  color: #842029;
  background: linear-gradient(180deg, #f8d7da 0%, #f1c2c8 100%);
  border: 2px solid #dc3545;
  border-radius: 0.4rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(220, 53, 69, 0.22);
}
.league-match-score-wrap .league-team-balls {
  font-size: 0.9rem;
  margin-left: 0.35rem;
}
@media (max-width: 767px) {
  .league-match-teams-main {
    font-size: 0.95rem;
  }
  .league-match-seed {
    width: 100%;
    margin-left: 2.2rem;
  }
}

/* Liga – INFO tlačítko (odstín podle .league-page--*) */
.league-info-btn {
  color: var(--league-accent-contrast);
  background: linear-gradient(160deg, var(--league-accent-hover) 0%, var(--league-accent) 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(var(--league-accent-rgb), 0.35);
}
.league-info-btn i {
  color: rgba(255, 255, 255, 0.92);
}
.league-info-btn:hover,
.league-info-btn:focus {
  color: var(--league-accent-contrast);
  background: var(--league-accent-hover);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 4px 14px rgba(var(--league-accent-rgb), 0.45);
}
.league-info-btn:focus-visible {
  box-shadow:
    0 0 0 0.2rem rgba(var(--league-accent-rgb), 0.35),
    0 4px 14px rgba(var(--league-accent-rgb), 0.45);
}

/* Stránka Propozice (obsah z Word/LibreOffice) */
.propozice-page .propozice-card {
  overflow: hidden;
  border: 1px solid rgba(30, 58, 95, 0.12) !important;
}
.propozice-page .propozice-card-header {
  background: linear-gradient(135deg, #1a2f4a 0%, #2d5a87 48%, #1e4d66 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.propozice-page .card-body {
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f6f9 100%);
}

.propozice-doc {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #1e293b;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.propozice-doc font,
.propozice-doc span[style] {
  font-size: inherit !important;
  font-family: inherit !important;
  background: transparent !important;
}

.propozice-doc p {
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
  margin: 0 0 0.85rem !important;
  margin-left: 0 !important;
  text-indent: 0 !important;
  text-align: justify;
}

/* Titulek dokumentu (obal z PropozicePresenter::cleanupExportedHtml) */
.propozice-doc-title {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid #cbd5e1;
}
.propozice-doc-title h2:first-of-type {
  margin: 0 0 0.25rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
}
.propozice-doc-title h2:last-of-type {
  margin: 0.35rem 0 0.5rem !important;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #0f172a !important;
  letter-spacing: 0.02em !important;
}
.propozice-doc-title p {
  margin: 0.4rem 0 0 !important;
  font-size: 0.9375rem !important;
  line-height: 1.45 !important;
  color: #475569 !important;
  text-align: center !important;
  border: none !important;
  padding: 0 !important;
}
.propozice-doc-title > h2:first-of-type + p {
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  color: #64748b !important;
}
.propozice-doc-title p strong,
.propozice-doc-title p b {
  font-weight: 700 !important;
  color: #1e3a5f !important;
}

/* Kapitoly I., II., … */
.propozice-doc h1,
.propozice-doc h1.western {
  clear: both;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin: 2.25rem 0 1rem !important;
  margin-left: 0 !important;
  text-indent: 0 !important;
  padding: 0.65rem 1rem 0.65rem 1rem !important;
  text-align: left !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  color: #0f172a !important;
  background: linear-gradient(90deg, rgba(45, 90, 135, 0.12) 0%, rgba(45, 90, 135, 0.03) 100%);
  border-left: 4px solid #2d5a87;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0 0.25rem 0.25rem 0;
}
.propozice-doc h1:first-of-type {
  margin-top: 0 !important;
}

.propozice-doc h2:not(:nth-of-type(-n + 3)) {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin: 1.5rem 0 0.65rem !important;
  text-align: left !important;
  letter-spacing: normal !important;
  line-height: 1.45 !important;
  color: #334155 !important;
}

.propozice-doc ul,
.propozice-doc ol {
  margin: 0 0 1.15rem;
  padding-left: 1.5rem;
}
.propozice-doc ol {
  list-style-position: outside;
  padding-left: 1.75rem;
}
.propozice-doc ol > li::marker {
  font-weight: 600;
  color: #475569;
}
.propozice-doc li {
  margin-bottom: 0.35rem;
  padding-left: 0.15rem;
}
.propozice-doc li p {
  margin: 0 0 0.4rem !important;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

/*
 * Blok „Soutěžní kategorie“ (A–D + poznámka o alternaci): jediný ol>ul
 * s pěti položkami v dokumentu – :has zabrání stylům u jiných ol>ul seznamů.
 */
.propozice-doc ol > ul:has(> li:nth-child(5)) {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0.65rem 0 1rem !important;
}
.propozice-doc ol > ul:has(> li:nth-child(5)) > li {
  margin-bottom: 0.65rem;
  padding: 0;
}
.propozice-doc ol > ul:has(> li:nth-child(5)) > li > p {
  margin: 0 !important;
  padding: 0.85rem 1rem !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.5rem !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  border-left: 4px solid #2d5a87 !important;
  text-align: left !important;
}
.propozice-doc ol > ul:has(> li:nth-child(5)) > li:last-child > p {
  border-left-color: #b45309 !important;
  background: linear-gradient(90deg, #fffbeb 0%, #fff 40%) !important;
}

.propozice-doc ul ul {
  list-style-type: disc;
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}
.propozice-doc > ul > li > p,
.propozice-doc ol > li > p {
  text-align: justify !important;
}

.propozice-doc b,
.propozice-doc strong {
  font-weight: 600;
  color: #0f172a;
}
.propozice-doc u {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.propozice-doc a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.propozice-doc a:hover {
  color: #1e40af;
}

.propozice-download-btn {
  background-color: #198754;
  border-color: #198754;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}
.propozice-download-btn:hover,
.propozice-download-btn:focus {
  background-color: #157347;
  border-color: #146c43;
  color: #fff !important;
  text-decoration: none !important;
}

/* Veřejný frontend před přihlášením */
.public-front-page {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.public-front-header-top {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  gap: 0.9rem;
  align-items: center;
}
.public-front-logo {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}
.public-front-year {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.15;
}
.public-front-title {
  font-size: clamp(1.05rem, 2.3vw, 1.45rem);
  line-height: 1.2;
  font-weight: 800;
}
.public-category-card .card-header {
  color: #fff;
}
.public-category-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 0.5rem;
}
.public-category-link:hover .public-category-card,
.public-category-link:focus-visible .public-category-card {
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.14) !important;
  transform: translateY(-1px);
}
.public-category-link:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.55);
  outline-offset: 2px;
}
.public-category-card {
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.public-category-card--men .card-header {
  background-color: #1565c0;
}
.public-category-card--women .card-header {
  background-color: #ad1457;
}
.public-category-card--mix2 .card-header {
  background-color: #00897b;
}
.public-category-card--mix3 .card-header {
  background-color: #6a1b9a;
}
.public-front-table {
  font-size: 0.86rem;
}
.public-block-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  margin-bottom: 0.35rem;
}

/* Veřejná liga: nápověda + vizuální signál klikatelnosti výsledků */
.public-match-preview-hint {
  color: #334155;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.public-match-preview-trigger {
  cursor: pointer;
}
.public-match-preview-trigger--matrix {
  font-weight: 600;
  text-decoration: underline dotted;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(37, 99, 235, 0.45);
  color: inherit;
}
.public-match-preview-trigger--matrix:hover,
.public-match-preview-trigger--matrix:focus-visible {
  color: #1d4ed8;
  text-decoration-color: #2563eb;
}
.public-match-preview-trigger--matrix:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
  border-radius: 0.15rem;
}
.public-match-preview-trigger--mobile {
  text-decoration: underline dotted;
  text-underline-offset: 0.15em;
  text-decoration-color: rgba(37, 99, 235, 0.4);
  color: inherit;
}
.public-match-preview-trigger--mobile:hover,
.public-match-preview-trigger--mobile:focus-visible {
  color: #1d4ed8;
  text-decoration-color: #2563eb;
}
.public-match-preview-trigger--mobile:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
  border-radius: 0.15rem;
}
.league-match-score-wrap .public-match-preview-trigger--pill .public-match-preview-trigger-icon {
  font-size: 0.72em;
  opacity: 0.72;
  flex-shrink: 0;
}
.league-match-score-wrap .public-match-preview-trigger--pill:hover .public-match-preview-trigger-icon,
.league-match-score-wrap .public-match-preview-trigger--pill:focus-visible .public-match-preview-trigger-icon {
  opacity: 1;
}
.league-match-score-wrap .public-match-preview-trigger--pill:focus-visible {
  outline: 2px solid rgba(25, 135, 84, 0.55);
  outline-offset: 2px;
}

/* Náhled zápasu (veřejná liga): na mobilu úzké okno, na větších obrazovkách širší kvůli tabulce */
#publicMatchPreviewModal .modal-dialog {
  max-width: min(94vw, 22.5rem);
}
@media (min-width: 768px) {
  #publicMatchPreviewModal .modal-dialog {
    max-width: min(92vw, 42rem);
  }
}

.public-category-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  color: #0d6efd;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Admin - Nastavení časů kol */
.round-times-category {
  border: 2px solid #dee2e6;
  border-radius: 0.6rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  background: #fff;
}
.round-times-day-row + .round-times-day-row {
  margin-top: 0.5rem;
}
.round-times-day-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  margin-bottom: 0.25rem;
}
.round-times-day-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.65rem;
}
.round-times-field .form-label {
  font-size: 0.78rem;
  line-height: 1.2;
}
.round-times-category--men {
  border-color: rgba(21, 101, 192, 0.55) !important;
  background: linear-gradient(180deg, rgba(21, 101, 192, 0.08) 0%, #fff 35%);
}
.round-times-category--men .h6 {
  color: #1565c0;
}
.round-times-category--women {
  border-color: rgba(173, 20, 87, 0.5) !important;
  background: linear-gradient(180deg, rgba(173, 20, 87, 0.08) 0%, #fff 35%);
}
.round-times-category--women .h6 {
  color: #ad1457;
}
.round-times-category--mix2 {
  border-color: rgba(0, 137, 123, 0.55) !important;
  background: linear-gradient(180deg, rgba(0, 137, 123, 0.09) 0%, #fff 35%);
}
.round-times-category--mix2 .h6 {
  color: #00897b;
}
.round-times-category--mix3 {
  border-color: rgba(106, 27, 154, 0.5) !important;
  background: linear-gradient(180deg, rgba(106, 27, 154, 0.08) 0%, #fff 35%);
}
.round-times-category--mix3 .h6 {
  color: #6a1b9a;
}
@media (min-width: 992px) {
  .round-times-day-fields {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .public-front-header-top {
    grid-template-columns: 76px 1fr 76px;
    gap: 0.5rem;
  }
  .public-front-logo {
    max-height: 76px;
  }
  .public-front-year {
    font-size: 1rem;
  }
  .public-front-title {
    font-size: 0.95rem;
  }
  .public-front-table {
    font-size: 0.8rem;
  }
}

/* Patička stránky – tmavě šedá (přihlášení i admin) */
footer.bg-dark.text-white {
  background-color: #363636 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Liga - tisková hlavička sumační stránky */
.league-summary-print-header {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 0.75rem;
}
.league-summary-print-logo {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
}
.league-summary-print-title {
  text-align: center;
  line-height: 1.2;
}
.league-summary-print-title-top {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.league-summary-print-title-main {
  font-size: 1.8rem;
  font-weight: 700;
}
.league-schedule-print-page .card {
  border: 1px solid #adb5bd;
}
.league-schedule-print-page .league-summary-print-header {
  grid-template-columns: 96px 1fr 96px;
  gap: 1rem;
}
.league-schedule-print-page .league-summary-print-logo {
  max-height: 96px;
}
.league-schedule-print-category-title {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.95rem;
}
.league-schedule-print-overview .card {
  break-inside: avoid;
  page-break-inside: avoid;
}
@media (max-width: 767px) {
  .league-summary-print-header {
    grid-template-columns: 56px 1fr 56px;
    gap: 0.5rem;
  }
  .league-summary-print-logo {
    max-height: 56px;
  }
  .league-summary-print-title-top {
    font-size: 1.15rem;
  }
  .league-summary-print-title-main {
    font-size: 1rem;
  }
}

/* Liga - tisk sumační stránky (A4 na výšku, kompaktní tabulky) */
@media print {
  @page {
    size: A4 portrait;
    margin: 6mm 5mm;
  }

  body * {
    visibility: hidden !important;
  }
  #league-summary-pane,
  #league-summary-pane * {
    visibility: visible !important;
  }
  #league-summary-pane {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    background: #fff;
    padding: 0.25rem 0.35rem;
    color: #000;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #league-summary-pane.tab-pane {
    display: block !important;
    opacity: 1 !important;
  }
  #league-summary-pane .card {
    break-inside: auto;
    page-break-inside: auto;
    border: 1px solid #adb5bd !important;
    margin-bottom: 0.35rem !important;
  }
  #league-summary-pane .card-header {
    padding: 0.2rem 0.35rem !important;
    break-after: avoid;
    font-size: 0.72rem;
  }
  #league-summary-pane .card-body {
    padding: 0.25rem !important;
  }
  #league-summary-pane .table-responsive {
    overflow: visible !important;
    max-width: 100% !important;
  }
  #league-summary-pane .table {
    font-size: 0.62rem;
    margin-bottom: 0 !important;
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse !important;
  }
  #league-summary-pane .table th,
  #league-summary-pane .table td {
    padding: 0.1rem 0.15rem !important;
    vertical-align: middle !important;
    line-height: 1.15;
    word-break: break-word;
    hyphens: auto;
  }
  /* Křížová tabulka – co nejúspornější, aby se vešla na šířku A4 na výšku */
  #league-summary-pane .league-cross-table {
    font-size: 5.5pt;
  }
  #league-summary-pane .league-cross-table .league-corner {
    width: 12%;
    min-width: 0;
    max-width: 20mm;
    font-size: 5pt;
    line-height: 1.1;
  }
  #league-summary-pane .league-cross-table .league-matrix-head {
    min-width: 0;
    font-size: 5.5pt;
  }
  #league-summary-pane .league-cross-table .league-matrix-head span {
    font-size: inherit !important;
    font-weight: 600 !important;
    padding: 0 !important;
 }
  #league-summary-pane .league-cross-table tbody th[scope="row"] {
    width: 22%;
    min-width: 34mm;
    max-width: 42mm;
    font-size: 5.5pt;
    white-space: nowrap;
    text-align: left !important;
    line-height: 1.12;
    word-break: normal;
    hyphens: none;
    overflow: hidden;
  }
  #league-summary-pane .league-cross-table tbody th[scope="row"] .league-team-name {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #league-summary-pane .row-cols-lg-2 > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  #league-summary-pane .league-summary-print-header {
    display: grid !important;
    grid-template-columns: 22mm 1fr 22mm;
    gap: 3mm;
    align-items: center;
    margin: 0 0 0.25rem;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  #league-summary-pane .league-summary-print-logo {
    width: 100%;
    max-height: 22mm;
    object-fit: contain;
  }
  #league-summary-pane .league-summary-print-title {
    text-align: center;
    line-height: 1.2;
  }
  #league-summary-pane .league-summary-print-title-top {
    font-size: 13pt;
    font-weight: 700;
    margin-bottom: 1mm;
  }
  #league-summary-pane .league-summary-print-title-main {
    font-size: 11pt;
    font-weight: 700;
    text-wrap: balance;
  }
  .league-summary-no-print {
    display: none !important;
  }
}
