/* Talos · portada "planeta" y el Mac de prueba. Negro y morado. */
:root { --f-tit: 'General Sans', 'DM Sans', -apple-system, system-ui, sans-serif; --fondo: #050409; --morado: #8b5cff; --morado2: #b79cff; }
body { background: var(--fondo); }

/* ---------- portada ---------- */
.heroe { position: relative; height: 190vh; }
.heroe-fijo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#planeta { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#planeta.agarra { cursor: grabbing; }
.heroe-txt { position: absolute; left: 50%; top: calc(var(--nav) + 6vh); width: min(900px, calc(100% - 40px)); margin-left: max(-450px, calc(-50% + 20px)); text-align: center; pointer-events: none; will-change: transform, opacity; }
.heroe-txt > * { pointer-events: auto; }
.heroe-txt .sobre { display: inline-block; font: 500 12.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--morado2); padding: 7px 14px; border-radius: 99px; background: rgba(139, 92, 255, .1); box-shadow: inset 0 0 0 1px rgba(139, 92, 255, .3); margin-bottom: 26px; }
.heroe-txt h1 { font: 600 clamp(42px, 5.6vw, 82px)/1 var(--f-tit); letter-spacing: -.045em; margin: 0 0 22px; color: #f6f4ff; text-wrap: balance; }
.heroe-txt h1 .nombre { background: linear-gradient(180deg, #e9e0ff 10%, #9d7bff 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heroe-txt p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: #a9a6bd; max-width: 580px; margin: 0 auto 30px; }
.heroe-txt .acc { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }
.sin-3d .heroe-fijo { background: radial-gradient(60% 50% at 50% 110%, #5a2fd6, #1a0b4a 60%, var(--fondo) 80%); }

/* ---------- el Mac ---------- */
.mac-sec { position: relative; z-index: 3; padding: 4vh 20px 120px; margin-top: -80vh; }
.mac-cab { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.mac-cab h2 { font: 600 clamp(34px, 4.4vw, 62px)/1.02 var(--f-tit); letter-spacing: -.04em; margin: 0 0 16px; color: #f6f4ff; }
.mac-cab h2 .gris { color: #7d7895; }
.mac-cab p { color: #a9a6bd; font-size: 17px; max-width: 560px; margin: 0 auto; }
.mac { --k: 1; width: min(1240px, 100%); margin: 0 auto; transform: perspective(1800px) rotateX(calc((1 - var(--k)) * 14deg)) scale(calc(.9 + var(--k) * .1)); opacity: calc(.3 + var(--k) * .7); transform-origin: 50% 0; will-change: transform; }
.mac-pantalla { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; padding: 7px;
  background: linear-gradient(180deg, #2a2635, #121019); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 60px 120px -40px rgba(110, 60, 255, .45), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.mac-pantalla::before { content: ''; position: absolute; inset: 7px; border-radius: 16px;
  background: radial-gradient(80% 70% at 20% 0%, #3b1d8f 0%, transparent 60%), radial-gradient(70% 80% at 100% 100%, #5a1a6e 0%, transparent 55%), radial-gradient(60% 60% at 60% 40%, #1a1040, #0b0816); }
.mac-pantalla > * { position: relative; }
.mac-barra { height: 30px; display: flex; align-items: center; gap: 18px; padding: 0 16px; font: 500 13px var(--f-txt); color: #e8e6f2; background: rgba(10, 8, 20, .45); backdrop-filter: blur(20px); border-radius: 16px 16px 0 0; }
.mac-barra b { font-weight: 700; }
.mb-logo { width: 16px; height: 16px; display: block; }
.mb-der { margin-left: auto; display: flex; align-items: center; gap: 14px; font-variant-numeric: tabular-nums; }
.mb-wifi { width: 16px; height: 12px; display: block; }
.mb-bat { width: 22px; height: 10px; border: 1.5px solid #e8e6f2; border-radius: 3px; position: relative; }
.mb-bat::after { content: ''; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: #e8e6f2; border-radius: 1px; }

/* la ventana de la app */
.app { position: absolute; left: 50%; top: 52px; bottom: 82px; width: min(76%, 940px); transform: translateX(-50%); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(22, 19, 36, .94), rgba(12, 10, 22, .96)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .07); backdrop-filter: blur(30px); }
.app-barra { height: 48px; flex: none; display: flex; align-items: center; gap: 16px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.semaforo { display: flex; gap: 7px; }
.semaforo i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.semaforo i:nth-child(2) { background: #febc2e; } .semaforo i:nth-child(3) { background: #28c840; }
.app-equipo { display: flex; gap: 6px; }
.mini-av { position: relative; }
.mini-av .ok { position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 0 2px #16132a; }
.app-estado { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 600 12.5px var(--f-txt); color: #dcd8ee; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.app-estado i { width: 7px; height: 7px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 8px #34d27b; }
.app-estado.va i { background: #b79cff; box-shadow: 0 0 8px #b79cff; animation: late 1s infinite; }
.app-estado.toca i { background: #ffb547; box-shadow: 0 0 8px #ffb547; animation: late .7s infinite; }
@keyframes late { 50% { opacity: .35; } }
.app-cuerpo { flex: 1; display: grid; grid-template-columns: 1fr 290px; min-height: 0; }
.escena { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 20px;
  background: radial-gradient(70% 60% at 50% 45%, rgba(123, 77, 255, .16), transparent 70%); }

/* esferas en CSS: rápidas y nítidas */
.esfera { --s: 64px; --c: #8b5cff; --d: #2b0c9c; position: relative; display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--c) 45%, white) 0%, var(--c) 38%, var(--d) 82%);
  box-shadow: inset 0 -10px 18px color-mix(in srgb, var(--d) 70%, black), inset 0 4px 8px rgba(255, 255, 255, .45), 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent), 0 10px 30px -6px color-mix(in srgb, var(--c) 60%, transparent); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1), box-shadow .4s; }
.esfera::before { content: ''; position: absolute; left: 24%; top: 9%; width: 38%; height: 17%; border-radius: 50%; background: rgba(255, 255, 255, .6); filter: blur(1.2px); transform: rotate(-14deg); }
.esfera.xs { --s: 22px; }
.esfera.xs::before { filter: none; }
.talos-grande { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.talos-grande .esfera { --s: 120px; --c: #8b5cff; --d: #2b0c9c; animation: flota 4s ease-in-out infinite; }
.talos-grande.habla .esfera { transform: scale(1.08); }
@keyframes flota { 50% { translate: 0 -6px; } }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--f-txt); color: #ece9f7; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tag i { width: 6px; height: 6px; border-radius: 50%; }
.agentes { display: flex; gap: clamp(10px, 2.2vw, 30px); align-items: flex-end; }
.agente { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; }
.agente small { font: 500 11px var(--f-txt); color: #8d89a3; text-align: center; min-height: 28px; line-height: 1.3; }
.agente.activo .esfera { transform: translateY(-12px) scale(1.12); box-shadow: inset 0 -10px 18px color-mix(in srgb, var(--d) 70%, black), inset 0 4px 8px rgba(255, 255, 255, .5), 0 0 0 2px var(--c), 0 0 40px 4px color-mix(in srgb, var(--c) 70%, transparent); animation: brinca .6s ease-in-out infinite alternate; }
.agente.activo small { color: #fff; }
.agente.hecho small { color: #7ee0a8; }
@keyframes brinca { to { translate: 0 -5px; } }
.globo { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); max-width: 80%; padding: 10px 16px; border-radius: 16px; font: 500 14px/1.4 var(--f-txt); color: #f1eeff; text-align: center;
  background: linear-gradient(180deg, rgba(139, 92, 255, .32), rgba(90, 50, 200, .22)); box-shadow: inset 0 0 0 1px rgba(183, 156, 255, .35), 0 12px 30px -12px rgba(110, 60, 255, .7); }
.globo.in { animation: globo .35s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes globo { from { opacity: 0; transform: translateX(-50%) translateY(8px) scale(.96); } }

/* el plan a la derecha */
.plan { border-left: 1px solid rgba(255, 255, 255, .06); padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; background: rgba(255, 255, 255, .015); }
.plan-cab { display: flex; flex-direction: column; gap: 4px; }
.plan-cab b { font: 600 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #8d89a3; }
.plan-cab span { font: 600 15px/1.3 var(--f-tit); color: #f1eeff; }
.plan-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.plan-lista li { display: grid; grid-template-columns: 10px 1fr; column-gap: 10px; padding: 8px 10px; border-radius: 10px; font: 500 12.5px var(--f-txt); color: #cfcbe0; transition: background .3s; }
.plan-lista li i { grid-row: span 2; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: #3a3650; }
.plan-lista li span { font-size: 11.5px; color: #7d7895; }
.plan-lista li.activo { background: rgba(139, 92, 255, .12); }
.plan-lista li.activo i { background: var(--c); box-shadow: 0 0 10px var(--c); }
.plan-lista li.hecho i { background: var(--c); }
.plan-lista li.hecho span { color: #7ee0a8; }
.plan-extra .planos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.plan-extra .planos span { aspect-ratio: 16/9; border-radius: 8px; background: center/cover; animation: entra .4s both; }
.plan-extra .planos span:nth-child(2) { animation-delay: .12s } .plan-extra .planos span:nth-child(3) { animation-delay: .24s } .plan-extra .planos span:nth-child(4) { animation-delay: .36s }
@keyframes entra { from { opacity: 0; transform: scale(.9); } }
.elige { display: grid; grid-template-columns: 1fr; gap: 6px; }
.elige button { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; padding: 5px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .04); color: #e6e2f5; font: 600 12px var(--f-txt); cursor: pointer; text-align: left; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); animation: entra .4s both; }
.elige button:hover { background: rgba(139, 92, 255, .14); }
.elige button.on { box-shadow: inset 0 0 0 2px #3df08a; }
.elige span { aspect-ratio: 16/9; border-radius: 6px; background: center/cover; }
.final { display: flex; flex-direction: column; gap: 10px; animation: entra .5s both; }
.final-img { position: relative; aspect-ratio: 16/9; border-radius: 10px; background: center/cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.final-play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 14 16'%3E%3Cpath d='M2 1.5l10.5 6.5L2 14.5z' fill='%230a0a10'/%3E%3C/svg%3E") 56% center no-repeat; }
.final b { font: 600 13.5px/1.3 var(--f-tit); color: #f1eeff; display: block; }
.final span { font: 500 11.5px var(--f-txt); color: #8d89a3; }

/* escribir el pedido */
.pide { flex: none; margin: 12px 16px 6px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.pide:focus-within { box-shadow: inset 0 0 0 1.5px rgba(139, 92, 255, .8), 0 0 0 4px rgba(139, 92, 255, .15); }
.pide input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #f4f2ff; font: 500 15px var(--f-txt); padding: 8px 0; }
.pide input::placeholder { color: #7d7895; }
.pide button { flex: none; width: 36px; height: 36px; border-radius: 11px; border: 0; cursor: pointer; color: #fff; background: linear-gradient(180deg, #9b74ff, #6a3cf0); box-shadow: 0 6px 16px -6px rgba(123, 77, 255, .9); display: grid; place-items: center; }
.app.trabajando .pide { opacity: .5; pointer-events: none; }
.sugerencias { flex: none; display: flex; gap: 6px; padding: 0 16px 14px; flex-wrap: wrap; transition: opacity .3s; }
.sugerencias.fuera { opacity: 0; pointer-events: none; }
.sugerencias button { border: 0; cursor: pointer; font: 500 12px var(--f-txt); color: #bdb8d4; padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.sugerencias button:hover { color: #fff; background: rgba(139, 92, 255, .18); }

/* el dock con iconos propios (no son de Apple) */
.dock { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 18px; background: rgba(30, 26, 48, .5); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.dock .app-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 24%; color: var(--g); background: linear-gradient(180deg, #2a2444, #141024); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 4px 10px -4px rgba(0, 0, 0, .7); }
.dock .app-ic svg { width: 64%; height: 64%; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--g) 50%, transparent)); }
.dock .sep { width: 1px; height: 32px; background: rgba(255, 255, 255, .15); margin: 0 2px; }
.dock .talos-ic { width: 52px; height: 52px; margin: -5px; display: block; filter: drop-shadow(0 6px 10px rgba(110, 60, 255, .45)); }
.dock .punto { position: absolute; right: 26px; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: #e8e6f2; }

/* ---------- móvil ---------- */
@media (max-width: 860px) {
  .app { width: 92%; top: 44px; bottom: 70px; }
  .app-cuerpo { grid-template-columns: 1fr; }
  .app-cuerpo { grid-template-rows: auto 1fr; } .plan { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .06); } .plan-lista { display: none; }
  .dock .app-ic { width: 30px; height: 30px; } .dock .talos-ic { width: 38px; height: 38px; margin: -4px; } .dock .punto { right: 19px; }
}
@media (max-width: 759px) {
  .heroe { height: 200vh; }
  .heroe-txt { top: calc(var(--nav) + 3vh); }
  .heroe-txt .sobre { font-size: 10.5px; margin-bottom: 18px; }
  .heroe-txt p { font-size: 15.5px; margin-bottom: 22px; }
  .mac-sec { margin-top: -66vh; padding: 0 12px 80px; }
  .mac-cab p { font-size: 15.5px; }
  .mac-pantalla { aspect-ratio: auto; height: 700px; border-radius: 18px; padding: 5px; }
  .mac-barra span:not(.mb-der):not(.mb-logo) { display: none; }
  .mac-barra span.mb-der { display: flex; }
  .mac-barra span.mb-der span { display: inline; }
  .app { width: calc(100% - 20px); top: 40px; bottom: 64px; }
  .app-barra { gap: 10px; padding: 0 12px; }
  .app-equipo { display: none; }
  .app-cuerpo { grid-template-rows: auto 1fr; }
  .escena { justify-content: flex-start; padding: 84px 8px 12px; gap: 12px; }
  .talos-grande { gap: 6px; }
  .talos-grande .esfera { --s: 64px; }
  .agentes { gap: 2px; width: 100%; justify-content: space-between; }
  .agente { width: 20%; gap: 6px; }
  .agente .esfera { --s: 38px; }
  .agente.activo .esfera { transform: translateY(-6px) scale(1.12); }
  .agente .tag { font-size: 10px; padding: 3px 7px; gap: 0; }
  .agente .tag i, .agente small { display: none; }
  .globo { font-size: 12px; top: 10px; max-width: 92%; padding: 7px 12px; }
  .plan { display: flex; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .06); padding: 12px; gap: 10px; }
  .plan-lista { display: none; }
  .plan-cab span { font-size: 13.5px; }
  .elige { grid-template-columns: repeat(3, 1fr); }
  .elige button { grid-template-columns: 1fr; gap: 4px; font-size: 10.5px; text-align: center; }
  .final { flex-direction: row; align-items: center; }
  .final b { display: none; }
  .final-play { width: 34px; height: 34px; }
  .pide { margin: 8px 10px 4px; }
  .sugerencias { padding: 0 10px 10px; flex-wrap: nowrap; overflow-x: auto; }
  .sugerencias button { white-space: nowrap; }
  .dock { bottom: 10px; gap: 6px; padding: 5px; }
  .dock .app-ic { width: 30px; height: 30px; } .dock .app-ic:nth-child(n+6) { display: none; } .dock .talos-ic { width: 38px; height: 38px; margin: -4px; } .dock .punto { right: 18px; bottom: 1px; }
}
@media (prefers-reduced-motion: reduce) { .mac { transform: none; opacity: 1; } }

/* logo de Talos */
.marca .logo { width: 30px; height: 30px; display: block; filter: drop-shadow(0 2px 8px rgba(123, 77, 255, .5)); }
.marca { display: flex; align-items: center; gap: 10px; }
.pregunta-talos .avatar img { width: 64px; height: 64px; }
.talos-reserva-logo { display: block; width: 84px; height: 84px; margin: 0 auto 18px; filter: drop-shadow(0 10px 24px rgba(123, 77, 255, .5)); }

/* ojos vivos, como en el logo */
.esfera .ojos { display: flex; gap: calc(var(--s) * .07); margin-top: calc(var(--s) * .04); animation: parpadea 5s infinite; }
.esfera .ojos::before, .esfera .ojos::after { content: ''; width: calc(var(--s) * .2); height: calc(var(--s) * .215); border-radius: 50%;
  background: radial-gradient(circle calc(var(--s) * .022) at 72% 30%, #fff 92%, transparent 100%), radial-gradient(circle calc(var(--s) * .06) at 62% 40%, #24097e 92%, #fff 100%);
  box-shadow: 0 0 calc(var(--s) * .08) rgba(225, 215, 255, .55); }
.esfera.xs .ojos { animation: none; }
.esfera.xs .ojos::before, .esfera.xs .ojos::after { box-shadow: none; }
@keyframes parpadea { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }

/* revisión: esferas sin el brillo grande, ojos más grandes, estado en espera, fin del héroe */
.esfera::before { left: 30%; top: 8%; width: 26%; height: 10%; background: rgba(255, 255, 255, .35); filter: blur(2px); }
.esfera .ojos::before, .esfera .ojos::after { width: calc(var(--s) * .24); height: calc(var(--s) * .255);
  background: radial-gradient(circle calc(var(--s) * .026) at 72% 30%, #fff 92%, transparent 100%), radial-gradient(circle calc(var(--s) * .072) at 62% 40%, #24097e 92%, #fff 100%); }
.esfera .ojos { gap: calc(var(--s) * .06); }
.app-estado.espera i { background: #8d89a3; box-shadow: none; }
.agente small { color: #6f6b86; }
.heroe-fijo { opacity: calc(1 - var(--fin, 0)); }
.heroe-txt .bt-link { color: #cbb8ff; }
@media (max-width: 759px) {
  .plan { overflow-y: auto; min-height: 0; }
  .sugerencias { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .app-cuerpo { min-height: 0; }
}

/* revisión 2 */
.dock .talos-ic { width: 42px; height: 42px; margin: 0; border-radius: 24%; filter: drop-shadow(0 0 10px rgba(139, 92, 255, .7)); }
.dock .punto { right: 28px; }
.plan { overflow-y: auto; scrollbar-width: none; padding-bottom: 16px; }
.plan-lista li { padding: 6px 10px; }
.final-img { max-height: 132px; }
@media (max-width: 860px) { .dock .talos-ic { width: 30px; height: 30px; } .dock .punto { right: 20px; } }
@media (max-width: 759px) {
  .dock .app-ic { width: 32px; height: 32px; } .dock .app-ic:nth-child(n+5) { display: none; }
  .dock .talos-ic { width: 32px; height: 32px; } .dock .punto { right: 20px; }
  .final { flex-direction: row; align-items: center; } .final-img { width: 52%; flex: none; } .final span { font-size: 12px; line-height: 1.5; }
  .sugerencias { -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }
  .mac-barra { gap: 10px; }
}

.final b { display: none; }

/* revisión 3 */
.pista { margin: 0; font: 500 13px/1.5 var(--f-txt); color: #8d89a3; padding: 12px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .12); }
.talos-grande { margin-top: 34px; }
.final-img { max-height: 112px; }
@media (max-width: 759px) {
  .talos-grande { margin-top: 0; }
  .agente small { display: block; font-size: 9.5px; min-height: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .dock .app-ic, .dock .talos-ic { width: 30px; height: 30px; } .dock .app-ic:nth-child(n+6) { display: none; } .dock .app-ic:nth-child(5) { display: grid; }
  .dock { gap: 5px; } .dock .talos-ic { filter: none; } .dock .punto { right: 17px; }
  .sugerencias { -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
  .pista { font-size: 12px; }
}

/* ojos vivos: el logo de Talos en todas partes */
[data-talos-logo] { display: inline-block; flex: none; }
[data-talos-logo] svg { width: 100%; height: 100%; }
.marca .logo { width: 30px; height: 30px; filter: drop-shadow(0 2px 8px rgba(123, 77, 255, .5)); }
.mac-barra .mb-logo { width: 16px; height: 16px; background: none; }
.ojos-planeta { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.ojos-planeta svg > circle, .ojos-planeta svg > defs + circle { display: none; }
.talos-grande .orbe { width: 120px; height: 120px; animation: flota 4s ease-in-out infinite; filter: drop-shadow(0 14px 30px rgba(123, 77, 255, .55)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.talos-grande.habla .orbe { transform: scale(1.06); }
.orbe.ag { width: 64px; height: 64px; filter: hue-rotate(var(--h)) saturate(1.15) drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.orbe.ag.xs { width: 22px; height: 22px; filter: hue-rotate(var(--h)) saturate(1.15); }
.agente.activo .orbe.ag { transform: translateY(-12px) scale(1.12); animation: brinca .6s ease-in-out infinite alternate; }
.pregunta-talos .avatar .orbe { width: 64px; height: 64px; }
.talos-reserva-logo { display: block; width: 84px; height: 84px; margin: 0 auto 18px; filter: drop-shadow(0 10px 24px rgba(123, 77, 255, .5)); }
.dock .talos-ic { width: 52px; height: 52px; margin: -5px; border-radius: 0; filter: drop-shadow(0 0 10px rgba(139, 92, 255, .6)); }
@media (max-width: 860px) { .dock .talos-ic { width: 38px; height: 38px; margin: -4px; } }
@media (max-width: 759px) {
  .talos-grande .orbe { width: 72px; height: 72px; }
  .orbe.ag { width: 40px; height: 40px; }
  .agente.activo .orbe.ag { transform: translateY(-6px) scale(1.1); }
  .dock .talos-ic { width: 38px; height: 38px; margin: -4px; filter: none; }
}

/* revisión 4 */
#app-equipo { display: none; }
@media (max-width: 759px) {
  .agentes { gap: 0; }
  .agente { width: 20%; min-width: 0; }
  .agente small { white-space: normal; font-size: 9px; line-height: 1.25; min-height: 23px; padding: 0 2px; }
  .final { flex-direction: column; align-items: stretch; }
  .final-img { width: 100%; max-height: 84px; aspect-ratio: auto; height: 84px; }
  .final span { font-size: 11.5px; }
}

@media (max-width: 759px) { .agente small { display: none; } }

/* dock con las apps de Daniel (iconos dibujados por nosotros) */
.dock .app-ic2 { display: block; width: 42px; height: 42px; flex: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.dock .app-ic2 svg { width: 100%; height: 100%; display: block; }
@media (max-width: 860px) { .dock .app-ic2 { width: 32px; height: 32px; } }
@media (max-width: 759px) {
  .dock { gap: 4px; padding: 5px; }
  .dock .app-ic2 { width: 25px; height: 25px; filter: none; }
  .dock .sep { height: 22px; margin: 0 1px; }
  .dock .talos-ic { width: 33px; height: 33px; margin: -4px; }
  .dock .punto { right: 15px; }
}

/* bots de los agentes (Tinta, Eco, Flash, Clac, Chispa) */
.orbe.bot { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); object-fit: contain; display: block; user-select: none; }
.orbe.ag.bot { width: 92px; height: 92px; margin-bottom: -6px; }
.orbe.ag.bot.xs { width: 24px; height: 24px; filter: none; }
.agente.activo .orbe.ag.bot { filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .5)) drop-shadow(0 0 18px color-mix(in srgb, var(--c, #8b5cff) 55%, transparent)); }
.agente .tag em { display: none; }
@media (max-width: 640px) {
  .orbe.ag.bot { width: 58px; height: 58px; margin-bottom: -4px; }
  .agente .tag em { display: none; }
}

/* ===== la app como un chat (estilo asistente): Talos arriba en el centro ===== */
.app.chat .app-titulo { flex: 1; text-align: center; font: 600 13px var(--f-txt); color: #cfcbe0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 40px; }
.app.chat .app-estado { margin-left: 0; }
.chat-cuerpo { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; position: relative;
  background: radial-gradient(60% 45% at 50% 18%, rgba(123, 77, 255, .16), transparent 70%); }
.chat-talos { flex: none; padding-top: 7%; transition: padding .6s cubic-bezier(.3, 1, .4, 1); }
.chat-talos .orbe { width: 120px; height: 120px; display: block; filter: drop-shadow(0 14px 30px rgba(123, 77, 255, .55)); transition: width .6s cubic-bezier(.3, 1, .4, 1), height .6s cubic-bezier(.3, 1, .4, 1); animation: flota 4s ease-in-out infinite; }
.chat-hola { text-align: center; margin-top: 22px; transition: opacity .3s; }
.chat-hola h3 { font: 600 clamp(22px, 2.1vw, 30px)/1.15 var(--f-tit); letter-spacing: -.03em; color: #f6f4ff; margin: 0 0 8px; }
.chat-hola p { margin: 0; color: #8d89a3; font-size: 14.5px; }
.app.hablando .chat-talos { padding-top: 14px; }
.app.hablando .chat-talos .orbe { width: 64px; height: 64px; }
.app.hablando .chat-hola { display: none; }
.hilo { flex: 1; min-height: 0; width: min(640px, 100%); overflow-y: auto; padding: 14px 20px 10px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; }
.hilo::-webkit-scrollbar { display: none; }
.msg { flex: none; animation: entra .35s both; font: 400 14.5px/1.55 var(--f-txt); color: #e9e6f6; }
.msg.yo { align-self: flex-end; max-width: 78%; background: rgba(255, 255, 255, .08); padding: 9px 14px; border-radius: 16px; }
.msg.talos { align-self: flex-start; max-width: 92%; }
.msg.tareas { display: flex; flex-direction: column; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); overflow: hidden; }
.tarea { display: grid; grid-template-columns: 30px auto 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; font-size: 13px; transition: background .3s; }
.tarea + .tarea { border-top: 1px solid rgba(255, 255, 255, .05); }
.tarea .bot-av { width: 30px; height: 30px; object-fit: contain; opacity: .45; transition: opacity .3s, transform .3s; }
.tarea b { font-weight: 600; color: #f1eeff; }
.tarea span { color: #7d7895; }
.tarea em { font-style: normal; color: #6f6b86; font-size: 12.5px; text-align: right; }
.tarea.activo { background: rgba(139, 92, 255, .1); }
.tarea.activo .bot-av { opacity: 1; transform: scale(1.12); animation: brinca .6s ease-in-out infinite alternate; }
.tarea.activo em { color: #cbb8ff; }
.tarea.hecho .bot-av { opacity: 1; }
.tarea.hecho em { color: #7ee0a8; }
.tarea.hecho em::before { content: '✓ '; }
.msg.adjunto { align-self: stretch; }
.msg .planos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.msg .planos span { aspect-ratio: 16/9; border-radius: 8px; background: center/cover; }
.msg .elige { grid-template-columns: repeat(3, 1fr); }
.msg .elige button { grid-template-columns: 1fr; gap: 6px; text-align: center; }
.msg .final { flex-direction: row; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.msg .final-img { width: 42%; flex: none; }
/* caja de escribir como la de un asistente: texto arriba, botones abajo */
.app.chat .pide { width: min(680px, calc(100% - 32px)); margin: 8px auto 8px; flex-direction: column; align-items: stretch; gap: 6px; padding: 12px 10px 8px 16px; border-radius: 20px; background: rgba(255, 255, 255, .055); }
.app.chat .pide input { padding: 4px 0; }
.pide-fila { display: flex; align-items: center; gap: 4px; margin-left: -6px; }
.pide-hueco { flex: 1; }
.app.chat .pide .pide-ic { width: 32px; height: 32px; border-radius: 10px; background: none; box-shadow: none; color: #a9a6bd; }
.app.chat .pide .pide-ic:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.pide-ic svg { width: 16px; height: 16px; }
.pide-modelo { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px var(--f-txt); color: #a9a6bd; padding: 6px 8px; border-radius: 9px; }
.pide-modelo svg { width: 9px; height: 6px; }
.app.chat .pide .pide-enviar { width: 32px; height: 32px; border-radius: 10px; }
.app.chat .sugerencias { justify-content: center; padding: 0 16px 12px; }
.app.chat.hablando .sugerencias { display: none; }
@media (max-width: 640px) {
  .app.chat .app-titulo { padding-left: 0; font-size: 12px; }
  .chat-talos { padding-top: 12%; }
  .chat-talos .orbe { width: 88px; height: 88px; }
  .app.hablando .chat-talos .orbe { width: 46px; height: 46px; }
  .hilo { padding: 10px 12px; }
  .msg { font-size: 13.5px; }
  .tarea { grid-template-columns: 26px auto 1fr; gap: 8px; padding: 7px 10px; }
  .tarea span { display: none; }
  .tarea .bot-av { width: 26px; height: 26px; }
  .msg .planos { grid-template-columns: repeat(2, 1fr); }
  .pide-modelo { font-size: 11.5px; }
  .app.chat .pide { width: calc(100% - 20px); padding: 10px 8px 6px 14px; }
  .app.chat .sugerencias { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .app.chat .sugerencias button { white-space: nowrap; }
}
.msg .final > div:last-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.msg .final > div:last-child b { display: block; font: 600 14px/1.3 var(--f-txt); color: #f1eeff; }

/* ===== mesa de trabajo: los agentes con su cursor ===== */
.chat-cuerpo { flex-direction: row; align-items: stretch; }
.chat-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; transition: flex-basis .6s cubic-bezier(.3, 1, .4, 1); }
.mesa { position: relative; flex: 0 0 0; width: 0; overflow: hidden; opacity: 0; transition: flex-basis .6s cubic-bezier(.3, 1, .4, 1), opacity .4s; border-left: 1px solid rgba(255, 255, 255, .06); background: rgba(8, 6, 16, .45); display: flex; flex-direction: column; }
.app.mesa-on .chat-col { flex: 0 0 40%; }
.app.mesa-on .mesa { flex: 1 1 60%; width: auto; opacity: 1; }
.app.mesa-on .hilo { padding-left: 14px; padding-right: 14px; }
.app.mesa-on .msg { font-size: 13.5px; }
.app.mesa-on .tarea span { display: none; }
.app.mesa-on .tarea { grid-template-columns: 26px auto 1fr; }
.app.mesa-on .tarea .bot-av { width: 26px; height: 26px; }
.mesa-pestanas { flex: none; display: flex; gap: 4px; padding: 10px 12px 0; }
.mesa-pestanas span { font: 600 11.5px var(--f-txt); color: #6f6b86; padding: 6px 10px; border-radius: 8px 8px 0 0; }
.mesa-pestanas span.on { color: #f1eeff; background: rgba(255, 255, 255, .06); }
.mesa-pestanas span.hecha { color: #7ee0a8; }
.mesa-zona { flex: 1; min-height: 0; margin: 0 12px 12px; border-radius: 0 12px 12px 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); padding: 14px; overflow: hidden; }
.tool { height: 100%; display: flex; flex-direction: column; gap: 10px; animation: entra .35s both; font: 500 12.5px var(--f-txt); color: #cfcbe0; }
.mini-bt, .tool button { border: 0; cursor: default; font: 600 11.5px var(--f-txt); color: #e9e6f6; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .08); transition: transform .15s, background .2s; }
.tool .pulsado, .mini-bt.pulsado { transform: scale(.94); background: rgba(139, 92, 255, .45); }
/* cursores */
.cursores { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.cursor { position: absolute; left: 0; top: 0; opacity: 0; transition-property: transform, opacity; transition-timing-function: cubic-bezier(.45, .05, .25, 1); will-change: transform; }
.cursor.ve { opacity: 1; }
.cursor svg { width: 20px; height: 22px; display: block; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); transition: transform .15s; }
.cursor.clic svg { transform: scale(.82); }
.cursor.clic::before { content: ''; position: absolute; left: -10px; top: -10px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--c); animation: onda .45s ease-out both; }
@keyframes onda { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.cur-tag { position: absolute; left: 16px; top: 18px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font: 700 11px var(--f-txt); color: #fff; padding: 3px 8px 3px 4px; border-radius: 99px; background: var(--c); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.cur-tag img { width: 18px; height: 18px; object-fit: contain; }
/* guion */
.doc { height: 100%; display: flex; flex-direction: column; gap: 8px; }
.doc-barra, .esc-barra { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.doc-barra b, .esc-barra b { font: 600 12.5px var(--f-txt); color: #f1eeff; }
.doc-hoja { flex: 1; min-height: 0; overflow: hidden; background: #f4f1ea; color: #23202c; border-radius: 8px; padding: 14px 16px; }
.doc-hoja h4 { margin: 0 0 8px; font: 700 14px var(--f-tit); }
.doc-hoja p { margin: 0 0 6px; font: 400 12.5px/1.5 Georgia, serif; min-height: 1.5em; }
.doc-pie { display: flex; justify-content: space-between; font-size: 11px; color: #8d89a3; }
/* voz */
.voz { gap: 12px; }
.voces { display: flex; gap: 6px; }
.voces button.on { background: color-mix(in srgb, var(--c, #a66bff) 40%, transparent); box-shadow: inset 0 0 0 1px #a66bff; }
.onda { position: relative; border-radius: 10px; background: rgba(0, 0, 0, .3); padding: 8px; }
.onda canvas { width: 100%; height: 90px; display: block; }
.onda .seg { position: absolute; right: 10px; top: 8px; font: 600 11px var(--f-mono); color: #a9a6bd; }
.grabar { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; }
.grabar i { width: 9px; height: 9px; border-radius: 50%; background: #ff4f6d; }
.grabar.on i { animation: late .7s infinite; }
.sub-voz { margin: 0; font: 500 13px/1.45 var(--f-txt); color: #f1eeff; min-height: 2.9em; }
/* escenas */
.esc-rejilla { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: min-content; gap: 8px; align-content: start; }
.esc-rejilla span { aspect-ratio: 16/9; border-radius: 7px; background: rgba(255, 255, 255, .05) center/cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.esc-rejilla span.carga { background-image: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .14) 50%, transparent 70%) !important; background-size: 200% 100%; animation: brillo .8s linear infinite; }
.esc-rejilla span.lista { animation: entra .35s both; }
@keyframes brillo { from { background-position: 150% 0; } to { background-position: -50% 0; } }
/* montaje */
.montaje { gap: 8px; }
.previo { position: relative; flex: 1; min-height: 0; border-radius: 8px; overflow: hidden; background: #000; }
.previo video { width: 100%; height: 100%; object-fit: contain; display: block; }
.previo .tc { position: absolute; left: 8px; bottom: 6px; font: 600 10.5px var(--f-mono); color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 6px; border-radius: 5px; }
.bandeja { display: flex; gap: 6px; }
.bandeja span { flex: 1; aspect-ratio: 16/9; border-radius: 5px; background: center/cover; transition: opacity .3s; }
.bandeja span.usada { opacity: .25; }
.fantasma { position: absolute; z-index: 4; border-radius: 5px; background: center/cover; box-shadow: 0 8px 20px rgba(0, 0, 0, .6); transition: transform .52s cubic-bezier(.45, .05, .25, 1); }
.linea { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 8px; background: rgba(0, 0, 0, .3); }
.pista { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 6px; }
.pista b { font: 600 10px var(--f-txt); color: #8d89a3; }
.carril-img { display: flex; gap: 2px; height: 26px; }
.carril-img span { width: calc((100% - 10px) / 6); height: 100%; border-radius: 3px; background: center/cover; transition: opacity .2s; }
.carril-voz, .carril-mus { height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .05); position: relative; overflow: hidden; }
.carril-voz::after, .carril-mus::after { content: ''; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s; }
.carril-voz::after { background: repeating-linear-gradient(90deg, #a66bff 0 2px, transparent 2px 4px); }
.carril-mus::after { background: linear-gradient(90deg, #3df08a55, #3df08a99); }
.carril-voz.llena::after, .carril-mus.llena::after { transform: scaleX(1); }
.linea .cabezal { position: absolute; top: 2px; bottom: 2px; left: 58px; width: 2px; background: #ff4f6d; border-radius: 2px; }
.linea.reproduce .cabezal { animation: cabezal 4s linear forwards; }
@keyframes cabezal { to { left: 92%; } }
/* miniatura */
.mini-ed { gap: 10px; }
.lienzo { position: relative; flex: 1; min-height: 0; border-radius: 8px; background: center/cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.rotulo { position: absolute; left: 6%; top: 8%; max-width: 70%; font: 800 clamp(16px, 2vw, 28px)/1.05 var(--f-tit); color: #fff; text-shadow: 0 3px 0 #000, 0 0 18px rgba(0, 0, 0, .8); letter-spacing: -.02em; }
.rotulo.amarillo { color: #ffd84a; }
.mini-ops { display: flex; gap: 6px; }
.mini-ops .exp { margin-left: auto; background: linear-gradient(180deg, #9b74ff, #6a3cf0); }
.previo.grande { height: 100%; }
.sello-fin { position: absolute; left: 10px; top: 10px; font: 600 11px var(--f-txt); color: #fff; background: rgba(30, 160, 90, .85); padding: 4px 9px; border-radius: 99px; }
@media (max-width: 640px) {
  .chat-cuerpo { flex-direction: column; }
  .app.mesa-on .chat-col { flex: 1 1 45%; order: 2; min-height: 0; }
  .app.mesa-on .mesa { flex: 0 0 52%; order: 1; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .app.mesa-on .chat-talos { display: none; }
  .mesa-pestanas span { font-size: 10px; padding: 5px 6px; }
  .mesa-zona { margin: 0 8px 8px; padding: 10px; }
  .esc-rejilla { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .doc-hoja { padding: 10px; } .doc-hoja p { font-size: 11px; }
  .onda canvas { height: 60px; }
  .cur-tag { font-size: 10px; }
}
.mesa-zona { display: flex; flex-direction: column; }
.tool { flex: 1 1 0; min-height: 0; height: auto; }
.previo, .lienzo { flex: 1 1 0; }
.previo video { position: absolute; inset: 0; }
.tool > div { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.tool > .montaje { gap: 8px; }
@media (max-width: 640px) {
  .app.mesa-on .mesa { flex: 0 0 58%; }
  .pista:nth-child(3), .montaje .bandeja { display: none; }
  .montaje .bandeja.ve-movil { display: flex; }
}

/* ===== estilos: pulsar y ver una muestra real ===== */
.estilo-ver { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 36px; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.estilo-ver[hidden] { display: none; }
.ev-video { border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16/9; }
.ev-video video { width: 100%; height: 100%; display: block; object-fit: contain; }
.ev-info .sobre { display: inline-block; font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #7ee0a8; margin-bottom: 10px; }
.ev-info h3 { font: 600 clamp(24px, 2.4vw, 34px)/1.05 var(--f-tit); letter-spacing: -.03em; margin: 0 0 10px; color: #f6f4ff; }
.ev-info p { margin: 0 0 8px; color: #cfcbe0; font-size: 15px; }
.ev-info small { color: #8d89a3; font-size: 13px; }
#estilos-g .estilo { text-align: left; border: 0; padding: 0; background: none; color: inherit; font: inherit; display: flex; flex-direction: column; gap: 10px; }
#estilos-g .con-clip { cursor: pointer; }
#estilos-g .est-poster { position: relative; display: block; aspect-ratio: 16/9; border-radius: 14px; background: #15121f center/cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .25s, box-shadow .25s; }
#estilos-g .con-clip:hover .est-poster { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 30px -12px rgba(123, 77, 255, .6); }
#estilos-g .estilo.on .est-poster { box-shadow: inset 0 0 0 2px #9b74ff, 0 0 0 4px rgba(155, 116, 255, .2); }
.est-play { position: absolute; left: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='14' viewBox='0 0 12 14'%3E%3Cpath d='M1.5 1.2l9 5.8-9 5.8z' fill='%230a0a10'/%3E%3C/svg%3E") 56% center no-repeat; }
.est-poster.vacio { display: grid !important; place-items: center; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 10px, transparent 10px 20px) !important; }
.est-poster.vacio em { font: 600 12px var(--f-txt); font-style: normal; color: #8d89a3; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.sin-clip b { color: #a9a6bd; }
@media (min-width: 1100px) { #estilos-g.carril { grid-template-columns: repeat(4, minmax(0, 1fr)); } #estilos-g .estilo b { font-size: 16px; } }
@media (max-width: 760px) {
  .estilo-ver { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; padding: 10px; }
  .ev-info { padding: 0 6px 6px; }
}

/* ===== tras la revisión ===== */
.cursor.gira .cur-tag { left: auto; right: 4px; }
.cur-tag { color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.rotulo { top: auto; bottom: 7%; left: 5%; padding: 6px 12px 8px; border-radius: 8px; background: rgba(8, 6, 16, .72); text-shadow: none; }
.rotulo:empty { display: none; }
.app.mesa-on .hilo { -webkit-mask-image: linear-gradient(transparent, #000 28px); mask-image: linear-gradient(transparent, #000 28px); }
#estilos-g .estilo { border-radius: 22px; transition: box-shadow .25s, background .25s; }
#estilos-g .estilo.on { box-shadow: 0 0 0 2px #9b74ff, 0 14px 40px -16px rgba(123, 77, 255, .7); background: rgba(155, 116, 255, .08); }
#estilos-g .estilo.on .est-poster { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#estilos-g .estilo.suena .est-play { background-color: #9b74ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='14' viewBox='0 0 12 14'%3E%3Cpath d='M2 1h3v12H2zM7 1h3v12H7z' fill='%23fff'/%3E%3C/svg%3E"); background-position: center; }
.ev-info { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 8px 18px 8px 4px; }
.ev-bts { display: flex; gap: 8px; margin-top: 22px; }
.ev-bts:empty { display: none; }
.ev-bts button { border: 0; cursor: pointer; font: 600 14px var(--f-txt); color: #f6f4ff; padding: 10px 16px; border-radius: 99px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: background .2s; }
.ev-bts button:hover { background: rgba(255, 255, 255, .14); }
.ev-bts .ev-sig { background: linear-gradient(180deg, #9b74ff, #6a3cf0); box-shadow: 0 8px 22px -10px rgba(123, 77, 255, .9); }
.est-prox { max-width: 1200px; margin: 34px auto 0; padding: 0 40px; text-align: center; }
.est-prox:empty { display: none; }
.est-prox p { color: #8d89a3; font-size: 14px; margin: 0 0 14px; }
.est-prox p b { color: #cfcbe0; font-weight: 600; }
.est-prox .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.est-prox .chips span { font: 500 13px var(--f-txt); color: #a9a6bd; padding: 7px 13px; border-radius: 99px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
@media (min-width: 1100px) { #estilos-g.carril { grid-auto-flow: row; overflow: visible; -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 760px) {
  .est-prox { padding: 0 20px; margin-top: 10px; }
  .est-prox .chips span { font-size: 12px; padding: 6px 11px; }
  .ev-bts { margin-top: 14px; }
  .ev-bts .ev-sig { flex: 1; }
  #estilos-g.carril { scroll-padding-inline: 20px; }
}
@media (max-width: 640px) {
  .app.mesa-on .tarea { padding: 5px 10px; font-size: 12.5px; }
  .app.mesa-on .mesa { flex-basis: 60%; }
  .montaje .linea .pista:nth-child(3) { display: none; }
}

/* ===== segunda ronda ===== */
.cur-tag { left: 12px; top: -22px; }
.cursor.gira .cur-tag { left: auto; right: 10px; }
.doc-hoja h4 { font-size: 16px; margin-bottom: 10px; }
.doc-hoja p { font-size: 14px; line-height: 1.55; margin-bottom: 8px; }
.voz { justify-content: flex-start; }
.onda { flex: 1 1 0; min-height: 90px; display: flex; }
.onda canvas { height: 100%; min-height: 70px; }
.sub-voz { font-size: 15px; min-height: 3em; }
.carril-img { height: 34px; }
.carril-voz, .carril-mus { height: 16px; }
.carril-voz::after, .carril-mus::after { transform: scaleX(var(--p, 0)); }
.rotulo { left: 5%; right: auto; top: 50%; bottom: auto; transform: translateY(-50%); max-width: 60%; padding: 0; background: none; display: flex; flex-direction: column; gap: 2px; font: 900 clamp(18px, 2.6vw, 38px)/1 var(--f-tit); letter-spacing: -.02em; text-shadow: 0 3px 12px rgba(0, 0, 0, .7); }
.rotulo i { font-style: normal; min-height: 1em; }
.rotulo i:empty { display: none; }
.rotulo.amarillo .r2 { color: #ffd84a; }
.rotulo.amarillo { color: #fff; }
.tira { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.tira span { width: 74px; aspect-ratio: 16/9; border-radius: 5px; background: center/cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 6px 16px rgba(0, 0, 0, .6); animation: entra .3s both; }
.app.mesa-on .hilo { -webkit-mask-image: linear-gradient(transparent, #000 48px); mask-image: linear-gradient(transparent, #000 48px); }
/* reproductor del selector */
.ev-video { position: relative; }
.ev-video video { cursor: pointer; }
.ev-grande { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(155, 116, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 12 14'%3E%3Cpath d='M1.5 1.2l9 5.8-9 5.8z' fill='%23fff'/%3E%3C/svg%3E") 56% center no-repeat; box-shadow: 0 10px 30px -6px rgba(123, 77, 255, .9), 0 0 0 8px rgba(155, 116, 255, .18); transition: opacity .25s, transform .25s; }
.ev-grande:hover { transform: scale(1.06); }
.ev-video.suena .ev-grande { opacity: 0; pointer-events: none; transform: scale(.8); }
.ev-ctl { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: rgba(8, 6, 16, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.ev-video:hover .ev-ctl, .ev-video.suena .ev-ctl { opacity: 1; transform: none; }
.ev-ctl button { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer; background: transparent center no-repeat; }
.ev-pp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='14' viewBox='0 0 12 14'%3E%3Cpath d='M1.5 1.2l9 5.8-9 5.8z' fill='%23fff'/%3E%3C/svg%3E") !important; }
.ev-video.suena .ev-pp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='14' viewBox='0 0 12 14'%3E%3Cpath d='M2 1h3v12H2zM7 1h3v12H7z' fill='%23fff'/%3E%3C/svg%3E") !important; }
.ev-son { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='16' viewBox='0 0 18 16'%3E%3Cpath d='M1 5h3l5-4v14l-5-4H1z' fill='%23fff'/%3E%3Cpath d='M12 4.5a5 5 0 0 1 0 7M14.5 2a8.5 8.5 0 0 1 0 12' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important; }
.ev-video.mudo .ev-son { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='16' viewBox='0 0 18 16'%3E%3Cpath d='M1 5h3l5-4v14l-5-4H1z' fill='%23fff'/%3E%3Cpath d='M12 5l5 6M17 5l-5 6' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") !important; }
.ev-barra { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .2); cursor: pointer; position: relative; }
.ev-barra i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #7b4dff, #b89aff); }
.ev-t { font: 600 12px var(--f-mono); color: #e6e2f5; min-width: 34px; }
.ev-puntos { display: flex; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.ev-puntos button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; cursor: pointer; background: rgba(255, 255, 255, .22); transition: width .25s, background .25s; }
.ev-puntos button.on { width: 26px; background: #9b74ff; }
.estilo-ver { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 760px) {
  .ev-grande { width: 58px; height: 58px; }
  .ev-ctl { left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; gap: 8px; }
  .ev-puntos { margin-top: 12px; }
}
@media (max-width: 640px) {
  .app.mesa-on .hilo { -webkit-mask-image: none; mask-image: none; }
  .app.mesa-on .msg.tareas { flex-direction: row; justify-content: space-between; padding: 6px 4px; }
  .app.mesa-on .msg.tareas .tarea { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; flex: 1; border: 0; border-radius: 10px; }
  .app.mesa-on .msg.tareas .tarea b { font-size: 10.5px; }
  .app.mesa-on .msg.tareas .tarea em { font-size: 0; text-align: center; }
  .app.mesa-on .msg.tareas .tarea.hecho em::before { font-size: 11px; }
  .app.mesa-on .msg.tareas .tarea.activo em::before { content: '•••'; font-size: 11px; color: #cbb8ff; letter-spacing: 1px; }
  .tira span { width: 44px; }
  .doc-hoja p { font-size: 11.5px; } .doc-hoja h4 { font-size: 13px; }
  .sub-voz { font-size: 12.5px; }
}
.tool > .voz { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; align-items: center; gap: 12px; }
.voz .onda, .voz .sub-voz { grid-column: 1 / -1; }
.voz .onda { align-self: stretch; }
.voz .grabar { grid-column: 2; grid-row: 1; align-self: center; }
/* tercera ronda */
.cur-tag { left: 14px; top: 20px; }
.cursor.gira .cur-tag { left: auto; right: 6px; }
.est-prox { text-align: left; padding: 0; width: min(1120px, calc(100% - 80px)); }
.est-prox .chips { justify-content: flex-start; }
@media (max-width: 760px) {
  .estilo-ver { grid-template-columns: 1fr; }
  .ev-info { padding: 4px 6px 6px; }
  .est-prox { width: calc(100% - 40px); }
}
@media (max-width: 640px) {
  .montaje .linea .pista:nth-child(3) { display: grid; }
  .montaje .linea { gap: 3px; padding: 5px; }
  .carril-img { height: 26px; } .carril-voz, .carril-mus { height: 10px; }
  .previo video { object-fit: cover; }
}
.cursor.sube .cur-tag { top: -24px; }
@media (max-width: 640px) {
  .montaje:not(.ve-previo) .previo { display: none; }
  .montaje.ve-previo .bandeja { display: none; }
}
.cur-tag { width: max-content; max-width: none; }

/* cuarta ronda */
.doc-hoja { background: #14111f; color: #e9e6f6; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.doc-hoja h4 { color: #fff; }
.doc-hoja p { color: #cfcbe0; }
.esc-rejilla { grid-template-rows: repeat(3, 1fr); grid-auto-rows: auto; align-content: stretch; }
.esc-rejilla span { aspect-ratio: auto; min-height: 0; }
.grabar { white-space: nowrap; }
.ev-nota { color: #8d89a3 !important; font-size: 14px !important; line-height: 1.5; margin: 14px 0 0 !important; max-width: 36ch; }
.ev-bts { flex-wrap: wrap; align-items: center; }
.ev-usar { font: 600 14px var(--f-txt); color: #cbb8ff; text-decoration: none; padding: 10px 6px; }
.ev-usar:hover { color: #fff; }
.est-prox .chips span { color: #77738c; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); cursor: default; display: inline-flex; align-items: center; gap: 6px; }
.est-prox .chips span::before { content: ''; width: 12px; height: 12px; opacity: .7; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='5' fill='none' stroke='%23a9a6bd' stroke-width='1.3'/%3E%3Cpath d='M6 3.2V6l1.8 1.2' fill='none' stroke='%23a9a6bd' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }
@media (max-width: 760px) {
  #estilos-g.carril { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; gap: 10px; padding: 0 20px; margin: 18px 0 0; -webkit-mask-image: none; mask-image: none; }
  #estilos-g .estilo { padding: 6px; border-radius: 14px; gap: 4px; }
  #estilos-g .est-poster { border-radius: 9px; }
  #estilos-g .estilo div { padding: 4px 4px 2px; }
  #estilos-g .estilo b { font-size: 14px; }
  #estilos-g .estilo small { display: none; }
  #estilos-g .est-play { width: 26px; height: 26px; left: 6px; bottom: 6px; background-size: 9px; }
  .ev-nota { font-size: 13px !important; }
  .est-prox { margin-top: 22px; }
}
@media (max-width: 640px) {
  .montaje.ve-previo .previo { flex: none; aspect-ratio: 16/9; }
  .montaje.ve-previo .linea .pista:nth-child(1) { display: none; }
  .esc-rejilla { grid-template-rows: repeat(3, auto); }
}
.ev-bts button { white-space: nowrap; }
@media (max-width: 760px) { .ev-usar { flex-basis: 100%; text-align: center; padding: 6px; } }
/* quinta ronda */
@media (max-width: 640px) {
  .tool > .voz { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; }
  .voz .grabar { grid-column: 1; grid-row: 2; justify-self: start; }
  .voces button { padding: 6px 8px; }
  .montaje.ve-previo .linea .pista:nth-child(1) { display: grid; }
  .montaje.ve-previo .linea .pista:nth-child(2), .montaje.ve-previo .linea .pista:nth-child(3) { display: none; }
}
.ev-usar { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(203, 184, 255, .35); }
.ev-usar:hover { background: rgba(155, 116, 255, .12); }
.est-prox .chips span { color: #a9a6bd; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ev-usar { justify-content: center; }
@media (max-width: 640px) { .montaje.ve-previo .previo { aspect-ratio: 2/1; } }
#estilos-g .estilo b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
#estilos-g .estilo div { min-width: 0; }
/* sexta ronda: la etiqueta solo se ve mientras el cursor viaja; al trabajar se esconde y deja ver el botón */
.cur-tag { transition: opacity .2s, transform .2s; transform-origin: 0 0; }
.cursor.quieto .cur-tag { opacity: 0; transform: scale(.7); }
.cursor.clic .cur-tag { opacity: 0; }
@media (max-width: 640px) {
  .app.mesa-on .hilo { -webkit-mask-image: linear-gradient(transparent, #000 18px); mask-image: linear-gradient(transparent, #000 18px); padding-top: 14px; }
}
/* séptima ronda */
.app.mesa-on .chat-talos { padding: 10px 0 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); width: 100%; display: flex; justify-content: center; position: relative; z-index: 2; }
.app.mesa-on .chat-talos .orbe { width: 40px; height: 40px; animation: none; filter: drop-shadow(0 6px 14px rgba(123, 77, 255, .5)); }
.app.mesa-on .hilo { padding-top: 18px; -webkit-mask-image: linear-gradient(transparent, #000 32px); mask-image: linear-gradient(transparent, #000 32px); }
.tool-fin .previo video { object-fit: cover; }
.cur-tag { transition: opacity .12s, transform .12s; }
.ev-ctl { background: rgba(0, 0, 0, .62); backdrop-filter: none; -webkit-backdrop-filter: none; }
#estilos-g .est-poster { aspect-ratio: 16/9; height: auto; background-size: cover; }
#estilos-g .est-poster::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; border-radius: 0 0 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
#estilos-g .est-play { z-index: 1; }
@media (max-width: 760px) { #estilos-g .est-poster::after { border-radius: 0 0 9px 9px; } }
.tool-fin .previo video { object-fit: contain; }
.tool-fin { justify-content: center; }
.tool-fin .previo.grande { flex: none; height: auto; width: 100%; aspect-ratio: 16/9; max-height: 100%; }
@media (max-width: 760px) { #estilos-g.carril { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .app.mesa-on .chat-talos { display: none; } }
.tool-fin .sello-fin { left: auto; right: 10px; }
/* octava ronda */
.doc-hoja p { font-family: var(--f-txt); font-weight: 400; }
.msg .final-play { inset: auto auto 8px 8px; margin: 0; width: 30px; height: 30px; background-size: 10px; }
@media (max-width: 760px) {
  #estilos-g .estilo b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; min-height: 2.5em; }
}
/* novena ronda */
.ev-video.suena .ev-ctl { opacity: 0; transform: translateY(6px); }
.ev-video.suena.toca .ev-ctl, .ev-video:hover .ev-ctl, .ev-video:not(.suena) .ev-ctl { opacity: 1; transform: none; }
.ev-video:not(.suena) .ev-ctl { opacity: 0; }
.ev-video:not(.suena):hover .ev-ctl { opacity: 1; }
#estilos-g .est-play { width: 30px; height: 30px; left: 10px; bottom: 10px; background-size: 10px; }
@media (max-width: 640px) {
  .msg .final-img { height: auto !important; max-height: none !important; aspect-ratio: 16/9 !important; }
  .msg .final-play { width: 26px !important; height: 26px !important; }
}

.msg .final-play { inset: auto 8px 8px auto !important; }

/* décima ronda: el chat cuenta los relevos */
.msg.paso { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #cfcbe0; animation: entra .35s both; }
.msg.paso .bot-av { width: 24px; height: 24px; object-fit: contain; flex: none; }
.msg.paso b { color: #fff; font-weight: 600; }
@media (max-width: 640px) {
  .msg.paso { font-size: 12.5px; }
  .grabar { font-size: 0 !important; gap: 0 !important; padding: 8px !important; }
  .tool > .voz { grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; }
  .voz .grabar { grid-column: 2; grid-row: 1; }
  .tool-fin .previo video { object-fit: contain; }
}

/* undécima ronda */
.cursor.quieto .cur-tag, .cursor.clic .cur-tag { opacity: 0; visibility: hidden; transition: opacity .12s, transform .12s, visibility 0s .12s; }
@media (max-width: 640px) {
  .app.mesa-on .hilo { -webkit-mask-image: none; mask-image: none; }
}

/* duodécima ronda */
.app.mesa-on .hilo { -webkit-mask-image: linear-gradient(transparent, #000 56px); mask-image: linear-gradient(transparent, #000 56px); padding-top: 26px; }
.cursor svg { filter: drop-shadow(0 0 1px rgba(0, 0, 0, .9)) drop-shadow(0 3px 6px rgba(0, 0, 0, .6)); }
.tool-fin { justify-content: flex-start; gap: 12px; }
.tool-fin .fin-info { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); animation: entra .4s both; }
.fin-info span { width: 96px; aspect-ratio: 16/9; border-radius: 6px; background: center/cover; flex: none; }
.fin-info div { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.fin-info b { font: 600 13px/1.3 var(--f-txt); color: #fff; }
.fin-info small { font-size: 11.5px; color: #8d89a3; }
.fin-info i { font-style: normal; font: 600 11px var(--f-txt); color: #3df08a; background: rgba(61, 240, 138, .1); padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
@media (max-width: 640px) {
  .app.mesa-on .hilo { -webkit-mask-image: linear-gradient(transparent, #000 20px); mask-image: linear-gradient(transparent, #000 20px); padding-top: 12px; }
  .app.mesa-on .chat-col > .msg.tareas { margin: 8px 12px 0; flex: none; }
  .tool-fin .fin-info { display: none; }
}
.tool.tool-fin > .fin-info { flex: none; flex-direction: row; display: flex; }
.tool.tool-fin > .previo { flex: none; }
@media (max-width: 640px) {
  .tool.tool-fin > .fin-info { display: none; }
  .app.mesa-on .chat-col > .msg.tareas { align-self: stretch; width: auto; justify-content: space-between; }
  .app.mesa-on .chat-col > .msg.tareas .tarea { flex: 1; }
}

/* decimotercera ronda */
.app.mesa-on .chat-col > .msg.tareas { margin: 10px 14px 0; flex: none; }
.fin-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.fin-barra b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7b4dff, #b89aff); }
.tool-fin .previo .tc { bottom: 10px; }
@media (max-width: 640px) {
  .app.mesa-on .mesa { flex-basis: 50%; }
  .app.mesa-on .chat-col > .msg.tareas { margin: 6px 10px 0; }
  .app.mesa-on .hilo { -webkit-mask-image: linear-gradient(transparent, #000 22px); mask-image: linear-gradient(transparent, #000 22px); }
  .tool-fin { justify-content: center; }
}
.app.mesa-on .chat-col > .msg.tareas { align-self: stretch; width: auto; }
