/* Sathome · Test de móvil. Usa las clases comunes del tema (.sh-test-tarjeta, .sh-test-btn…). */
.sh-tmv { max-width: 1000px; margin: 0 auto; }
.sh-tmv-aviso { background: #FFF6E0; border-left: 4px solid #E0A100; padding: .8rem 1rem; border-radius: 8px; margin-bottom: 1.25rem; }
.sh-tmv-aviso[hidden] { display: none; }
.sh-tmv-rejilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: 1.25rem; }
@media (max-width: 768px) { .sh-tmv-rejilla { grid-template-columns: 1fr; gap: 1rem; } }
.sh-tmv .sh-test-tarjeta { border: 2px solid transparent; transition: border-color .2s; }
.sh-tmv .sh-test-tarjeta.sh-tmv-bien { border-color: #1E8A4C; }
.sh-tmv .sh-test-tarjeta.sh-tmv-mal { border-color: var(--accent, #AA163D); }
.sh-tmv-num { display: inline-flex; align-items: center; justify-content: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--contrast, #232C39); color: #fff; font-size: .8em; margin-right: .4rem; vertical-align: .1em; }
.sh-tmv .sh-test-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Pregunta ¿bien / falla? */
.sh-tmv-pregunta { font-weight: 700; margin: .75rem 0 .4rem; }
.sh-tmv-sino { display: flex; gap: .5rem; flex-wrap: wrap; }
.sh-tmv-sino button { flex: 1 1 8rem; min-height: 44px; border-radius: 8px; border: 2px solid #B5BFC9; background: #fff; font-weight: 700; cursor: pointer; color: var(--contrast, #232C39); font-size: .95rem; }
.sh-tmv-sino .sh-tmv-btn-si.sh-tmv-elegido { background: #1E8A4C; border-color: #1E8A4C; color: #fff; }
.sh-tmv-sino .sh-tmv-btn-no.sh-tmv-elegido { background: var(--accent, #AA163D); border-color: var(--accent, #AA163D); color: #fff; }

/* Capas a pantalla completa (pantalla y táctil) */
html.sh-tmv-bloqueo, html.sh-tmv-bloqueo body { overflow: hidden; overscroll-behavior: none; }
.sh-tmv-capa { position: fixed; inset: 0; z-index: 100001; touch-action: none; -webkit-user-select: none; user-select: none; background: #fff; }
.sh-tmv-capa-aviso { position: absolute; left: 50%; bottom: 2.5rem; transform: translateX(-50%); background: rgba(0,0,0,.75); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-size: .95rem; text-align: center; pointer-events: none; animation: sh-tmv-fuera 3.5s forwards; width: max-content; max-width: 90vw; }
@keyframes sh-tmv-fuera { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.sh-tmv-rej { position: absolute; inset: 0; display: grid; }
.sh-tmv-rej i { border: 1px solid #D7DCE1; background: #fff; }
.sh-tmv-rej i.sh-tmv-hecha { background: #3DBB6E; border-color: #2F9A59; }
.sh-tmv-tactil-info { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; gap: .5rem; align-items: center; background: rgba(35,44,57,.88); color: #fff; padding: .4rem .5rem .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.sh-tmv-tactil-info button { border: 0; border-radius: 999px; background: var(--accent, #AA163D); color: #fff; font-weight: 700; padding: .45rem .9rem; font-size: .9rem; }

/* Multitáctil */
.sh-tmv-zona { position: relative; height: 200px; border-radius: 12px; background: var(--base, #F0F2F4); border: 2px dashed #B5BFC9; touch-action: none; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--contrast-2, #4A5563); -webkit-user-select: none; user-select: none; }
.sh-tmv-dedo { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(170,22,61,.35); border: 3px solid var(--accent, #AA163D); pointer-events: none; }

/* Micrófono, cámara */
.sh-tmv-nivel { height: 14px; background: #E6E9ED; border-radius: 7px; overflow: hidden; margin: .5rem 0; }
.sh-tmv-nivel i { display: block; height: 100%; width: 0; background: #1E8A4C; transition: width .05s; }
.sh-tmv audio { width: 100%; margin: .5rem 0; }
.sh-tmv audio[hidden], .sh-tmv video[hidden], .sh-tmv [hidden] { display: none; }
.sh-tmv-video { width: 100%; max-height: 360px; border-radius: 10px; background: #000; object-fit: contain; }
.sh-tmv-espejo { transform: scaleX(-1); }

/* Nivel de burbuja (sensores) */
.sh-tmv-nivelburbuja { position: relative; width: 200px; height: 200px; margin: .75rem auto; border-radius: 50%; background: var(--base, #F0F2F4); border: 2px solid #B5BFC9; }
.sh-tmv-nivelburbuja::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 2px dashed #B5BFC9; }
.sh-tmv-nivelburbuja i { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--accent, #AA163D); will-change: transform; }

/* Resumen */
.sh-tmv-lista { list-style: none; padding: 0; margin: .5rem 0 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
@media (max-width: 600px) { .sh-tmv-lista { grid-template-columns: 1fr; } }
.sh-tmv-lista li { padding: .45rem 0 .45rem 1.8rem; position: relative; border-bottom: 1px solid #E6E9ED; font-weight: 600; }
.sh-tmv-lista li::before { position: absolute; left: .2rem; font-weight: 700; }
.sh-tmv-r-bien { color: #1E7A44; } .sh-tmv-r-bien::before { content: "✓"; }
.sh-tmv-r-mal { color: var(--accent, #AA163D); } .sh-tmv-r-mal::before { content: "✕"; }
.sh-tmv-r-pend { color: var(--contrast-2, #4A5563); } .sh-tmv-r-pend::before { content: "…"; }
.sh-tmv-cta { text-align: center; margin: 0; }
.sh-tmv-cta .sh-test-btn { display: inline-block; text-decoration: none; }
@media (max-width: 600px) {
	.sh-tmv .sh-test-botones .sh-test-btn { flex: 1 1 40%; min-height: 48px; }
	.sh-tmv-cta .sh-test-btn { display: block; }
}
