/*
 * Herramientas de Movicio: test y comparador.
 * Usan los tokens del tema (--mv-*); los valores de respaldo sirven si el tema cambia.
 * Pantallas a escala: --px es el tamaño en píxeles de una pulgada real (igual para todas las fichas).
 */

.mv-quiz,
.mv-comp {
	--ink: var(--mv-ink, #121214);
	--paper: var(--mv-paper, #ffffff);
	--paper-2: var(--mv-paper-2, #f2f2ef);
	--hair: var(--mv-hair, #d6d6d9);
	--spot: var(--mv-spot, #d4006f);
	--spot-ink: var(--mv-spot-ink, #ffffff);
	--yellow: var(--mv-yellow, #ffe500);
	--print: var(--mv-print-ink, #121214);
	--display: var(--mv-display, "Arial Narrow", sans-serif);
	--slot-0: var(--mv-spot, #d4006f);
	--slot-1: var(--mv-cyan, #00a0e3);
	--slot-2: var(--mv-orange, #f39200);
	color: var(--ink);
}

.mv-quiz *,
.mv-comp * {
	box-sizing: border-box;
}

.mv-raw {
	font: inherit;
	cursor: pointer;
}

.mv-quiz__kicker {
	display: inline-block;
	margin: 0 0 0.6em;
	padding: 0.15em 1em 0.1em;
	background: var(--ink);
	color: var(--paper);
	clip-path: polygon(0.45em 0, 100% 0, calc(100% - 0.45em) 100%, 0 100%);
	font-family: var(--display);
	font-weight: 800;
	font-style: italic;
	font-size: 1rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* ---------- Pantalla dibujada a escala ---------- */
.mv-screen {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: calc(var(--w) * var(--px, 24px));
	height: calc(var(--h) * var(--px, 24px));
	border: 3px solid var(--print);
	border-radius: 3px;
	background:
		repeating-linear-gradient(0deg, rgb(255 255 255 / 0.06) 0 1px, transparent 1px 3px),
		linear-gradient(160deg, #2b2d36, #0d0e12);
	box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--print);
	color: #ffffff;
	font-family: var(--display);
	font-weight: 800;
	font-size: 0.95rem;
	line-height: 1;
}

.mv-screen--outline {
	background: none;
	box-shadow: none;
	border-width: 3px;
}

/* ================= TEST ================= */
.mv-quiz {
	position: relative;
	margin-block: 1.5em 3em;
	padding: clamp(22px, 4vw, 44px);
	border: 3px solid var(--ink);
	background: var(--paper);
	box-shadow: 12px 12px 0 var(--spot);
}

.mv-quiz__intro {
	display: grid;
	gap: 0.4em;
	justify-items: start;
}

/* Una vez empezado el test, la entradilla sobra */
.mv-quiz.is-js:has(.mv-quiz__start[hidden]) .mv-quiz__lead {
	display: none;
}

.mv-quiz__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 900;
	font-style: italic;
	font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5rem);
	line-height: 0.88;
	text-transform: uppercase;
	color: var(--ink);
	text-shadow: 0.05em 0.05em 0 var(--yellow);
}

.mv-quiz__lead {
	margin: 0.4em 0 0;
	font-size: 1.2rem;
	font-weight: 600;
	max-width: 34rem;
}

.mv-quiz button.mv-quiz__start {
	margin-top: 0.9em;
	padding: 0.6em 1.6em 0.5em;
	border: 3px solid var(--print);
	background: var(--yellow);
	color: var(--print);
	box-shadow: 6px 6px 0 var(--print);
	font-family: var(--display);
	font-weight: 900;
	font-style: italic;
	font-size: 1.6rem;
	text-transform: uppercase;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.mv-quiz button.mv-quiz__start:hover,
.mv-quiz button.mv-quiz__start:focus-visible {
	transform: translate(-2px, -2px);
	box-shadow: 8px 8px 0 var(--print);
}

.mv-quiz__form {
	margin-top: 1.4em;
}

.mv-quiz__progress {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 1.2em;
}

.mv-quiz__step {
	font-family: var(--display);
	font-weight: 900;
	font-size: 1.1rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.mv-quiz__pips {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 4px;
	flex: 1;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mv-quiz__pips li {
	height: 12px;
	border: 2px solid var(--ink);
	background: var(--paper);
	transition: background-color 0.2s ease;
}

.mv-quiz__pips li.is-done {
	background: var(--ink);
}

.mv-quiz__pips li.is-current {
	background: var(--spot);
}

.mv-quiz__q {
	margin: 0 0 1.6em;
	padding: 0;
	border: 0;
	min-width: 0;
}

.mv-quiz.is-js .mv-quiz__q.is-current {
	animation: mv-in 0.28s ease both;
}

@keyframes mv-in {
	from { opacity: 0.4; transform: translateX(14px); }
	to { opacity: 1; transform: none; }
}

.mv-quiz__q legend {
	display: flex;
	align-items: baseline;
	gap: 0.35em;
	margin-bottom: 0.8em;
	padding: 0;
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
	line-height: 1;
}

.mv-quiz__num {
	font-weight: 900;
	font-style: italic;
	font-size: 1.6em;
	color: var(--spot);
	line-height: 0.8;
	font-variant-numeric: tabular-nums;
}

.mv-quiz__opts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 12px;
}

.mv-quiz__opt {
	position: relative;
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 2px solid var(--ink);
	background: var(--paper);
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.mv-quiz__opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mv-quiz__opt:hover {
	background: var(--paper-2);
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 var(--ink);
}

.mv-quiz__opt:has(input:focus-visible) {
	outline: 3px solid var(--spot);
	outline-offset: 2px;
}

.mv-quiz__opt:has(input:checked) {
	background: var(--yellow);
	color: var(--print);
	transform: translate(-3px, -3px);
	box-shadow: 6px 6px 0 var(--print);
	border-color: var(--print);
}

.mv-quiz__letter {
	display: grid;
	place-items: center;
	width: 2em;
	height: 2em;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--display);
	font-weight: 900;
	font-size: 1.05rem;
}

.mv-quiz__opt:has(input:checked) .mv-quiz__letter {
	background: var(--spot);
	color: var(--spot-ink);
}

.mv-quiz__icon {
	width: 34px;
	height: 34px;
	flex: none;
}

.mv-quiz__label {
	display: grid;
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.25rem;
	line-height: 1.05;
	text-transform: uppercase;
}

.mv-quiz__label small {
	margin-top: 0.25em;
	font-family: var(--mv-text, sans-serif);
	font-weight: 400;
	font-size: 0.82rem;
	text-transform: none;
	opacity: 0.8;
}

.mv-quiz__nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.mv-quiz button.mv-quiz__back {
	padding: 0.3em 0;
	border: 0;
	background: none;
	color: var(--ink);
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.05rem;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-color: var(--spot);
	text-underline-offset: 0.2em;
}

.mv-quiz__nav .mv-quiz__submit {
	margin-left: auto;
}

/* Resultado */
.mv-result__kicker {
	margin: 0;
	font-family: var(--display);
	font-weight: 900;
	font-style: italic;
	font-size: 1.6rem;
	text-transform: uppercase;
	color: var(--spot);
}

.mv-result__name {
	margin: 0 0 0.4em;
	font-family: var(--display);
	font-weight: 900;
	font-size: clamp(2.8rem, 1.6rem + 5vw, 5.6rem);
	line-height: 0.88;
	text-transform: uppercase;
	text-shadow: 0.05em 0.05em 0 var(--spot);
	text-wrap: balance;
}

.mv-result__warn {
	margin: 0 0 1em;
	padding: 0.7em 1em;
	border: 2px dashed var(--spot);
	font-weight: 600;
}

.mv-result__grid {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	gap: clamp(18px, 3vw, 36px);
	align-items: center;
}

/* Medidor de encaje: el anillo se rellena con el porcentaje real */
.mv-result__stamp {
	display: grid;
	place-items: center;
	align-content: center;
	width: 150px;
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(closest-side, var(--yellow) 78%, transparent 79%),
		conic-gradient(var(--spot) calc(var(--pct) * 1%), var(--paper-2) 0);
	border: 3px solid var(--print);
	color: var(--print);
	transform: rotate(-6deg);
	text-align: center;
}

.mv-result__stamp strong {
	font-family: var(--display);
	font-weight: 900;
	font-size: 2.6rem;
	line-height: 0.9;
	font-variant-numeric: tabular-nums;
}

.mv-result__stamp span {
	font-family: var(--display);
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.mv-result__stage {
	--px: 34px;
	display: grid;
	place-items: center;
	min-width: 160px;
	min-height: 160px;
	padding: 18px;
	background-color: var(--paper-2);
	background-image: var(--mv-dots, none);
	background-size: 7px 7px;
}

.mv-result__summary {
	font-weight: 600;
	font-size: 1.1rem;
	margin: 0 0 0.6em;
}

.mv-result__why {
	list-style: none;
	margin: 0 0 0.8em;
	padding: 0;
}

.mv-result__why li {
	position: relative;
	padding-left: 1.5em;
	margin-bottom: 0.25em;
}

.mv-result__why li::before {
	content: "✓";
	position: absolute;
	left: 0;
	font-weight: 900;
	color: var(--mv-green, #00a651);
}

.mv-result__price {
	margin: 0 0 0.4em;
	font-family: var(--display);
	font-weight: 700;
	text-transform: uppercase;
}

.mv-result__price strong {
	display: inline-block;
	padding: 0 0.35em;
	background: var(--yellow);
	color: var(--print);
	font-weight: 900;
	font-size: 2rem;
	transform: rotate(-2deg);
}

.mv-result__links a {
	font-family: var(--display);
	font-weight: 700;
	text-transform: uppercase;
	margin-right: 0.8em;
}

.mv-result__alts {
	margin-top: 1.6em;
	padding-top: 1em;
	border-top: 4px solid var(--ink);
}

.mv-result__alts-title {
	margin: 0 0 0.6em;
	font-family: var(--display);
	font-weight: 900;
	font-style: italic;
	font-size: 1.4rem;
	text-transform: uppercase;
}

.mv-result__alts ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.mv-result__alts li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 10px 14px;
	border: 2px solid var(--ink);
}

.mv-result__alt-pct {
	min-width: 3.4em;
	padding: 0.1em 0.4em;
	background: var(--spot);
	color: var(--spot-ink);
	font-family: var(--display);
	font-weight: 900;
	font-size: 1.2rem;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.mv-result__alt-name {
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.35rem;
	text-transform: uppercase;
}

.mv-result__alt-price {
	font-family: var(--display);
	font-weight: 700;
}

.mv-result__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 1.6em;
}

.mv-quiz button.mv-result__compare,
.mv-quiz button.mv-result__restart {
	padding: 0.6em 1.2em 0.5em;
	border: 2px solid var(--ink);
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.mv-quiz button.mv-result__compare {
	background: var(--ink);
	color: var(--paper);
	box-shadow: 4px 4px 0 var(--spot);
}

.mv-quiz button.mv-result__restart {
	background: var(--paper);
	color: var(--ink);
}

.mv-quiz button.mv-result__restart:hover {
	background: var(--yellow);
	color: var(--print);
}

.mv-result__none {
	font-size: 1.2rem;
	font-weight: 600;
}

@media (max-width: 760px) {
	.mv-result__grid {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.mv-result__body {
		grid-column: 1 / -1;
	}

	.mv-result__stamp {
		width: 120px;
	}

	.mv-result__stamp strong {
		font-size: 2.1rem;
	}

	.mv-result__stage {
		--px: 24px;
		min-width: 0;
		min-height: 120px;
	}
}

/* ================= COMPARADOR ================= */
.mv-comp {
	margin-block: 1.5em 3em;
}

.mv-comp__head {
	margin-bottom: 1.2em;
}

.mv-comp__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 900;
	font-style: italic;
	font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.4rem);
	line-height: 0.9;
	text-transform: uppercase;
	text-shadow: 0.05em 0.05em 0 var(--mv-cyan, #00a0e3);
}

.mv-comp__lead {
	margin: 0.6em 0 0;
	max-width: 40rem;
	font-size: 1.1rem;
}

/* Barra de filtros */
.mv-comp__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px 18px;
	padding: 16px;
	border: 3px solid var(--ink);
	background: var(--paper-2);
	margin-bottom: 1em;
}

.mv-chips,
.mv-view {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.mv-comp button.mv-chip,
.mv-view button {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	padding: 0.35em 0.9em 0.3em;
	border: 2px solid var(--ink);
	background: var(--paper);
	color: var(--ink);
	font-family: var(--display);
	font-weight: 800;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.mv-comp button.mv-chip[class*="mv-tipo--"]::before {
	content: "";
	width: 0.7em;
	height: 0.7em;
	background: var(--tipo);
	box-shadow: 0 0 0 1.5px var(--print);
}

.mv-comp button.mv-chip[aria-pressed="true"],
.mv-view button[aria-pressed="true"] {
	background: var(--ink);
	color: var(--paper);
}

.mv-field {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.mv-field > span,
.mv-toggle span {
	font-family: var(--display);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mv-field input[type="search"],
.mv-field select {
	padding: 0.4em 0.6em;
	min-width: 12em;
}

.mv-field input[type="range"] {
	width: 12em;
	accent-color: var(--spot);
}

.mv-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding-bottom: 0.4em;
	cursor: pointer;
}

.mv-toggle input {
	width: 1.2em;
	height: 1.2em;
	accent-color: var(--spot);
}

.mv-view {
	margin-left: auto;
}

.mv-comp__count {
	margin: 0 0 1em;
	font-family: var(--display);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Colores por tipo de consola */
.mv-tipo--nintendo { --tipo: var(--mv-red, #e30613); --tipo-ink: #ffffff; }
.mv-tipo--pc       { --tipo: var(--mv-cyan, #00a0e3); --tipo-ink: var(--mv-print-ink, #121214); }
.mv-tipo--retro    { --tipo: var(--mv-yellow, #ffe500); --tipo-ink: var(--mv-print-ink, #121214); }

/* Fichas */
.mv-cards {
	--px: 26px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mv-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 3px solid var(--ink);
	background: var(--paper);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	min-width: 0;
}

.mv-card:hover {
	transform: translate(-3px, -3px);
	box-shadow: 6px 6px 0 var(--ink);
}

.mv-card.is-picked {
	transform: translate(-3px, -3px);
	box-shadow: 8px 8px 0 var(--spot);
}

.mv-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 12px;
	background: var(--tipo);
	color: var(--tipo-ink);
	font-family: var(--display);
	font-weight: 800;
	font-style: italic;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mv-card__stage {
	display: grid;
	place-items: center;
	height: 128px;
	background-color: var(--paper-2);
	background-image: var(--mv-dots, none);
	background-size: 7px 7px;
	border-bottom: 2px solid var(--ink);
}

.mv-card__name {
	margin: 12px 14px 0;
	font-family: var(--display);
	font-weight: 900;
	font-size: 1.7rem;
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: 0;
}

.mv-card__name a {
	color: inherit;
	text-decoration: none;
}

.mv-card__brand {
	margin: 2px 14px 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}

.mv-card__price {
	margin: 8px 14px 4px;
	font-family: var(--display);
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
}

.mv-card__price strong {
	display: inline-block;
	padding: 0 0.3em;
	background: var(--yellow);
	color: var(--print);
	font-weight: 900;
	font-size: 1.6rem;
	transform: rotate(-2deg);
	font-variant-numeric: tabular-nums;
}

.mv-card__stats {
	display: grid;
	gap: 6px;
	margin: 6px 14px 12px;
	font-size: 0.9rem;
}

.mv-card__stats > div {
	display: grid;
	grid-template-columns: 5.2em minmax(0, 1fr);
	gap: 8px;
	align-items: baseline;
	padding-top: 6px;
	border-top: 1px solid var(--hair);
}

.mv-card__stats dt {
	font-family: var(--display);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.75;
}

.mv-card__stats dd {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	min-width: 0;
}

.mv-meter {
	position: relative;
	flex: 1;
	max-width: 110px;
	height: 10px;
	border: 2px solid var(--ink);
	background: var(--paper);
}

.mv-meter::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: calc(var(--v) * 100%);
	background: var(--ink);
}

.mv-pips {
	display: inline-grid;
	grid-auto-flow: column;
	gap: 3px;
}

.mv-pips i {
	width: 14px;
	height: 10px;
	border: 2px solid var(--ink);
	background: var(--paper);
}

.mv-pips i.on {
	background: var(--spot);
}

.mv-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: auto;
	padding: 10px 14px 12px;
	border-top: 2px solid var(--ink);
}

.mv-comp button.mv-card__pick {
	padding: 0.35em 0.9em 0.3em;
	border: 2px solid var(--ink);
	background: var(--paper);
	color: var(--ink);
	font-family: var(--display);
	font-weight: 800;
	font-size: 1rem;
	text-transform: uppercase;
}

.mv-comp button.mv-card__pick:hover {
	background: var(--yellow);
	color: var(--print);
}

.mv-comp button.mv-card__pick[aria-pressed="true"] {
	background: var(--spot);
	color: var(--spot-ink);
	border-color: var(--spot);
}

.mv-comp button.mv-card__pick:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.mv-card__verify {
	position: absolute;
	top: 34px;
	right: 8px;
	padding: 0.05em 0.4em;
	border: 1.5px dashed var(--spot);
	background: var(--paper);
	color: var(--spot);
	font-family: var(--display);
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transform: rotate(3deg);
}

.mv-card__descat {
	position: absolute;
	top: 34px;
	right: 8px;
	padding: 0.1em 0.5em;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--display);
	font-weight: 800;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transform: rotate(3deg);
}

.mv-card__noprice {
	font-weight: 700;
	text-transform: uppercase;
	opacity: 0.75;
}

.mb-tool-aff {
	font-family: var(--display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.mb-verify {
	color: var(--spot);
	font-size: 0.75em;
	font-weight: 700;
}

.mv-comp__table {
	margin: 0;
}

.mv-comp__table table {
	min-width: 1000px;
}

/* Bandeja inferior con las elegidas */
.mv-tray {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding-block: 12px calc(12px + env(safe-area-inset-bottom, 0px));
	padding-left: max(16px, env(safe-area-inset-left, 0px));
	padding-right: max(16px, env(safe-area-inset-right, 0px));
	background: var(--ink);
	color: var(--paper);
	border-top: 6px solid var(--spot);
}

.mv-tray__label {
	font-family: var(--display);
	font-weight: 900;
	font-style: italic;
	font-size: 1.1rem;
	text-transform: uppercase;
}

.mv-tray__items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1;
	min-width: 0;
}

.mv-tray__items li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.2em 0.3em 0.2em 0.7em;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--display);
	font-weight: 800;
	text-transform: uppercase;
	border-left: 8px solid var(--slot);
}

.mv-tray__items li.mv-tray__empty {
	background: transparent;
	color: var(--paper);
	border: 2px dashed currentColor;
	opacity: 0.7;
	padding-inline: 0.7em;
}

.mv-tray__items button {
	padding: 0 0.4em;
	border: 0;
	background: none;
	color: inherit;
	font-size: 1.2rem;
	line-height: 1;
}

.mv-comp button.mv-tray__go,
.mv-comp button.mv-tray__clear {
	padding: 0.45em 1.1em 0.4em;
	font-family: var(--display);
	font-weight: 900;
	font-size: 1.1rem;
	text-transform: uppercase;
}

.mv-comp button.mv-tray__go {
	border: 0;
	background: var(--yellow);
	color: var(--print);
	box-shadow: 4px 4px 0 var(--spot);
}

.mv-comp button.mv-tray__go:disabled {
	opacity: 0.45;
	box-shadow: none;
	cursor: not-allowed;
}

.mv-comp button.mv-tray__clear {
	border: 2px solid var(--paper);
	background: transparent;
	color: var(--paper);
}

.mv-slot--0 { --slot: var(--slot-0); }
.mv-slot--1 { --slot: var(--slot-1); }
.mv-slot--2 { --slot: var(--slot-2); }

/* Panel cara a cara */
.mv-comp__panel {
	margin-bottom: 2em;
}

.mv-vs {
	padding: clamp(16px, 3vw, 28px);
	border: 3px solid var(--ink);
	background: var(--paper);
	box-shadow: 10px 10px 0 var(--ink);
}

.mv-vs__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.mv-comp button.mv-vs__close {
	padding: 0.3em 0.8em;
	border: 2px solid var(--ink);
	background: var(--paper);
	color: var(--ink);
	font-family: var(--display);
	font-weight: 800;
	text-transform: uppercase;
}

.mv-vs__overlay {
	--px: 30px;
	display: grid;
	place-items: end center;
	min-height: 150px;
	margin: 0.6em 0 0.4em;
	padding: 18px;
	background-color: var(--paper-2);
	background-image: var(--mv-dots, none);
	background-size: 7px 7px;
}

.mv-vs__overlay .mv-screen {
	grid-area: 1 / 1;
	border-color: var(--slot);
	border-width: 4px;
}

.mv-vs__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0 0 1.2em;
	font-family: var(--display);
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
}

.mv-vs__legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.mv-vs__legend i {
	width: 14px;
	height: 14px;
	background: var(--slot);
}

.mv-vs__grid {
	display: grid;
	grid-template-columns: minmax(7.5em, auto) repeat(var(--cols), minmax(0, 1fr));
	font-size: 0.95rem;
}

.mv-vs__name {
	padding: 10px 12px;
	border-top: 8px solid var(--slot);
	background: var(--paper-2);
	font-family: var(--display);
	line-height: 1;
}

.mv-vs__name span {
	display: block;
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.75;
}

.mv-vs__name strong {
	display: block;
	margin-top: 4px;
	font-weight: 900;
	font-size: 1.45rem;
	text-transform: uppercase;
}

.mv-vs__label,
.mv-vs__cell {
	padding: 9px 12px;
	border-bottom: 1px solid var(--hair);
	min-width: 0;
}

.mv-vs__label {
	font-family: var(--display);
	font-weight: 800;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mv-vs__cell {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.mv-vs__cell.is-best {
	background: color-mix(in oklab, var(--yellow) 55%, var(--paper));
	color: var(--print);
	font-weight: 600;
}

.mv-vs__cell em {
	font-style: normal;
	font-family: var(--display);
	font-weight: 900;
	font-size: 0.8rem;
	text-transform: uppercase;
	padding: 0 0.4em;
	background: var(--print);
	color: var(--yellow);
}

.mv-vs__note {
	margin: 1em 0 0;
	font-size: 0.85rem;
	color: var(--spot);
}

@media (max-width: 640px) {
	.mv-view {
		margin-left: 0;
	}

	/* Bandeja compacta: nombres en una fila deslizable y botones al lado */
	.mv-tray {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 8px;
	}

	.mv-tray__label,
	.mv-tray__items li.mv-tray__empty {
		display: none;
	}

	.mv-tray__items {
		grid-column: 1 / -1;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 2px;
	}

	.mv-tray__items li {
		flex: none;
		white-space: nowrap;
		font-size: 0.9rem;
	}

	.mv-comp button.mv-tray__go {
		grid-column: 1 / 3;
	}

	.mv-field input[type="search"],
	.mv-field select,
	.mv-field input[type="range"] {
		min-width: 0;
		width: 100%;
	}

	.mv-field {
		flex: 1 1 100%;
	}

	.mv-vs__grid {
		grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	}

	.mv-vs__corner {
		display: none;
	}

	.mv-vs__label {
		grid-column: 1 / -1;
		padding-bottom: 2px;
		border-bottom: 0;
		background: var(--paper-2);
	}

	.mv-vs__name strong {
		font-size: 1.1rem;
	}
}

/* ================= VERSUS (artículos en la página del comparador) ================= */
.mv-versus {
	margin-top: clamp(40px, 6vw, 72px);
}

.mv-versus__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mv-versus__item a {
	display: block;
	height: 100%;
	padding: 16px 18px;
	border: 3px solid var(--mv-ink, #121214);
	border-top-width: 10px;
	border-top-color: var(--mv-yellow, #ffe500);
	color: var(--mv-ink, #121214);
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mv-versus__item a:hover {
	color: var(--mv-ink, #121214);
	transform: translate(-3px, -3px);
	box-shadow: 6px 6px 0 var(--mv-ink, #121214);
}

.mv-versus__title {
	display: block;
	font-family: var(--mv-display, sans-serif);
	font-weight: 900;
	font-size: 1.6rem;
	line-height: 0.95;
	text-transform: uppercase;
}

.mv-versus__title b {
	display: inline-block;
	margin: 0.1em 0.2em;
	padding: 0 0.25em;
	background: var(--mv-spot, #d4006f);
	color: var(--mv-spot-ink, #ffffff);
	font-style: italic;
	transform: rotate(-4deg);
}

.mv-versus__dek {
	display: block;
	margin-top: 0.6em;
	font-size: 0.95rem;
	opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
	.mv-quiz *,
	.mv-comp * {
		animation: none !important;
		transition: none !important;
	}
}
