/* Mensajes con el coach (mensajes.js) — app instalada del atleta.
   Reglas de DESIGN.md: tres negros, cian solo en lo que se toca, un solo botón relleno (Enviar),
   Barlow para leer, Barlow Condensed para etiquetas, sin sombras ni brillos.
   Lo propio va en blanco cálido al 8 % (como una etiqueta del panel); lo del coach, en la
   superficie con borde: se distinguen por tono y lado, no por color de marca. */

/* Punto de no leídos sobre el botón + y cuenta en la opción "Mensajes" */
.ab-mas.msj-hay span { position: relative; }
.ab-mas.msj-hay.abierto span::before { display: none; } /* con la hoja abierta el + gira: el punto se ve en la opción */
.ab-mas.msj-hay span::before {
  content: ''; position: absolute; top: 1px; right: 1px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--ap-cian, #00e5f0); box-shadow: 0 0 0 3px var(--ap-sup, #0b0d0e);
}
#abSheetMas .msj-cuenta {
  margin-left: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ap-cian, #00e5f0); color: #000;
  font: 700 13px/1 'Barlow Condensed', sans-serif; font-variant-numeric: tabular-nums;
}

.msj-pant {
  --msj-mio: rgba(242, 240, 235, 0.08);
  position: fixed; inset: 0; z-index: 100600; /* encima de la barra inferior: la conversación usa toda la pantalla */
  display: flex; flex-direction: column;
  max-width: 560px; margin: 0 auto;
  background: var(--ap-fondo, #000); color: var(--ap-txt, #f2f0eb);
  font-family: 'Barlow', sans-serif; font-size: 15px; line-height: 1.55;
  padding-top: env(safe-area-inset-top);
}
.msj-pant[hidden] { display: none; }
.msj-pant.entra { animation: msjEntra var(--mv-entrada, .45s) var(--mv-frenada, cubic-bezier(.22,1,.36,1)) both; }
/* Solo se desliza (sin fundido desde transparente: en Android eso parpadea) */
@keyframes msjEntra { from { transform: translate3d(100%, 0, 0); } }
body.msj-on { overflow: hidden; }
@media (min-width: 561px) { .msj-pant { border-left: 1px solid var(--ap-borde, #1c2023); border-right: 1px solid var(--ap-borde, #1c2023); } }

.msj-pant ::selection { background: rgba(0, 229, 240, 0.35); color: #fff; }
.msj-pant button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
.msj-pant button:focus-visible, .msj-pant textarea:focus-visible { outline: 2px solid var(--ap-txt, #f2f0eb); outline-offset: 2px; }

/* Íconos tocables: 44 px de zona aunque el dibujo sea chico */
.msj-ic {
  flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 14px; background: none;
  color: var(--ap-txt, #f2f0eb); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--mv-estado, .2s), transform var(--mv-toque, .12s);
}
.msj-ic:active { transform: scale(.98); background: rgba(242, 240, 235, 0.06); }
.msj-ic svg, .msj-enviar svg, .msj-hoja-op svg, .msj-op svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.msj-op svg { fill: currentColor; stroke: none; }

/* Encabezado */
.msj-cab {
  display: flex; align-items: center; gap: 4px; padding: 8px 8px 10px;
  border-bottom: 1px solid var(--ap-borde, #1c2023);
}
.msj-cab-txt { flex: 1; min-width: 0; padding-left: 2px; }
.msj-tit {
  margin: 0; font: 700 22px/1.1 'Barlow Condensed', sans-serif; letter-spacing: .01em; color: var(--ap-txt, #f2f0eb);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.msj-estado {
  margin: 2px 0 0; display: flex; align-items: center; gap: 7px;
  font-size: 13px; line-height: 1.35; color: var(--ap-txt2, #a39e94);
}
.msj-estado span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msj-punto { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ap-txt2, #a39e94); }
.msj-punto.on { background: var(--ap-verde, #27ae60); border-color: var(--ap-verde, #27ae60); }
.msj-aviso {
  margin: 0; padding: 10px 16px; font-size: 13px; line-height: 1.4; color: var(--ap-txt2, #a39e94);
  border-bottom: 1px solid var(--ap-borde, #1c2023);
}

/* Hilo */
.msj-zona { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--ap-borde2, #2a2f33) transparent; }
.msj-lista { list-style: none; margin: 0; padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; min-height: 100%; }
.msj-lista > :first-child { margin-top: auto; } /* los pocos mensajes quedan abajo, junto al campo */

.msj-nuevos { scroll-margin-top: 8px; }
.msj-dia, .msj-nuevos { display: flex; align-items: center; gap: 12px; margin: 16px 0 8px; }
.msj-dia::before, .msj-dia::after, .msj-nuevos::before, .msj-nuevos::after { content: ''; flex: 1; height: 1px; background: var(--ap-borde, #1c2023); }
.msj-dia span, .msj-nuevos span {
  font: 700 11px/1 'Barlow Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-txt2, #a39e94);
}
.msj-nuevos span { color: var(--ap-cian, #00e5f0); }
.msj-nuevos::before, .msj-nuevos::after { background: rgba(0, 229, 240, 0.35); }

.msj-m { position: relative; display: flex; flex-direction: column; max-width: 84%; margin-top: 4px; }
.msj-m.mio { align-self: flex-end; align-items: flex-end; }
.msj-m.otro { align-self: flex-start; align-items: flex-start; padding-right: 40px; }
.msj-burbuja {
  border-radius: 16px; padding: 10px 14px; min-width: 0; max-width: 100%;
  background: var(--ap-sup, #0b0d0e); border: 1px solid var(--ap-borde, #1c2023);
  overflow-wrap: anywhere;
}
.msj-m.mio .msj-burbuja { background: var(--msj-mio); border-color: transparent; border-bottom-right-radius: 4px; }
.msj-m.otro .msj-burbuja { border-bottom-left-radius: 4px; }
.msj-m.pend .msj-burbuja { opacity: .6; }
.msj-m.error .msj-burbuja { border: 1px solid rgba(231, 76, 60, 0.6); }
.msj-txt { margin: 0; white-space: pre-wrap; font-size: 15px; line-height: 1.5; }
.msj-burbuja > * + * { margin-top: 8px; }
.msj-meta { display: flex; gap: 8px; align-items: center; margin: 3px 4px 0; font-size: 12px; line-height: 1.3; color: var(--ap-txt2, #a39e94); font-variant-numeric: tabular-nums; }
.msj-visto { color: var(--ap-txt, #f2f0eb); }
.msj-rep { color: var(--ap-nar, #ff8a1f); }
.msj-err { color: var(--ap-rojo, #e74c3c); }
.msj-reint {
  border: 0; background: none; color: var(--ap-cian, #00e5f0); font: 700 12px/1 'Barlow Condensed', sans-serif;
  letter-spacing: .1em; text-transform: uppercase; padding: 12px 6px; margin: -12px 0; cursor: pointer;
}
.msj-op {
  position: absolute; right: 0; bottom: 18px; width: 40px; height: 44px; border: 0; background: none; cursor: pointer;
  color: var(--ap-txt2, #a39e94); display: flex; align-items: center; justify-content: center; border-radius: 12px;
}
.msj-op svg { width: 18px; height: 18px; }
.msj-op:active { background: rgba(242, 240, 235, 0.06); }

/* Foto dentro del mensaje */
.msj-foto {
  display: block; padding: 0; border: 0; background: var(--ap-alta, #121517); border-radius: 10px; overflow: hidden; cursor: zoom-in;
  min-width: 120px; min-height: 90px; max-width: 100%;
}
.msj-foto img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover; }
.msj-foto.falla { cursor: default; padding: 16px; color: var(--ap-txt2, #a39e94); font-size: 13px; }

/* Tarjeta de sesión: el contexto del mensaje (patrón "comentar una sesión concreta") */
.msj-ses {
  display: flex; flex-direction: column; gap: 2px; width: 100%; min-width: 200px; text-align: left;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ap-borde2, #2a2f33); background: var(--ap-fondo, #000); color: inherit;
}
button.msj-ses { cursor: pointer; transition: border-color var(--mv-estado, .2s), transform var(--mv-toque, .12s); }
button.msj-ses:active { transform: scale(.98); border-color: rgba(0, 229, 240, 0.4); }
.msj-ses-k { font: 700 11px/1.2 'Barlow Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-txt2, #a39e94); }
.msj-ses-t { font: 700 20px/1.15 'Barlow Condensed', sans-serif; color: var(--ap-txt, #f2f0eb); }
.msj-ses-d { font-size: 13px; color: var(--ap-txt2, #a39e94); font-variant-numeric: tabular-nums; }
button.msj-ses .msj-ses-t { color: var(--ap-cian, #00e5f0); }

.msj-vacio, .msj-cargando {
  margin: auto 0 !important; padding: 28px 8px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center;
  color: var(--ap-txt2, #a39e94); font-size: 15px;
}
.msj-vacio strong { font: 700 22px/1.1 'Barlow Condensed', sans-serif; color: var(--ap-txt, #f2f0eb); }
.msj-vacio span { max-width: 32ch; }
.msj-sec {
  margin-top: 8px; height: 44px; padding: 0 20px; border-radius: 14px; border: 1.5px solid var(--ap-cian, #00e5f0); background: none;
  color: var(--ap-cian, #00e5f0); font: 700 15px/1 'Barlow Condensed', sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}

/* Adjunto listo para enviar */
.msj-adj {
  position: relative; display: flex; align-items: center; gap: 12px; margin: 0 12px; padding: 10px 52px 10px 10px;
  background: var(--ap-alta, #121517); border: 1px solid var(--ap-borde2, #2a2f33); border-bottom: 0; border-radius: 16px 16px 0 0;
}
.msj-adj[hidden] { display: none; }
.msj-adj img { height: 64px; width: auto; max-width: 120px; border-radius: 8px; object-fit: cover; }
.msj-adj .msj-ses { min-width: 0; background: none; border: 0; padding: 0; }
.msj-adj-x { position: absolute; right: 4px; top: 50%; margin-top: -22px; }

/* Campo de escritura */
.msj-comp {
  display: flex; align-items: flex-end; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--ap-borde, #1c2023); background: var(--ap-sup, #0b0d0e);
}
/* Con el teclado abierto, la franja segura de abajo queda bajo el teclado: sin relleno extra */
.msj-pant.msj-teclado .msj-comp { padding-bottom: 8px; }
.msj-campo {
  flex: 1; min-width: 0; resize: none; max-height: 132px; min-height: 44px;
  padding: 11px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05);
  color: var(--ap-txt, #f2f0eb); font: 400 16px/1.4 'Barlow', sans-serif; /* 16 px: el teléfono no hace zoom */
  caret-color: var(--ap-cian, #00e5f0); transition: border-color var(--mv-estado, .2s);
}
.msj-campo::placeholder { color: #8d887f; }
.msj-campo:focus { outline: none; border-color: rgba(0, 229, 240, 0.55); }
.msj-campo:focus-visible { outline: none; }
.msj-enviar {
  flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--ap-cian, #00e5f0); color: #000; display: inline-flex; align-items: center; justify-content: center;
  transition: opacity var(--mv-estado, .2s), transform var(--mv-toque, .12s);
}
.msj-enviar svg { stroke-width: 2.4; }
.msj-enviar:active { transform: scale(.98); }
.msj-enviar:disabled { opacity: .45; cursor: default; }

/* Hojas (opciones, adjuntar) */
.msj-hoja { position: absolute; inset: 0; z-index: 3; background: rgba(0, 0, 0, 0.6); display: flex; align-items: flex-end; }
.msj-hoja[hidden] { display: none; }
.msj-hoja-caja {
  width: 100%; max-height: 80%; overflow-y: auto; padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
  background: var(--ap-alta, #121517); border-top: 1px solid var(--ap-borde2, #2a2f33); border-radius: 22px 22px 0 0;
  animation: msjSube var(--mv-entrada, .45s) var(--mv-frenada, cubic-bezier(.22,1,.36,1)) both;
}
@keyframes msjSube { from { transform: translate3d(0, 100%, 0); } }
.msj-hoja-t { margin: 0 0 6px; font: 700 22px/1.1 'Barlow Condensed', sans-serif; color: var(--ap-txt, #f2f0eb); }
.msj-hoja-n { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--ap-txt2, #a39e94); }
.msj-hoja-op {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 10px 2px; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--ap-borde, #1c2023); color: var(--ap-txt, #f2f0eb);
}
.msj-hoja-op > span { flex: 1; min-width: 0; }
.msj-hoja-op-t { display: block; font-size: 15px; font-weight: 600; }
.msj-hoja-op small { display: block; margin-top: 1px; font-size: 13px; color: var(--ap-txt2, #a39e94); line-height: 1.35; }
.msj-hoja-op.peligro .msj-hoja-op-t, .msj-hoja-op.peligro svg { color: var(--ap-rojo, #e74c3c); }
.msj-hoja-op:active { background: rgba(242, 240, 235, 0.04); }
.msj-sw { flex: 0 0 44px; height: 26px; border-radius: 13px; background: var(--ap-borde2, #2a2f33); position: relative; transition: background var(--mv-estado, .2s); }
.msj-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ap-txt, #f2f0eb); transition: transform var(--mv-estado, .2s) var(--mv-frenada, ease); }
.msj-hoja-op[aria-checked="true"] .msj-sw { background: var(--ap-cian, #00e5f0); }
.msj-hoja-op[aria-checked="true"] .msj-sw::after { transform: translateX(18px); background: #000; }
.msj-hoja-cerrar {
  width: 100%; height: 44px; margin-top: 12px; border: 0; background: none; cursor: pointer;
  color: var(--ap-cian, #00e5f0); font: 700 15px/1 'Barlow Condensed', sans-serif; letter-spacing: .06em; text-transform: uppercase;
}

/* Foto en grande */
.msj-visor { position: absolute; inset: 0; z-index: 4; background: #000; display: flex; align-items: center; justify-content: center; }
.msj-visor img { max-width: 100%; max-height: 100%; object-fit: contain; }
.msj-visor-x { position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 8px; background: rgba(0, 0, 0, 0.6); }

/* Aviso breve */
.msj-toast {
  position: absolute; left: 16px; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 5;
  padding: 12px 16px; border-radius: 14px; background: var(--ap-alta, #121517); border: 1px solid var(--ap-borde2, #2a2f33);
  font-size: 15px; text-align: center; opacity: 0; transform: translate3d(0, 8px, 0); pointer-events: none;
  transition: opacity var(--mv-estado, .2s), transform var(--mv-estado, .2s);
}
.msj-toast.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .msj-pant.entra, .msj-hoja-caja { animation: none; }
  .msj-ic, .msj-enviar, button.msj-ses, .msj-toast, .msj-sw, .msj-sw::after { transition: none; }
}

.msj-rec { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 16px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(0,229,240,.4); background: rgba(0,229,240,.08); font-size: 14px; line-height: 1.4; }
.msj-rec[hidden] { display: none; }
.msj-rec span { flex: 1 1 200px; }
.msj-rec-b, .msj-rec-n { min-height: 44px; padding: 0 14px; border-radius: 10px; cursor: pointer; font: 700 13px/1 inherit; letter-spacing: .08em; text-transform: uppercase; }
.msj-rec-b { background: #00e5f0; color: #000; border: 0; }
.msj-rec-n { background: none; color: inherit; border: 1px solid rgba(255,255,255,.25); }

/* Mensaje nuevo con la conversación cerrada: el punto del + late y baja una cinta tocable arriba */
.ab-mas.msj-hay span::before { animation: msjLate 1.6s ease-in-out infinite; }
@keyframes msjLate { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); box-shadow: 0 0 0 3px var(--ap-sup, #0b0d0e), 0 0 12px 4px rgba(0,229,240,.7); } }
.msj-cinta {
  position: fixed; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 9500;
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; padding: 12px 16px; border-radius: 14px;
  background: #121517; color: #f2f0eb; border: 1.5px solid #00e5f0; box-shadow: 0 8px 28px rgba(0,0,0,.6); cursor: pointer;
  transform: translateY(-140%); transition: transform .3s ease-out; font-family: inherit;
}
.msj-cinta.on { transform: none; }
.msj-cinta strong { font: 700 16px/1.2 'Barlow Condensed', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #00e5f0; }
.msj-cinta span { font-size: 15px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .ab-mas.msj-hay span::before { animation: none; }
  .msj-cinta { transition: none; }
}

/* Fase 2 · mensajes fijados y búsqueda */
.msj-m.mio { position: relative; padding-left: 40px; }
.msj-m.mio .msj-op { left: 0; right: auto; }
.msj-fij { color: var(--ap-oro, #d4a843); font-weight: 700; }
.msj-resalta .msj-burbuja { animation: msjResalta 1.8s ease-out; }
@keyframes msjResalta { 0%, 60% { box-shadow: 0 0 0 3px rgba(0,229,240,.7); } 100% { box-shadow: 0 0 0 3px rgba(0,229,240,0); } }
.msj-fj { display: flex; flex-direction: column; margin: 0; border-bottom: 1px solid var(--ap-borde, #1c2023); background: var(--ap-sup, #0b0d0e); }
.msj-fj[hidden], .msj-busq[hidden] { display: none; }
.msj-fj-f { display: flex; align-items: center; }
.msj-fj-ver { flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; border: 0; background: none; color: var(--ap-txt, #f2f0eb); cursor: pointer; text-align: left; font: inherit; font-size: 14px; }
.msj-fj-ver svg, .msj-fj-q svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.msj-fj-ver svg { color: var(--ap-oro, #d4a843); }
.msj-fj-ver span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msj-fj-q { width: 44px; height: 44px; border: 0; background: none; color: var(--ap-txt2, #a39e94); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.msj-busq { padding: 8px 16px 10px; border-bottom: 1px solid var(--ap-borde, #1c2023); background: var(--ap-sup, #0b0d0e); }
.msj-busq-campo { width: 100%; box-sizing: border-box; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ap-borde2, #2a2f33); background: #000; color: var(--ap-txt, #f2f0eb); font: inherit; font-size: 16px; }
.msj-busq-campo:focus { outline: 2px solid var(--ap-cian, #00e5f0); outline-offset: 1px; }
.msj-busq-res { list-style: none; margin: 6px 0 0; padding: 0; max-height: 40vh; overflow-y: auto; }
.msj-busq-it { width: 100%; display: flex; flex-direction: column; gap: 2px; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--ap-borde, #1c2023); background: none; color: var(--ap-txt, #f2f0eb); text-align: left; cursor: pointer; font: inherit; }
.msj-busq-it small { color: var(--ap-txt2, #a39e94); font-size: 12px; }
.msj-busq-it span { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msj-busq-nada { padding: 12px 4px; color: var(--ap-txt2, #a39e94); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .msj-resalta .msj-burbuja { animation: none; box-shadow: 0 0 0 3px rgba(0,229,240,.7); } }
.msj-fj { max-height: 96px; overflow-y: auto; }

/* -- Notas de voz -- */
.msj-audio { display: flex; align-items: center; gap: 10px; min-width: 220px; max-width: 300px; color: inherit; }
.msj-audio-b {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ap-cian, #00e5f0); color: #000; display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--mv-toque, .12s);
}
.msj-audio-b:active { transform: scale(.96); }
.msj-audio-b svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.msj-audio.on .msj-audio-b svg { fill: none; stroke-width: 2.6; }
.msj-audio.cargando .msj-audio-b { opacity: .6; }
.msj-audio-r { flex: 1; min-width: 0; height: 28px; margin: 0; accent-color: var(--ap-cian, #00e5f0); background: none; cursor: pointer; }
.msj-audio-t { flex: 0 0 auto; min-width: 34px; text-align: right; font: 600 13px/1 'Barlow', sans-serif; font-variant-numeric: tabular-nums; color: var(--ap-txt2, #a39e94); }
.msj-audio.falla { min-width: 0; font-size: 13px; color: var(--ap-txt2, #a39e94); }
.msj-adj .msj-audio { flex: 1; max-width: none; }

/* Barra de grabación: reemplaza la caja de escribir mientras se graba */
.msj-comp[hidden] { display: none; }
.msj-grab {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--ap-borde, #1c2023); background: var(--ap-sup, #0b0d0e); color: var(--ap-txt, #f2f0eb);
}
.msj-grab-x {
  flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 14px; background: none; color: var(--ap-txt, #f2f0eb);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.msj-grab-x svg, .msj-grab-ok svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.msj-grab-p { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: #e74c3c; animation: msjLatir 1.2s ease-in-out infinite; }
.msj-grab-t { font: 700 20px/1 'Barlow Condensed', sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.msj-grab-n { flex: 1; min-width: 0; font-size: 13px; color: var(--ap-txt2, #a39e94); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msj-grab-ok {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--ap-cian, #00e5f0); color: #000; font: 700 15px/1 'Barlow Condensed', sans-serif; letter-spacing: .1em; text-transform: uppercase;
}
.msj-grab button:focus-visible, .msj-audio button:focus-visible, .msj-audio-r:focus-visible { outline: 2px solid var(--ap-txt, #f2f0eb); outline-offset: 2px; }
@keyframes msjLatir { 0%, 100% { transform: scale(1); } 50% { transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) { .msj-grab-p { animation: none; } .msj-audio-b { transition: none; } }
