/* Aprendi2 — estilos base compartidos. */
@font-face {
  font-family: 'Fredoka';
  src: url('../fonts/fredoka.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #2b2240;
  --ink-soft: #6a5f80;
  --paper: #ffffff;
  --bg: #fff4dc;
  --bg-2: #ffe6b8;
  --red: #ff5a5f;
  --orange: #ff9f1c;
  --yellow: #ffd23f;
  --green: #2bc48a;
  --blue: #4cc3ff;
  --purple: #7b61ff;
  --pink: #ff8fc7;
  --accent: #ff9f1c;

  --btn: 64px;      /* botón estándar */
  --btn-sm: 52px;   /* botón chico (mínimo cómodo para dedos chicos) */
  --btn-lg: 84px;   /* botón grande */
  --tool: var(--btn);       /* herramientas de colorear y pizarra (en el celular, más chicas: ver abajo) */
  --tool-sm: var(--btn-sm);
  --gap: 12px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 4px 0 rgba(43, 34, 64, 0.16), 0 8px 18px rgba(43, 34, 64, 0.12);
  --shadow-press: 0 1px 0 rgba(43, 34, 64, 0.16), 0 3px 8px rgba(43, 34, 64, 0.12);
  --font: 'Fredoka', ui-rounded, 'Arial Rounded MT Bold', 'Segoe UI', system-ui, sans-serif;

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --vh: 1vh;
  --app-h: calc(var(--vh) * 100);
}
@supports (height: 100dvh) {
  :root { --app-h: 100dvh; }
}
/* Pantallas chicas: celulares en vertical u horizontal. */
@media (max-width: 600px), (max-height: 520px) {
  :root { --btn: 54px; --btn-sm: 46px; --btn-lg: 70px; --gap: 8px; --radius: 18px; }
}
/* Celular (AP.ui.PHONE): herramientas al 75 % para dejarle lugar al dibujo. */
@media (orientation: portrait) and (max-width: 600px), (orientation: landscape) and (max-height: 520px) {
  :root { --tool: 40px; --tool-sm: 35px; }
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img, svg, canvas { display: block; }
img { -webkit-user-drag: none; }
button { font: inherit; color: inherit; }

#app { position: fixed; inset: 0; height: var(--app-h); overflow: hidden; }

/* ---------- Pantallas ---------- */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: var(--safe-t) var(--safe-r) var(--safe-b) var(--safe-l);
  animation: screen-in 0.22s ease-out both;
}
@keyframes screen-in {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* Barra de arriba (AP.ui.topbar): la misma en todas las pantallas */
.topbar {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding: var(--gap);
  flex: 0 0 auto;
}
.topbar .spacer { flex: 1; }
/* Título: el ícono y el nombre de la pantalla (Juegos, Mi cuaderno...). */
.topbar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 1.55rem;
  font-weight: 700;
  white-space: nowrap;
}
.topbar-title .icon { width: 46px; height: 46px; flex: 0 0 auto; }
/* Celulares finitos: con volver y título no entra todo; la casita se esconde y el título se achica. */
@media (max-width: 420px) {
  .topbar .topbar-home-opt { display: none; }
  .topbar-title { font-size: 1.3rem; }
}

/* ---------- Tarjeta grande de menú (AP.ui.card): Inicio y Juegos ----------
   La ilustración y el nombre en una pastilla, sobre un degradé (--c1, --c2: cada tarjeta pone los suyos). La pantalla
   pone el tamaño y --cw (el ancho de la tarjeta, que también da el relleno: un % se mediría con el contenedor);
   --card-r, --card-gap y --card-font cambian el redondeo, el espacio y la letra. */
.card {
  --c1: #ffe07a;
  --c2: #ffb938;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--card-gap, 3%);
  min-width: 0;
  min-height: 0;
  padding: calc(var(--cw) * 0.07) calc(var(--cw) * 0.06) calc(var(--cw) * 0.06);
  border: 4px solid var(--ink);
  border-radius: var(--card-r, 32px);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.55) 0 14%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(rgba(255, 255, 255, 0.22) 18%, transparent 20%) 0 0 / 26px 26px,
    linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: 0 7px 0 rgba(43, 34, 64, 0.22), 0 14px 26px rgba(43, 34, 64, 0.14);
  cursor: pointer;
  outline: none;
  overflow: hidden;
  touch-action: manipulation;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  animation: pop-in 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) backwards;
}
.card:active { transform: translateY(5px) scale(0.97); box-shadow: 0 2px 0 rgba(43, 34, 64, 0.22), 0 5px 12px rgba(43, 34, 64, 0.14); }
.card:focus-visible { box-shadow: 0 0 0 5px var(--blue), 0 7px 0 rgba(43, 34, 64, 0.22); }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px) rotate(-1deg); }
  .card:hover .card-art { transform: scale(1.05); }
  .card:active { transform: translateY(5px) scale(0.97); }
}
.card-art {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  transition: transform 0.25s cubic-bezier(0.2, 1.5, 0.4, 1);
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.35));
}
.card-label {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 0.18em 0.8em 0.22em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 0 rgba(43, 34, 64, 0.16);
  /* Según la tarjeta: "Rompecabezas" tiene que entrar en las del menú de juegos de 4 columnas. */
  font-size: var(--card-font, clamp(16px, min(4.2vmin, var(--cw) * 0.095), 30px));
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ---------- Tarjeta con foto (AP.ui.picCard): el catálogo (categorías y dibujos) y el rompecabezas ----------
   La imagen en un recuadro cuadrado y el nombre abajo, sobre el color de la categoría (--c) y con borde negro.
   Entran de a una según --i. Lo propio de cada pantalla (burbujitas, fondos especiales) va en su CSS. */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  padding: 10px 10px 12px;
  border: 4px solid var(--ink);
  border-radius: 26px;
  background: #fff;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c, #fff) 30%, #fff), color-mix(in srgb, var(--c, #fff) 70%, #fff));
  box-shadow: 0 6px 0 rgba(43, 34, 64, 0.2), 0 12px 22px rgba(43, 34, 64, 0.12);
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  animation: pop-in 0.45s calc(var(--i, 0) * 35ms) cubic-bezier(0.2, 1.5, 0.4, 1) backwards;
}
.pcard:active { transform: translateY(4px) scale(0.97); box-shadow: 0 2px 0 rgba(43, 34, 64, 0.2); }
.pcard:focus-visible { box-shadow: 0 0 0 5px var(--blue), 0 6px 0 rgba(43, 34, 64, 0.2); }
@media (hover: hover) { .pcard:hover { transform: translateY(-3px) rotate(-1deg); } }
.pcard-pic {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: #fff;
}
.pcard-pic > img, .pcard-pic > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.pcard-name {
  overflow: hidden;
  font-size: clamp(16px, 2.5vmin, 22px);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Aparecer: de abajo y chiquito (las tarjetas de menú, los botones del festejo grande). */
@keyframes pop-in {
  from { opacity: 0; transform: translateY(18px) scale(0.86); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } }

/* Zona con scroll interno (listas). */
.scroll-y {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
/* Barra fina y redondeada (la de Windows, gris y con flechas, desentona). Chrome/Edge/Safari usan ::-webkit-;
   Firefox, las propiedades estándar (si Chrome las ve, ignora las ::-webkit- y pierde el margen del riel). */
.scroll-y::-webkit-scrollbar { width: 12px; }
.scroll-y::-webkit-scrollbar-track { background: transparent; }
.scroll-y::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 12px;
  background: rgba(43, 34, 64, 0.28) padding-box;
}
.scroll-y::-webkit-scrollbar-thumb:hover { background-color: rgba(43, 34, 64, 0.45); }
@supports not selector(::-webkit-scrollbar) {
  .scroll-y { scrollbar-width: thin; scrollbar-color: rgba(43, 34, 64, 0.3) transparent; }
}
.scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior: contain;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroll-x::-webkit-scrollbar { display: none; }

.no-gestures { touch-action: none; -webkit-user-select: none; user-select: none; }

/* ---------- Botones ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  width: var(--btn);
  height: var(--btn);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
  outline: none;
}
.btn .icon { width: 62%; height: 62%; pointer-events: none; }
.btn:active, .btn.pressed { transform: translateY(3px) scale(0.94); box-shadow: var(--shadow-press); }
.btn:focus-visible { box-shadow: 0 0 0 4px var(--blue), var(--shadow); }
.btn.active { box-shadow: 0 0 0 4px var(--ink), var(--shadow); transform: scale(1.06); }
.btn[disabled], .btn.disabled { opacity: 0.38; pointer-events: none; }
.btn.btn-sm { width: var(--btn-sm); height: var(--btn-sm); }
.btn.btn-lg { width: var(--btn-lg); height: var(--btn-lg); }
.btn.btn-pill { width: auto; padding: 0 22px 0 14px; border-radius: 999px; }
.btn.btn-pill .icon { width: calc(var(--btn) * 0.62); height: calc(var(--btn) * 0.62); }
.btn-text { font-weight: 600; font-size: 1.25rem; white-space: nowrap; }
.btn.btn-go { background: var(--green); }
.btn.btn-go .btn-text { color: #fff; }
/* "¡Terminé!" de las pantallas de dibujo (AP.ui.doneButton) */
.btn.done-btn { padding: 0 24px 0 12px; }
.done-btn .icon { filter: drop-shadow(0 1px 0 rgba(43, 34, 64, 0.25)); }
.done-btn .btn-text { font-size: 1.35rem; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15); }
@media (orientation: portrait) and (max-width: 600px) {
  .btn.done-btn { padding: 0 16px 0 8px; }
  .done-btn .btn-text { font-size: 1.15rem; }
}

/* Pantallas de dibujo (colorear y pizarra): el mismo fondo y el mismo marco alrededor del dibujo. */
.screen--colorear, .screen--pizarra {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 143, 199, 0.16), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(76, 195, 255, 0.16), transparent 45%),
    var(--bg);
}
:root { --frame: 0 0 0 6px #fff, 0 0 0 9px rgba(43, 34, 64, 0.1), 0 10px 26px rgba(43, 34, 64, 0.18); }
@media (max-width: 600px), (max-height: 520px) {
  :root { --frame: 0 0 0 4px #fff, 0 0 0 6px rgba(43, 34, 64, 0.1), 0 6px 16px rgba(43, 34, 64, 0.18); }
}
.work-board { background: #fff; border-radius: 18px; box-shadow: var(--frame); }
@media (max-width: 600px), (max-height: 520px) { .work-board { border-radius: 14px; } }

/* Mantener apretado para borrar */
.btn-hold .hold-ring { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); pointer-events: none; }
.btn-hold .hold-prog { transition: stroke-dashoffset 0.05s linear; }
.btn-hold.holding { transform: scale(1.08); }
.btn-hold.holding > .icon { animation: hold-shake 0.25s linear infinite; }
.btn-hold.confirmed { transform: scale(1.18); }
.btn-hold.hint { animation: hint-wiggle 0.5s ease; }
.btn-hold .hold-hint {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-hold .hold-hint .icon { width: 100%; height: 100%; }
.btn-hold.hint .hold-hint { opacity: 1; transform: scale(1); animation: hint-press 0.6s ease 2; }
@keyframes hold-shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-7deg); }
  75% { transform: rotate(7deg); }
}
@keyframes hint-wiggle {
  0%, 100% { transform: none; }
  20% { transform: translateX(-6px) rotate(-6deg); }
  40% { transform: translateX(6px) rotate(6deg); }
  60% { transform: translateX(-4px) rotate(-3deg); }
  80% { transform: translateX(4px) rotate(3deg); }
}
@keyframes hint-press {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- Burbuja de opciones (AP.ui.switcher): la burbuja amarilla se desliza hasta la elegida ----------
   --n opciones, --i la elegida. */
.switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n), 1fr);
  padding: 5px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 0 rgba(43, 34, 64, 0.18);
}
.switch-knob {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc((100% - 10px) / var(--n));
  border-radius: 999px;
  background: linear-gradient(160deg, #ffe07a, #ffb938);
  box-shadow: inset 0 0 0 3px var(--ink);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform 0.38s cubic-bezier(0.3, 1.45, 0.5, 1);
}
.switch-opt {
  position: relative; /* por encima de la burbuja */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  min-height: 50px;
  padding: 6px clamp(14px, 2.4vmin, 22px);
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font-size: clamp(17px, 2.6vmin, 23px);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
  transition: opacity 0.2s ease, transform 0.12s ease;
}
.switch-opt[aria-checked="false"] { opacity: 0.55; }
.switch-opt:active { transform: scale(0.95); }
.switch-opt:focus-visible { box-shadow: 0 0 0 4px var(--blue); }
.switch-ico {
  display: grid;
  place-items: center;
  min-width: 2.3em;
  height: 1.55em;
  padding: 0 0.3em;
  border: 3px solid var(--ink);
  border-radius: 0.5em;
  background: #fff;
  font-size: 0.86em;
  line-height: 1;
}
.switch-ico--pic { min-width: 0; width: 1.8em; height: 1.8em; padding: 0; border: 0; background: none; }
.switch-ico--pic > svg { width: 100%; height: 100%; }

/* ---------- Festejo chico (AP.celebrate.small) ---------- */
.celebrate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.55), rgba(255, 244, 220, 0.25));
  transition: opacity 0.25s;
}
.celebrate.out { opacity: 0; }
.celebrate-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.celebrate-badge { width: min(40vmin, 240px); height: min(40vmin, 240px); animation: badge-pop 0.7s cubic-bezier(0.2, 1.6, 0.4, 1) both; filter: drop-shadow(0 10px 20px rgba(43, 34, 64, 0.25)); }
.celebrate-badge .icon { width: 100%; height: 100%; animation: badge-spin 2.4s ease-in-out both; }
@keyframes badge-pop { from { transform: scale(0) rotate(-40deg); } to { transform: scale(1) rotate(0); } }
@keyframes badge-spin { 0% { transform: rotate(0); } 40% { transform: rotate(10deg) scale(1.05); } 70% { transform: rotate(-8deg); } 100% { transform: rotate(0); } }

/* ---------- Festejo grande (AP.celebrate.big): se hace de noche con fuegos artificiales y aparecen "Volver" y
   "¡Otra vez!" ---------- */
.fx-fireworks {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 15%, rgba(46, 32, 102, 0.8), rgba(16, 12, 40, 0.88));
  animation: fade-in 0.6s ease backwards;
  transition: opacity 0.6s ease;
}
.fx-fireworks.out { opacity: 0; }
/* Los botones del final, juntos y centrados sobre los fuegos: Volver y ¡Otra vez! */
.fx-end {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 55%;
  translate: -50% -50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 3vmin, 28px);
  width: max-content;
  max-width: calc(100% - 24px);
}
.fx-again {
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.3em 1.1em 0.3em 0.55em;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(160deg, #ffe07a, #ffb938);
  box-shadow: 0 6px 0 rgba(43, 34, 64, 0.3), 0 16px 34px rgba(16, 12, 40, 0.35);
  color: var(--ink);
  font: inherit;
  font-size: clamp(24px, 5vmin, 40px);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
  transition: scale 0.12s ease;
  animation: pop-in 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) backwards;
}
.fx-again .icon { width: 1.5em; height: 1.5em; }
.fx-again--back { padding-left: 0.4em; background: #fff; }
.fx-again--back .icon { width: 1.25em; height: 1.25em; }
.fx-again:active { scale: 0.95; }
.fx-again:focus-visible { box-shadow: 0 0 0 5px var(--blue), 0 6px 0 rgba(43, 34, 64, 0.3); }

/* ---------- Aviso ---------- */
.toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 900;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  padding: 18px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.2, 1.5, 0.4, 1);
  pointer-events: none;
}
.toast.in { opacity: 1; transform: scale(1); }
.toast .icon { width: 100%; height: 100%; }

/* ---------- Modal ---------- */
.modal-back {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(43, 34, 64, 0.45);
  opacity: 0;
  transition: opacity 0.2s;
}
.modal-back.in { opacity: 1; }
.modal {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: min(94vw, 900px);
  max-height: calc(var(--app-h) - 32px);
  overflow: hidden;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: scale(0.94);
  transition: transform 0.2s;
}
.modal-back.in .modal { transform: none; }
.modal-body { flex: 1 1 auto; min-height: 0; padding: 24px; }
.modal-body::-webkit-scrollbar-track { margin: 26px 0; } /* la barra no entra en las esquinas redondeadas */
.modal .modal-close { position: absolute; top: 10px; right: 10px; width: var(--btn-sm); height: var(--btn-sm); z-index: 2; }

/* ---------- Cargando ---------- */
.spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  gap: 12px;
  transform: translate(-50%, -50%);
  z-index: 50;
  pointer-events: none;
}
.spinner .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); animation: dot-bounce 0.9s ease-in-out infinite; }
.spinner .dot:nth-child(2) { background: var(--pink); animation-delay: 0.15s; }
.spinner .dot:nth-child(3) { background: var(--blue); animation-delay: 0.3s; }
@keyframes dot-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; }
  .card,
  .pcard,
  .fx-again { animation-duration: 0.01s; }
  .btn-hold.holding > .icon { animation: none; }
  .switch-knob { transition: none; }
}

/* Mantener apretado un color (AP.ui.holdPress): un anillo se llena alrededor. */
.press-ring { position: absolute; inset: -7px; z-index: 2; pointer-events: none; }
.press-ring svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.press-ring circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  animation: press-ring var(--hold, 1s) linear forwards;
}
@keyframes press-ring { to { stroke-dashoffset: 0; } }
/* Recién elegido el segundo color: los rellenos "saltan" para que se note el cambio. */
@keyframes bump-in { from { transform: scale(0.72); } to { transform: none; } }

