/* Koonda 3 · oscuro y suave.
   Cristal ahumado con esquinas redondas, un degradado cálido (ámbar → coral → rosa) como firma
   y movimiento fluido en todo: entradas, botones con muelle, fondo que respira. */
:root {
  --fondo: #07070b; --fondo-2: #0d0d14;
  --s1: rgba(255, 255, 255, .035); --s2: rgba(255, 255, 255, .06); --s3: rgba(255, 255, 255, .1); --s4: rgba(255, 255, 255, .15);
  --linea: rgba(255, 255, 255, .075); --linea-2: rgba(255, 255, 255, .13); --linea-3: rgba(255, 255, 255, .22);
  --texto: #f5f5f8; --tenue: #aaaab8; --apagado: #757584; --muy-apagado: #3d3d4a;
  --ambar: #ffb03a; --coral: #ff6b4a; --rosa: #ff3d8b; --violeta: #8f7bff; --cian: #46c8ff;
  --led: #ff7a45; --rojo: #ff6262; --verde: #4ade80;
  --grad: linear-gradient(120deg, #ffb03a 0%, #ff6b4a 48%, #ff3d8b 100%);
  --grad-v: linear-gradient(180deg, #ffb03a 0%, #ff6b4a 50%, #ff3d8b 100%);
  --tinta: #1a0a07;
  --display: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --cuerpo: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r-s: 10px; --r: 14px; --r-l: 20px; --r-xl: 28px;
  --borroso: blur(28px) saturate(170%);
  --sombra: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px -30px rgba(0, 0, 0, .9);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --muelle: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  background: var(--fondo); color: var(--texto); font: 400 15px/1.55 var(--cuerpo);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* Aurora: tres manchas de luz que se mueven muy despacio detrás de todo */
body::before {
  content: ""; position: fixed; inset: -25vmax; z-index: 0; pointer-events: none;
  background:
    radial-gradient(32vmax 26vmax at 22% 18%, rgba(255, 122, 69, .17), transparent 70%),
    radial-gradient(30vmax 26vmax at 82% 14%, rgba(143, 123, 255, .15), transparent 70%),
    radial-gradient(34vmax 28vmax at 62% 92%, rgba(255, 61, 139, .11), transparent 70%);
  animation: aurora 28s ease-in-out infinite alternate; will-change: transform;
}
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(3vmax, -2vmax, 0) rotate(7deg) scale(1.06); }
  100% { transform: translate3d(-3vmax, 2.5vmax, 0) rotate(-5deg) scale(1.02); }
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .045;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#app { position: relative; z-index: 2; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(255, 107, 74, .45); color: #fff; }
:focus-visible { outline: 2px solid rgba(255, 176, 58, .8); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.girado { transform: rotate(180deg); }
* { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; }

/* ---- Tipografía ---- */
.display { font-family: var(--display); font-weight: 800; letter-spacing: -.032em; line-height: .98; margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2.titulo { font: 800 clamp(26px, 3.2vw, 38px)/1.08 var(--display); letter-spacing: -.025em; }
h3.titulo { font: 700 17px/1.25 var(--display); letter-spacing: -.02em; }
.etiqueta { font: 600 12.5px/1.35 var(--cuerpo); color: var(--apagado); letter-spacing: .01em; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tenue { color: var(--tenue); } .apagado { color: var(--apagado); }
.peq { font-size: 13.5px; }
.grad-texto { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Cristal ---- */
.vidrio {
  position: relative; border-radius: var(--r-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018)), rgba(14, 14, 21, .55);
  backdrop-filter: var(--borroso); -webkit-backdrop-filter: var(--borroso);
  border: 1px solid var(--linea); box-shadow: var(--sombra);
}
.vidrio.fuerte { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)), rgba(18, 18, 27, .88); }
.panel { padding: 22px; display: grid; gap: 16px; align-content: start; }
.panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rayita { height: 1px; background: var(--linea); border: 0; margin: 2px 0; }

/* ---- Botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border: 1px solid var(--linea-2); border-radius: 12px; background: var(--s2);
  font: 600 14px/1 var(--cuerpo); letter-spacing: -.005em; cursor: pointer; white-space: nowrap; user-select: none;
  transition: transform .25s var(--muelle), background .2s var(--ease), border-color .2s, box-shadow .25s var(--ease), color .2s, opacity .2s;
}
.btn:hover { background: var(--s3); border-color: var(--linea-3); transform: translateY(-1px); }
.btn:active { transform: scale(.96); transition-duration: .08s; }
.btn.primario { background: #fff; color: #0b0b10; border-color: #fff; box-shadow: 0 8px 26px -10px rgba(255, 255, 255, .45); }
.btn.primario:hover { background: #fff; box-shadow: 0 12px 34px -10px rgba(255, 255, 255, .6); }
.btn.brillo, .btn.ambar { background: var(--grad); color: var(--tinta); border-color: transparent; font-weight: 700; box-shadow: 0 10px 30px -10px rgba(255, 92, 92, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.brillo:hover, .btn.ambar:hover { box-shadow: 0 14px 40px -10px rgba(255, 92, 92, .9), inset 0 1px 0 rgba(255, 255, 255, .35); filter: saturate(1.1); }
.btn.fantasma { border-color: transparent; background: transparent; }
.btn.fantasma:hover { background: var(--s2); }
.btn.peligro { color: var(--rojo); border-color: rgba(255, 98, 98, .3); background: rgba(255, 98, 98, .05); }
.btn.peligro:hover { background: rgba(255, 98, 98, .12); }
.btn.mini { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.grande { min-height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 16px; }
.btn.icono { width: 42px; padding: 0; }
.btn.icono.mini { width: 34px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn.activo { background: rgba(255, 176, 58, .14); color: #ffd08a; border-color: rgba(255, 176, 58, .4); }
.btn.redondo { border-radius: 999px; }

/* ---- Campos ---- */
.campo { display: grid; gap: 7px; }
.campo > span { font: 600 13px/1 var(--cuerpo); color: var(--tenue); }
.entrada, select.entrada, textarea.entrada {
  width: 100%; min-height: 46px; padding: 12px 14px; background: rgba(0, 0, 0, .32); border: 1px solid var(--linea-2); border-radius: 12px; color: var(--texto);
  font: 400 15px/1.4 var(--cuerpo); transition: border-color .2s, background .2s, box-shadow .25s var(--ease);
}
textarea.entrada { resize: vertical; min-height: 86px; }
.entrada::placeholder { color: var(--apagado); }
.entrada:focus { outline: none; border-color: rgba(255, 176, 58, .6); background: rgba(0, 0, 0, .45); box-shadow: 0 0 0 4px rgba(255, 140, 70, .12); }
.entrada.codigo { font: 600 22px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; text-align: center; }
.buscador { position: relative; }
.buscador .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--apagado); pointer-events: none; }
.buscador .entrada { padding-left: 42px; }
.fila { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fila.fin { justify-content: flex-end; }
.fila.entre { justify-content: space-between; }
.pila { display: grid; gap: 12px; }
.interruptor { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linea); cursor: pointer; }
.interruptor:last-child { border-bottom: 0; }
.interruptor small { display: block; color: var(--tenue); font-size: 12.5px; margin-top: 2px; }
.sw { appearance: none; width: 44px; height: 26px; border-radius: 999px; border: 1px solid var(--linea-3); position: relative; background: var(--s2); cursor: pointer; flex: none; transition: background .25s var(--ease), border-color .25s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--tenue); transition: transform .35s var(--muelle), background .2s; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.sw:checked { background: var(--grad); border-color: transparent; }
.sw:checked::after { transform: translateX(18px); background: #fff; }
.segmentos { display: inline-grid; grid-auto-flow: column; gap: 3px; padding: 3px; border: 1px solid var(--linea); border-radius: 12px; background: rgba(0, 0, 0, .28); }
.segmentos button { border: 0; background: transparent; padding: 8px 13px; border-radius: 9px; font: 600 13px/1 var(--cuerpo); color: var(--tenue); cursor: pointer; transition: background .25s var(--ease), color .2s; }
.segmentos button:hover { color: var(--texto); }
.segmentos button.activo { background: var(--s4); color: var(--texto); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--linea-2); background: var(--s1); font: 600 12px/1 var(--cuerpo); color: var(--tenue); white-space: nowrap; }
.chip.blanco { background: #fff; color: #0b0b10; border-color: #fff; }
.chip.ambar { color: #ffc070; border-color: rgba(255, 150, 70, .4); background: rgba(255, 140, 60, .08); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 0 rgba(255, 122, 69, .6), 0 0 12px var(--led); flex: none; animation: latido 2s ease-in-out infinite; }
@keyframes latido { 50% { box-shadow: 0 0 0 6px rgba(255, 122, 69, 0), 0 0 6px var(--led); } }

/* Ecualizador decorativo: se mueve cuando suena */
.eq { display: inline-flex; gap: 2.5px; align-items: flex-end; height: 14px; flex: none; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--grad-v); transform-origin: bottom; animation: eq .8s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.25s; animation-duration: .65s; }
.eq i:nth-child(3) { animation-delay: -.5s; animation-duration: .9s; }
.eq i:nth-child(4) { animation-delay: -.1s; animation-duration: .72s; }
.eq.quieto i { animation-play-state: paused; transform: scaleY(.3); }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* ---- Avatares: un círculo con símbolo y color ---- */
.avatar { --c: var(--texto); width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  border: 1.5px solid color-mix(in srgb, var(--c) 75%, transparent); color: var(--c); background: color-mix(in srgb, var(--c) 16%, #0d0d14);
  font: 600 15px/1 var(--cuerpo); box-shadow: 0 0 18px -6px color-mix(in srgb, var(--c) 60%, transparent); }
.avatar.g { width: 54px; height: 54px; font-size: 22px; }
.avatar.xl { width: 92px; height: 92px; font-size: 38px; border-width: 2px; }
.avatar.p { width: 26px; height: 26px; font-size: 11px; border-width: 1.5px; }
.avatares { display: flex; }
.avatares .avatar { margin-left: -8px; box-shadow: 0 0 0 2px var(--fondo); animation: pop .5s var(--muelle) both; }
.avatares .avatar:first-child { margin-left: 0; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---- Estructura ---- */
.barra { position: sticky; top: 0; z-index: 30; height: 68px; display: flex; align-items: center; gap: 16px;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
  background: linear-gradient(180deg, rgba(7, 7, 11, .82), rgba(7, 7, 11, .5)); backdrop-filter: var(--borroso); -webkit-backdrop-filter: var(--borroso); border-bottom: 1px solid var(--linea); }
.marca { display: flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); letter-spacing: -.028em; }
.marca i { width: 28px; height: 28px; position: relative; flex: none; }
.marca i::before, .marca i::after { content: ""; position: absolute; top: 4px; width: 18px; height: 18px; border-radius: 50%; }
.marca i::before { left: 0; background: var(--grad); }
.marca i::after { right: 0; border: 2px solid #fff; background: rgba(255, 255, 255, .08); mix-blend-mode: screen; }
.marca i b { display: none; }
.nav { display: flex; gap: 4px; margin-left: 14px; }
.nav a { padding: 9px 14px; border-radius: 10px; font: 600 14px/1 var(--cuerpo); color: var(--tenue); position: relative; transition: background .2s, color .2s; }
.nav a:hover { color: var(--texto); background: var(--s1); }
.nav a.activo { color: var(--texto); background: var(--s2); }
.nav a .pend, .navmovil a .pend { position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--rosa); box-shadow: 0 0 10px var(--rosa); }
.barra .esp { flex: 1; }
.pagina { max-width: 1220px; margin: 0 auto; padding: 32px max(20px, env(safe-area-inset-right, 0px)) 110px max(20px, env(safe-area-inset-left, 0px)); display: grid; gap: 24px; }
.pagina > * { animation: entra .6s var(--ease) both; }
.pagina > *:nth-child(2) { animation-delay: .05s; } .pagina > *:nth-child(3) { animation-delay: .1s; } .pagina > *:nth-child(4) { animation-delay: .15s; } .pagina > *:nth-child(n+5) { animation-delay: .2s; }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } }
.rejilla { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.cabecera { display: grid; gap: 6px; padding: 6px 0 2px; }
.navmovil { display: none; }
@media (max-width: 960px) {
  .rejilla { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .navmovil { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 40; padding: 6px;
    background: rgba(16, 16, 24, .82); backdrop-filter: var(--borroso); -webkit-backdrop-filter: var(--borroso); border: 1px solid var(--linea-2); border-radius: 22px; box-shadow: 0 20px 50px -20px #000; }
  .navmovil a { display: grid; justify-items: center; gap: 4px; padding: 8px 0; border-radius: 16px; font: 600 11px/1 var(--cuerpo); color: var(--apagado); position: relative; transition: background .25s var(--ease), color .2s; }
  .navmovil a.activo { color: var(--texto); background: var(--s3); }
  .navmovil a .pend { top: 4px; right: calc(50% - 16px); }
  .barra .ocultar-movil { display: none; }
  .barra { height: 62px; }
}

/* ---- Listas y tarjetas ---- */
.lista { display: grid; gap: 2px; }
.lista > .elem { display: flex; align-items: center; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 14px; min-width: 0; transition: background .2s var(--ease); }
.lista > .elem:hover { background: var(--s1); }
a.elem:hover { background: var(--s2) !important; }
.lista.anima > .elem { animation: entra .45s var(--ease) both; }
.lista.anima > .elem:nth-child(2) { animation-delay: .03s; } .lista.anima > .elem:nth-child(3) { animation-delay: .06s; } .lista.anima > .elem:nth-child(4) { animation-delay: .09s; } .lista.anima > .elem:nth-child(5) { animation-delay: .12s; } .lista.anima > .elem:nth-child(n+6) { animation-delay: .15s; }
.elem .crece { flex: 1; min-width: 0; display: grid; gap: 2px; }
.elem .crece b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.elem .crece small { color: var(--tenue); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vacio { padding: 26px; border: 1px dashed var(--linea-2); border-radius: var(--r-l); color: var(--tenue); font-size: 14px; display: grid; gap: 10px; justify-items: start; background: var(--s1); }
.vacio b { color: var(--texto); font: 700 16px/1.3 var(--display); letter-spacing: -.01em; }
.tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tarjeta { padding: 16px; display: grid; gap: 12px; align-content: start; cursor: pointer; transition: transform .35s var(--muelle), border-color .25s, background .25s, box-shadow .35s var(--ease); }
.tarjeta:hover { border-color: var(--linea-3); transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(0, 0, 0, .95); }
.portada { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d0d14; border-radius: var(--r); }
.portada img { width: 100%; height: 100%; object-fit: cover; }
.mosaico { aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; background: linear-gradient(135deg, #1a1426, #0d0d14); border-radius: var(--r); overflow: hidden; box-shadow: 0 16px 40px -20px #000; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tarjeta:hover .mosaico img { transform: scale(1.05); }
.mosaico.uno { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mosaico .nada { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; place-items: center; font: 800 48px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.miniatura { width: 64px; height: 36px; flex: none; background: #0d0d14 center / cover; border-radius: 8px; box-shadow: 0 6px 16px -8px #000; }
.miniatura.cuadrada { width: 44px; height: 44px; }

/* ---- Feed ---- */
.feed { display: grid; gap: 14px; }
.post { padding: 18px; display: grid; gap: 12px; animation: entra .5s var(--ease) both; }
.post .quien { display: flex; gap: 12px; align-items: center; }
.post .quien .crece { flex: 1; min-width: 0; }
.post .quien b { font-weight: 600; }
.post .texto { font-size: 15.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.post .acciones { display: flex; gap: 6px; align-items: center; }
.cancion { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r); border: 1px solid var(--linea); background: rgba(0, 0, 0, .25); min-width: 0; }
.cancion .crece { flex: 1; min-width: 0; display: grid; }
.cancion b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cancion small { color: var(--tenue); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.megusta .ico { transition: transform .35s var(--muelle); }
.megusta.mio { color: #ff8fb8; border-color: rgba(255, 61, 139, .4); background: rgba(255, 61, 139, .1); }
.megusta.mio .ico { fill: currentColor; transform: scale(1.12); }
.ahora { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.ahora > .vidrio { padding: 16px; display: grid; gap: 10px; scroll-snap-align: start; }

/* ---- Pestañas ---- */
.pestanas { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--linea); }
.pestanas::-webkit-scrollbar { display: none; }
.pestanas button { flex: none; display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 9px 12px; border-radius: 10px; font: 600 13.5px/1 var(--cuerpo); color: var(--apagado); cursor: pointer; position: relative; transition: background .25s var(--ease), color .2s; }
.pestanas button .ico { width: 16px; height: 16px; }
.pestanas button:hover { color: var(--texto); }
.pestanas button.activo { color: var(--texto); background: var(--s3); box-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.pestanas button .n { color: var(--apagado); font-weight: 500; font-variant-numeric: tabular-nums; }
.pestanas button .pend { position: absolute; top: 6px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--rosa); box-shadow: 0 0 8px var(--rosa); }

/* ---- Avisos y ventanas ---- */
.avisos { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: min(92vw, 520px); }
.aviso { pointer-events: auto; padding: 12px 18px; border-radius: 999px !important; font-size: 14px; font-weight: 500; display: flex; gap: 12px; align-items: center; animation: avisoEntra .5s var(--muelle) both; }
.aviso::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 10px var(--verde); flex: none; }
.aviso.mal::before { background: var(--rojo); box-shadow: 0 0 10px var(--rojo); }
.aviso.mal { border-color: rgba(255, 98, 98, .35); }
@keyframes avisoEntra { from { opacity: 0; transform: translateY(16px) scale(.92); } }
@media (max-width: 960px) { .avisos { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); } }
.velo { position: fixed; inset: 0; z-index: 80; background: rgba(4, 4, 8, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; animation: aparece .25s ease both; }
@keyframes aparece { from { opacity: 0; } }
.ventana { width: min(560px, 100%); max-height: 88vh; overflow: auto; padding: 24px; border-radius: var(--r-xl) !important; display: grid; gap: 16px; animation: ventanaEntra .45s var(--muelle) both; }
.ventana.ancha { width: min(760px, 100%); }
.ventana > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
@keyframes ventanaEntra { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@media (max-width: 560px) { .velo { place-items: end center; padding: 0; } .ventana { width: 100%; max-height: 90vh; border-radius: 26px 26px 0 0 !important; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); animation-name: hojaEntra; } }
@keyframes hojaEntra { from { transform: translateY(100%); } }

/* ---- Esqueletos ---- */
.esqueleto { display: grid; gap: 10px; }
.esqueleto i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, .04) 100%); background-size: 200% 100%; animation: brillo 1.4s linear infinite; }
.esqueleto i:nth-child(2n) { width: 72%; } .esqueleto i:nth-child(3n) { width: 48%; }
@keyframes brillo { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---- Selector de símbolo y color ---- */
.selector { display: flex; flex-wrap: wrap; gap: 6px; }
.selector button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--linea-2); background: rgba(0, 0, 0, .25); color: var(--texto); cursor: pointer; font: 600 16px/1 var(--cuerpo); transition: transform .3s var(--muelle), border-color .2s, background .2s; }
.selector button:hover { transform: translateY(-2px); }
.selector button.activo { border-color: rgba(255, 176, 58, .7); background: rgba(255, 176, 58, .12); transform: scale(1.06); }
.selector.colores button { width: 32px; height: 32px; border-radius: 50%; }
.selector.colores button.activo { box-shadow: 0 0 0 3px var(--fondo), 0 0 0 5px #fff; }

/* ---- Inicio con cuenta ---- */
.accesos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.accesos > .vidrio { padding: 20px; display: grid; gap: 10px; cursor: pointer; text-align: left; color: inherit; font: inherit; overflow: hidden; transition: transform .35s var(--muelle), border-color .25s, box-shadow .35s; }
.accesos > .vidrio::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 69, .22), transparent 70%); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.accesos > .vidrio:hover { transform: translateY(-4px); border-color: var(--linea-3); }
.accesos > .vidrio:hover::after { opacity: 1; }
.accesos > .vidrio:first-child { background: linear-gradient(140deg, rgba(255, 176, 58, .2), rgba(255, 61, 139, .14) 60%, rgba(14, 14, 21, .6)); border-color: rgba(255, 140, 80, .3); }
.accesos b { font: 700 17px/1.2 var(--display); letter-spacing: -.02em; }
.accesos small { color: var(--tenue); font-size: 13.5px; }
.accesos .ico.grande { width: 26px; height: 26px; stroke-width: 1.7; }
.accesos .icono-caja { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--s2); border: 1px solid var(--linea); }
.accesos > .vidrio:first-child .icono-caja { background: var(--grad); color: var(--tinta); border-color: transparent; }
@media (max-width: 760px) { .accesos { grid-template-columns: 1fr; } }

/* =====================================================================================================
   Portada
   ===================================================================================================== */
.revelar { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.revelar.visto { opacity: 1; transform: none; }
.heroe3 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding: 44px 0 20px; min-height: calc(100vh - 140px); }
.heroe3 .badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--linea-2); background: var(--s1); font: 600 13px/1 var(--cuerpo); color: var(--tenue); }
.heroe3 .badge b { padding: 5px 9px; border-radius: 999px; background: var(--grad); color: var(--tinta); font-size: 11.5px; font-weight: 700; }
.heroe3 h1 { font-size: clamp(48px, 7vw, 96px); margin: 22px 0 0; }
.heroe3 h1 .grad-texto { display: inline-block; padding-bottom: .08em; animation: brilloTexto 6s ease-in-out infinite alternate; background-size: 200% 100%; }
@keyframes brilloTexto { to { background-position: 100% 0; } }
.heroe3 .bajada { font-size: 18.5px; line-height: 1.6; color: var(--tenue); max-width: 46ch; margin: 22px 0 30px; }
.heroe3 .acciones { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.heroe3 .nota { margin-top: 22px; display: flex; gap: 20px; flex-wrap: wrap; font: 500 13.5px/1 var(--cuerpo); color: var(--apagado); }
.heroe3 .nota span { display: inline-flex; gap: 7px; align-items: center; }
.heroe3 .nota .ico { width: 15px; height: 15px; color: var(--verde); }
@media (max-width: 980px) { .heroe3 { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; min-height: 0; } .heroe3 h1 { font-size: clamp(44px, 12vw, 72px); } }

/* Teléfono de demostración: una sala en directo que se repite sola */
.escena { position: relative; display: grid; place-items: center; min-height: 600px; }
.escena .halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 74, .38), rgba(255, 61, 139, .16) 45%, transparent 70%); filter: blur(30px); animation: halo 7s ease-in-out infinite alternate; }
@keyframes halo { to { transform: scale(1.12) translateY(-12px); opacity: .8; } }
.telefono { position: relative; width: 300px; height: 610px; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2a2a35, #0e0e14 40%, #1b1b24); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12), 0 50px 100px -30px rgba(0, 0, 0, .95), inset 0 0 0 2px #000; animation: flotaTel 8s ease-in-out infinite alternate; }
@keyframes flotaTel { from { transform: translateY(6px) rotate(-2deg); } to { transform: translateY(-10px) rotate(1.5deg); } }
.telefono .pantalla-tel { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #0a0a10; display: grid; grid-template-rows: auto auto auto auto minmax(0, 1fr) auto; gap: 12px; padding: 44px 16px 16px; }
.telefono .pantalla-tel::before { content: ""; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 3; }
.telefono .fondo-tel { position: absolute; inset: 0; background: radial-gradient(120% 70% at 30% 10%, rgba(255, 122, 69, .45), transparent 60%), radial-gradient(90% 60% at 90% 60%, rgba(143, 123, 255, .35), transparent 60%); filter: blur(10px); }
.telefono .pantalla-tel > * { position: relative; z-index: 1; }
.tel-cab { display: flex; justify-content: space-between; align-items: center; }
.tel-cab b { font: 700 14px/1 var(--display); letter-spacing: -.02em; display: flex; gap: 8px; align-items: center; }
.tel-portada { position: relative; height: 190px; flex: none; border-radius: 22px; overflow: hidden; background: radial-gradient(110% 90% at 20% 15%, #ffcf6b 0%, #ff6b4a 35%, transparent 65%), radial-gradient(90% 80% at 90% 85%, #7b5cff 0%, #2a1660 50%, #0b0b12 100%); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9); }
.tel-portada .disco-tel { position: absolute; top: 14%; bottom: 14%; left: 50%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: repeating-radial-gradient(circle, #0c0c12 0 2px, #16161f 2px 4px); box-shadow: 0 10px 30px rgba(0, 0, 0, .6); animation: gira 6s linear infinite; }
.tel-portada .disco-tel::after { content: ""; position: absolute; inset: 36%; border-radius: 50%; background: var(--grad); }
@keyframes gira { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }
.tel-cancion { display: grid; gap: 3px; }
.tel-cancion b { font: 800 19px/1.1 var(--display); letter-spacing: -.022em; }
.tel-cancion small { color: var(--tenue); font-size: 12.5px; }
.tel-barra { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.tel-barra i { display: block; height: 100%; border-radius: 2px; background: var(--grad); animation: avanzaTel 12s linear infinite; }
@keyframes avanzaTel { from { width: 8%; } to { width: 96%; } }
.tel-chat { display: grid; gap: 7px; align-content: end; overflow: hidden; min-height: 0; }
.burbuja { display: flex; gap: 8px; align-items: center; padding: 7px 11px 7px 7px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .06); font-size: 12.5px; width: fit-content; max-width: 100%; opacity: 0; animation: burbuja 12s var(--ease) infinite; }
.burbuja b { font-weight: 600; margin-right: 2px; }
.burbuja:nth-child(1) { animation-delay: 1s; } .burbuja:nth-child(2) { animation-delay: 2.6s; } .burbuja:nth-child(3) { animation-delay: 4.2s; } .burbuja:nth-child(4) { animation-delay: 5.8s; }
@keyframes burbuja { 0% { opacity: 0; transform: translateY(12px) scale(.9); } 4%, 70% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translateY(-6px); } }
.tel-mandos { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; }
.tel-mandos .play-tel { width: 54px; height: 54px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: var(--tinta); box-shadow: 0 12px 30px -10px rgba(255, 92, 92, .8); }
.tel-mandos .ico { width: 22px; height: 22px; }
.tel-reacciones { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.tel-reacciones span { position: absolute; bottom: 80px; font-size: 26px; opacity: 0; animation: subeTel 4s var(--ease) infinite; }
.tel-reacciones span:nth-child(1) { left: 18%; animation-delay: 1.8s; } .tel-reacciones span:nth-child(2) { left: 46%; animation-delay: 2.3s; } .tel-reacciones span:nth-child(3) { left: 70%; animation-delay: 3.1s; } .tel-reacciones span:nth-child(4) { left: 32%; animation-delay: 3.6s; }
@keyframes subeTel { 0% { opacity: 0; transform: translateY(0) scale(.5); } 10% { opacity: 1; transform: translateY(-30px) scale(1.15); } 60% { opacity: 0; transform: translateY(-260px) scale(1); } 100% { opacity: 0; } }
.flotante { position: absolute; padding: 12px 14px; border-radius: 18px !important; display: flex; gap: 10px; align-items: center; font-size: 13px; z-index: 2; animation: flotaTarjeta 6s ease-in-out infinite alternate; }
.flotante small { display: block; color: var(--tenue); font-size: 11.5px; }
.flotante.f1 { left: 0; top: 18%; } .flotante.f2 { right: -6px; top: 52%; animation-delay: -2s; } .flotante.f3 { left: 6%; bottom: 10%; animation-delay: -4s; }
.flotante .icono-caja { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: var(--tinta); flex: none; }
.flotante .icono-caja .ico { width: 17px; height: 17px; }
@keyframes flotaTarjeta { from { transform: translateY(0); } to { transform: translateY(-14px); } }
@media (max-width: 560px) { .escena { min-height: 660px; } .telefono { width: 272px; height: 560px; } .flotante { font-size: 12px; padding: 9px 11px; } .flotante.f1 { left: -2px; top: 0; } .flotante.f2 { right: -2px; top: auto; bottom: 0; } .flotante.f3 { display: none; } }

.franja2 { display: flex; gap: 14px 30px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 22px; border-radius: var(--r-l); border: 1px solid var(--linea); background: var(--s1); font: 600 14.5px/1 var(--cuerpo); color: var(--apagado); }
.franja2 b { color: var(--texto); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.franja2 b .ico { color: var(--ambar); }
.seccion { display: grid; gap: 28px; padding: 40px 0 10px; }
.seccion > header { display: grid; gap: 12px; max-width: 700px; }
.seccion > header.centro { justify-self: center; text-align: center; justify-items: center; }
.seccion h2 { font: 800 clamp(32px, 4.6vw, 56px)/1.02 var(--display); letter-spacing: -.032em; }
.seccion header p { margin: 0; color: var(--tenue); font-size: 17px; line-height: 1.6; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--cuerpo); letter-spacing: .02em; color: #ffb36b; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.funciones { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.funciones > .vidrio { padding: 26px; display: grid; gap: 12px; align-content: start; min-height: 220px; overflow: hidden; transition: transform .45s var(--muelle), border-color .3s; }
.funciones > .vidrio:hover { transform: translateY(-5px); border-color: var(--linea-3); }
.funciones > .ancho { grid-column: span 3; } .funciones > .tercio { grid-column: span 2; }
.funciones h3 { font: 700 21px/1.15 var(--display); letter-spacing: -.022em; margin: 0; }
.funciones p { margin: 0; color: var(--tenue); font-size: 15px; max-width: 46ch; }
.funciones .icono-caja { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--s2); border: 1px solid var(--linea-2); }
.funciones .icono-caja .ico { width: 24px; height: 24px; }
.funciones .destacada { background: linear-gradient(150deg, rgba(255, 176, 58, .16), rgba(255, 61, 139, .1) 55%, rgba(14, 14, 21, .55)); border-color: rgba(255, 140, 80, .28); }
.funciones .destacada .icono-caja { background: var(--grad); color: var(--tinta); border-color: transparent; }
.mini-demo { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.sincro { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 8px; }
.sincro i { flex: 1; height: 100%; border-radius: 3px; background: var(--grad-v); animation: eq 1s ease-in-out infinite alternate; transform-origin: bottom; }
.cuenta-demo { display: flex; gap: 10px; margin-top: 6px; }
.cuenta-demo b { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 800 22px/1 var(--display); background: var(--s2); border: 1px solid var(--linea-2); animation: cuentaDemo 3s var(--ease) infinite; }
.cuenta-demo b:nth-child(2) { animation-delay: .5s; } .cuenta-demo b:nth-child(3) { animation-delay: 1s; } .cuenta-demo b:nth-child(4) { animation-delay: 1.5s; background: var(--grad); color: var(--tinta); border-color: transparent; width: auto; padding: 0 14px; font-size: 15px; }
@keyframes cuentaDemo { 0%, 100% { transform: none; } 12% { transform: translateY(-6px) scale(1.08); } 24% { transform: none; } }
@media (max-width: 900px) { .funciones { grid-template-columns: 1fr; } .funciones > .ancho, .funciones > .tercio { grid-column: auto; } }
.pasos3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: paso; }
.pasos3 > div { padding: 26px; display: grid; gap: 12px; align-content: start; }
.pasos3 .num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 18px/1 var(--display); background: var(--grad); color: var(--tinta); box-shadow: 0 10px 26px -10px rgba(255, 92, 92, .8); }
.pasos3 b { font: 700 19px/1.2 var(--display); letter-spacing: -.02em; }
.pasos3 p { margin: 0; color: var(--tenue); font-size: 15px; }
@media (max-width: 760px) { .pasos3 { grid-template-columns: 1fr; } }

/* Comparativa */
.comparar { overflow-x: auto; border-radius: var(--r-l); }
.comparar table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; font-size: 14.5px; }
.comparar th, .comparar td { padding: 15px 16px; text-align: center; border-bottom: 1px solid var(--linea); }
.comparar th:first-child, .comparar td:first-child { text-align: left; color: var(--tenue); font-weight: 500; }
.comparar thead th { font: 700 14.5px/1.2 var(--display); letter-spacing: -.01em; color: var(--texto); vertical-align: bottom; }
.comparar thead th small { display: block; font: 500 12px/1.3 var(--cuerpo); color: var(--apagado); margin-top: 4px; }
.comparar .koonda { background: linear-gradient(180deg, rgba(255, 140, 70, .14), rgba(255, 61, 139, .08)); }
.comparar thead .koonda { border-radius: 16px 16px 0 0; }
.comparar tbody tr:last-child td { border-bottom: 0; }
.comparar tbody tr:last-child .koonda { border-radius: 0 0 16px 16px; }
.comparar .si, .comparar .no, .comparar .medio { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.comparar .si { background: rgba(74, 222, 128, .14); color: var(--verde); }
.comparar .no { background: rgba(255, 98, 98, .1); color: var(--rojo); }
.comparar .medio { background: rgba(255, 176, 58, .12); color: var(--ambar); }
.comparar .si .ico, .comparar .no .ico, .comparar .medio .ico { width: 15px; height: 15px; stroke-width: 2.4; }
.comparar td small { display: block; color: var(--apagado); font-size: 12px; margin-top: 4px; }
.comparar .fuentes { padding: 12px 16px 16px; color: var(--apagado); font-size: 12px; text-align: left; }

/* Preguntas */
.faq { display: grid; gap: 10px; max-width: 820px; width: 100%; justify-self: center; }
.faq details { border-radius: 18px; border: 1px solid var(--linea); background: var(--s1); transition: background .25s, border-color .25s; }
.faq details[open] { background: var(--s2); border-color: var(--linea-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 600 16px/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .35s var(--muelle); color: var(--tenue); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--tenue); font-size: 15px; line-height: 1.65; animation: entra .4s var(--ease) both; }
.cierre3 { position: relative; overflow: hidden; padding: 64px 28px; border-radius: var(--r-xl) !important; display: grid; gap: 20px; justify-items: center; text-align: center; margin-top: 24px; }
.cierre3::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 107, 74, .32), transparent 70%); pointer-events: none; animation: halo 7s ease-in-out infinite alternate; }
.cierre3 > * { position: relative; }
.cierre3 h2 { font: 800 clamp(36px, 6vw, 72px)/1 var(--display); letter-spacing: -.035em; }
.cierre3 p { margin: 0; color: var(--tenue); font-size: 17px; max-width: 44ch; }
.pie { border-top: 1px solid var(--linea); margin-top: 20px; padding: 26px 0 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--apagado); }
.pie a:hover { color: var(--texto); }
.instalar-app { display: none; }
.instalar-app.si { display: inline-flex; }

/* =====================================================================================================
   Sala
   ===================================================================================================== */
.sala { position: relative; min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.ambiente { position: fixed; inset: -12%; z-index: 0; background: center / cover no-repeat; filter: blur(80px) saturate(1.6) brightness(.55); opacity: .7; transform: scale(1.15); transition: opacity 1.2s var(--ease); pointer-events: none; animation: respira 20s ease-in-out infinite alternate; }
.ambiente::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(7, 7, 11, .5) 55%, var(--fondo) 100%); }
@keyframes respira { to { transform: scale(1.3) rotate(5deg); } }
.sala > * { position: relative; z-index: 1; }
.sala-barra { height: 66px; display: flex; align-items: center; gap: 12px; padding: 0 max(18px, env(safe-area-inset-right, 0px)) 0 max(18px, env(safe-area-inset-left, 0px)); }
.sala-barra .nombre { display: grid; min-width: 0; gap: 2px; }
.sala-barra .nombre b { font: 700 17px/1.15 var(--display); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sala-barra .nombre .etiqueta { display: flex; gap: 6px; align-items: center; }
.codigo-sala { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--linea-2); font: 600 13px/1 var(--mono); letter-spacing: .2em; color: var(--texto); background: rgba(0, 0, 0, .3); cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--muelle); }
.codigo-sala:hover { border-color: var(--linea-3); background: rgba(0, 0, 0, .45); transform: translateY(-1px); }
.codigo-sala .ico { width: 15px; height: 15px; color: var(--tenue); }
.sala-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 18px; padding: 0 18px 18px; min-height: 0; }
.escenario { display: grid; gap: 18px; align-content: start; min-width: 0; padding-top: 2px; }
.marco { position: relative; aspect-ratio: 16 / 9; width: 100%; max-height: 62vh; margin: 0 auto; background: #000; border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 100px -40px rgba(0, 0, 0, .95); transition: max-height .5s var(--ease); }
.marco > .pantalla, .marco > .pantalla iframe, .marco > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.marco video { object-fit: contain; background: #000; }
.marco .tapa { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: rgba(9, 9, 14, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 24px; z-index: 3; animation: aparece .4s ease both; overflow-y: auto; }
.marco .tapa .pila { justify-items: center; max-width: 460px; width: 100%; }
.marco .tapa h3 { font: 800 clamp(22px, 2.6vw, 30px)/1.1 var(--display); letter-spacing: -.025em; }
.marco .tapa .buscador { width: 100%; }
.marco .disco { position: absolute; inset: 0; display: grid; place-items: center; background: center / cover; }
.marco .disco::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(255, 107, 74, .25), transparent 60%), #0a0a10; }
.cuenta { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: rgba(7, 7, 11, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.cuenta b { font: 800 clamp(110px, 18vw, 240px)/1 var(--display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 20px 40px rgba(255, 92, 92, .45)); animation: late .95s var(--muelle) both; }
.cuenta small { position: absolute; bottom: 14%; font: 600 15px/1 var(--cuerpo); color: var(--tenue); }
@keyframes late { 0% { transform: scale(1.8); opacity: 0; } 30% { transform: scale(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: scale(.85); opacity: 0; } }
.reacciones { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.reacciones > span { position: absolute; bottom: -40px; font-size: 38px; animation: flota 2.8s var(--ease) forwards; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)); text-align: center; }
.reacciones > span small { display: block; font: 600 11px/1 var(--cuerpo); color: #fff; margin-top: 4px; padding: 3px 7px; border-radius: 999px; background: rgba(0, 0, 0, .45); }
@keyframes flota { 0% { transform: translateY(0) scale(.5); opacity: 0; } 12% { opacity: 1; transform: translateY(-50px) scale(1.2) rotate(-6deg); } 50% { transform: translateY(-230px) scale(1) rotate(6deg); } 100% { transform: translateY(-440px) scale(.95) rotate(-4deg); opacity: 0; } }
.suena { display: grid; gap: 12px; }
.suena .fila-estado { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.suena .titulo-cancion { font: 800 clamp(24px, 3vw, 38px)/1.05 var(--display); letter-spacing: -.028em; margin: 0; overflow-wrap: anywhere; text-wrap: balance; animation: entra .5s var(--ease) both; }
.suena .sub { color: var(--tenue); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14.5px; }
.progreso { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font: 500 12.5px/1 var(--mono); color: var(--tenue); font-variant-numeric: tabular-nums; }
.pista { position: relative; height: 20px; cursor: pointer; display: grid; align-items: center; }
.pista::before { content: ""; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .14); transition: height .2s var(--ease); }
.pista:hover::before { height: 7px; }
.pista .lleno { position: absolute; left: 0; top: 50%; height: 5px; transform: translateY(-50%); border-radius: 3px; background: var(--grad); width: 0; box-shadow: 0 0 14px rgba(255, 107, 74, .5); transition: height .2s var(--ease); }
.pista:hover .lleno { height: 7px; }
.pista .bolita { position: absolute; top: 50%; width: 15px; height: 15px; border-radius: 50%; background: #fff; margin: -7.5px 0 0 -7.5px; left: 0; transform: scale(0); transition: transform .25s var(--muelle); box-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.pista:hover .bolita { transform: scale(1); }
.pista.bloqueada { cursor: default; }
.pista.bloqueada .bolita { display: none; }
.mandos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mandos .play { width: 60px; height: 60px; border-radius: 50% !important; background: var(--grad); color: var(--tinta); border-color: transparent; box-shadow: 0 14px 34px -12px rgba(255, 92, 92, .85); }
.mandos .play:hover { background: var(--grad); box-shadow: 0 18px 44px -12px rgba(255, 92, 92, 1); transform: scale(1.05); }
.mandos .play .ico { width: 24px; height: 24px; }
.mandos .btn.icono:not(.play) { border-radius: 50%; }
.volumen { display: flex; align-items: center; gap: 6px; color: var(--tenue); }
input[type=range].fino { appearance: none; width: 110px; height: 20px; background: transparent; cursor: pointer; }
input[type=range].fino::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
input[type=range].fino::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; margin-top: -5px; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
input[type=range].fino::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
input[type=range].fino::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.reaccionar { display: flex; gap: 6px; flex-wrap: wrap; }
.reaccionar button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--linea); background: rgba(0, 0, 0, .25); cursor: pointer; font-size: 19px; transition: transform .3s var(--muelle), border-color .2s, background .2s; }
.reaccionar button:hover { transform: translateY(-3px) scale(1.12); border-color: var(--linea-3); background: var(--s2); }
.reaccionar button:active { transform: scale(.88); }
.lado { border-radius: 24px !important; display: grid; grid-template-rows: auto 1fr; min-height: 0; height: calc(100vh - 66px - 18px); position: sticky; top: 12px; overflow: hidden; }
.lado > .pestanas { margin: 10px 10px 0; }
.lado .contenido { overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: start; }
.lado .contenido.chat { grid-template-rows: 1fr auto; padding: 0; align-content: stretch; }
.sala.cine .sala-cuerpo { grid-template-columns: minmax(0, 1fr); }
.sala.cine .lado { display: none; }
.sala.cine .marco { max-height: 80vh; }
.cola .elem { gap: 10px; }
.cola .elem.arrastrando { opacity: .4; }
.cola .elem .acc { display: flex; gap: 2px; opacity: .6; transition: opacity .2s; }
.cola .elem:hover .acc { opacity: 1; }
.cola .orden { width: 20px; font: 500 12px/1 var(--mono); color: var(--apagado); text-align: right; flex: none; }
.votos { display: grid; justify-items: center; gap: 1px; min-width: 34px; border-radius: 10px; border: 1px solid var(--linea); padding: 4px 5px; cursor: pointer; background: transparent; font: 600 11.5px/1 var(--cuerpo); color: var(--tenue); transition: transform .3s var(--muelle), background .2s, color .2s; }
.votos:hover { background: var(--s2); }
.votos:active { transform: scale(.85); }
.votos .ico { width: 14px; height: 14px; }
.votos.mio { color: #ffc070; border-color: rgba(255, 150, 70, .45); background: rgba(255, 140, 60, .1); }
.mensajes { overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: end; min-height: 0; }
.mensaje { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; animation: mensajeEntra .4s var(--muelle) both; }
@keyframes mensajeEntra { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.mensaje b { font-size: 13px; font-weight: 600; }
.mensaje p { margin: 3px 0 0; font-size: 14.5px; overflow-wrap: anywhere; white-space: pre-wrap; padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: rgba(255, 255, 255, .06); width: fit-content; max-width: 100%; }
.mensaje.sistema { grid-template-columns: 1fr; justify-items: center; font: 500 12px/1.5 var(--cuerpo); color: var(--apagado); text-align: center; }
.escribir { padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linea); display: grid; gap: 8px; }
.escribir .tecleando { min-height: 15px; font: 500 12px/1 var(--cuerpo); color: var(--apagado); }
.escribir .emojis-rapidos { display: flex; gap: 4px; }
.escribir .emojis-rapidos button { border: 0; background: transparent; font-size: 17px; cursor: pointer; padding: 2px 4px; border-radius: 8px; transition: transform .25s var(--muelle), background .2s; }
.escribir .emojis-rapidos button:hover { transform: scale(1.2); background: var(--s2); }
.puerta { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 24px; }
.puerta .ventana { width: min(480px, 100%); }
.puerta .ventana h2 { font: 800 clamp(28px, 4vw, 38px)/1.05 var(--display); letter-spacing: -.028em; }
.puerta .compartir-puerta { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--linea); }
.subida { height: 4px; border-radius: 2px; background: var(--linea-2); position: relative; overflow: hidden; }
.subida i { position: absolute; inset: 0 auto 0 0; background: var(--grad); width: 0; transition: width .25s var(--ease); border-radius: 2px; }
.estado-red { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 50; padding: 10px 16px; border-radius: 999px !important; font: 600 13px/1 var(--cuerpo); display: flex; gap: 10px; align-items: center; animation: avisoEntra .5s var(--muelle) both; }
.compartir { display: grid; gap: 16px; }
.compartir .url { display: flex; border-radius: 14px; border: 1px solid var(--linea-2); background: rgba(0, 0, 0, .35); padding: 4px; gap: 4px; }
.compartir .url input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--texto); padding: 0 12px; font: 500 14px/1 var(--mono); }
.compartir .url input:focus { outline: none; }
.compartir .redes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.compartir .qr { justify-self: center; background: #fff; padding: 12px; line-height: 0; border-radius: 18px; }
.compartir .codigo-grande { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: 16px; border: 1px dashed var(--linea-3); }
.compartir .codigo-grande b { font: 700 28px/1 var(--mono); letter-spacing: .28em; }
/* Primeros pasos de la sala */
.primeros { padding: 16px 18px; display: grid; gap: 10px; }
.primeros header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.primeros header b { font: 700 15px/1.2 var(--display); letter-spacing: -.01em; }
.primeros .barra-pasos { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.primeros .barra-pasos i { display: block; height: 100%; background: var(--grad); border-radius: 2px; transition: width .7s var(--ease); }
.primeros .pasos-lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.paso { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--s1); border: 1px solid var(--linea); cursor: pointer; font-size: 13.5px; text-align: left; color: inherit; transition: background .2s, transform .3s var(--muelle); }
.paso:hover { background: var(--s2); transform: translateY(-2px); }
.paso .marca-paso { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--linea-3); display: grid; place-items: center; flex: none; transition: background .3s, border-color .3s; }
.paso .marca-paso .ico { width: 13px; height: 13px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--muelle); }
.paso.hecho .marca-paso { background: var(--grad); border-color: transparent; color: var(--tinta); }
.paso.hecho .marca-paso .ico { opacity: 1; transform: none; }
.paso.hecho span { color: var(--apagado); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
@media (max-width: 700px) { .primeros .pasos-lista { grid-template-columns: 1fr; } }
.atajos-musica { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.atajos-musica .btn { border-radius: 999px; }
.rapidas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.rapida { position: relative; overflow: hidden; padding: 14px; min-height: 76px; border-radius: 16px; border: 1px solid var(--linea); cursor: pointer; text-align: left; color: #fff; font: 700 14px/1.2 var(--display); letter-spacing: -.01em; display: grid; align-content: end; transition: transform .35s var(--muelle), box-shadow .3s; }
.rapida small { display: block; font: 500 11.5px/1.2 var(--cuerpo); color: rgba(255, 255, 255, .75); margin-top: 3px; }
.rapida:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 30px -16px #000; }
.rapida:active { transform: scale(.97); }
@media (max-width: 1100px) {
  .sala-cuerpo { grid-template-columns: minmax(0, 1fr); padding: 0 12px 12px; }
  .lado { position: relative; top: 0; height: 74vh; }
}
@media (max-width: 560px) {
  .mandos .volumen input { width: 72px; }
  .sala-barra .ocultar-movil { display: none; }
  .sala-barra { height: 60px; padding: 0 10px; gap: 8px; }
  .marco { border-radius: 16px; }
  .compartir .redes { grid-template-columns: 1fr; }
  .sala-barra .nombre .etiqueta { display: none; }
}

/* Menos movimiento, si la persona lo pide en su perfil */
html.calma *, html.calma *::before, html.calma *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
html.calma .revelar { opacity: 1; transform: none; }
html.calma .burbuja { opacity: 1; }
@media (max-width: 560px) { .display, .seccion h2, h2.titulo, .cierre3 h2 { letter-spacing: -.02em; } }
.lado .pestanas { justify-content: space-between; }
.lado .pestanas button:not(.activo) .txt { display: none; }
.lado .pestanas button { padding: 9px 10px; }
@media (max-width: 560px) {
  .cola .orden { display: none; }
  .cola .elem .acc .btn:not(:last-child) { display: none; }
  .cola .elem .acc { opacity: 1; }
  .lado .miniatura { width: 52px; height: 30px; }
  .reaccionar { gap: 4px; flex-wrap: nowrap; }
  .reaccionar button { width: 36px; height: 36px; font-size: 16px; }
  .rapidas { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================================================
   Stickers de Koonda (SVG propios con animación CSS)
   ===================================================================================================== */
.stk { display: inline-grid; place-items: center; width: var(--t, 64px); height: var(--t, 64px); flex: none; line-height: 0; vertical-align: middle; }
.stk svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.stk.en-linea { margin: -6px 1px; }
.stk.en-linea svg { filter: none; }
.stk * { transform-box: view-box; }
.stk .todo { transform-origin: 64px 112px; }
.a-bota .todo { animation: k-bota 1.1s cubic-bezier(.3, .7, .3, 1) infinite; }
.a-lento .todo { animation: k-bota 2.2s ease-in-out infinite; }
@keyframes k-bota { 0%, 100% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(-9px) scale(.95, 1.05); } 55% { transform: translateY(0) scale(1.07, .93); } 75% { transform: translateY(-2px) scale(.99, 1.01); } }
.a-tiembla .todo { animation: k-tiembla .45s ease-in-out infinite; transform-origin: 64px 64px; }
@keyframes k-tiembla { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg) translateX(-2px); } 75% { transform: rotate(6deg) translateX(2px); } }
.a-late .todo { animation: k-late 1.05s ease-in-out infinite; transform-origin: 64px 64px; }
@keyframes k-late { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.13); } 28% { transform: scale(.97); } 42% { transform: scale(1.08); } 60% { transform: scale(1); } }
.a-pop .todo { animation: k-pop 1.5s cubic-bezier(.34, 1.56, .64, 1) infinite; transform-origin: 64px 64px; }
@keyframes k-pop { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.18) rotate(-3deg); } 24% { transform: scale(.95) rotate(2deg); } 38% { transform: scale(1); } }
.a-baila .todo { animation: k-baila .9s ease-in-out infinite; }
@keyframes k-baila { 0%, 100% { transform: rotate(-9deg) translateX(-4px); } 50% { transform: rotate(9deg) translateX(4px) translateY(-4px); } }
.a-cabeceo .todo { animation: k-cabeceo .5s cubic-bezier(.5, 0, .5, 1) infinite; transform-origin: 64px 104px; }
@keyframes k-cabeceo { 0%, 100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(7deg) translateY(5px); } }
.a-flota .todo { animation: k-flota 2.4s ease-in-out infinite; }
@keyframes k-flota { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.a-zoom .todo { animation: k-zoom .7s ease-in-out infinite; transform-origin: 64px 64px; }
@keyframes k-zoom { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.15) rotate(-4deg); } 60% { transform: scale(1.04) rotate(3deg); } }
.a-cae .todo { animation: k-cae 2.2s ease-in-out infinite; transform-origin: 64px 30px; }
@keyframes k-cae { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(9deg) translateY(4px) scaleY(.95); } }
.a-entra .todo { animation: k-entra 2.4s cubic-bezier(.34, 1.56, .64, 1) infinite; transform-origin: 64px 64px; }
@keyframes k-entra { 0% { transform: scale(.2) rotate(-200deg); opacity: 0; } 22%, 100% { transform: scale(1) rotate(0); opacity: 1; } }
.stk .ojos { animation: k-parpadeo 3.8s infinite; transform-origin: 64px 60px; }
@keyframes k-parpadeo { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.stk .late-p { animation: k-late .9s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.stk .pupila { animation: k-pupila 1.6s ease-in-out infinite; }
@keyframes k-pupila { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-3px, -1px); } 70% { transform: translate(3px, 1px); } }
.stk .nota { animation: k-nota 1.7s ease-in-out infinite; }
.stk .nota.b { animation-delay: -.85s; }
@keyframes k-nota { 0% { transform: translateY(8px) rotate(-10deg); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-18px) rotate(12deg); opacity: 0; } }
.stk .salta-i { animation: k-salta-i .45s ease-in-out infinite alternate; }
.stk .salta-d { animation: k-salta-d .45s ease-in-out infinite alternate; }
@keyframes k-salta-i { to { transform: translate(-7px, -5px); } }
@keyframes k-salta-d { to { transform: translate(7px, -5px); } }
.stk .chorro { stroke-dasharray: 10 8; animation: k-chorro .5s linear infinite; }
@keyframes k-chorro { to { stroke-dashoffset: -18; } }
.stk .llamas, .stk .llama-a { animation: k-llama .32s ease-in-out infinite alternate; transform-origin: 64px 110px; }
.stk .llama-b { animation: k-llama .26s ease-in-out infinite alternate-reverse; transform-origin: 64px 110px; }
@keyframes k-llama { from { transform: scale(1, .93) skewX(-3deg); } to { transform: scale(1.03, 1.06) skewX(3deg); } }
.stk .zzz text { animation: k-zzz 2.4s ease-in-out infinite; }
.stk .zzz text:nth-child(2) { animation-delay: -1.2s; }
@keyframes k-zzz { 0% { transform: translate(0, 6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(9px, -14px); opacity: 0; } }
.stk .vapor { animation: k-vapor .8s ease-out infinite; }
@keyframes k-vapor { 0% { transform: translateY(4px) scale(.7); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-10px) scale(1.1); opacity: 0; } }
.stk .mano-i { animation: k-mano-i .3s ease-in-out infinite alternate; }
.stk .mano-d { animation: k-mano-d .3s ease-in-out infinite alternate; }
@keyframes k-mano-i { from { transform: translateX(-9px); } to { transform: translateX(3px); } }
@keyframes k-mano-d { from { transform: translateX(9px); } to { transform: translateX(-3px); } }
.stk .palma-i { animation: k-palma-i .3s ease-in-out infinite alternate; transform-origin: 64px 110px; }
.stk .palma-d { animation: k-palma-d .3s ease-in-out infinite alternate; transform-origin: 64px 110px; }
@keyframes k-palma-i { from { transform: rotate(-14deg) translateX(-6px); } to { transform: rotate(0); } }
@keyframes k-palma-d { from { transform: rotate(14deg) translateX(6px); } to { transform: rotate(0); } }
.stk .choque { animation: k-choque .6s steps(1) infinite; }
@keyframes k-choque { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
.stk .mano-saluda { animation: k-saluda .45s ease-in-out infinite alternate; transform-origin: 102px 72px; }
@keyframes k-saluda { from { transform: rotate(-18deg); } to { transform: rotate(16deg); } }
.stk .brillo { animation: k-brillo 1.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.stk .brillo.b { animation-delay: -.5s; }
.stk .brillo.c { animation-delay: -1s; }
@keyframes k-brillo { 0%, 100% { transform: scale(.35) rotate(0); opacity: .35; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
.stk .titila circle { animation: k-titila 1.2s ease-in-out infinite alternate; }
.stk .titila circle:nth-child(2n) { animation-delay: -.6s; }
@keyframes k-titila { from { opacity: .2; } to { opacity: 1; } }
.stk .arcoiris-c { animation: k-hue 3s linear infinite, k-baila .9s ease-in-out infinite; }
@keyframes k-hue { to { filter: hue-rotate(360deg); } }
.stk .corona { animation: k-corona 1.1s ease-in-out infinite; transform-origin: 64px 26px; }
@keyframes k-corona { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-2px); } }
.stk .duda { animation: k-flota 1.8s ease-in-out infinite; }
.stk .confeti-k { animation: k-titila .5s steps(2) infinite alternate; }
.stk .letra-o { animation: k-ola .8s ease-in-out infinite; }
@keyframes k-ola { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.stk .glitch-a { animation: k-glitch-a .35s steps(2) infinite; }
.stk .glitch-b { animation: k-glitch-b .35s steps(2) infinite; }
@keyframes k-glitch-a { 0% { transform: translate(-3px, 1px); } 50% { transform: translate(2px, -2px); } 100% { transform: translate(-1px, 2px); } }
@keyframes k-glitch-b { 0% { transform: translate(3px, -1px); } 50% { transform: translate(-2px, 2px); } 100% { transform: translate(1px, -2px); } }
.stk .onda { animation: k-onda 1.2s ease-out infinite; }
.stk .onda.o2 { animation-delay: .2s; }
.stk .onda.o3 { animation-delay: .4s; }
@keyframes k-onda { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
.stk .disco-g { animation: k-gira 2.4s linear infinite; transform-origin: 64px 64px; }
@keyframes k-gira { to { transform: rotate(360deg); } }
.stk .mandibula { animation: k-mandibula .4s ease-in-out infinite alternate; }
@keyframes k-mandibula { to { transform: translateY(5px); } }
.stk .mira { animation: k-mira 2.4s ease-in-out infinite; }
@keyframes k-mira { 0%, 100% { transform: translateX(-6px); } 45%, 55% { transform: translateX(6px); } }
.stk .trozo { opacity: 0; animation: k-trozo 1.6s ease-out infinite; }
.stk .t0 { --dx: -22px; --dy: -54px; }
.stk .t1 { --dx: 6px; --dy: -62px; animation-delay: -.2s; }
.stk .t2 { --dx: 32px; --dy: -50px; animation-delay: -.4s; }
.stk .t3 { --dx: 46px; --dy: -24px; animation-delay: -.6s; }
.stk .t4 { --dx: -6px; --dy: -40px; animation-delay: -.8s; }
.stk .t5 { --dx: 22px; --dy: -66px; animation-delay: -1s; }
.stk .t6 { --dx: 50px; --dy: -44px; animation-delay: -1.2s; }
.stk .t7 { --dx: 14px; --dy: -30px; animation-delay: -1.4s; }
@keyframes k-trozo { 0% { transform: translate(0, 0) rotate(0) scale(.6); opacity: 0; } 12% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(260deg); opacity: 0; } }
.stk .sube-a, .stk .sube-b { animation: k-sube 1.8s ease-in-out infinite; }
.stk .sube-b { animation-delay: -.9s; }
@keyframes k-sube { 0% { transform: translate(0, 10px) scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-4px, -16px) scale(1); opacity: 0; } }

/* Galería de stickers */
.galeria-stk { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.galeria-stk .celda { position: relative; display: grid; justify-items: center; gap: 8px; padding: 16px 8px 12px; border-radius: 18px; background: var(--s1); border: 1px solid var(--linea); text-align: center; transition: transform .3s var(--muelle), background .2s; }
.galeria-stk .celda:hover { transform: translateY(-3px); background: var(--s2); }
.galeria-stk .celda b { font: 600 13px/1.2 var(--cuerpo); }
.galeria-stk .celda code { font: 500 11px/1 var(--mono); color: var(--apagado); }
.galeria-stk .celda .chip { position: absolute; top: 8px; right: 8px; height: 20px; font-size: 10.5px; padding: 0 7px; }
.chip.max, .insignia-max { background: linear-gradient(120deg, #ffe08a, #ffb03a 45%, #ff3d8b); color: var(--tinta); border-color: transparent; font-weight: 800; }

/* ---- Reacciones con stickers ---- */
.reaccionar button { display: grid; place-items: center; padding: 0; }
.reaccionar button .stk svg { filter: none; }
.reaccionar .mas-stk { color: var(--tenue); }
.reaccionar .mas-stk .ico { width: 20px; height: 20px; }
.super-reaccion { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; z-index: 5; animation: superEntra 2.8s var(--muelle) forwards; }
.super-reaccion small { font: 700 14px/1 var(--cuerpo); padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; }
@keyframes superEntra { 0% { transform: translate(-50%, -50%) scale(.2) rotate(-20deg); opacity: 0; } 18% { transform: translate(-50%, -50%) scale(1.15) rotate(4deg); opacity: 1; } 30% { transform: translate(-50%, -50%) scale(1) rotate(0); } 80% { opacity: 1; transform: translate(-50%, -54%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -74%) scale(.9); } }
.super-reaccion .chispa { position: absolute; left: 50%; top: 42%; width: 12px; height: 12px; border-radius: 3px; opacity: 0; animation: chispa 1.1s var(--ease) .15s forwards; }
@keyframes chispa { 0% { transform: rotate(var(--a)) translateX(0) scale(1); opacity: 1; } 100% { transform: rotate(var(--a)) translateX(var(--d)) rotate(200deg) scale(.3); opacity: 0; } }

/* ---- Selector de stickers ---- */
.pestanas-stk { width: 100%; grid-auto-columns: 1fr; overflow-x: auto; }
.picker-stk { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; max-height: 46vh; overflow-y: auto; padding: 2px; }
.celda-stk { position: relative; height: 80px; border-radius: 16px; border: 1px solid var(--linea); background: var(--s1); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--muelle), background .2s, border-color .2s; }
.celda-stk:hover { transform: translateY(-2px) scale(1.04); background: var(--s3); border-color: var(--linea-3); }
.celda-stk:active { transform: scale(.9); transition-duration: .08s; }
.celda-stk.bloqueado .stk { opacity: .42; filter: grayscale(.5); }
.celda-stk .candado { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(120deg, #ffe08a, #ffb03a 45%, #ff3d8b); color: var(--tinta); }
.celda-stk .candado .ico { width: 12px; height: 12px; stroke-width: 2.4; }
.super-sw { padding: 10px 14px !important; border-radius: 14px; border: 1px solid rgba(255, 140, 80, .3) !important; background: linear-gradient(120deg, rgba(255, 176, 58, .12), rgba(255, 61, 139, .1)); }
.pie-stk { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: var(--s1); border: 1px dashed rgba(255, 176, 58, .35); }

/* ---- Chat con stickers y Max ---- */
.msg-stk { margin-top: 4px; line-height: 0; }
.mensaje p.solo-emotes, .mensaje.de-max p.solo-emotes { background: none; padding: 4px 0 0; box-shadow: none; }
.mensaje p.solo-emotes .stk.en-linea { margin: 0 2px; }
.escribir .emojis-rapidos button { line-height: 0; }
.nombre-max { background: linear-gradient(120deg, #ffe08a, #ffb03a 38%, #ff6b4a 68%, #ff3d8b); -webkit-background-clip: text; background-clip: text; color: transparent !important; font-weight: 700; }
.insignia-max { display: inline-flex; align-items: center; height: 17px; padding: 0 6px; margin-left: 6px; border-radius: 6px; font: 800 9.5px/1 var(--cuerpo); letter-spacing: .06em; vertical-align: 2px; background: linear-gradient(120deg, #ffe08a, #ffb03a 45%, #ff3d8b); color: var(--tinta); -webkit-text-fill-color: var(--tinta); }
.mensaje.de-max p { box-shadow: inset 0 0 0 1px rgba(255, 176, 58, .22); }
.avatar.max { border: 2px solid transparent; background: linear-gradient(#15151e, #15151e) padding-box, linear-gradient(120deg, #ffe08a, #ffb03a 40%, #ff3d8b) border-box; box-shadow: 0 0 18px -4px rgba(255, 150, 70, .75); }
.avatar.animado { overflow: visible; }
.avatar.animado .stk svg { filter: none; }

/* ---- Temas de sala (Koonda Max) ---- */
.sala[data-tema="neon"] { --grad: linear-gradient(120deg, #46c8ff 0%, #8f7bff 50%, #ff3d8b 100%); --grad-v: linear-gradient(180deg, #46c8ff, #8f7bff 50%, #ff3d8b); --tinte1: rgba(70, 200, 255, .22); --tinte2: rgba(143, 123, 255, .2); }
.sala[data-tema="atardecer"] { --grad: linear-gradient(120deg, #ffd36e 0%, #ff5f5f 50%, #c06bff 100%); --grad-v: linear-gradient(180deg, #ffd36e, #ff5f5f 50%, #c06bff); --tinte1: rgba(255, 95, 95, .22); --tinte2: rgba(192, 107, 255, .18); }
.sala[data-tema="oceano"] { --grad: linear-gradient(120deg, #a5f0ff 0%, #38bdf8 50%, #818cf8 100%); --grad-v: linear-gradient(180deg, #a5f0ff, #38bdf8 50%, #818cf8); --tinte1: rgba(56, 189, 248, .22); --tinte2: rgba(129, 140, 248, .18); }
.sala[data-tema="bosque"] { --grad: linear-gradient(120deg, #e2fca0 0%, #4ade80 50%, #2dd4bf 100%); --grad-v: linear-gradient(180deg, #e2fca0, #4ade80 50%, #2dd4bf); --tinte1: rgba(74, 222, 128, .2); --tinte2: rgba(45, 212, 191, .16); }
.sala[data-tema="oro"] { --grad: linear-gradient(120deg, #fff4b8 0%, #ffcf3f 50%, #f59e0b 100%); --grad-v: linear-gradient(180deg, #fff4b8, #ffcf3f 50%, #f59e0b); --tinte1: rgba(255, 207, 63, .2); --tinte2: rgba(245, 158, 11, .16); }
.sala[data-tema]:not([data-tema="aurora"])::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 50% at 18% 8%, var(--tinte1), transparent 70%), radial-gradient(50% 50% at 92% 85%, var(--tinte2), transparent 70%); }
.temas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tema-op { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--linea-2); background: var(--s1); font: 600 13px/1 var(--cuerpo); color: var(--texto); cursor: pointer; transition: border-color .2s, background .2s, transform .3s var(--muelle); }
.tema-op:hover { transform: translateY(-1px); }
.tema-op.activo { border-color: #ffb03a; background: rgba(255, 176, 58, .1); }
.tema-op i { width: 22px; height: 22px; border-radius: 50%; flex: none; background: linear-gradient(120deg, #ffb03a, #ff6b4a 48%, #ff3d8b); }
.tema-op[data-tema="neon"] i { background: linear-gradient(120deg, #46c8ff, #8f7bff 50%, #ff3d8b); }
.tema-op[data-tema="atardecer"] i { background: linear-gradient(120deg, #ffd36e, #ff5f5f 50%, #c06bff); }
.tema-op[data-tema="oceano"] i { background: linear-gradient(120deg, #a5f0ff, #38bdf8 50%, #818cf8); }
.tema-op[data-tema="bosque"] i { background: linear-gradient(120deg, #e2fca0, #4ade80 50%, #2dd4bf); }
.tema-op[data-tema="oro"] i { background: linear-gradient(120deg, #fff4b8, #ffcf3f 50%, #f59e0b); }
.teaser-max { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; border: 1px dashed rgba(255, 176, 58, .4); background: linear-gradient(120deg, rgba(255, 176, 58, .08), rgba(255, 61, 139, .06)); }
.teaser-max .peq { flex: 1; min-width: 180px; }

/* ---- Letra tipo karaoke ---- */
.cab-letra { display: flex; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--linea); }
.cab-letra b { display: block; font: 700 15px/1.2 var(--display); letter-spacing: -.01em; }
.cab-letra small { color: var(--tenue); font-size: 12.5px; }
.letra { display: grid; gap: 16px; padding: 10px 0 80px; }
.letra p { margin: 0; font: 800 23px/1.3 var(--display); letter-spacing: -.02em; color: rgba(255, 255, 255, .22); transition: color .5s var(--ease), transform .5s var(--ease), filter .5s; transform-origin: left center; cursor: pointer; filter: blur(.9px); }
.letra p.cerca { color: rgba(255, 255, 255, .42); filter: blur(.25px); }
.letra p.pasada { color: rgba(255, 255, 255, .5); filter: none; }
.letra p.viva, .karaoke-lineas p.viva { color: rgba(255, 255, 255, .5); filter: drop-shadow(0 0 22px rgba(255, 120, 70, .3)); transform: scale(1.04); }
.viva .pal.dicha { background: linear-gradient(90deg, #ffe7b8, #ffb36b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.viva .pal.cantando { background: linear-gradient(90deg, #ffe7b8 0%, #ff8a5c var(--q, 0%), rgba(255, 255, 255, .5) var(--q, 0%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.letra p.pausa.viva, .karaoke-lineas p.pausa.viva { color: #ffb36b; background: none; }
.letra.plana p { font: 400 15.5px/1.6 var(--cuerpo); color: var(--tenue); cursor: default; filter: none; }
.puntos { display: inline-flex; gap: .3em; vertical-align: middle; }
.puntos i { width: .3em; height: .3em; border-radius: 50%; background: currentColor; animation: k-puntos 1.2s ease-in-out infinite; }
.puntos i:nth-child(2) { animation-delay: .2s; }
.puntos i:nth-child(3) { animation-delay: .4s; }
@keyframes k-puntos { 0%, 100% { transform: scale(.55); opacity: .4; } 50% { transform: scale(1); opacity: 1; } }
.karaoke { position: fixed; inset: 0; z-index: 75; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #07070b; animation: aparece .35s ease both; overflow: hidden; isolation: isolate; }
.karaoke-fondo { position: fixed; inset: -12%; z-index: -1; background-color: #07070b; background-position: center; background-size: cover; background-repeat: no-repeat; filter: blur(80px) saturate(1.5) brightness(.42); opacity: .9; animation: respira 20s ease-in-out infinite alternate; pointer-events: none; }
.karaoke::after { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, transparent 0%, rgba(7, 7, 11, .55) 70%, rgba(7, 7, 11, .85) 100%); pointer-events: none; }
.karaoke > header { display: flex; align-items: center; gap: 14px; padding: 18px max(22px, env(safe-area-inset-left, 0px)); }
.karaoke > header b { display: block; font: 800 20px/1.2 var(--display); letter-spacing: -.02em; }
.karaoke > header small { color: var(--tenue); font-size: 14px; }
.karaoke-lineas { overflow-y: auto; padding: 28vh max(24px, 8vw) 42vh; display: grid; gap: 24px; align-content: start; scrollbar-width: none; }
.karaoke-lineas::-webkit-scrollbar { display: none; }
.karaoke-lineas p { margin: 0; max-width: 1100px; font: 800 clamp(30px, 4.4vw, 60px)/1.16 var(--display); letter-spacing: -.03em; color: rgba(255, 255, 255, .2); transition: color .5s, transform .5s var(--ease), filter .5s; transform-origin: left center; cursor: pointer; filter: blur(1.6px); }
.karaoke-lineas p.cerca { color: rgba(255, 255, 255, .42); filter: blur(.5px); }
.karaoke-lineas p.pasada { color: rgba(255, 255, 255, .34); filter: blur(.9px); }
@media (max-width: 560px) {
  .reaccionar .stk { --t: 28px !important; }
  .picker-stk { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 52vh; }
  .temas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Koonda Max ---- */
.grad-oro { background: linear-gradient(120deg, #fff1b0 0%, #ffcf3f 35%, #ff9a3c 65%, #ff3d8b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: brilloTexto 6s ease-in-out infinite alternate; display: inline-block; padding-bottom: .06em; }
.enlace-max { gap: 6px !important; color: #ffd08a !important; }
.enlace-max.activo { background: rgba(255, 176, 58, .12) !important; }
.heroe-max { position: relative; display: grid; justify-items: center; text-align: center; gap: 18px; padding: 50px 0 30px; }
.heroe-max > * { position: relative; }
.heroe-max h1 { font-size: clamp(44px, 7vw, 92px); margin: 0; }
.heroe-max .bajada { font-size: 18px; line-height: 1.6; color: var(--tenue); max-width: 54ch; margin: 0; }
.halo-max { position: absolute !important; left: 50%; top: 40px; width: min(720px, 90vw); aspect-ratio: 1.6; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 207, 63, .26), rgba(255, 61, 139, .12) 55%, transparent 75%); filter: blur(20px); animation: halo 7s ease-in-out infinite alternate; pointer-events: none; }
.cta-max { justify-content: center; gap: 12px; }
.chip-grande { height: 46px; padding: 0 20px; font-size: 15px; }
.ventajas-max { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ventaja { padding: 24px; display: grid; gap: 10px; align-content: start; transition: transform .45s var(--muelle), border-color .3s; }
.ventaja:hover { transform: translateY(-5px); border-color: rgba(255, 176, 58, .35); }
.ventaja h3 { margin: 0; font: 700 19px/1.2 var(--display); letter-spacing: -.02em; }
.ventaja p { margin: 0; color: var(--tenue); font-size: 14.5px; line-height: 1.55; }
.bloque-max { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px; align-items: center; padding: 36px; overflow: hidden; border-color: rgba(255, 176, 58, .3) !important;
  background: linear-gradient(140deg, rgba(255, 207, 63, .12), rgba(255, 61, 139, .08) 55%, rgba(14, 14, 21, .6)) !important; }
.bloque-max h2 { margin: 0; font: 800 clamp(30px, 4vw, 50px)/1.04 var(--display); letter-spacing: -.035em; }
.lista-max { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lista-max li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.lista-max .ico { color: #ffcf3f; width: 18px; height: 18px; stroke-width: 2.6; }
.escaparate-max { position: relative; display: grid; place-items: center; min-height: 300px; }
.escaparate-max .halo-max { top: 50%; transform: translate(-50%, -50%); width: 120%; }
.escaparate-max > .stk { position: relative; z-index: 1; }
.orbita { position: absolute; inset: 0; animation: k-gira 26s linear infinite; }
.orbita .stk { position: absolute; animation: k-gira 26s linear infinite reverse; }
.orbita .stk:nth-child(1) { left: 6%; top: 8%; } .orbita .stk:nth-child(2) { right: 4%; top: 14%; } .orbita .stk:nth-child(3) { left: 10%; bottom: 6%; } .orbita .stk:nth-child(4) { right: 2%; bottom: 10%; }
@media (max-width: 860px) { .bloque-max { grid-template-columns: 1fr; padding: 26px; } .escaparate-max { min-height: 260px; } }
.muestra-stk { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.muestra-celda { display: grid; place-items: center; aspect-ratio: 1; border-radius: 22px; background: var(--s1); border: 1px solid var(--linea); animation: entra .6s var(--ease) both; transition: transform .4s var(--muelle), background .2s; }
.muestra-celda:hover { transform: translateY(-4px) rotate(-3deg); background: var(--s2); }
@media (max-width: 760px) { .muestra-stk { grid-template-columns: repeat(4, minmax(0, 1fr)); } .muestra-celda .stk { --t: 58px !important; } }
.tarjeta-max { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; border-color: rgba(255, 176, 58, .3) !important; background: linear-gradient(140deg, rgba(255, 207, 63, .12), rgba(255, 61, 139, .07) 60%, rgba(14, 14, 21, .6)) !important; transition: transform .35s var(--muelle); }
section.tarjeta-max { display: grid !important; }
a.tarjeta-max:hover { transform: translateY(-3px); }
.tarjeta-max b { display: block; font: 700 16px/1.2 var(--display); }
.tarjeta-max small { color: var(--tenue); font-size: 13px; }
.panel-max { border-color: rgba(255, 176, 58, .3) !important; }
.avatares-max { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; max-height: 260px; overflow-y: auto; padding: 2px; }
.avatares-max .celda-stk { height: 60px; }
.celda-stk.activo { border-color: #ffb03a; background: rgba(255, 176, 58, .14); }

/* ---- Textos legales ---- */
.legal { max-width: 760px; display: grid; gap: 10px; }
.legal h2 { margin: 6px 0 10px; }
.legal h3 { margin: 18px 0 0; font: 700 18px/1.3 var(--display); letter-spacing: -.01em; }
.legal p { margin: 0; color: var(--tenue); font-size: 15.5px; line-height: 1.7; }
.panel-max .temas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) { .barra .solo-ancho { display: none; } .barra { gap: 10px; padding-left: 14px; padding-right: 14px; } }

/* =====================================================================================================
   Zona Max: un apartado propio, en dorado
   ===================================================================================================== */
body.zona-max::before {
  background:
    radial-gradient(32vmax 26vmax at 22% 14%, rgba(255, 207, 63, .2), transparent 70%),
    radial-gradient(30vmax 26vmax at 84% 18%, rgba(255, 61, 139, .14), transparent 70%),
    radial-gradient(34vmax 28vmax at 60% 94%, rgba(255, 154, 60, .14), transparent 70%);
}
body.zona-max .barra { border-bottom-color: rgba(255, 207, 63, .18); }
.nav a.nav-max { display: inline-flex; align-items: center; gap: 6px; color: #ffd36e; }
.nav a.nav-max.activo { background: rgba(255, 207, 63, .14); color: #ffe39a; }
.navmovil { grid-template-columns: repeat(5, 1fr) !important; }
.navmovil a.nav-max { color: #e8b94a; }
.navmovil a.nav-max.activo { color: #ffe39a; background: rgba(255, 207, 63, .14); }
.navmovil a.nav-max .stk { --t: 22px !important; margin: -2px 0; }
.cab-zona { position: relative; display: flex; align-items: center; gap: 24px; padding: 14px 0 4px; }
.cab-zona > * { position: relative; }
.cab-zona .halo-max { left: 60px; top: 50%; transform: translate(-50%, -50%); width: 520px; }
.cab-zona h1 { font-size: clamp(34px, 5vw, 56px); margin: 0; }
.cab-zona .avatar.xl { width: 110px; height: 110px; font-size: 44px; }
.subnav-max { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 18px; border: 1px solid rgba(255, 207, 63, .2); background: rgba(20, 16, 10, .45); backdrop-filter: var(--borroso); -webkit-backdrop-filter: var(--borroso); position: sticky; top: 76px; z-index: 20; }
.subnav-max::-webkit-scrollbar { display: none; }
.subnav-max a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 13px; font: 600 14px/1 var(--cuerpo); color: var(--tenue); transition: background .25s var(--ease), color .2s; }
.subnav-max a:hover { color: var(--texto); background: var(--s1); }
.subnav-max a.activo { color: #ffe39a; background: linear-gradient(120deg, rgba(255, 207, 63, .2), rgba(255, 61, 139, .12)); box-shadow: inset 0 0 0 1px rgba(255, 207, 63, .35); }
@media (max-width: 960px) { .subnav-max { top: 70px; } }
@media (max-width: 560px) { .cab-zona { gap: 16px; } .cab-zona .avatar.xl { width: 78px; height: 78px; } .subnav-max a > span:not(.stk) { display: none; } .subnav-max a.activo > span:not(.stk) { display: inline; } .subnav-max a { padding: 9px 12px; } }
.accesos-max { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.accesos-max > a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 18px; border-color: rgba(255, 207, 63, .22) !important; transition: transform .35s var(--muelle), border-color .25s; }
.accesos-max > a:hover { transform: translateY(-3px); border-color: rgba(255, 207, 63, .45) !important; }
.accesos-max b { font: 700 16px/1.2 var(--display); flex: 1; min-width: 140px; }
.accesos-max small { flex-basis: 100%; color: var(--tenue); font-size: 13px; padding-left: 66px; margin-top: -10px; }
@media (max-width: 860px) { .accesos-max { grid-template-columns: 1fr; } }
.ventaja.activa { position: relative; }
.ventaja .chip.listo { position: absolute; top: 16px; right: 16px; height: 24px; gap: 4px; padding: 0 9px; }
.ventaja .chip.listo .ico { width: 13px; height: 13px; stroke-width: 3; }
a.ventaja { color: inherit; }
.zona-muestra { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.zona-muestra > div { padding: 18px; display: grid; gap: 8px; justify-items: start; border-color: rgba(255, 207, 63, .2) !important; }
.zona-muestra b { font: 700 16px/1.2 var(--display); }
.zona-muestra small { color: var(--tenue); font-size: 13px; line-height: 1.45; }
@media (max-width: 900px) { .zona-muestra { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zona-rejilla { grid-template-columns: minmax(0, 1fr) 400px; }
@media (max-width: 960px) { .zona-rejilla { grid-template-columns: 1fr; } }
.panel.pegado { position: sticky; top: 140px; }
.avatares-max.grande { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); max-height: none; }
.avatares-max.grande .celda-stk { height: 74px; }
.previa-max { display: grid; gap: 14px; }
.previa-perfil { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; background: var(--s1); border: 1px solid var(--linea); }
.previa-perfil b { font: 700 20px/1.2 var(--display); display: block; }
.previa-max .mensaje { padding: 12px 14px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--linea); animation: none; }
.mini-sala { --grad: linear-gradient(120deg, #ffb03a 0%, #ff6b4a 48%, #ff3d8b 100%); display: grid; grid-template-columns: 64px 1fr; gap: 10px 14px; align-items: center; padding: 14px; border-radius: 18px; border: 1px solid var(--linea-2); background: rgba(0, 0, 0, .3); }
.mini-sala[data-tema="neon"] { --grad: linear-gradient(120deg, #46c8ff 0%, #8f7bff 50%, #ff3d8b 100%); }
.mini-sala[data-tema="atardecer"] { --grad: linear-gradient(120deg, #ffd36e 0%, #ff5f5f 50%, #c06bff 100%); }
.mini-sala[data-tema="oceano"] { --grad: linear-gradient(120deg, #a5f0ff 0%, #38bdf8 50%, #818cf8 100%); }
.mini-sala[data-tema="bosque"] { --grad: linear-gradient(120deg, #e2fca0 0%, #4ade80 50%, #2dd4bf 100%); }
.mini-sala[data-tema="oro"] { --grad: linear-gradient(120deg, #fff4b8 0%, #ffcf3f 50%, #f59e0b 100%); }
.mini-portada { width: 64px; height: 64px; border-radius: 14px; background: var(--grad); box-shadow: 0 12px 26px -12px #000; }
.mini-info b { display: block; font: 700 15px/1.2 var(--display); }
.mini-info small { color: var(--tenue); font-size: 12.5px; }
.mini-pista { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.mini-pista i { display: block; width: 42%; height: 100%; border-radius: 3px; background: var(--grad); }
.mini-mandos { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 22px; color: var(--tenue); }
.mini-play { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--tinta); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); }
.escenario-demo { position: relative; height: 300px; border-radius: 20px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--linea-2);
  background: radial-gradient(60% 70% at 30% 30%, rgba(255, 176, 58, .3), transparent 70%), radial-gradient(60% 70% at 80% 80%, rgba(143, 123, 255, .3), transparent 70%), #0b0b12; }
.mini-celda { width: 64px; height: 64px !important; }
.enlace-previo { padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(255, 207, 63, .4); font: 500 14px/1 var(--mono); color: var(--tenue); }
.enlace-previo b { color: #ffe39a; letter-spacing: .08em; }
.plan-max { border-color: rgba(255, 207, 63, .35) !important; background: linear-gradient(150deg, rgba(255, 207, 63, .12), rgba(255, 61, 139, .07) 60%, rgba(14, 14, 21, .6)) !important; }
.datos-plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.datos-plan > div { padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--linea); display: grid; gap: 4px; }
.datos-plan small { color: var(--apagado); font-size: 12px; }
.datos-plan b { font: 700 16px/1.2 var(--display); }
@media (max-width: 560px) { .datos-plan { grid-template-columns: 1fr; } }
.escenario-demo > span { transition: opacity .3s; } .escenario-demo:has(.super-reaccion) > span { opacity: 0; }
.banda-previa { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; border: 1px dashed rgba(255, 207, 63, .5); background: linear-gradient(120deg, rgba(255, 207, 63, .12), rgba(255, 61, 139, .08)); }
.banda-previa > span:not(.stk) { flex: 1; min-width: 200px; font-size: 14px; }
.zona-muestra > a { padding: 18px; display: grid; gap: 8px; justify-items: start; border-color: rgba(255, 207, 63, .2) !important; color: inherit; transition: transform .35s var(--muelle), border-color .25s; }
.zona-muestra > a:hover { transform: translateY(-3px); border-color: rgba(255, 207, 63, .45) !important; }
