*{box-sizing:border-box}
body{margin:0;font-family:"Nunito Sans",ui-rounded,"SF Pro Rounded",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
background:#EAF0F2;color:#102F4B;line-height:1.45}
header{background:#fff;padding:16px;text-align:center;border-bottom:4px solid #16B8B2}
header img{height:72px;max-width:90%;object-fit:contain}
main{max-width:480px;margin:0 auto;padding:24px 16px}
h1{font-size:1.6rem;font-weight:800;margin:0 0 12px}
h2{font-size:1.1rem;margin:20px 0 10px}
a{color:#102F4B}
form{display:flex;flex-direction:column;gap:14px;margin:16px 0}
label{display:flex;flex-direction:column;gap:6px;font-weight:700}
label.check{flex-direction:row;align-items:flex-start;gap:8px;font-weight:400}
input{font-size:1rem;padding:12px;border:2px solid #D5DFE2;border-radius:12px;background:#fff;color:inherit}
input:focus{outline:none;border-color:#16B8B2}
button,.boton{display:block;text-align:center;font:inherit;font-size:1rem;font-weight:800;padding:14px;border:0;border-radius:999px;
background:#16B8B2;color:#fff;text-decoration:none;cursor:pointer}
.secundario{background:#fff;color:#102F4B;border:2px solid #D5DFE2}
.premio{background:#102F4B;color:#fff}
.botones{display:flex;flex-direction:column;gap:12px;margin:16px 0}
.boton.apple{background:#000;color:#fff}
.boton.google{background:#fff;color:#1F1F1F;border:1px solid #747775}
.sellos{width:100%;display:block;margin:12px 0;background:#fff;border-radius:20px;padding:8px}
.premios{list-style:none;padding:0;margin:16px 0;display:flex;flex-direction:column;gap:8px}
.premios li{display:flex;align-items:center;gap:12px;background:#fff;padding:12px;border-radius:16px}
.meta{flex:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;
background:#16B8B2;color:#fff;font-weight:800}
.aviso{padding:12px;border-radius:12px;font-weight:700}
.aviso.error{background:#FDE8EB;color:#9B2335}
.aviso.ok{background:#DDF6F5;color:#102F4B}
.nota{color:#55707F;font-size:.9rem}
.liga{word-break:break-all;background:#fff;padding:10px;border-radius:8px;font-family:monospace;font-size:.85rem}
.clientes{list-style:none;padding:0;margin:0 0 24px;display:flex;flex-direction:column;gap:8px}
.clientes li{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:12px;border-radius:16px}
.clientes a{display:flex;flex-direction:column;text-decoration:none;min-width:0}
.clientes span{color:#55707F;font-size:.9rem}
.acciones{display:flex;flex-direction:column;gap:8px}
.acciones form{margin:0}
.chico{padding:10px 14px;white-space:nowrap}
details{margin-top:20px}
button:disabled{opacity:.75;cursor:progress}
button.cargando{position:relative;color:transparent}
button.cargando::after{content:"";position:absolute;inset:0;margin:auto;width:1.2em;height:1.2em;border-radius:50%;
border:3px solid rgba(255,255,255,.45);border-top-color:#fff;animation:girar .7s linear infinite}
.secundario.cargando::after{border-color:rgba(16,47,75,.25);border-top-color:#102F4B}
@keyframes girar{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){button.cargando::after{animation-duration:2s}}