/* «Mi Klendar»: móvil primero. Se apoya en site.css y public.css (tarjetas,
   etiquetas, botones) y añade solo lo suyo. */

/* Lo oculto se oculta siempre, aunque la clase diga display: grid. */
[hidden] { display: none !important; }
/* Mientras llega la primera pantalla, el pie espera: pintado debajo del
   «Cargando…», saltaría hacia abajo al llegar la cuenta (CLS 0,72). */
body:has(#view > .cargando) footer { display: none; }
/* «Cargando…» sale solo si tarda (más de 300 ms): así no parpadea. */
#view > .cargando { animation: mov-funde var(--mov-base) var(--mov-entra) 300ms backwards; }
@media (prefers-reduced-motion: reduce) { #view > .cargando { animation: none; } }
.formu { display: grid; gap: 16px; margin: 18px 0; }
.formu label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.formu label small { font-weight: 400; color: var(--ink-2); }
.formu input[type=email], .formu input[type=password], .formu input[type=date],
.formu input:not([type]), .formu input[inputmode] {
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--glass-border);
  background: var(--glass); color: inherit; font: inherit; }
.formu input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.formu .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
/* Una casilla que es un interruptor (como la app): el texto y, a la derecha, el interruptor. */
.formu .check-interruptor { justify-content: space-between; align-items: center; gap: 16px; }
.formu .check-interruptor .interruptor { width: 46px; height: 28px; margin: 0; padding: 0; border-radius: 14px;
  background: var(--soft); border: 1px solid var(--glass-border); }
.formu .check-interruptor .interruptor:checked { background: var(--ink); border-color: var(--ink); }
.formu .check input { margin-top: 3px; width: 18px; height: 18px; }
.err { color: #FF5C5C; min-height: 1em; margin: 0; font-size: 14px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; font: inherit;
  font-weight: 700; cursor: pointer; }
:root[data-theme=dark] .linkbtn, .linkbtn { color: var(--ink); }

.hub { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 18px 0; }
.hub-i { display: grid; gap: 4px; padding: 18px; border-radius: 18px; border: 1px solid var(--glass-border);
  background: var(--elevated); color: inherit; }
.hub-i:hover { text-decoration: none; border-color: var(--ink-2); }
.hub-i b { font-size: 17px; }
.hub-i span { color: var(--ink-2); font-size: 14px; }

.olist.pasado { opacity: .7; }
.tag.off { background: var(--glass); color: var(--ink-2); }
.tag.grande { font-size: 20px; padding: 6px 16px; }

/* El código para la barra: blanco y grande, que se lea a la primera. */
.ticket { text-align: center; max-width: 420px; margin: 0 auto; }
.ticket h1 { margin: 4px 0 10px; }
.ticket .nota-carne { margin: 10px auto; padding: 10px 14px; border: 1px solid var(--glass-border); border-radius: 16px; font-weight: 700; }
.ticket .nota-carne[hidden] { display: none; }
.qr { background: #fff; border-radius: 22px; padding: 16px; width: min(280px, 80vw); margin: 16px auto; }
.qr svg { width: 100%; height: auto; display: block; }
/* Caducado: el QR se apaga, como en la app, para que nadie lo enseñe. */
.qr { transition: opacity .3s; }
.qr.caducado { opacity: .25; }
.codigo { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em;
  font-size: 15px; word-break: break-all; }

.recibo { border: 1px solid var(--glass-border); border-radius: 18px; padding: 18px; max-width: 520px; background: var(--elevated); }
.recibo h2 { margin: 0 0 4px; }
.recibo dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 16px 0; }
.recibo dt { color: var(--ink-2); }
.recibo dd { margin: 0; font-weight: 600; }

.sello { border: 1px solid var(--glass-border); border-radius: 18px; padding: 18px; margin: 0 0 14px; background: var(--elevated); }
.sello h2 { margin: 0 0 2px; font-size: 18px; }
.sello .sello-negocio { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.sello .sello-negocio a { color: var(--ink-2); }
.sello .sello-filtro { margin: 0 0 10px; font-size: 14px; }
.huecos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.huecos span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--glass-border); }
.huecos span.lleno { background: var(--ink); border-color: var(--ink); }

.hecho-ic { width: 64px; height: 64px; margin: 24px auto 0; border-radius: 50%; display: grid;
  place-items: center; font-size: 30px; font-weight: 800; background: var(--ink); color: var(--surface); }
/* Movimiento (como la app): el círculo crece con un pequeño rebote y la
   marca de «hecho» se dibuja de un trazo. */
.hecho-ic { animation: mov-pop var(--mov-lento) var(--mov-rebote); }
.hecho-ic svg path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; animation: mov-traza 240ms var(--mov-entra) 120ms backwards; }
/* El QR aparece suave (fundido y del 96 % al 100 %). */
.qr { animation: mov-crece var(--mov-lento) var(--mov-entra); }
/* Un sello nuevo cae en su hueco; si completa la tarjeta, la fila late. */
.huecos span.cae { animation: mov-cae var(--mov-lento) var(--mov-rebote) 150ms backwards; }
.huecos.completa { animation: mov-late var(--mov-lento) var(--mov-rebote) 450ms; transform-origin: left center; position: relative; overflow: hidden; }
/* Tarjeta completa: un destello la recorre una vez (como la app). */
.huecos.completa::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-100%); animation: mov-destello 650ms var(--mov-mueve) 800ms both; }
@keyframes mov-destello { to { transform: translateX(100%); } }
/* El QR que cambia cada 30 s: un anillo que se vacía; el código nuevo entra
   con un fundido. */
.qr { position: relative; }
.qr > svg:first-child { animation: mov-funde var(--mov-base) var(--mov-entra); }
/* `.qr .qr-anillo`: más fuerte que `.qr svg` (ancho 100 % y alto automático),
   que lo dejaba corrido 9 px arriba a la izquierda y sin rodear el QR. */
.qr .qr-anillo { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); overflow: visible; pointer-events: none; }
.qr-anillo rect { fill: none; stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear; }
@media (prefers-reduced-motion: reduce) {
  .hecho-ic, .hecho-ic svg path, .qr, .huecos span.cae, .huecos.completa, .huecos.completa::after, .qr > svg:first-child { animation: none; }
  .qr-anillo rect { transition: none; }
}
/* Confirmaciones y códigos (centrados): los botones uno debajo de otro y del
   ancho del más largo, como en las pantallas vacías (nada de filas
   desiguales). */
.ticket .acciones { display: grid; grid-template-columns: fit-content(360px); justify-content: center; gap: 10px; }
.ticket .acciones > .pill { justify-content: center; text-align: center; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  background: var(--ink); color: var(--surface); padding: 12px 18px; border-radius: 14px;
  font-weight: 600; max-width: calc(100vw - 32px); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.toast.bad { background: #C62828; color: #fff; } /* blanco sobre #FF5C5C no llegaba a 3:1 */

/* ── Cuenta: avisos, alertas, ajustes, reseñas y denuncias ─────────────── */
.formu select, .formu textarea, .formu input[type=time], .formu input[name] {
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--glass-border);
  background: var(--glass); color: inherit; font: inherit; }
.formu input[type=checkbox], .formu input[type=radio], .formu input[type=range], .formu input[type=file] { padding: 0; }
.formu textarea { resize: vertical; min-height: 110px; }
.formu select:focus, .formu textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.formu fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.formu legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.formu legend small { display: block; font-weight: 400; color: var(--ink-2); }
.formu input[type=range] { width: 100%; accent-color: var(--ink); }
.formu output { font-weight: 800; color: var(--ink); }
.chips { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.chips legend { width: 100%; }
.chips label { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--glass-border); background: var(--glass); font-weight: 600; font-size: 14px; cursor: pointer; }
/* Como en la app: la opción elegida va rellena de acento, sin casilla. La
   casilla sigue ahí (teclado y lector de pantalla), solo que no se ve. */
.chips label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.chips label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.horas { grid-template-columns: 1fr 1fr; }
.horas legend { grid-column: 1 / -1; }
.motivos label { font-weight: 400; }

.bloque { border-top: 1px solid var(--glass-border); margin-top: 26px; padding-top: 6px; }
.bloque h2 { font-size: 20px; }
.avatar-fila, .foto-fila { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: var(--soft); font-weight: 800; font-size: 24px; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.foto-fila img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; }
label.pill { cursor: pointer; }
.consen { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 10px 16px; margin: 14px 0; }
.consen dt { color: var(--ink-2); }
.consen dd { margin: 0; }
/* Personas bloqueadas (Ajustes → Privacidad): una por línea, «Desbloquear» a la derecha. */
.bloqueadas { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bloqueadas li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .consen { grid-template-columns: 1fr; } .consen dd { margin-bottom: 8px; } }
/* Rojo legible en los dos temas (el #FF5C5C sobre blanco no llegaba a 3:1). */
.pill.peligro { border-color: #B3261E; color: #B3261E; background: transparent; }
@media (prefers-color-scheme: dark) { .pill.peligro { border-color: #FF9B9B; color: #FF9B9B; } }
.pill.peligro:hover { background: rgba(255, 92, 92, .12); }
button.pill:disabled { opacity: .6; cursor: progress; }

.badge-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--ink); color: var(--surface); font-size: 12px; font-weight: 800; vertical-align: 2px; }
.avisos { display: grid; gap: 10px; margin: 16px 0; }
.aviso { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--glass-border);
  background: var(--elevated); color: inherit; }
a.aviso:hover { text-decoration: none; border-color: var(--ink-2); }
/* Sin leer, como en la app: título más marcado y un punto en tinta (no es oferta). */
.aviso.nuevo { position: relative; padding-right: 34px; }
.aviso.nuevo > b { font-weight: 800; }
.aviso.nuevo::after { content: ''; position: absolute; top: 20px; right: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.aviso span { color: var(--ink-2); }
.aviso.pausada { opacity: .7; }
/* En la fila de un aviso, botones pequeños a su medida. */
.aviso .acciones { justify-content: flex-start; margin-top: 8px; }
.aviso .acciones > * { flex: 0 0 auto; }

/* Estrellas: cinco radios, de derecha a izquierda para que «hasta aquí» se
   pinte con el selector de hermanos. */
.estrellas { display: flex !important; flex-direction: row-reverse; justify-content: flex-end; gap: 2px !important; }
.estrellas legend { order: 99; width: 100%; }
.estrellas input { position: absolute; opacity: 0; width: 1px; height: 1px; }
/* Con .formu delante: «.formu label { font-size: 14px }» (más abajo) las dejaba
   diminutas. Las vacías en gris secundario: con el borde del cristal casi no se veían. */
.formu .estrellas label, .estrellas label { font-size: 36px; line-height: 1; color: var(--ink-2); cursor: pointer; padding: 2px; }
.estrellas input:checked ~ label, .estrellas label:hover, .estrellas label:hover ~ label { color: var(--ink); }
.estrellas input:focus-visible + label { outline: 2px solid var(--ink); border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Entrar con Google: blanco, como pide Google, con su «G». */
.google-hueco { margin-top: 18px; }
.pill.google { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #1f1f1f;
  border: 1px solid #dadce0; font-weight: 700; }
.pill.google:hover { background: #f7f8f8; }

@media print {
  header.top, footer, .crumbs, #imprimir, .toast { display: none !important; }
  .recibo { border: 0; }
}


/* ═══ Sistema común con la app (Tu cuenta) ═════════════════════════════════
   La misma columna que la app en pantallas anchas (560 px de contenido),
   centrada; el mismo cristal en tarjetas, filas y campos; las mismas
   esquinas (22 tarjetas, 20 accesos, 16 campos) y los mismos iconos. */
.cuenta { max-width: 600px; }
.cuenta h1 { font-size: clamp(26px, 4vw, 32px); line-height: 1.12; letter-spacing: -.5px; margin: 14px 0 16px; }
.titulo-pagina { margin-top: 18px; }
.ms { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 24px;
  line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap;
  direction: ltr; -webkit-font-smoothing: antialiased; font-feature-settings: 'liga'; flex: none;
  /* Mientras llega la fuente, el nombre del icono ocupa lo que un icono y no empuja nada. */
  width: 1em; overflow: hidden; }

.perfil, .rapido, .lista, .invitacion {
  background: var(--glass); border: 1px solid var(--glass-border); color: inherit; }
.perfil:hover, .rapido:hover, .invitacion:hover, .fila:hover { text-decoration: none; }
.perfil { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; }
.perfil .avatar { width: 60px; height: 60px; font-size: 24px; }
.perfil-t { display: grid; flex: 1; min-width: 0; }
.perfil-t b { font-family: var(--display); font-size: 20px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perfil-t small { color: var(--ink-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.perfil-t em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
:root[data-theme=dark] .perfil-t em { color: var(--ink-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .perfil-t em { color: var(--ink-2); } }
.perfil > .ms, .fila > .ms:last-child, .invitacion > .ms:last-child { color: var(--ink-2); }

.rapidos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 4px; }
.rapido { position: relative; display: flex; align-items: center; gap: 10px; min-height: 68px;
  padding: 12px 14px; border-radius: 20px; }
.rapido .ms { color: var(--ink); }
.rapido b { font-size: 15px; line-height: 1.2; }
.rapido .badge-n { position: absolute; top: 8px; left: 30px; }
.rapido:focus-visible, .fila:focus-visible, .perfil:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.seccion-t { font-family: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2);
  margin: 22px 4px 8px; letter-spacing: 0; }
.lista { border-radius: 22px; overflow: hidden; }
.fila { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: inherit; min-height: 56px; }
.fila + .fila { border-top: 1px solid var(--glass-border); }
.fila:hover { background: var(--glass); }
.fila-t { display: grid; flex: 1; min-width: 0; }
.fila-t b { font-size: 15px; font-weight: 700; }
.fila-t small { color: var(--ink-2); font-size: 13px; line-height: 1.35; }
/* «Formas de entrar»: filas de datos, no enlaces. Sin color de estado:
 * activa en tinta, sin usar en gris (identidad sobria). */
.metodo:hover { background: none; }
.metodo .estado { font-size: 13px; font-weight: 700; }
.metodo.off, .metodo.off .estado { color: var(--ink-2); }
.metodo.off .logo-via { opacity: .5; }
.logo-via { display: grid; place-items: center; width: 24px; }
.invitacion { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; margin-top: 20px; }
.inv-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--soft); display: grid;
  place-items: center; color: var(--ink); flex: none; }
.pill.ancho { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; }

/* Campos: los mismos que en la app. */
.formu input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),
.formu select, .formu textarea {
  width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 16px; font-size: 16px;
  border: 1px solid var(--glass-border); background: var(--glass); color: inherit; font-family: inherit; }
.formu input:focus, .formu select:focus, .formu textarea:focus { outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink); }
.formu label { font-size: 14px; }
/* Lo que se ve y no se cambia (la fecha de nacimiento ya puesta): el campo de
   siempre, no el gris de desactivado, con un candado a la derecha (como la app). */
.formu input[readonly]:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]) { cursor: default; }
.formu input[readonly]:focus { border-color: var(--glass-border); box-shadow: none; }
.candado { position: relative; display: block; }
.formu .candado > input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]) { padding-right: 48px; }
.candado .ms { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--ink-2); pointer-events: none; }
.formu > .pill.accent, .formu > button.pill { width: 100%; justify-content: center; }
.bloque { border-top: 0; margin-top: 8px; padding-top: 0; }
.bloque h2 { font-family: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); margin: 26px 4px 4px; }
.bloque .formu { margin-top: 8px; }

/* Los textos de las filas y tarjetas, en el color del texto (no del enlace). */
.cuenta .perfil-t b, .cuenta .rapido b, .cuenta .fila-t b { color: var(--ink); }
.cuenta .fila > .ms:first-child { color: var(--ink); }
.cuenta h2.seccion-t, .cuenta .bloque h2 { font-family: inherit; font-size: 14px; font-weight: 700;
  color: var(--ink-2); letter-spacing: 0; line-height: 1.3; }
input[type=file] { max-width: 100%; }

/* Teléfono: prefijo y número en la misma fila. */
.fila-tel { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.google-hueco .acciones { margin-bottom: 8px; }

/* Formularios de acceso, como la app: el error debajo de su campo. */
.formu .err-campo { color: #FF5C5C; font-size: 13px; font-weight: 500; }
.formu input[aria-invalid=true]:not([type=checkbox]), .formu input[aria-invalid=true]:not([type=checkbox]):focus { border-color: #FF5C5C; box-shadow: 0 0 0 1px #FF5C5C; }
/* Como en la app: con error, la pista del campo deja sitio al error. */
.formu .con-error > small:not(.err-campo) { display: none; }
.formu .derecha { text-align: right; margin: -6px 0 0; font-size: 14px; }
.formu .pie-form { font-size: 13px; margin: 0; }
.formu .pie-form a { white-space: nowrap; }
/* Las otras formas de entrar, una debajo de otra y del mismo ancho. */
.alternativas, .google-hueco .acciones { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
.alternativas > *, .google-hueco .acciones > * { width: 100%; justify-content: center; }
.alternativas + .google-hueco { margin-top: 10px; }
.formu .acciones { margin: 0; }
.formu .err:empty { display: none; }

/* El diálogo de confirmar, como el de la app. */
.dialogo { border: 1px solid var(--glass-border); border-radius: 24px; padding: 24px; max-width: min(420px, calc(100vw - 32px));
  background: var(--elevated); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.dialogo::backdrop { background: rgba(0,0,0,.55); }
.dialogo h2 { margin: 0 0 8px; font-size: 20px; }
.dialogo p { margin: 0 0 20px; }
.dialogo-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dialogo-botones .pill { justify-content: center; }
.pill.peligro-lleno { background: #D32F2F; border-color: transparent; color: #fff; }

/* El código de debajo del QR: se toca y se copia. */
button.codigo.copiar { background: none; border: 0; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; }
button.codigo.copiar:hover { background: var(--glass); }
button.codigo.copiar .ms { font-size: 18px; color: var(--ink-2); letter-spacing: 0; }

/* ── Planes con amigos ─────────────────────────────────────────────────── */
/* «Amigos», una fila a lo ancho debajo de los accesos rápidos. */
.lista-amigos { margin-top: 10px; }
/* Tu enlace de amigo: el QR, el enlace (se toca y se copia) y los botones. */
.enlace-amigo { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 22px; padding: 18px 16px;
  text-align: center; margin-top: 8px; }
.enlace-amigo .qr { width: min(220px, 70vw); margin: 4px auto 12px; }
.enlace-amigo p { margin: 0 0 12px; }
.enlace-amigo .enlace-txt { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; background: none; border: 0;
  color: inherit; font: inherit; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.enlace-amigo .enlace-txt:hover { background: var(--glass); }
.enlace-amigo .enlace-txt .ms { font-size: 18px; color: var(--ink-2); }
.enlace-amigo .enlace-txt span { overflow-wrap: anywhere; text-align: left; }
.enlace-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 8px; }
.enlace-acc .pill { justify-content: center; }
.enlace-acc .pill { min-width: 0; }
/* Dos botones de texto largo («Compartir enlace» · «Copiar enlace») no caben
   lado a lado en un móvil: uno debajo de otro, del mismo ancho. */
@media (max-width: 440px) { .enlace-acc { grid-template-columns: 1fr; } }
.aviso-planes { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 14px 4px 0; }
.aviso-planes .ms { font-size: 20px; }
.bloque h2.con-cuenta { display: flex; justify-content: space-between; gap: 12px; }
.bloque h2.con-cuenta span:last-child { font-weight: 600; }
.amigos-vacio p { margin: 0 0 8px; }
.amigos-vacio .acciones { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 14px 0 0; }

/* Una persona: su foto o su inicial. */
.av-amigo { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex: none;
  background: var(--soft); color: var(--ink); font-weight: 800; font-size: 16px; }
.av-amigo img { width: 100%; height: 100%; object-fit: cover; }
.av-amigo.av-grande { width: 88px; height: 88px; font-size: 34px; margin: 24px auto 0; }
.amigo-fila:hover, .inv-fila:hover { background: none; }
.icono-btn { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; flex: none; cursor: pointer;
  background: none; border: 0; color: var(--ink-2); }
.icono-btn:hover { background: var(--glass); color: var(--ink); }
.icono-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.icono-btn:disabled { opacity: .5; cursor: progress; }
.enlace-abierto .acciones { margin-top: 18px; }
/* Cada amigo de la lista lleva a su ficha (foto y nombre); los botones de
 * quitar y bloquear van aparte. */
.amigo-ir { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; color: inherit; border-radius: 14px; }
.amigo-ir:hover { text-decoration: none; }
.amigo-ir:hover .fila-t b { text-decoration: underline; }
.amigo-ir:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* La ficha de un amigo: foto, nombre y sus próximos planes. */
.amigo-barra { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.amigo-barra .crumbs { margin: 0; }
.ficha-amigo { text-align: center; margin-bottom: 8px; }
.ficha-amigo h1 { margin: 12px 0 4px; }
.ficha-amigo .av-amigo.av-grande { margin-top: 8px; }
.ficha-amigo .juntos-amigo { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 8px 14px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--ink); }
.ficha-amigo .juntos-amigo .ms { font-size: 18px; }
.planes-amigo .plan-amigo { display: grid; gap: 8px; }
.planes-amigo .plan-acc { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.planes-amigo .plan-va { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }

/* Invitar: una casilla por amigo, y cómo está cada uno. */
.inv-lista { margin: 0; }
.formu label.inv-fila { display: flex; gap: 12px; align-items: center; font-weight: 400; cursor: pointer; }
.formu label.inv-fila input { width: 20px; height: 20px; margin: 0; flex: none; }
.formu label.inv-fila.hecha { cursor: default; }
.formu label.inv-fila.hecha .fila-t b { color: var(--ink-2); }
.estado-inv { font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.aviso-inv { padding: 12px 14px; border-radius: 16px; background: var(--soft); font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.cuenta > .acciones { display: flex; flex-wrap: wrap; gap: 10px; }
/* Sin el aire de las secciones de la portada (site.css) entre bloque y bloque. */
.bloque.bloque-amigos { padding-bottom: 0; }
/* El círculo de «hecho», centrado (`.pub p` le quitaba el margen automático). */
.cuenta .hecho-ic { margin-left: auto; margin-right: auto; }

/* Invitaciones de equipo (2026-09-29): el aviso de la portada y la lista
   con «Rechazar» / «Aceptar», como en la app. */
.inv-equipo { margin: 0 0 16px; }
.invitaciones-eq { display: grid; gap: 12px; }
.inv-eq { padding: 16px; }
.inv-eq p { margin: 0 0 6px; }
.inv-eq-t b { display: block; font-size: 17px; }
.dos-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 0 !important; }
.dos-pills .pill { justify-content: center; width: 100%; }

/* El correo que rebota (correo.js) y lo que se pierde al eliminar la cuenta. */
.aviso-correo { margin: 0 0 14px; align-items: flex-start; }
.aviso-correo .fila-t small b { color: var(--ink); }
.aviso-correo .acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dialogo-lista { margin: 0 0 16px; padding-left: 20px; font-size: 14px; max-height: 40vh; overflow-y: auto; }
.dialogo-lista li + li { margin-top: 4px; }
.dialogo-lista li:first-child { list-style: none; margin-left: -20px; font-weight: 700; }

/* Fotos y vídeos de una reseña (klendar/docs/RESENAS_MEDIOS.md): miniaturas
   en su orden, cada una con «Mover antes», «Mover después» y «Quitar»; se
   ordenan también arrastrando con el ratón. */
.medios-resena { border: 0; padding: 0; margin: 0; min-width: 0; }
.medios-resena legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.medios-lista { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; padding: 0; }
.medios-lista:empty { display: none; }
.medio { display: grid; gap: 4px; width: 96px; }
.medio[draggable=true] { cursor: grab; }
.medio-vista { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 14px; overflow: hidden;
  background: var(--soft); }
.medio-vista img, .medio-vista video { width: 100%; height: 100%; object-fit: cover; display: block; }
.medio-sube { font-size: 12px; font-weight: 700; color: var(--ink-2); text-align: center; padding: 6px; }
/* Una foto que se sube: la aguja de Klendar (el único indicador de carga)
   en una cápsula oscura encima, como la app (OverMediaSpinner): el anillo
   coral y la aguja blanca girando. */
.medio.subiendo .medio-vista::before { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: rgba(0,0,0,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 6.8A25.2 25.2 0 1 1 8.03 24.21' fill='none' stroke='%23FF4D6D' stroke-width='8.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 26px no-repeat; pointer-events: none; }
.medio.subiendo .medio-vista::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 32V19.4' stroke='%23000' stroke-width='5.6' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='32' r='5.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 32V19.4' stroke='%23000' stroke-width='5.6' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='32' r='5.6'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none;
  animation: mov-gira 1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .medio.subiendo .medio-vista::after { animation: none; } }
.medio-play { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(10,10,10,.6); color: #fff; }
.medio-dur, .medio-rev { position: absolute; bottom: 4px; padding: 1px 5px; border-radius: 6px; background: rgba(10,10,10,.7); color: #fff;
  font-size: 11px; font-weight: 700; }
.medio-dur { right: 4px; font-variant-numeric: tabular-nums; }
.medio-rev { left: 4px; top: 4px; bottom: auto; }
.medio-botones { display: flex; justify-content: space-between; }
.medio-botones button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border-radius: 50%;
  border: 1px solid var(--glass-border); background: var(--elevated); color: var(--ink); cursor: pointer; }
.medio-botones button:hover:not(:disabled) { background: var(--soft); }
.medio-botones button:disabled { opacity: .35; cursor: default; }
.medio-botones button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.medios-add { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }

/* ── RRPP (app/rrpp.js) ────────────────────────────────────────────────────
   Neutros: el coral es solo de la oferta y del botón principal. */
.rrpp-noche-p { margin: 4px 4px 10px; }
.rrpp-noche { padding: 10px 14px; border-radius: 16px; border: 1px solid var(--glass-border); background: var(--glass); color: var(--ink); font: inherit; font-weight: 700; }
.rrpp-resumen { margin: 0 4px 10px; font-weight: 700; color: var(--ink); }
.rrpp-otros { margin-top: 12px; }
.rrpp-fila { align-items: flex-start; }
.rrpp-fila .rrpp-estado { flex: none; align-self: center; white-space: nowrap; }
.tag.rrpp-dentro { background: var(--ink); color: var(--surface); }
.rrpp-fuera { display: inline-block; justify-self: start; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border); font-weight: 700; }
.rrpp-pie { font-size: 13px; margin: 14px 4px 0; }

/* «Tus códigos» abierto desde una notificación: ese código, con borde de tinta. */
.ocard.resaltado { box-shadow: 0 0 0 2px var(--ink); }

/* ═══ Ajustes → Notificaciones (como la app: una línea por fila) ════════════ */
/* Interruptor: la casilla de siempre con aspecto de interruptor (tinta
   encendido, como en la app). */
.interruptor { -webkit-appearance: none; appearance: none; position: relative; flex: none; margin: 0;
  width: 46px; height: 28px; border-radius: 14px; background: var(--soft); border: 1px solid var(--glass-border);
  cursor: pointer; transition: background .15s; }
.interruptor::before { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--ink-2); transition: transform .15s, background .15s; }
.interruptor:checked { background: var(--ink); border-color: var(--ink); }
.interruptor:checked::before { transform: translateX(18px); background: var(--surface); }
.interruptor:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.interruptor:disabled { opacity: .5; cursor: default; }
@media (prefers-reduced-motion: reduce) { .interruptor, .interruptor::before { transition: none; } }
.fila-sw, .fila-hora { cursor: pointer; }
.fila-dato:hover, .fila-sw:hover, .fila-hora:hover, .fila-cats:hover, .radios-distancia:hover { background: none; }
.fila-dato .pill { flex: none; }
.fila-hora input[type=time] { border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 16px; padding: 4px 0; }
.radios-distancia { border: 0; margin: 0; flex-wrap: wrap; gap: 8px; padding-top: 4px; min-height: 0; }
.radios-distancia + .fila, #cerca-mas .fila + .fila, #silencio-mas .fila + .fila { border-top: 1px solid var(--glass-border); }
#cerca-mas, #silencio-mas { border-top: 1px solid var(--glass-border); }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-radio span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--glass-border);
  background: var(--glass); font-size: 14px; font-weight: 600; }
.chip-radio input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); font-weight: 700; }
.chip-radio input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fila-cats #cats-cerca { flex: 0 1 auto; min-width: 0; max-width: 60%; }
.fila-cats .selcat-campo { width: auto; max-width: 100%; gap: 6px; min-height: 0; padding: 4px 0; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 15px; justify-content: flex-end; }
.fila-cats .selcat-campo .selcat-v, .fila-cats .selcat-campo .selcat-v.sin-elegir { font-weight: 400; color: var(--ink-2); text-align: right;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.avisos .nota { margin: 10px 4px 0; font-size: 13px; }

/* ═══ Amigos: la lista primero y «＋ Añadir» arriba (como la app) ═════════ */
.titulo-acc { display: flex; align-items: center; gap: 10px; }
.titulo-acc h1 { flex: 1; min-width: 0; }
.titulo-acc .pill { flex: none; }
.amigo-fila .mas-menu > summary { width: 36px; height: 36px; border: 0; background: none; color: var(--ink-2); }
.amigo-fila .mas-menu > summary:hover { background: var(--soft); }
.hoja-amigo { position: relative; max-width: min(460px, calc(100vw - 32px)); }
.hoja-amigo h2 { padding-right: 36px; }
.hoja-amigo .enlace-amigo { margin-top: 0; background: none; border: 0; padding: 0; }
@media (max-width: 460px) { .hoja-amigo .enlace-acc { grid-template-columns: 1fr; } }
.hoja-amigo .enlace-url { color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.cerrar-hoja { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: var(--soft); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.cerrar-hoja:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* «Legal»: una fila que abre los tres textos (como la app). */
.fila-btn { width: 100%; background: none; border: 0; border-top: 1px solid var(--glass-border); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.lista > .fila-btn:first-child { border-top: 0; }
.hoja-legal { position: relative; width: min(420px, calc(100vw - 32px)); }
.hoja-legal h2 { padding-right: 36px; margin-bottom: 14px; }

/* Un título de sección con su enlace a la derecha («Ver todos»). */
.seccion-t.con-enlace { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.seccion-t.con-enlace a { font-size: 14px; font-weight: 700; color: var(--ink); }

/* «Avísame si…»: una fila con el interruptor y ⋮ (Editar, Borrar), como la app. */
.alerta-fila { display: flex; align-items: center; gap: 10px; }
.alerta-fila .alerta-t { flex: 1; min-width: 0; display: grid; gap: 2px; color: inherit; }
.alerta-fila .alerta-t:hover { text-decoration: none; }
.alerta-fila .alerta-t:hover b { text-decoration: underline; }
.alerta-fila .alerta-t span { color: var(--ink-2); font-size: 14px; }
.alerta-fila .mas-menu > summary { width: 36px; height: 36px; border: 0; background: none; color: var(--ink-2); }
.alerta-fila.pausada .alerta-t { opacity: .6; }

.aviso.alerta-fila.pausada { opacity: 1; }

/* «Tus planes en tu calendario» (app/calendario.js) y filas con icono SVG
   (los que no están en la fuente recortada: calendario y ayuda). */
.ms-svg { flex: 0 0 auto; width: 24px; height: 24px; }
.botones-cal { display: grid; gap: 8px; }
.botones-cal .pill { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; }
.nota-cal { margin: 10px 0 0; font-size: 14px; }
.fila.peligro-t, .fila.peligro-t .fila-t b, .fila.peligro-t .ms { color: #B3261E; }
@media (prefers-color-scheme: dark) { .fila.peligro-t, .fila.peligro-t .fila-t b, .fila.peligro-t .ms { color: #FF9B9B; } }

/* «Equipos que sigues» (app/partidos.js): la lista y el buscador «Seguir a un equipo». */
.equipos-lista .bloque { padding: 6px 0 0; margin-top: 18px; }
.equipos-lista .bloque h2 { font-family: var(--display); font-size: 18px; color: var(--ink); margin: 12px 0 2px; }
.equipos-lista .bloque .muted { margin: 2px 0 10px; }
.hoja-equipos { position: relative; width: min(480px, calc(100vw - 32px)); max-width: min(480px, calc(100vw - 32px)); }
.hoja-equipos h2 { padding-right: 36px; }
.hoja-equipos .formu { margin: 12px 0 8px; }
.hoja-equipos .formu input[type=search] { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--glass-border);
  background: var(--elevated); color: var(--ink); font: inherit; font-size: 16px; }
.hoja-equipos .formu input[type=search]:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.eq-res { display: grid; gap: 0; max-height: 52vh; overflow-y: auto; }
.eq-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 12px 0; border-top: 1px solid var(--glass-border); }
.eq-fila:first-child { border-top: 0; }
.eq-t { display: grid; gap: 2px; min-width: 0; flex: 1 1 160px; }
.eq-t small { color: var(--ink-2); font-size: 13px; }
.eq-fila .pill { padding: 9px 14px; font-size: 14px; }
.hoja-equipos p.eq-nada { margin: 8px 0 0; }
.hoja-equipos p.eq-err { margin: 0 0 8px; color: #B3261E; font-size: 14px; }

/* «Artistas que sigues» (app/artistas.js): la foto (o la inicial) junto al
   nombre, en la lista y en el buscador. */
.art-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--soft);
  display: inline-grid; place-items: center; font-weight: 800; color: var(--ink-2); }
.art-fila { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.equipos-lista .art-fila h2 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.art-fila h2 a { color: inherit; }
.eq-fila .art-av { width: 40px; height: 40px; }

/* Bonos pagados en el local (app/bonos.js): «Te quedan 7 de 10» y su barra,
   neutra (el texto lo dice todo). */
.bono-quedan { display: block; font-weight: 800; margin-top: 6px; }
.bono-quedan.grande { font-size: 22px; margin: 4px 0 8px; }
.bono-barra { display: block; height: 6px; border-radius: 4px; background: color-mix(in srgb, var(--ink-2) 22%, transparent); overflow: hidden; margin: 6px 0 4px; max-width: 420px; }
.bono-barra > span { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.bono-caja { margin: 12px 0 18px; }
.bono-usos { list-style: none; padding: 0; margin: 0 0 16px; }
.bono-usos li { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.bono-estado { display: block; font-weight: 700; }
.bono-quedan { color: var(--ink); }

/* ── Grupos y empresas (app/grupos.js; tanda C) ─────────────────────────── */
.grupo-campo { border: 0; margin: 0; padding: 0; min-width: 0; }
.grupo-campo legend { font-weight: 600; font-size: 15px; margin: 0 0 8px; padding: 0; }
.grupo-paras { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.grupo-para { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 5px; border-radius: 999px; border: 1px solid var(--glass-border);
  background: var(--glass); max-width: 100%; min-width: 0; }
.grupo-para img, .grupo-para .ph { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: var(--soft);
  display: inline-grid; place-items: center; font-weight: 800; font-size: 13px; }
.grupo-para b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-right: 4px; }
.grupo-quita { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); font-size: 18px; line-height: 1;
  cursor: pointer; flex: none; }
.grupo-otro { font-weight: 700; font-size: 14px; padding: 8px 10px; text-decoration: underline; text-underline-offset: 3px; }
.grupo-tipos { display: flex; flex-wrap: wrap; gap: 8px; }
.grupo-pet .ph { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.grupo-resps { display: grid; gap: 12px; margin: 16px 0; }
.grupo-resp { display: grid; gap: 8px; padding: 14px 16px; border-radius: 22px; border: 1px solid var(--glass-border); background: var(--glass); }
.grupo-resp p { margin: 0; }
.grupo-resp-neg { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.grupo-resp-neg:hover { text-decoration: none; }
.grupo-resp-neg img, .grupo-resp-neg .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--soft);
  display: inline-grid; place-items: center; font-weight: 800; }
.grupo-resp-neg span { display: grid; min-width: 0; }
.grupo-resp-neg b { overflow-wrap: anywhere; }
.grupo-propuesta { display: grid; gap: 6px; padding: 10px 12px; border-radius: 16px; background: var(--soft); overflow-wrap: anywhere; }
.grupo-resp .pill { justify-self: start; }
.grupo-hoja .formu { margin: 0; gap: 12px; }
.grupo-hoja .formu h2 { margin: 0; }
.grupo-hoja .formu .err:empty { display: none; }
/* Cola virtual (app/cola.js): neutros; el coral, solo en el botón principal. */
.cola-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.vacio .cola-kicker { margin-bottom: 4px; }
.cola-h1 { overflow-wrap: anywhere; margin: 2px 0 14px; }
.cola-turno { text-align: center; border: 1px solid var(--glass-border); background: var(--glass); border-radius: 24px; padding: 24px 18px; margin: 0 0 14px; }
.cola-turno h2 { margin: 0 0 6px; font-size: 22px; }
.cola-turno p { margin: 0 0 6px; }
.cola-turno.llamado { border: 2px solid var(--ink); }
.cola-tu { font-weight: 800; }
.cola-toca { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.cola-turno .cola-numero { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.03em; margin: 6px 0 14px; }
.cola-cuenta { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 22px; }
.cola-cuantos { font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.cola-form { margin: 16px auto 0; max-width: 300px; text-align: left; gap: 12px; }
.cola-form .pill { justify-content: center; }
.cola-turno .cola-ayuda { font-size: 14px; margin: 12px auto 0; max-width: 40ch; }
.cola-nota { text-align: center; font-size: 14px; margin: 0 0 4px; }
.cola-botones { display: grid; grid-template-columns: fit-content(360px); justify-content: center; gap: 10px; margin: 14px 0; }
.cola-botones > .pill { justify-content: center; text-align: center; }
.cola-tarjetas { margin-bottom: 14px; }
.cola-tarjeta .ocard-body b { overflow-wrap: anywhere; }
.cola-tarjeta > .ms:last-child { margin-left: auto; color: var(--ink-2); }
.cola-tarjeta.llamado { border: 2px solid var(--ink); }
.cola-toca-linea { font-weight: 800; font-size: 14px; }
.ocard .ph .ms-svg { width: 30px; height: 30px; }
/* Sin foto: el icono de tienda, como la app (antes «✦»). */
.ocard .ph .ms { font-size: 30px; }
/* Favoritos: las ofertas, en coral; los eventos, en tinta (como la app). */
.fav-cuentas { font-weight: 600; color: var(--ink); }
.fav-cuentas .fav-ofertas { color: var(--accent-text); }
/* Te aviso cuando esté listo (app/listo.js): lo mismo que la cola; «Mientras
   esperas», discreto y debajo. */
.cola-turno .listo-intro { font-size: 22px; line-height: 1.3; }
.listo-mientras { margin: 26px 0 0; display: grid; gap: 10px; }
.listo-h2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.listo-mientras > .pill { justify-self: start; }

/* «¿Cómo se calcula?» de «Lo que has ahorrado» (app/ahorro.js). */
.ayuda-plegable { margin: 8px 0 14px; }
.ayuda-plegable summary { cursor: pointer; font-weight: 700; }
.ayuda-plegable p { margin: 8px 0 0; color: var(--ink-2); }

/* Los ocho idiomas en un desplegable (cabecera y menú del móvil); en las
   páginas públicas sigue ES/EN. */
.lang .lang-sel { appearance: auto; border: 0; background: transparent; color: var(--ink-2);
  font: inherit; font-weight: 700; padding: 5px 8px; cursor: pointer; max-width: 9.5em; }
.lang .lang-sel option { color: #111; background: #fff; }
/* «Los textos legales están en español/inglés», en los idiomas nuevos. */
.nota-legal { font-size: 13px; margin: 8px 0 0; }

/* «Pedir un local» y «Lo que has pedido» (crecer, app/crecer.js). Neutro:
   el coral, solo en el botón principal. */
.pedir-mapa { border: 1px solid var(--glass-border); border-radius: 16px; padding: 12px 14px; background: var(--elevated); }
.pedir-mapa summary { cursor: pointer; font-weight: 700; }
.pedir-mapa summary small { font-weight: 400; color: var(--ink-2); }
.pedir-mapa > p { margin: 10px 0 0; font-size: 14px; }
.pedir-mapa .acciones { margin: 10px 0 0; }
.mapa-local { height: 280px; border-radius: 14px; overflow: hidden; margin-top: 10px; background: var(--soft); }
.mapa-local.sin-mapa { height: auto; padding: 12px; }
.nota-pedir { font-size: 14px; margin: 0; }
.aviso.pedido small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tag.tag-tinta { background: var(--ink); color: var(--surface); }

/* «Dar en el momento» (app/momento.js): el logo del negocio arriba. */
.momento-logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: grid;
  place-items: center; margin: 16px auto 8px; background: var(--elevated); color: var(--ink-2); }
.momento-logo.ph .ms, .momento-logo.ph span { font-size: 32px; }
.momento .grande { font-size: 1.05rem; padding: 12px 28px; }

/* «Ahora no» al abrir la reseña desde el aviso «¿Qué tal en …?». */
.ahora-no { text-align: center; margin: 14px 0 0; }

/* «Avísame si…» por palabras (Ajustes → Notificaciones, tanda D). */
.palabras-caja { display: block; }
.palabras { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.palabra { display: inline-flex; align-items: center; gap: 2px; padding: 4px 4px 4px 12px; border: 1px solid var(--glass-border); border-radius: 999px; font-weight: 600; }
.palabra-x { border: 0; background: none; color: inherit; font-size: 18px; line-height: 1; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.palabra-x:hover { background: var(--glass); }
.palabras-nueva { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.palabras-nueva input { flex: 1; min-width: 160px; box-sizing: border-box; padding: 12px 16px; border-radius: 16px; font-size: 16px;
  border: 1px solid var(--glass-border); background: var(--glass); color: inherit; font-family: inherit; }
.palabras-nueva input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
/* Listas por partes: «Ver más» al pie (docs/RUNBOOK.md §3g). */
.ver-mas { display: flex; justify-content: center; margin: 14px 0 0; }

/* La cabecera y el pie van envueltos en <div data-only="es|en"> (app.js
   quita el del otro idioma). Sin caja propia: si no, el bloque de la
   cabecera `sticky` era ese <div> (solo la cabecera) y se iba con el scroll
   (2026-10-21). */
[data-only]:not([hidden]) { display: contents; }

/* ── Planes: «Lista · Calendario» y el calendario (como la app) ─────────── */
.pl-titulo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pl-titulo h1 { margin: 0; }
.pl-vistas .vista { display: inline-flex; align-items: center; padding: 8px 16px; min-height: 40px; border-radius: 999px; color: var(--ink-2); font-weight: 700; text-decoration: none; }
.pl-vistas .vista.on { background: var(--ink); color: var(--surface); }
/* Una columna, como la app (el mes y debajo lo del día): en los 600 de
   «Tu cuenta» no caben dos y lo del día quedaba en una tira de 110 px. */
.pl-cal { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: start; margin-top: 16px; }
.pl-mes { background: var(--elevated); border: 1px solid var(--glass-border); border-radius: 28px; padding: 14px 12px 12px; }
.pl-cab { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.pl-cab h2 { margin: 0; text-align: center; font-size: 20px; }
.pl-nav { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
a.pl-nav:hover { background: var(--soft); }
.pl-rejilla { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px 2px; text-align: center; }
.pl-sem { font-size: 13px; color: var(--ink-2); padding: 6px 0 4px; text-transform: lowercase; }
.pl-dia { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; border-radius: 15px;
  font-weight: 700; color: var(--ink); text-decoration: none; }
a.pl-dia:hover { background: var(--soft); }
.pl-dia.hoy { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.pl-dia.sel, a.pl-dia.sel:hover { background: var(--ink); color: var(--surface); box-shadow: none; }
.pl-puntos { display: flex; gap: 3px; height: 6px; }
.pl-puntos i, .pl-leyenda i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
/* Como el calendario de Explorar y la app (`MonthCalendar`): eventos en tinta
   y ofertas flash en coral (son oferta), sin ámbar; en el día elegido (en
   tinta), el de eventos, del color del fondo. */
.pl-cal .pe { background: var(--ink); }
.pl-cal .pf { background: var(--accent); }
.pl-cal .pl-dia.sel .pe { background: var(--surface); }
.pl-leyenda { display: flex; justify-content: center; gap: 18px; font-size: 13px; color: var(--ink-2); margin: 10px 0 2px; }
.pl-leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.pl-hoy { text-align: center; margin: 8px 0 0; }
.pl-lista .seccion-t { margin-top: 0; }

/* ── Favoritos: ♥ para quitar (como la app) y «Deshacer» en el aviso ─────── */
.fav-fila { position: relative; }
.fav-fila .ocard { padding-right: 56px; }
.fav-quitar { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; }
.fav-quitar .ms { font-variation-settings: 'FILL' 1; }
.fav-quitar:hover { background: var(--soft); }
.toast-accion { margin-left: 10px; border: 0; background: none; color: inherit; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }

/* ── «Escanear un QR» (Tus códigos), como la app ───────────────────────── */
.escaner { position: relative; max-width: 420px; aspect-ratio: 3 / 4; margin: 16px auto; border-radius: 28px; overflow: hidden; background: #000; }
.escaner video { width: 100%; height: 100%; object-fit: cover; display: block; }
.escaner-marco { position: absolute; inset: 50% auto auto 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, .75); border-radius: 28px; }
.sello-canje { margin-top: 16px; text-align: left; }
.sello-canje .huecos { margin: 8px 0 0; gap: 6px; }
.sello-canje .huecos span { width: 18px; height: 18px; }
