/* =========================================================================
   Fotos de la boda — hoja de estilos única.
   Paleta y tipografías tomadas del diseño de design/diseno.html.
   Mobile first: en el móvil ocupa toda la pantalla como una app; en
   escritorio se centra en una columna con aire alrededor.
   ========================================================================= */

:root {
  --bg: #f1eae0;
  --surface: #fbf7f1;
  --card: #fffdfa;
  --tile: #efe4d8;

  --accent: #a85a4e;
  --accent-dark: #93483e;
  --accent-soft: #f4e9de;
  --gold: #c3a24c;
  --gold-soft: #d8c79a;

  --ink: #4a3f39;
  --ink-soft: #6b5c53;
  --muted: #8c7c72;
  --faint: #a2907f;
  --placeholder: #b9a79a;

  --line: #e6d9cb;
  --line-soft: #efe4d8;
  --line-softer: #eadfd2;
  --dash: #d3bfae;

  --shadow-sm: 0 6px 16px rgba(120, 94, 72, 0.08);
  --shadow-md: 0 10px 26px rgba(120, 94, 72, 0.07);
  --shadow-accent: 0 8px 20px rgba(168, 90, 78, 0.24);

  --text: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --script: 'Parisienne', cursive;

  --pad: 22px;
  --radius: 22px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);

  color-scheme: light;
}

* { box-sizing: border-box; }

/* Las pantallas y las hojas se muestran y ocultan con el atributo `hidden`.
   La regla del navegador ([hidden] { display: none }) tiene la misma
   especificidad que las clases de más abajo, y al ir estas después ganarían:
   sin este !important, el visor y las hojas se quedan dibujados encima de
   todo y se tragan los toques. */
[hidden] { display: none !important; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  /* Montserrat tiene la equis mucho más alta que Cormorant: al mismo px se
     ve bastante más grande, así que todos los tamaños bajan un punto. */
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::placeholder { color: var(--placeholder); opacity: 1; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ *
   Marco
   ------------------------------------------------------------------ */

.phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* --app-h la fija el JS con el alto realmente visible: cuando sale el
     teclado, la app encoge en vez de quedarse debajo. */
  height: var(--app-h, 100dvh);
  background: var(--surface);
  overflow: hidden;
}

@media (min-width: 620px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .phone {
    width: 430px;
    height: min(900px, calc(var(--app-h, 100dvh) - 48px));
    border-radius: 42px;
    box-shadow: 0 40px 80px rgba(74, 63, 57, 0.18), 0 0 0 1px rgba(74, 63, 57, 0.08);
  }
}

/* ------------------------------------------------------------------ *
   Tipografía y piezas comunes
   ------------------------------------------------------------------ */

/* La caligrafía queda reservada a los nombres de los novios; todo lo demás
   va en Montserrat, que se lee mejor. */
.brand {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  color: var(--accent);
}

.display {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--accent);
}
.display--xl { font-size: 27px; }
.display--lg { font-size: 22px; }
.display--md { font-size: 18px; }

.h2 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.eyebrow--spaced { margin-top: 22px; }

.label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.lead { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.sub { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.sub span { display: block; }
.note { margin: 0; font-size: 12.5px; color: var(--faint); font-style: italic; }
.empty { margin: 30px 0; text-align: center; font-size: 15px; color: var(--faint); font-style: italic; }

.stack { display: flex; flex-direction: column; gap: 10px; }
.stack--center { align-items: center; text-align: center; gap: 8px; }
.row { display: flex; gap: 10px; }

/* Rótulo centrado con una línea a cada lado, como el "Fotos de los
   invitados" de la portada del diseño. */
.sectionHead { display: flex; align-items: center; gap: 12px; }
.sectionHead .eyebrow { white-space: nowrap; }
.sectionHead__rule { flex: 1; height: 1px; background: var(--line-softer); }

.formError {
  margin: 0;
  font-size: 13.5px;
  color: var(--accent);
  font-style: italic;
}

/* ------------------------------------------------------------------ *
   Campos
   ------------------------------------------------------------------ */

.field {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.18s ease;
}
.field:focus { border-color: var(--dash); }
/* 16px es el mínimo: por debajo, Safari en iPhone hace zoom al enfocar. */
.field--sm { padding: 10px 14px; font-size: 16px; border-radius: 12px; }
.field--area { resize: none; line-height: 1.4; }

/* ------------------------------------------------------------------ *
   Botones
   ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}
.btn:disabled { opacity: 0.5; cursor: default; }

.btn--primary {
  background: var(--accent);
  color: var(--surface);
  box-shadow: var(--shadow-accent);
}
.btn--primary:not(:disabled):active { background: var(--accent-dark); }

.btn--ghost {
  background: var(--card);
  border-color: var(--line);
  color: #7a6a5f;
  letter-spacing: 0.13em;
  font-size: 10.5px;
}
.btn--ghost:not(:disabled):active { border-color: #c9b3a2; }

.btn--sm { padding: 11px 16px; font-size: 10px; }
.btn--onDark {
  background: var(--ink-soft);
  border-color: rgba(243, 228, 214, 0.18);
  color: #f3e4d6;
}
.btn--onDark:not(:disabled):active { background: var(--ink); }
.btn--danger { color: #f0b9ae; }

.row > .btn { flex: 1; }

.iconBtn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--faint);
}
.iconBtn--onDark { color: #f3e4d6; }

/* ------------------------------------------------------------------ *
   Pantalla de acceso
   ------------------------------------------------------------------ */

.gate {
  flex: 1;
  /* Sin esto, flex-basis:auto impide que la seccion encoja por debajo de su
     contenido y el overflow-y de abajo no llega a activarse nunca: .phone
     recorta lo que sobra y el campo enfocado se vuelve inalcanzable. */
  min-height: 0;
  display: flex;
  flex-direction: column;
  /* Arriba, no centrado: con el bloque en mitad de la pantalla quedaba
     demasiado aire por encima y por debajo. */
  justify-content: flex-start;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--surface) 0%, #f6eee6 100%);
  padding: calc(34px + var(--safe-top)) 30px calc(28px + var(--safe-bottom));
}
.gate__inner { display: flex; flex-direction: column; gap: 22px; }

/* La ilustración viene con fondo blanco: en vez de recortarla, la fundimos
   con el crema de la pantalla (multiply hace desaparecer el blanco). */
.gate__camera {
  align-self: center;
  width: 100%;
  max-width: 80%;
  height: auto;
  mix-blend-mode: multiply;
}
.gate__inner .stack:last-child { gap: 12px; }

/* El formulario respira aparte de la ilustración y del texto de bienvenida. */
#gateForm { margin-top: 18px; }

/* "Entrar" no necesita todo el ancho: centrado y del tamaño de su texto. */
#gateSubmit {
  align-self: center;
  min-width: 190px;
  padding-left: 34px;
  padding-right: 34px;
}

/* El JS pone .teclado en <html> cuando el teclado del movil esta desplegado.
   No basta con dejar la pantalla desplazable: si el invitado tiene que
   buscar el campo, la portada ya ha fallado. */
/* Centrado con margin:auto y no con justify-content: este ultimo, cuando el
   contenido no cabe, recorta por arriba y esa parte ya no se puede alcanzar
   ni desplazando. */
.teclado .gate__inner { margin-block: auto; }
.teclado .gate { padding-top: 16px; padding-bottom: 16px; }

/* Mientras se escribe el nombre, el formulario se despega de la portada y se
   ancla arriba del todo. Es la única forma de no depender de cómo decida cada
   navegador desplazar la página al abrirse el teclado: unos no la mueven y
   otros dan un salto. Arriba no llega el teclado en ningún móvil.
   Solo en pantallas táctiles: en el escritorio no hay teclado que esquivar. */
@media (pointer: coarse) {
  .gate__veil {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(46, 38, 33, 0.55);
    animation: fadeIn 0.2s ease both;
  }

  .escribiendo #gateForm {
    position: fixed;
    z-index: 31;
    margin: 0;
    /* --vv-top lo pone el JS: iOS a veces desplaza la página entera y sin
       esto la tarjeta se iría hacia arriba fuera de la vista. */
    top: calc(var(--vv-top, 0px) + 14px);
    left: 14px;
    right: 14px;
    padding: 20px 18px 22px;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 20px 48px rgba(46, 38, 33, 0.3);
    animation: caeDentro 0.24s cubic-bezier(0.22, 0.8, 0.3, 1) both;
  }

  @keyframes caeDentro {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: none; }
  }
}

/* ------------------------------------------------------------------ *
   Estructura de la app
   ------------------------------------------------------------------ */

.shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
}

.topbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: calc(18px + var(--safe-top)) var(--pad) 12px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}
.topbar__guest {
  border: none;
  background: transparent;
  padding: 4px 0 4px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 45%;
}

.view {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px var(--pad) 34px;
}
#viewGallery { gap: 16px; padding-left: 18px; padding-right: 18px; }

/* ------------------------------------------------------------------ *
   Zona de subida
   ------------------------------------------------------------------ */

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 34px 20px;
  border: 1px dashed var(--dash);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-md);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.dropzone:active, .dropzone.is-over { border-color: var(--accent); background: #fff9f3; }
.dropzone__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

/* ------------------------------------------------------------------ *
   Cuadrículas
   ------------------------------------------------------------------ */

.grid { display: grid; gap: 10px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: none;
  padding: 0;
  background: transparent;
  text-align: left;
  animation: riseIn 0.4s ease both;
}
.card__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--tile);
  box-shadow: var(--shadow-sm);
}
.grid--3 .card__frame { aspect-ratio: 1; border-radius: 12px; box-shadow: none; }

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card__img.is-loaded { opacity: 1; }

.card__author {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  padding-left: 2px;
}

/* Lo que escribió el invitado, en un bocadillo con el pico hacia su nombre. */
.card__caption {
  position: relative;
  margin-top: 3px;
  padding: 8px 11px 9px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.35;
}
.card__caption::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 13px;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--accent-soft);
  transform: rotate(45deg);
}
.card__caption > span {
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__badge {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-size: 12px;
  color: var(--surface);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
.card__state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 6px;
  text-align: center;
  background: rgba(251, 247, 241, 0.72);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.card__state.is-working { animation: pulseSoft 1.2s ease-in-out infinite; }
.card__state.is-failed { color: #a5453a; letter-spacing: 0.1em; }

/* ------------------------------------------------------------------ *
   Etiquetas
   ------------------------------------------------------------------ */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--pick { margin-top: 8px; }
.chips--tiny { justify-content: center; gap: 6px; }

.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: #7a6a5f;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.chip.is-on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}
.chip__count { color: var(--placeholder); margin-left: 6px; font-size: 11px; }
.chip.is-on .chip__count { color: rgba(251, 247, 241, 0.75); }

/* Las etiquetas del visor, en el marrón oscuro: un tono por debajo de los
   botones, para que se lean como rótulos y no como algo que tocar. */
.chips--tiny .chip {
  padding: 5px 12px;
  font-size: 10.5px;
  background: var(--ink);
  border-color: rgba(243, 228, 214, 0.14);
  color: #e6d3c2;
}


/* ------------------------------------------------------------------ *
   Barra de pestañas
   ------------------------------------------------------------------ */

.tabbar {
  display: flex;
  border-top: 1px solid var(--line-soft);
  background: var(--card);
  padding-bottom: var(--safe-bottom);
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 0 12px;
  border: none;
  background: transparent;
  /* Marrón cálido: el gris arena de antes casi no se leía. */
  color: var(--muted);
  transition: color 0.18s ease;
}

/* La pestaña activa se marca por tres vías a la vez —color, pastilla detrás
   del icono y trazo más grueso— para que se vea de un vistazo. */
.tab.is-active { color: var(--accent); }
.tab.is-active .tab__icon { background: var(--accent-soft); }
.tab.is-active .tab__icon svg { stroke-width: 2; }
.tab.is-active .tab__label { font-weight: 700; }

.tab__icon {
  width: 52px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background 0.22s ease;
}
.tab__icon svg {
  width: 21px;
  height: 21px;
  display: block;
  transition: stroke-width 0.18s ease;
}
.tab__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ------------------------------------------------------------------ *
   Hojas inferiores
   ------------------------------------------------------------------ */

.sheet {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 38, 33, 0.45);
  animation: fadeIn 0.2s ease both;
}
.sheet__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 92%;
  background: var(--surface);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 40px rgba(46, 38, 33, 0.18);
  animation: slideUp 0.28s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.sheet__grabber {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  margin: 10px auto 0;
  flex: none;
}
.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--pad) 6px;
  flex: none;
}
.sheet__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 6px var(--pad) 16px;
}
.sheet__foot {
  flex: none;
  padding: 12px var(--pad) calc(18px + var(--safe-bottom));
  border-top: 1px solid var(--line-soft);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sheet__foot .btn { width: 100%; }

.customTag { display: flex; gap: 8px; margin-top: 10px; }
.customTag .field { flex: 1; }

.composeList { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.composeItem {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
}
.composeItem__thumb {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tile);
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 17px;
}
.composeItem__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.composeItem__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.composeItem__name {
  font-size: 11px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.progress {
  height: 4px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.2s ease;
}

/* ------------------------------------------------------------------ *
   Visor
   ------------------------------------------------------------------ */

.lightbox {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: #2f2823;
  animation: fadeIn 0.2s ease both;
  padding: calc(16px + var(--safe-top)) 16px calc(16px + var(--safe-bottom));
}
.lightbox__stage {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.lightbox__stage img,
.lightbox__stage video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  object-fit: contain;
}
/* El zoom lo mueve el JS con transform; el arrastre nativo de la imagen
   estorbaría al pellizco. */
.lightbox__stage img {
  transform-origin: center;
  will-change: transform;
  -webkit-user-drag: none;
}

.lightbox__meta {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  text-align: center;
}
.lightbox__meta .display { color: #f3e4d6; }
.lightbox__caption {
  margin: 0;
  font-size: 15px;
  font-style: italic;
  color: #e6d3c2;
  line-height: 1.4;
  text-wrap: pretty;
}
.lightbox__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }

.lightbox__close,
/* Marrón macizo, nada de cristal esmerilado: es el color de la boda y
   además se ve mejor sobre una foto clara. */
.lightbox__nav {
  position: absolute;
  border: 1px solid rgba(243, 228, 214, 0.16);
  background: var(--ink-soft);
  color: #f3e4d6;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(26, 20, 16, 0.35);
}
.lightbox__nav:active,
.lightbox__close:active { background: var(--ink); }
.lightbox__close {
  top: calc(14px + var(--safe-top));
  right: 14px;
  width: 40px;
  height: 40px;
  font-size: 26px;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 56px;
  font-size: 30px;
  line-height: 1;
}
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__nav[hidden] { display: none; }

/* ------------------------------------------------------------------ *
   Avisos
   ------------------------------------------------------------------ */

.toasts {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(88px + var(--safe-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  align-self: center;
  max-width: 100%;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(74, 63, 57, 0.94);
  color: #f7ece0;
  font-size: 13.5px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(46, 38, 33, 0.25);
  animation: riseIn 0.25s ease both;
}
.toast--error { background: rgba(146, 61, 51, 0.96); }

/* ------------------------------------------------------------------ *
   Animaciones
   ------------------------------------------------------------------ */

@keyframes riseIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: none; }
}
@keyframes pulseSoft {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
