/* Capa de animaciones del panel. Todo cuelga de html.anim-on: si se apaga, el panel queda igual al real. */

/* ---------- Pastilla elástica (genérica) ---------- */
.anim-on .el-cont { position: relative; isolation: isolate; }
.el-pill { position: absolute; z-index: 0; pointer-events: none; will-change: left, top, width, height; }
.anim-on .el-cont > :not(.el-pill) { position: relative; z-index: 1; }

/* Menú de arriba */
.anim-on .nav .nav__it.is-activo { background: transparent; }
.anim-on .nav .nav__it { transition: color .2s; }
.anim-on .nav.el-viaja .nav__it.is-activo { color: var(--muted); }
.el-pill--nav { background: var(--ink); border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(16,24,40,.55); }

/* Barra de abajo (celu) */
.anim-on .tabbar .tabbar__it.is-activo .tabbar__p { background: transparent; }
.el-pill--tab { background: var(--blue-s); border-radius: 999px; }
.anim-on .tabbar__p { position: relative; z-index: 1; }

/* Lista de secciones del editor: la pastilla vive en el padre de la lista (el-host) y la lista va por encima */
.anim-on .el-host { position: relative; isolation: isolate; }
.anim-on .el-cont--filas { position: relative; z-index: 1; }
.anim-on .el-cont--filas > .fila { background: transparent; }
.anim-on .el-cont--filas > .fila.is-activa { background: transparent; box-shadow: none; }
.anim-on .el-cont--filas > .fila.is-elegida { background: #fff; }
.el-pill--fila { background: var(--blue-s); box-shadow: inset 0 0 0 1.5px var(--blue); border-radius: 20px; }

/* Botones de a dos (Celular / Compu, Editar / Ver mi web) */
.anim-on .seg .seg__b.is-on { background: transparent; box-shadow: none; }
.el-pill--seg { background: #fff; border-radius: 11px; box-shadow: 0 1px 2px rgba(16,24,40,.1), 0 4px 10px -4px rgba(16,24,40,.15); }

/* ---------- Gráficos ---------- */
.anim-on .graf.el-dibuja svg { animation: el-revela 1.25s cubic-bezier(.65,0,.35,1) both; animation-delay: var(--el-d, .25s); }
.anim-on .graf.el-dibuja .graf__punto { animation: el-punto .5s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(var(--el-d, .25s) + 1.1s); }
.anim-on .graf.el-dibuja .graf__eje-hoy { animation: el-sube .4s ease-out both; animation-delay: calc(var(--el-d, .25s) + 1.2s); }
@keyframes el-revela { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes el-punto { from { transform: translate(-50%, -50%) scale(0); } }
@keyframes el-sube { from { opacity: 0; transform: translateY(6px); } }
.anim-on .barras.el-dibuja i { transform-origin: 50% 100%; animation: el-barra .6s cubic-bezier(.34,1.4,.64,1) both; }
@keyframes el-barra { from { transform: scaleY(0); } }

/* ---------- Sello de "Publicado" ---------- */
.anim-on .pastilla.el-sello { position: relative; animation: el-sello .75s cubic-bezier(.2,1.6,.4,1) both; }
.anim-on .pastilla.el-sello::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; box-shadow: 0 0 0 2px var(--green); animation: el-onda .9s ease-out .15s both; pointer-events: none; }
.anim-on .pastilla.el-sello svg { animation: el-check .45s ease-out .3s both; }
@keyframes el-sello { 0% { transform: scale(1.9) rotate(-10deg); opacity: 0; } 55% { transform: scale(.94) rotate(1deg); opacity: 1; } 100% { transform: none; } }
@keyframes el-onda { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.6, 2.2); } }
@keyframes el-check { from { transform: scale(0) rotate(-45deg); } }
.el-chispa { position: fixed; z-index: 9999; width: 7px; height: 7px; border-radius: 2px; pointer-events: none; }
