/* Baltimore Bracket Best Of — frontend styles */

.bbbo-topic-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1rem;
	margin: 1rem 0;
}

.bbbo-topic-card {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 1rem;
	background: #fff;
}

.bbbo-topic-card__title {
	margin: 0 0 0.25rem;
	font-size: 1.1rem;
}

.bbbo-topic-card__status {
	font-size: 0.85rem;
	color: #666;
	margin: 0 0 0.5rem;
}

.bbbo-topic-card__champion {
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.bbbo-champion-banner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: #fff8e1;
	border: 1px solid #f0d77b;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin: 1rem 0;
}

.bbbo-champion-banner__label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #946200;
}

.bbbo-champion-banner__name {
	font-weight: 700;
	font-size: 1.1rem;
}

.bbbo-bracket__rounds {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	padding-bottom: 1rem;
}

.bbbo-round {
	min-width: 240px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.bbbo-round__label {
	text-align: center;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	color: #888;
	margin: 0;
}

.bbbo-matchup {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 0.75rem;
	background: #fafafa;
}

.bbbo-matchup--standalone {
	max-width: 480px;
}

.bbbo-matchup__side {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0.5rem 0;
	border-radius: 6px;
}

.bbbo-matchup__side--your-vote {
	background: #e8f5e9;
}

.bbbo-matchup__vs {
	text-align: center;
	font-size: 0.75rem;
	color: #999;
	margin: 0.25rem 0;
}

.bbbo-entrant-img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 0.4rem;
}

.bbbo-entrant-img--placeholder {
	width: 64px;
	height: 64px;
	background: #ddd;
	border-radius: 6px;
	margin-bottom: 0.4rem;
}

.bbbo-matchup__name {
	font-weight: 600;
	font-size: 0.95rem;
}

.bbbo-matchup__name--bye {
	color: #aaa;
	font-style: italic;
}

.bbbo-matchup__desc {
	font-size: 0.8rem;
	color: #777;
	margin: 0.15rem 0 0.4rem;
}

.bbbo-vote-btn {
	margin-top: 0.4rem;
	padding: 0.35rem 1rem;
	border: none;
	border-radius: 20px;
	background: #c8102e;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	font-size: 0.85rem;
}

.bbbo-vote-btn:disabled {
	background: #999;
	cursor: default;
}

.bbbo-results-bar {
	width: 100%;
	height: 10px;
	background: #e0e0e0;
	border-radius: 6px;
	position: relative;
	margin-top: 0.4rem;
	overflow: hidden;
}

.bbbo-results-bar__fill {
	height: 100%;
	background: #c8102e;
}

.bbbo-results-bar__pct {
	display: block;
	font-size: 0.75rem;
	margin-top: 0.2rem;
}

.bbbo-winner-tag {
	display: inline-block;
	margin-top: 0.3rem;
	font-size: 0.75rem;
	color: #2e7d32;
	font-weight: 700;
}

.bbbo-login-prompt,
.bbbo-vote-note {
	text-align: center;
	font-size: 0.8rem;
	color: #666;
	margin: 0.5rem 0 0;
}

.bbbo-winner-card {
	border: 1px solid #f0d77b;
	background: #fff8e1;
	border-radius: 8px;
	padding: 1.25rem;
	text-align: center;
	max-width: 320px;
}

.bbbo-winner-card__eyebrow {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #946200;
}

.bbbo-results-table {
	max-width: 480px;
}

.bbbo-results-row {
	display: flex;
	justify-content: space-between;
	padding: 0.35rem 0;
	border-bottom: 1px solid #eee;
	font-size: 0.9rem;
}

.bbbo-results-row__winner {
	font-weight: 700;
}

.bbbo-error,
.bbbo-empty {
	color: #777;
	font-style: italic;
}

.bbbo-certificate-cta {
	border: 1px solid #f0d77b;
	background: #fffaf0;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	text-align: center;
	max-width: 360px;
}

.bbbo-certificate-cta__text {
	font-weight: 600;
	margin: 0 0 0.6rem;
}

.bbbo-certificate-cta__btn {
	display: inline-block;
	background: #c8102e;
	color: #fff;
	padding: 0.5rem 1.2rem;
	border-radius: 20px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
}

.bbbo-certificate-cta__hint {
	font-size: 0.75rem;
	color: #888;
	margin: 0.5rem 0 0;
}
