:root {
  --texto: #0f172a;
  --suave: #4a5875;
  --linea: #e3e8f2;
  --superficie: #f1f4fa;
  --azul: #0090ff;
  --violeta: #a855f7;
  --menta: #00ffc0;
  --fondo: #fbfafc;
  --verde: #0b7a4b;
  --ambar: #8f5b00;
  --rojo: #b3261e;
  --principal: linear-gradient(100deg, #0074db, #8e3bea);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--fondo); color: var(--texto); font: 400 14px/1.5 Montserrat, system-ui, sans-serif; }
#app { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.onda { position: fixed; left: -6%; top: -6%; width: 112%; height: 112%; object-fit: cover; pointer-events: none; animation: onda 16s ease-in-out infinite alternate; }
.num, input.num { font-family: "Courier New", Courier, monospace; font-variant-numeric: tabular-nums; }

/* Textos */
h1 { font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -.4px; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
h2 { font-size: 16px; font-weight: 600; margin: 0; }
h3 { font-size: 14px; font-weight: 600; margin: 0; }
p { margin: 0; overflow-wrap: anywhere; }
ul { list-style: none; margin: 0; padding: 0; }
.suave { color: var(--suave); }
.chico { font-size: 13px; }
.verde { color: var(--verde); }
.ambar { color: var(--ambar); }
.rojo { color: var(--rojo); }
.violeta { color: #7a2fd0; }
.mensaje { white-space: pre-line; }
a { color: inherit; text-decoration: none; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; }
dt { color: var(--suave); }
dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }

/* Controles */
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; padding: 0; background: none; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 2px solid var(--violeta); outline-offset: 2px; }
.icono { flex: none; display: inline-flex; }
.icono svg { width: 20px; height: 20px; }
.boton { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 22px; border-radius: 12px; background: var(--principal); color: #fff; font-weight: 600; text-align: center; box-shadow: 0 6px 16px rgb(80 90 240 / .25); transition: transform .2s, box-shadow .2s; }
.boton::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .45), transparent); transform: skewX(-18deg); transition: left .5s; }
.boton:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgb(100 80 240 / .36); }
.boton:not(:disabled):hover::after { left: 120%; }
.boton:active { transform: none; }
.segundo { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid #d8deec; border-radius: 12px; background: #fff; font-weight: 500; transition: border-color .2s, color .2s, box-shadow .2s; }
.segundo:not(:disabled):hover { border-color: var(--violeta); color: #7a2fd0; box-shadow: 0 6px 16px rgb(168 85 247 / .14); }
.enlace { display: inline-block; min-height: 44px; padding: 11px 0; line-height: 22px; color: #0a63bd; font-weight: 500; background: linear-gradient(90deg, var(--azul), var(--violeta)) no-repeat 0 calc(100% - 8px) / 0 2px; transition: background-size .3s; }
.enlace:hover, .enlace[aria-selected=true] { background-size: 100% 2px; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
form { display: flex; flex-direction: column; gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.campo input, .campo select, textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1px solid transparent; border-radius: 12px; background: var(--superficie); font-size: 16px; font-weight: 400; outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.campo textarea, textarea { min-height: 64px; resize: vertical; }
.campo select { appearance: none; padding-right: 38px; background: var(--superficie) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5875' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.campo input:hover, .campo select:hover, textarea:hover { background-color: #eaf0fb; }
.campo input:focus, .campo select:focus, textarea:focus { background-color: #fff; border-color: var(--azul); box-shadow: 0 0 0 4px rgb(0 144 255 / .14); }
::placeholder { color: #66738f; opacity: 1; }
.opcion { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 13px; cursor: pointer; }
.opcion input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #8e3bea; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
legend { padding: 0; font-size: 13px; font-weight: 500; }
.dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid #dfe4f0; border-radius: 12px; background: #fff; color: var(--suave); font-weight: 500; transition: all .2s; }
.seg button:hover { border-color: var(--violeta); color: #7a2fd0; }
.seg button[aria-pressed=true] { border-color: var(--violeta); color: #7a2fd0; background: #faf5ff; box-shadow: 0 4px 14px rgb(168 85 247 / .14); }
.gustos { display: flex; flex-wrap: wrap; gap: 8px; }
.gusto { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #dfe4f0; border-radius: 12px; background: #fff; color: var(--suave); font-size: 13px; font-weight: 500; cursor: pointer; transition: all .2s; }
.gusto input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.gusto:hover { border-color: var(--violeta); color: #7a2fd0; transform: translateY(-2px); }
.gusto:has(:checked) { border-color: var(--violeta); background: #faf5ff; color: #7a2fd0; }
.gusto:has(:focus-visible) { outline: 2px solid var(--violeta); outline-offset: 2px; }
.llave { display: inline-flex; align-items: center; align-self: flex-start; gap: 12px; min-height: 44px; font-weight: 500; text-align: left; }
.llave i { position: relative; flex: none; width: 42px; height: 24px; border-radius: 12px; background: #c9d1e2; transition: background .25s; }
.llave i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgb(15 23 42 / .25); transition: transform .25s; }
.llave[aria-checked=true] i { background: linear-gradient(100deg, var(--azul), var(--violeta)); }
.llave[aria-checked=true] i::after { transform: translateX(18px); }
details > summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; color: #0a63bd; font-weight: 500; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details > summary:hover { color: #7a2fd0; }
details[open] > summary { margin-bottom: 4px; }
.plegado { display: flex; flex-direction: column; gap: 14px; }

/* Estructura */
.vidrio { background: rgb(255 255 255 / .95); border: 1px solid #fff; border-radius: 20px; box-shadow: 0 24px 60px rgb(40 60 140 / .14); }
.entra { animation: entrar .6s cubic-bezier(.2, .8, .2, 1) both; }
.e2 { animation-delay: .1s; } .e3 { animation-delay: .2s; }
.marca { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 22px; font-weight: 700; letter-spacing: -.6px; }
.marca > span img { display: block; width: 34px; height: 34px; filter: drop-shadow(0 3px 6px rgb(80 120 255 / .3)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.marca:hover > span img { transform: rotate(36deg) scale(1.08); }
.marco { position: relative; flex: 1; display: flex; width: min(1200px, calc(100% - 64px)); min-height: calc(100vh - 64px); margin: 32px auto; overflow: hidden; }
.lado { flex: none; width: 214px; padding: 28px 20px; display: flex; flex-direction: column; gap: 24px; background: linear-gradient(160deg, rgb(168 85 247 / .1), rgb(0 144 255 / .06) 45%, rgb(0 255 192 / .05) 80%); }
.lado nav { display: flex; flex-direction: column; gap: 4px; }
.item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 500; text-align: left; transition: background .2s, color .2s, transform .2s; }
.item:hover { background: rgb(255 255 255 / .8); color: #7a2fd0; transform: translateX(3px); }
.item[aria-current] { background: #fff; box-shadow: 0 4px 14px rgb(80 90 200 / .1); }
.item[aria-current] .icono { color: #8e3bea; }
.lado .firma { margin-top: auto; padding-left: 12px; font-size: 12px; color: var(--suave); }
.cont { flex: 1; min-width: 0; padding: 30px 36px; display: flex; flex-direction: column; }
.cont > div, .columna { display: flex; flex-direction: column; gap: 22px; }
.cont > div { flex: 1; }
.cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cab p { margin-top: 4px; }
.partes { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.partes > * { flex: 1 1 280px; min-width: 0; }
.partes h2, .partes h3 { margin-bottom: 8px; }
.pie { position: relative; padding: 16px; text-align: center; font-size: 12px; color: var(--suave); }
.centro { position: relative; flex: 1; display: flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content: center; gap: 28px 88px; padding: 16px 20px 32px; }
.barra { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(20px, 5vw, 64px); }
.ficha { width: min(400px, 100%); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ficha.grande { width: min(460px, 100%); }
.ficha h1 { font-size: 20px; }
.raya { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; border-top: 1px solid var(--linea); padding-top: 8px; }
.punto { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: calc(100% + 28px); min-height: 48px; padding: 0 14px; margin: 0 -14px; border-radius: 12px; text-align: left; transition: background .2s, transform .2s; }
.fila:hover { background: #f3f5fc; transform: translateX(3px); }
.fila > :last-child { display: flex; align-items: center; gap: 8px; font-size: 13px; text-align: right; }
.fila .icono { color: #8e3bea; opacity: 0; transition: opacity .2s, transform .25s; }
.fila:hover .icono, .fila[aria-expanded] .icono { opacity: 1; }
.fila[aria-expanded=true] .icono { transform: rotate(90deg); }
.suma { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--linea); }
.suma:last-child { border-bottom: 0; }
.suma > :last-child { text-align: right; }
.suma .num { font-weight: 700; }

/* Ventanas */
.ventana { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 26px 28px; border: 0; border-radius: 20px; color: inherit; box-shadow: 0 24px 60px rgb(40 60 140 / .3); }
.ventana[open] { display: flex; flex-direction: column; gap: 14px; animation: entrar .35s cubic-bezier(.2, .8, .2, 1); }
.ventana::backdrop { background: rgb(30 35 80 / .42); animation: aparecer .3s; }
.ventana header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cruz { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -10px; border-radius: 12px; color: var(--suave); transition: color .2s, background .2s; }
.cruz:hover { color: #7a2fd0; background: #faf5ff; }

/* Ingreso y portal */
.bienvenida { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.bienvenida b { font-size: 36px; line-height: 1; letter-spacing: -1.5px; }
.flor { animation: respirar 6s ease-in-out infinite; filter: drop-shadow(0 16px 24px rgb(80 120 255 / .28)); }
.bienvenida .flor { width: clamp(110px, 14vw, 170px); }
.destacada { position: relative; overflow: hidden; display: flex; align-items: center; flex: 0 1 270px; min-height: 190px; padding: 28px 32px; border-radius: 20px; color: #fff; background: radial-gradient(60% 120% at 88% 10%, rgb(0 255 192 / .5), transparent 60%), linear-gradient(115deg, #0074db, #6d4bea 55%, #a04bf0); transition: transform .35s, box-shadow .35s; }
.destacada:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgb(90 70 230 / .34); }
.destacada > div { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 360px; }
.destacada h2 { font-size: 24px; line-height: 1.1; }
.destacada .blanco { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; margin-top: 8px; border-radius: 12px; background: #fff; color: #4b2bbf; font-weight: 600; transition: box-shadow .2s; }
.destacada:hover .blanco { box-shadow: 0 8px 22px rgb(15 23 42 / .25); }
.destacada .flor { position: absolute; right: 36px; top: 50%; width: 170px; margin-top: -85px; }
.prox { display: flex; align-items: center; gap: 10px; min-height: 32px; color: var(--suave); transition: color .2s; }
.prox .icono { color: var(--azul); transition: color .2s, transform .3s; }
.prox:hover { color: var(--texto); } .prox:hover .icono { color: var(--violeta); transform: translateY(-3px); }

/* Resumen */
.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.tarjeta { min-width: 0; padding: 20px 22px; border: 1px solid var(--linea); border-radius: 16px; display: flex; flex-direction: column; gap: 6px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.tarjeta:hover { border-color: #cbb5f7; box-shadow: 0 12px 28px rgb(120 80 240 / .1); transform: translateY(-2px); }
.arcos { flex-direction: row; align-items: center; gap: 18px; padding-left: 0; grid-row: span 2; }
.arcos > svg { flex: none; width: 104px; height: 147px; }
.arcos path { transition: stroke-dasharray .8s; }
.arcos .columna { gap: 10px; }
.dato { display: flex; gap: 10px; align-items: baseline; }
.dato::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--color); }
.dato > span { display: flex; flex-direction: column; }
.cifra { font-size: 22px; line-height: 1.2; }
.cifra .num { font-weight: 700; letter-spacing: -.04em; }
.calido { background: linear-gradient(130deg, #eef5ff, #f6efff 60%, #edfdf8); border-color: transparent; }

.ancha { grid-column: span 2; }

/* Familias */
.arboles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 10px 40px; align-items: start; }
.arbol { display: flex; flex-direction: column; align-items: center; padding: 4px 0 14px; overflow-x: auto; }
.par { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.per { min-height: 44px; padding: 0 14px; border: 1px solid #dce3f2; border-radius: 12px; background: #fff; font-weight: 500; white-space: nowrap; box-shadow: 0 4px 12px rgb(80 90 200 / .07); transition: transform .2s, border-color .2s, box-shadow .2s; }
button.per:not(:disabled):hover { transform: translateY(-3px); border-color: var(--violeta); box-shadow: 0 10px 22px rgb(120 80 240 / .18); }
.per:disabled { opacity: 1; }
.per.adulto { min-width: 104px; border-color: #b9d8ff; background: linear-gradient(160deg, #f1f8ff, #f8f2ff); }
.per.mas { width: 44px; padding: 0; border-style: dashed; box-shadow: none; color: #7a2fd0; font-size: 18px; }
.lazo { position: relative; flex: none; width: 38px; height: 2px; background: linear-gradient(90deg, var(--azul), var(--violeta)); }
.lazo.suelto { background: none; width: 12px; }
.lazo .icono { position: absolute; left: 10px; top: -8px; color: var(--violeta); }
.lazo svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: #fff; }
.hijos { position: relative; display: flex; justify-content: center; padding-top: 20px; }
.hijos::before { content: ""; position: absolute; left: 50%; top: -22px; width: 2px; height: 42px; margin-left: -1px; background: #a9b9f5; }
.solo + .hijos::before { top: 0; height: 20px; }
.rama { position: relative; padding: 20px 5px 0; }
.rama::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 20px; margin-left: -1px; background: #a9b9f5; }
.rama::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #a9b9f5; }
.rama:first-child::after { left: 50%; } .rama:last-child::after { right: 50%; }

/* Matriz de exclusiones */
.matriz { overflow-x: auto; border: 1px solid var(--linea); border-radius: 16px; max-width: 100%; align-self: flex-start; }
.matriz table { border-collapse: separate; border-spacing: 5px; }
.matriz th { font-size: 13px; font-weight: 500; padding: 4px 6px; text-align: center; min-width: 64px; max-width: 100px; overflow-wrap: anywhere; }
.matriz tbody th { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; min-width: 88px; }
.matriz td { padding: 0; }
.matriz td span, .matriz button { display: flex; align-items: center; justify-content: center; width: 52px; min-height: 40px; margin: 0 auto; border-radius: 10px; font-size: 15px; }
.matriz td span { background: #f1f4fa; color: var(--suave); }
.matriz td span.familia { background: #f6f0ff; color: #7a2fd0; }
.matriz td .icono { display: inline-flex; background: none; width: auto; min-height: 0; }
.matriz td .icono svg { width: 16px; height: 16px; }
.matriz button { background: #effaf4; border: 1px solid #bfe5cf; color: var(--verde); transition: transform .15s, box-shadow .15s; }
.matriz button:hover { transform: scale(1.06); box-shadow: 0 6px 14px rgb(40 60 140 / .12); }
.matriz button[aria-pressed=true] { background: #fdecea; border-color: #efb4ae; color: var(--rojo); }
.matriz button.sugerida { background: #fff6e0; border-color: #e3b95a; color: var(--ambar); }

/* Regalos */
.especial { display: flex; align-items: center; gap: 18px; width: 100%; padding: 14px 20px; border-radius: 16px; background: linear-gradient(110deg, #eef5ff, #f6efff 60%, #edfdf8); text-align: left; transition: transform .25s, box-shadow .25s; }
button.especial:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(120 80 240 / .16); }
.especial > img { width: 48px; }
.especial b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 16px; font-weight: 600; }
.especial .icono { color: #a04bf0; }
.mio { flex-direction: column; }
.mio .cab { padding: 12px clamp(18px, 3vw, 36px); border-bottom: 1px solid #edf0f7; }
.mio .cab p { margin: 0; }
.mio main { flex: 1; display: flex; flex-wrap: wrap; gap: 24px 40px; padding: 24px clamp(18px, 3vw, 36px) 28px; }
.mio main > :first-child { flex: 1 1 320px; min-width: 0; }
.mio main > :last-child { flex: 1.4 1 380px; min-width: 0; }
.mio .columna { gap: 14px; }
.mio main[hidden] { display: none; }
.mio .vistas { padding: 16px clamp(18px, 3vw, 36px) 0; gap: 24px; }
.caja { position: relative; overflow: hidden; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 220px; padding: 20px 24px; border-radius: 20px; text-align: center; background: linear-gradient(160deg, #eef5ff, #f6efff 60%, #edfdf8); }
.caja > img { width: 84px; }
.mantener { width: 100%; max-width: 300px; touch-action: none; user-select: none; -webkit-user-select: none; }
.mantener i { position: absolute; inset: 0; background: rgb(255 255 255 / .3); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.mantener.tocando i { transform: scaleX(1); transition: transform .9s linear; }
.mantener span { position: relative; }
.regalo { width: 100%; padding: 8px 0; animation: entrar .7s .15s both; }
.nombre { font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -1px; overflow-wrap: anywhere; animation: revelar .9s cubic-bezier(.2, .9, .2, 1) both; }
.pistas { text-align: left; max-width: 420px; margin: 8px auto 0; font-size: 13px; }
.pistas dl { grid-template-columns: 1fr; gap: 2px; }
.pistas dt { margin-top: 8px; }
.cierre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: auto; }
.grupo { display: flex; flex-direction: column; gap: 8px; }
.grupo > .pistas { margin: 0; max-width: none; }

@keyframes onda { from { transform: none; } to { transform: translate(-2.5%, 1.8%) scale(1.05); } }
@keyframes respirar { 0%, 100% { transform: none; } 50% { transform: scale(1.05) rotate(8deg); } }
@keyframes entrar { from { opacity: 0; transform: translateY(18px); } }
@keyframes aparecer { from { opacity: 0; } }
@keyframes revelar { from { opacity: 0; transform: scale(.7); filter: blur(10px); } }

@media (max-width: 760px) {
  .marco { flex-direction: column; width: calc(100% - 24px); min-height: calc(100vh - 24px); margin: 12px auto; }
  .lado { width: auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; padding: 10px; }
  .lado nav { flex-direction: row; gap: 0; }
  .lado .item { width: 44px; justify-content: center; padding: 0; }
  .lado .item span:not(.icono), .lado .firma { display: none; }
  .lado.largo .marca { font-size: 0; gap: 0; }
  .lado.largo .aparte { display: none; }
  .lado.largo .item { width: 42px; }
  .cont { padding: 22px 18px; }
  .destacada { padding: 24px; }
  .destacada .flor { width: 130px; right: -12px; margin-top: -65px; opacity: .75; }
  .ventana { padding: 22px 20px; }
  .fila .icono { opacity: .7; }
  .ancha { grid-column: auto; }
  .arcos { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { animation: none !important; transition: none !important; } }

/* Mensajes anónimos */
.contador { display: inline-block; min-width: 18px; margin-left: 6px; padding: 0 6px; border-radius: 9px; background: var(--azul); color: #fff; font-size: 11px; line-height: 18px; text-align: center; vertical-align: middle; }
.contador[hidden] { display: none; }
.charla { display: flex; flex-direction: column; gap: 12px; }
.burbuja { align-self: flex-start; max-width: 85%; padding: 10px 14px; border-radius: 14px; background: var(--superficie); }
.burbuja.mia { align-self: flex-end; background: #eaf2ff; }
.burbuja .texto { white-space: pre-line; overflow-wrap: anywhere; }
