:root {
  --marfil: #FAF7FC;
  --papel: #F1EAF6;
  --tinta: #2E2433;
  --tenue: #786C80;
  --morado: #6F4A92;
  --morado-osc: #5A3A7A;
  --morado-claro: #E9DFF2;
  --linea: #E5DAEC;
  --salvia: #7A8868;
  --lila: #C4B2DD;
  --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sa-t: env(safe-area-inset-top, 0px);
  --sa-r: env(safe-area-inset-right, 0px);
  --sa-b: env(safe-area-inset-bottom, 0px);
  --sa-l: env(safe-area-inset-left, 0px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--marfil);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #F4F1EE url("arte/papel.webp") center top / 600px auto repeat;
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

html.con-visor, html.con-visor body { overflow: hidden; }

.oculto-visual {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
}

/* Portada: la invitación en capas */
.portada {
  /* Ancho de la escena: cabe a lo ancho y a lo alto del primer pantallazo. */
  --w: min(100vw, 440px, calc((100svh - var(--sa-t) - 64px) / 1.62));
  position: sticky;
  top: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
  padding: calc(var(--sa-t) + 14px) 0 0;
  overflow: clip;
}

.escena {
  position: relative;
  width: var(--w);
  height: calc(var(--w) * 1.62);
}

.capa { position: absolute; }
.capa img { display: block; width: 100%; height: auto; }

.capa-sobre { left: 0; top: calc(var(--w) * 0.02); width: calc(var(--w) * 0.74); }
.sobre { filter: drop-shadow(0 14px 18px rgba(61, 38, 82, 0.18)); }

.capa-tarjeta { right: calc(var(--w) * 0.01); top: calc(var(--w) * 0.33); width: calc(var(--w) * 0.79); }
.tarjeta { position: relative; }
.tarjeta-fondo { filter: drop-shadow(0 18px 22px rgba(61, 38, 82, 0.22)); }

/* La imagen del arco trae márgenes transparentes: la tarjeta visible va de ~15% a ~84% del ancho. */
.tarjeta-texto {
  position: absolute;
  left: 20%;
  right: 16%;
  top: 22%;
  bottom: 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nombres {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: calc(var(--w) * 0.118);
  line-height: 1.05;
  color: var(--salvia);
  text-wrap: balance;
}

.fecha {
  margin: calc(var(--w) * 0.045) 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(var(--w) * 0.031);
  letter-spacing: 0.09em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--salvia);
}

.lugar {
  margin: calc(var(--w) * 0.012) 0 0;
  font-family: var(--script);
  font-size: calc(var(--w) * 0.06);
  line-height: 1.2;
  color: #8F8796;
}

.tarjeta-texto .boton {
  width: 100%;
  max-width: none;
  min-height: calc(var(--w) * 0.13);
  margin-top: calc(var(--w) * 0.06);
  padding: 0 10px;
  gap: 6px;
  font-size: clamp(0.78rem, calc(var(--w) * 0.036), 0.95rem);
}

.capa-sello { left: calc(var(--w) * 0.075); top: calc(var(--w) * 0.6); width: calc(var(--w) * 0.47); pointer-events: none; }
.sello { filter: drop-shadow(0 6px 8px rgba(40, 50, 35, 0.3)); }

.capa-peonia { left: calc(var(--w) * -0.06); top: calc(var(--w) * 1.02); width: calc(var(--w) * 0.4); pointer-events: none; }
.peonia { transform-origin: 52% 40%; filter: drop-shadow(0 10px 12px rgba(61, 38, 82, 0.2)); }

/* Pétalos que caen sobre la portada */
.petalos { position: absolute; inset: 0; pointer-events: none; }
.petalos i {
  position: absolute;
  top: -24px;
  width: 15px;
  height: 12px;
  border-radius: 70% 30% 65% 35% / 60% 45% 55% 40%;
  background: radial-gradient(circle at 35% 35%, #FFFEFB 0%, #F4ECE0 60%, #E6D9C6 100%);
  box-shadow: 0 2px 4px rgba(90, 70, 50, 0.18);
  opacity: 0;
}
.petalos i:nth-child(1) { left: 8%;  --x: 40px;  --r: 320deg; animation-duration: 11s; animation-delay: 2.2s; }
.petalos i:nth-child(2) { left: 22%; --x: -30px; --r: -280deg; animation-duration: 14s; animation-delay: 5s; transform: scale(0.8); }
.petalos i:nth-child(3) { left: 37%; --x: 55px;  --r: 400deg; animation-duration: 12s; animation-delay: 3.4s; }
.petalos i:nth-child(4) { left: 52%; --x: -45px; --r: -360deg; animation-duration: 15s; animation-delay: 7.5s; }
.petalos i:nth-child(5) { left: 66%; --x: 35px;  --r: 300deg; animation-duration: 10s; animation-delay: 2.8s; }
.petalos i:nth-child(6) { left: 79%; --x: -50px; --r: -420deg; animation-duration: 13s; animation-delay: 9s; }
.petalos i:nth-child(7) { left: 90%; --x: -20px; --r: 260deg; animation-duration: 16s; animation-delay: 4.2s; }
.petalos i:nth-child(8) { left: 45%; --x: 25px;  --r: -300deg; animation-duration: 12.5s; animation-delay: 11s; }

/* Álbum: sube sobre la portada como otra hoja */
.album {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  background: var(--marfil);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -22px 40px -26px rgba(61, 38, 82, 0.45), 0 -1px 0 rgba(196, 178, 221, 0.6);
}

.pagina {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding:
    28px
    calc(var(--sa-r) + 16px)
    calc(var(--sa-b) + 96px)
    calc(var(--sa-l) + 16px);
}

.album-titulo {
  margin: 0;
  text-align: center;
  font-family: var(--script);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--morado);
}

/* Botón flotante cuando el de la tarjeta ya no se ve */
.subir-flotante {
  position: fixed;
  left: 50%;
  bottom: calc(var(--sa-b) + 18px);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--morado);
  color: #FFFDF8;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 12px 28px -10px rgba(61, 38, 82, 0.6);
  transform: translateX(-50%);
  cursor: pointer;
  touch-action: manipulation;
  animation: flotante-entra 0.35s ease both;
}
.subir-flotante:active { background: var(--morado-osc); }
.subir-flotante:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
html.con-visor .subir-flotante { display: none; }

@keyframes flotante-entra {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Entrada: el sobre se asienta, la tarjeta sale, cae el sello, llega la peonía */
@media (prefers-reduced-motion: no-preference) {
  .sobre { animation: sobre-entra 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .tarjeta { animation: tarjeta-sale 1.15s cubic-bezier(0.18, 0.85, 0.25, 1) 0.2s both; }
  .sello { animation: sello-golpe 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) 1.15s both; }
  .peonia-entra { animation: peonia-entra 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s both; }
  .peonia { animation: peonia-mece 6.5s ease-in-out 2s infinite alternate; }
  .petalos i { animation-name: petalo-cae; animation-timing-function: linear; animation-iteration-count: infinite; }
}

@keyframes sobre-entra {
  from { transform: translateY(5%) scale(0.97); }
  to { transform: none; }
}
@keyframes tarjeta-sale {
  from { transform: translateY(18%) rotate(-2deg); }
  to { transform: none; }
}
@keyframes sello-golpe {
  0% { opacity: 0; transform: scale(1.9) rotate(-16deg); }
  65% { opacity: 1; transform: scale(0.95) rotate(2deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes peonia-entra {
  from { opacity: 0; transform: translate(-40%, 12%) rotate(-30deg); }
  to { opacity: 1; transform: rotate(-6deg); }
}
@keyframes peonia-mece {
  from { transform: rotate(-2.5deg); }
  to { transform: rotate(2.5deg); }
}
@keyframes petalo-cae {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  8% { opacity: 0.95; }
  85% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--w) * 1.75)) rotate(var(--r)); }
}

/* Al bajar, las capas se separan a distinta velocidad mientras el álbum las cubre */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .capa-sobre, .capa-tarjeta, .capa-sello, .capa-peonia, .escena {
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: scroll(root);
      animation-range: 0 85svh;
    }
    .escena { animation-name: escena-se-va; }
    .capa-sobre { animation-name: capa-lenta; }
    .capa-tarjeta { animation-name: capa-media; }
    .capa-sello { animation-name: capa-rapida; }
    .capa-peonia { animation-name: capa-veloz; }

    .celda {
      animation: celda-entra linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}

@keyframes escena-se-va { to { opacity: 0.35; transform: scale(0.94); } }
@keyframes capa-lenta { to { transform: translateY(calc(var(--w) * 0.06)); } }
@keyframes capa-media { to { transform: translateY(calc(var(--w) * -0.1)); } }
@keyframes capa-rapida { to { transform: translateY(calc(var(--w) * -0.3)) rotate(-12deg); } }
@keyframes capa-veloz { to { transform: translate(calc(var(--w) * -0.1), calc(var(--w) * -0.45)) rotate(-18deg); } }
@keyframes celda-entra {
  from { opacity: 0; transform: translateY(26px) scale(0.95); }
  to { opacity: 1; transform: none; }
}

/* Botón principal */
.boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 420px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--morado);
  color: #FFFDF8;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 26px -12px rgba(90, 58, 122, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.12s ease, background-color 0.2s ease;
  touch-action: manipulation;
}
.boton:active { transform: scale(0.98); background: var(--morado-osc); }
.boton:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }

/* Progreso */
.progreso {
  position: sticky;
  top: calc(var(--sa-t) + 8px);
  z-index: 5;
  max-width: 420px;
  margin: 16px auto 0;
  padding: 12px 16px 14px;
  border-radius: 18px;
  background: rgba(241, 234, 246, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px -14px rgba(46, 36, 51, 0.5);
}
.progreso-fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
}
.progreso-texto {
  font-size: 0.95rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.barra {
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--linea);
  overflow: hidden;
}
.barra span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--morado);
  transition: width 0.3s ease;
}
.progreso.terminado .barra, .progreso.con-fallos .barra { display: none; }
.progreso.terminado { text-align: center; }
.progreso.terminado .progreso-fila { justify-content: center; }

.boton-chico {
  flex: none;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--tinta);
  color: var(--marfil);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}
.boton-chico:focus-visible { outline: 3px solid var(--morado); outline-offset: 2px; }

/* Galería */
.galeria { margin-top: 40px; }

.conteo {
  margin: 0 0 12px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tenue);
  font-variant-numeric: tabular-nums;
}

.rejilla {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  border-radius: 14px;
  overflow: hidden;
}

.celda {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--morado-claro);
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}
.celda img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}
.celda .previa {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.celda .previa.en-marcha { opacity: 1; }
.celda:focus-visible { outline: 3px solid var(--tinta); outline-offset: -3px; z-index: 1; }

.celda.es-video::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7.5v9l7.5-4.5z'/%3E%3C/svg%3E") center / 18px no-repeat;
  pointer-events: none;
}

.celda.subiendo img { opacity: 0.5; }
.celda.subiendo::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--morado);
  z-index: 1;
  animation: latido 1.4s ease-in-out infinite;
}

/* Solo admin: ocultas, todavía en la rejilla */
.celda.oculta img,
.celda.oculta .previa.en-marcha { opacity: 0.45; filter: grayscale(1); }
.celda-marca {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.7);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
  pointer-events: none;
}

.celda.nuevo { animation: aparecer 0.6s ease both; }

@keyframes aparecer {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes latido {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.vacio {
  margin: 8px 0 0;
  padding: 36px 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--tenue);
}

/* Visor */
.visor {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #110C15;
  color: #fff;
  overscroll-behavior: contain;
  animation: fundido 0.2s ease;
}
@keyframes fundido { from { opacity: 0; } }

.visor-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(var(--sa-t) + 60px)
    calc(var(--sa-r) + 4px)
    calc(var(--sa-b) + 72px)
    calc(var(--sa-l) + 4px);
}
.visor-media img, .visor-media video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.visor-media video { width: 100%; height: 100%; background: #000; }

.visor-btn {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}
.visor-btn:active { background: rgba(255, 255, 255, 0.24); }
.visor-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.visor-btn:disabled { opacity: 0; pointer-events: none; }

.visor-cerrar { top: calc(var(--sa-t) + 10px); right: calc(var(--sa-r) + 10px); }
.visor-ant { left: calc(var(--sa-l) + 8px); top: 50%; transform: translateY(-50%); }
.visor-sig { right: calc(var(--sa-r) + 8px); top: 50%; transform: translateY(-50%); }

.visor-barra {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 10px;
  padding:
    10px
    calc(var(--sa-r) + 14px)
    calc(var(--sa-b) + 12px)
    calc(var(--sa-l) + 16px);
}
.visor-contador {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}
/* El error va en su propia línea, arriba de los botones */
.visor-error {
  order: -1;
  flex: 1 0 100%;
  font-size: 0.85rem;
  color: #F3B8A8;
  text-align: center;
}
.visor-acciones { display: flex; align-items: center; gap: 8px; min-width: 0; margin-left: auto; }
.visor-pildora {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}
.visor-pildora:active { background: rgba(255, 255, 255, 0.26); }
.visor-pildora:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.visor-ocultar { background: rgba(214, 96, 72, 0.32); }
.visor-ocultar:disabled { opacity: 0.5; }
.visor-borrar { background: rgba(226, 72, 58, 0.42); }
.visor-borrar:active { background: rgba(226, 72, 58, 0.6); }
.visor-borrar:disabled { opacity: 0.5; }
.visor-restaurar:disabled { opacity: 0.5; }
.visor-definitivo { background: rgba(226, 72, 58, 0.42); }
.visor-definitivo:active { background: rgba(226, 72, 58, 0.6); }
.visor-definitivo:disabled { opacity: 0.5; }
.visor-descargar { position: static; flex: none; }

/* Teléfonos angostos: que quepan todos los botones */
@media (max-width: 420px) {
  .visor-barra { gap: 8px; }
  .visor-acciones { gap: 6px; }
  .visor-pildora { padding: 0 13px; font-size: 0.88rem; white-space: nowrap; }
}

@media (min-width: 640px) {
  .rejilla { gap: 4px; }
  .visor-ant { left: calc(var(--sa-l) + 16px); }
  .visor-sig { right: calc(var(--sa-r) + 16px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.visor-info {
  position: absolute;
  top: calc(var(--sa-t) + 20px);
  left: calc(var(--sa-l) + 16px);
  right: calc(var(--sa-r) + 72px);
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

/* Pestañas */
.pestanas {
  display: flex;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 4px;
  border-radius: 999px;
  background: var(--morado-claro);
}
.pestana {
  min-height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--morado-osc);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.pestana[aria-selected="true"] {
  background: var(--morado);
  color: #FFFDF8;
  box-shadow: 0 6px 14px -8px rgba(61, 38, 82, 0.6);
}
.pestana:focus-visible { outline: 3px solid var(--tinta); outline-offset: 2px; }

/* Programa: una línea lila con los tres momentos */
.programa {
  position: relative;
  max-width: 420px;
  margin: 26px auto 0;
  padding: 0 0 0 30px;
  list-style: none;
}
.programa::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--lila), var(--morado-claro));
}
.evento { position: relative; padding: 0 0 30px; }
.evento::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--marfil);
  border: 2px solid var(--morado);
}
.evento-dia {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--salvia);
}
.evento-nombre {
  margin: 2px 0 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1.15;
  color: var(--morado-osc);
}
.evento-lugar {
  margin: 2px 0 10px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--tinta);
}
.evento-mapa, .vestimenta-liga {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  text-decoration: none;
  touch-action: manipulation;
}
.evento-mapa {
  border: 1px solid var(--lila);
  color: var(--morado-osc);
  background: #fff;
}
.evento-mapa:active { background: var(--morado-claro); }

/* Vestimenta: la tarjeta salvia de la invitación */
.vestimenta {
  max-width: 420px;
  margin: 8px auto 0;
  padding: 26px 22px 24px;
  border-radius: 6px;
  background: #A9B79B;
  box-shadow: inset 0 0 0 6px #A9B79B, inset 0 0 0 7px rgba(255, 255, 255, 0.55), 0 14px 26px -18px rgba(50, 60, 40, 0.6);
  text-align: center;
  color: #FFFDF8;
}
.vestimenta-titulo {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1.1;
}
.vestimenta-tipo {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
}
.vestimenta-nota {
  margin: 2px 0 14px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  opacity: 0.95;
}
.vestimenta-liga {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #FFFDF8;
}
.vestimenta-liga:active { background: rgba(255, 255, 255, 0.15); }
