/* mk-simulador — «¿Cuánto podría darte tu inversión?» (/marketing/#simulador).
   Fondo noche con aurora naranja; a la izquierda los controles, a la derecha el tablero con embudo y gráfica.
   Sin JS (.mksim sin .is-vivo) se ve el ejemplo por defecto y los controles atenuados. */

.mksim {
	--mksim-linea: rgba(255, 255, 255, .1);
	--mksim-suave: rgba(255, 255, 255, .62);
	position: relative;
	isolation: isolate;
	overflow: clip; /* clip y no hidden: hidden rompe el sticky de los controles */
	padding: clamp(56px, 6vw, 96px) max(var(--m), calc((100vw - 1320px) / 2));
	background: var(--noche);
	color: #fff;
	font-family: var(--f);
	scroll-margin-top: 72px;
}

/* Aurora de fondo: dos manchas que respiran despacio */
.mksim__fondo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mksim__fondo i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.mksim__fondo i:first-child { right: -12%; top: -18%; width: 60vw; max-width: 820px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 91, 35, .55), transparent); animation: mksim-aura 16s ease-in-out infinite alternate; }
.mksim__fondo i:last-child { left: -18%; bottom: -30%; width: 50vw; max-width: 700px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(210, 251, 140, .16), transparent); animation: mksim-aura 20s ease-in-out infinite alternate-reverse; }
.mksim__fondo::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--mksim-linea) 1px, transparent 1px), linear-gradient(90deg, var(--mksim-linea) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; mask: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
@keyframes mksim-aura { to { transform: translate(-6%, 8%) scale(1.12); } }

/* Cabecera */
.mksim__cab { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 12px 48px; margin-bottom: clamp(28px, 3vw, 44px); }
.mksim__cab > :not(:last-child) { grid-column: 1; }
.mksim__cab > p:last-child { grid-column: 2; grid-row: 1 / span 2; }
.mksim__ceja { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 7px 14px 7px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); color: var(--lima); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.mksim__ceja span { width: 8px; height: 8px; border-radius: 50%; background: var(--lima); box-shadow: 0 0 0 4px rgba(210, 251, 140, .18); animation: mksim-late 1.8s ease-in-out infinite; }
@keyframes mksim-late { 50% { box-shadow: 0 0 0 8px rgba(210, 251, 140, 0); } }
.mksim h2 { color: #fff; font-size: clamp(32px, 4.2vw, 58px); }
.mksim__cab > p:last-child { max-width: 440px; margin: 0; color: var(--mksim-suave); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; }

.mksim__in { display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }

/* ── Controles ── */
.mksim__ctrl { display: grid; gap: 8px; padding: clamp(18px, 2vw, 28px); border: 1px solid var(--mksim-linea); border-radius: var(--r-caja); background: rgba(255, 255, 255, .04); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mksim:not(.is-vivo) .mksim__ctrl { opacity: .55; pointer-events: none; }
.mksim__grupo { min-width: 0; padding: 16px 0 20px; border: 0; border-bottom: 1px solid var(--mksim-linea); }
.mksim__grupo:last-child { border-bottom: 0; padding-bottom: 4px; }
.mksim__grupo:first-child { padding-top: 0; }
.mksim__grupo legend, .mksim__grupo label[for], .mksim__fila label { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; color: #fff; font-size: 16px; font-weight: 600; }
.mksim__fila label { margin-bottom: 0; }
.mksim__grupo :is(legend, label) b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--lima); font-size: 12px; font-weight: 700; }

/* Chips de giro y segmentado de canal: radios reales, ocultos visualmente */
.mksim__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mksim__chip, .mksim__seg label { position: relative; cursor: pointer; }
.mksim__chips input, .mksim__seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mksim__chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 500; transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease); }
.mksim__chip:hover span { border-color: rgba(255, 255, 255, .4); color: #fff; }
.mksim__chip input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(255, 91, 35, .9); }
.mksim__chips input:focus-visible + span, .mksim__seg input:focus-visible + span { outline: 2px solid var(--lima); outline-offset: 3px; }

.mksim__seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.mksim__seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px; border-radius: 12px; color: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 600; text-align: center; line-height: 1.1; transition: background-color .25s var(--ease), color .25s; }
.mksim__seg label:hover span { color: #fff; }
.mksim__seg input:checked + span { background: #fff; color: var(--noche); }

/* Presupuesto */
.mksim__fila { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.mksim__monto { color: #fff; font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mksim__rango { --p: 50%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.mksim__rango::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--accent), #FF8A5C var(--p), rgba(255, 255, 255, .12) var(--p)); }
.mksim__rango::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--accent), #FF8A5C var(--p), rgba(255, 255, 255, .12) var(--p)); }
.mksim__rango::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border: 6px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 91, 35, .25), 0 6px 16px rgba(0, 0, 0, .4); transition: transform .2s var(--ease); }
.mksim__rango::-moz-range-thumb { width: 16px; height: 16px; border: 6px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 91, 35, .25); }
.mksim__rango:active::-webkit-slider-thumb { transform: scale(1.12); }
.mksim__rango:focus-visible { outline: none; }
.mksim__rango:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--noche), 0 0 0 6px var(--lima); }
.mksim__rango:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--noche), 0 0 0 6px var(--lima); }
.mksim__extremos { display: flex; justify-content: space-between; color: rgba(255, 255, 255, .5); font-size: 13px; }

/* Ticket */
.mksim__ticket { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(0, 0, 0, .25); transition: border-color .2s; }
.mksim__ticket:focus-within { border-color: var(--lima); }
.mksim__ticket span { color: rgba(255, 255, 255, .5); font-size: 15px; font-weight: 600; }
.mksim__ticket input { flex: 1; min-width: 0; height: 54px; padding: 0; border: 0; background: none; color: #fff; font: 700 22px/1 var(--f); font-variant-numeric: tabular-nums; outline: 0; -moz-appearance: textfield; }
.mksim__ticket input::-webkit-inner-spin-button, .mksim__ticket input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.mksim__ayuda { margin-top: 8px; color: rgba(255, 255, 255, .5); font-size: 13px; }

/* ── Tablero de resultados ── */
.mksim__res { position: relative; min-width: 0; }
.mksim__res::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: calc(var(--r-caja) + 1px); background: linear-gradient(140deg, rgba(255, 91, 35, .7), rgba(255, 255, 255, .06) 40%, rgba(210, 251, 140, .35)); }
.mksim__tablero { container-type: inline-size; padding: clamp(18px, 2.2vw, 32px); border-radius: var(--r-caja); background: linear-gradient(180deg, #1C1A1B, #141213); box-shadow: 0 40px 90px -40px rgba(255, 91, 35, .55); }
.mksim__barra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.mksim__vivo { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r); background: var(--lima); color: var(--noche); font-size: 13px; font-weight: 700; }
.mksim__vivo i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: mksim-late 1.8s ease-in-out infinite; }
.mksim__caso { min-width: 0; color: var(--mksim-suave); font-size: 14px; font-weight: 500; }

.mksim__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; margin-top: 18px; }
.mksim__ingresos { min-width: 0; }
.mksim__ingresos p, .mksim__retorno p { color: var(--mksim-suave); font-size: 14px; font-weight: 500; }
.mksim__ingresos strong { display: block; margin-top: 6px; font-size: clamp(26px, 6.4cqi, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.mksim__retorno { display: flex; align-items: center; gap: 12px; flex: none; }
.mksim__retorno svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.mksim__retorno circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 6; }
.mksim__retorno .mksim__arco { --a: .5; stroke: var(--lima); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--a)); transition: stroke-dashoffset .8s var(--ease), stroke .4s; }
.mksim[data-nivel="bajo"] .mksim__arco { stroke: #FF8A5C; }
.mksim__retorno b { display: block; margin-top: 2px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mksim__veredicto { margin-top: 12px; padding: 8px 14px; border-radius: 12px; background: rgba(210, 251, 140, .09); color: var(--lima); font-size: 14px; font-weight: 500; }
.mksim[data-nivel="bajo"] .mksim__veredicto { background: rgba(255, 91, 35, .12); color: #FFB08F; }

/* Embudo: texto a la izquierda, barra que se angosta a la derecha (ancho logarítmico en --w) */
.mksim__embudo { display: grid; gap: 0; margin-top: 18px; }
.mksim__etapa { --w: .5; position: relative; display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 9.5em; align-items: center; gap: 6px 16px; padding: 7px 0; }
.mksim__etxt span { display: block; color: var(--mksim-suave); font-size: 13px; font-weight: 500; }
.mksim__etxt b { display: block; margin-top: 1px; font-size: clamp(15px, 2.4cqi, 18px); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mksim__pista { display: flex; justify-content: flex-start; }
.mksim__pista i { display: block; width: calc(var(--w) * 100%); height: 26px; border-radius: 8px; background: linear-gradient(90deg, #FF5B23, #FF8A5C); clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); transition: width .7s var(--ease); }
.mksim__etapa:nth-child(2) .mksim__pista i { background: linear-gradient(90deg, #FF7A45, #FFA47D); }
.mksim__etapa:nth-child(3) .mksim__pista i { background: linear-gradient(90deg, #FFA47D, #F2E7A0); }
.mksim__etapa:nth-child(4) .mksim__pista i { background: linear-gradient(90deg, #E3F7A6, var(--lima)); box-shadow: 0 0 30px rgba(210, 251, 140, .5); }
.mksim__tasa { justify-self: start; padding: 3px 10px; border-radius: var(--r); background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 600; white-space: nowrap; }
.mksim__tasa::before { content: '↓ '; color: var(--lima); }

/* Gráfica */
.mksim__graf { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--mksim-linea); }
.mksim__graf figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; }
.mksim__ley { display: inline-flex; align-items: center; gap: 7px; color: var(--mksim-suave); font-size: 13px; font-weight: 500; }
.mksim__ley i { width: 14px; height: 8px; border-radius: 3px; background: linear-gradient(180deg, rgba(255, 91, 35, .8), rgba(255, 91, 35, .25)); }
.mksim__ley .mksim__ley-inv { width: 14px; height: 0; margin-left: 8px; border-radius: 0; border-top: 2px dashed rgba(255, 255, 255, .7); background: none; }
.mksim__lienzo { position: relative; }
.mksim__lienzo svg { display: block; width: 100%; height: clamp(120px, 22cqi, 170px); overflow: visible; }
.mksim__guia { stroke: var(--mksim-linea); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mksim__alto, .mksim__bajo { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mksim__alto { stroke: var(--accent); }
.mksim__bajo { stroke: rgba(255, 138, 92, .55); stroke-dasharray: 4 5; }
.mksim__inv { stroke: rgba(255, 255, 255, .7); stroke-width: 1.5; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.mksim__pt { fill: var(--noche); stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mksim__inv-t { position: absolute; right: 0; transform: translateY(-130%); padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
.mksim__meses { display: flex; justify-content: space-between; margin-top: 10px; padding: 0; color: rgba(255, 255, 255, .5); font-size: 12px; font-weight: 500; }
.mksim__meses li { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.mksim__meses li:first-child { justify-content: flex-start; } .mksim__meses li:last-child { justify-content: flex-end; }

/* Pie: CTA y aviso */
.mksim__pie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--mksim-linea); }
.mksim__cta { flex: none; }
.mksim__aviso { flex: 1 1 240px; color: rgba(255, 255, 255, .5); font-size: 13px; line-height: 1.5; }

/* ── Responsive ── */
/* Escritorio: controles compactos y fijos mientras el tablero se desplaza */
@media (min-width: 1024px) {
	.mksim__ctrl { position: sticky; top: var(--mksim-top, calc(var(--mksim-cab, 76px) + 24px)); /* 76px = cabecera fija al hacer scroll (#mh) */ align-self: start; gap: 0; padding: 20px 22px; }
	.mksim__grupo { padding: 12px 0 14px; }
	.mksim__grupo legend, .mksim__grupo label[for], .mksim__fila label { margin-bottom: 10px; font-size: 15px; }
	.mksim__fila { margin-bottom: 4px; }
	.mksim__fila label { margin-bottom: 0; }
	.mksim__chips { gap: 6px; }
	.mksim__chip span { min-height: 36px; padding: 0 13px; font-size: 14px; }
	.mksim__monto { font-size: clamp(24px, 2.2vw, 32px); }
	.mksim__rango { height: 32px; }
	.mksim__seg span { min-height: 36px; font-size: 13px; border-radius: 10px; }
	.mksim__seg { border-radius: 14px; }
	.mksim__ticket { min-height: 46px; border-radius: 14px; }
	.mksim__ticket input { height: 44px; font-size: 19px; }
	.mksim__ayuda { margin-top: 6px; font-size: 12px; }
}
@media (max-width: 1023px) {
	.mksim__in { grid-template-columns: minmax(0, 1fr); }
	.mksim__ctrl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
	.mksim__grupo:nth-last-child(2) { border-bottom: 0; }
	.mksim__cab { grid-template-columns: minmax(0, 1fr); }
	.mksim__cab > p:last-child { grid-column: 1; grid-row: auto; margin-top: 4px; }
}
@media (max-width: 760px) {
	.mksim__ctrl { grid-template-columns: minmax(0, 1fr); }
	.mksim__grupo:nth-last-child(2) { border-bottom: 1px solid var(--mksim-linea); }
}

/* Barra-resumen: oculta en escritorio (ahí el tablero ya está a la vista) */
.mksim__mini { display: none; }

/* ── Celular: todo compacto y el resultado siempre a la vista ── */
@media (max-width: 760px) {
	.mksim { padding-block: 44px 40px; }
	.mksim__cab { gap: 8px; margin-bottom: 20px; }
	.mksim__ceja { margin-bottom: 4px; padding: 5px 12px 5px 9px; font-size: 13px; }
	.mksim h2 { font-size: clamp(26px, 7.4vw, 34px); }
	.mksim__cab > p:last-child { font-size: 15px; line-height: 1.45; }
	.mksim__in { gap: 14px; }

	.mksim__ctrl { padding: 14px 14px 0; border-radius: 22px; backdrop-filter: none; -webkit-backdrop-filter: none; background: #1A1819; }
	.mksim__grupo { padding: 10px 0 12px; }
	.mksim__grupo legend, .mksim__grupo label[for], .mksim__fila label { margin-bottom: 8px; font-size: 14px; }
	.mksim__fila { margin-bottom: 0; }
	.mksim__grupo :is(legend, label) b { width: 20px; height: 20px; font-size: 11px; }
	/* Giros: una sola fila que se desliza con el dedo, pegada a los bordes de la tarjeta */
	.mksim__chips { flex-wrap: nowrap; gap: 6px; margin: 0 -14px; padding: 2px 14px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
	.mksim__chips::-webkit-scrollbar { display: none; }
	.mksim__chip { flex: none; scroll-snap-align: start; }
	.mksim__chip span { min-height: 44px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
	.mksim__monto { font-size: 24px; }
	.mksim__rango { height: 44px; }
	.mksim__extremos { font-size: 12px; }
	.mksim__seg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; padding: 3px; border-radius: 13px; }
	.mksim__seg span { min-height: 44px; font-size: 13px; border-radius: 10px; }
	.mksim__ticket { min-height: 44px; padding: 0 14px; border-radius: 12px; }
	.mksim__ticket input { height: 44px; font-size: 18px; }
	.mksim__ayuda { display: none; }

	/* Resumen pegado abajo (encima del dock) mientras se ven los controles */
	.mksim__mini { position: sticky; z-index: 3; bottom: calc(84px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; margin: 4px -14px 0; padding: 10px 14px; border-radius: 0 0 22px 22px; background: linear-gradient(100deg, #FF5B23, #E2410D); color: #fff; text-decoration: none; box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .6); }
	.mksim__mini span { display: grid; min-width: 0; }
	.mksim__mini small { color: rgba(255, 255, 255, .8); font-size: 12px; font-weight: 500; }
	.mksim__mini b { font-size: 17px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
	.mksim__mini i { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 6px 10px; border-radius: var(--r); background: rgba(255, 255, 255, .2); font-size: 12px; font-style: normal; font-weight: 600; white-space: nowrap; }

	.mksim__tablero { padding: 16px 14px; border-radius: 22px; }
	.mksim__res::before { border-radius: 23px; }
	.mksim__barra { gap: 6px 10px; }
	.mksim__vivo { padding: 4px 10px; font-size: 12px; }
	.mksim__caso { font-size: 12px; }
	.mksim__top { flex-wrap: nowrap; align-items: flex-end; gap: 10px; margin-top: 12px; }
	.mksim__ingresos p, .mksim__retorno p { font-size: 12px; }
	.mksim__ingresos strong { font-size: clamp(20px, 6.2vw, 26px); }
	.mksim__retorno { gap: 8px; }
	.mksim__retorno svg { width: 40px; height: 40px; }
	.mksim__retorno b { font-size: 15px; }
	.mksim__veredicto { margin-top: 10px; padding: 7px 12px; font-size: 13px; }
	.mksim__embudo { margin-top: 10px; }
	.mksim__graf { margin-top: 12px; padding-top: 12px; }
	.mksim__graf figcaption { margin-bottom: 8px; font-size: 13px; }
	.mksim__lienzo svg { height: 120px; }
	.mksim__meses { margin-top: 6px; font-size: 12px; }
	.mksim__pie { gap: 10px; margin-top: 12px; padding-top: 14px; }
	.mksim__cta { width: 100%; min-height: 52px; }
	.mksim__aviso { font-size: 12px; }
}
/* Tablet sin dock (901–1023): la barra baja hasta el borde */
@media (min-width: 761px) and (max-width: 1023px) {
	.mksim__mini { position: sticky; z-index: 3; bottom: 12px; grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 12px 18px; border-radius: 16px; background: linear-gradient(100deg, #FF5B23, #E2410D); color: #fff; text-decoration: none; }
	.mksim__mini span { display: grid; }
	.mksim__mini small { color: rgba(255, 255, 255, .8); font-size: 12px; }
	.mksim__mini b { font-size: 18px; font-weight: 700; }
	.mksim__mini i { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 13px; font-style: normal; font-weight: 600; }
}
@media (min-width: 761px) and (max-width: 900px) { .mksim__mini { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* Tablero angosto: cada etapa en una fila compacta (texto arriba; barra + tasa abajo) */
@container (max-width: 560px) {
	.mksim__etapa { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 5px 0; }
	.mksim__etxt { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
	.mksim__etxt span { font-size: 12px; }
	.mksim__etxt b { font-size: 15px; white-space: nowrap; }
	.mksim__pista i { height: 12px; border-radius: 6px; clip-path: none; }
	.mksim__tasa { justify-self: end; padding: 1px 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.mksim__fondo i, .mksim__ceja span, .mksim__vivo i { animation: none; }
	.mksim__pista i, .mksim__arco, .mksim__chip span { transition: none; }
}

/* fuera de pantalla no se anima nada */
.mksim.is-pausa *, .mksim.is-pausa *::before, .mksim.is-pausa *::after, .mksim.is-pausa::before, .mksim.is-pausa::after { animation-play-state: paused !important; }
