:host { display: block;
  --bg: #0a0a0b; --ink: #f3efe9; --soft: #a29d95; --faint: #5c5953; --line: rgb(243 239 233 / 0.12);
  --accent: #ff4a1c; --accent-ink: #160803; --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --display: "Archivo", system-ui, sans-serif; --text: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", "Geist", ui-monospace, monospace;
  color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
img { display: block; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Computadora. Todo se mide en --u para que escale entero ---------- */
.mac { position: relative; width: 100%; transform: perspective(2000px) rotateY(-9deg) rotateX(2deg); container-type: inline-size; }
.screen { --gold: #f4d27a; --u: calc(100cqw / 900); position: relative; aspect-ratio: 16 / 10; background: #060607;
  border: calc(12 * var(--u)) solid #1b1b1e; border-bottom-width: calc(16 * var(--u)); border-radius: calc(18 * var(--u)) calc(18 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u));
  box-shadow: 0 40px 120px rgb(0 0 0 / .65), 0 0 0 1px rgb(255 255 255 / .06); overflow: hidden;
  display: flex; flex-direction: column; font-size: calc(12 * var(--u)); }
.base { height: calc(16 * 100cqw / 900); margin: 0 -6%; background: linear-gradient(#2a2a2e, #141416); border-radius: 0 0 14px 14px; position: relative; }
.base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 30%; background: #0d0d0f; border-radius: 0 0 6px 6px; }

.win { display: flex; align-items: center; gap: calc(12 * var(--u)); height: calc(30 * var(--u)); padding: 0 calc(14 * var(--u)); border-bottom: 1px solid var(--line); flex: none; }
.dots { display: flex; gap: calc(6 * var(--u)); }
.dots i { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: #2c2c30; }
.win__name { font: 700 calc(12 * var(--u)) var(--display); font-stretch: 112%; letter-spacing: .06em; }
.win__status { margin-left: auto; font: 500 calc(11.5 * var(--u)) var(--text); color: var(--soft); display: flex; align-items: center; gap: calc(7 * var(--u)); }
.win__status::before { content: ""; width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
.is-done .win__status { color: var(--ink); }
.is-done .win__status::before { animation: none; }
@keyframes pulse { 50% { opacity: .25; } }

.app { flex: 1; min-height: 0; display: grid; grid-template-columns: 27% 1fr 30%; }
.col { padding: calc(16 * var(--u)) calc(14 * var(--u)); min-height: 0; }
.lbl { margin: 0 0 calc(8 * var(--u)); font: 600 calc(10 * var(--u)) var(--mono); color: var(--faint); }

/* Columna izquierda: tomas y pasos */
.steps { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.takes { display: flex; gap: calc(4 * var(--u)); }
.takes img { width: calc(24 * var(--u)); aspect-ratio: 9 / 16; object-fit: cover; border-radius: calc(3 * var(--u)); opacity: 0; transform: translateY(calc(-10 * var(--u))); transition: opacity .35s, transform .45s var(--ease); }
.takes img.in { opacity: 1; transform: none; }
.upload { height: calc(3 * var(--u)); border-radius: 3px; background: rgb(255 255 255 / .07); margin: calc(9 * var(--u)) 0 calc(14 * var(--u)); overflow: hidden; }
.upload span { display: block; height: 100%; width: 0; background: var(--accent); }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: calc(3 * var(--u)); }
.list li { position: relative; display: flex; align-items: center; gap: calc(9 * var(--u)); padding: calc(7 * var(--u)) calc(8 * var(--u)); border-radius: calc(6 * var(--u)); color: var(--faint); transition: color .3s, background .3s; overflow: hidden; }
.list li i { width: calc(15 * var(--u)); height: calc(15 * var(--u)); flex: none; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-style: normal; }
.list li b { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.list li.now { color: var(--ink); background: rgb(255 74 28 / .1); }
.list li.now i { border-color: var(--accent); border-right-color: transparent; animation: spin .8s linear infinite; }
.list li.done { color: var(--ink); }
.list li.done i { background: var(--accent); border-color: var(--accent); }
.list li.done i::before { content: ""; width: 35%; height: 60%; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: translateY(-12%) rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Centro: el teléfono con el video */
.stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(10 * var(--u)); background: #0b0b0d; min-height: 0; }
.phone { position: relative; height: 84%; aspect-ratio: 9 / 16; border-radius: calc(12 * var(--u)); overflow: hidden; background: #000;
  box-shadow: 0 10px 40px rgb(0 0 0 / .6); transition: box-shadow .6s, transform .9s var(--ease); }
/* Todo lo de adentro del teléfono se mide contra el teléfono: se ve igual en escritorio y en celular */
.phone { container-type: inline-size; }
.phone > * { --u: calc(100cqw / 239); }
.is-done .phone { box-shadow: 0 0 0 1.5px var(--accent), 0 10px 50px rgb(255 74 28 / .35); }
.frame { position: absolute; inset: 0; transform-origin: 50% 40%; }
.frame video { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter 1.2s var(--ease); }
.graded .frame video { filter: contrast(1.12) saturate(1.22) brightness(1.04); }
.warm { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; mix-blend-mode: soft-light;
  background: radial-gradient(70% 55% at 50% 40%, rgb(255 170 120 / .55), transparent 70%), linear-gradient(180deg, rgb(255 120 60 / .25), rgb(20 10 40 / .35)); }
.graded .warm { opacity: 1; }
.frame::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
  background: linear-gradient(180deg, rgb(0 0 0 / .55), transparent 30%, transparent 56%, rgb(0 0 0 / .72)); }
.texted .frame::after { opacity: 1; }
.badge { position: absolute; top: calc(8 * var(--u)); left: calc(8 * var(--u)); z-index: 6; font: 600 calc(9 * var(--u)) var(--text); padding: calc(3 * var(--u)) calc(7 * var(--u)); border-radius: 999px;
  background: rgb(0 0 0 / .55); color: #ddd; transition: background .4s, color .4s; }
.is-done .badge { opacity: 0; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 7; background: var(--accent); box-shadow: 0 0 calc(14 * var(--u)) 2px rgb(255 74 28 / .7); opacity: 0; }

/* Gancho escrito a mano, como en Notas a mano */
.hook { position: absolute; z-index: 6; top: 6.5%; left: 3%; right: 3%; white-space: nowrap; text-align: center; font: 400 calc(24 * var(--u))/1 "Delicious Handrawn", cursive; color: #fff8ea;
  text-shadow: 0 2px 14px rgb(0 0 0 / .5); opacity: 0; transform: translateY(calc(-10 * var(--u))) rotate(-3deg) scale(.9);
  transition: opacity .45s var(--ease), transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.hook.on { opacity: 1; transform: rotate(-3deg); }
.hook i { font-style: normal; color: var(--gold); display: inline-block; animation: twinkle 1.6s ease-in-out infinite; }
.hook .u { position: relative; display: inline-block; }
.hook .u svg { position: absolute; left: -4%; right: -4%; bottom: -18%; width: 108%; height: 38%; overflow: visible; }
.hook .u path { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; transition: stroke-dashoffset .7s .45s var(--ease); }
.hook.on .u path { stroke-dashoffset: 0; }
@keyframes twinkle { 50% { transform: scale(1.35) rotate(20deg); opacity: .6; } }

/* Subtítulos como los de Nela: blancos y la palabra clave en dorado cursiva */
/* A la altura de la zona segura de Reels, sobre la franja de las notas */
.subs { position: absolute; z-index: 6; left: 12%; right: 12%; top: 66%; margin: 0; text-align: center; font: 800 calc(16 * var(--u))/1.1 var(--text); color: #fff;
  text-shadow: 0 2px 10px rgb(0 0 0 / .7); }
.subs span { display: inline-block; margin: 0 .1em; animation: pop .28s cubic-bezier(.2, .8, .2, 1) both; }
.subs span.key { font: 400 italic calc(27 * var(--u))/1 "Instrument Serif", serif; color: var(--gold); letter-spacing: -.01em;
  text-shadow: 0 1px 2px rgb(0 0 0 / .9), 0 2px 8px rgb(0 0 0 / .75), 0 0 22px rgb(0 0 0 / .55); }
@keyframes pop { from { opacity: 0; transform: translateY(calc(5 * var(--u))); } }

/* Grano de película y viñeta: entran con "Efectos y color" */
.grain { position: absolute; inset: -50%; z-index: 3; opacity: 0; pointer-events: none; mix-blend-mode: overlay; transition: opacity .8s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grain .5s steps(4) infinite; }
.graded .grain { opacity: .18; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* Animaciones de cada toma: stickers, notas, fotos y dibujos */
.fx { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
/* Entradas suaves: suben un poco y aparecen, sin rebote */
.fx > * { position: absolute; left: var(--x); top: var(--y); opacity: 0; translate: 0 calc(8 * var(--u)); transition: opacity .4s var(--ease), translate .5s var(--ease); }
.fx.on > * { opacity: 1; translate: 0 0; }
.fx.on > :nth-child(2) { transition-delay: .15s; }
.fx.on > :nth-child(3) { transition-delay: .3s; }
.emo { width: 15%; filter: drop-shadow(0 4px 8px rgb(0 0 0 / .35)); }
.hand { margin: 0; white-space: nowrap; font: 400 calc(22 * var(--u))/1 "Delicious Handrawn", cursive; color: #fff8ea; text-shadow: 0 1px 2px rgb(0 0 0 / .8), 0 2px 12px rgb(0 0 0 / .65); transform: rotate(-4deg); }
.hand--big { font-size: calc(25 * var(--u)); color: var(--gold); }
.doodle { width: var(--w); overflow: visible; }
.doodle path { fill: none; stroke: #fff8ea; stroke-width: 3; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .6)); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset .8s .35s var(--ease); }
.doodle.circ path { stroke: var(--gold); }
.fx.on .doodle path { stroke-dashoffset: 0; }
.note { width: 46%; padding: calc(6 * var(--u)) calc(8 * var(--u)); border-radius: calc(9 * var(--u)); background: #fffdf8; color: #1d1b18; box-shadow: 0 10px 24px rgb(0 0 0 / .35); transform: rotate(-2deg); }
.note p { margin: 0; font: 600 calc(9.5 * var(--u))/1.4 var(--text); }
.note__t { display: flex; align-items: center; gap: calc(5 * var(--u)); font-weight: 750 !important; font-size: calc(10.5 * var(--u)) !important; margin-bottom: calc(2 * var(--u)) !important; }
.note__t i { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: #e5484d; }
.chk { display: flex; align-items: center; gap: calc(6 * var(--u)); color: #8a857d; }
.chk::before { content: ""; width: calc(10 * var(--u)); height: calc(10 * var(--u)); border-radius: 3px; border: 1.5px solid #b9b3aa; flex: none; }
.fx.on .chk.on { color: #1d1b18; background: linear-gradient(transparent 55%, #ffe38a 55%) no-repeat 0 0 / 0 100%; animation: mark .5s .7s forwards; }
.fx.on .chk.on::before { background: #1d1b18; border-color: #1d1b18; box-shadow: inset 0 0 0 2px #fffdf8; }
@keyframes mark { to { background-size: 100% 100%; } }
.pola { margin: 0; width: 36%; padding: calc(5 * var(--u)) calc(5 * var(--u)) calc(16 * var(--u)); background: #fffdf8; box-shadow: 0 10px 24px rgb(0 0 0 / .4); transform: rotate(3deg); }
.pola::before { content: ""; position: absolute; top: calc(-6 * var(--u)); left: 38%; width: 26%; height: calc(12 * var(--u)); background: rgb(255 240 200 / .75); transform: rotate(-4deg); }
.mini { aspect-ratio: 16 / 10; background: #0d0d0f; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: calc(6 * var(--u)); }
.mini__logo { display: flex; align-items: center; gap: calc(4 * var(--u)); font: 800 calc(11 * var(--u)) var(--display); font-stretch: 112%; letter-spacing: .08em; color: #fff; }
.mini__logo i { width: calc(6 * var(--u)); height: calc(6 * var(--u)); background: var(--accent); }
.mini__bar { width: 62%; height: calc(4 * var(--u)); border-radius: 4px; background: #2a2a2e; overflow: hidden; }
.mini__bar b { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.1s .5s var(--ease); }
.fx.on .mini__bar b { width: 100%; }
.mini__txt { font: 600 calc(8 * var(--u)) var(--text); color: #bbb; }
.pola figcaption { position: absolute; bottom: calc(1 * var(--u)); left: 0; right: 0; text-align: center; font: 400 calc(14 * var(--u)) "Delicious Handrawn", cursive; color: #1d1b18; }
.igcard { display: flex; align-items: center; gap: calc(7 * var(--u)); padding: calc(7 * var(--u)) calc(10 * var(--u)) calc(7 * var(--u)) calc(7 * var(--u)); border-radius: calc(12 * var(--u)); background: rgb(255 253 248 / .96); color: #1d1b18; box-shadow: 0 10px 24px rgb(0 0 0 / .35); }
.igcard svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; }
.igcard p { margin: 0; font: 500 calc(10 * var(--u))/1.3 var(--text); color: #6b665e; }
.igcard b { display: block; font-size: calc(12 * var(--u)); color: #1d1b18; }

/* Instagram alrededor del video cuando ya quedó agendado */
.igui { position: absolute; inset: 0; z-index: 7; pointer-events: none; opacity: 0; transition: opacity .6s; }
.is-done .igui { opacity: 1; }
.igui__top { position: absolute; top: calc(10 * var(--u)); left: calc(10 * var(--u)); right: calc(10 * var(--u)); display: flex; justify-content: space-between; font: 700 calc(11 * var(--u)) var(--text); color: #fff; text-shadow: 0 1px 6px rgb(0 0 0 / .5); }
.igui__side { position: absolute; right: calc(6 * var(--u)); bottom: 26%; display: flex; flex-direction: column; gap: calc(9 * var(--u)); }
.igui__side p { margin: 0; display: flex; flex-direction: column; align-items: center; gap: calc(2 * var(--u)); font: 700 calc(8.5 * var(--u)) var(--text); color: #fff; text-shadow: 0 1px 4px rgb(0 0 0 / .6); }
.igui__side span:empty { display: none; }
.igui__side svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); fill: none; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 1px 4px rgb(0 0 0 / .5)); }
.is-done .igui__side p:first-child svg { fill: #ff3b5c; stroke: #ff3b5c; animation: heart .9s ease-out .3s both; }
@keyframes heart { 0% { transform: scale(0); } 50% { transform: scale(1.4); } 100% { transform: scale(1); } }
.igui__user { position: absolute; left: calc(10 * var(--u)); bottom: calc(10 * var(--u)); display: flex; align-items: center; gap: calc(6 * var(--u)); font: 700 calc(10.5 * var(--u)) var(--text); color: #fff; text-shadow: 0 1px 6px rgb(0 0 0 / .5); }
.igui__user i { width: calc(18 * var(--u)); height: calc(18 * var(--u)); border-radius: 50%; background: url(toma-2.jpg) center/cover; border: 1.5px solid #fff; }

/* Pista de audio bajo el teléfono */
.track { width: 74%; display: flex; flex-direction: column; gap: calc(4 * var(--u)); opacity: .35; transition: opacity .5s; }
.track.on { opacity: 1; }
.wave { height: calc(22 * var(--u)); display: flex; gap: calc(2 * var(--u)); align-items: center; }
.wave b { flex: 1; border-radius: 2px; background: #3a3a40; height: 20%; transition: background .3s; }
.track.music .wave b { background: #f3efe9; }
.wave b.sfx { background: var(--accent) !important; }
.track__lbl { font: 500 calc(9.5 * var(--u)) var(--text); color: var(--soft); text-align: center; opacity: 0; transition: opacity .4s; }
.track.music .track__lbl { opacity: 1; }

/* Columna derecha: descripción, Instagram y aprobación */
.side { border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: calc(12 * var(--u)); }
.card { border: 1px solid var(--line); border-radius: calc(8 * var(--u)); padding: calc(10 * var(--u)) calc(11 * var(--u)); background: #121214; opacity: .28; transition: opacity .5s, border-color .5s; }
.card.on { opacity: 1; }
.caption { margin: 0; min-height: 7.5em; line-height: 1.45; color: var(--ink); }
.caption.typing::after { content: ""; display: inline-block; width: calc(6 * var(--u)); height: calc(12 * var(--u)); background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: pulse .8s steps(1) infinite; }
.when { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.when p { margin: 0; line-height: 1.35; }
.day { width: calc(40 * var(--u)); flex: none; text-align: center; border-radius: calc(6 * var(--u)); overflow: hidden; border: 1px solid var(--line); }
.day small { display: block; background: #2a2a2e; color: var(--soft); font: 700 calc(8 * var(--u)) var(--mono); padding: calc(2 * var(--u)) 0; transition: background .4s, color .4s; }
.day strong { display: block; font: 800 calc(17 * var(--u)) var(--display); padding: calc(3 * var(--u)) 0; }
.ig.set { border-color: rgb(255 74 28 / .6); }
.ig.set .day small { background: var(--accent); color: var(--accent-ink); }
.approve { margin-top: auto; font: 650 calc(12 * var(--u)) var(--text); padding: calc(10 * var(--u)); border: 0; border-radius: calc(6 * var(--u)); background: #2a2a2e; color: var(--soft); transition: background .3s, color .3s, transform .15s; }
.approve.ready { background: var(--accent); color: var(--accent-ink); }
.approve.press { transform: scale(.95); }
.toast { margin: 0; text-align: center; font: 600 calc(11 * var(--u)) var(--text); color: var(--accent); opacity: 0; transform: translateY(calc(6 * var(--u))); transition: all .4s var(--ease); }
.toast.on { opacity: 1; transform: none; }

.cursor { position: absolute; z-index: 20; left: 0; top: 0; width: calc(18 * var(--u)); height: calc(18 * var(--u)); opacity: 0; pointer-events: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-7 1 4 8-3 1-4-8-5 5z' fill='%23fff' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");
  transition: opacity .3s; }

/* ---------- Teléfono: la computadora pasa abajo y se queda solo lo central ---------- */
@media (max-width: 860px) {
  .mac { transform: none; }
  .screen { --u: calc(100cqw / 560); aspect-ratio: 10 / 13; }
  /* En teléfono el video va centrado; el paso actual se lee arriba, en la barra de la ventana */
  .app { grid-template-columns: 1fr; }
  .steps { display: none; }
  .side { display: none; }
  .win__status { font-size: calc(13 * var(--u)); }
}

/* Al final de cada vuelta todo se desvanece y la demo arranca de nuevo */
.resetting .hook, .resetting .subs, .resetting .fx, .resetting .card, .resetting .toast, .resetting .track, .resetting .warm { opacity: 0 !important; transition: opacity .7s !important; }

/* ---------- Versión 4: crudo, subir, elegir estilo, editar, aprobar, Instagram ---------- */
/* Antes de editar: solo el video crudo y el botón para subirlo */
.pre .track { opacity: 0; }
.pre .list li { opacity: .45; }
.upbtn { position: absolute; left: 50%; bottom: calc(10 * var(--u)); translate: -50% 0; display: flex; align-items: center; gap: calc(6 * var(--u));
  font: 650 calc(12 * var(--u)) var(--text); padding: calc(8 * var(--u)) calc(16 * var(--u)); border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  opacity: 0; transition: opacity .4s, transform .15s; }
.upbtn svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.show-up .upbtn { opacity: 1; }
.upbtn.press, .picker__go.press, .approve.press { transform: scale(.94); }

/* Estilo elegido, en la columna de pasos */
.chosen { display: flex; align-items: center; gap: calc(8 * var(--u)); margin: 0 0 calc(12 * var(--u)); padding: calc(6 * var(--u)); border: 1px solid var(--line); border-radius: calc(7 * var(--u));
  font: 650 calc(11.5 * var(--u))/1.2 var(--text); opacity: 0; translate: 0 calc(6 * var(--u)); transition: opacity .5s, translate .5s var(--ease); }
.chosen img { width: calc(22 * var(--u)); aspect-ratio: 9 / 16; object-fit: cover; border-radius: calc(3 * var(--u)); }
.chosen small { display: block; font: 600 calc(9 * var(--u)) var(--mono); color: var(--faint); }
.has-style .chosen { opacity: 1; translate: 0 0; }

/* Selector de estilos: muestras reales de Aura */
.picker { position: absolute; z-index: 12; left: 0; right: 0; top: calc(30 * var(--u)); bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(14 * var(--u));
  background: rgb(9 9 10 / .96); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); --tw: calc(100 * var(--u)); }
.picking .picker { opacity: 1; }
.picker__head { text-align: center; }
.picker__t { margin: 0; font: 700 calc(19 * var(--u)) var(--display); font-stretch: 108%; color: var(--ink); }
.picker__s { margin: calc(4 * var(--u)) 0 0; font: 500 calc(11 * var(--u)) var(--text); color: var(--soft); }
.picker__grid { display: grid; grid-template-columns: repeat(6, var(--tw)); gap: calc(10 * var(--u)) calc(12 * var(--u)); }
.picker figure { margin: 0; opacity: 0; translate: 0 calc(10 * var(--u)); transition: opacity .4s var(--ease), translate .5s var(--ease); }
.picking .picker figure { opacity: 1; translate: 0 0; }
.picking .picker figure:nth-child(n+7) { transition-delay: .12s; }
.picker figure img { display: block; width: 100%; aspect-ratio: 9 / 13; object-fit: cover; border-radius: calc(7 * var(--u)); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s, scale .25s var(--ease), filter .3s; }
.picker figcaption { margin-top: calc(5 * var(--u)); font: 600 calc(10 * var(--u))/1.2 var(--text); color: var(--soft); text-align: center; white-space: nowrap; transition: color .2s; }
.picker figure.hover img { outline-color: rgb(255 255 255 / .7); scale: 1.04; }
.picker figure.hover figcaption { color: var(--ink); }
.picker figure.pick img { outline-color: var(--accent); scale: 1.06; }
.picker figure.pick figcaption { color: var(--accent); }
.picker.has-pick figure:not(.pick) img { filter: brightness(.45) saturate(.6); }
.picker__go { font: 650 calc(12.5 * var(--u)) var(--text); padding: calc(9 * var(--u)) calc(20 * var(--u)); border: 0; border-radius: 999px; background: #2a2a2e; color: var(--soft); transition: background .3s, color .3s, transform .15s; }
.picker.has-pick .picker__go { background: var(--accent); color: var(--accent-ink); }

/* Llamado a la acción, aparte de la descripción */
.desc .caption { min-height: 5.6em; }
.cta { margin: calc(8 * var(--u)) 0 0; padding: calc(7 * var(--u)) calc(9 * var(--u)); border-radius: calc(6 * var(--u)); background: rgb(255 74 28 / .12); border: 1px solid rgb(255 74 28 / .35);
  font: 650 calc(11 * var(--u))/1.35 var(--text); color: var(--ink); opacity: 0; translate: 0 calc(6 * var(--u)); transition: opacity .45s, translate .45s var(--ease); }
.cta small { display: block; font: 600 calc(9 * var(--u)) var(--mono); color: var(--accent); margin-bottom: calc(2 * var(--u)); }
.cta.on { opacity: 1; translate: 0 0; }

/* Publicado en Instagram: el reel crece y llegan los números */
.ig-on .steps, .ig-on .side { opacity: 0; transition: opacity .6s; }
.ig-on .track, .ig-on .badge { opacity: 0 !important; }
.ig-on .phone { transform: scale(1.06); box-shadow: 0 14px 60px rgb(0 0 0 / .7); }
.hearts { position: absolute; right: calc(10 * var(--u)); bottom: 30%; width: calc(26 * var(--u)); height: 60%; pointer-events: none; }
.hearts i { position: absolute; bottom: 0; left: 30%; width: calc(14 * var(--u)); height: calc(14 * var(--u)); opacity: 0;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.2C1.2 8.6 3.3 5 6.8 5c2.1 0 3.6 1.2 5.2 3 1.6-1.8 3.1-3 5.2-3 3.5 0 5.6 3.6 4.3 6.8C19.5 16.4 12 21 12 21z' fill='%23ff3b5c'/%3E%3C/svg%3E"); }
.ig-on .hearts i { animation: rise 2.4s ease-out infinite; }
.ig-on .hearts i:nth-child(2) { animation-delay: .35s; left: 0; }
.ig-on .hearts i:nth-child(3) { animation-delay: .7s; left: 55%; }
.ig-on .hearts i:nth-child(4) { animation-delay: 1.05s; left: 15%; }
.ig-on .hearts i:nth-child(5) { animation-delay: 1.4s; left: 45%; }
.ig-on .hearts i:nth-child(6) { animation-delay: 1.75s; left: 5%; }
.ig-on .hearts i:nth-child(7) { animation-delay: 2.1s; left: 60%; }
@keyframes rise { 0% { opacity: 0; transform: translateY(0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(calc(-150 * var(--u))) translateX(calc(-10 * var(--u))) scale(1.1); } }

.notifs, .viral { position: absolute; z-index: 11; top: calc(30 * var(--u)); bottom: 0; padding: calc(18 * var(--u)) calc(14 * var(--u)); opacity: 0; pointer-events: none; transition: opacity .6s .2s; }
.ig-on .notifs, .ig-on .viral { opacity: 1; }
.notifs { left: 0; width: 27%; display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
.notifs p { margin: 0; display: flex; gap: calc(7 * var(--u)); align-items: flex-start; padding: calc(8 * var(--u)); border-radius: calc(9 * var(--u)); background: #17171a; border: 1px solid var(--line);
  font: 500 calc(10.5 * var(--u))/1.35 var(--text); color: var(--soft); opacity: 0; translate: calc(-12 * var(--u)) 0; transition: opacity .4s, translate .5s var(--ease); }
.notifs p.on { opacity: 1; translate: 0 0; }
.notifs b { color: var(--ink); font-weight: 650; }
.notifs i { flex: none; width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%; background: linear-gradient(135deg, #f4d27a, #ff7a59); }
.notifs p:nth-child(2) i { background: linear-gradient(135deg, #7ab8f4, #4a7bd0); }
.notifs p:nth-child(4) i { background: linear-gradient(135deg, #9ee6c0, #3fa47a); }
.viral { right: 0; width: 30%; display: flex; flex-direction: column; gap: calc(6 * var(--u)); }
.viral__t { margin: 0; font: 600 calc(10 * var(--u)) var(--mono); color: var(--faint); }
.viral__big { margin: 0; display: flex; flex-direction: column; font: 800 calc(30 * var(--u))/1 var(--display); font-stretch: 105%; color: var(--ink); font-variant-numeric: tabular-nums; }
.viral__big small { font: 500 calc(11 * var(--u)) var(--text); color: var(--soft); margin-top: calc(4 * var(--u)); }
.viral__line { width: 100%; height: calc(56 * var(--u)); overflow: visible; }
.viral__line path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 260; stroke-dashoffset: 260; }
.viral__list { list-style: none; margin: calc(4 * var(--u)) 0 0; padding: 0; display: flex; flex-direction: column; gap: calc(2 * var(--u)); }
.viral__list li { display: flex; justify-content: space-between; padding: calc(7 * var(--u)) 0; border-top: 1px solid var(--line); font: 500 calc(11 * var(--u)) var(--text); color: var(--soft); }
.viral__list b { color: var(--ink); font-variant-numeric: tabular-nums; }

.cursor.click { scale: .82; transition: opacity .3s, scale .1s; }

@media (max-width: 860px) {
  .picker { --tw: calc(96 * var(--u)); gap: calc(12 * var(--u)); }
  .picker__grid { grid-template-columns: repeat(4, var(--tw)); gap: calc(10 * var(--u)) calc(14 * var(--u)); }
  .picker figure img { aspect-ratio: 9 / 12; }
  .picker__t { font-size: calc(22 * var(--u)); }
  .picker__s { font-size: calc(13 * var(--u)); }
  .picker figcaption { font-size: calc(11.5 * var(--u)); }
  .picker__go { font-size: calc(15 * var(--u)); }
  .upbtn { font-size: calc(16 * var(--u)); bottom: calc(14 * var(--u)); }
  /* La descripción y el botón de aprobar suben como una hoja sobre el video */
  .show-side .side { display: flex; position: absolute; z-index: 9; left: 6%; right: 6%; bottom: calc(10 * var(--u)); padding: calc(14 * var(--u)); border: 1px solid var(--line); border-radius: calc(14 * var(--u));
    background: rgb(16 16 18 / .97); box-shadow: 0 -10px 40px rgb(0 0 0 / .5); font-size: calc(15 * var(--u)); }
  .show-side .side .ig, .show-side .side .toast { display: none; }
  .show-side .card { opacity: 1; }
  .show-side .approve { font-size: calc(16 * var(--u)); padding: calc(12 * var(--u)); }
  .cta { font-size: calc(14 * var(--u)); }
  .cta small, .lbl { font-size: calc(11 * var(--u)); }
  .desc .caption { min-height: 0; }
  /* En Instagram, los números van encima del video */
  .ig-on .phone { transform: none; }
  .notifs { left: 6%; right: 6%; width: auto; top: calc(44 * var(--u)); bottom: auto; padding: 0; gap: calc(6 * var(--u)); }
  .notifs p { font-size: calc(14 * var(--u)); padding: calc(9 * var(--u)) calc(11 * var(--u)); background: rgb(23 23 26 / .94); }
  .notifs p.old { display: none; }
  .viral { left: 6%; right: 6%; width: auto; top: auto; bottom: calc(14 * var(--u)); padding: calc(12 * var(--u)) calc(14 * var(--u)); border-radius: calc(14 * var(--u)); background: rgb(16 16 18 / .95); border: 1px solid var(--line);
    display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: calc(14 * var(--u)); }
  .viral__t, .viral__list { display: none; }
  .viral__big { font-size: calc(30 * var(--u)); }
  .viral__big small { font-size: calc(13 * var(--u)); }
  .viral__line { height: calc(40 * var(--u)); }
}

/* Animaciones a los costados del cuerpo (tomas abiertas), a media altura */
.hand--side { font-size: calc(19 * var(--u)); line-height: 1.05; }
.note--side { width: 31%; padding: calc(5 * var(--u)) calc(6 * var(--u)); }
.note--side p { font-size: calc(8.5 * var(--u)); }
.note--side .note__t { font-size: calc(9.5 * var(--u)) !important; }
.emo--side { width: 11%; }
.pola--side { width: 30%; }
.igcard--side { width: 31%; flex-direction: column; text-align: center; gap: calc(4 * var(--u)); padding: calc(7 * var(--u)); }
.igcard--side p { font-size: calc(9 * var(--u)); }
.igcard--side b { font-size: calc(11 * var(--u)); }
/* Sombra más firme para que el texto escrito a mano se lea sobre el cielo blanco */
.hook, .hand { text-shadow: 0 1px 2px rgb(0 0 0 / .85), 0 0 10px rgb(0 0 0 / .45), 0 2px 18px rgb(0 0 0 / .45); }


/* Reel real (motor de Notas a mano): reemplaza al crudo cuando Aura empieza a editar */
.frame .reel { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease); }
.edited .frame .reel { opacity: 1; }

/* Publicado: un check claro antes de pasar al feed de Instagram */
.pub { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(12 * var(--u));
  background: rgb(10 10 12 / .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.pub__ok { width: calc(54 * var(--u)); height: calc(54 * var(--u)); border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  transform: scale(.6); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.pub__ok svg { width: 58%; height: 58%; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s .2s var(--ease); }
.pub p { margin: 0; text-align: center; font: 650 calc(14 * var(--u))/1.3 var(--text); color: #fff; }
.pub small { display: block; font-weight: 500; font-size: calc(10.5 * var(--u)); color: var(--soft); margin-bottom: calc(3 * var(--u)); }
.published .pub { opacity: 1; }
.published .pub__ok { transform: scale(1); }
.published .pub__ok svg { stroke-dashoffset: 0; }
@media (max-width: 860px) {
  .pub__ok { width: calc(76 * var(--u)); height: calc(76 * var(--u)); }
  .pub p { font-size: calc(19 * var(--u)); }
  .pub small { font-size: calc(14 * var(--u)); }
}
