/* ===== Generador de animaciones de suscripción =====
   Usa el diseño del Generador de contadores (contador.css) y agrega lo suyo. */
.sb-file { position: relative; overflow: hidden; width: auto; display: inline-flex; }
.sb-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sb-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.sb-checks .cd-check { margin-top: 10px; }
@media (max-width: 420px) { .sb-checks { grid-template-columns: 1fr; } }
.ba-colors { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ba-colors button, .ba-custom { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; margin: 0; }
.ba-colors button.active, .ba-custom.active { outline: 3px solid var(--brand); outline-offset: 1px; }
.ba-custom { position: relative; overflow: hidden; background: conic-gradient(#f43f5e, #facc15, #22c55e, #3b82f6, #a855f7, #f43f5e); }
.ba-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

.sb-stage { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.sb-stage canvas { display: block; width: 100%; height: auto; }
.sb-stage.vertical canvas { width: auto; height: 560px; max-width: 100%; }
.sb-stage.bg-checker { background: repeating-conic-gradient(#cfd3da 0 25%, #f3f4f6 0 50%) 0 0 / 22px 22px; }
.sb-stage.bg-green { background: #00ff00; }
.sb-stage.bg-photo { background: linear-gradient(160deg, #1e293b, #475569 45%, #b45309 75%, #f59e0b); }

.sb-kinds { display: grid; gap: 8px; }
.sb-kind { display: grid; gap: 2px; text-align: left; font: inherit; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg-2);
  color: var(--text); cursor: pointer; }
.sb-kind:hover { border-color: var(--brand); background: rgba(98, 70, 234, .08); }
.sb-kind:disabled { opacity: .5; cursor: wait; }
.sb-kind b { font-size: 15px; }
.sb-kind span { font-size: 13px; color: var(--muted); }
.sb-kind::after { content: "⬇ Descargar"; justify-self: start; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--brand-2); }
