/* =========================================================
PANTALLA 01 - PORTADA PRINCIPAL (CONGELADA)
========================================================= */

@font-face {
  font-family: "Domine";
  src: url("../recursos/fonts/domine/Domine-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #111111;
  --muted: #686868;
  --soft-line: #c9c5bc;
  --line: #222222;
  --shade: #e6e2d8;
  --mobile-width: 430px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #e2dfd8;
  color: var(--ink);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  overflow-x: hidden;
  background: #e2dfd8;
}

.mobile-frame {
  width: 100%;
  max-width: var(--mobile-width);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(var(--paper), var(--paper));
  background-size: 8px 8px, auto;
}

button {
  font: inherit;
}

.newspaper-cover {
  width: 100%;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(18px, 5vw, 28px) clamp(14px, 5vw, 24px) 26px;
  background: var(--paper);
  border-inline: 1px solid rgba(17, 17, 17, 0.12);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 4vw, 34px);
}

.paper-masthead {
  display: grid;
  gap: 0;
}

.cover-main-content {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 4vw, 34px);
  margin-top: 25px;
}

.rule-line {
  height: 1px;
  background: var(--line);
}

.rule-line-strong {
  height: 1px;
  background: var(--line);
  margin-top: 3px;
}

.masthead-grid {
  display: grid;
  grid-template-columns: 25% 50% 25%;
  min-height: 45px;
  text-align: center;
  text-transform: uppercase;
  border-top: 0;
}

.edition,
.date,
.kicker,
.couple-names,
.verse,
.verse-reference,
.editorial-photo figcaption {
  margin: 0;
}

.masthead-cell {
  min-width: 0;
  padding: 9px 6px;
  display: grid;
  place-items: center;
  border-left: 2px solid var(--line);
}

.masthead-left {
  border-left: 0;
}

.masthead-hearts {
  width: 60px;
  height: auto;
  display: block;
  object-fit: contain;
}

@font-face {
  font-family: "Domine";
  src: url("../recursos/fonts/domine/Domine-Bold.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.edition {
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.78rem, 3.2vw, 0.98rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.date {
  color: var(--muted);
  font-size: clamp(0.48rem, 1.8vw, 0.58rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.date-small {
  display: block;
  font-size: 1em;
  letter-spacing: 0.05em;
  margin-top: -4px;
}

.cover-layout {
  display: grid;
  gap: -60px;
  align-items: stretch;
  margin-top: -100px;
}

.lead-story {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(16px, 4vw, 24px);
  text-align: center;
}

.kicker {
  width: fit-content;
  margin-inline: auto;
  padding-block: 7px;
  border-block: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.headline-crop {
  overflow: visible;
}

.main-headline-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: -100px auto -100px;
  display: block;
  object-fit: contain;
}

.headline-section .rule-line {
  height: 2px;
  margin-top: 8px;
  transform: translateY(10px);
}

.headline-section .rule-line-strong {
  height: 1px;
  margin-top: 3px;
}

.couple-names {
  margin-top: clamp(15px, 4vw, 28px);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.26rem, 5.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
}

.editorial-photo {
  margin: calc(17px - clamp(18px, 4vw, 34px)) auto 0;
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 8px;
}

.photo-placeholder {
  position: relative;
  min-height: clamp(190px, 54vw, 480px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(17, 17, 17, 0.2) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, rgba(17, 17, 17, 0.2) 50%, transparent 50.5%),
    repeating-linear-gradient(0deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.04) 1px, transparent 1px, transparent 6px),
    var(--shade);
  overflow: hidden;
}

.photo-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.photo-placeholder::before,
.photo-placeholder::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(17, 17, 17, 0.34);
}

.photo-placeholder::after {
  inset: 27px;
  border-color: rgba(17, 17, 17, 0.16);
}

.photo-placeholder span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  max-width: 260px;
  transform: translate(-50%, -50%);
  padding: 11px 14px;
  background: rgba(247, 245, 240, 0.9);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.editorial-photo figcaption {
  width: 100%;
  max-width: 24ch;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.verse-block {
  text-align: center;
  margin-top: -20px;
  transform: translateY(3px);
}

.verse-content {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  transform: translateY(10px);
}

.verse-body {
  transform: translateY(5px);
}

.verse-lower {
  position: relative;
  padding-bottom: 25px;
  transform: translateY(5px);
}

.verse-lower::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 1px;
  background: var(--line);
}

.event-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0 6px;
  font-family: "Domine", Georgia, serif;
  font-size: 1rem;
  text-transform: uppercase;
  transform: translateY(10px);
}

.event-date {
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}

.event-heart {
  color: #666;
  font-size: 1.50rem;
  letter-spacing: 2px;
}

.event-hearts {
  display: inline-flex;
  gap: 6px;
  font-size: 1.50rem;
  line-height: 1;
}

.heart-outer {
  color: var(--ink);
}

.heart-inner {
  color: #666;
}

.event-banner-divider {
  display: grid;
  gap: 3px;
  margin-top: 4px;
  transform: translateY(7px);
}

.event-banner-line {
  height: 2px;
  background: var(--line);
}

.event-banner-line-thin {
  height: 1px;
}

.verse {
  width: 100%;
  max-width: 24ch;
  margin-inline: auto;
  font-size: clamp(0.80rem, 2.8vw, 1.10rem);
  line-height: 1.45;
}

.verse-reference {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.verse-invitation {
  width: 100%;
  max-width: none;
  margin: 40px auto 0;
  font-size: clamp(0.80rem, 2.8vw, 1.10rem);
  line-height: 1.45;
}

.verse-block .scroll-indicator {
  margin-left: auto;
  margin-right: 12px;
  margin-top: -52px;
  margin-bottom: 0;
  transform: translateY(5px);
  animation: scrollIndicatorBlink 1.5s ease-in-out infinite;
}

@keyframes scrollIndicatorBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.music-button {
  width: 100%;
  max-width: 340px;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-size: clamp(0.78rem, 3.2vw, 0.92rem);
  line-height: 1.25;
  text-align: left;
}

.headline-section .music-button {
  margin-top: 14px;
  max-width: 100%;
  background: rgba(17, 17, 17, 0.06);
  transform: translateY(7px);
}

.music-button:focus-visible,
.scroll-indicator:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.play-icon {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.play-icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.play-icon::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--ink);
}

.scroll-indicator {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-left: auto;
  margin-right: 22px;
  margin-top: -18px;
}

.scroll-indicator span {
  width: 11px;
  height: 11px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

@media (max-width: 380px) {
  .newspaper-cover {
    padding-inline: 14px;
  }

  .music-button {
    padding-inline: 12px;
  }

  .photo-placeholder span {
    width: calc(100% - 58px);
    max-width: none;
  }

  .editorial-photo figcaption {
    max-width: 28ch;
    margin-inline: auto;
  }
}

/* FADE IN INICIAL */

#app {
  opacity: 0;
  transform: translateY(20px);
  animation: pageFadeIn 4s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
FIN PANTALLA 01 - PORTADA PRINCIPAL (CONGELADA)
========================================================= */

/* =========================================================
   PANTALLA 02 - ANUNCIO EDITORIAL
   Estado: EN DESARROLLO
   ========================================================= */

.editorial-announcement {
  width: 100%;
  min-height: 100svh;
  padding: clamp(30px, 8vw, 48px) clamp(18px, 6vw, 28px) clamp(28px, 8vw, 46px);
  background: var(--paper);
  color: var(--ink);
  border-inline: 1px solid rgba(17, 17, 17, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-15px);
}

.editorial-announcement-line {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-bottom: 8px;
}

.editorial-announcement-header {
  text-align: center;
}

.editorial-announcement-header h2 {
  margin: 15px;
  font-family: "Domine", Georgia, serif;
  max-width: 100%;
  font-size: clamp(38px, 10.8vw, 52px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-transform: uppercase;
  text-wrap: balance;
  word-break: normal;
  transform: translateY(-10px);
}

.editorial-announcement-rings-separator {
  width: 100%;
  margin: -50px auto -70px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(10px);
}

.editorial-announcement-rings-separator span {
  display: none;
}

.editorial-announcement-rings-separator img {
  width: clamp(110px, 33vw, 174px);
  height: auto;
  display: block;
}

.editorial-announcement-header p {
  margin: clamp(10px, 3vw, 16px) 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 5.8vw, 2rem);
  font-style: italic;
  line-height: 1.1;
}

.editorial-announcement-intro {
  margin: clamp(24px, 8vw, 42px) auto 0;
  max-width: 45ch;
  font-size: clamp(0.50rem, 8vw, 0.85rem);
  line-height: 1.7;
  text-align: center;
  transform: translateY(10px);
}

.editorial-announcement-body {
  transform: translateY(10px);
}

.editorial-announcement-lower-section {
  transform: translateY(15px);
}

.editorial-announcement-banner {
  margin-top: clamp(15px, 4vw, 30px);
  padding: 9px 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.68rem, 2.9vw, 0.86rem);
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transform: translateY(-10px);
}

.editorial-announcement-parents {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(8px, 3vw, 16px);
  margin-top: clamp(22px, 7vw, 36px);
  transform: translateY(-25px);
}

.editorial-announcement-parent-group {
  min-width: 0;
  text-align: center;
}

.editorial-announcement-parent-group h3 {
  margin: 0 0 12px;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.62rem, 2.7vw, 0.76rem);
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.editorial-announcement-parent-group p {
  margin: 0;
  font-size: clamp(0.72rem, 3.1vw, 0.92rem);
  line-height: 1.45;
}

.editorial-announcement-parent-group p + p {
  margin-top: 8px;
}

.editorial-announcement-divider {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 132px;
}

.editorial-announcement-divider::before {
  content: "";
  width: 1px;
  height: calc(100% - 15px);
  background: var(--line);
}

.editorial-announcement-divider span {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--paper);
  display: grid;
  place-items: center;
}

.editorial-announcement-divider span::before {
  content: "\2665";
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
}

.editorial-announcement-closing {
  margin: clamp(28px, 9vw, 48px) auto 0;
  max-width: 11ch;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(2.1rem, 10.8vw, 4rem);
  line-height: 0.94;
  text-align: center;
  text-transform: uppercase;
}

.editorial-countdown-section {
  transform: translateY(-35px);
}

.editorial-countdown {
  width: 100%;
  max-width: 360px;
  margin: clamp(10px, 4vw, 18px) auto 0;
}

.editorial-countdown-title {
  margin: 0 0 clamp(8px, 2.8vw, 12px);
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.92rem, 3.8vw, 1.12rem);
  font-style: italic;
  line-height: 1.1;
  text-align: center;
}

.editorial-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 3vw, 14px);
}

.editorial-countdown-item {
  position: relative;
  min-width: 0;
  padding: 0;
  text-align: center;
}

.editorial-countdown-item:not(:last-child)::after {
  content: ":";
  position: absolute;
  top: 0;
  right: calc(clamp(8px, 3vw, 14px) / -2 - 0.12em);
  color: var(--ink);
  font-family: "Domine", Georgia, serif;
  font-size: clamp(1.55rem, 7.8vw, 2.4rem);
  line-height: 1;
}

.editorial-countdown-number {
  display: block;
  font-family: "Domine", Georgia, serif;
  color: var(--ink);
  font-size: clamp(1.55rem, 7.8vw, 2.4rem);
  line-height: 1;
}

.editorial-countdown-label {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: clamp(0.42rem, 1.7vw, 0.54rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.editorial-action-grid {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: clamp(58px, 14vw, 84px) auto 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 5vw, 22px) clamp(8px, 3vw, 14px);
  transform: translateY(5px);
}

.editorial-action-grid::before {
  content: "Clickeame...!";
  position: absolute;
  left: 50%;
  top: -40px;
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.17rem, 4.8vw, 1.44rem);
  font-style: italic;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.editorial-action-item {
  --action-circle-size: clamp(56.862px, 15.795vw, 75.816px);
  --action-label-size: clamp(75.4px, 20.8vw, 98.8px);
  grid-column: span 2;
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
}

.editorial-action-item:nth-child(4) {
  grid-column: 2 / span 2;
  transform: translateY(-5px);
}

.editorial-action-item:nth-child(5) {
  grid-column: 4 / span 2;
  transform: translateY(-5px);
}

.editorial-action-circle {
  margin-top: 0;
  width: var(--action-circle-size);
  aspect-ratio: 1;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
}

.editorial-action-icon {
  width: 90.625%;
  height: 90.625%;
  display: block;
  object-fit: contain;
}

.editorial-action-icon-consejo {
  width: 113.28125%;
  height: 113.28125%;
}

.editorial-action-icon-local {
  width: 122.34375%;
  height: 122.34375%;
}

.editorial-action-icon-galeria {
  width: 113.28125%;
  height: 113.28125%;
}

.editorial-action-label {
  margin-bottom: 0;
  position: absolute;
  top: calc((var(--action-circle-size) - var(--action-label-size)) / 2);
  left: 50%;
  z-index: 1;
  width: var(--action-label-size);
  aspect-ratio: 1;
  display: block;
  overflow: visible;
  pointer-events: none;
  transform: translateX(-50%) rotate(30deg);
  transform-origin: center;
}

.editorial-action-label path {
  fill: none;
}

.editorial-action-label text {
  fill: var(--ink);
  font-size: 10.4px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

/* ===== TRANSICIONES PANTALLA 02 / PANTALLA 03 ===== */

.screen-transition-pantalla02-in {
  animation: pantalla02ReturnFadeIn 2s ease both;
}

.screen-transition-pantalla02-from-attendance-in {
  animation: pantalla02ReturnFadeInFromAttendance 2.4s ease both;
}

.screen-transition-pantalla02-out {
  animation: pantalla02ExitFadeOut 2s ease forwards;
  pointer-events: none;
}

.screen-transition-marriage-in {
  animation: marriageAdviceFadeIn 4s ease both;
}

.screen-transition-marriage-out {
  animation: marriageAdviceFadeOut 2s ease forwards;
  pointer-events: none;
}

.screen-transition-reception-timeline-in {
  animation: receptionTimelineFadeIn 2s ease both;
}

.screen-transition-reception-timeline-out {
  animation: receptionTimelineFadeOut 2s ease forwards;
  pointer-events: none;
}

.screen-transition-gift-list-in {
  animation: giftListFadeIn 2s ease both;
}

.screen-transition-gift-list-out {
  animation: giftListFadeOut 2s ease forwards;
  pointer-events: none;
}

.screen-transition-attendance-register-in {
  animation: attendanceRegisterFadeIn 2.4s ease both;
}

.screen-transition-attendance-register-out {
  animation: attendanceRegisterFadeOut 2.4s ease forwards;
  pointer-events: none;
}

.screen-transition-shared-memories-in {
  animation: sharedMemoriesFadeIn 3s ease both;
}

.screen-transition-shared-memories-out {
  animation: sharedMemoriesFadeOut 2s ease forwards;
  pointer-events: none;
}

@keyframes pantalla02ReturnFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pantalla02ReturnFadeInFromAttendance {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pantalla02ExitFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes marriageAdviceFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes marriageAdviceFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes receptionTimelineFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes receptionTimelineFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes giftListFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes giftListFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes attendanceRegisterFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes attendanceRegisterFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes sharedMemoriesFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes sharedMemoriesFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* ===== PANTALLA 03 - CONSEJO MATRIMONIAL ===== */

.marriage-advice-screen {
  width: 100%;
  min-height: 100svh;
  padding: clamp(22px, 6vw, 34px) clamp(16px, 5vw, 24px) clamp(34px, 8vw, 52px);
  background: var(--paper);
  color: var(--ink);
  border-inline: 1px solid rgba(17, 17, 17, 0.12);
  transform: translateY(-10px);
}

.marriage-advice-back {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  margin: 40px auto 0;
  cursor: pointer;
}

.marriage-advice-back span {
  width: 10px;
  height: 10px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}

.marriage-advice-header {
  margin-top: clamp(16px, 5vw, 28px);
  text-align: center;
}

.marriage-advice-rule {
  height: 1px;
  background: var(--line);
}

.marriage-advice-header > .marriage-advice-rule:first-child {
  height: 2px;
}

.marriage-advice-rule-stack {
  display: grid;
  gap: 2px;
  margin-top: clamp(16px, 5vw, 26px);
  transform: translateY(-5px);
}

.marriage-advice-rule-stack span:first-child {
  height: 2px;
  background: var(--line);
}

.marriage-advice-rule-stack span:last-child {
  height: 1px;
  background: var(--line);
}

.marriage-advice-program-label {
  margin: 10px auto 0;
  color: var(--ink);
  font-family: "Domine", Georgia, serif;
  font-size: clamp(1.23rem, 4.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.marriage-advice-kicker {
  margin: clamp(16px, 5vw, 26px) auto 0;
  max-width: 100%;
  font-family: "Domine", Georgia, serif;
  font-size: 15px;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}

.marriage-advice-header .marriage-advice-kicker {
  text-align: center;
  font-size: 15px;
}

.marriage-advice-header h2 {
  margin: clamp(9px, 3vw, 14px) 0 0;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(1.35rem, 7vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.marriage-advice-header p {
  margin: 20px auto 0;
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(0.493rem, 2.0825vw, 0.697rem);
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
}

.marriage-advice-header .marriage-advice-program-label {
  margin: 10px auto 0;
  width: 100%;
  font-size: clamp(1.23rem, 4.5vw, 1.5rem);
  text-align: center;
}

.marriage-advice-header p + p {
  margin-top: 3px;
}

.marriage-advice-timeline {
  position: relative;
  margin-top: calc(clamp(30px, 9vw, 48px) - 20px);
  display: grid;
  gap: clamp(24px, 8vw, 38px);
}

.marriage-advice-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--line) 0,
    var(--line) 5px,
    transparent 5px,
    transparent 10px
  );
  transform: translateX(-50%);
}

.marriage-advice-timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: start;
}

.marriage-advice-timeline-entry:nth-child(odd) .marriage-advice-timeline-card {
  grid-column: 1;
  text-align: right;
}

.marriage-advice-timeline-entry:nth-child(even) .marriage-advice-timeline-card {
  grid-column: 3;
  text-align: left;
}

.marriage-advice-timeline-marker {
  grid-column: 2;
  width: 22px;
  height: 22px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: clamp(0.493rem, 2.0825vw, 0.697rem);
  line-height: 1;
  z-index: 1;
}

.marriage-advice-timeline-time {
  align-self: start;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.66555rem, 2.811375vw, 0.94095rem);
  line-height: 1;
}

.marriage-advice-timeline-time-left {
  grid-column: 1;
  justify-self: end;
}

.marriage-advice-timeline-time-right {
  grid-column: 3;
  align-self: center;
  justify-self: start;
  transform: translateY(12px);
}

.marriage-advice-timeline-card {
  min-width: 0;
  padding-top: 1px;
}

.marriage-advice-timeline-card h3 {
  margin: 0 0 10px;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.66555rem, 2.811375vw, 0.94095rem);
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.marriage-advice-timeline-card p,
.marriage-advice-timeline-card li {
  margin: 0;
  font-size: clamp(0.66555rem, 2.811375vw, 0.94095rem);
  line-height: 1;
}

.marriage-advice-timeline-card p + p {
  margin-top: 7px;
}

.marriage-advice-timeline-card span {
  font-family: "Domine", Georgia, serif;
}

.marriage-advice-timeline-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.marriage-advice-timeline-card li + li {
  margin-top: 8px;
}

.marriage-advice-ceremony-item-left {
  text-align: left;
}

/* =========================================================
PANTALLA 04 - LOCAL DE RECEPCION
========================================================= */

.reception-timeline-screen {
  width: 100%;
  min-height: 100svh;
  padding: clamp(22px, 6vw, 34px) clamp(16px, 5vw, 24px) clamp(34px, 8vw, 52px);
  background: var(--paper);
  color: var(--ink);
  border-inline: 1px solid rgba(17, 17, 17, 0.12);
  transform: translateY(-10px);
}

.reception-view-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reception-view {
  display: none;
}

#reception-view-local:checked ~ .reception-location-view,
#reception-view-program:checked ~ .reception-program-view {
  display: block;
}

.reception-timeline-screen.reception-internal-fade-out .reception-view,
.reception-timeline-screen.reception-internal-fade-in .reception-view {
  pointer-events: none;
}

.reception-timeline-screen.reception-internal-fade-out #reception-view-local:checked ~ .reception-location-view,
.reception-timeline-screen.reception-internal-fade-out #reception-view-program:checked ~ .reception-program-view {
  animation: receptionTimelineFadeOut 2s ease forwards;
}

.reception-timeline-screen.reception-internal-fade-in #reception-view-local:checked ~ .reception-location-view,
.reception-timeline-screen.reception-internal-fade-in #reception-view-program:checked ~ .reception-program-view {
  animation: receptionTimelineFadeIn 2s ease both;
}

.reception-timeline-header {
  margin-top: clamp(16px, 5vw, 28px);
  text-align: center;
}

.reception-timeline-rule {
  height: 1px;
  background: var(--line);
}

.reception-timeline-header > .reception-timeline-rule:first-child {
  height: 2px;
}

.reception-timeline-rule-stack {
  display: grid;
  gap: 2px;
  margin-top: clamp(16px, 5vw, 26px);
  transform: translateY(-5px);
}

.reception-timeline-rule-stack span:first-child {
  height: 2px;
  background: var(--line);
}

.reception-timeline-rule-stack span:last-child {
  height: 1px;
  background: var(--line);
}

.reception-timeline-kicker {
  margin: clamp(16px, 5vw, 26px) auto 0;
  max-width: 100%;
  font-family: "Domine", Georgia, serif;
  font-size: 15px;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}

.reception-timeline-header h2 {
  margin: clamp(9px, 3vw, 14px) 0 0;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(1.35rem, 7vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.reception-timeline-header p {
  margin: 20px auto 0;
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(0.493rem, 2.0825vw, 0.697rem);
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
}

.reception-timeline-header .reception-location-names {
  margin: clamp(16px, 5vw, 26px) auto 0;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.986rem, 4.165vw, 1.394rem);
  line-height: 1.05;
  text-align: center;
}

.reception-timeline-header .reception-location-title {
  font-size: clamp(0.945rem, 4.9vw, 1.645rem);
  text-align: center;
}

.reception-timeline-header .reception-program-title {
  text-align: center;
}

.reception-timeline-header .reception-program-date {
  margin: 10px auto 0;
  text-align: center;
}

.reception-timeline-header .reception-timeline-program-label {
  margin: 10px auto 0;
  width: 100%;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(1.23rem, 4.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.reception-location-actions {
  margin: clamp(42px, 13vw, 70px) auto 0;
  display: grid;
  gap: clamp(18px, 6vw, 28px);
}

.reception-location-action,
.reception-program-return {
  width: min(100%, 260px);
  min-height: 44px;
  margin-inline: auto;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.74rem, 3vw, 0.92rem);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.reception-location-action:hover,
.reception-location-action:focus-visible,
.reception-program-return:hover,
.reception-program-return:focus-visible {
  background: transparent;
  color: var(--ink);
  transform: translateY(-1px);
}

.reception-location-action[aria-disabled="true"] {
  pointer-events: none;
}

.reception-program-return-row {
  width: 100%;
  margin-top: clamp(34px, 10vw, 54px);
  display: flex;
  justify-content: center;
}

.reception-program-return {
  margin-inline: 0;
}

.reception-timeline {
  position: relative;
  margin-top: calc(clamp(30px, 9vw, 48px) - 20px);
  display: grid;
  gap: clamp(24px, 8vw, 38px);
}

.reception-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--line) 0,
    var(--line) 5px,
    transparent 5px,
    transparent 10px
  );
  transform: translateX(-50%);
}

.reception-timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: start;
}

.reception-timeline-time {
  grid-column: 1;
  justify-self: end;
  padding-top: 2px;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.66555rem, 2.811375vw, 0.94095rem);
  line-height: 1;
  white-space: nowrap;
}

.reception-timeline-marker {
  grid-column: 2;
  width: 22px;
  height: 22px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: clamp(0.493rem, 2.0825vw, 0.697rem);
  line-height: 1;
  z-index: 1;
}

.reception-timeline-card {
  grid-column: 3;
  min-width: 0;
  padding-top: 1px;
  text-align: left;
}

.reception-timeline-card p {
  margin: 0;
  font-size: clamp(0.66555rem, 2.811375vw, 0.94095rem);
  line-height: 1.18;
}

.reception-timeline-card p + p {
  margin-top: 7px;
}

.reception-timeline-back {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  margin: 40px auto 0;
  cursor: pointer;
}

.reception-timeline-back span {
  width: 10px;
  height: 10px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}

/* ===== PANTALLA 05 - REGISTRO DE ASISTENCIA ===== */

.attendance-register-screen {
  width: 100%;
  min-height: 100svh;
  padding: clamp(22px, 6vw, 34px) clamp(16px, 5vw, 24px) clamp(34px, 8vw, 52px);
  background: var(--paper);
  color: var(--ink);
  border-inline: 1px solid rgba(17, 17, 17, 0.12);
  text-align: center;
}

.attendance-register-header {
  margin-top: clamp(16px, 5vw, 28px);
  text-align: center;
}

.attendance-register-rule {
  height: 1px;
  background: var(--line);
}

.attendance-register-rule-double {
  margin-top: clamp(16px, 5vw, 26px);
  box-shadow: 0 4px 0 var(--line);
}

.attendance-register-kicker {
  margin: clamp(16px, 5vw, 26px) auto 0;
  font-family: "Domine", Georgia, serif;
  font-size: 14px;
  line-height: 1.2;
}

.attendance-register-header h2 {
  margin: clamp(10px, 4vw, 18px) 0 0;
  font-family: "Domine", Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-align: center;
}

.attendance-register-form {
  margin: clamp(34px, 10vw, 54px) auto 0;
  display: grid;
  gap: 18px;
  text-align: left;
}

.attendance-register-field,
.attendance-register-fieldset {
  display: grid;
  gap: 8px;
}

.attendance-register-field span,
.attendance-register-fieldset legend {
  font-family: "Domine", Georgia, serif;
  font-size: clamp(1.17rem, 4.8vw, 1.425rem);
  line-height: 1.25;
}

.attendance-register-message-label {
  font-size: 18px !important;
}

.attendance-register-confirmation-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.attendance-register-confirmation-header {
  margin-top: 0;
}

.attendance-register-confirmation-header h2 {
  font-size: clamp(1.12rem, 5vw, 1.55rem);
  line-height: 1.15;
}

.attendance-register-confirmation-yes-header h2 {
  font-size: clamp(0.952rem, 4.25vw, 1.318rem);
}

.attendance-register-confirmation-no-header h2 {
  font-size: clamp(0.952rem, 4.25vw, 1.318rem);
}

.attendance-register-confirmation-body {
  margin: clamp(30px, 9vw, 50px) auto 0;
  max-width: 34ch;
  display: grid;
  gap: clamp(14px, 4vw, 20px);
  text-align: center;
}

.attendance-register-confirmation-body p {
  margin: 0;
  font-size: clamp(0.88rem, 3.7vw, 1.08rem);
  line-height: 1.45;
}

.attendance-register-confirmation-yes-body p {
  font-size: clamp(0.748rem, 3.145vw, 0.918rem);
}

.attendance-register-confirmation-no-body p {
  font-size: clamp(0.748rem, 3.145vw, 0.918rem);
}

.attendance-register-confirmation-affection {
  margin-top: 15px !important;
}

.attendance-register-confirmation-no-affection {
  margin-top: 15px !important;
}

.attendance-register-confirmation-signature {
  font-family: "Domine", Georgia, serif;
  font-size: clamp(1.02rem, 4.4vw, 1.25rem) !important;
}

.attendance-register-confirmation-yes-signature {
  font-size: clamp(0.867rem, 3.74vw, 1.063rem) !important;
}

.attendance-register-confirmation-no-signature {
  font-size: clamp(0.867rem, 3.74vw, 1.063rem) !important;
}

.attendance-register-confirmation-home {
  width: min(100%, 220px);
  min-height: 40px;
  margin: clamp(10px, 4vw, 18px) auto 0;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Domine", Georgia, serif;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.attendance-register-confirmation-home:hover,
.attendance-register-confirmation-home:focus-visible {
  background: transparent;
  color: var(--ink);
  transform: translateY(-1px);
}

.attendance-register-field input,
.attendance-register-field textarea {
  width: 100%;
  border: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}

.attendance-register-field input {
  min-height: 38px;
  padding: 8px 10px;
}

.attendance-register-companion-note {
  margin: -8px auto -2px;
  color: rgba(17, 17, 17, 0.54);
  font-size: clamp(0.68rem, 2.3vw, 0.78rem);
  font-style: italic;
  line-height: 1.35;
  text-align: left;
}

.attendance-register-field textarea {
  min-height: 104px;
  padding: 10px;
  resize: vertical;
}

.attendance-register-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.attendance-register-fieldset legend {
  padding: 0;
}

.attendance-register-fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 1.3;
}

.attendance-register-fieldset input {
  margin: 0;
  accent-color: var(--ink);
}

.attendance-register-save {
  width: min(100%, 220px);
  min-height: 40px;
  margin: clamp(8px, 3vw, 16px) auto 0;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Domine", Georgia, serif;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.attendance-register-save:hover,
.attendance-register-save:focus-visible {
  background: transparent;
  color: var(--ink);
  transform: translateY(-1px);
}

.attendance-register-back {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  margin: 40px auto 0;
  cursor: pointer;
}

.attendance-register-back span {
  width: 10px;
  height: 10px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}

/* =========================================================
   PANTALLA 06 - NUESTROS RECUERDOS
   ========================================================= */

.shared-memories-screen {
  width: 100%;
  min-height: 100svh;
  padding: clamp(22px, 6vw, 34px) clamp(16px, 5vw, 24px) clamp(34px, 8vw, 52px);
  background: #ffffff;
  color: var(--ink);
  border-inline: 1px solid rgba(17, 17, 17, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.shared-memories-header {
  text-align: center;
}

.shared-memories-rule {
  border-top: 2px solid var(--line);
}

.shared-memories-rule-stack {
  margin-top: clamp(16px, 5vw, 26px);
  display: grid;
  gap: 4px;
}

.shared-memories-rule-stack span:first-child {
  border-top: 2px solid var(--line);
}

.shared-memories-rule-stack span:last-child {
  border-top: 1px solid var(--line);
}

.shared-memories-kicker {
  margin: clamp(16px, 5vw, 26px) auto 0;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.72rem, 3vw, 0.9rem);
  line-height: 1.2;
}

.shared-memories-header h2 {
  margin: clamp(10px, 4vw, 18px) 0 0;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(1.18rem, 6.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-align: center;
}

.shared-memories-body {
  margin: clamp(42px, 12vw, 68px) auto 0;
  max-width: 34ch;
  text-align: center;
}

.shared-memories-body p {
  margin: 0 auto;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.38;
  text-align: center;
}

.shared-memories-body p + p {
  margin-top: 16px;
}

.shared-memories-photo-link {
  width: min(100%, 250px);
  margin: clamp(28px, 8vw, 42px) auto 0;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.72rem, 3.1vw, 0.88rem);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 240ms ease,
    color 240ms ease,
    transform 240ms ease;
}

.shared-memories-photo-link:hover,
.shared-memories-photo-link:focus-visible {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}

.shared-memories-note {
  max-width: 38ch;
  margin-top: clamp(18px, 5vw, 26px) !important;
  color: var(--muted);
  font-size: clamp(0.72rem, 3.1vw, 0.88rem) !important;
  font-style: normal !important;
  line-height: 1.45 !important;
}

.shared-memories-navigation {
  margin: clamp(32px, 9vw, 48px) auto 0;
  width: 100%;
  display: grid;
  place-items: center;
}

.shared-memories-back {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.shared-memories-back span {
  width: 10px;
  height: 10px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}

/* =========================================================
PANTALLA 07 - LISTA DE REGALOS
Estado: EN DESARROLLO
========================================================= */

.gift-list-screen {
  width: 100%;
  min-height: 100svh;
  padding: clamp(22px, 6vw, 34px) clamp(16px, 5vw, 24px) clamp(34px, 8vw, 52px);
  background: var(--paper);
  color: var(--ink);
  border-inline: 1px solid rgba(17, 17, 17, 0.12);
}

.gift-list-header {
  margin-top: clamp(16px, 5vw, 28px);
  text-align: center;
}

.gift-list-rule {
  height: 1px;
  background: var(--line);
}

.gift-list-rule-double {
  margin-top: clamp(16px, 5vw, 26px);
  box-shadow: 0 4px 0 var(--line);
}

.gift-list-kicker {
  margin: clamp(16px, 5vw, 26px) auto 0;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.72rem, 3vw, 0.9rem);
  line-height: 1.2;
}

.gift-list-header h2 {
  margin: clamp(10px, 4vw, 18px) 0 0;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.708rem, 3.84vw, 1.32rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}

.gift-list-body {
  margin-top: clamp(42px, 14vw, 72px);
  text-align: center;
}

.gift-list-body p {
  margin: 0 auto;
  max-width: 30ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1rem, 5vw, 1.4rem);
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.gift-list-envelope-button {
  margin: clamp(24px, 8vw, 40px) auto 0;
  padding: 0;
  width: clamp(56px, 18vw, 84px);
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  animation: giftEnvelopeShake 2.8s ease-in-out infinite;
}

.gift-list-envelope-button img {
  width: 100%;
  height: auto;
  display: block;
}

.gift-list-modal[hidden] {
  display: none;
}

.gift-list-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 24px;
  background: rgba(17, 17, 17, 0.42);
  display: grid;
  place-items: center;
}

.gift-list-modal-card {
  position: relative;
  width: min(100%, 320px);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}

.gift-list-modal-inner {
  box-sizing: border-box;
  margin: 10px;
  padding: 24px;
  border: 1px solid var(--line);
}

.gift-list-modal-card h3 {
  margin: 0 0 18px;
  font-family: "Domine", Georgia, serif;
  font-size: clamp(0.88rem, 3.6vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.gift-list-modal-card p {
  margin: 0;
  font-size: clamp(0.78rem, 3.4vw, 0.95rem);
  line-height: 1.45;
}

.gift-list-modal-card p + p {
  margin-top: 14px;
}

.gift-list-modal-card span {
  font-family: "Domine", Georgia, serif;
}

.gift-list-modal-dismiss {
  margin: 22px auto 0;
  padding: 7px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: "Domine", Georgia, serif;
  font-size: 0.82rem;
  cursor: pointer;
}

@keyframes giftEnvelopeShake {
  0% {
    transform: translateX(0) rotate(0deg);
  }

  18% {
    transform: translateY(-15px) rotate(0deg);
  }

  24% {
    transform: translate(-2px, -15px) rotate(-2deg);
  }

  30% {
    transform: translate(2px, -15px) rotate(2deg);
  }

  36% {
    transform: translate(-1.5px, -15px) rotate(-1.5deg);
  }

  42% {
    transform: translate(1.5px, -15px) rotate(1.5deg);
  }

  52% {
    transform: translateY(-15px) rotate(0deg);
  }

  78%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gift-list-envelope-button {
    animation: none;
  }
}

.gift-list-back {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  margin: 40px auto 0;
  cursor: pointer;
}

.gift-list-back span {
  width: 10px;
  height: 10px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}
