/* v3.6 · Dudas dentro de la conversación (25/11): aparecen como respuestas sugeridas del paciente,
   debajo del último mensaje del Dr. Kevin. No tapan nada, la que se toca desaparece y, después de
   cada respuesta, aparecen las que quedan. */
.dudas-grupo { align-self: flex-end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px;
  max-width: 92%; margin: 2px 0 6px; transition: opacity .25s, transform .25s var(--ease); }
.dudas-grupo.saliendo { opacity: 0; transform: translateY(6px); pointer-events: none; }
.dudas-grupo button { padding: 10px 15px; border-radius: 20px; background: #fff; border: 1.5px solid rgba(18,124,146,.45);
  color: var(--tinta); font-size: 15px; font-weight: 500; line-height: 1.3; text-align: left;
  box-shadow: 0 1px 2px rgba(8,38,44,.06); animation: aparece .35s var(--ease) both; -webkit-tap-highlight-color: transparent;
  transition: transform .15s, background .15s; }
.dudas-grupo button:active { transform: scale(.97); background: rgba(18,124,146,.08); }
.dudas-grupo button.sugerida { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(18,124,146,.28); }
.dudas-grupo button.claro { background: var(--tinta); border-color: var(--tinta); color: #fff; font-weight: 700; }

/* ===================== v3.7 (25/11) ===================== */
/* entrada: empezar de nuevo, para quien vuelve */
.entrada-reiniciar { display: block; margin: 12px auto 0; padding: 8px 12px; font-size: 14px; color: rgba(251,246,243,.72); text-decoration: underline; text-underline-offset: 4px; }
.entrada-reiniciar[hidden] { display: none; }
/* en teléfonos bajos el botón no se aplasta: cede el dibujo de arriba */
#s-entrada .boton-oro, .entrada-reiniciar, #s-entrada .firma { flex: none; }
#s-entrada .trazo { flex: 0 1 auto; min-height: 0; max-height: 30vh; }
@media (max-height: 700px) { .entrada-volumen { margin: 26px 0 16px; } }

/* v3.9 · videollamada: si el iPhone frena el video, un botón propio en lugar del play de Apple */
.vl-tocar { position: absolute; left: 50%; top: 50%; z-index: 6; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #fff; font-size: 16px; font-weight: 700; text-shadow: 0 1px 10px rgba(0,0,0,.5); -webkit-tap-highlight-color: transparent; }
.vl-tocar span { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--tinta);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); animation: punto-fuerte 1.6s infinite; }
.vl-tocar svg { width: 30px; height: 30px; margin-left: 4px; }
.vl-tocar[hidden] { display: none; }

/* v3.8 · caso: primero dónde lo nota (patrón, no género). Tarjetas grandes con la vista de arriba de la cabeza */
.caso-patrones { display: grid; gap: 12px; padding: 6px 16px 0; }
.patron { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 20px; background: #fff;
  border: 1.5px solid rgba(8,38,44,.08); box-shadow: 0 2px 12px rgba(8,38,44,.06); text-align: left; color: var(--tinta);
  animation: aparece .45s var(--ease) both; transition: transform .15s, border-color .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.patron:active { transform: scale(.98); }
.patron[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18,124,146,.16), 0 10px 22px rgba(18,124,146,.14); }
.patron-img { position: relative; flex: none; width: 104px; height: 104px; border-radius: 15px; background: #F6F1EE; overflow: hidden; }
.patron-img img { position: absolute; top: -9%; left: -8px; height: 118%; width: auto; max-width: none; pointer-events: none; }
.patron-txt { flex: 1; font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.patron::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(18,124,146,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23127C92' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.caso-todas { display: block; margin: 16px auto 0; padding: 12px 20px; border-radius: 999px; border: 1.5px dashed rgba(18,124,146,.5);
  background: transparent; color: var(--teal); font-size: 15px; font-weight: 600; }
.cabeza[hidden], .caso-otro-patron[hidden] { display: none; }
#caso-cabeza .cr-enlaces { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; }

/* calendario: el subtítulo fijo de abajo tapa del todo lo que pasa por detrás (antes se mezclaban las letras) */
.calendario .subtitulos { padding-top: 26px; background: linear-gradient(rgba(8,38,44,0), var(--tinta) 24px); }

/* llamada: los anillos se apagan antes de llegar al nombre */
@keyframes anillo { from { transform: scale(1); opacity: .85; } 70% { opacity: .22; } to { transform: scale(1.42); opacity: 0; } }
.avatar-wrap { margin-bottom: 30px; }

/* folículo: solo se ve el punto que toca, sobre la raíz, con "Tocá acá" encima */
.tocables .punto:not(.siguiente):not(.visto) { opacity: 0; pointer-events: none; }
.punto.siguiente span { width: 26px; height: 26px; border: 3px solid #fff; animation: punto-fuerte 1.5s infinite; }
@keyframes punto-fuerte { 0% { box-shadow: 0 0 0 0 rgba(18,124,146,.75), 0 2px 8px rgba(8,38,44,.35); } 100% { box-shadow: 0 0 0 30px rgba(18,124,146,0), 0 2px 8px rgba(8,38,44,.35); } }
.punto.siguiente::after { inset: 6px; border: 2px solid rgba(18,124,146,.9); }
.punto.siguiente::before { content: attr(data-tocar); position: absolute; bottom: calc(100% - 4px); left: 50%; transform: translateX(-50%);
  padding: 7px 13px; border-radius: 999px; background: var(--tinta); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(8,38,44,.3); animation: flota 1.6s ease-in-out infinite; pointer-events: none; }
.punto.siguiente.lado-izq::before { transform: translateX(-22%); }
.punto.siguiente.lado-der::before { transform: translateX(-78%); }
@keyframes flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

/* calendario: la fecha se toca en cualquier parte de la línea; quieta mientras habla el Dr. Kevin */
.linea { touch-action: pan-y; cursor: pointer; -webkit-user-select: none; user-select: none; }
.marca-pin { padding: 9px 14px; font-size: 14px; min-height: 38px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.linea-marca .marca-pin span { font-size: 14px; }
.linea.quieta .marca-pin { opacity: .5; filter: saturate(.5); box-shadow: none; }
.marca-pin.invita { animation: invita 1.4s var(--ease) 3; }
@keyframes invita { 0%, 100% { box-shadow: 0 4px 14px rgba(0,0,0,.35), 0 0 0 0 rgba(216,182,106,.7); } 60% { box-shadow: 0 4px 14px rgba(0,0,0,.35), 0 0 0 14px rgba(216,182,106,0); } }
.arrastra { font-size: 14px; font-weight: 500; }
.arrastra.espera { color: rgba(251,246,243,.78); font-variant-numeric: tabular-nums; }
.arrastra.sacude { animation: sacude .45s; }
input[type=range]::-webkit-slider-thumb { width: 32px; height: 32px; margin-top: -13px; }
input[type=range]::-moz-range-thumb { width: 32px; height: 32px; }

/* tarjeta: botón de WhatsApp en dos líneas */
.boton-wa { height: auto; min-height: 58px; padding: 10px 22px; }
.wa-txt { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.wa-txt small { font-size: 13px; font-weight: 500; opacity: .92; margin-top: 2px; }
/* calendario y cómo llegar: uno debajo del otro en teléfonos angostos (no se parten en dos líneas) */
@media (max-width: 400px) { .tarjeta-acciones { grid-template-columns: 1fr; } .tarjeta-acciones .boton-tinta, .tarjeta-acciones .boton-borde { height: 50px; } }

/* letra mínima de 13 px (12 en datos muy chicos) y más contraste para lectores de 35 a 60 años */
.etapa-cuando { font-size: 13.5px; color: rgba(251,246,243,.72); }
.ap-app { font-size: 12.5px; }
.chat-dia { font-size: 13px; }
.burbuja .meta { font-size: 12px; }
.videollamada.en-curso .chip-grabado { font-size: 13px; }
.r-cuando, .resenas-aviso { font-size: 13px; }
.cabeza-cod { font-size: 12px; }
.cr-cabeza small { font-size: 13px; }
.tr-hoy span, .linea-hoy span { font-size: 13px; }
.tr-meses span, .linea-meses span { font-size: 12.5px; color: rgba(251,246,243,.75); }
.fases-lista em { font-size: 13.5px; color: rgba(251,246,243,.72); }
.inv-pct-tit { font-size: 13.5px; color: rgba(251,246,243,.8); }
.inv-aviso { font-size: 13px; color: rgba(251,246,243,.72); }
.escrita-quien { font-size: 12.5px; }
.enlace-priv { font-size: 13.5px; }
.firma { font-size: 13px; }
.meses small { font-size: 12px; opacity: .72; }
.verano span { font-size: 12.5px; }
.leyenda { font-size: 13.5px; color: rgba(251,246,243,.68); }
.nota-meta, .nota-texto-btn { font-size: 13px; }
.testimonio p, .ta-quien { font-size: 13px; }
.tarjeta-nota { font-size: 13.5px; }
