/* AION SPOT «Despierta tu Genialidad» — colores de su logo: fucsia, naranja, azul, verde y petróleo. Con vida y movimiento. */
:root { --sp-rosa: #ff2d95; --sp-nar: #ff9a1a; --sp-azul: #3b9cff; --sp-verde: #3dcf5a; --sp-pet: #0f5f66; --sp-grad: linear-gradient(120deg, #ff2d95, #ff9a1a, #3b9cff, #3dcf5a, #ff2d95); }
@keyframes spFlota { 0%, 100% { transform: translateY(0) rotate(-3deg) scale(1); } 50% { transform: translateY(-6px) rotate(3deg) scale(1.06); } }
@keyframes spBrillo { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@keyframes spGiro { to { transform: rotate(360deg); } }
@keyframes spLatido { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 149, .45); } 50% { box-shadow: 0 0 0 10px rgba(255, 45, 149, 0); } }
.sp-marca { display: inline-flex; align-items: center; gap: .7rem; }
.sp-iso { width: 48px; height: 48px; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 5px; box-shadow: 0 6px 22px rgba(255, 45, 149, .35); animation: spFlota 4s ease-in-out infinite; }
.sp-iso img { width: 100%; height: 100%; object-fit: contain; }
.sp-marca__txt strong { display: block; font-weight: 900; letter-spacing: .04em; font-size: 1.35rem; background: var(--sp-grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: spBrillo 6s linear infinite; }
.sp-marca__txt em { font-style: italic; color: #fbcfe8; font-size: .92rem; }
.sp-marca--grande .sp-iso { width: 78px; height: 78px; border-radius: 24px; }
.sp-marca--grande .sp-marca__txt strong { font-size: 2.1rem; }
.sp-marca--grande .sp-marca__txt em { font-size: 1.1rem; }
.sp-heroe { position: relative; padding: 1.3rem; border-radius: 22px; background: radial-gradient(circle at 10% 0%, rgba(255, 45, 149, .25), transparent 55%), radial-gradient(circle at 95% 20%, rgba(59, 156, 255, .25), transparent 55%), rgba(10, 14, 30, .7); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.sp-heroe::before { content: ''; position: absolute; inset: 0; border-radius: 22px; padding: 2px; background: var(--sp-grad); background-size: 300% 100%; animation: spBrillo 8s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.sp-heroe__frase { margin: .6rem 0 1rem; color: #e2e8f0; }
.sp-pedido textarea { width: 100%; border-radius: 16px; padding: .9rem 1rem; font-size: 1.05rem; background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .15); resize: vertical; }
.sp-pedido textarea:focus { outline: 2px solid var(--sp-rosa); }
.sp-pedido__fila { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; margin-top: .6rem; }
.sp-adj { display: flex; gap: .3rem; } .sp-adj img { width: 34px; height: 34px; object-fit: cover; border-radius: 8px; }
.sp-modos, .sp-formatos, .sp-tareas { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0; }
.sp-modo, .sp-fmt, .sp-tarea { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: #e2e8f0; padding: .45rem .8rem; border-radius: 999px; font-weight: 700; cursor: pointer; text-decoration: none; font-size: .88rem; transition: all .2s; }
.sp-modo:hover, .sp-fmt:hover, .sp-tarea:hover { border-color: var(--sp-nar); transform: translateY(-1px); }
.sp-modo.on, .sp-fmt.on, .sp-tarea.on { background: var(--sp-grad); background-size: 300% 100%; animation: spBrillo 6s linear infinite; color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(255, 45, 149, .35); }
.sp-crear { animation: spLatido 2.4s ease-in-out infinite; font-size: 1.05rem; }
.sp-accesos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; margin: 1.1rem 0; }
.sp-acceso { display: flex; flex-direction: column; gap: .2rem; padding: .9rem; border-radius: 18px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.sp-acceso span { font-size: 1.8rem; } .sp-acceso small { color: #cbd5e1; font-size: .78rem; }
.sp-acceso:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.sp-acceso--foto { border-color: rgba(255, 45, 149, .5); } .sp-acceso--video { border-color: rgba(255, 154, 26, .5); } .sp-acceso--diseno { border-color: rgba(59, 156, 255, .5); } .sp-acceso--audio { border-color: rgba(61, 207, 90, .5); }
.sp-acceso--campanas { background: linear-gradient(135deg, rgba(255, 45, 149, .18), rgba(255, 154, 26, .18)); }
.sp-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .7rem; }
.sp-rejilla--chica { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.sp-mini { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; text-align: start; cursor: pointer; padding: 0; }
.sp-mini__img { position: relative; aspect-ratio: 1; background: #0b1020; display: grid; place-items: center; overflow: hidden; }
.sp-mini__img.sp-fmt-9x16 { aspect-ratio: 9/16; } .sp-mini__img.sp-fmt-16x9 { aspect-ratio: 16/9; } .sp-mini__img.sp-fmt-4x5 { aspect-ratio: 4/5; }
.sp-mini__img img, .sp-mini__img video { width: 100%; height: 100%; object-fit: cover; }
.sp-mini__play { position: absolute; font-size: 1.6rem; text-shadow: 0 2px 8px #000; }
.sp-mini__ph { font-size: 2rem; }
.sp-mini__txt { padding: .55rem .65rem; display: flex; flex-direction: column; gap: .2rem; } .sp-mini__txt small { color: #94a3b8; }
.sp-chip-muro { font-size: .72rem; color: #fdba74; }
.sp-est { display: inline-block; font-size: .72rem; padding: .1rem .5rem; border-radius: 999px; font-weight: 800; width: fit-content; }
.sp-est--lista { background: rgba(61, 207, 90, .2); color: #86efac; } .sp-est--en_cola, .sp-est--generando { background: rgba(59, 156, 255, .2); color: #93c5fd; } .sp-est--fallo { background: rgba(239, 68, 68, .22); color: #fca5a5; }
.sp-giro { display: inline-block; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--sp-rosa); border-right-color: var(--sp-azul); animation: spGiro .9s linear infinite; }
.sp-giro--grande { width: 64px; height: 64px; border-width: 5px; }
.sp-espera { display: grid; place-items: center; gap: .6rem; padding: 2.5rem 1rem; text-align: center; min-height: 260px; }
.sp-ficha { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem; margin-top: .8rem; }
@media (max-width: 820px) { .sp-ficha { grid-template-columns: 1fr; } }
.sp-ficha__vista { border-radius: 18px; overflow: hidden; background: #050814; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .08); }
.sp-vista { width: 100%; max-height: 78vh; object-fit: contain; display: block; }
.sp-audio { display: grid; place-items: center; gap: 1rem; padding: 2rem; font-size: 3rem; } .sp-audio audio { width: 100%; }
.sp-acciones { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.sp-datos { display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; margin: .5rem 0; } .sp-datos dt { color: #94a3b8; font-weight: 700; } .sp-datos dd { margin: 0; word-break: break-word; }
.sp-versiones { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; }
.sp-ver { flex: 0 0 auto; width: 92px; display: flex; flex-direction: column; gap: .2rem; text-decoration: none; color: #cbd5e1; border-radius: 12px; padding: .3rem; border: 1px solid transparent; font-size: 1.6rem; text-align: center; }
.sp-ver img { width: 100%; height: 80px; object-fit: cover; border-radius: 9px; } .sp-ver small { font-size: .68rem; }
.sp-ver.on { border-color: var(--sp-rosa); background: rgba(255, 45, 149, .1); }
.sp-antesdespues { position: relative; } .sp-antesdespues img { width: 100%; display: block; border-radius: 12px; }
.sp-ad__sup { position: absolute; inset: 0; } .sp-antesdespues input { width: 100%; }
.sp-form { margin-top: .6rem; }
.sp-base, .sp-refs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .5rem 0; }
.sp-base__img img, .sp-ref img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); }
.sp-ref { position: relative; display: inline-block; } .sp-ref button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #ef4444; color: #fff; cursor: pointer; line-height: 1; }
.sp-declaro { background: rgba(255, 154, 26, .1); border-radius: 10px; padding: .5rem; }
.campo--check { display: flex; align-items: center; gap: .4rem; }
.sp-plantilla-act { display: flex; align-items: center; justify-content: space-between; padding: .5rem .8rem; border-radius: 12px; background: rgba(59, 156, 255, .15); margin-bottom: .5rem; font-weight: 700; }
.sp-estimado p { margin: .35rem 0; } .sp-costo { font-size: 1.15rem; }
.sp-filtros { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: .5rem 0 1rem; } .sp-filtros input[type=search] { flex: 1 1 180px; }
.sp-kit { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1rem; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; cursor: pointer; font-size: 2rem; }
.sp-kit img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 12px; } .sp-kit b { font-size: .95rem; } .sp-kit small { font-size: .75rem; color: #94a3b8; }
.sp-kit--nuevo { border-style: dashed; color: var(--sp-nar); }
.sp-colores { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; } .sp-colores i { width: 16px; height: 16px; border-radius: 50%; display: inline-block; border: 1px solid rgba(255, 255, 255, .3); }
.sp-color { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); cursor: pointer; } .sp-color.on { border-color: #fff; transform: scale(1.15); }
.sp-plantilla { display: flex; flex-direction: column; gap: .3rem; padding: 1rem; border-radius: 16px; text-decoration: none; color: #fff; background: linear-gradient(160deg, rgba(255, 45, 149, .14), rgba(59, 156, 255, .12)); border: 1px solid rgba(255, 255, 255, .1); transition: transform .2s; }
.sp-plantilla:hover { transform: translateY(-3px); } .sp-plantilla__ic { font-size: 2rem; } .sp-plantilla small { color: #cbd5e1; }
.sp-plantilla.sp-fmt-9x16 { border-color: rgba(255, 154, 26, .55); }
.sp-lista { display: flex; flex-direction: column; gap: .4rem; }
.sp-fila { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .65rem .8rem; border-radius: 12px; background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; }
.sp-concepto h3, .sp-concepto h4 { margin: .3rem 0; } .sp-lema { font-style: italic; font-size: 1.2rem; color: #fbcfe8; font-weight: 800; }
.sp-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; margin: .6rem 0; }
.sp-kpis div { padding: .8rem; border-radius: 14px; background: rgba(255, 255, 255, .05); display: flex; flex-direction: column; } .sp-kpis b { font-size: 1.4rem; }
.sp-motores { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .5rem; }
.sp-motor { display: flex; flex-direction: column; gap: .15rem; padding: .6rem .7rem; border-radius: 12px; background: rgba(255, 255, 255, .04); border-left: 4px solid #64748b; }
.sp-motor.ok { border-left-color: var(--sp-verde); } .sp-motor.no { opacity: .75; }
.sp-editor { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: 1rem; margin-top: .6rem; }
@media (max-width: 860px) { .sp-editor { grid-template-columns: 1fr; } }
.sp-editor__lienzo { background: repeating-conic-gradient(#1e293b 0 25%, #0f172a 0 50%) 0 0/20px 20px; border-radius: 16px; display: grid; place-items: center; padding: .6rem; position: sticky; top: .5rem; align-self: start; }
.sp-editor__lienzo canvas { max-width: 100%; max-height: 72vh; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.sp-editor__panel details { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: .5rem .7rem; margin-bottom: .5rem; } .sp-editor__panel summary { cursor: pointer; font-weight: 800; }
.sp-tx { border-top: 1px solid rgba(255, 255, 255, .1); padding: .5rem 0; } .sp-tx textarea { width: 100%; } .sp-tx label { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; }
.sp-tit { margin-top: .3rem; }
.espacio--spot { background: linear-gradient(140deg, rgba(255, 45, 149, .22), rgba(255, 154, 26, .18), rgba(59, 156, 255, .2)); border-color: rgba(255, 45, 149, .5) !important; }
.espacio--spot .sp-iso { width: 56px; height: 56px; }
