/* Card-only minimal fit + post-reveal scroll cue (Judith 2026-10-31 00:15).
   RECONSTRUCTION of the centered candidate (original lost with the sandbox
   reset 2026-10-31 ~08:00); rules re-derived from the exact values reported
   and measured at 00:26. Baseline files untouched. */

@media (max-width: 699px) {
  .scratch-wrap {
    aspect-ratio: auto;
    height: calc(100svh - 392px);
    min-height: 210px;
    max-height: 480px;
  }
  /* vertical centering ONLY: baseline revealed state adds padding-bottom:15px
     which pushes the flex-centered inner block 7.5px up; removing the offset
     re-centers the unchanged block (same fonts, same gaps). */
  .scratch-wrap.is-revealed .scratch-under { padding-bottom: 0; }
  /* visual Judith 2026-11-16: targeta mes gran — amplada estesa 12px per costat dins el padding existent */
  .scratch-zone { margin-left: -12px; margin-right: -12px; }
}

/* --- scroll cue: tiny down chevron below the scratch zone --- */
.scroll-cue {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a6670;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .5s ease, visibility .5s ease;
}
.scroll-cue svg { display: block; animation: cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
/* visible ONLY once the date is revealed; gone again while scrolled down */
body.rv-on .scroll-cue { opacity: .85; visibility: visible; }
body.rv-on .scroll-cue.off { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
  .scroll-cue { transition: none; }
}

/* OPTION 1 (Judith 08:11:02): remove "apunta aquest dia" from the revealed
   card; the flex-centered stack redistributes date + RSVP automatically. */
@media (max-width: 699px) {
  .scratch-wrap.is-revealed .scratch-note { display: none; }
}
