.bv {
	--bv-accent: var(--mt-c1, #0b3d91);
	--bv-ok: #0f8a5f;
	--bv-warn: #b45309;
	--bv-line: var(--mt-line, #dce5ef);
	--bv-surface: var(--mt-surface, #fff);
	--bv-muted: #64748b;
	max-width: 1040px;
	margin: 2rem auto 4rem;
	padding: 0 1rem;
	color: var(--mt-heading, #10233f);
}
.bv [hidden] {
	display: none !important;
}
.bv-hero {
	padding: clamp(1.25rem, 4vw, 2.25rem);
	border: 1px solid var(--bv-line);
	border-radius: 22px;
	background: linear-gradient(125deg, color-mix(in srgb, var(--bv-accent) 12%, var(--bv-surface)), var(--bv-surface));
	box-shadow: 0 10px 30px rgb(10 42 92 / 8%);
	text-align: center;
}
.bv-kicker {
	color: var(--bv-accent);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.bv-hero h1 {
	margin: 0.35rem 0 0.4rem;
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	font-style: normal;
	text-transform: none;
}
.bv-hero > p {
	margin: 0 auto 1.1rem;
	max-width: 56ch;
	color: var(--bv-muted);
}
.bv-search {
	display: flex;
	gap: 0.5rem;
	max-width: 640px;
	margin: 0 auto;
	padding: 0.35rem;
	border: 1px solid var(--bv-line);
	border-radius: 999px;
	background: var(--bv-surface);
	box-shadow: 0 4px 14px rgb(10 42 92 / 8%);
}
.bv-search input {
	flex: 1;
	min-width: 0;
	padding: 0.65rem 1rem;
	border: 0;
	background: transparent;
	font-size: 1rem;
	outline: none;
}
.bv-search button {
	padding: 0.6rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--bv-accent);
	color: #fff;
	font-weight: 650;
	cursor: pointer;
}
.bv-search button:hover {
	filter: brightness(1.1);
}
.bv-alert {
	margin: 1rem auto 0;
	max-width: 640px;
	padding: 0.7rem 1rem;
	border-radius: 12px;
	background: #fdecec;
	color: #9b1c1c;
}
.bv-result {
	display: grid;
	grid-template-columns: minmax(160px, 260px) 1fr;
	gap: 1.5rem;
	align-items: center;
	margin-top: 1.25rem;
	padding: 1.5rem;
	border: 2px solid var(--bv-ok);
	border-radius: 20px;
	background: color-mix(in srgb, var(--bv-ok) 6%, var(--bv-surface));
}
.bv-result.is-invalid {
	border-color: var(--bv-warn);
	background: color-mix(in srgb, var(--bv-warn) 6%, var(--bv-surface));
}
.bv-result-art .badge-snapshot,
.bv-result-art .badge-snapshot svg {
	max-width: 100%;
	height: auto;
}
.bv-medal {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border-radius: 50%;
	background: color-mix(in srgb, var(--bv-accent) 14%, #fff);
	color: var(--bv-accent);
	font-size: 4rem;
}
.bv-pill {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: var(--bv-ok);
	color: #fff;
	font-weight: 700;
}
.is-invalid .bv-pill {
	background: var(--bv-warn);
}
.bv-result h2 {
	margin: 0.6rem 0 0.8rem;
	font-size: 1.5rem;
}
.bv-result dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.6rem;
	margin: 0 0 1rem;
}
.bv-result dl div {
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--bv-line);
	border-radius: 12px;
	background: var(--bv-surface);
}
.bv-result dt {
	color: var(--bv-muted);
	font-size: 0.78rem;
	font-weight: 600;
}
.bv-result dd {
	margin: 0;
	font-weight: 650;
	word-break: break-all;
}
.bv-link {
	color: var(--bv-accent);
	font-weight: 600;
}
.bv-gallery {
	margin-top: 2rem;
}
.bv-gallery-head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.9rem;
}
.bv-gallery-head h2 {
	margin: 0;
	font-size: 1.25rem;
}
.bv-gallery-head small {
	margin-left: 0.35rem;
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--bv-accent) 12%, #fff);
	color: var(--bv-accent);
	font-size: 0.8rem;
}
.bv-gallery-head input {
	flex: 0 1 260px;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--bv-line);
	border-radius: 999px;
}
.bv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bv-card {
	display: grid;
	grid-template-columns: 48px 1fr;
	grid-template-rows: 1fr auto;
	gap: 0.15rem 0.75rem;
	height: 100%;
	padding: 0.85rem;
	border: 1px solid var(--bv-line);
	border-radius: 16px;
	background: var(--bv-surface);
	color: inherit;
	text-decoration: none;
	transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s;
}
.bv-card:hover,
.bv-card:focus-visible {
	transform: translateY(-2px);
	border-color: var(--bv-accent);
	box-shadow: 0 8px 20px rgb(10 42 92 / 12%);
	text-decoration: none;
}
.bv-card img,
.bv-initial {
	grid-row: 1 / 3;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	object-fit: contain;
}
.bv-initial {
	display: grid;
	place-items: center;
	background: color-mix(in srgb, var(--bv-accent) 14%, #fff);
	color: var(--bv-accent);
	font-size: 1.3rem;
	font-weight: 750;
}
.bv-card-text {
	display: grid;
	min-width: 0;
}
.bv-card-text strong,
.bv-card-text span,
.bv-card-text small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.bv-card-text span {
	color: var(--bv-muted);
	font-size: 0.9rem;
}
.bv-card-text small {
	color: var(--bv-muted);
	font-size: 0.72rem;
	opacity: 0.8;
}
.bv-card-go {
	color: var(--bv-accent);
	font-size: 0.85rem;
	font-weight: 650;
}
.bv-empty {
	color: var(--bv-muted);
	text-align: center;
}
@media (max-width: 640px) {
	.bv-result {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.bv-search {
		flex-direction: column;
		border-radius: 16px;
	}
}
