/* ============================================================
   Feature: Matchup Verdict strip (feature_verdict.py, W1)
   Placed inside .matchup-header, under the champion showdown.
   All classes prefixed fv-. Dark theme only.
   Side colors: champion A = hextech blue, champion B = danger
   red, skill/neutral = gold — matching the site's .advantage
   pill language.
   ============================================================ */

.fv-strip {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-3) var(--space-4);
	width: fit-content;
	max-width: 100%;
	margin: var(--space-5) auto 0;
	padding: var(--space-3) var(--space-5);
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-1);
	overflow: hidden;
}

/* Subtle hextech-gold accent line across the top of the strip. */
.fv-strip::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
	pointer-events: none;
}

/* ---------- Overall verdict pill ---------- */

.fv-verdict {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-1) var(--space-4);
	border-radius: 999px;
	border: 1px solid transparent;
	white-space: nowrap;
}

.fv-verdict-label {
	font-size: var(--font-size-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--color-text-muted);
}

.fv-verdict-text {
	font-family: var(--font-display);
	font-size: var(--font-size-lg);
	font-weight: 700;
	line-height: var(--line-tight);
}

.fv-verdict--a {
	background: rgba(83, 131, 232, 0.16);
	border-color: var(--color-hextech);
}

.fv-verdict--a .fv-verdict-text {
	color: #BFD7FF;
}

.fv-verdict--b {
	background: rgba(227, 76, 76, 0.16);
	border-color: var(--color-danger);
}

.fv-verdict--b .fv-verdict-text {
	color: #FFD1D1;
}

.fv-verdict--skill {
	background: rgba(200, 170, 110, 0.16);
	border-color: var(--color-gold);
}

.fv-verdict--skill .fv-verdict-text {
	color: var(--color-gold-200);
}

/* ---------- Early / Mid / Late phase chips ---------- */

.fv-phases {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
}

.fv-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-1) var(--space-3);
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: var(--color-surface-1);
	font-size: var(--font-size-sm);
	line-height: 1.4;
	white-space: nowrap;
}

.fv-chip-phase {
	font-size: var(--font-size-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color-text-muted);
}

.fv-chip-text {
	font-weight: 600;
	color: var(--color-text);
}

.fv-chip--a {
	border-color: rgba(83, 131, 232, 0.55);
	background: rgba(83, 131, 232, 0.12);
}

.fv-chip--a .fv-chip-text {
	color: #BFD7FF;
}

.fv-chip--b {
	border-color: rgba(227, 76, 76, 0.55);
	background: rgba(227, 76, 76, 0.12);
}

.fv-chip--b .fv-chip-text {
	color: #FFD1D1;
}

.fv-chip--skill {
	border-color: rgba(200, 170, 110, 0.5);
	background: rgba(200, 170, 110, 0.1);
}

.fv-chip--skill .fv-chip-text {
	color: var(--color-gold-200);
}

/* ---------- Freshness badge ---------- */

.fv-updated {
	display: inline-flex;
	align-items: center;
	padding: var(--space-1) var(--space-3);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: var(--font-size-xs);
	color: var(--color-text-muted);
	white-space: nowrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
	.fv-strip {
		width: 100%;
		padding: var(--space-3);
		gap: var(--space-2) var(--space-3);
	}

	.fv-verdict {
		padding: var(--space-1) var(--space-3);
	}

	.fv-verdict-text {
		font-size: var(--font-size-md);
	}
}

@media (max-width: 480px) {
	.fv-strip {
		flex-direction: column;
		align-items: stretch;
	}

	.fv-verdict {
		justify-content: center;
		text-align: center;
		white-space: normal;
	}

	.fv-phases {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.fv-chip {
		justify-content: space-between;
		width: 100%;
		white-space: normal;
	}

	.fv-chip-text {
		text-align: right;
	}

	.fv-updated {
		justify-content: center;
		width: 100%;
		white-space: normal;
	}
}
