/* ====================================================================
   Browse Verses redesign — slate-palette chrome matching the /home/ +
   /monthly+calendar/ redesigns. Renders inside .mv-root.bv-root which
   sources tokens from extensions/index_new/styles.css. Card vocabulary
   shares the .hl-day / .mc-day language: serif numbers + display type,
   mono for stats/counts, brand-tinted accents.
   ==================================================================== */

.bv-page-bg { background: var(--bg); }

.mv-root.bv-root {
	/* White text sitting on the solid --accent fill (primary pager button).
	   Stays white in both themes, so no dark override — do NOT use --brand-fg. */
	--bv-on-fill: #FFFFFF;
	background: var(--bg);
	color: var(--text-1);
	padding-top: 40px;
	padding-bottom: 80px;
}
/* Logged-out: the shared marketing nav + footer sit inside .bv-root, so drop
   the chrome padding and let the nav sit flush at top / footer at bottom. */
.mv-root.bv-root.bv-root-out { padding-top: 0; padding-bottom: 0; }
.mv-root.bv-root.bv-root-out > .bv-page { padding-top: 28px; padding-bottom: 64px; }
.mv-root.bv-root > .bv-page {
	box-sizing: border-box;
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 64px;
	padding-right: 64px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
@media only screen and (min-device-width: 1181px) and (max-device-width: 1600px) {
	.mv-root.bv-root > .bv-page { padding-left: 48px; padding-right: 48px; }
}
@media only screen and (max-device-width: 1180px) and (orientation: landscape) {
	.mv-root.bv-root > .bv-page { padding-left: 40px; padding-right: 40px; }
}
@media only screen and (max-device-width: 1180px) and (orientation: portrait) {
	.mv-root.bv-root > .bv-page { padding-left: 32px; padding-right: 32px; gap: 22px; }
}
@media only screen and (max-device-width: 767px) and (orientation: portrait) {
	.mv-root.bv-root { padding-top: 16px; padding-bottom: 48px; }
	.mv-root.bv-root > .bv-page { padding-left: 16px; padding-right: 16px; gap: 18px; }
}

/* ---------- Page header ---------- */
.mv-root .bv-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 32px;
	margin-bottom: 4px;
}
.mv-root .bv-eye {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-sans);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--text-3);
	margin-bottom: 10px;
}
.mv-root .bv-eye .ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px; height: 22px;
	border-radius: 6px;
	background: var(--accent-soft);
	color: var(--accent);
}
.mv-root .bv-eye .sep {
	width: 3px; height: 3px;
	background: var(--text-muted);
	border-radius: 50%;
}
.mv-root .bv-head h1 {
	font-family: var(--font-serif);
	font-size: 44px;
	font-weight: 600;
	letter-spacing: -0.022em;
	line-height: 1.0;
	color: var(--text-1);
	margin: 0;
}
.mv-root .bv-head h1 em {
	font-style: italic;
	font-weight: 500;
	color: var(--accent);
}
.mv-root .bv-head .sub {
	margin: 10px 0 0;
	font-family: var(--font-sans);
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-2);
	max-width: 540px;
}
.mv-root .bv-head-cta {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.mv-root .bv-head-cta .ghost,
.mv-root .bv-head-cta .primary {
	font-family: var(--font-sans);
	font-size: 13px;
	border-radius: var(--radius-pill);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: color .12s, border-color .12s, filter .12s;
}
.mv-root .bv-head-cta .ghost {
	background: transparent;
	border: 1px solid var(--border);
	padding: 10px 16px;
	color: var(--text-2);
	font-weight: 500;
}
.mv-root .bv-head-cta .ghost:hover { color: var(--text-1); border-color: var(--border-strong); }
.mv-root .bv-head-cta .primary {
	background: var(--text-1);
	color: var(--bg);
	border: 0;
	padding: 11px 18px;
	font-weight: 600;
}
.mv-root .bv-head-cta .primary:hover { filter: brightness(1.08); }
@media (max-width: 880px) {
	.mv-root .bv-head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
	.mv-root .bv-head h1 { font-size: 34px; }
	.mv-root .bv-head-cta { flex-wrap: wrap; }
}

/* ---------- Search bar ---------- */
.mv-root .bv-search-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 14px 18px;
	box-shadow: var(--shadow-card);
	align-items: center;
}
.mv-root .bv-search {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}
.mv-root .bv-search .ic { color: var(--text-3); display: inline-flex; }
.mv-root .bv-search input {
	background: transparent;
	border: 0;
	outline: 0;
	flex: 1;
	font-family: var(--font-sans);
	font-size: 15px;
	color: var(--text-1);
	min-width: 0;
}
.mv-root .bv-search input::placeholder { color: var(--text-muted); }
.mv-root .bv-search-keys {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--text-3);
}
.mv-root .bv-search-keys kbd {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 5px;
	padding: 2px 6px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	color: var(--text-2);
}
.mv-root .bv-search-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--surface-2);
	border: 1px solid var(--border);
	color: var(--text-2);
	text-decoration: none;
	transition: background 120ms ease, color 120ms ease;
}
.mv-root .bv-search-clear:hover {
	background: var(--surface-3, var(--surface-2));
	color: var(--text-1);
}
.mv-root .bv-search-tools {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-left: 16px;
	border-left: 1px solid var(--border);
	position: relative;
}
.mv-root .bv-tool {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	padding: 7px 13px;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	color: var(--text-2);
	cursor: pointer;
	transition: color .12s, border-color .12s;
}
.mv-root .bv-tool:hover { color: var(--text-1); border-color: var(--border-strong); }
.mv-root .bv-tool .chev { color: var(--text-3); display: inline-flex; }
.mv-root .bv-tool .tag {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--text-3);
	font-weight: 600;
}
/* Topics tool shows an accent state when a topic filter is active. */
.mv-root .bv-tool.is-on {
	background: var(--accent-soft);
	color: var(--accent);
	border-color: color-mix(in oklab, var(--accent) 40%, transparent);
}
.mv-root .bv-tool.is-on .tag { color: var(--accent); }

/* ---------- Topics panel ----------
   In-flow (not absolute): a sibling of the search bar, so opening it pushes the
   results list down. Hidden with display:none so the .bv-page flex gap adds no
   space until `.open`. */
.mv-root .bv-topics-panel {
	display: none;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: 16px 18px;
}
.mv-root .bv-topics-panel.open { display: block; }
.mv-root .bv-topics-panel-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 12px;
}
.mv-root .bv-topics-panel-head .lab {
	font-family: var(--font-sans);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--text-3);
}
.mv-root .bv-topics-panel-head .clear {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
}
.mv-root .bv-topics-panel-head .clear:hover { color: var(--accent-strong); }
.mv-root .bv-topics-panel-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.mv-root .bv-topics-panel-empty {
	display: none;
	font-family: var(--font-sans);
	font-size: 13px;
	color: var(--text-3);
	padding-top: 4px;
}
.mv-root .bv-topics-panel-empty.open { display: block; }
@media (max-width: 1080px) {
	.mv-root .bv-search-bar { grid-template-columns: 1fr; }
	.mv-root .bv-search-tools { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); padding-top: 12px; flex-wrap: wrap; }
}

/* ---------- Topic chips ---------- */
.mv-root .bv-topics {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.mv-root .bv-topics-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}
.mv-root .bv-topics-head .lab {
	font-family: var(--font-sans);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--text-3);
}
.mv-root .bv-topics-head .meta {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	color: var(--text-3);
}
.mv-root .bv-topics-head .meta a {
	color: var(--accent);
	text-decoration: none;
}
.mv-root .bv-topics-head .meta a:hover { color: var(--accent-strong); }
.mv-root .bv-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.mv-root .bv-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	padding: 8px 14px;
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 500;
	color: var(--text-2);
	cursor: pointer;
	text-decoration: none;
	transition: color .12s, background .12s, border-color .12s;
}
.mv-root .bv-chip:hover { color: var(--text-1); border-color: var(--border-strong); }
.mv-root .bv-chip .star { color: var(--warning); display: inline-flex; }
.mv-root .bv-chip.active {
	background: var(--accent-soft);
	color: var(--accent);
	border-color: color-mix(in oklab, var(--accent) 40%, transparent);
	font-weight: 600;
}
.mv-root .bv-chip.active .star { color: var(--accent); }

/* ---------- Results head ---------- */
.mv-root .bv-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 0 4px;
	flex-wrap: wrap;
}
.mv-root .bv-results-title {
	display: inline-flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}
.mv-root .bv-results-title h2 {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--text-1);
	margin: 0;
}
.mv-root .bv-results-title h2 em {
	font-style: italic;
	font-weight: 500;
	color: var(--accent);
}
.mv-root .bv-results-title .count {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	color: var(--text-3);
	letter-spacing: 0.04em;
}
.mv-root .bv-results-tools {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.mv-root .bv-active-filters {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--text-3);
	margin-right: 4px;
}
.mv-root .bv-active-filters .pill {
	background: var(--accent-soft);
	color: var(--accent);
	padding: 3px 8px;
	border-radius: var(--radius-pill);
	font-family: var(--font-sans);
	font-size: 11px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
}
.mv-root .bv-active-filters .pill .x {
	cursor: pointer;
	font-size: 13px;
	line-height: 1;
	opacity: 0.6;
}
.mv-root .bv-active-filters .pill:hover .x { opacity: 1; }
.mv-root .bv-view-toggle {
	display: inline-flex;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	padding: 3px;
}
.mv-root .bv-view-toggle button {
	background: transparent;
	border: 0;
	padding: 6px 12px;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	color: var(--text-3);
	border-radius: var(--radius-pill);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.mv-root .bv-view-toggle button.active {
	background: var(--surface);
	color: var(--text-1);
	border: 1px solid var(--border);
}

/* ---------- Verse card grid ---------- */
.mv-root .bv-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
@media (max-width: 1180px) {
	.mv-root .bv-grid { grid-template-columns: 1fr; }
}

/* ---------- List view (Cards | List toggle) ----------
   Reuses the exact same card markup; JS adds `.is-list` to .bv-grid and the
   rules below reflow each card into a dense single-line row:
   [ reference + translation ] [ scripture (truncated) ] [ action ].
   Stats + topic pill are hidden to keep rows compact. */
.mv-root .bv-grid.is-list {
	grid-template-columns: 1fr;
	gap: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	/* NOT overflow:hidden — it would clip the per-row translation + collection
	   dropdowns (which open absolutely). Round the first/last rows instead.
	   Pagination is 30/page server-side, so every rendered card is visible and
	   :first-child / :last-child reliably hit the real top/bottom rows. */
	overflow: visible;
}
.mv-root .bv-grid.is-list .bv-card {
	/* Grid, not flex: a fixed reference column, a middle column that can shrink
	   below its content (minmax(0,1fr) → the scripture truncates with ellipsis),
	   and an auto action column that's always sized and visible. Flex with
	   flex:1 1 auto used the text's content as its basis and wouldn't shrink,
	   so long verses overflowed and pushed the action button off-screen. */
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 12px 18px;
	border-radius: 0;
	border-width: 0 0 1px 0;
	box-shadow: none;
	background: transparent;
}
.mv-root .bv-grid.is-list .bv-card:first-child {
	border-top-left-radius: var(--radius-lg);
	border-top-right-radius: var(--radius-lg);
}
.mv-root .bv-grid.is-list .bv-card:last-child {
	border-bottom: 0;
	border-bottom-left-radius: var(--radius-lg);
	border-bottom-right-radius: var(--radius-lg);
}
.mv-root .bv-grid.is-list .bv-card:hover { transform: none; background: var(--surface-2); }
.mv-root .bv-grid.is-list .bv-card.owned { box-shadow: inset 3px 0 0 var(--success); }
.mv-root .bv-grid.is-list .bv-card.owned::after { display: none; }
/* Reference column (grid col 1). Smaller name + no-wrap so "Romans 10:9-10" +
   the NIV badge stay on one line within the fixed column. */
.mv-root .bv-grid.is-list .bv-card-top { margin: 0; min-width: 0; }
.mv-root .bv-grid.is-list .bv-card-ref { flex-wrap: nowrap; }
.mv-root .bv-grid.is-list .bv-card-ref .name { font-size: 16px; }
.mv-root .bv-grid.is-list .bv-topic-pill { display: none; }
/* Scripture (grid col 2, minmax(0,1fr)) — single line, truncates with ellipsis. */
.mv-root .bv-grid.is-list .bv-card-text {
	min-width: 0;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 14px;
}
/* Meta collapses to just the action button; stats hidden. Base .bv-card-meta is
   a `grid 1fr auto` with a top border (for card view) — override to a simple
   right-aligned flex so the empty (stats) track doesn't eat space and the
   border/padding don't draw a stray line in the row. */
.mv-root .bv-grid.is-list .bv-card-meta {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
	margin: 0;
	padding-top: 0;
	border-top: 0;
}
.mv-root .bv-grid.is-list .bv-card-stats { display: none; }
.mv-root .bv-grid.is-list .bv-card-actions { flex-shrink: 0; }
/* Action buttons keep their full label in cards, a compact one in list rows. */
.mv-root .bv-list-label { display: none; }
.mv-root .bv-grid.is-list .bv-full-label { display: none; }
.mv-root .bv-grid.is-list .bv-list-label { display: inline; }
@media (max-width: 700px) {
	.mv-root .bv-grid.is-list .bv-card { gap: 10px; padding: 12px; grid-template-columns: 92px minmax(0, 1fr) auto; }
	.mv-root .bv-grid.is-list .bv-card-ref .tr-trigger { display: none; }
}

.mv-root .bv-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 22px 22px 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: relative;
	transition: border-color .12s, transform .12s, box-shadow .12s;
	box-shadow: var(--shadow-card);
}
.mv-root .bv-card:hover {
	border-color: var(--border-strong);
	transform: translateY(-1px);
}
.mv-root .bv-card.owned {
	border-color: color-mix(in oklab, var(--success) 30%, var(--border));
}
.mv-root .bv-card.owned::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, var(--success-soft), transparent 25%);
	pointer-events: none;
	opacity: 0.45;
}

.mv-root .bv-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	position: relative;
	z-index: 1;
}
.mv-root .bv-card-ref {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
	min-width: 0;
}
.mv-root .bv-card-ref .name {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--text-1);
	line-height: 1.1;
}
.mv-root .bv-card-ref .tr-trigger {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	background: var(--surface-2);
	border: 1px solid var(--border);
	padding: 3px 7px;
	border-radius: 5px;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	color: var(--text-3);
	letter-spacing: 0.08em;
	position: relative;
	transition: color .12s, border-color .12s;
}
.mv-root .bv-card-ref .tr-trigger:hover { color: var(--text-1); border-color: var(--border-strong); }
.mv-root .bv-card-ref .tr-trigger .chev { display: inline-flex; opacity: 0.6; }

.mv-root .bv-topic-pill {
	font-family: var(--font-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: var(--radius-pill);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	flex-shrink: 0;
}
.mv-root .bv-topic-pill .sw {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: currentColor;
}
.mv-root .bv-topic-pill { color: var(--accent); background: var(--accent-soft); }
.mv-root .bv-topic-pill.t-love { color: var(--pink); background: color-mix(in oklab, var(--pink) 14%, transparent); }
.mv-root .bv-topic-pill.t-service { color: var(--brand); background: var(--brand-soft); }
.mv-root .bv-topic-pill.t-hope { color: var(--success); background: var(--success-soft); }
.mv-root .bv-topic-pill.t-faith { color: var(--warning); background: var(--warning-soft); }
.mv-root .bv-topic-pill.t-prayer { color: var(--teal); background: color-mix(in oklab, var(--teal) 14%, transparent); }
.mv-root .bv-topic-pill.t-wisdom { color: var(--accent-strong); background: var(--accent-soft); }
.mv-root .bv-topic-pill.t-peace { color: var(--brand); background: var(--brand-soft); }
.mv-root .bv-topic-pill.t-salvation { color: var(--accent); background: var(--accent-soft); }
.mv-root .bv-topic-pill.t-joy { color: var(--warning); background: var(--warning-soft); }
.mv-root .bv-topic-pill.t-forgiveness { color: var(--teal); background: color-mix(in oklab, var(--teal) 14%, transparent); }
.mv-root .bv-topic-pill.t-trust { color: var(--accent); background: var(--accent-soft); }
.mv-root .bv-topic-pill.t-obedience { color: var(--accent-strong); background: var(--accent-soft); }
.mv-root .bv-topic-pill.t-repentance { color: var(--pink); background: color-mix(in oklab, var(--pink) 14%, transparent); }
.mv-root .bv-topic-pill.t-worship { color: var(--brand); background: var(--brand-soft); }
.mv-root .bv-topic-pill.t-righteousness { color: var(--accent-strong); background: var(--accent-soft); }
.mv-root .bv-topic-pill.t-mercy { color: var(--pink); background: color-mix(in oklab, var(--pink) 14%, transparent); }
.mv-root .bv-topic-pill.t-grace { color: var(--success); background: var(--success-soft); }
.mv-root .bv-topic-pill.t-holiness { color: var(--accent); background: var(--accent-soft); }
.mv-root .bv-topic-pill.t-strength { color: var(--warning); background: var(--warning-soft); }
.mv-root .bv-topic-pill.t-courage { color: var(--brand); background: var(--brand-soft); }
.mv-root .bv-topic-pill.t-truth { color: var(--teal); background: color-mix(in oklab, var(--teal) 14%, transparent); }
.mv-root .bv-topic-pill.t-gratitude { color: var(--success); background: var(--success-soft); }
.mv-root .bv-topic-pill.t-most-memorized { color: var(--warning); background: var(--warning-soft); }

.mv-root .bv-card-text {
	font-family: var(--font-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--text-1);
	letter-spacing: -0.005em;
	text-wrap: pretty;
	position: relative;
	z-index: 1;
	margin: 0;
}

.mv-root .bv-card-meta {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 18px;
	align-items: center;
	padding-top: 14px;
	border-top: 1px solid var(--border);
	position: relative;
	z-index: 1;
}
.mv-root .bv-card-stats {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.mv-root .bv-card-stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-sans);
	font-size: 11px;
	color: var(--text-3);
	font-weight: 500;
	position: relative;
	cursor: default;
}
.mv-root .bv-card-stat.has-tooltip { cursor: pointer; }
.mv-root .bv-card-stat .ic { color: var(--text-muted); display: inline-flex; }
.mv-root .bv-card-stat .num {
	font-family: var(--font-mono);
	font-weight: 700;
	color: var(--text-2);
	letter-spacing: 0.02em;
}

.mv-root .bv-card-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.mv-root .bv-card-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--text-1);
	color: var(--bg);
	border: 0;
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	transition: filter .12s, color .12s, border-color .12s;
}
.mv-root .bv-card-action:hover { filter: brightness(1.08); }
.mv-root .bv-card-action.owned {
	background: var(--success-soft);
	color: var(--success);
	border: 1px solid color-mix(in oklab, var(--success) 35%, transparent);
	padding: 7px 13px;
}
.mv-root .bv-card-action.owned:hover { filter: none; border-color: var(--success); }
.mv-root .bv-card-action.owned .ic { color: var(--success); }
.mv-root .bv-card-action.ghost {
	background: transparent;
	color: var(--text-2);
	border: 1px solid var(--border-strong);
	padding: 7px 13px;
}
.mv-root .bv-card-action.ghost:hover { color: var(--text-1); filter: none; }

/* ---------- Pager ---------- */
.mv-root .bv-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 22px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	flex-wrap: wrap;
	gap: 16px;
}
.mv-root .bv-pager-left {
	font-family: var(--font-sans);
	font-size: 13px;
	color: var(--text-2);
}
.mv-root .bv-pager-left .num {
	font-family: var(--font-mono);
	font-weight: 700;
	color: var(--text-1);
}
.mv-root .bv-pager-nav {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.mv-root .bv-pager-btn {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	padding: 8px 14px;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	color: var(--text-2);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	transition: color .12s, border-color .12s, filter .12s;
}
.mv-root .bv-pager-btn:hover { color: var(--text-1); border-color: var(--border-strong); }
.mv-root .bv-pager-btn[disabled],
.mv-root .bv-pager-btn.is-disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}
.mv-root .bv-pager-btn.primary {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bv-on-fill);
}
.mv-root .bv-pager-btn.primary:hover { filter: brightness(1.08); color: var(--bv-on-fill); border-color: var(--accent); }
.mv-root .bv-pager-ellipsis {
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	color: var(--text-3);
	padding: 0 4px;
	user-select: none;
}

/* ---------- Footnote ---------- */
.mv-root .bv-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 24px;
	border: 1px dashed var(--border);
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--brand-soft), transparent 70%);
	color: var(--text-2);
	font-family: var(--font-sans);
	font-size: 13px;
	flex-wrap: wrap;
}
.mv-root .bv-foot strong { color: var(--text-1); font-weight: 600; }
.mv-root .bv-foot-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--brand);
	color: var(--brand-fg);
	border: 0;
	padding: 9px 16px;
	border-radius: var(--radius-pill);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	transition: filter .12s;
}
.mv-root .bv-foot-cta:hover { filter: brightness(1.08); }

/* Empty state ---------- */
.mv-root .bv-empty {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 64px 32px;
	text-align: center;
	box-shadow: var(--shadow-card);
}
.mv-root .bv-empty h3 {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--text-1);
	margin: 0 0 8px;
}
.mv-root .bv-empty p {
	font-family: var(--font-sans);
	font-size: 14px;
	color: var(--text-2);
	margin: 0 auto;
	max-width: 440px;
}

/* ---- "Show more" paginator (reveals cards past the first 50) ---- */
.mv-root .bv-more {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}
.mv-root .bv-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 99px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text-1);
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.mv-root .bv-more-btn:hover {
	background: var(--surface-2);
	border-color: var(--accent);
	color: var(--accent);
}
