.mk-captcha { max-width: 380px; margin: 16px 0; border: 1px solid #d0d4da; border-radius: 6px; background: #fff;
  font: 14px/1.4 system-ui, sans-serif; color: #222; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.mk-captcha-pregunta { background: #4a90e2; color: #fff; padding: 12px 14px; border-radius: 6px 6px 0 0; font-size: 15px; }
.mk-captcha-cuerpo { padding: 12px 14px; }
.mk-captcha-respuesta { width: 100%; padding: 8px 10px; border: 1px solid #c4c9cf; border-radius: 4px; font-size: 15px; box-sizing: border-box; }
.mk-captcha-opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-captcha-opcion { position: relative; min-width: 48px; padding: 10px 12px; border: 1px solid #c4c9cf; border-radius: 4px; background: #f6f7f9; font-size: 16px; cursor: pointer; }
.mk-captcha-opcion.pulsado { background: #4a90e2; color: #fff; border-color: #4a90e2; }
.mk-captcha-opcion.pulsado::after { content: attr(data-n); position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%;
  background: #1a8a3c; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.mk-captcha-borrar { margin-top: 8px; background: none; border: 0; color: #4a90e2; cursor: pointer; padding: 0; font-size: 12px; }
.mk-captcha-pista { position: relative; height: 10px; margin: 14px 8px 6px; background: #e3e6ea; border-radius: 5px; cursor: pointer; }
.mk-captcha-relleno { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #4a90e2; border-radius: 5px; }
.mk-captcha-asa { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: #fff; border: 2px solid #4a90e2; cursor: grab; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.mk-captcha-valor { text-align: center; font-size: 13px; color: #555; }
.mk-captcha-casilla-caja { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.mk-captcha-casilla { width: 22px; height: 22px; }
.mk-captcha { position: relative; }
.mk-captcha-imagen { display: block; max-width: 100%; height: auto; margin: 0 auto 10px; border-radius: 4px; }
.mk-captcha-lienzo { cursor: crosshair; margin: 0 auto; }
.mk-captcha-marca { display: none; position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid #c62828; border-radius: 50%; pointer-events: none; }
.mk-captcha-piezas { display: flex; flex-wrap: wrap; gap: 10px; min-height: 44px; }
.mk-captcha-pieza { font-size: 28px; line-height: 1; cursor: grab; user-select: none; padding: 4px; z-index: 2; }
.mk-captcha-pieza.cogida { cursor: grabbing; opacity: .85; }
.mk-captcha-destino { margin-top: 12px; height: 56px; border: 2px dashed #9aa4ae; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #777; font-size: 13px; }
.mk-captcha-mantener { position: relative; width: 100%; height: 44px; overflow: hidden; border: 1px solid #4a90e2; border-radius: 6px; background: #f6f9fd; cursor: pointer; font-weight: 600; color: #2a5a9a; user-select: none; }
.mk-captcha-carga { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(74,144,226,.3); }
.mk-captcha-mantener-texto { position: relative; }
.mk-captcha-progreso { height: 8px; background: #e3e6ea; border-radius: 4px; overflow: hidden; }
.mk-captcha-progreso-barra { height: 100%; width: 0; background: #4a90e2; transition: width .2s; }
.mk-captcha-rejilla { display: grid; gap: 4px; }
.mk-captcha-foto { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; background: #eee; }
.mk-captcha-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .15s; }
.mk-captcha-foto.marcada img { transform: scale(.82); }
.mk-captcha-foto.marcada::after { content: "✓"; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: #4a90e2; color: #fff; text-align: center; line-height: 22px; font-size: 13px; }
.mk-captcha-trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mk-captcha-pie { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid #e6e8eb; }
.mk-captcha-estado { flex: 1; font-size: 13px; }
.mk-captcha-estado[data-estado="ok"] { color: #1a8a3c; font-weight: 600; }
.mk-captcha-estado[data-estado="ko"], .mk-captcha-estado[data-estado="caducado"], .mk-captcha-estado[data-estado="error"] { color: #c62828; }
.mk-captcha-reloj { font-size: 12px; color: #777; }
.mk-captcha-otro { background: none; border: 1px solid #ccc; border-radius: 4px; cursor: pointer; padding: 4px 8px; }
.mk-captcha-verificar { background: #4a90e2; color: #fff; border: 0; border-radius: 4px; padding: 7px 16px; cursor: pointer; font-weight: 600; }
.mk-captcha-superado .mk-captcha-pregunta, .mk-captcha-superado .mk-captcha-cuerpo, .mk-captcha-superado .mk-captcha-otro,
.mk-captcha-superado .mk-captcha-verificar, .mk-captcha-superado .mk-captcha-reloj { display: none; }
