:root{--azul:#0b1f4b;--azul2:#16336f;--amarillo:#f5b301;--fondo:#f4f6fb}
body{background:var(--fondo);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#1f2937}
.barra{background:linear-gradient(90deg,var(--azul),var(--azul2))}
.btn-amarillo{background:var(--amarillo);color:#111;font-weight:600;border:0}.btn-amarillo:hover{background:#e0a400;color:#111}
.btn-azul{background:var(--azul);color:#fff}.btn-azul:hover{background:var(--azul2);color:#fff}
.tarjeta{background:#fff;border:0;border-radius:14px;box-shadow:0 2px 10px rgba(11,31,75,.08)}
.curso-img{height:170px;object-fit:cover;border-radius:14px 14px 0 0;background:#dfe6f3}
.hero{background:linear-gradient(120deg,var(--azul),#1e4fa3);color:#fff;border-radius:18px;padding:2rem}
.recurso{display:flex;align-items:center;gap:.75rem;padding:.65rem .9rem;border-radius:10px;background:#f8fafc;margin-bottom:.4rem;text-decoration:none;color:inherit}
.recurso:hover{background:#eef2ff}.recurso .ico{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;color:#fff;font-size:1.1rem;flex:0 0 36px}
.check-ok{color:#16a34a}.check-no{color:#cbd5e1}
.progress{height:10px;border-radius:10px}
.visor{width:100%;height:75vh;border:0;border-radius:12px;background:#000}
.escena{position:relative;width:100%;border-radius:14px;overflow:hidden;background:#0b1f4b;user-select:none}
.escena img.fondo{width:100%;display:block}
.marcador{position:absolute;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;border:3px solid #fff;background:var(--amarillo);color:#111;font-weight:800;display:grid;place-items:center;cursor:pointer;box-shadow:0 0 0 0 rgba(245,179,1,.7);animation:pulso 1.6s infinite}
.marcador.hecho{background:#16a34a;color:#fff;animation:none}.marcador.mal{background:#dc2626;color:#fff;animation:none}
@keyframes pulso{0%{box-shadow:0 0 0 0 rgba(245,179,1,.7)}70%{box-shadow:0 0 0 16px rgba(245,179,1,0)}100%{box-shadow:0 0 0 0 rgba(245,179,1,0)}}
.vida{height:16px;border-radius:9px;background:#e5e7eb;overflow:hidden}.vida>div{height:100%;background:linear-gradient(90deg,#16a34a,#84cc16);transition:width .4s}
.opcion{border:2px solid #e5e7eb;border-radius:10px;padding:.6rem .8rem;margin-bottom:.5rem;cursor:pointer;background:#fff}
.opcion.sel{border-color:#2563eb;background:#eff6ff}.opcion.ok{border-color:#16a34a;background:#f0fdf4}.opcion.mal{border-color:#dc2626;background:#fef2f2}
.paso{border:1px solid #cbd5e1;border-radius:10px;padding:.55rem .8rem;margin-bottom:.4rem;background:#fff;display:flex;gap:.5rem;align-items:center}
.admin .tema{border-left:5px solid var(--amarillo)}
.punto-edit{position:absolute;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;background:var(--amarillo);border:3px solid #fff;font-weight:800;display:grid;place-items:center;cursor:pointer}
.punto-edit.activo{background:#2563eb;color:#fff}
