/* ===== СТИЛИ САЙТА-ПОЗДРАВЛЕНИЯ ДЛЯ ХАДИЖИ ===== */

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/caveat-cyrillic.ttf') format('truetype');
}

:root {
  --bg-orange: #f3842c;
  --paper-cream: #fae5c7;
  --ink-color: #381c06;
  --ink-light: #522d10;
  --border-brown: #512411;
  --accent-terracotta: #c85a1a;
  --font-hand: 'Caveat', cursive, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* Мобильный экран без прокрутки страницы целиком */
html, body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background-color: var(--bg-orange);
  color: var(--ink-color);
  font-family: var(--font-hand);
  user-select: none;
  -webkit-user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

/* Фоновый арт (фото 1) */
body {
  background-image: url('assets/bg.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Фоновый канвас для летающих огоньков и пылинок */
#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Праздничный канвас для масштабного салюта, конфетти и искр поверх экрана */
#celebrationCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Главный контейнер приложения */
.app-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  height: 100dvh;
  max-height: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 10px;
  z-index: 2;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Верхняя панель: авторская кнопка звука */
.top-bar {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 30;
  margin-bottom: 4px;
  padding: 0 4px;
  min-height: 44px;
}

.drawn-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 6px rgba(81, 36, 17, 0.28));
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.drawn-icon-btn:hover {
  transform: translateY(-2px) scale(1.06);
}

.drawn-icon-btn:active {
  transform: translateY(1px) scale(0.95);
}

.music-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.music-btn.playing .music-img {
  animation: musicBob 1.6s infinite ease-in-out;
}

@keyframes musicBob {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-4deg) scale(1.05); }
  75% { transform: rotate(4deg) scale(1.05); }
}

/* Карточка открытки (Лист бумаги) */
.card-wrapper {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  filter: drop-shadow(0 10px 24px rgba(74, 30, 9, 0.35));
}

/* Фон листа бумаги */
.paper-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 1;
  border-radius: 18px;
}

/* Капельки по углам (фото 1) */
.drops-container {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.25s ease;
}

.drops-top {
  top: -10px;
  left: -12px;
  width: 62px;
  animation: dropWobbleLeft 4s infinite ease-in-out;
}

.drops-bot {
  bottom: -8px;
  right: -10px;
  width: 58px;
  animation: dropWobbleRight 4.5s infinite ease-in-out;
}

.drops-container img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(81, 36, 17, 0.18));
}

@keyframes dropWobbleLeft {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(2px, -3px) rotate(3deg) scale(1.05); }
  66% { transform: translate(-1px, 2px) rotate(-2deg) scale(0.98); }
}

@keyframes dropWobbleRight {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  40% { transform: translate(-2px, -3px) rotate(-3deg) scale(1.05); }
  75% { transform: translate(1px, 2px) rotate(2deg) scale(0.97); }
}

/* Персонаж Фуня */
.funya-container {
  position: absolute;
  top: -20px;
  right: -8px;
  width: 88px;
  cursor: pointer;
  z-index: 28;
  animation: funyaFloat 3.8s infinite ease-in-out;
  transform-origin: center bottom;
  touch-action: manipulation;
}

.funya-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(81, 36, 17, 0.28));
  transition: transform 0.12s ease-out;
}

.funya-container:hover .funya-img {
  transform: scale(1.08);
}

.funya-container:active .funya-img {
  transform: scale(0.94, 1.1) translateY(4px);
}

@keyframes funyaFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

.funya-container.celebrating-funya {
  animation: funyaHappyHop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes funyaHappyHop {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-16px) rotate(-8deg) scale(1.16); }
  55% { transform: translateY(0) rotate(0deg) scale(1.02); }
  80% { transform: translateY(-8px) rotate(6deg) scale(1.1); }
}

/* Реплика Фуни (использует плашку) */
.funya-speech-bubble {
  position: absolute;
  top: 14px;
  right: 80px;
  background-image: url('assets/plaque.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--ink-color);
  padding: 6px 20px 8px;
  font-family: var(--font-hand);
  font-size: 1.16rem;
  font-weight: 700;
  white-space: nowrap;
  filter: drop-shadow(0 4px 8px rgba(81, 36, 17, 0.25));
  opacity: 0;
  transform: translateY(4px) scale(0.9);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 35;
}

.funya-speech-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.funya-speech-bubble.initial-hint {
  animation: initialHintFloat 1.8s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(240, 88, 26, 0.45));
}

@keyframes initialHintFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.06);
  }
}

/* Область для текста письма строго внутри контура бумаги */
.content-viewport {
  position: absolute;
  top: 3.5%;
  bottom: 4.5%;
  left: 3.5%;
  right: 3.5%;
  box-sizing: border-box;
  z-index: 10;
  border-radius: 14px;
  padding: 16px 18px 40px 18px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 88, 26, 0.45) transparent;
}

.content-viewport::-webkit-scrollbar {
  width: 5px;
  display: block;
}

.content-viewport::-webkit-scrollbar-track {
  background: transparent;
}

.content-viewport::-webkit-scrollbar-thumb {
  background: rgba(185, 88, 26, 0.4);
  border-radius: 999px;
}

.bottom-spacer {
  height: 48px;
  width: 100%;
  flex-shrink: 0;
}

/* Авторская кнопка пролистывания вниз */
.scroll-down-btn {
  position: absolute;
  bottom: 5.5%;
  right: 5%;
  z-index: 24;
  background: none;
  border: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  filter: drop-shadow(0 3px 6px rgba(81, 36, 17, 0.3));
  animation: scrollBob 1.6s infinite ease-in-out;
}

.scroll-down-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.scroll-down-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-down-btn:hover {
  transform: scale(1.1);
}

.scroll-down-btn:active {
  transform: scale(0.92);
}

@keyframes scrollBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Страницы */
.page-content {
  display: none;
}

.page-content.active {
  display: block;
  opacity: 1;
}

.page-content.active .letter-inner {
  animation: pageTextSoftEntrance 0.35s ease-out;
}

@keyframes pageTextSoftEntrance {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Оформление рукописного письма */
.letter-inner {
  font-size: clamp(1.12rem, 3.4vw, 1.28rem);
  font-weight: 600;
  line-height: 1.34;
  color: var(--ink-color);
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.letter-inner p {
  margin-bottom: 8px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.25);
}

.page-heading {
  font-family: var(--font-hand);
  font-size: clamp(1.55rem, 5vw, 1.85rem);
  font-weight: 700;
  color: #2b1203;
  margin-bottom: 8px;
  padding-right: 55px; /* Защита от Фуни */
  border-bottom: 2px dashed rgba(81, 36, 17, 0.22);
  padding-bottom: 2px;
}

.greeting-lead {
  font-size: 1.22em;
  font-weight: 700;
  color: #240d00;
  margin-bottom: 6px;
  padding-right: 65px;
}

.plain-lead {
  font-size: 1.05em;
  line-height: 1.34;
  margin: 8px 0;
  color: #2a1102;
}

.thought-line {
  color: #401d07;
  font-size: 1.02em;
  line-height: 1.35;
  margin: 8px 0;
}

.whisper-text {
  font-size: 0.95em;
  color: #55280b;
  font-style: italic;
  opacity: 0.95;
  margin-top: 8px;
  border-top: 1px dotted rgba(81, 36, 17, 0.22);
  padding-top: 6px;
}

/* Страница 2 */
.personal-open {
  font-size: 1.08em;
  line-height: 1.38;
}

.personal-open strong {
  font-size: 1.2em;
  color: #c94608;
  font-weight: 700;
}

.quote-card {
  background: rgba(245, 215, 175, 0.55);
  border: 2px solid rgba(81, 36, 17, 0.25);
  border-radius: 12px;
  padding: 8px 12px;
  font-family: var(--font-hand);
  font-size: 1.08em;
  font-weight: 700;
  color: #351403;
  text-align: center;
  margin: 10px 0;
  line-height: 1.36;
  width: 100%;
  box-sizing: border-box;
}

/* Страницы стихов (3 и 4) */
.poem-page .page-heading {
  margin-bottom: 2px;
}

.poem-subtitle {
  font-size: 1.12rem;
  color: #8c4214;
  font-weight: 700;
  margin-bottom: 6px;
}

.poem-body {
  padding: 0 2px;
}

.stanza {
  margin-bottom: 10px;
  line-height: 1.34;
  font-size: clamp(1.14rem, 3.5vw, 1.28rem);
}

.stanza strong {
  color: #c24308;
  font-weight: 700;
}

/* 4-я страница: одинаковый размер шрифта для единообразия */
.poem-compact .stanza {
  margin-bottom: 8px;
  line-height: 1.32;
  font-size: clamp(1.14rem, 3.5vw, 1.28rem);
}

/* Финальная страница 5 */
.final-page {
  text-align: center;
}

.farewell-text {
  font-size: 1.12em;
  margin: 8px 0 12px;
}

.farewell-text strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15em;
  color: #c24308;
}

/* Интерактивный торт */
.birthday-surprise-box {
  background: rgba(254, 243, 227, 0.92);
  border: 2px dashed #b9581a;
  border-radius: 18px;
  padding: 14px 12px;
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px rgba(81, 36, 17, 0.12);
  width: 100%;
  box-sizing: border-box;
  transition: all 0.5s ease;
}

.birthday-surprise-box.celebrating {
  border-color: #ff9100;
  box-shadow: 0 0 32px rgba(255, 160, 0, 0.55), 0 4px 18px rgba(81, 36, 17, 0.16);
  animation: festiveGlowPulse 2.4s infinite alternate ease-in-out;
}

@keyframes festiveGlowPulse {
  0% {
    border-color: #ff9100;
    box-shadow: 0 0 24px rgba(255, 160, 0, 0.4), 0 4px 16px rgba(81, 36, 17, 0.14);
  }
  100% {
    border-color: #ff3d00;
    box-shadow: 0 0 38px rgba(255, 87, 34, 0.65), 0 6px 22px rgba(81, 36, 17, 0.2);
  }
}

.cake-invite-text {
  font-family: var(--font-hand);
  font-size: clamp(1.18rem, 4vw, 1.38rem);
  font-weight: 700;
  color: #b94b0f;
  margin-bottom: 6px;
  text-align: center;
  line-height: 1.25;
  animation: softPulse 2.2s infinite ease-in-out;
}

.cake-illustration {
  position: relative;
  cursor: pointer;
  margin-bottom: 8px;
  transition: transform 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.drawn-cake-img {
  width: 135px;
  height: auto;
  max-width: 65%;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 5px 10px rgba(81, 36, 17, 0.22));
  transition: transform 0.2s ease;
}

.cake-illustration:hover .drawn-cake-img {
  transform: scale(1.06);
}

.cake-illustration:active .drawn-cake-img {
  transform: scale(0.95);
}

.drawn-cake-img.blow-hop {
  animation: cakeBlowHop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cakeBlowHop {
  0% { transform: scale(1); }
  25% { transform: scale(1.18, 0.84); filter: brightness(1.25) drop-shadow(0 0 16px rgba(255, 180, 0, 0.75)); }
  50% { transform: scale(0.92, 1.12); }
  75% { transform: scale(1.06, 0.96); }
  100% { transform: scale(1); }
}

.cake-tap-hint {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  color: #c94f18;
  margin: 6px auto 2px;
  text-align: center;
  animation: tapHintPulse 1.8s ease-in-out infinite;
  user-select: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

@keyframes tapHintPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-3px) scale(1.05);
    opacity: 1;
    text-shadow: 0 0 10px rgba(240, 88, 26, 0.4);
  }
}

.wish-revealed {
  display: none;
  margin-top: 8px;
  width: 100%;
}

.wish-revealed.celebrating-revealed {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Фирменная плашка */
.birthday-plaque-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/plaque.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 8px 26px 10px;
  margin: 4px auto 8px;
  filter: drop-shadow(0 4px 8px rgba(81, 36, 17, 0.2));
  animation: badgePop 2s infinite ease-in-out;
}

.wish-revealed.celebrating-revealed .birthday-plaque-badge {
  animation: plaqueCelebrationDrop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.plaque-text {
  font-family: var(--font-hand);
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  font-weight: 700;
  color: #3d1b06;
}

.wish-cheer-title {
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 4.3vw, 1.5rem);
  font-weight: 700;
  color: #c24308;
  margin: 6px 0 6px;
  text-align: center;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(255, 193, 7, 0.3);
}

.wish-revealed.celebrating-revealed .wish-cheer-title {
  animation: cheerBounceIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.22s both;
}

.wish-message {
  font-size: 1.16rem;
  line-height: 1.36;
  color: #351403;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.wish-revealed.celebrating-revealed .wish-message {
  animation: wishMessageFadeIn 0.6s ease-out 0.44s both;
}

.wish-heartfelt-line {
  font-size: 1.22rem;
  line-height: 1.34;
  color: #7c2203;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 236, 205, 0.85), rgba(255, 224, 178, 0.65));
  border: 1.5px dashed rgba(220, 95, 20, 0.55);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 6px 0 2px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(230, 81, 0, 0.12);
}

.wish-revealed.celebrating-revealed .wish-heartfelt-line {
  animation: heartfeltGlowIn 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.66s both;
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes badgePop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes plaqueCelebrationDrop {
  0% {
    opacity: 0;
    transform: translateY(-24px) scale(0.65) rotate(-5deg);
  }
  60% {
    opacity: 1;
    transform: translateY(4px) scale(1.08) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes cheerBounceIn {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(12px);
  }
  60% {
    opacity: 1;
    transform: scale(1.1) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes wishMessageFadeIn {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heartfeltGlowIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.restart-link-btn {
  background: none;
  border: none;
  color: #8c4214;
  font-family: var(--font-hand);
  font-size: 1.22rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 6px;
  transition: color 0.2s;
}

.restart-link-btn:hover {
  color: #e05412;
}

/* Точки индикации страниц */
.page-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 6px 0 4px;
  z-index: 20;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(81, 36, 17, 0.28);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 22px;
  border-radius: 6px;
  background: #ce5515;
  box-shadow: 0 0 6px rgba(206, 85, 21, 0.5);
}

/* Нижняя панель навигации (вынесена за пределы листа) */
.bottom-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  z-index: 20;
  min-height: 48px;
  padding: 0 6px;
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.nav-btn:active {
  transform: translateY(2px) scale(0.96);
}

.nav-btn.hidden {
  display: none !important;
}

.drawn-btn-img {
  width: 100%;
  height: auto;
  max-height: 52px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(81, 36, 17, 0.25));
}

.next-btn {
  width: clamp(170px, 48%, 210px);
}

.prev-btn {
  width: clamp(140px, 42%, 180px);
}

/* Если кнопка "ЛИСТАТЬ" одна на 1-й странице — центрируем и делаем крупнее */
.prev-btn.hidden + .next-btn {
  width: clamp(200px, 60%, 250px);
}

/* Адаптивность для небольших экранов */
@media (max-height: 740px) {
  .app-container {
    padding: 2px 8px 6px;
  }
  .top-bar {
    min-height: 38px;
    margin-bottom: 2px;
  }
  .drawn-icon-btn {
    width: 38px;
    height: 38px;
  }
  .content-viewport {
    top: 3%;
    bottom: 4%;
    left: 3%;
    right: 3%;
    padding: 12px 14px 34px 14px;
  }
  .page-heading {
    font-size: 1.35rem;
    margin-bottom: 2px;
    padding-right: 48px;
    padding-bottom: 1px;
  }
  .poem-subtitle {
    font-size: 1.02rem;
    margin-bottom: 2px;
  }
  .letter-inner {
    font-size: 1.05rem;
    line-height: 1.22;
  }
  .funya-container {
    width: 74px;
    top: -16px;
    right: -6px;
  }
  .funya-speech-bubble {
    top: 10px;
    right: 68px;
    font-size: 1.02rem;
    padding: 5px 14px 6px;
  }
  .drops-top {
    width: 48px;
    top: -8px;
    left: -8px;
  }
  .drops-bot {
    width: 44px;
    bottom: -6px;
    right: -8px;
  }
  .poem-page .stanza,
  .poem-compact .stanza {
    margin-bottom: 6px;
    line-height: 1.28;
    font-size: 1.08rem;
  }
  .bottom-spacer {
    height: 36px;
  }
  .bottom-nav {
    min-height: 38px;
  }
  .drawn-btn-img {
    max-height: 40px;
  }
  .drawn-cake-img {
    width: 108px;
  }
  .birthday-surprise-box {
    padding: 10px 8px;
    margin: 6px 0 10px;
  }
  .cake-invite-text {
    font-size: 1.12rem;
    margin-bottom: 4px;
  }
  .cake-tap-hint {
    font-size: 1.18rem;
  }
  .wish-cheer-title {
    font-size: 1.22rem;
    margin: 4px 0 4px;
  }
  .wish-message {
    font-size: 1.06rem;
    line-height: 1.28;
    margin-bottom: 6px;
  }
  .wish-heartfelt-line {
    font-size: 1.1rem;
    padding: 6px 10px;
  }
}

@media (min-width: 600px) {
  .card-wrapper {
    max-height: 780px;
  }
}
