/* TennisFinalsPro • Harmonogram 2026: czytelny i KOMPAKTOWY
   Nadpisuje wyłącznie wygląd zakładki #schedule.
   Wgrać zamiast poprzedniego tournament-schedule-readable-2026.css.
   Zostawia mechanizmy edycji, przenoszenia i zapisywania meczów bez zmian. */
body[data-page="tournament-view"] #schedule {
  --sc-ink:#182e4e;--sc-muted:#71819b;--sc-line:#e3eaf5;--sc-purple:#6e43e6;
  font-size:13px!important;line-height:1.35!important;
}
/* Tytuł i pasek eksportu */
body[data-page="tournament-view"] #schedule .league-section-head--schedule-export {
  align-items:center!important;gap:10px!important;margin:8px 0 12px!important;
}
body[data-page="tournament-view"] #schedule .league-section-head--schedule-export h2 {
  font-size:22px!important;line-height:1.13!important;letter-spacing:-.025em!important;
}
body[data-page="tournament-view"] #schedule .league-section-head--schedule-export p {
  font-size:12px!important;line-height:1.35!important;margin:4px 0 0!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-export-btn {
  min-height:35px!important;padding:0 12px!important;border-radius:9px!important;
  font-size:12px!important;box-shadow:none!important;
}
/* Nagłówek publicznego harmonogramu */
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell {
  display:grid!important;gap:10px!important;min-width:0!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-head.tfp-public-schedule-head--pro {
  display:flex!important;align-items:center!important;gap:12px!important;
  padding:11px 14px!important;margin:0!important;border-radius:13px!important;
  border:1px solid var(--sc-line)!important;box-shadow:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-head__title {
  display:flex!important;align-items:center!important;gap:10px!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-head__icon {
  display:grid!important;place-items:center!important;width:38px!important;height:38px!important;
  min-width:38px!important;border-radius:11px!important;font-size:19px!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-head__eyebrow {
  font-size:9px!important;letter-spacing:.08em!important;margin:0 0 2px!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-head__title strong {
  font-size:18px!important;line-height:1.12!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-head__title p {
  font-size:11px!important;line-height:1.3!important;margin:3px 0 0!important;
}
/* Cztery małe liczniki – zamiast ogromnych plansz */
body[data-page="tournament-view"] #schedule .tfp-public-schedule-summary {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-summary__item {
  min-height:57px!important;padding:9px 12px!important;gap:10px!important;
  border-radius:12px!important;box-shadow:0 3px 10px rgba(20,44,80,.035)!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-summary__icon {
  display:grid!important;place-items:center!important;width:30px!important;height:30px!important;
  min-width:30px!important;border-radius:9px!important;font-size:15px!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-summary__item small {
  font-size:11px!important;line-height:1.1!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-summary__item strong {
  font-size:20px!important;line-height:1.1!important;margin-top:2px!important;
}
/* Karty kortów – 2 kolumny desktop, wiersz meczu w JEDNEJ linii */
body[data-page="tournament-view"] #schedule .tfp-public-schedule {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-court {
  min-width:0!important;border-radius:13px!important;box-shadow:0 5px 16px rgba(21,44,80,.05)!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-court__head {
  min-height:43px!important;padding:8px 11px!important;gap:8px!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-court__title-wrap {gap:8px!important;min-width:0!important;}
body[data-page="tournament-view"] #schedule .tfp-public-court__icon {
  width:26px!important;height:26px!important;min-width:26px!important;
  border-radius:8px!important;font-size:13px!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-court__head strong {
  font-size:16px!important;line-height:1.15!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-court__head span {
  min-height:25px!important;padding:0 9px!important;border-radius:99px!important;font-size:10px!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule .tfp-schedule-row {
  display:grid!important;grid-template-columns:53px 67px minmax(0,1fr) 61px 100px!important;
  grid-template-areas:'time phase players score actions'!important;
  align-items:center!important;gap:6px!important;min-width:0!important;
  min-height:61px!important;height:auto!important;padding:7px 8px!important;
  background:#fff!important;border-bottom:1px solid #e8edf5!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule .tfp-schedule-row:nth-of-type(even) {
  background:#fcfdff!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-row time {
  grid-area:time!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;height:auto!important;min-height:28px!important;padding:0 6px!important;
  font-size:11px!important;line-height:1!important;font-weight:900!important;border-radius:99px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-row__phase {
  grid-area:phase!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;height:auto!important;min-height:26px!important;padding:0 6px!important;
  font-size:9px!important;line-height:1!important;letter-spacing:0!important;border-radius:99px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-row__players {
  grid-area:players!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) 19px minmax(0,1fr)!important;
  gap:3px!important;align-items:center!important;min-width:0!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-row__player,
body[data-page="tournament-view"] #schedule .tfp-schedule-row__player .tfp-pair-stack,
body[data-page="tournament-view"] #schedule .tfp-schedule-row__player .tfp-pair-member,
body[data-page="tournament-view"] #schedule .tfp-schedule-row__player .tfp-schedule-player,
body[data-page="tournament-view"] #schedule .tfp-schedule-row__player .tfp-player-link {
  display:block!important;min-width:0!important;max-width:100%!important;
  font-size:11px!important;line-height:1.18!important;font-weight:800!important;letter-spacing:0!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere!important;word-break:normal!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-row__player--a,
body[data-page="tournament-view"] #schedule .tfp-schedule-row__player--a .tfp-pair-stack {
  text-align:right!important;align-items:flex-end!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-row__player--b,
body[data-page="tournament-view"] #schedule .tfp-schedule-row__player--b .tfp-pair-stack {
  text-align:left!important;align-items:flex-start!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-row__players em {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:19px!important;height:19px!important;padding:0!important;margin:0!important;
  border-radius:99px!important;background:#eef2f8!important;color:#6c7d99!important;
  font-size:8px!important;font-style:normal!important;line-height:1!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-row__players em::before {content:none!important;}
body[data-page="tournament-view"] #schedule .tfp-schedule-row__score {
  grid-area:score!important;justify-self:end!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;min-height:24px!important;max-width:100%!important;
  padding:0 6px!important;font-size:9px!important;line-height:1.15!important;white-space:nowrap!important;
  border-radius:99px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-row__actions {
  grid-area:actions!important;display:flex!important;justify-content:flex-end!important;
  align-items:center!important;flex-wrap:nowrap!important;gap:4px!important;
}
body[data-page="tournament-view"] #schedule .tfp-match-panel-link {
  min-height:28px!important;padding:0 7px!important;font-size:10px!important;line-height:1!important;
  font-weight:800!important;border-radius:8px!important;white-space:nowrap!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-court__empty {
  padding:12px!important;font-size:12px!important;
}
/* Edytor układu - nie zmienia funkcji drag/drop */
body[data-page="tournament-view"] #schedule details.tfp-schedule-studio {
  margin:0 0 12px!important;border-radius:12px!important;box-shadow:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__summary {
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;gap:9px!important;min-height:47px!important;
  padding:8px 12px!important;border-radius:11px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__summary-kicker {
  min-height:23px!important;padding:0 8px!important;font-size:9px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__summary strong {
  font-size:12px!important;line-height:1.2!important;white-space:normal!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__summary em {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:30px!important;padding:0 10px!important;border-radius:8px!important;
  font-size:10px!important;line-height:1.15!important;text-shadow:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__summary::after {display:none!important;}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__content {
  padding:10px!important;background:#f9fbff!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__head {
  gap:10px!important;margin-bottom:10px!important;align-items:center!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__head>div:first-child>span {
  font-size:9px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__head h3 {
  font-size:16px!important;line-height:1.15!important;margin:2px 0!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__head p {
  font-size:11px!important;line-height:1.35!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__actions {gap:5px!important;}
body[data-page="tournament-view"] #schedule .tfp-scheduler-link,
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__pdf,
body[data-page="tournament-view"] #schedule .tfp-schedule-studio__clear {
  min-height:31px!important;padding:0 10px!important;font-size:10px!important;border-radius:8px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-board-controls {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:end!important;gap:8px!important;padding:10px!important;margin-bottom:8px!important;
  border-radius:11px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-board-controls label,
body[data-page="tournament-view"] #schedule .tfp-schedule-board-controls label:nth-child(n) {
  display:grid!important;gap:3px!important;width:auto!important;min-width:0!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-board-controls label>span {
  font-size:10px!important;line-height:1.2!important;letter-spacing:0!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-board-controls input,
body[data-page="tournament-view"] #schedule .tfp-manual-court-starts input,
body[data-page="tournament-view"] #schedule .tfp-card-mobile-move select {
  min-height:34px!important;padding:4px 8px!important;border-radius:8px!important;
  font-size:12px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-board-controls .league-save-btn {
  grid-column:1/-1!important;width:100%!important;min-height:35px!important;
  margin:0!important;padding:0 12px!important;border-radius:8px!important;font-size:12px!important;
}
body[data-page="tournament-view"] #schedule .tfp-manual-court-starts {
  display:flex!important;flex-wrap:wrap!important;gap:6px!important;
  padding:8px!important;margin-bottom:9px!important;border-radius:10px!important;
}
body[data-page="tournament-view"] #schedule .tfp-manual-court-starts label {
  display:inline-flex!important;align-items:center!important;gap:5px!important;
  padding:3px 7px!important;border-radius:8px!important;
}
body[data-page="tournament-view"] #schedule .tfp-manual-court-starts label>span {
  font-size:10px!important;
}
body[data-page="tournament-view"] #schedule .tfp-manual-court-starts input[type="time"] {
  width:94px!important;min-width:0!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-board {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;gap:9px!important;
}
body[data-page="tournament-view"] #schedule .tfp-court-column {
  min-width:0!important;border-radius:11px!important;box-shadow:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-court-column__head {
  min-height:39px!important;padding:7px 10px!important;
}
body[data-page="tournament-view"] #schedule .tfp-court-column__head strong {
  font-size:14px!important;line-height:1.2!important;
}
body[data-page="tournament-view"] #schedule .tfp-court-column__head span {
  min-height:23px!important;padding:0 7px!important;font-size:10px!important;
}
body[data-page="tournament-view"] #schedule .tfp-court-dropzone {
  display:grid!important;gap:6px!important;min-height:46px!important;padding:6px!important;
}
body[data-page="tournament-view"] #schedule .tfp-court-dropzone:empty::before {
  min-height:46px!important;font-size:11px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-card {
  display:grid!important;
  grid-template-columns:11px 58px minmax(0,1fr) 82px!important;
  grid-template-areas:'drag top players meta' 'drag move move meta'!important;
  align-items:center!important;gap:3px 6px!important;
  min-height:74px!important;height:auto!important;padding:7px!important;
  border-radius:9px!important;box-shadow:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-card__drag {
  font-size:13px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-card__top {gap:3px!important;}
body[data-page="tournament-view"] #schedule .tfp-schedule-card__time {
  min-height:25px!important;padding:0 5px!important;font-size:11px!important;border-radius:7px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-card__top em {
  font-size:9px!important;line-height:1.15!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-card__players {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:1px!important;min-width:0!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-card__players b,
body[data-page="tournament-view"] #schedule .tfp-schedule-card__players strong,
body[data-page="tournament-view"] #schedule .tfp-schedule-card__player,
body[data-page="tournament-view"] #schedule .tfp-schedule-card__player .tfp-player-link {
  font-size:11px!important;line-height:1.18!important;letter-spacing:0!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-card__players>span {
  font-size:9px!important;line-height:1!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-card__meta {
  display:grid!important;grid-template-columns:repeat(3,25px)!important;
  gap:3px!important;align-items:center!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-card__meta .league-badge {
  grid-column:1/-1!important;justify-self:center!important;
  min-height:19px!important;padding:0 5px!important;font-size:9px!important;
}
body[data-page="tournament-view"] #schedule .tfp-schedule-card__meta button {
  width:25px!important;height:25px!important;min-width:25px!important;
  font-size:12px!important;border-radius:7px!important;
}
body[data-page="tournament-view"] #schedule .tfp-card-mobile-move {
  display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;
}
body[data-page="tournament-view"] #schedule .tfp-card-mobile-move>span {
  font-size:9px!important;
}
body[data-page="tournament-view"] #schedule .tfp-card-mobile-move select {
  width:auto!important;max-width:135px!important;min-height:27px!important;
  padding:2px 22px 2px 7px!important;font-size:11px!important;
}
/* Tablet: duża karta kortu dostaje całą szerokość */
@media(max-width:1050px) {
  body[data-page="tournament-view"] #schedule .tfp-public-schedule,
  body[data-page="tournament-view"] #schedule .tfp-schedule-board {
    grid-template-columns:1fr!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule .tfp-schedule-row {
    grid-template-columns:58px 78px minmax(0,1fr) 65px 104px!important;
    min-height:55px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__player,
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__player .tfp-pair-member,
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__player .tfp-player-link {
    font-size:12px!important;
  }
}
/* Telefon: jeden kort pod drugim, minimalne odstępy, ale wygodne akcje */
@media(max-width:700px) {
  body[data-page="tournament-view"] #schedule .league-section-head--schedule-export {
    align-items:center!important;gap:7px!important;margin-bottom:9px!important;
  }
  body[data-page="tournament-view"] #schedule .league-section-head--schedule-export h2 {font-size:20px!important;}
  body[data-page="tournament-view"] #schedule .league-section-head--schedule-export p {font-size:11px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-export-btn {
    min-height:32px!important;padding:0 9px!important;font-size:10px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell {gap:8px!important;}
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-head.tfp-public-schedule-head--pro {
    padding:9px 10px!important;border-radius:11px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-head__title {gap:8px!important;}
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-head__icon {
    width:32px!important;height:32px!important;min-width:32px!important;font-size:16px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-head__title strong {font-size:16px!important;}
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-head__title p {font-size:10px!important;}
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-summary {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-summary__item {
    min-height:48px!important;padding:7px 9px!important;gap:7px!important;border-radius:10px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-summary__icon {
    width:27px!important;height:27px!important;min-width:27px!important;font-size:13px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-summary__item small {font-size:10px!important;}
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-summary__item strong {font-size:17px!important;}
  body[data-page="tournament-view"] #schedule .tfp-public-court__head {
    min-height:37px!important;padding:6px 9px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-public-court__head strong {font-size:14px!important;}
  body[data-page="tournament-view"] #schedule .tfp-public-court__head span {font-size:9px!important;min-height:22px!important;}
  body[data-page="tournament-view"] #schedule .tfp-public-schedule .tfp-schedule-row {
    grid-template-columns:55px 65px minmax(0,1fr) auto!important;
    grid-template-areas:'time phase score actions' 'players players players players'!important;
    gap:5px 7px!important;min-height:0!important;padding:7px 9px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-schedule-row time {font-size:11px!important;min-height:26px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__phase {font-size:9px!important;min-height:24px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__score {font-size:9px!important;min-height:23px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__actions {gap:4px!important;justify-self:end!important;}
  body[data-page="tournament-view"] #schedule .tfp-match-panel-link {
    min-height:26px!important;padding:0 7px!important;font-size:10px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__players {
    display:grid!important;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)!important;gap:5px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__player,
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__player .tfp-pair-stack,
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__player .tfp-pair-member,
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__player .tfp-player-link {
    font-size:11px!important;line-height:1.19!important;
  }
  /* Edytor: małe kontrolki i wąskie karty; jeden kort na szerokość. */
  body[data-page="tournament-view"] #schedule .tfp-schedule-studio__summary {
    display:grid!important;grid-template-columns:auto 1fr!important;
    gap:5px 8px!important;padding:9px!important;min-height:0!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-schedule-studio__summary strong {
    font-size:11px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-schedule-studio__summary em {
    grid-column:1/-1!important;justify-self:start!important;min-height:26px!important;
    padding:0 8px!important;font-size:10px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-schedule-studio__content {padding:8px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-studio__head {gap:6px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-studio__head h3 {font-size:15px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-studio__head p {font-size:11px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-studio__actions {gap:4px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-board-controls {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:8px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-schedule-board-controls input {min-height:33px!important;font-size:12px!important;}
  body[data-page="tournament-view"] #schedule .tfp-manual-court-starts {gap:5px!important;padding:7px!important;}
  body[data-page="tournament-view"] #schedule .tfp-manual-court-starts input[type="time"] {width:90px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-card {
    grid-template-columns:11px 55px minmax(0,1fr) 78px!important;
    grid-template-areas:'drag top players meta' 'drag move move meta'!important;
    gap:3px 5px!important;padding:6px!important;min-height:70px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-schedule-card__players b {
    font-size:10.5px!important;line-height:1.15!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-card-mobile-move select {
    max-width:120px!important;min-height:26px!important;font-size:10px!important;
  }
}
@media(max-width:390px) {
  body[data-page="tournament-view"] #schedule .tfp-public-schedule .tfp-schedule-row {
    grid-template-columns:50px 60px minmax(0,1fr) auto!important;padding:6px!important;gap:4px!important;
  }
  body[data-page="tournament-view"] #schedule .tfp-match-panel-link {padding:0 5px!important;font-size:9px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-row__score {font-size:8.5px!important;padding:0 5px!important;}
  body[data-page="tournament-view"] #schedule .tfp-schedule-card {
    grid-template-columns:10px 50px minmax(0,1fr) 75px!important;
  }
}

/* Public schedule, 2026-10-22. body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell is expanded to a strict page/section prefix. */
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell {
  --sb-ink:#142c3e; --sb-muted:#69778a; --sb-line:#e2e4ed; --sb-violet:#7435df;
  display:grid!important; gap:16px!important; min-width:0!important; color:var(--sb-ink)!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-head.tfp-public-schedule-head--pro {
  display:block!important; padding:2px 2px 0!important; margin:0!important; min-height:0!important;
  border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-head__title { display:block!important; padding:0!important; min-width:0!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-head__icon,
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-head__eyebrow { display:none!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-head__title strong {
  display:block!important; color:var(--sb-ink)!important; font-size:26px!important; line-height:1.2!important;
  letter-spacing:-.035em!important; font-weight:750!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-head__title p {
  margin:7px 0 0!important; color:var(--sb-muted)!important; font-size:13px!important;
  line-height:1.55!important; font-weight:400!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary {
  display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:0!important;
  padding:12px 0!important; border:1px solid var(--sb-line)!important; border-radius:16px!important;
  background:#fff!important; box-shadow:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item {
  display:flex!important; align-items:center!important; justify-content:center!important; min-width:0!important;
  gap:10px!important; min-height:40px!important; padding:0 14px!important; margin:0!important;
  border:0!important; border-right:1px solid var(--sb-line)!important; border-radius:0!important;
  background:transparent!important; box-shadow:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item--green { border-right:0!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item--purple { display:none!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__icon {
  display:grid!important; place-items:center!important; flex:0 0 30px!important; width:30px!important;
  min-width:30px!important; height:30px!important; border-radius:10px!important;
  font-size:17px!important; color:var(--sb-violet)!important; background:#f1eafa!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item--blue .tfp-public-schedule-summary__icon { color:#4167a0!important; background:#edf3fb!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item--green .tfp-public-schedule-summary__icon { color:#16735b!important; background:#e9f7f1!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item > div { display:flex!important; flex-direction:column!important; min-width:0!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item strong {
  order:-1!important; display:block!important; margin:0 0 2px!important; color:var(--sb-ink)!important;
  font-size:22px!important; line-height:1.15!important; font-weight:700!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item small { color:var(--sb-muted)!important; font-size:11px!important; line-height:1.4!important; font-weight:450!important; }

body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-court-picker { display:flex!important; align-items:center!important; gap:8px!important; min-width:0!important; max-width:100%!important; overflow-x:auto!important; padding:3px 2px 5px!important; scrollbar-width:thin; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-court-choice {
  display:inline-flex!important; align-items:center!important; justify-content:center!important; flex:0 0 auto!important;
  min-width:62px!important; min-height:44px!important; padding:10px 14px!important; margin:0!important;
  border:1px solid #dddfea!important; border-radius:12px!important; box-shadow:none!important;
  background:#fff!important; color:#263b50!important; font-family:inherit!important; font-size:13px!important;
  line-height:1.35!important; font-weight:600!important; white-space:nowrap!important; cursor:pointer!important;
  transform:none!important; text-shadow:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-court-choice:hover { border-color:#b99ae0!important; background:#f5f0fc!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-court-choice.is-selected { border-color:var(--sb-violet)!important; background:var(--sb-violet)!important; color:#fff!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule {
  display:grid!important; grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))!important;
  align-items:start!important; gap:24px!important; min-width:0!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule.tfp-public-schedule--single { grid-template-columns:minmax(0,1fr)!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule .tfp-public-court {
  display:grid!important; grid-template-columns:minmax(0,1fr)!important; align-content:start!important;
  gap:12px!important; min-width:0!important; padding:0!important; margin:0!important; border:0!important;
  border-radius:0!important; background:transparent!important; box-shadow:none!important; overflow:visible!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule--single .tfp-public-court { grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule .tfp-public-court[hidden] { display:none!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-court__head {
  grid-column:1/-1!important; display:flex!important; align-items:center!important; justify-content:space-between!important;
  min-width:0!important; min-height:30px!important; gap:12px!important; padding:0 2px 2px!important;
  border:0!important; border-radius:0!important; background:transparent!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-court__title-wrap { display:block!important; min-width:0!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-court__icon { display:none!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-court__head strong { color:var(--sb-ink)!important; font-size:19px!important; line-height:1.35!important; font-weight:700!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-court__head > span {
  display:inline!important; min-width:0!important; min-height:0!important; height:auto!important; padding:0!important;
  border:0!important; border-radius:0!important; background:transparent!important; color:var(--sb-muted)!important;
  font-size:12px!important; line-height:1.5!important; font-weight:450!important; white-space:nowrap!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule .tfp-schedule-row {
  display:grid!important; grid-template-columns:max-content minmax(0,1fr) max-content!important;
  grid-template-areas:'time phase score' 'players players players' 'actions actions actions'!important;
  align-items:center!important; gap:12px 10px!important; width:100%!important; min-width:0!important;
  min-height:0!important; height:auto!important; padding:16px!important; margin:0!important;
  border:1px solid var(--sb-line)!important; border-radius:18px!important; background:#fff!important;
  box-shadow:0 4px 14px #192d4604!important; overflow:visible!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule .tfp-schedule-row:nth-of-type(even) { background:#fff!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule .tfp-schedule-row time {
  grid-area:time!important; display:inline-flex!important; align-items:center!important; justify-content:flex-start!important;
  min-height:30px!important; min-width:0!important; padding:0 12px 0 0!important; margin:0!important;
  border:0!important; border-right:1px solid #e1dfeb!important; border-radius:0!important;
  background:transparent!important; color:var(--sb-violet)!important; font-size:21px!important;
  line-height:1.2!important; font-weight:750!important; letter-spacing:-.025em!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__phase {
  grid-area:phase!important; justify-self:start!important; display:inline-flex!important; align-items:center!important;
  min-width:0!important; min-height:26px!important; max-width:100%!important; margin:0!important; padding:4px 9px!important;
  border:0!important; border-radius:999px!important; color:#6b3aa9!important; background:#f1ebfc!important;
  font-size:11px!important; line-height:1.4!important; font-weight:600!important;
  white-space:normal!important; text-transform:none!important; overflow-wrap:anywhere!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__score {
  grid-area:score!important; justify-self:end!important; display:inline-flex!important; align-items:center!important;
  justify-content:flex-end!important; gap:6px!important; min-width:0!important; min-height:26px!important;
  max-width:120px!important; padding:0!important; margin:0!important; border:0!important; border-radius:8px!important;
  background:transparent!important; color:var(--sb-muted)!important; font-size:11px!important; line-height:1.45!important;
  font-weight:450!important; text-align:right!important; white-space:normal!important; overflow-wrap:anywhere!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row.is-pending .tfp-schedule-row__score::before { content:''; width:7px; height:7px; flex:0 0 7px; border-radius:50%; background:#e7a32b; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row.is-played .tfp-schedule-row__score { padding:4px 7px!important; background:#edf8f2!important; color:#176c50!important; font-weight:600!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__players {
  grid-area:players!important; display:grid!important; grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)!important;
  align-items:center!important; justify-items:stretch!important; gap:8px!important; min-width:0!important;
  width:100%!important; margin:0!important; padding:4px 0!important; text-align:center!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__player,
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__player :is(.tfp-pair-stack,.tfp-pair-member,.tfp-player-link,.tfp-schedule-player,strong,a) {
  min-width:0!important; max-width:100%!important; margin:0!important; padding:0!important;
  color:var(--sb-ink)!important; font-size:14px!important; line-height:1.45!important; font-weight:600!important;
  letter-spacing:0!important; text-align:center!important; white-space:normal!important; overflow:visible!important;
  text-overflow:clip!important; word-break:normal!important; overflow-wrap:anywhere!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__player { display:block!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__player .tfp-pair-stack { display:grid!important; gap:2px!important; align-items:center!important; justify-items:center!important; width:100%!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__player .tfp-pair-member { display:block!important; width:100%!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__player a { text-decoration:none!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__player a:hover { color:#6530be!important; text-decoration:underline!important; text-underline-offset:3px; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__players em {
  display:grid!important; place-items:center!important; justify-self:center!important; width:22px!important; height:22px!important;
  min-width:0!important; margin:0!important; padding:0!important; border:0!important; border-radius:50%!important;
  background:#f1f2f7!important; color:#748099!important; font-size:9px!important; line-height:1!important;
  font-style:normal!important; font-weight:500!important; text-transform:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__players em::before,
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__players em::after { content:none!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__actions {
  grid-area:actions!important; display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important; justify-self:stretch!important; justify-content:stretch!important;
  width:100%!important; min-width:0!important; gap:8px!important; padding:0!important; margin:0!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-match-panel-link {
  display:flex!important; align-items:center!important; justify-content:center!important; gap:7px!important;
  width:100%!important; min-width:0!important; min-height:44px!important; margin:0!important; padding:9px 10px!important;
  border:1px solid transparent!important; border-radius:12px!important; box-shadow:none!important;
  font-family:inherit!important; font-size:13px!important; line-height:1.4!important; font-weight:600!important;
  text-decoration:none!important; text-shadow:none!important; white-space:normal!important; transform:none!important;
}
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-match-panel-link--referee { border-color:var(--sb-violet)!important; background:var(--sb-violet)!important; color:#fff!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-match-panel-link--referee:hover { border-color:#6230b8!important; background:#6230b8!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-match-panel-link--coach { border-color:#bfe3d5!important; background:#e3f5ec!important; color:#14664f!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-match-panel-link--coach:hover { background:#d5efdf!important; border-color:#99cbb7!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-action-icon { display:block!important; flex:0 0 18px!important; width:18px!important; height:18px!important; fill:none!important; stroke:currentColor!important; stroke-width:1.8!important; stroke-linecap:round; stroke-linejoin:round; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell :is(.tfp-schedule-court-choice,.tfp-match-panel-link,.tfp-schedule-row__player a):focus-visible { outline:3px solid #b68ae6!important; outline-offset:3px!important; }
body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-court__empty { grid-column:1/-1!important; margin:0!important; padding:24px 16px!important; border:1px dashed #d9d3e5!important; border-radius:14px!important; background:#fbf9fd!important; color:var(--sb-muted)!important; font-size:13px!important; line-height:1.6!important; }
@media(max-width:700px) {
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell { gap:14px!important; }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-head__title strong { font-size:24px!important; }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item { gap:7px!important; padding:0 10px!important; }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item strong { font-size:21px!important; }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule .tfp-schedule-row { padding:14px 12px!important; gap:12px 8px!important; }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule .tfp-schedule-row time { font-size:20px!important; }
}
@media(max-width:500px) {
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__icon { display:none!important; }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule-summary__item > div { text-align:center!important; }
}
@media(max-width:360px) {
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-public-schedule .tfp-schedule-row { padding:12px 10px!important; gap:11px 6px!important; }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__players { grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr)!important; gap:5px!important; }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__players em { width:18px!important; height:18px!important; font-size:8px!important; }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-court-choice { padding-right:11px!important; padding-left:11px!important; }
  body[data-page="tournament-view"] #schedule .tfp-public-schedule-shell .tfp-schedule-row__score { max-width:96px!important; font-size:10px!important; }
}
