/* Tivity AR Studio — módulos (minijuegos) */

.tvm-root {
	--tvm-accent: #7c3aed;
	--tvm-bg: #ffffff;
	--tvm-text: #1c2430;
	--tvm-muted: #627084;
	--tvm-line: #e2e8f0;

	position: relative;
	color: var(--tvm-text);
	background: var(--tvm-bg);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	text-align: center;
	user-select: none;
	-webkit-user-select: none;
}

.tvm-root * {
	box-sizing: border-box;
}

.tvm-inline {
	padding: 20px;
	border-radius: 14px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
	max-width: 640px;
	margin: 0 auto;
}

/* ------------------------------------------------------------- ventana */

.tvm-overlay {
	position: absolute;
	inset: 0;
	z-index: 2147483100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(3, 14, 32, 0.72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: auto;
	touch-action: pan-y;
}

/* Fuera de un escenario, la ventana cubre toda la pantalla. */
body > .tvm-overlay {
	position: fixed;
}

.tvm-overlay.is-open {
	opacity: 1;
}

.tvm-overlay.is-closing {
	opacity: 0;
}

.tvm-panel {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 560px;
	max-height: 100%;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	transform: translateY(12px);
	transition: transform 0.2s ease;
}

.tvm-overlay.is-open .tvm-panel {
	transform: none;
}

.tvm-overlay--fullscreen {
	padding: 0;
}

.tvm-overlay--fullscreen .tvm-panel {
	max-width: none;
	height: 100%;
	border-radius: 0;
}

.tvm-overlay--sheet {
	align-items: flex-end;
	padding: 0;
}

.tvm-overlay--sheet .tvm-panel {
	max-width: none;
	max-height: 85%;
	border-radius: 18px 18px 0 0;
}

.tvm-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 10px 10px 18px;
	border-bottom: 1px solid #e2e8f0;
	background: #fff;
	color: #1c2430;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.tvm-head__title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 700;
}

.tvm-head__close {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #f1f5f9;
	color: #1c2430;
	font-size: 16px;
	cursor: pointer;
}

.tvm-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 20px;
	-webkit-overflow-scrolling: touch;
}

/* ------------------------------------------------------------- piezas */

.tvm-title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	/* El tema de WordPress no debe estilizar el h2 del módulo. */
	font-family: inherit;
	font-style: normal;
	letter-spacing: normal;
	text-transform: none;
	color: inherit;
}

.tvm-text {
	margin: 0 0 14px;
}

.tvm-muted {
	margin: 0 0 12px;
	color: var(--tvm-muted);
	font-size: 14px;
}

.tvm-empty {
	padding: 24px;
	color: var(--tvm-muted);
}

.tvm-explain {
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.05);
}

.tvm-progress {
	margin-bottom: 10px;
	color: var(--tvm-muted);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.tvm-image {
	display: block;
	max-width: 100%;
	max-height: 220px;
	margin: 0 auto 12px;
	border-radius: 10px;
	object-fit: contain;
}

.tvm-btn {
	display: inline-block;
	margin: 6px 4px 0;
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--tvm-accent, #7c3aed);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.tvm-btn--ghost {
	background: rgba(0, 0, 0, 0.08);
	color: var(--tvm-text);
}

.tvm-root[data-skin="game"] .tvm-btn.tvm-btn--ghost,
.tvm-root[data-skin="neon"] .tvm-btn.tvm-btn--ghost {
	background: rgba(255, 255, 255, 0.22);
	color: var(--tvm-text);
	border: 2px solid rgba(255, 255, 255, 0.55);
	box-shadow: none;
	text-transform: none;
}

/* Botón de recompensa (enlace): grande y llamativo. */
.tvm-btn--reward {
	display: block;
	width: 100%;
	margin: 12px 0 6px;
	padding: 16px 22px;
	background: #f5b301;
	color: #1c2430;
	font-size: 1.1em;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	text-transform: none;
}

.tvm-prize .tvm-btn--reward {
	margin-top: 16px;
}

/* Ventana sin toques nada más abrirse (toque fantasma). */
.tvm-overlay.is-arming .tvm-panel {
	pointer-events: none;
}

/* Ficha a tamaño completo tras el premio. */
.tvm-card {
	margin: 0 0 10px;
}

.tvm-card__img {
	display: block;
	width: 100%;
	max-height: 70vh;
	object-fit: contain;
	margin: 0 auto;
}

.tvm-btn--launch {
	margin: 0;
}

.tvm-result {
	width: 72px;
	height: 72px;
	margin: 4px auto 12px;
	border-radius: 50%;
	color: #fff;
	font-size: 36px;
	font-weight: 800;
	line-height: 72px;
	background: #16a34a;
}

.tvm-result.is-bad {
	background: #dc2626;
}

/* -------------------------------------------------------------- quiz */

.tvm-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 6px 0 12px;
}

.tvm-option {
	padding: 12px 14px;
	border: 2px solid var(--tvm-line);
	border-radius: 12px;
	background: #fff;
	color: var(--tvm-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

@media (hover: hover) {
	.tvm-option:hover {
		border-color: var(--tvm-accent);
	}
}

.tvm-option.is-ok {
	border-color: #16a34a;
	background: #dcfce7;
}

.tvm-option.is-bad {
	border-color: #dc2626;
	background: #fee2e2;
}

/* -------------------------------------------------- pregunta escrita */

.tvm-answer {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 6px 0 10px;
}

.tvm-answer__input {
	flex: 1 1 180px;
	min-width: 0;
	padding: 12px 14px;
	border: 2px solid var(--tvm-line);
	border-radius: 12px;
	background: #fff;
	color: var(--tvm-text);
	font: inherit;
	font-size: 17px;
}

.tvm-answer__input:focus {
	outline: none;
	border-color: var(--tvm-accent);
}

.tvm-answer .tvm-btn {
	margin: 0;
}

.tvm-answer.is-ok .tvm-answer__input {
	border-color: #16a34a;
	background: #dcfce7;
}

.tvm-answer.is-bad .tvm-answer__input {
	border-color: #dc2626;
	background: #fee2e2;
}

.tvm-answer.is-shake {
	animation: tvm-shake 0.35s;
}

.tvm-answer__feedback {
	margin: 0 0 8px;
	font-weight: 700;
}

.tvm-answer__feedback.is-ok {
	color: #15803d;
}

.tvm-answer__feedback.is-bad {
	color: #b91c1c;
}

@keyframes tvm-shake {
	20% { transform: translateX(-6px); }
	40% { transform: translateX(6px); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(4px); }
}

/* ------------------------------------------------------------ puzle */

.tvm-puzzle {
	display: grid;
	gap: 3px;
	width: 100%;
	max-width: 440px;
	margin: 0 auto 12px;
	padding: 3px;
	border-radius: 10px;
	background: var(--tvm-accent);
}

.tvm-puzzle__tile {
	padding: 0;
	border: 0;
	border-radius: 4px;
	background-repeat: no-repeat;
	cursor: pointer;
	touch-action: none;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.tvm-puzzle__tile.is-selected {
	transform: scale(0.9);
	outline: 3px solid #ffd166;
}

.tvm-puzzle.is-done {
	gap: 0;
	padding: 0;
}

.tvm-puzzle__preview {
	display: block;
	width: 110px;
	margin: 0 auto 10px;
	border-radius: 8px;
	opacity: 0.85;
}

/* ----------------------------------------------------------- rascar */

.tvm-scratch {
	position: relative;
	width: 100%;
	max-width: 440px;
	margin: 0 auto 12px;
	border-radius: 12px;
	overflow: hidden;
}

.tvm-scratch__img {
	display: block;
	width: 100%;
	height: auto;
}

.tvm-scratch__cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	touch-action: none;
	cursor: crosshair;
}

/* ---------------------------------------------------------- ordenar */

.tvm-order {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 6px 0 12px;
	text-align: left;
}

.tvm-order__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border: 2px solid var(--tvm-line);
	border-radius: 12px;
	background: #fff;
	touch-action: none;
}

.tvm-order__row.is-bad {
	border-color: #dc2626;
	background: #fee2e2;
}

.tvm-order__row.is-dragging {
	opacity: 0.6;
}

.tvm-order.is-done .tvm-order__row {
	border-color: #16a34a;
	background: #dcfce7;
}

.tvm-order__n {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--tvm-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 26px;
	text-align: center;
	flex: 0 0 auto;
}

.tvm-order__img {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
	flex: 0 0 auto;
}

.tvm-order__text {
	flex: 1 1 auto;
	min-width: 0;
}

.tvm-order__btn {
	width: 32px;
	height: 32px;
	border: 1px solid var(--tvm-line);
	border-radius: 8px;
	background: #f8fafc;
	cursor: pointer;
	flex: 0 0 auto;
}

.tvm-order__btn:disabled {
	opacity: 0.3;
	cursor: default;
}

/* ----------------------------------------------------------- memory */

.tvm-memory {
	display: grid;
	gap: 8px;
	max-width: 440px;
	margin: 0 auto 10px;
}

.tvm-memory__card {
	position: relative;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	cursor: pointer;
	perspective: 600px;
}

.tvm-memory__back,
.tvm-memory__face {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	backface-visibility: hidden;
	transition: transform 0.35s ease;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.tvm-memory__face {
	background: #fff;
	border: 2px solid var(--tvm-line);
	transform: rotateY(180deg);
	font-weight: 700;
	padding: 6px;
}

.tvm-memory__face img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.tvm-memory__card.is-open .tvm-memory__back,
.tvm-memory__card.is-found .tvm-memory__back {
	transform: rotateY(180deg);
}

.tvm-memory__card.is-open .tvm-memory__face,
.tvm-memory__card.is-found .tvm-memory__face {
	transform: rotateY(0);
}

.tvm-memory__card.is-found .tvm-memory__face {
	border-color: #16a34a;
}

/* ----------------------------------------------------------- trivial */

.tvm-trivia__status { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-weight: 700; }
.tvm-trivia__lives { color: #dc2626; letter-spacing: 2px; }
.tvm-trivia__clock { position: relative; height: 22px; margin-bottom: 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.08); overflow: hidden; }
.tvm-trivia__fill { height: 100%; width: 100%; background: var(--tvm-accent); transition: width 0.1s linear; }
.tvm-trivia__num { position: absolute; inset: 0; line-height: 22px; font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }

/* ------------------------------------------------------------ ruleta */

.tvm-roulette { position: relative; width: min(100%, 320px); margin: 0 auto 12px; }
.tvm-roulette__wheel { display: block; width: 100%; height: auto; border-radius: 50%; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.tvm-roulette__pointer { position: absolute; left: 50%; top: -6px; width: 0; height: 0; transform: translateX(-50%); border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid var(--tvm-text); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3)); }

/* -------------------------------------------------- busca en la imagen */

.tvm-hotspot { position: relative; width: 100%; max-width: 520px; margin: 0 auto 10px; border-radius: 12px; overflow: hidden; cursor: crosshair; }
.tvm-hotspot__img { display: block; width: 100%; height: auto; }
.tvm-hotspot__mark { position: absolute; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.tvm-hotspot__mark.is-hit { border: 3px solid var(--tvm-accent); background: rgba(255, 255, 255, 0.25); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6); }
.tvm-hotspot__mark.is-miss { border: 2px solid #dc2626; animation: tvm-fade 0.6s ease forwards; }
@keyframes tvm-fade { to { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
.tvm-hotspot__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 10px; }
.tvm-hotspot__tag { padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.07); font-size: 14px; }
.tvm-hotspot__tag.is-found { background: var(--tvm-accent); color: #fff; text-decoration: line-through; }

/* ------------------------------------------------------------ efectos */

.tvm-fx {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 2147483200;
	pointer-events: none;
}

.tvm-fx--fixed {
	position: fixed;
}

.tvm-shake {
	animation: tvm-shake 0.4s;
}

.tvm-root input,
.tvm-root textarea {
	user-select: text;
	-webkit-user-select: text;
}

/* ----------------------------------------------- aspectos (videojuego) */

.tvm-root[data-skin="game"] {
	--tvm-accent: #f5b301;
	--tvm-bg: #2b1d12;
	--tvm-text: #fdf3d7;
	--tvm-muted: #d9c08a;
	--tvm-line: #7a5a2e;
	background: linear-gradient(180deg, #3a2816, #24170d);
	font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

.tvm-root[data-skin="neon"] {
	--tvm-bg: #0b1020;
	--tvm-text: #e6f1ff;
	--tvm-muted: #8fa3c8;
	--tvm-line: #2a3a7a;
	background: radial-gradient(circle at 50% 0, #17214a, #0b1020 70%);
	font-family: "Segoe UI", system-ui, sans-serif;
}

.tvm-root[data-skin="parchment"] {
	--tvm-accent: #8a4b12;
	--tvm-bg: #f3e3bd;
	--tvm-text: #3b2a14;
	--tvm-muted: #7a623c;
	--tvm-line: #c9ab72;
	background: radial-gradient(circle at 50% 30%, #f8ecc9, #e6cf9b);
	font-family: Georgia, "Times New Roman", serif;
}

.tvm-root:not([data-skin="classic"]) .tvm-option,
.tvm-root:not([data-skin="classic"]) .tvm-answer__input,
.tvm-root:not([data-skin="classic"]) .tvm-riddle__input {
	background: rgba(255, 255, 255, 0.1);
	color: var(--tvm-text);
}

.tvm-root[data-skin="parchment"] .tvm-option,
.tvm-root[data-skin="parchment"] .tvm-answer__input,
.tvm-root[data-skin="parchment"] .tvm-riddle__input {
	background: rgba(255, 255, 255, 0.45);
}

.tvm-root[data-skin="game"] .tvm-btn {
	color: #2b1d12;
	box-shadow: 0 4px 0 #9a6a00;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tvm-root[data-skin="neon"] .tvm-btn {
	box-shadow: 0 0 18px var(--tvm-accent);
}

.tvm-root[data-skin="neon"] .tvm-title {
	text-shadow: 0 0 12px var(--tvm-accent);
}

.tvm-overlay[data-skin="game"] .tvm-panel {
	border: 3px solid #d4a017;
	background: #24170d;
}

.tvm-overlay[data-skin="game"] .tvm-head {
	background: #3a2816;
	border-bottom-color: #7a5a2e;
	color: #fdf3d7;
}

.tvm-overlay[data-skin="neon"] .tvm-panel {
	border: 2px solid #22d3ee;
	background: #0b1020;
	box-shadow: 0 0 40px rgba(34, 211, 238, 0.45);
}

.tvm-overlay[data-skin="neon"] .tvm-head {
	background: #0f1733;
	border-bottom-color: #2a3a7a;
	color: #e6f1ff;
}

.tvm-overlay[data-skin="parchment"] .tvm-panel {
	border: 3px solid #8a6a3a;
	background: #e6cf9b;
}

.tvm-overlay[data-skin="parchment"] .tvm-head {
	background: #e6cf9b;
	border-bottom-color: #c9ab72;
	color: #3b2a14;
}

/* ------------------------------------------------------------ acertijo */

.tvm-riddle__ribbon {
	display: inline-block;
	margin: 0 0 12px;
	padding: 5px 18px;
	border-radius: 999px;
	background: var(--tvm-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tvm-root[data-skin="game"] .tvm-riddle__ribbon {
	color: #2b1d12;
}

.tvm-riddle__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 12px 0 6px;
}

.tvm-riddle__input {
	width: 100%;
	padding: 13px 14px;
	border: 2px solid var(--tvm-line);
	border-radius: 12px;
	background: #fff;
	color: var(--tvm-text);
	font: inherit;
	font-size: 19px;
	font-weight: 700;
	text-align: center;
}

.tvm-riddle__input::placeholder {
	color: var(--tvm-muted);
	font-weight: 400;
}

.tvm-riddle__input:focus {
	outline: none;
	border-color: var(--tvm-accent);
}

.tvm-riddle.is-ok .tvm-riddle__input {
	border-color: #16a34a;
	background: #dcfce7;
	color: #14532d;
}

.tvm-riddle.is-bad .tvm-riddle__input {
	border-color: #dc2626;
}

.tvm-riddle__msg {
	min-height: 1.4em;
	margin: 4px 0 0;
	font-weight: 700;
}

.tvm-riddle__msg.is-ok { color: #22c55e; }
.tvm-riddle__msg.is-bad { color: #f87171; }

/* --------------------------------- integrado en el escenario (3D) */

.tvs-inscene {
	/* El ancho y el alto incluyen el relleno: si no, el panel sale mayor que
	   el rectángulo sobre el que se proyecta y no cuadra con su marco. */
	box-sizing: border-box;
	margin: 0;
	max-width: none;
	position: absolute;
	left: 0;
	top: 0;
	transform-origin: 0 0;
	overflow: auto;
	padding: 22px;
	border-radius: 10px;
	pointer-events: auto;
	will-change: transform;
	backface-visibility: hidden;
}

.tvs-inscene.tvm-root {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* ------------------------------------------------------- palabra oculta */

.tvm-hw__boxes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 8px;
}

.tvm-hw__box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 44px;
	border: 2px solid var(--tvm-line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.12);
	color: var(--tvm-text);
	font-size: 24px;
	font-weight: 800;
}

.tvm-hw__box.is-hint {
	border-color: var(--tvm-accent);
	color: var(--tvm-accent);
}

.tvm-hw__box.is-typed {
	border-color: var(--tvm-accent);
	color: var(--tvm-text);
}

.tvm-hw__boxes.is-ok .tvm-hw__box {
	border-color: #16a34a;
	background: #dcfce7;
	color: #14532d;
}

.tvm-hw__boxes.is-bad .tvm-hw__box {
	border-color: #dc2626;
}

.tvm-hw__gap {
	width: 14px;
}

.tvm-hw__form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 8px 0;
}

.tvm-hw__input {
	flex: 1 1 160px;
	min-width: 0;
	padding: 12px 14px;
	border: 2px solid var(--tvm-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
	color: var(--tvm-text);
	font: inherit;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.tvm-root[data-skin="classic"] .tvm-hw__input,
.tvm-root[data-skin="classic"] .tvm-hw__box {
	background: #fff;
}

.tvm-hw__input:focus {
	outline: none;
	border-color: var(--tvm-accent);
}

.tvm-hw__form .tvm-btn {
	margin: 0;
}

.tvm-hw__msg {
	min-height: 1.4em;
	margin: 4px 0 0;
	font-weight: 700;
}

.tvm-hw__msg.is-ok { color: #22c55e; }
.tvm-hw__msg.is-bad { color: #f87171; }

/* ------------------------------------------------------------- premio */

.tvm-prize {
	margin: 4px 0 14px;
	padding: 26px 18px 22px;
	border-radius: 18px;
	background: linear-gradient(160deg, #0ea5e9, #1e40af 60%, #312e81);
	color: #fff;
	box-shadow: 0 14px 40px rgba(14, 165, 233, 0.35);
	animation: tvm-prize-in 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.tvm-prize__icon {
	font-size: 64px;
	line-height: 1;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.tvm-prize__title {
	/* El h2 del tema de WordPress no debe cambiar color ni letra. */
	color: inherit;
	font-family: inherit;
	font-style: normal;
	letter-spacing: 0.02em;
	text-transform: none;
	margin: 10px 0 6px;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.tvm-prize__text {
	margin: 0;
	font-size: 17px;
	opacity: 0.95;
	color: inherit;
}

.tvm-prize__text + .tvm-prize__text {
	margin-top: 6px;
}

.tvm-prize__img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

@keyframes tvm-prize-in {
	from { transform: scale(0.6); opacity: 0; }
	to { transform: none; opacity: 1; }
}

/* ------------------------------------- tamaño de letra y tipografía */

.tvm-root.has-font { font-family: var(--tvm-font) !important; }

.tvm-root[data-size="large"] { font-size: 19px; }
.tvm-root[data-size="large"] .tvm-title { font-size: 30px; }
.tvm-root[data-size="large"] .tvm-option { padding: 15px 18px; font-size: 19px; }
.tvm-root[data-size="large"] .tvm-btn { padding: 15px 32px; font-size: 19px; }
.tvm-root[data-size="large"] .tvm-text, .tvm-root[data-size="large"] .tvm-explain { font-size: 18px; }
.tvm-root[data-size="large"] .tvm-prize__title { font-size: 34px; }
.tvm-overlay[data-size="large"] .tvm-head__title { font-size: 19px; }

.tvm-root[data-size="xl"] { font-size: 22px; }
.tvm-root[data-size="xl"] .tvm-title { font-size: 36px; }
.tvm-root[data-size="xl"] .tvm-option { padding: 18px 22px; font-size: 22px; }
.tvm-root[data-size="xl"] .tvm-btn { padding: 17px 36px; font-size: 22px; }
.tvm-root[data-size="xl"] .tvm-text, .tvm-root[data-size="xl"] .tvm-explain { font-size: 21px; }
.tvm-root[data-size="xl"] .tvm-prize__title { font-size: 40px; }
.tvm-overlay[data-size="xl"] .tvm-head__title { font-size: 22px; }

/* ---------------------------------------------- aspecto del test */

.tvm-root.has-qcolor .tvm-title { color: var(--tvm-q-color); }
.tvm-root.has-ocolor .tvm-option { color: var(--tvm-o-color); }
.tvm-root.has-obg .tvm-option { background: var(--tvm-o-bg); }
.tvm-root.has-oborder .tvm-option { border-color: var(--tvm-o-border); }
.tvm-root[data-oshape="pill"] .tvm-option { border-radius: 999px; padding-left: 22px; padding-right: 22px; }
.tvm-root[data-oshape="square"] .tvm-option { border-radius: 4px; }
.tvm-root[data-oalign="center"] .tvm-option { text-align: center; }
.tvm-root[data-olayout="grid"] .tvm-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tvm-root[data-olayout="grid"] .tvm-option { text-align: center; }
