/* TennisFinalsPro — publiczny status meczu LIVE */
#matches .league-match-card.tfp-match-is-live,
#matches .league-match-card.tfp-match-is-live-finished {
	position: relative;
	border-color: rgba(13, 180, 159, 0.65) !important;
	background: linear-gradient(145deg, #ffffff 0%, #f0fffb 58%, #e7fbff 100%) !important;
	box-shadow:
		0 10px 26px rgba(13, 148, 136, 0.14),
		inset 0 3px 0 #15c9aa !important;
}
#matches .league-match-card.tfp-match-is-live-finished {
	border-color: rgba(245, 158, 11, 0.55) !important;
	background: linear-gradient(145deg, #fff 0%, #fffaf0 100%) !important;
	box-shadow:
		0 10px 26px rgba(245, 158, 11, 0.12),
		inset 0 3px 0 #f59e0b !important;
}
#matches .league-match-card[data-live='1'] .league-badge.pending {
	display: none !important;
}
.tfp-match-live-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 25px;
	padding: 0 9px;
	border-radius: 999px;
	color: #fff;
	background: linear-gradient(135deg, #059669, #0d9488 58%, #0891b2);
	box-shadow: 0 5px 14px rgba(13, 148, 136, 0.22);
	font-size: 9px;
	font-weight: 1000;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
.tfp-match-is-live-finished .tfp-match-live-badge {
	background: linear-gradient(135deg, #f59e0b, #f97316);
}
.tfp-match-live-dot,
.tfp-live-filter-dot,
.tfp-table-live-chip i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
	animation: tfpLivePulse 1.25s ease-in-out infinite;
	flex: 0 0 auto;
}
@keyframes tfpLivePulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.45;
		transform: scale(0.72);
	}
}
.tfp-live-scoreboard {
	margin: 9px 0 3px;
	padding: 8px;
	border: 1px solid rgba(13, 148, 136, 0.17);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 5px 16px rgba(15, 23, 42, 0.055);
}
.tfp-live-scoreboard__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 0 2px 6px;
}
.tfp-live-scoreboard__head span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #087f72;
	font-size: 9px;
	font-weight: 950;
}
.tfp-live-scoreboard__head span i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
.tfp-live-scoreboard__head b {
	color: #64748b;
	font-size: 8px;
	font-weight: 900;
}
.tfp-live-scoreboard__labels,
.tfp-live-scoreboard__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 42px 42px 48px;
	align-items: center;
	gap: 4px;
}
.tfp-live-scoreboard__labels {
	padding: 0 4px 3px;
	color: #94a3b8;
	font-size: 7px;
	font-weight: 950;
	text-align: center;
}
.tfp-live-scoreboard__row {
	min-height: 31px;
	padding: 3px 4px;
	border-top: 1px solid #edf4f4;
}
.tfp-live-scoreboard__row.is-serving {
	background: linear-gradient(90deg, rgba(190, 242, 100, 0.12), transparent);
}
.tfp-live-scoreboard__player {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 5px;
}
.tfp-live-scoreboard__player strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #0f172a;
	font-size: 9px;
	font-weight: 950;
}
.tfp-live-scoreboard__player em {
	font-style: normal;
	font-size: 15px;
	line-height: 1;
	filter: drop-shadow(0 2px 3px rgba(101, 163, 13, 0.18));
}
.tfp-live-scoreboard__row > b {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	border-radius: 7px;
	background: #f1f7f7;
	color: #0f3d48;
	font-size: 10px;
	font-weight: 1000;
}
.tfp-live-scoreboard__row > b:last-child {
	color: #047857;
	background: #ecfdf5;
}
.tfp-live-filter-tab {
	color: #047857 !important;
	border-color: #a7f3d0 !important;
	background: #ecfdf5 !important;
}
.tfp-live-filter-tab.active {
	color: #fff !important;
	background: linear-gradient(135deg, #10b981, #0891b2) !important;
}
.tfp-live-filter-dot {
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.13);
}
.tfp-live-filter-tab.active .tfp-live-filter-dot {
	background: #fff;
}
#table .tfp-table-player-live td {
	background: linear-gradient(90deg, rgba(16, 185, 129, 0.065), rgba(6, 182, 212, 0.035)) !important;
}
#table .tfp-table-player-live td:first-child {
	box-shadow: inset 3px 0 0 #10b981;
}
.tfp-table-live-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 4px;
	min-height: 20px;
	padding: 0 7px;
	border: 1px solid #a7f3d0;
	border-radius: 999px;
	color: #047857;
	background: #ecfdf5;
	font-size: 7.5px;
	font-weight: 900;
	white-space: nowrap;
}
.tfp-table-live-chip i {
	width: 6px;
	height: 6px;
	background: #10b981;
	box-shadow: none;
}
.tfp-table-live-chip b {
	font-weight: 1000;
}
.tfp-table-live-chip span {
	color: #0f766e;
}
@media (max-width: 768px) {
	.tfp-match-live-badge {
		min-height: 23px;
		padding: 0 8px;
		font-size: 8px;
	}
	.tfp-live-scoreboard {
		margin: 7px 0 2px;
		padding: 6px;
		border-radius: 10px;
	}
	.tfp-live-scoreboard__labels,
	.tfp-live-scoreboard__row {
		grid-template-columns: minmax(0, 1fr) 34px 34px 40px;
		gap: 3px;
	}
	.tfp-live-scoreboard__row {
		min-height: 29px;
	}
	.tfp-live-scoreboard__player strong {
		font-size: 8.5px;
	}
	.tfp-live-scoreboard__player em {
		font-size: 14px;
	}
	.tfp-live-scoreboard__row > b {
		min-height: 22px;
		font-size: 9px;
	}
	.tfp-table-live-chip {
		font-size: 7px;
		padding: 0 6px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tfp-match-live-dot,
	.tfp-live-filter-dot,
	.tfp-table-live-chip i {
		animation: none;
	}
}

/* LIVE — drabinka */
#bracket .tfp-bracket-pro-match.tfp-bracket-is-live .tfp-bracket-pro-card {
	border-color: rgba(16, 185, 129, 0.7) !important;
	background: linear-gradient(145deg, #fff 0%, #f0fdf9 62%, #e6fbff 100%) !important;
	box-shadow:
		0 10px 24px rgba(5, 150, 105, 0.16),
		inset 3px 0 0 #10b981 !important;
}
#bracket .tfp-bracket-pro-match.tfp-bracket-is-live-finished .tfp-bracket-pro-card {
	border-color: rgba(245, 158, 11, 0.6) !important;
	background: linear-gradient(145deg, #fff, #fffaf0) !important;
	box-shadow:
		0 10px 24px rgba(245, 158, 11, 0.13),
		inset 3px 0 0 #f59e0b !important;
}
.tfp-bracket-live-chip {
	display: inline-flex !important;
	align-items: center;
	gap: 5px;
	min-height: 20px;
	padding: 0 7px;
	border-radius: 999px;
	color: #fff !important;
	background: linear-gradient(135deg, #10b981, #0891b2) !important;
	font-size: 7.5px !important;
	font-weight: 1000 !important;
	letter-spacing: 0.04em;
	box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
	white-space: nowrap;
}
.tfp-bracket-live-chip i,
.tfp-schedule-live-chip i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	animation: tfpLivePulse 1.25s ease-in-out infinite;
}
.tfp-bracket-live-score {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 4px 6px 3px;
	padding: 5px 7px;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
	background: #ecfdf5;
	color: #047857;
}
.tfp-bracket-live-score strong {
	font-size: 7px;
	font-weight: 1000;
	letter-spacing: 0.05em;
}
.tfp-bracket-live-score span {
	font-size: 8px;
	font-weight: 1000;
	white-space: nowrap;
}
.tfp-bracket-pro-team.is-live-serving {
	background: linear-gradient(90deg, rgba(190, 242, 100, 0.16), transparent) !important;
}
.tfp-live-server-ball {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 4px;
	font-style: normal;
	font-size: 13px;
	line-height: 1;
	filter: drop-shadow(0 2px 3px rgba(101, 163, 13, 0.22));
}

/* LIVE — harmonogram */
#schedule .tfp-schedule-card.tfp-schedule-is-live {
	border-color: #6ee7b7 !important;
	background: linear-gradient(145deg, #fff, #f0fdf9) !important;
	box-shadow:
		0 7px 18px rgba(16, 185, 129, 0.12),
		inset 3px 0 0 #10b981 !important;
}
#schedule .tfp-schedule-card.tfp-schedule-is-live-finished {
	border-color: #fdba74 !important;
	background: linear-gradient(145deg, #fff, #fff7ed) !important;
	box-shadow:
		0 7px 18px rgba(245, 158, 11, 0.1),
		inset 3px 0 0 #f59e0b !important;
}
.tfp-schedule-live-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 21px;
	padding: 0 7px;
	border-radius: 999px;
	background: linear-gradient(135deg, #10b981, #0891b2);
	color: #fff;
	font-size: 7px;
	font-weight: 900;
	white-space: nowrap;
}
.tfp-schedule-live-chip span {
	font-weight: 1000;
}

@media (max-width: 768px) {
	.tfp-bracket-live-score {
		margin: 3px 4px;
		padding: 4px 6px;
	}
	.tfp-bracket-live-score strong {
		font-size: 6.5px;
	}
	.tfp-bracket-live-score span {
		font-size: 7.5px;
	}
	.tfp-schedule-live-chip {
		min-height: 19px;
		padding: 0 6px;
		font-size: 6.5px;
	}
}

/* =========================================================
   TFP FIX: DRABINKA — ostatni niebieski kwadrat = PUNKT LIVE
   3 pierwsze pola: sety. 4 pole: 0 / 15 / 30 / 40 / AD.
   Nie pokazujemy już osobnego zielonego paska z wynikiem LIVE.
   ========================================================= */
#bracket .tfp-bracket-live-score {
	display: none !important;
}

body[data-page="tournament-view"] #bracket .tfp-bracket-pro-team__sets strong.tfp-bracket-pro-live-point,
body[data-page="tournament-view"] #bracket .tfp-bracket-pro-team.is-winner .tfp-bracket-pro-team__sets strong.tfp-bracket-pro-live-point {
	background: #d8eaff !important;
	color: #075fb8 !important;
	font-size: 7.5px !important;
	letter-spacing: -.03em !important;
}

body[data-page="tournament-view"] #bracket .tfp-bracket-pro-team__sets strong.tfp-bracket-pro-live-point.is-live-point {
	background: #cfe7ff !important;
	color: #0057ad !important;
	box-shadow: inset 0 0 0 1px rgba(33, 133, 233, .24) !important;
}

body[data-page="tournament-view"] #bracket .tfp-bracket-pro-team__sets strong.tfp-bracket-pro-live-point.is-tiebreak-point {
	font-size: 7px !important;
}

/* Karta ma 124 px. Zmniejszamy tylko przycisk, żeby dół nie był ucięty. */
body[data-page="tournament-view"] #bracket .tfp-bracket-pro-edit {
	align-self: flex-end !important;
	width: auto !important;
	min-width: 70px !important;
	max-width: 92px !important;
	height: 18px !important;
	min-height: 18px !important;
	margin-top: auto !important;
	padding: 0 7px !important;
	border-radius: 6px !important;
	font-size: 7.5px !important;
	line-height: 1 !important;
	white-space: nowrap !important;
}

/* LIVE pozostaje tylko jako mały status w nagłówku karty. */
#bracket .tfp-bracket-live-chip {
	min-height: 17px !important;
	height: 17px !important;
	padding: 0 6px !important;
	font-size: 6.8px !important;
}


/* =========================================================
   TFP LIVE SCORE — układ jak w serwisach wynikowych:
   pola 1-3 = gemy w setach (aktualny set aktualizowany LIVE),
   ostatnie niebieskie pole = aktualny punkt 0/15/30/40/AD lub TB.
   ========================================================= */
body[data-page="tournament-view"] #bracket .tfp-bracket-pro-team__sets > b.is-live-current-set {
	background: #eef6ff !important;
	color: #073b78 !important;
	box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .26) !important;
	font-weight: 1000 !important;
}

/* Responsive connected bracket. Scope is enabled only by the view enhancement. */
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-panel-export-head {
  padding: 20px !important; margin-bottom: 14px !important; border: 1px solid #e5e0ef !important;
  border-radius: 16px !important; background: #fff !important; gap: 14px !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-panel-export-head strong { font-size: 22px !important; line-height: 1.3 !important; color: #0b2132 !important; font-weight: 750 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-panel-export-head span { margin-top: 5px !important; color: #677285 !important; font-size: 13px !important; line-height: 1.5 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-pdf-action { min-height: 44px !important; border: 1px solid #c3a5ee !important; background: #fff !important; color: #6630bb !important; border-radius: 11px !important; box-shadow: none !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-pdf-action::before { background: #f1eafa !important; color: #6630bb !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-tabs.tournament-round-tabs {
  display: flex !important; flex-wrap: nowrap !important; position: static !important;
  gap: 8px !important; margin: 0 0 14px !important; padding: 5px !important;
  border: 1px solid #e3ddeb !important; border-radius: 14px !important;
  background: #f8f6fc !important; overflow-x: auto !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-tabs .tournament-round-tab {
  flex: 0 0 auto !important; min-width: 112px !important; min-height: 48px !important;
  padding: 8px 14px !important; border: 1px solid #e4deed !important;
  border-radius: 10px !important; background: #fff !important; color: #314359 !important;
  box-shadow: none !important; transform: none !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-tabs .tournament-round-tab span { color: inherit !important; font-size: 13px !important; font-weight: 650 !important; line-height: 1.4 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-tabs .tournament-round-tab em { color: #697487 !important; font-size: 10px !important; font-weight: 500 !important; line-height: 1.5 !important; text-transform: none !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-tabs .tournament-round-tab.active { border-color: #7435df !important; background: #7435df !important; color: #fff !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-tabs .tournament-round-tab.active em { color: #f1e8ff !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro { border: 1px solid #e3ddeb !important; border-radius: 18px !important; background: #f8f7fc !important; box-shadow: none !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro::before { content: none !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro__scroll {
  display: block !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important;
  min-height: 0 !important; padding: 0 !important; overflow-x: auto !important; overflow-y: hidden !important;
  background: #f8f7fc !important; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  touch-action: pan-x pan-y; scroll-snap-type: none !important; scrollbar-width: thin !important;
  scrollbar-color: #b799ea #ece6f6 !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro__scroll::-webkit-scrollbar { height: 9px !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro__scroll::-webkit-scrollbar-track { background: #ece6f6 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro__scroll::-webkit-scrollbar-thumb { background: #b799ea !important; border-radius: 10px !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro__canvas { position: relative !important; display: block !important; margin: 0 !important; transform: none !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro__svg { position: absolute !important; inset: 0 !important; pointer-events: none !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro__svg path { fill: none !important; stroke: #aeb4be !important; stroke-width: 2px !important; opacity: 1 !important; filter: none !important; stroke-linecap: round; stroke-linejoin: round; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro__svg path.tfp-b26-route { stroke: #aeb4be !important; stroke-width: 2px !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-round { position: absolute; z-index: 2; min-width: 0; color: #0b2132; pointer-events: none; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-round strong { display: block !important; margin: 0 !important; color: #0b2132 !important; font-size: 19px !important; font-weight: 750 !important; line-height: 1.3 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-round small { display: block !important; margin-top: 3px !important; color: #697487 !important; font-size: 12px !important; line-height: 1.4 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-scroll-hint { display: block; margin: 0 !important; padding: 10px 14px !important; border-bottom: 1px solid #e8e2f0; color: #6c5b87 !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.5 !important; text-align: center; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-scroll-hint[hidden] { display: none !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-match {
  width: var(--b26-card-width) !important; min-width: 0 !important; min-height: 0 !important; height: auto !important;
  position: absolute !important; display: block !important; transform: none !important; filter: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-match:focus { outline: none; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-match:focus-visible > .tfp-bracket-pro-card { outline: 3px solid #b499e8 !important; outline-offset: 3px !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-card {
  display: flex !important; flex-direction: column !important; min-height: 164px !important; height: auto !important;
  gap: 8px !important; padding: 12px !important; border: 1px solid #e1dce9 !important;
  border-radius: 15px !important; background: #fff !important; color: #0b2132 !important;
  box-shadow: 0 3px 12px #25113d05 !important; backdrop-filter: none !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-card::before { content: none !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-selected > .tfp-bracket-pro-card { border-color: #8650e4 !important; box-shadow: 0 0 0 1px #8650e426, 0 6px 20px #7435df09 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-card__meta { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: space-between !important; gap: 6px !important; min-height: 18px !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-card__meta > span:not(.tfp-bracket-live-chip) { color: #1c2e47 !important; font-size: 12px !important; font-weight: 700 !important; line-height: 1.4 !important; text-transform: none !important; letter-spacing: 0 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-card__meta > strong { max-width: 65% !important; margin-left: auto; color: #65718a !important; font-size: 10px !important; font-weight: 550 !important; line-height: 1.5 !important; white-space: normal !important; overflow-wrap: anywhere; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; align-items: center !important; gap: 8px !important; min-height: 34px !important; padding: 5px 6px !important; border: 1px solid #eef0f5 !important; border-radius: 8px !important; background: #fff !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__names { display: flex !important; flex-direction: column !important; min-width: 0 !important; gap: 1px !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__names > span { display: block !important; color: #10283e !important; font-size: 15px !important; font-weight: 650 !important; line-height: 1.4 !important; white-space: normal !important; overflow: visible !important; overflow-wrap: anywhere !important; text-overflow: clip !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team.is-winner { border-color: #c5e9db !important; background: #effaf5 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team.is-winner .tfp-bracket-pro-team__names > span { color: #087451 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__sets { display: flex !important; align-items: center !important; gap: 3px !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__sets > b,
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__sets > strong { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: auto !important; min-width: 25px !important; height: 27px !important; padding: 0 4px !important; border-radius: 6px !important; background: #f2eff8 !important; color: #304159 !important; font-size: 12px !important; font-weight: 650 !important; line-height: 1 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__sets > b.is-live-current-set { background: #eee5fc !important; color: #53259a !important; box-shadow: inset 0 0 0 1px #c4aaed !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__sets > strong.is-live-point { background: #e3f8f1 !important; color: #067153 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__sets > .tfp-b26-empty-score { display: none !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__sets.tfp-b26-no-score::after { content: '—'; display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 27px; border-radius: 6px; background: #f5f3f9; color: #8a8694; font-size: 13px; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 2px; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-actions > a,
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-actions > .tfp-bracket-pro-edit { display: inline-flex !important; flex: 1 1 0 !important; align-items: center !important; justify-content: center !important; min-width: 0 !important; max-width: none !important; min-height: 36px !important; height: auto !important; margin: 0 !important; padding: 7px 8px !important; border: 1px solid #c8b0ed !important; border-radius: 8px !important; background: #fff !important; color: #6030b0 !important; font-size: 12px !important; font-weight: 650 !important; line-height: 1.4 !important; text-align: center !important; text-transform: none !important; white-space: normal !important; box-shadow: none !important; cursor: pointer; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-actions > .tfp-bracket-pro-edit { border-color: #7435df !important; background: #7435df !important; color: #fff !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-actions > a:hover { background: #f5effd !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-actions > .tfp-bracket-pro-edit:hover { background: #6229bf !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-final > .tfp-bracket-pro-card { border-color: #182e55 !important; background: #0d2342 !important; color: #fff !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-final .tfp-bracket-pro-card__meta > span:not(.tfp-bracket-live-chip) { display: inline-flex !important; align-items: center !important; gap: 8px !important; color: #fff !important; font-size: 16px !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-final .tfp-bracket-pro-card__meta > strong { color: #d7ddef !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-final .tfp-bracket-pro-team { border-color: #36506a !important; background: #142f4d !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-final .tfp-bracket-pro-team__names > span { color: #f7f9ff !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-final .tfp-bracket-pro-team__sets > b,
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-final .tfp-bracket-pro-team__sets > strong { background: #244664 !important; color: #f7f9ff !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-final .tfp-bracket-pro-team__sets.tfp-b26-no-score::after { background: #244664; color: #d2dceb; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-final .tfp-bracket-pro-team.is-winner { border-color: #3d816e !important; background: #123b3b !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-final .tfp-bracket-pro-team.is-winner .tfp-bracket-pro-team__names > span { color: #9defca !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-trophy { display: inline-flex; width: 21px; height: 21px; color: #e7c560 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-trophy svg { display: block; width: 21px; height: 21px; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-is-live .tfp-bracket-pro-card { border-color: #52bb9b !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-is-live .tfp-bracket-pro-card__meta > strong { display: none !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-live-chip { min-height: 20px !important; height: auto !important; padding: 3px 7px !important; font-size: 10px !important; font-weight: 650 !important; line-height: 1.3 !important; }
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 :is(a, button, label.tfp-bracket-pro-edit):focus-visible { outline: 3px solid #a17adf !important; outline-offset: 3px !important; }
@media (max-width: 700px) {
  body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-panel-export-head { padding: 14px !important; }
  body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-panel-export-head strong { font-size: 19px !important; }
  body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-panel-export-head span { font-size: 12px !important; }
  body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-tabs .tournament-round-tab { min-width: 94px !important; padding: 7px 10px !important; }
  body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-tabs .tournament-round-tab span { font-size: 12px !important; }
  body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-round strong { font-size: 17px !important; }
  body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__names > span { font-size: 14px !important; }
  body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-actions > a,
  body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-actions > .tfp-bracket-pro-edit { min-height: 44px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro__scroll { scroll-behavior: auto !important; }
}

/* Compact bracket cards: scores appear only beside the players. */
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-card {
  min-height: 0 !important;
  gap: 5px !important;
  padding: 8px !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-match .tfp-bracket-pro-card__meta {
  display: none !important;
  min-height: 0 !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-match .tfp-bracket-pro-card__meta > span:not(.tfp-bracket-live-chip),
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-match .tfp-bracket-pro-card__meta > strong {
  display: none !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-match.tfp-bracket-is-live .tfp-bracket-pro-card__meta {
  display: flex !important;
  min-height: 20px !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team {
  min-height: 32px !important;
  padding: 3px 6px !important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-b26-actions {
  gap: 6px;
  padding-top: 0;
}

/* Bracket names keep the same profile links as the table and schedule. */
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__names > span > .tfp-player-link {
 display:inline!important;color:inherit!important;font:inherit!important;line-height:inherit!important;
 margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;
 white-space:normal!important;overflow-wrap:anywhere!important;text-decoration:none!important;
}
body[data-page="tournament-view"] main#tfpCompetitionView #bracket.tfp-bracket-2026 .tfp-bracket-pro-team__names a.tfp-player-link:hover {
 text-decoration:underline!important;text-underline-offset:2px;
}
