/* Funnel de NEOS ART (/art, /team, /instalacion, /acceso). Usa los tokens del sistema de diseño (carbón y cal, Archivo e Inter).
   Una sola columna, pensada para el celular que llega desde ManyChat o un anuncio. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.f {
  overflow-x: clip; /* nada puede ensanchar la página en el celular */
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(244, 244, 240, 0.07), transparent 60%),
    var(--neos-background);
  color: var(--neos-text);
  font: 400 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.f-wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 20px 16px 56px; display: flex; flex-direction: column; align-items: center; }

/* Marca y encabezado */
.f-brand { font: 800 18px/1 "Archivo", system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.f-brand b { color: var(--neos-color-senal); font-weight: 800; }
.f-eyebrow {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border: 1px solid var(--neos-border); border-radius: 999px; background: rgba(34, 37, 42, 0.6);
  font: 600 11px/16px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neos-muted);
}
.f-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--neos-color-senal); box-shadow: 0 0 10px var(--neos-color-senal); }
.f h1 {
  margin: 16px 0 0; text-align: center; text-wrap: balance;
  font: 800 clamp(30px, 8.4vw, 44px)/1.05 "Archivo", system-ui, sans-serif; letter-spacing: -0.02em;
}
.f h1 mark { background: none; color: var(--neos-color-senal); }
.f-sub { margin: 14px 0 0; text-align: center; color: var(--neos-muted); font-size: 16px; max-width: 440px; }

/* Botón de compra: oculto hasta que el video llega a la oferta */
.f-cta { display: none; width: 100%; max-width: 460px; margin-top: 22px; flex-direction: column; align-items: center; gap: 10px; }
.f-cta.on { display: flex; animation: f-baja 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes f-baja { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.f-btn {
  width: 100%; min-height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 14px; background: var(--neos-color-cal); color: var(--neos-color-carbon); cursor: pointer;
  font: 800 19px/1 "Archivo", system-ui, sans-serif; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 0 0 4px rgba(244, 244, 240, 0.12), 0 18px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.f-btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 6px rgba(244, 244, 240, 0.16), 0 22px 46px rgba(0, 0, 0, 0.55); }
.f-btn:focus-visible { outline: 3px solid var(--neos-color-senal); outline-offset: 3px; }
.f-btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.f-btn svg { width: 20px; height: 20px; }
/* Botones en señal (amarillo) en todo el funnel para que resalten (decisión de Juan: /team el 25/10/2026 y el resto de las páginas
   el mismo día; excepción a la regla «nunca amarillo en botones» del sistema de diseño). El latido ya es amarillo (f-late). */
body.f .f-btn { background: var(--neos-color-senal); color: var(--neos-color-carbon); box-shadow: 0 0 0 4px rgba(255, 213, 0, 0.18), 0 18px 40px rgba(0, 0, 0, 0.5); }
body.f .f-btn:hover { box-shadow: 0 0 0 6px rgba(255, 213, 0, 0.26), 0 22px 46px rgba(0, 0, 0, 0.55); }
body.f .f-btn:focus-visible { outline-color: var(--neos-color-cal); }
/* Si un texto no entra en un renglón, se parte parejo; los botones de las tarjetas de /acceso van al tamaño de los de los pasos. */
body.f .f-btn { text-wrap: balance; }
.f-card > .f-btn { min-height: 52px; font-size: 16px; }
.f-precio { margin: 0; text-align: center; font-size: 14px; color: var(--neos-muted); }
.f-precio strong { color: var(--neos-text); font-weight: 700; }
.f-aviso { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--neos-warning-bg); color: var(--neos-warning); font-size: 14px; text-align: center; }
.f-no { margin-top: 4px; padding: 8px; background: none; border: 0; color: var(--neos-muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Cuando aparece la oferta: el botón entra de golpe, late y lo cruza un brillo; chispas alrededor y reloj rojo */
.f-cta { position: relative; }
/* el confeti no puede ser más ancho que la pantalla: a 520 px desbordaba en el celular y la página se veía achicada (86 %) */
.f-chispas { position: absolute; left: 50%; top: 50%; width: min(520px, 100vw); height: 420px; transform: translate(-50%, -50%); pointer-events: none; z-index: 2; }
.f-cta.on .f-btn--oferta { animation: f-pop 0.7s cubic-bezier(0.2, 1.4, 0.3, 1) both, f-late 1.6s ease-in-out 0.8s infinite; }
@keyframes f-pop { 0% { transform: scale(0.5); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes f-late {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 213, 0, 0.35), 0 18px 40px rgba(0, 0, 0, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(255, 213, 0, 0), 0 0 46px rgba(255, 213, 0, 0.45); }
}
.f-btn--oferta { position: relative; overflow: hidden; }
.f-btn--oferta::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: skewX(-20deg); animation: f-brillo 2.8s ease-in-out 1s infinite;
}
@keyframes f-brillo { 0% { left: -60%; } 45%, 100% { left: 130%; } }
.f-reloj {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 77, 61, 0.6);
  background: rgba(196, 39, 27, 0.18); color: #FF7A6E; font-size: 14px; font-weight: 600;
  animation: f-baja 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.f-reloj__num { font: 800 24px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #FF4D3D; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.f-reloj--apurado { animation: f-titila 0.9s ease-in-out infinite; }
@keyframes f-titila { 0%, 100% { background: rgba(196, 39, 27, 0.18); } 50% { background: rgba(196, 39, 27, 0.42); } }
.f-reloj--vencido { border-color: var(--neos-border); background: rgba(34, 37, 42, 0.7); color: var(--neos-muted); animation: f-sacude 0.4s ease both; }
.f-reloj--vencido .f-reloj__num { display: none; }
@keyframes f-sacude { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Video vertical tipo celular */
.f-video {
  position: relative; width: min(100%, 360px); aspect-ratio: 9 / 16; margin-top: 22px; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--neos-border); background: #000; box-shadow: var(--neos-shadow-soft);
}
.f-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 0; background: rgba(10, 11, 13, 0.35); color: var(--neos-color-cal); cursor: pointer; font: 700 16px/1 "Archivo", system-ui, sans-serif;
}
.f-play span:first-child {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--neos-color-cal); color: var(--neos-color-carbon); box-shadow: 0 0 0 10px rgba(244, 244, 240, 0.18);
}
.f-play svg { width: 30px; height: 30px; } /* el triángulo ya está centrado por su peso en el dibujo: sin margen extra */
.f-play[hidden] { display: none; }
.f-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(244, 244, 240, 0.15); }
.f-barra span { display: block; height: 100%; background: var(--neos-color-senal); transform-origin: left; transform: scaleX(0); }
.f-cargando { position: absolute; inset: 0; display: grid; place-items: center; color: var(--neos-muted); font-size: 14px; }
/* Arranque en mute (como VTurb): el video corre sin sonido y un aviso amarillo titila hasta que lo tocan */
.f-sonido {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: max-content; max-width: 82%; padding: 18px 24px; border: 0; border-radius: 20px; cursor: pointer; text-align: center;
  background: var(--neos-color-senal); color: var(--neos-color-carbon); font: 800 18px/1.15 "Archivo", system-ui, sans-serif;
  animation: f-sonido-late 1.1s ease-in-out infinite;
}
.f-sonido[hidden] { display: none; }
.f-sonido__ico svg { width: 36px; height: 36px; display: block; }
.f-sonido__t2 { font-weight: 600; font-size: 14px; }
@keyframes f-sonido-late {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(255, 213, 0, 0.6), 0 14px 34px rgba(0, 0, 0, 0.5); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 18px rgba(255, 213, 0, 0), 0 14px 34px rgba(0, 0, 0, 0.5); opacity: 0.85; }
}

/* Al terminar el video: «Este video se autoeliminará», cuenta 3-2-1 y explota en pedazos; queda el botón y el reloj */
.f-fin {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(circle, rgba(120, 10, 6, 0.55), rgba(10, 2, 2, 0.85)); color: var(--neos-color-cal); text-align: center;
  animation: f-fin-tiembla 0.12s steps(2) infinite;
}
.f-fin[hidden] { display: none; }
.f-fin p { margin: 0 24px; font: 800 20px/1.2 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: 0.04em; }
.f-fin b { font: 900 104px/1 "Archivo", system-ui, sans-serif; color: #ff4d3d; text-shadow: 0 0 30px rgba(255, 77, 61, 0.7); animation: f-fin-num 0.7s ease-out infinite; }
@keyframes f-fin-tiembla { 50% { transform: translate(1px, -1px); } }
@keyframes f-fin-num { 0% { transform: scale(1.4); opacity: 0.4; } 30% { transform: scale(1); opacity: 1; } }
.f-trozos { position: fixed; inset: 0; z-index: 50; width: 100vw; height: 100vh; pointer-events: none; }
.f-trozos[hidden] { display: none; }
.f-video.borrado { overflow: visible; border-color: transparent; background: transparent; box-shadow: none; transition: height 0.5s ease 0.9s, margin 0.5s ease 0.9s; }
.f-cta.foco .f-btn--oferta { animation: f-late 1s ease-in-out infinite; }
/* Compras de verdad (Stripe, modo real), como el aviso de Blue Forms: abajo a la izquierda, entra desde el borde, se queda
   unos segundos y se vuelve por donde vino. Sin nombres: el país y hace cuánto. Con aire propio, sin pegarse al filo. */
.f-compra {
  position: fixed; left: 28px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 10px;
  max-width: min(340px, calc(100vw - 56px)); padding: 11px 16px 11px 11px; border-radius: 13px;
  background: #22252a; border: 1px solid var(--neos-border); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0; transform: translateX(calc(-100% - 40px)); pointer-events: none; text-align: left;
  transition: opacity 220ms cubic-bezier(0.4, 0, 1, 1), transform 320ms cubic-bezier(0.4, 0, 1, 1);
}
.f-compra.on { opacity: 1; transform: none; transition: opacity 260ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.f-compra__ok { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(61, 220, 132, 0.16); color: #3ddc84; }
.f-compra__ok svg { width: 14px; height: 14px; }
.f-compra__txt b { display: block; font-size: 12.5px; font-weight: 600; color: var(--neos-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-compra__txt small { display: flex; align-items: center; gap: 4px; margin-top: 1px; font-size: 11px; color: var(--neos-muted); }
.f-compra__sello { width: 12px; height: 12px; flex: none; }
.f-compra__sello circle { fill: #2f80ed; }
.f-compra__sello path { fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 520px) { .f-compra { left: 18px; bottom: 18px; max-width: calc(100vw - 36px); } }

/* Bloques de upsell y acceso */
.f-card { width: 100%; margin-top: 22px; padding: 20px; border: 1px solid var(--neos-border); border-radius: 18px; background: rgba(34, 37, 42, 0.55); }
.f-card h2 { margin: 0 0 12px; font: 800 18px/1.2 "Archivo", system-ui, sans-serif; }
.f-lista { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.f-lista li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.f-lista svg { width: 20px; height: 20px; margin-top: 2px; color: var(--neos-color-senal); }
.f-agente { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--neos-border); }
.f-agente:first-child { border-top: 0; padding-top: 0; }
.f-agente b { font-weight: 700; }
.f-agente small { grid-column: 1 / -1; color: var(--neos-muted); font-size: 14px; }
.f-chip { font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--neos-border); color: var(--neos-muted); white-space: nowrap; }
.f-chip--on { background: var(--neos-color-senal); border-color: var(--neos-color-senal); color: var(--neos-color-carbon); }
.f-nota { margin: 14px 0 0; color: var(--neos-muted); font-size: 14px; }
.f-pasos { margin: 0; padding: 0; list-style: none; counter-reset: paso; display: grid; gap: 16px; }
.f-pasos li { counter-increment: paso; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.f-pasos li::before { content: counter(paso); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--neos-color-cal); color: var(--neos-color-carbon); font: 800 15px/1 "Archivo", system-ui, sans-serif; }
.f-pasos p { margin: 4px 0 0; color: var(--neos-muted); font-size: 15px; }
.f-pasos .f-btn { margin-top: 12px; min-height: 52px; font-size: 16px; }
.f-compras { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
/* /acceso «Suma lo que te faltó»: cada oferta que no compró, con su botón a la derecha */
.f-falta { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--neos-border); }
.f-falta:first-child { border-top: 0; padding-top: 0; }
.f-falta b { font-weight: 700; }
.f-falta small { display: block; margin-top: 2px; color: var(--neos-muted); font-size: 14px; }
body.f .f-falta .f-btn { width: auto; min-height: 44px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.f-pie { margin-top: 40px; color: var(--neos-muted); font-size: 13px; text-align: center; }
.f-pie a { text-underline-offset: 3px; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .f-cta.on, .f-cta.on .f-btn--oferta, .f-reloj, .f-reloj--apurado, .f-reloj--vencido, .f-sonido, .f-fin, .f-fin b, .f-cta.foco .f-btn--oferta { animation: none; }
  .f-compra, .f-compra.on { transition: none; }
  .f-btn--oferta::after { display: none; }
  .f-btn { transition: none; }
}

/* ---------- /team: el squad en semicírculo, el valor apilado y las fichas ---------- */
.t-squad { width: 100%; margin-top: 14px; display: flex; flex-direction: column; align-items: center; }
.t-escena {
  --lado: min(68vw, 290px);
  position: relative; width: 100%; height: calc(var(--lado) * 1.06); margin-top: -8px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
/* el arco por el que giran: la mitad de abajo de una elipse (la base de cada agente pasa por ella) */
.t-pista {
  position: absolute; left: 50%; bottom: calc(var(--lado) * 0.16); width: calc(var(--rx, 140px) * 2); height: calc(var(--ry, 100px) * 2);
  transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(244, 244, 240, 0.14);
  clip-path: inset(50% -2px -2px -2px);
}
/* luz de piso bajo el agente del frente */
.t-piso {
  position: absolute; left: 50%; bottom: calc(var(--lado) * 0.14); width: calc(var(--lado) * 0.8); height: calc(var(--lado) * 0.16);
  transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(244, 244, 240, 0.22), rgba(255, 213, 0, 0.05) 60%, transparent);
  filter: blur(4px);
}
.t-slot {
  position: absolute; left: 50%; bottom: 0; width: var(--lado); height: var(--lado); padding: 0; margin: 0;
  border: 0; border-radius: 50%; background: none; cursor: pointer; transform-origin: 50% 100%; will-change: transform, opacity;
  filter: brightness(var(--luz, 1));
}
.t-slot:focus-visible { outline: 3px solid var(--neos-focus); outline-offset: -12px; }
/* volumen: cada agente apoya en su sombra y oscurece un poco al que tiene detrás (así no parecen recortes pegados uno encima del otro) */
.t-slot::before, .t-slot::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.t-slot::before { left: 25%; right: 25%; bottom: 8%; height: 9%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0)); }
.t-slot::after { left: 22%; right: 22%; top: 30%; bottom: 11%; background: radial-gradient(closest-side, rgba(6, 7, 9, 0.5) 62%, rgba(6, 7, 9, 0)); }
.t-pj { position: relative; display: block; width: 100%; height: 100%; pointer-events: none; }
.t-pj video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; background: transparent;
  transform: scale(var(--pj-escala, 1)); transform-origin: 50% 86%; }   /* con la escala de config.js, achicado desde los pies: no flota */   /* sin fundido: un fundido entre dos poses distintas se ve doble */
.t-pj__baile { opacity: 0; }
.t-pj.is-bailando .t-pj__baile { opacity: 1; }
.t-pj.is-bailando .t-pj__loop { opacity: 0; }
.t-ficha__fig { cursor: pointer; }
.t-mando { width: 100%; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; margin-top: 2px; }
.t-frente { min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.t-frente b { font: 800 26px/1.1 "Archivo", system-ui, sans-serif; letter-spacing: -0.01em; }
.t-frente small { color: var(--neos-muted); font-size: 14px; line-height: 1.4; max-width: 300px; }
.t-frente--entra > * { animation: f-baja 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.t-frente--entra > :nth-child(2) { animation-delay: 0.05s; }
.t-frente--entra > :nth-child(3) { animation-delay: 0.1s; }
.t-flecha {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--neos-input-border); background: rgba(34, 37, 42, 0.6); color: var(--neos-text);
}
.t-flecha svg { width: 18px; height: 18px; }
.t-flecha:focus-visible { outline: 3px solid var(--neos-focus); outline-offset: 3px; }
.t-puntos { display: flex; gap: 6px; margin-top: 8px; }
.t-puntos i { width: 6px; height: 6px; border-radius: 999px; background: rgba(244, 244, 240, 0.25); transition: width 0.24s ease, background 0.24s ease; }
.t-puntos i.on { width: 18px; background: var(--neos-color-senal); }

/* el valor apilado: una boleta con cada agente a su precio */
.t-valor { width: 100%; margin-top: 22px; padding: 20px; border: 1px solid var(--neos-border); border-radius: 18px; background: rgba(34, 37, 42, 0.55); }
.t-valor h2 { margin: 0; font: 800 18px/1.2 "Archivo", system-ui, sans-serif; }
.t-valor__base { margin: 6px 0 14px; color: var(--neos-muted); font-size: 14px; }
.t-valor__base b { color: var(--neos-text); }
.t-recibo { margin: 0; padding: 0; list-style: none; }
.t-recibo li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--neos-border); font-size: 15px; }
.t-recibo li span:first-child { flex: 1; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.t-recibo li span:last-child { font-variant-numeric: tabular-nums; color: var(--neos-muted); }
.t-recibo em { font: 600 10px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase; font-style: normal; color: var(--neos-success); }
.t-suma, .t-team { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.t-suma { padding: 12px 0 4px; color: var(--neos-muted); font-size: 15px; }
.t-suma s { position: relative; font: 700 20px/1 "Archivo", system-ui, sans-serif; text-decoration: none; color: var(--neos-muted); }
.t-suma s::after { content: ''; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 2px; background: #FF4D3D; transform: scaleX(1); transform-origin: left; }
.t-team { padding-top: 6px; font-weight: 700; }
.t-team strong { font: 800 40px/1 "Archivo", system-ui, sans-serif; letter-spacing: -0.02em; color: var(--neos-color-senal); }
.t-ahorro { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--neos-warning-bg); color: var(--neos-text); font-size: 14px; text-align: center; }
.t-ahorro b { color: var(--neos-color-senal); font-weight: 800; }

/* las fichas: el personaje vivo, qué hace y tres beneficios */
.t-fichas { width: 100%; margin-top: 34px; }
.t-fichas > h2 { margin: 0 0 6px; text-align: center; font: 800 24px/1.15 "Archivo", system-ui, sans-serif; }
.t-ficha { display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--neos-border); scroll-margin-top: 80px; }
.t-ficha:last-child { border-bottom: 0; }
.t-ficha__fig { position: relative; width: 118px; height: 118px; }
.t-ficha__fig::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 8%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 244, 240, 0.16), transparent); z-index: -1; }
.t-ficha__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.t-ficha h3 { margin: 0; font: 800 19px/1.15 "Archivo", system-ui, sans-serif; }
.t-ficha p { margin: 0; color: var(--neos-muted); font-size: 14px; }
.t-ficha__lista { gap: 6px; margin-top: 2px; }
.t-ficha__lista li { grid-template-columns: 18px 1fr; gap: 8px; font-size: 14px; line-height: 1.4; }
.t-ficha__lista svg { width: 16px; height: 16px; margin-top: 1px; }
.t-cta-final { margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  .t-frente--entra > * { animation: none; }
  .t-puntos i { transition: none; }
}

/* «Incluido hoy»: verde y con check (ya lo tiene) */
.f-chip--ok { display: inline-flex; align-items: center; gap: 6px; background: var(--neos-success-bg); border-color: rgba(74, 222, 128, 0.45); color: var(--neos-success); }
.f-chip--ok svg { width: 12px; height: 12px; }

/* la ficha entera se toca: abre la vista del agente */
.t-ficha { cursor: pointer; }
.t-ficha:focus-visible { outline: 3px solid var(--neos-focus); outline-offset: 4px; }
.t-ficha__mas { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--neos-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 244, 240, 0.35); }
.t-ficha__mas svg { width: 14px; height: 14px; }

/* la vista de cada agente */
html.t-sin-scroll, html.t-sin-scroll body { overflow: hidden; }
.t-det { position: fixed; inset: 0; z-index: 60; }
.t-det__fondo { position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% -10%, rgba(244, 244, 240, 0.07), transparent 60%), var(--neos-background); }
.t-det__scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.t-det__barra { position: sticky; top: 0; z-index: 3; padding: 12px 16px 22px; padding-top: max(12px, env(safe-area-inset-top)); background: linear-gradient(var(--neos-background) 62%, rgba(10, 11, 13, 0)); }
.t-det__volver {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--neos-input-border); background: rgba(10, 11, 13, 0.75); color: var(--neos-text); font: 500 15px/1 "Inter", system-ui, sans-serif;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.t-det__volver svg { width: 18px; height: 18px; }
.t-det__volver:focus-visible { outline: 3px solid var(--neos-focus); outline-offset: 3px; }
.t-det__escena { position: relative; width: min(68vw, 300px); aspect-ratio: 1; margin: -8px auto 0; }
.t-det__escena::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 10%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 244, 240, 0.18), transparent); z-index: -1; }
.t-det__pj { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.t-det__cuerpo { position: relative; max-width: 560px; margin: 0 auto; padding: 4px 16px 140px; display: flex; flex-direction: column; align-items: flex-start; }
.t-det__nombre { margin: 10px 0 0; font: 800 34px/1.05 "Archivo", system-ui, sans-serif; letter-spacing: -0.02em; }
.t-det__texto { margin: 10px 0 0; color: var(--neos-muted); font-size: 16px; }
.t-det__pasos { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 10px; width: 100%; }
.t-det__pasos li { counter-increment: p; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; font-size: 15px; }
.t-det__pasos li::before { content: counter(p); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--neos-color-cal); color: var(--neos-color-carbon); font: 800 14px/1 "Archivo", system-ui, sans-serif; }
.t-det__sub { margin: 26px 0 10px; font: 800 20px/1.2 "Archivo", system-ui, sans-serif; }
.t-det__cta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 14px 16px; padding-bottom: max(14px, env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--neos-background) 62%, rgba(10, 11, 13, 0)); }
.t-det__cta .f-btn { max-width: 460px; margin: 0 auto; display: flex; }

/* el ejemplo en vivo */
.t-demo { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.t-demo__nota { margin: 10px 0 0; color: var(--neos-muted); font-size: 12px; }
.t-chat__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--neos-color-cal); color: var(--neos-color-carbon); font: 800 15px/1 "Archivo", system-ui, sans-serif; }


/* NEOS Finanzas: el panel */
.t-panel__cab { display: flex; justify-content: space-between; align-items: baseline; }
.t-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.t-kpis div { padding: 10px; border-radius: 12px; background: #15171B; display: flex; flex-direction: column; gap: 4px; }
.t-kpis small { color: var(--neos-muted); font-size: 11px; }
.t-kpis b { font: 800 16px/1.1 "Archivo", system-ui, sans-serif; transition: color 0.3s ease; }
.t-kpis b.ok { color: var(--neos-success); }
.t-tarjetas { display: flex; flex-direction: column; gap: 6px; }
.t-tarjetas div { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: #15171B; font-size: 13px; }
.t-tarjetas small { color: var(--neos-muted); grid-row: 2; }
.t-tarjetas span { grid-row: 1 / 3; align-self: center; font-weight: 700; }

/* NEOS Vendedor: el aviso al dueño */

/* NEOS Estratega: el plan */

/* NEOS Publicista: los anuncios y qué hacer con ellos */

@media (prefers-reduced-motion: reduce) {
  .t-escribe i { animation: none; }
  .t-ficha, .t-aviso-venta, .t-anuncio, .t-resultados, .t-transcripcion p { transition: none; }
}
.f h1 [data-h1-desc] mark { white-space: nowrap; }

/* NEOS Finanzas, como Moneo: botones de Telegram, disponible real y proyección */
.t-tg__botones { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; }
.t-tg__b { padding: 7px 8px; border-radius: 10px; background: rgba(244, 244, 240, 0.08); text-align: center; font-size: 13px; color: #8CC4F5; transition: background 0.2s ease, transform 0.2s ease; }
.t-tg__b.tocado { background: rgba(140, 196, 245, 0.28); transform: scale(0.96); }
.t-kpis b.ojo { color: var(--neos-color-senal); }
.t-dispo { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: #15171B; }
.t-dispo i { height: 100%; transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.t-dispo .disp { background: var(--neos-success); }
.t-dispo .comp { background: var(--neos-color-senal); }
.t-proy { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: #15171B; font-size: 13px; }
.t-proy > div:first-child { display: flex; justify-content: space-between; gap: 10px; }
.t-proy small { color: var(--neos-muted); }
.t-prog { height: 8px; border-radius: 999px; background: rgba(244, 244, 240, 0.1); overflow: hidden; }
.t-prog i { display: block; height: 100%; width: 0; background: var(--neos-color-cal); transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* el paso del agente: el indicador de carga del sistema de diseño que se completa en verde con su check */
.t-paso { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--neos-muted); opacity: 0.45; transition: opacity var(--neos-duration-base) ease, color var(--neos-duration-base) ease; }
.t-paso.trabajando, .t-paso.listo { opacity: 1; color: var(--neos-text); }
.t-anillo { width: 22px; height: 22px; flex: none; display: block; }
.t-anillo svg { width: 100%; height: 100%; display: block; overflow: visible; }
.t-anillo circle { fill: none; stroke-width: 2; }
.t-anillo .pista { stroke: currentColor; opacity: 0.2; transition: fill var(--neos-duration-slow) ease; }
.t-anillo .giro { transform-origin: 12px 12px; }
.t-anillo .arco { stroke: var(--neos-text); stroke-linecap: round; stroke-dasharray: 62.83; stroke-dashoffset: 62.83; transform: rotate(-90deg); transform-origin: 12px 12px;
  transition: stroke-dashoffset var(--neos-duration-slow) var(--neos-ease-out), stroke var(--neos-duration-base) ease; }
.t-anillo .tilde { fill: none; stroke: var(--neos-success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14;
  transition: stroke-dashoffset 0.3s var(--neos-ease-out) 0.28s; }
.t-paso.trabajando .arco { stroke-dashoffset: 47; }
.t-paso.trabajando .giro, .t-paso.listo .giro { animation: t-giro 900ms linear infinite; }
.t-paso.listo .giro { animation-play-state: paused; }
.t-paso.listo .arco { stroke-dashoffset: 0; stroke: var(--neos-success); }
.t-paso.listo .pista { fill: var(--neos-success-bg); }
.t-paso.listo .tilde { stroke-dashoffset: 0; }
.t-paso.listo .t-anillo { animation: t-pop-anillo 0.42s var(--neos-ease-spring) 0.3s both; }
@keyframes t-giro { to { transform: rotate(360deg); } }
@keyframes t-pop-anillo { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* reels reales (videos verticales) */

/* NEOS EDITOR: el video largo que se analiza */

/* NEOS PUBLICISTA */

/* la boleta se revela sola al llegar */
.t-boleta .t-fila { opacity: 0; transform: translateX(-10px); transition: opacity 0.4s var(--neos-ease-out), transform 0.5s var(--neos-ease-out); }
.t-boleta .t-fila.on { opacity: 1; transform: none; }
.t-boleta .t-suma s::after { transform: scaleX(0); transition: transform 0.45s var(--neos-ease-in-out); }
.t-boleta.tachado .t-suma s::after { transform: scaleX(1); }
.t-boleta .t-team { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.5s var(--neos-ease-spring); }
.t-boleta.precio-on .t-team { opacity: 1; transform: none; }
.t-boleta.precio-on .t-team strong { animation: t-brilla 1.2s ease-out 0.6s both; }
@keyframes t-brilla { 0% { text-shadow: 0 0 0 rgba(255, 213, 0, 0); } 40% { text-shadow: 0 0 26px rgba(255, 213, 0, 0.7); } 100% { text-shadow: 0 0 0 rgba(255, 213, 0, 0); } }
.t-boleta .t-ahorro { opacity: 0; transform: scale(0.96); transition: opacity 0.4s ease, transform 0.5s var(--neos-ease-spring); }
.t-boleta.ahorro-on .t-ahorro { opacity: 1; transform: none; }

/* las secciones aparecen al bajar */
.t-rev { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--neos-ease-out), transform 0.7s var(--neos-ease-out); }
.t-rev.on { opacity: 1; transform: none; }
.f-card.t-rev .f-lista li { opacity: 0; transform: translateX(-8px); transition: opacity 0.4s ease, transform 0.5s var(--neos-ease-out); }
.f-card.t-rev.on .f-lista li { opacity: 1; transform: none; }
.f-card.t-rev.on .f-lista li:nth-child(2) { transition-delay: 0.12s; }
.f-card.t-rev.on .f-lista li:nth-child(3) { transition-delay: 0.24s; }
.f-card.t-rev.on .f-lista li:nth-child(4) { transition-delay: 0.36s; }
.t-ficha__mas svg { animation: t-empuja 1.8s var(--neos-ease-in-out) infinite; }
@keyframes t-empuja { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

@media (prefers-reduced-motion: reduce) {
  .t-paso .giro, .t-paso.listo .t-anillo, .t-fuente__scan, .t-fuente.analizando .t-fuente__barra i, .t-ficha__mas svg, .t-boleta.precio-on .t-team strong { animation: none; }
  .t-reelv, .t-rev, .t-boleta .t-fila, .t-boleta .t-team, .t-boleta .t-ahorro { opacity: 1; transform: none; transition: none; }
}

/* el botón del TEAM entra en un renglón en cualquier celular */
body[data-pagina="team"] .f-btn { font-size: clamp(15px, 4.4vw, 19px); letter-spacing: 0.02em; }
/* «Ver cómo funciona» bajo el agente del frente */
.t-frente__ver { margin-top: 2px; padding: 6px 4px; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  color: var(--neos-text); font: 600 13px/1 "Inter", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 244, 240, 0.35); }
.t-frente__ver svg { width: 14px; height: 14px; animation: t-empuja 1.8s var(--neos-ease-in-out) infinite; }
.t-frente__ver:focus-visible { outline: 3px solid var(--neos-focus); outline-offset: 2px; border-radius: 6px; }
.t-frente { min-height: 116px; }
/* la barra fija con el botón, abajo */
.t-fijo { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--neos-background) 60%, rgba(10, 11, 13, 0)); transform: translateY(110%); transition: transform 0.45s var(--neos-ease-out); pointer-events: none; }
.t-fijo.on { transform: none; pointer-events: auto; }
.t-fijo .f-btn { max-width: 460px; margin: 0 auto; display: flex; min-height: 54px; }
@media (prefers-reduced-motion: reduce) { .t-fijo { transition: none; } .t-frente__ver svg { animation: none; } }

/* ---------- el escenario paso a paso (los ejemplos en vivo, como motion graphics) ---------- */
.t-esc { width: 100%; container-type: inline-size; border: 1px solid var(--neos-border); border-radius: 22px; background: #0F1114; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.t-esc__tira { margin: 0; padding: 0; list-style: none; display: flex; justify-content: space-between; gap: 4px; position: relative; }
.t-esc__tira::before { content: ''; position: absolute; left: 6%; right: 6%; top: 11px; height: 1px; background: var(--neos-border); }
.t-esc__tira li { position: relative; flex: 1; display: flex; justify-content: center; }
.t-esc__tira .t-paso { flex-direction: column; gap: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; text-align: center; opacity: 0.4; }
.t-esc__tira .t-anillo { background: #0F1114; border-radius: 50%; }
.t-esc__capas { position: relative; aspect-ratio: 1 / 1.08; border-radius: 16px; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 0%, rgba(244, 244, 240, 0.06), transparent 70%), #121418; }
.t-esc__leyenda { margin: 0; min-height: 2.6em; text-align: center; font: 700 15px/1.3 "Archivo", system-ui, sans-serif; color: var(--neos-text); }
.t-esc__leyenda.on { animation: t-leyenda 0.5s var(--neos-ease-out) both; }
@keyframes t-leyenda { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.t-capa { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 6%;
  opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.45s ease, transform 0.6s var(--neos-ease-out); }
.t-capa.on { opacity: 1; transform: none; }
.t-capa.sale { opacity: 0; transform: translateY(-16px) scale(0.98); transition-duration: 0.35s; }
.t-capa > * { width: 100%; }
/* piezas animadas: cada una entra con su retardo --d */
.t-a { animation: t-a-entra 0.55s var(--neos-ease-out) var(--d, 0ms) both; }
.t-a--pop { animation-name: t-a-pop; animation-timing-function: var(--neos-ease-spring); }
.t-a--izq { animation-name: t-a-izq; }
.t-a--cae { animation-name: t-a-cae; animation-duration: 0.75s; animation-timing-function: var(--neos-ease-spring); }
.t-a--sello { animation-name: t-a-sello; animation-duration: 0.45s; animation-timing-function: var(--neos-ease-spring); }
@keyframes t-a-entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes t-a-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes t-a-izq { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes t-a-cae { from { opacity: 0; transform: translateY(-70px) scale(0.92) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes t-a-sello { 0% { opacity: 0; transform: scale(2) rotate(-12deg); } 70% { opacity: 1; transform: scale(0.94) rotate(-4deg); } 100% { opacity: 1; transform: rotate(-4deg); } }
.t-tipeo { display: inline-block; animation: t-tipeo 0.9s steps(28) var(--d, 0ms) both; }
@keyframes t-tipeo { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.t-pin { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--neos-success); color: #062B14; box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.18); }
.t-pin svg { width: 60%; height: 60%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.t-pin--chico { width: 30px; height: 30px; flex: none; box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.18); }
.t-cuenta { margin: 0; text-align: center; font-size: 14px; color: var(--neos-muted); }
.t-cuenta b { color: var(--neos-color-senal); font: 800 18px/1 "Archivo", system-ui, sans-serif; }

/* el podcast horizontal (16:9): dos personas que hablan */
.t-pod { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 12px; overflow: hidden;
  background: radial-gradient(60% 80% at 50% 0%, #2B3242, transparent), linear-gradient(#1C212C, #0E1015); border: 1px solid #2A2F38; }
.t-pod__rec { position: absolute; left: 4%; top: 6%; display: flex; align-items: center; gap: 4px; font: 700 7cqw/1 ui-monospace, Menlo, monospace; font-size: clamp(8px, 2.6cqw, 11px); color: #FF7A6E; }
.t-pod__rec i { width: 6px; height: 6px; border-radius: 50%; background: #FF4D3D; animation: t-rec 1s steps(2) infinite; }
@keyframes t-rec { 50% { opacity: 0; } }
.t-pod__ep { position: absolute; right: 4%; top: 6%; font: 800 clamp(8px, 2.6cqw, 11px)/1 "Archivo", system-ui, sans-serif; color: var(--neos-color-senal); }
.t-pod__p { position: absolute; bottom: 14%; width: 24%; height: 62%; }
.t-pod__p--a { left: 16%; } .t-pod__p--b { right: 16%; }
.t-pod__p .c { position: absolute; left: 50%; top: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: #E9C7A8; animation: t-habla 0.5s ease-in-out infinite alternate; }
.t-pod__p--b .c { background: #C9967A; animation-delay: 0.25s; }
.t-pod__p .b { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; border-radius: 40% 40% 8px 8px; background: #3F7CFF; }
.t-pod__p--b .b { background: #FF9A1F; }
@keyframes t-habla { from { transform: translateX(-50%) translateY(0); } to { transform: translateX(-50%) translateY(-6%) rotate(-3deg); } }
.t-pod__mic { position: absolute; bottom: 14%; width: 3%; height: 22%; background: #555C64; border-radius: 2px; }
.t-pod__mic::before { content: ''; position: absolute; left: 50%; top: -30%; width: 260%; aspect-ratio: 1 / 1.4; border-radius: 40%; transform: translateX(-50%); background: #2A2F38; border: 1px solid #555C64; }
.t-pod__mic--a { left: 38%; } .t-pod__mic--b { right: 38%; }
.t-pod__mesa { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: #2A1F18; border-top: 2px solid #3A2C22; }
.t-pod--mini { width: 38%; flex: none; }
/* NEOS EDITOR: subir, transcribir, elegir, cortar y los reels */
.t-subir { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.t-zona { position: absolute; inset: -14% -2% -6%; border: 2px dashed rgba(244, 244, 240, 0.22); border-radius: 18px; display: flex; align-items: flex-start; justify-content: center; padding-top: 4%; }
.t-zona span { font-size: 12px; color: var(--neos-muted); }
.t-subir__video { width: 86%; display: flex; flex-direction: column; gap: 6px; }
.t-subir__nombre { font-size: 12px; color: var(--neos-muted); text-align: center; }
.t-subida { width: 70%; height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--neos-text) 14%, transparent); overflow: hidden; }
.t-subida i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--neos-text); animation: t-sube 1.3s var(--neos-ease-in-out) 1s forwards, t-sube-ok 0.3s ease 2.3s forwards; }
@keyframes t-sube { to { width: 100%; } }
@keyframes t-sube-ok { to { background: var(--neos-success); } }
.t-subir .t-pin { position: absolute; top: 30%; }
.t-trans { display: flex; flex-direction: column; gap: 10px; height: 100%; justify-content: center; }
.t-trans__top { display: flex; align-items: center; gap: 10px; }
.t-onda3 { flex: 1; display: flex; align-items: center; gap: 2px; height: 46px; }
.t-onda3 i { flex: 1; height: var(--h); border-radius: 2px; background: rgba(244, 244, 240, 0.4); }
.t-onda3--viva i { animation: t-onda3 0.9s ease-in-out calc(var(--k) * -70ms) infinite alternate; }
.t-onda3--grande { height: 90px; width: 100%; }
.t-onda3--grande i { background: var(--neos-color-senal); }
@keyframes t-onda3 { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
.t-trans__lineas { display: flex; flex-direction: column; gap: 6px; }
.t-lin { margin: 0; display: flex; gap: 8px; align-items: baseline; padding: 6px 8px; border-radius: 10px; font-size: 13px; line-height: 1.35; position: relative; transition: all 0.4s ease; }
.t-lin time { flex: none; font: 600 10px/1 ui-monospace, Menlo, monospace; color: var(--neos-muted); }
.t-lin--apagada { opacity: 0.35; }
.t-lin--elegida { animation: t-elegida 0.6s var(--neos-ease-out) var(--d, 0ms) both; }
@keyframes t-elegida { from { background: transparent; } to { background: rgba(255, 213, 0, 0.16); box-shadow: inset 3px 0 0 var(--neos-color-senal); transform: scale(1.02); } }
.t-lin--elegida time { color: var(--neos-color-senal); }
.t-lin em { margin-left: auto; flex: none; font: 700 9px/1 "Inter", system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; font-style: normal; color: #1A1400; background: var(--neos-color-senal); padding: 4px 6px; border-radius: 999px; }
.t-corte { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.t-corte__video { position: relative; width: 100%; }
.t-corte__ventana { position: absolute; top: -2px; bottom: -2px; aspect-ratio: 9 / 16; left: 50%; border: 2px solid var(--neos-color-senal); border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(10, 11, 13, 0.62); transform: translateX(-50%); animation: t-ventana 1.6s var(--neos-ease-in-out) 0.4s forwards; }
@keyframes t-ventana { to { left: 28%; } }
.t-silencios { width: 100%; display: flex; gap: 3px; height: 26px; }
.t-silencios i { flex: var(--w); border-radius: 4px; background: rgba(244, 244, 240, 0.45); }
.t-silencios i.sil { background: rgba(255, 77, 61, 0.55); animation: t-cierra 0.5s var(--neos-ease-in-out) var(--d) forwards; }
@keyframes t-cierra { to { flex: 0.0001; opacity: 0; margin: 0 -1.5px; } }
.t-reelsp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: center; }
.t-reelp { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #0E1015; border: 1px solid #2A2F38; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
.t-reelp:nth-child(2) { translate: 0 -6%; }
.t-reelp__img { position: absolute; inset: 0; overflow: hidden; }
.t-reelp__img .t-pod { position: absolute; width: 320%; left: -26%; top: 2%; border: 0; border-radius: 0; }
.t-pod--reel .t-pod__rec, .t-pod--reel .t-pod__ep { display: none; }
.t-reelp__img .t-pod--reel-b { left: -194%; }
.t-reelp__sub { position: absolute; left: 5%; right: 5%; bottom: 7%; margin: 0; padding: 5px 4px; border-radius: 8px; background: rgba(10, 11, 13, 0.55); text-align: center; font: 800 clamp(8px, 2.6cqw, 12px)/1.15 "Archivo", system-ui, sans-serif; text-transform: uppercase; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); }
.t-reelp__sub b { font-weight: 800; animation: t-karaoke 4.2s steps(1) infinite; animation-delay: calc(var(--k) * 0.35s); }
@keyframes t-karaoke { 0% { color: var(--neos-color-senal); } 9% { color: #fff; } }
.t-reelp__dur { position: absolute; left: 6px; top: 6px; padding: 3px 6px; border-radius: 999px; background: rgba(10, 11, 13, 0.75); font-size: 9.5px; font-weight: 700; }
/* NEOS ART */
.t-idea { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.t-campo { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 16px; background: #1A1D22; border: 1px solid var(--neos-input-border); font-size: 15px; display: flex; align-items: center; }
.t-cursor { width: 2px; height: 18px; margin-left: 2px; background: var(--neos-color-senal); animation: t-rec 0.9s steps(2) infinite; }
.t-enviar { padding: 11px 20px; border-radius: 999px; background: var(--neos-color-cal); color: var(--neos-color-carbon); font: 700 14px/1 "Inter", system-ui, sans-serif; }
.t-guion { display: flex; flex-direction: column; gap: 8px; }
.t-bloque { padding: 10px 12px; border-radius: 12px; background: #1A1D22; border-left: 3px solid var(--neos-color-senal); display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.t-bloque b { font: 700 10px/1 "Inter", system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--neos-color-senal); }
.t-voz { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.t-voz__chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--neos-border); font-size: 12px; color: var(--neos-muted); }
.t-voz__t { font: 800 22px/1 "Archivo", system-ui, sans-serif; }
.t-story { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.t-story figure { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; border: 1px solid #2A2F38; }
.t-story img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-story figure span { position: absolute; right: 4px; bottom: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--neos-success); color: #062B14; display: grid; place-items: center; }
.t-story figure span svg { width: 70%; height: 70%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.t-final { display: flex; justify-content: center; }
.t-telefono { width: 54%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 3px solid #2A2F38; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); background: #000; }
.t-telefono video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* NEOS FINANZAS */
.t-tgm { display: flex; flex-direction: column; gap: 8px; }
.t-tgm__cab { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--neos-border); font-size: 13px; }
.t-tgm__cab .t-chat__av { width: 28px; height: 28px; font-size: 13px; }
.t-b { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.t-b--yo { align-self: flex-end; border-bottom-right-radius: 6px; background: #2B5278; }
.t-b--ellos { align-self: flex-start; border-bottom-left-radius: 6px; background: #22252A; }
.t-wa .t-b--yo { background: #005C4B; }
.t-tg__b--toca { animation: t-toca 0.4s ease 1.6s both; }
@keyframes t-toca { 50% { transform: scale(0.92); background: rgba(140, 196, 245, 0.35); } 100% { background: rgba(140, 196, 245, 0.28); } }
.t-guardado { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #1A1D22; border: 1px solid var(--neos-border); }
.t-guardado div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.t-guardado span { color: var(--neos-muted); }
.t-guardado--proy { border-color: rgba(255, 213, 0, 0.45); background: rgba(255, 213, 0, 0.08); }
.t-panel2 { display: flex; flex-direction: column; gap: 10px; }
.t-tarjeta--viva.on { box-shadow: inset 3px 0 0 var(--neos-color-senal); }
.t-gran { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.t-gran small { color: var(--neos-muted); }
.t-gran b { font: 800 44px/1 "Archivo", system-ui, sans-serif; color: var(--neos-success); letter-spacing: -0.02em; }
.t-prog--anim { animation: t-prog 1.1s var(--neos-ease-out) 0.9s forwards; }
@keyframes t-prog { from { width: 0; } to { width: 24%; } }
/* NEOS VENDEDOR */
.t-bloqueo { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.t-bloqueo__hora { font: 300 54px/1 "Archivo", system-ui, sans-serif; letter-spacing: -0.02em; color: rgba(244, 244, 240, 0.85); }
.t-noti { width: 100%; padding: 12px 14px; border-radius: 18px; background: rgba(34, 37, 42, 0.92); border: 1px solid #2A2F38; display: flex; flex-direction: column; gap: 2px; font-size: 14px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.t-noti__app { font-size: 11px; color: #25D366; font-weight: 700; }
.t-wa { display: flex; flex-direction: column; gap: 8px; }
.t-dia { align-self: center; padding: 4px 10px; border-radius: 999px; background: rgba(244, 244, 240, 0.08); color: var(--neos-muted); font-size: 12px; }
.t-alerta { position: relative; display: grid; place-items: center; height: 100%; }
.t-alerta__onda { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(74, 222, 128, 0.5); animation: t-onda-v 1.8s ease-out infinite; }
.t-alerta__onda--2 { animation-delay: 0.9s; }
@keyframes t-onda-v { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.t-alerta__card { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: #12261A; border: 1px solid rgba(74, 222, 128, 0.5); }
.t-alerta__card div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.t-alerta__card span:not(.t-pin) { color: var(--neos-muted); font-size: 13px; }
/* NEOS ESTRATEGA */
.t-oferta { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: #1A1D22; border: 1px solid var(--neos-border); }
.t-oferta small { color: var(--neos-color-senal); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.t-oferta b { font: 800 17px/1.2 "Archivo", system-ui, sans-serif; }
.t-oferta__f { display: grid; grid-template-columns: 82px 1fr; gap: 8px; font-size: 13px; padding-top: 8px; border-top: 1px dashed var(--neos-border); }
.t-oferta__f span:first-child { color: var(--neos-muted); }
.t-orden { position: relative; height: 180px; }
.t-orden__i { position: absolute; left: 0; right: 0; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: #1A1D22; border: 1px solid var(--neos-border); font-size: 14px;
  animation: t-orden 1s var(--neos-ease-in-out) 0.9s forwards; }
.t-orden__i span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--neos-color-cal); color: var(--neos-color-carbon); font: 800 13px/1 "Archivo", system-ui, sans-serif; }
.t-orden__i--c { top: 0; --y: 128px; } .t-orden__i--a { top: 64px; --y: 0px; } .t-orden__i--b { top: 128px; --y: 64px; }
@keyframes t-orden { to { top: var(--y); } }
.t-semana { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.t-dia2 { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 8px 4px; border-radius: 12px; background: #1A1D22; min-height: 150px; }
.t-dia2 small { color: var(--neos-muted); font-size: 11px; font-weight: 700; }
.t-dia2 span { font-size: 11px; line-height: 1.25; text-align: center; padding: 6px 4px; border-radius: 8px; background: rgba(255, 213, 0, 0.12); }
.t-dia2 i { margin-top: auto; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--neos-success); color: #062B14; }
.t-dia2 i svg { width: 70%; height: 70%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes t-barra2 { to { width: var(--w); } }
@media (prefers-reduced-motion: reduce) {
  .t-a, .t-tipeo, .t-capa, .t-esc__leyenda.on, .t-pod__p .c, .t-onda3--viva i, .t-reelp__sub b, .t-alerta__onda, .t-cursor, .t-pod__rec i { animation: none !important; transition: none !important; }
  .t-capa { opacity: 1; transform: none; }
}

/* «escribiendo…» (lo usan las escenas) */
.t-escribe { display: inline-flex; gap: 4px; padding: 3px 2px; }
.t-escribe i { width: 6px; height: 6px; border-radius: 50%; background: var(--neos-muted); animation: t-punto 1s ease-in-out infinite; }
.t-escribe i:nth-child(2) { animation-delay: 0.15s; }
.t-escribe i:nth-child(3) { animation-delay: 0.3s; }
@keyframes t-punto { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* NEOS ART: los datos con su fuente, el sello de «aprobado» y lo que entrega */
.t-datos { display: flex; flex-direction: column; gap: 8px; }
.t-dato { position: relative; padding: 10px 12px; border-radius: 12px; background: #1A1D22; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.t-dato b { font: 700 10px/1 "Inter", system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--neos-muted); }
.t-dato em { position: absolute; right: 8px; top: 8px; font-style: normal; font-size: 10px; font-weight: 700; color: var(--neos-success); }
.t-ok { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--neos-success-bg); border: 1px solid rgba(74, 222, 128, 0.5); color: var(--neos-success); font-size: 12px; font-weight: 700; rotate: -3deg; }
.t-ok svg, .t-entrega svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.t-voz .t-ok { align-self: center; }
.t-story figcaption { position: absolute; left: 4px; top: 4px; padding: 2px 6px; border-radius: 999px; background: rgba(10, 11, 13, 0.75); font-size: 9px; font-weight: 700; }
.t-final { gap: 14px; align-items: center; }
.t-final .t-telefono { width: 46%; flex: none; }
.t-entrega { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.t-entrega li { display: flex; align-items: center; gap: 6px; }
.t-entrega svg { color: var(--neos-success); flex: none; }

/* NEOS VENDEDOR */
.t-mini { align-self: center; padding: 4px 10px; border-radius: 999px; border: 1px dashed var(--neos-border); color: var(--neos-muted); font-size: 11px; }
.t-califica { display: flex; flex-direction: column; gap: 8px; }
.t-califica > b { font: 800 18px/1 "Archivo", system-ui, sans-serif; }
.t-cal { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #1A1D22; font-size: 14px; }
.t-cal__ok { width: 22px; height: 22px; border-radius: 50%; background: var(--neos-success); color: #062B14; display: grid; place-items: center; flex: none; }
.t-cal__ok svg, .t-agenda svg { width: 70%; height: 70%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.t-estado { align-self: center; margin-top: 6px; padding: 8px 14px; border-radius: 10px; border: 2px solid var(--neos-success); color: var(--neos-success); font: 800 14px/1 "Archivo", system-ui, sans-serif; text-transform: uppercase; letter-spacing: 0.04em; rotate: -3deg; }
.t-agenda { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #12261A; border: 1px solid rgba(74, 222, 128, 0.5); }
.t-agenda div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.t-agenda span:not(.t-pin) { color: var(--neos-muted); font-size: 12px; }
.t-linea { position: relative; display: flex; flex-direction: column; gap: 18px; padding-left: 18px; }
.t-linea::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--neos-border); }
.t-linea__p { position: relative; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.t-linea__p i { position: absolute; left: -18px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--neos-color-cal); }
.t-linea__p i.ojo { background: var(--neos-color-senal); box-shadow: 0 0 0 4px rgba(255, 213, 0, 0.2); }
.t-linea__p b { font: 800 15px/1.2 "Archivo", system-ui, sans-serif; }
.t-linea__p span { color: var(--neos-muted); }
.t-conv { display: flex; flex-direction: column; gap: 8px; }
.t-conv__f { display: grid; grid-template-columns: 70px 1fr 12px; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #1A1D22; font-size: 13px; }
.t-conv__f span { color: var(--neos-muted); }
.t-conv__f i { width: 10px; height: 10px; border-radius: 50%; }
.t-conv__f i.ok { background: var(--neos-success); } .t-conv__f i.ojo { background: var(--neos-color-senal); } .t-conv__f i.mal { background: var(--neos-danger); }
/* NEOS PUBLICISTA: WhatsApp arriba, la cuenta de Meta abajo y la señal que baja de uno al otro cuando el agente actúa.
   El interruptor es el Switch del sistema de diseño (components/Switch) en chico: pista Niebla, perilla Cal con su sombra, verde
   al prender, la perilla se estira al tocarla y se desliza con el resorte. */
.t-sw { position: relative; flex: none; display: inline-block; width: 40px; height: 24px; border-radius: var(--neos-radius-pill); background: var(--neos-switch-off); transition: background-color var(--neos-duration-base) var(--neos-ease-out); }
.t-sw::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: var(--neos-radius-pill); background: var(--neos-switch-knob); box-shadow: var(--neos-shadow-knob);
  transition: transform var(--neos-duration-base) var(--neos-ease-spring), width var(--neos-duration-fast) var(--neos-ease-out); }
.t-sw.on { background: var(--neos-switch-on); }
.t-sw.on::before { transform: translateX(16px); }
.t-sw.toca::before { width: 22px; }
.t-sw.on.toca::before { transform: translateX(12px); }
.t-sw::after { content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid var(--neos-color-senal); opacity: 0; pointer-events: none; }
.t-sw.pulso::after { animation: t-sw-pulso 0.75s var(--neos-ease-out); }
@keyframes t-sw-pulso { from { opacity: 0.95; transform: scale(0.92); } to { opacity: 0; transform: scale(1.4); } }
.t-pub { display: flex; flex-direction: column; gap: 6px; }
.t-pub .t-b { max-width: 92%; padding: 7px 10px; border-radius: 14px; font-size: 12.5px; line-height: 1.35; }
.t-wacab { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--neos-border); font-size: 12px; }
.t-wacab .t-chat__av { width: 24px; height: 24px; font-size: 11px; }
.t-wacab small { margin-left: auto; color: #25D366; font-size: 10.5px; font-weight: 700; }
/* el área del chat tiene alto fijo: cada mensaje nuevo entra abajo creciendo y empuja a los anteriores hacia arriba */
.t-wachat { display: flex; flex-direction: column; justify-content: flex-end; height: clamp(76px, 26cqw, 96px); overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 14px); mask-image: linear-gradient(transparent, #000 14px); }
.t-wachat .t-b { flex: none; margin-top: 6px; transform-origin: 0 100%; animation: t-b-nueva 0.45s var(--neos-ease-out) both; }
.t-wachat .t-b--yo { transform-origin: 100% 100%; }
@keyframes t-b-nueva { from { max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; opacity: 0; transform: scale(0.85); } 60% { opacity: 1; } to { max-height: 90px; } }
.t-capa:has(> .t-pub) { padding: 4% 5%; }
.t-cable { position: relative; align-self: center; width: 2px; height: 16px; flex: none; border-radius: 2px; background: rgba(244, 244, 240, 0.14); }
.t-cable i { position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--neos-color-senal); box-shadow: 0 0 10px 2px rgba(255, 213, 0, 0.55); opacity: 0; }
.t-cable i.va { animation: t-cable 0.45s ease-in both; }
@keyframes t-cable { 0% { opacity: 0; transform: translateY(0); } 25% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(calc(var(--largo, 16px) + 2px)); } }
.t-meta { position: relative; border-radius: 14px; background: #16191E; border: 1px solid var(--neos-border); overflow: hidden; }
.t-meta__vacio { position: absolute; left: 0; right: 0; top: 30px; bottom: 0; display: grid; place-items: center; color: var(--neos-muted); font-size: 11.5px; animation: t-vacio 0.3s ease var(--d, 0ms) forwards; }
@keyframes t-vacio { to { opacity: 0; visibility: hidden; } }
.t-meta__cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--neos-border); font-size: 11.5px; font-weight: 700; }
.t-meta__cab small { color: #6EA2FF; font-size: 10.5px; }
.t-anu { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 12px; transition: background-color 0.4s ease; }
.t-anu + .t-anu { border-top: 1px solid rgba(244, 244, 240, 0.05); }
.t-anu b { display: block; overflow: hidden; font-size: 12px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.t-anu small { display: block; color: var(--neos-muted); font-size: 10.5px; line-height: 1.3; transition: color 0.3s ease; }
.t-anu small.activo { color: var(--neos-success); }
.t-anu.alerta { background: rgba(255, 122, 110, 0.1); }
.t-anu.gana { background: rgba(74, 222, 128, 0.08); }
/* la fila que el agente acaba de tocar desde WhatsApp destella en señal */
.t-anu.toque { animation: t-toque 0.9s var(--neos-ease-out); }
@keyframes t-toque { from { box-shadow: inset 3px 0 0 var(--neos-color-senal); background-color: rgba(255, 213, 0, 0.16); } }
.t-anu__m { text-align: right; white-space: nowrap; font: 800 13px/1.15 "Archivo", system-ui, sans-serif; }
.t-anu__m small { font: 500 9.5px/1.2 "Inter", system-ui, sans-serif; }
.t-anu__m.ok { color: var(--neos-success); } .t-anu__m.mal { color: var(--neos-danger); } .t-anu__m.ojo { color: var(--neos-color-senal); }
.t-espera { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #1A1D22; font-size: 11.5px; color: var(--neos-muted); }
.t-espera b { color: var(--neos-text); font: 800 18px/1 "Archivo", system-ui, sans-serif; }
.t-espera__barra { flex: 1; height: 6px; border-radius: 6px; overflow: hidden; background: rgba(244, 244, 240, 0.1); }
.t-espera__barra i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--neos-color-senal); --w: 100%; animation: t-barra2 1.2s var(--neos-ease-in-out) 0.2s forwards; }
.t-conecta { display: flex; flex-direction: column; align-items: center; }
.t-conecta .t-cable { --largo: 30px; height: 30px; }
.t-cuenta { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #1A1D22; border: 1px solid var(--neos-border); }
.t-cuenta b { display: block; font: 800 14px/1.2 "Archivo", system-ui, sans-serif; }
.t-cuenta small { display: block; color: var(--neos-muted); font-size: 11.5px; }
.t-cuenta .t-chat__av, .t-cuenta__meta { flex: none; width: 34px; height: 34px; }
.t-cuenta__meta { display: grid; place-items: center; border-radius: 10px; background: #1B2A4A; color: #8AB4FF; font: 800 11px/1 "Archivo", system-ui, sans-serif; }
.t-conecta .t-ok { align-self: center; margin-top: 12px; }
.t-permisos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.t-permisos span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--neos-border); font-size: 11.5px; }
.t-permisos svg { width: 12px; height: 12px; fill: none; stroke: var(--neos-success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.t-anuncios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.t-pieza { position: relative; aspect-ratio: 9 / 16; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 8px; border-radius: 12px; overflow: hidden; border: 1px solid var(--neos-border);
  background: radial-gradient(60% 34% at 50% 62%, rgba(255, 154, 31, 0.35), transparent 70%), linear-gradient(165deg, #2A2F38, #15171B); }
.t-pieza--1 { background: radial-gradient(60% 34% at 50% 62%, rgba(255, 106, 77, 0.35), transparent 70%), linear-gradient(165deg, #33261F, #15171B); }
.t-pieza--2 { background: radial-gradient(60% 34% at 50% 62%, rgba(20, 194, 124, 0.32), transparent 70%), linear-gradient(165deg, #1F2D28, #15171B); }
.t-pieza__letra { align-self: flex-start; padding: 3px 6px; border-radius: 6px; background: rgba(10, 11, 13, 0.6); font: 800 10px/1 "Archivo", system-ui, sans-serif; }
.t-pieza__3s { position: absolute; top: 9px; right: 8px; color: var(--neos-color-senal); font-size: 9.5px; font-weight: 700; }
.t-pieza__gancho { font: 800 12px/1.15 "Archivo", system-ui, sans-serif; letter-spacing: -0.01em; text-transform: uppercase; }
.t-pieza__cta { margin-top: auto; padding: 5px; border-radius: 6px; background: var(--neos-color-cal); color: var(--neos-color-carbon); font-size: 10px; font-weight: 700; text-align: center; }
@media (prefers-reduced-motion: reduce) { .t-sw, .t-sw::before { transition: none; } .t-sw.pulso::after, .t-cable i.va, .t-anu.toque, .t-wachat .t-b, .t-meta__vacio { animation: none; } .t-meta__vacio { display: none; } }

/* en la boleta, el agente que ya compró va tachado entero (nombre y precio), con «ya es tuyo» en verde */
.t-recibo li.t-fila--tuyo span:first-child { color: var(--neos-muted); text-decoration: line-through; text-decoration-color: rgba(244, 244, 240, 0.55); text-decoration-thickness: 1.5px; }
.t-recibo li.t-fila--tuyo span:first-child em { text-decoration: none; display: inline-block; }
.t-recibo li.t-fila--tuyo span:last-child { text-decoration: line-through; text-decoration-color: rgba(244, 244, 240, 0.55); text-decoration-thickness: 1.5px; }

/* arreglos: la onda grande no se colapsa y los números del panel entran en su casilla */
.t-onda3--grande { flex: none; }
.t-panel2 .t-kpis b { font-size: clamp(13px, 3.9cqw, 16px); }
/* NEOS EDITOR: quién habla, puntaje, ganchos, muletillas, revisión y los reels con gancho y subtítulos */
.t-quien { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font: 800 9px/1 "Archivo", system-ui, sans-serif; font-style: normal; color: var(--neos-color-carbon); }
.t-quien--A { background: #3F7CFF; color: #fff; } .t-quien--B { background: #FF9A1F; }
.t-puntaje { display: flex; flex-direction: column; gap: 8px; }
.t-mom { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "txt cat" "bar num"; gap: 6px 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #1A1D22; font-size: 13px; }
.t-mom > span { grid-area: txt; }
.t-mom em { grid-area: cat; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--neos-color-senal); }
.t-mom__barra { grid-area: bar; height: 6px; border-radius: 999px; background: rgba(244, 244, 240, 0.1); overflow: hidden; }
.t-mom__barra i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--neos-color-senal); animation: t-barra2 0.8s var(--neos-ease-out) var(--d) forwards; }
.t-mom b { grid-area: num; font: 800 16px/1 "Archivo", system-ui, sans-serif; }
.t-mom--fuera { opacity: 0.45; }
.t-mom--fuera em { color: var(--neos-muted); }
.t-mom--fuera .t-mom__barra i { background: var(--neos-muted); }
.t-ganchos { display: flex; flex-direction: column; gap: 8px; }
.t-ganchos > small { color: var(--neos-muted); font-size: 12px; }
.t-gopc { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 10px 40px 10px 12px; border-radius: 12px; background: #1A1D22; border: 1px solid var(--neos-border); }
.t-gopc small { color: var(--neos-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.t-gopc b { font-size: 14px; font-weight: 600; }
.t-gopc--sel { border-color: var(--neos-color-senal); background: rgba(255, 213, 0, 0.08); }
.t-gopc .t-cal__ok { position: absolute; right: 10px; top: 50%; margin-top: -11px; }
.t-corte__ventana--sigue { animation: t-sigue 3.2s var(--neos-ease-in-out) 0.3s forwards; }
@keyframes t-sigue { 0% { left: 50%; } 35%, 60% { left: 28%; } 100% { left: 72%; } }
.t-muletillas { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.t-muletillas span { max-width: 120px; overflow: hidden; white-space: nowrap; padding: 5px 9px; border-radius: 8px; background: #1A1D22; font-size: 13px; }
.t-muletillas span.mul { background: rgba(255, 77, 61, 0.22); color: #FF9A90; text-decoration: line-through; animation: t-fuera 0.45s var(--neos-ease-in-out) var(--d) forwards; }
@keyframes t-fuera { to { max-width: 0; padding-left: 0; padding-right: 0; margin: 0 -3px; opacity: 0; } }
.t-entrega2 { display: flex; flex-direction: column; gap: 12px; }
.t-valida { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.t-valida span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; background: var(--neos-success-bg); color: var(--neos-success); font-size: 11px; font-weight: 700; }
.t-valida svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.t-reelp__hook { position: absolute; left: 6%; right: 6%; top: 8%; margin: 0; text-align: center; font: 800 clamp(8px, 2.5cqw, 11px)/1.15 "Archivo", system-ui, sans-serif; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); }
.t-reelp__sub { min-height: 2.6em; bottom: 14%; }
.t-reelp__sub span { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); opacity: 0; animation: t-trozo 4.5s linear calc(var(--k) * 1.5s) infinite both; }
@keyframes t-trozo { 0% { opacity: 0; } 1%, 32% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
.t-reelp__dur { top: auto; bottom: 6px; left: auto; right: 6px; }
/* NEOS ESTRATEGA: viabilidad, opciones, dominó y la semana */
.t-viable { display: flex; flex-direction: column; gap: 7px; }
.t-viable > b { font: 800 16px/1.2 "Archivo", system-ui, sans-serif; margin-bottom: 2px; }
.t-crit { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; font-size: 13px; padding: 6px 10px; border-radius: 10px; background: #1A1D22; }
.t-dots { display: flex; gap: 4px; }
.t-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(244, 244, 240, 0.14); }
.t-dots i.on { animation: t-punto-on 0.3s var(--neos-ease-spring) var(--d) forwards; }
@keyframes t-punto-on { from { transform: scale(0.4); } to { transform: none; background: var(--neos-color-senal); } }
.t-viable .t-estado { margin-top: 8px; }
.t-opciones { display: flex; flex-direction: column; gap: 8px; }
.t-op { display: grid; grid-template-columns: 66px 1fr; align-items: center; gap: 8px; font-size: 13px; }
.t-op > span:first-child { color: var(--neos-muted); }
.t-op__v { display: flex; gap: 4px; }
.t-op__v i { flex: 1; padding: 7px 0; border-radius: 8px; background: #1A1D22; text-align: center; font: 600 10px/1 ui-monospace, Menlo, monospace; font-style: normal; color: var(--neos-muted); }
.t-op__v i.sel { animation: t-op-sel 0.35s var(--neos-ease-spring) var(--d) forwards; }
@keyframes t-op-sel { to { background: var(--neos-color-senal); color: #1A1400; transform: scale(1.08); } }
.t-domino { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.t-domino__fichas { display: flex; gap: 18px; height: 64px; align-items: flex-end; }
.t-domino__fichas i { width: 14px; height: 58px; border-radius: 3px; background: var(--neos-color-cal); transform-origin: 100% 100%; animation: t-ficha 0.32s ease-in calc(0.3s + var(--k) * 0.16s) forwards; }
.t-domino__fichas i:first-child { background: var(--neos-color-senal); }
@keyframes t-ficha { to { transform: rotate(72deg); } }
.t-semana--3 { grid-template-columns: repeat(3, 1fr); }
.t-dia2 em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--neos-muted); }
/* el rebote corto que disimula el cambio de pose cuando el baile arranca sin esperar la vuelta del loop */
.t-pj.golpe { animation: t-golpe 0.22s var(--neos-ease-out); }
@keyframes t-golpe { 0% { transform: none; } 45% { transform: scale(1.05, 0.94); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .t-pj.golpe { animation: none; } }
.t-det__pj .t-pj { width: 100%; height: 100%; }

/* el carrusel es su propia capa: sus personajes nunca quedan por encima de la vista del agente ni de la barra fija */
.t-escena { isolation: isolate; z-index: 0; }

/* Segunda oferta a mitad de precio (assets/funnel.js → segundaOferta): pop-up sobre la página de la oferta, una sola vez. */
body.f-con-modal { overflow: hidden; }
.f-modal {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(10, 11, 13, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: f-modal-entra 0.25s ease-out both;
}
.f-modal__caja {
  width: 100%; max-width: 440px; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px 20px 16px;
  display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: center;
  border: 1px solid var(--neos-border); border-radius: 18px; background: var(--neos-surface); box-shadow: var(--neos-shadow-soft);
}
.f-modal__caja h2 { margin: 0; font: 800 clamp(22px, 6vw, 26px)/1.15 "Archivo", system-ui, sans-serif; text-wrap: balance; }
.f-modal__caja p { margin: 0; }
.f-modal__caja > p:not([class]) { color: var(--neos-muted); text-wrap: pretty; }
.f-modal__precio { font: 800 34px/1.1 "Archivo", system-ui, sans-serif; }
.f-modal__precio s { margin-right: 6px; font-size: 20px; font-weight: 600; color: var(--neos-muted); }
.f-modal__precio strong { color: var(--neos-color-senal); }
.f-modal .f-btn { width: 100%; min-height: 54px; font-size: 16px; }
@keyframes f-modal-entra { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .f-modal { animation: none; } }

/* Bump en /art con Whop (su checkout lleva un solo precio): casilla debajo del botón, sin marcar. */
.f-bump {
  display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 12px 14px; text-align: left; cursor: pointer;
  border: 1px dashed var(--neos-color-senal); border-radius: 12px; background: rgba(255, 213, 0, 0.06);
  font-size: 14px; line-height: 1.45; color: var(--neos-muted);
}
.f-bump strong { color: var(--neos-text); }
.f-bump input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--neos-color-senal); }
.f-bump input:focus-visible { outline: 3px solid var(--neos-color-senal); outline-offset: 2px; }
