/* fooba-esportes — Bloco Classificação — Tema claro (mesma paleta do bloco Partidas) */

.efc-classificacao-block {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0,0,0,.09);
}

/* ── Header ── */
.efc-classificacao-block .esf-block-header {
	background: #fff;
	border-bottom: 1px solid #efefef;
}
.efc-classificacao-block .esf-block-header-name   { color: #111; }
.efc-classificacao-block .esf-block-header-season { color: #aaa; }

/* ── Tabs — tema claro ── */
.efc-st-tabs {
	display: flex;
	background: #fff;
	border-bottom: 1px solid #efefef;
	padding: 0 16px;
}
.efc-st-tab {
	background: transparent !important;
	border: none;
	border-bottom: 3px solid transparent;
	color: #999 !important;
	font-size: 13px;
	font-weight: 600;
	padding: 12px 16px 10px;
	cursor: pointer;
	transition: color .15s, border-color .15s;
	white-space: nowrap;
	font-family: inherit;
	outline: none;
}
.efc-st-tab:hover   { color: #444 !important; background: transparent !important; }
.efc-st-tab.active  { color: #111 !important; background: transparent !important; }

/* ── Groups grid ── */
.efc-st-groups-wrap {
	padding: 16px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	gap: 20px;
}
@media (max-width: 640px) {
	.efc-st-groups-wrap { grid-template-columns: 1fr; padding: 10px; }
}

.efc-st-group-name {
	font-size: 12px;
	font-weight: 700;
	color: #888;
	text-transform: uppercase;
	letter-spacing: .7px;
	margin-bottom: 8px;
	padding-left: 2px;
}

/* ── Tabela ── */
.efc-st-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
	color: #333;
}
.efc-st-table th {
	font-size: 10px;
	font-weight: 700;
	color: #bbb;
	text-transform: uppercase;
	letter-spacing: .4px;
	padding: 5px 6px;
	border-bottom: 2px solid #f0f0f0;
	white-space: nowrap;
}
.efc-st-table td {
	padding: 7px 6px;
	border-bottom: 1px solid #f5f5f5;
	vertical-align: middle;
	color: #333;
}
.efc-st-table tbody tr:last-child td { border-bottom: none; }
.efc-st-table tbody tr:hover td      { background: #fafafa; }

.efc-st-rank {
	text-align: center;
	font-weight: 700;
	font-size: 12px;
	width: 24px;
}
.efc-st-team {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 130px;
}
th.efc-st-team { display: table-cell; }

.efc-st-num        { text-align: center; width: 32px; color: #666; }
.efc-st-num.efc-pts{ color: #111; font-weight: 700; }
.efc-sg            { font-weight: 600; }
.efc-st-form       { white-space: nowrap; }
th.efc-st-form     { text-align: left; }

/* Loading */
.efc-st-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 24px 20px;
	font-size: 13px;
	color: #aaa;
}

/* ═══════════════════════════════════════════════
   BRACKET — Chaveamento (tema claro, igual ao bloco partidas)
═══════════════════════════════════════════════ */
.efc-bracket-wrap {
	background: #fff;
	overflow: hidden;
}

.efc-bracket-scroll {
	display: flex;
	overflow-x: auto;
	padding: 20px 16px 24px;
	gap: 10px;
	align-items: stretch;
	scrollbar-width: thin;
	scrollbar-color: #ddd transparent;
}
.efc-bracket-scroll::-webkit-scrollbar       { height: 3px; }
.efc-bracket-scroll::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.efc-bracket-col {
	flex: 0 0 auto;
	width: 175px;
	display: flex;
	flex-direction: column;
}

.efc-bracket-col-title {
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .7px;
	margin-bottom: 12px;
	padding-bottom: 7px;
	border-bottom: 2px solid;
	white-space: nowrap;
	flex-shrink: 0;
	color: #555;
}

/* Distribui matches verticalmente centrados */
.efc-bracket-col-matches {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 8px;
}

.efc-bracket-match {
	background: #f5f6f8;
	border-radius: 8px;
	padding: 9px 11px;
	border: 1px solid #e8e8e8;
	transition: border-color .15s, box-shadow .15s;
}
.efc-bracket-match:hover {
	border-color: #ccc;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.efc-bracket-date {
	font-size: 10px;
	color: #aaa;
	margin-bottom: 6px;
	font-weight: 500;
}

.efc-bracket-team {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 3px 0;
}
.efc-bracket-team + .efc-bracket-team {
	border-top: 1px solid #efefef;
	margin-top: 3px;
	padding-top: 6px;
}
.efc-bracket-known  { font-size: 12px; font-weight: 600; color: #1a1a1a; }
.efc-bracket-tbd    { font-size: 11px; color: #bbb; font-style: italic; }
.efc-bracket-shield { font-size: 14px; opacity: .25; flex-shrink: 0; }

/* ── Placeholder ── */
.efc-classificacao-block .esf-block-placeholder {
	border-color: #e8e8e8;
	background: #fafafa;
	color: #bbb;
	margin: 16px;
	border-radius: 8px;
}
