/* ---------- 1.23.0 · Seguir a alguien (js/seguir.js) ---------- */
.boton-seguir.siguiendo { border-color: rgb(46 230 197 / .5); color: var(--turquesa); background: rgb(46 230 197 / .08); }
.boton-seguir.siguiendo:hover { border-color: rgb(255 92 116 / .5); color: #ff9aac; background: rgb(255 92 116 / .08); }
.boton-seguir:disabled { opacity: .6; cursor: default; }

.dlg-seguir-aviso { text-align: center; }
.dlg-seguir-aviso h2 { margin: 6px 0 8px; font-size: 1.35rem; overflow-wrap: anywhere; }
.dlg-seguir-aviso .sub { margin: 0 0 18px; }
.dlg-seguir-aviso .acciones-dialogo { justify-content: center; }
.seguir-aviso-icono { width: 56px; height: 56px; margin: 4px auto 6px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 28px -10px rgb(255 61 139 / .9); }
.seguir-aviso-icono .ico { width: 26px; height: 26px; }

.dlg-seguidores { display: flex; flex-direction: column; max-height: min(720px, calc(100dvh - 24px)); }
.dlg-seguidores[open] { display: flex; }
.seguir-pestanas { margin: 4px 0 8px; width: 100%; }
.seguir-pestanas button { flex: 1; justify-content: center; }
.seguir-pestanas small { color: var(--texto-tenue); font-weight: 600; }
.seguir-lista { padding: 0 0 6px; min-height: 120px; flex: 1; }
.seguir-lista .persona .boton { flex: none; }
.seguir-nota { text-align: left; }

.tostada-boton { flex: none; padding: 7px 12px; border-radius: 99px; background: var(--grad); color: #fff; font-weight: 700; font-size: .8rem; white-space: nowrap; box-shadow: 0 6px 16px -6px rgb(255 61 139 / .8); }

/* El menú de la cuenta tiene dos opciones más («Seguidores» y «Vistos»): en pantallas bajas, se desplaza. */
.menu-yo { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 860px) { .menu-yo { max-height: calc(100dvh - 92px); } }

/* ---------- 1.24.0 · Vistos: enviado, entregado y visto (js/vistos.js) ---------- */
/* Chip oscuro translúcido junto a la hora, dentro de la burbuja propia (maqueta aprobada). */
.burbuja .hora-burbuja.con-visto { display: inline-flex; align-items: center; gap: 5px; }
.burbuja .hora-burbuja.solo-visto { float: none; margin: 0 0 0 4px; vertical-align: bottom; }
.visto-chip { display: inline-grid; place-items: center; height: 18px; min-width: 26px; padding: 0 4px; border-radius: 99px; background: rgb(20 8 30 / .34); line-height: 0; cursor: pointer; }
.visto-chip svg { display: block; height: 14px; width: auto; overflow: visible; }
.visto-chip.con-caras { padding: 0 3px 0 6px; }
.v-ok { stroke: #fff; fill: none; }
.v-ok-f { fill: #fff; }
.v-lei { stroke: var(--turquesa); fill: none; }
.v-lei-f { fill: var(--turquesa); }

.v-caras { display: inline-flex; align-items: center; }
.v-cara {
  width: 14px; height: 14px; margin-left: -4px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: hsl(var(--h) 80% 68%); color: #07060f; font: 700 7.5px/1 var(--fuente); box-shadow: 0 0 0 1.4px #2a0f24;
}
.v-cara img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-mas { margin-left: 3px; font: 700 .62rem/1 var(--fuente); color: #fff; }

/* Animaciones de «visto»: solo cuando cambia en directo (clase puesta por js/vistos.js). */
.v-anim-giro { animation: vGiro .7s var(--muelle); transform-box: fill-box; transform-origin: center; }
@keyframes vGiro { from { transform: rotateY(90deg) scale(.6); } to { transform: none; } }
.v-anim-vapor path { animation: vVapor 1.6s ease-out 3; }
.v-anim-vapor path:nth-child(2) { animation-delay: .4s; }
@keyframes vVapor { 0% { opacity: 0; transform: translateY(2px); } 40% { opacity: 1; } 100% { opacity: 1; transform: translateY(-1px); } }
.v-anim-pop { animation: vPop .55s var(--muelle) both; animation-delay: calc(var(--i, 0) * .12s); }
@keyframes vPop { from { transform: scale(0); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .v-anim-giro, .v-anim-vapor path, .v-anim-pop { animation: none !important; }
}

/* Info del mensaje */
.v-info-burbuja { margin: 4px 0 12px; margin-left: auto; width: fit-content; max-width: 100%; padding: 9px 12px 9px 14px; border-radius: 20px 6px 20px 20px; background: var(--grad); color: #fff; display: flex; align-items: flex-end; gap: 10px; overflow-wrap: anywhere; }
.v-info-burbuja .hora-burbuja { font-size: .68rem; color: rgb(255 255 255 / .8); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.v-info-lista { padding: 0 0 6px; max-height: 50dvh; }
.v-info-nota { margin: 6px 0 0; color: var(--texto-tenue); font-size: .84rem; }
.v-muestra-chip { flex: none; display: inline-grid; place-items: center; padding: 4px 6px; border-radius: 99px; background: var(--grad); }
.v-muestra-chip .visto-chip { cursor: default; }

/* Ajustes: estilos con vista previa */
.dlg-vistos .sub { margin: 0 0 6px; }
.opcion-visto { align-items: center; }
.opcion-visto > span:not(.v-previa) { flex: 1; min-width: 0; }
.v-defecto { display: inline; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: rgb(46 230 197 / .14); color: var(--turquesa) !important; font-size: .68rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.v-previa { flex: none; display: inline-flex; gap: 4px; align-items: center; justify-content: flex-end; min-width: 92px; }
.v-burbuja-previa { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px 6px 12px; border-radius: 14px 5px 14px 14px; background: var(--grad); color: rgb(255 255 255 / .85); font-size: .68rem; font-variant-numeric: tabular-nums; }
.v-burbuja-previa .v-muestra-chip { padding: 0; background: none; }
@media (max-width: 520px) {
  .opcion-visto { flex-wrap: wrap; }
  .v-previa { min-width: 0; margin-left: 30px; }
}
