/* ==========================================================================
   DIWALI CELEBRATION 2026 - MODERN FESTIVE STYLESHEET
   Mobile-first, 60fps compositor animations, physics-based easing curves,
   accessible reduced-motion fallbacks, and dialog modal scrolling controls.
   ========================================================================== */

:root {
  /* Festive Palette */
  --gold-primary: #FFD700;
  --gold-light: #FFF0A8;
  --gold-deep: #D4AF37;
  --amber-glow: #FF9800;
  --flame-orange: #FF5722;
  --festive-crimson: #E63946;
  --ruby-red: #C1121F;
  --royal-purple: #1A0B2E;
  --night-sky-dark: #070719;
  --night-sky-mid: #140C29;
  --peacock-teal: #00F5D4;
  --peacock-blue: #0077B6;
  --text-primary: #FFFFFF;
  --text-muted: #E2D9F3;

  /* Physics-Based Easing Stop Curves from Modern Web Guidance */
  --spring-easing: linear(0, 0.016 0.5%, 0.06 1%, 0.226 2%, 1.116 5.4%, 1.375 6.6%, 1.527 7.7%, 1.565 8.2%, 1.585 8.8%, 1.581 9.3%, 1.559 9.8%, 1.458 10.9%, 0.937 14.3%, 0.784 15.5%, 0.693 16.6%, 0.67 17.1%, 0.657 17.7%, 0.671 18.7%, 0.729 19.8%, 1.042 23.3%, 1.13 24.5%, 1.182 25.6%, 1.201 26.7%, 1.192 27.7%, 1.156 28.8%, 0.977 32.2%, 0.925 33.4%, 0.894 34.5%, 0.882 35.6%, 0.887 36.6%, 0.907 37.7%, 1.045 42.4%, 1.069 44.5%, 1.059 46.3%, 0.979 50.9%, 0.96 53.4%, 0.966 55.3%, 1.013 59.9%, 1.024 62.3%, 0.986 71.2%, 1.008 79.9%, 0.995 88.9%, 1);
  --bounce-easing: linear(0, 0.214 14.7%, 0.386 23.7%, 0.598 31.9%, 0.999 44.7%, 0.807 52.6%, 0.762 56%, 0.747 59.4%, 0.758 62.4%, 0.793 65.6%, 0.999 77.4%, 0.961 81.2%, 0.949 84.8%, 0.956 88%, 0.993 95.5%, 1);
  --smooth-curve: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--night-sky-dark);
  color: var(--text-primary);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  touch-action: manipulation;
}

/* Base night sky gradient */
body {
  background: radial-gradient(circle at 50% 10%, #2A1152 0%, #15092E 40%, var(--night-sky-dark) 85%);
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Background celestial layers */
.sky-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sky-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 40px 70px, #ffd700, rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 90px 40px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 160px 120px, #ffe4b5, rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 230px 190px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 310px 80px, #ffb703, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 390px 220px, #ffffff, rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 300px 300px;
  opacity: 0.65;
  animation: twinkle 8s ease-in-out infinite alternate;
}

/* Distant Haveli / Palace Silhouettes for authentic Royal Diwali Night */
.haveli-palace-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
  opacity: 0.75;
}

.palace-svg {
  width: 100%;
  height: 100%;
}

@keyframes twinkle {
  0% {
    opacity: 0.45;
  }

  50% {
    opacity: 0.75;
  }

  100% {
    opacity: 0.55;
  }
}

/* Ambient glow on big firework bursts */
#sky-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  left: -200px;
  top: -200px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.28) 0%, rgba(255, 69, 0, 0.12) 40%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

#sky-glow.active {
  opacity: 1;
  transition: none;
}

/* Fireworks Interactive Canvas */
#fireworks-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: crosshair;
}

/* Main UI Container */
.celebration-app {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
  padding: 16px 20px 24px;
  pointer-events: none;
  /* Let clicks fall through to canvas, children re-enable pointer-events */
}

.celebration-app>* {
  pointer-events: auto;
}

/* ==========================================================================
   TOP HEADER & CONTROLS
   ========================================================================== */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 12px rgba(255, 215, 0, 0.15);
  text-decoration: none;
}

.hub-backlink-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.25s ease;
}

.hub-backlink-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.6);
  color: #FFF;
  transform: translateY(-2px);
}

.brand-badge .diya-icon {
  font-size: 1.1rem;
  animation: flame-wiggle 2s ease-in-out infinite;
}

@keyframes flame-wiggle {

  0%,
  100% {
    transform: rotate(-3deg) scale(1);
  }

  50% {
    transform: rotate(4deg) scale(1.08);
  }
}

.controls-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.25s var(--smooth-curve), background 0.25s, border-color 0.25s;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 215, 0, 0.18);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  outline: none;
}

.icon-button:active {
  transform: scale(0.96);
}

.icon-button.playing {
  background: rgba(255, 215, 0, 0.22);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.icon-button.calm-mode {
  background: rgba(0, 245, 212, 0.15);
  border-color: var(--peacock-teal);
  color: #E0FCF7;
}

/* Floating Music Unlock Pill */
.floating-music-pill {
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 15;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4), 0 0 16px rgba(255, 215, 0, 0.3);
  cursor: pointer;
  animation: pulse-gentle 2.2s infinite var(--smooth-curve);
  transition: opacity 0.3s, transform 0.3s;
}

.floating-music-pill.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

@keyframes pulse-gentle {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ==========================================================================
   HERO GREETING SECTION
   ========================================================================== */
.hero-greeting {
  text-align: center;
  margin: 18px auto 8px;
  max-width: 680px;
  padding: 0 10px;
}

.festive-toran {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1.25rem;
  opacity: 0.9;
  animation: toran-sway 4s ease-in-out infinite alternate;
}

@keyframes toran-sway {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(4px);
  }
}

.festive-title {
  font-family: 'Baloo 2', 'Outfit', cursive, sans-serif;
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #FFF9D2 0%, #FFD700 45%, #FFA500 80%, #FF6D00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 14px rgba(255, 152, 0, 0.45));
}

.recipient-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #00F5D4, #70E000, #FFD700);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: underline wavy rgba(255, 215, 0, 0.6);
  text-underline-offset: 6px;
}

.festive-message {
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 12px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.greeting-sender-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.92rem;
  color: var(--gold-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  margin-top: 4px;
}

.greeting-sender-card.hidden {
  display: none;
}

.sky-tap-hint {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

.sparkle-pulse {
  animation: pulse-gentle 1.8s infinite ease-in-out;
}

/* ==========================================================================
   MASCOTS SECTION (Golu & Mithoo)
   ========================================================================== */
.mascots-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(30px, 10vw, 100px);
  margin: 8px auto 16px;
  max-width: 600px;
  position: relative;
}

.mascot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  outline: none;
}

.mascot-character {
  position: relative;
  width: clamp(120px, 30vw, 165px);
  height: clamp(135px, 34vw, 185px);
  transition: transform 0.4s var(--smooth-curve);
  user-select: none;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

.mascot-character:hover {
  transform: translateY(-6px) scale(1.03);
}

/* Speech bubbles */
.speech-bubble {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.85);
  background: rgba(255, 255, 255, 0.95);
  color: #1A0B2E;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  width: max-content;
  max-width: 190px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.3s var(--spring-easing), visibility 0.25s;
  z-index: 20;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
}

.speech-bubble.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-18px) scale(1);
}

.mascot-tag {
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}

/* Mascot SVG Styling & Animations */
.mascot-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Idle Breathing & Bobbing */
.mascot-character.idle-bob {
  animation: mascot-bob 3.2s ease-in-out infinite alternate;
}

#character-mithoo.idle-bob {
  animation-delay: -1.6s;
}

@keyframes mascot-bob {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-7px) rotate(-1.5deg);
  }

  100% {
    transform: translateY(0) rotate(1.5deg);
  }
}

/* Golu Spring Bounce Action (Using modern linear physics curve) */
.mascot-character.bounce-action {
  animation: mascot-spring-jump 0.75s var(--spring-easing);
}

@keyframes mascot-spring-jump {
  0% {
    transform: scale(1, 1) translateY(0);
  }

  25% {
    transform: scale(1.15, 0.85) translateY(10px);
  }

  50% {
    transform: scale(0.9, 1.25) translateY(-32px) rotate(8deg);
  }

  75% {
    transform: scale(1.05, 0.95) translateY(0) rotate(-4deg);
  }

  100% {
    transform: scale(1, 1) translateY(0);
  }
}

/* Mithoo 360 Spin Action */
.mascot-character.spin-action {
  animation: mascot-spin-launch 0.85s var(--smooth-curve);
}

@keyframes mascot-spin-launch {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.18) translateY(-20px);
  }

  100% {
    transform: rotate(360deg) scale(1) translateY(0);
  }
}

/* Synchronized Dancing Mode */
.mascot-character.dancing {
  animation: mascot-bhangra 0.55s ease-in-out infinite alternate !important;
}

#character-mithoo.dancing {
  animation-delay: -0.27s !important;
}

@keyframes mascot-bhangra {
  0% {
    transform: translateY(0) rotate(-6deg) scale(0.98, 1.02);
  }

  100% {
    transform: translateY(-16px) rotate(6deg) scale(1.02, 0.98);
  }
}

/* Sparkler sparks from Golu's sparkler */
.sparkler-flame {
  transform-origin: center;
  animation: sparkler-flicker 0.12s infinite alternate;
}

@keyframes sparkler-flicker {
  0% {
    opacity: 0.8;
    transform: scale(0.9) rotate(-4deg);
  }

  100% {
    opacity: 1;
    transform: scale(1.2) rotate(4deg);
  }
}

/* Flame hair on Mithoo */
.mithoo-flame {
  transform-origin: bottom center;
  animation: flame-dance 0.4s ease-in-out infinite alternate;
}

@keyframes flame-dance {
  0% {
    transform: scale(1, 1) skewX(-4deg);
  }

  100% {
    transform: scale(1.08, 1.15) skewX(4deg);
  }
}

/* ==========================================================================
   INTERACTIVE SACRED DIYAS & RANGOLI FLOOR
   ========================================================================== */
.diyas-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 12px;
  position: relative;
}

.diyas-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 520px;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 9999px;
  font-size: 0.84rem;
}

.diya-counter {
  font-weight: 700;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.diya-status-message {
  color: var(--text-muted);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Diyas Row */
.diyas-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 3.5vw, 24px);
  width: 100%;
  padding: 10px 0;
  position: relative;
  z-index: 10;
}

.interactive-diya {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  outline: none;
  transition: transform 0.25s var(--smooth-curve);
}

.interactive-diya:hover,
.interactive-diya:focus-visible {
  transform: translateY(-4px) scale(1.06);
}

.interactive-diya:active {
  transform: scale(0.94);
}

.diya-graphic {
  position: relative;
  width: clamp(52px, 13vw, 76px);
  height: clamp(48px, 12vw, 70px);
}

.diya-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Diya Flame States */
.diya-flame-group {
  opacity: 0;
  transform-origin: center bottom;
  transform: scale(0.2);
  transition: opacity 0.4s var(--smooth-curve), transform 0.5s var(--spring-easing);
}

.interactive-diya.is-lit .diya-flame-group {
  opacity: 1;
  transform: scale(1);
  animation: diya-burn 1.2s ease-in-out infinite alternate;
}

@keyframes diya-burn {
  0% {
    transform: scale(1, 1) skewX(-2deg) rotate(-1.5deg);
  }

  25% {
    transform: scale(1.05, 1.14) skewX(2.5deg) rotate(1.8deg);
  }

  50% {
    transform: scale(0.97, 1.06) skewX(-1.8deg) rotate(-1.2deg);
  }

  75% {
    transform: scale(1.06, 1.18) skewX(2.8deg) rotate(2deg);
  }

  100% {
    transform: scale(1, 1) skewX(-2deg) rotate(-1.5deg);
  }
}

.diya-glow {
  position: absolute;
  width: 90px;
  height: 90px;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 215, 0, 0.55) 0%, rgba(255, 87, 34, 0.28) 45%, transparent 75%);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  animation: diya-glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes diya-glow-pulse {
  0% {
    transform: translateX(-50%) scale(0.95);
    opacity: 0.85;
  }

  100% {
    transform: translateX(-50%) scale(1.08);
    opacity: 1;
  }
}

.interactive-diya.is-lit .diya-glow {
  opacity: 1;
}

.diya-label {
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.interactive-diya.is-lit .diya-label {
  color: var(--gold-light);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Floating Blessing Toast on lighting diya */
.floating-blessing {
  position: fixed;
  transform: translate(-50%, -100%);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 140, 0, 0.95));
  color: #1A0B2E;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 100;
  animation: float-up-fade 2.6s var(--smooth-curve) forwards;
}

.floating-blessing strong {
  font-size: 0.88rem;
  font-weight: 700;
}

@keyframes float-up-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.8);
  }

  15% {
    opacity: 1;
    transform: translate(-50%, -35px) scale(1);
  }

  80% {
    opacity: 1;
    transform: translate(-50%, -60px) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -85px) scale(0.9);
  }
}

/* Floor Rangoli Graphic */
.rangoli-platform {
  width: 100%;
  max-width: 620px;
  height: 64px;
  margin-top: -32px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rangoli-mandala-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.45));
}

/* ==========================================================================
   ACTION TOOLBAR & EASY SHARING BUTTONS
   ========================================================================== */
.bottom-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.action-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.action-pill {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s var(--smooth-curve), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.action-pill:hover,
.action-pill:focus-visible {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.25);
  outline: none;
}

.action-pill:active {
  transform: scale(0.95);
}

.action-pill.highlight {
  background: linear-gradient(135deg, rgba(255, 109, 0, 0.8), rgba(255, 215, 0, 0.85));
  border-color: #FFE082;
  color: #12072B;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 109, 0, 0.35);
}

.action-pill.highlight:hover {
  background: linear-gradient(135deg, #FF6D00, #FFD700);
  transform: translateY(-2px) scale(1.02);
}

/* Easy Sharing Bar */
.share-action-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}

.share-main-btn {
  flex: 1;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 22px;
  border-radius: 9999px;
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 15px rgba(255, 215, 0, 0.2);
  transition: transform 0.25s var(--smooth-curve), box-shadow 0.25s;
}

.share-main-btn:hover,
.share-main-btn:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  outline: none;
}

.share-main-btn:active {
  transform: scale(0.96);
}

.customize-wish-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--gold-light);
  padding: 12px 20px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.customize-wish-btn:hover,
.customize-wish-btn:focus-visible {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  outline: none;
}

/* Floating WhatsApp Quick-Share Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 50;
  background: #25D366;
  color: #fff;
  border: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--spring-easing), box-shadow 0.3s;
}

.floating-whatsapp-btn:hover,
.floating-whatsapp-btn:focus-visible {
  transform: scale(1.12);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  outline: none;
}

.floating-whatsapp-btn:active {
  transform: scale(0.92);
}

.whatsapp-icon-svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   MODERN ACCESSIBLE SHARE DIALOG (<dialog>)
   Adhering to Modern Web Guidance on Dialogs & Scrolling
   ========================================================================== */
dialog#share-dialog {
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 24px;
  background: linear-gradient(160deg, #1E0F3D 0%, #110724 100%);
  color: #ffffff;
  padding: 28px 24px;
  width: min(92vw, 480px);
  margin: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 215, 0, 0.2);
}

/* MANDATORY per Modern Web Guidance: stop background scrolling */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(5, 3, 15, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dialog-title {
  font-family: 'Baloo 2', 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dialog-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dialog-close-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08);
}

.dialog-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.share-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.form-input,
.form-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.form-select option {
  background: #190B2E;
  color: #fff;
}

.link-preview-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 215, 0, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--gold-light);
  word-break: break-all;
  max-height: 60px;
  overflow-y: auto;
}

/* Modal Sharing Buttons */
.share-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.share-btn-primary {
  grid-column: span 2;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.share-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.share-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.share-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.copy-feedback-toast {
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: #00F5D4;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
  height: 20px;
}

.copy-feedback-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MAHA CELEBRATION TOAST / BANNER
   ========================================================================== */
.maha-celebration-toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: linear-gradient(135deg, #FF6D00, #FFD700);
  color: #12072B;
  padding: 14px 24px;
  border-radius: 9999px;
  box-shadow: 0 16px 40px rgba(255, 109, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.4);
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--smooth-curve), transform 0.5s var(--spring-easing);
}

.maha-celebration-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION PREFERENCES
   Follows modern-web-guidance for prefers-reduced-motion
   ========================================================================== */
/* Mobile Small Screen Fine-tuning */
@media (max-width: 480px) {
  .celebration-app {
    padding: 12px 14px 20px;
  }

  .controls-bar .btn-label {
    display: none;
    /* Icon only on extra small screens */
  }

  .action-pill {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .share-action-bar {
    flex-direction: column;
    width: 100%;
  }

  .share-main-btn,
  .customize-wish-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   CINEMATIC NIGHT — atmospheric depth, warm materials and restrained motion.
   Decorative layers stay static; only transforms and opacity animate.
   ========================================================================== */
:root {
  --gold-primary: #edc77d;
  --gold-light: #fff0c8;
  --text-muted: #d5cde1;
  --spring-easing: cubic-bezier(0.22, 1.35, 0.36, 1);
  --surface-edge: rgba(231, 198, 143, 0.22);
  --diya-warmth: 0;
  color-scheme: dark;
}

body {
  background: radial-gradient(ellipse at 50% 36%, #29203e 0%, #14152c 42%, #070c1b 85%);
  background-attachment: fixed;
  min-height: 100svh;
}

.sky-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(3, 6, 16, 0.55) 100%);
}

.sky-stars {
  background-size: 470px 430px;
  opacity: 0.45;
  animation-duration: 11s;
}

.sky-stars-distant {
  transform: rotate(17deg) scale(1.25);
  background-size: 610px 570px;
  opacity: 0.2;
  animation: none;
}

.celestial-moon {
  position: absolute;
  top: clamp(86px, 14vh, 160px);
  right: max(8%, calc((100vw - 1100px) / 2));
  width: clamp(30px, 5vw, 56px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffefd3 0%, #d2c5b2 48%, #6c728b 100%);
  box-shadow: 0 0 24px #e8d3ad20, 0 0 90px 30px #d6dcff09;
  opacity: 0.65;
}

.celestial-moon::after {
  content: '';
  position: absolute;
  inset: 1px -3px 6px 8px;
  border-radius: 50%;
  background: #12172a;
}

.horizon-haze {
  position: absolute;
  inset: 35% -20% -10%;
  background: radial-gradient(ellipse at 50% 100%, #ca78301c, #734a7312 40%, transparent 68%);
}

.haveli-palace-silhouette {
  height: clamp(140px, 25vh, 280px);
  opacity: 0.65;
}

#sky-glow {
  width: 680px;
  height: 680px;
  left: -340px;
  top: -340px;
  background: radial-gradient(circle, rgba(var(--burst-color, 255, 192, 92), 0.13), transparent 65%);
  transition: opacity 850ms ease-out;
}

.celebration-app {
  min-height: 100svh;
  gap: 22px;
  padding: max(22px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(30px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}

.top-header { max-width: 1120px; }
.brand-badge, .icon-button, .action-pill, .customize-wish-btn, .diyas-status-bar {
  background: linear-gradient(145deg, rgba(72, 61, 82, 0.52), rgba(17, 21, 37, 0.72));
  border-color: var(--surface-edge);
  box-shadow: inset 0 1px 0 #fff5df0c, 0 6px 18px #02051030;
}

.brand-badge { box-shadow: inset 0 1px 0 #fff5df12, 0 0 20px #e1b2690a; }
.icon-button, .action-pill, .dialog-close-btn { min-height: 44px; }
.icon-button { min-width: 44px; justify-content: center; }
.floating-music-pill {
  top: auto;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: max(24px, env(safe-area-inset-left));
  right: auto;
  padding: 10px 14px;
  min-height: 44px;
  background: linear-gradient(135deg, #57422d, #302637);
  border: 1px solid #e9bf7659;
  color: #ffe9ba;
  box-shadow: inset 0 1px 0 #ffedce17, 0 8px 24px #05081266;
  font-size: 0.78rem;
  animation: none;
}
.floating-music-pill.hidden { visibility: hidden; }
.hero-greeting { max-width: 800px; margin: 8px auto 4px; }
.festive-toran { opacity: 0.75; font-size: 1.05rem; gap: 18px; margin-bottom: 14px; }
.celebration-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d4b98c;
  margin-bottom: 14px;
}
.festive-title {
  font-size: clamp(2.3rem, 6.5vw, 4.5rem);
  letter-spacing: -0.025em;
  background: linear-gradient(175deg, #fff9e5 12%, #f6dfaa 38%, #d6a858 64%, #fff0be 80%, #b67f42);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 2px 1px #6d401b66) drop-shadow(0 8px 26px #eab15b24);
}
.festive-message { font-size: clamp(0.95rem, 2.5vw, 1.1rem); line-height: 1.75; max-width: 620px; }
.sky-tap-hint { font-size: 0.75rem; color: #bcb5cc; margin-top: 16px; }
.mascots-stage { gap: clamp(48px, 12vw, 150px); margin: 18px auto 8px; isolation: isolate; }
.mascots-stage::before {
  content: '';
  position: absolute;
  width: 145%;
  height: 90%;
  bottom: -10px;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 85%, #e9b16c13, #8b659e0b 38%, transparent 70%);
  pointer-events: none;
}
.mascot-container::after {
  content: '';
  position: absolute;
  top: calc(100% - 38px);
  width: 86%;
  height: 20px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(ellipse, #02040be6, #09081544 48%, transparent 72%);
  transform: scaleY(0.6);
  pointer-events: none;
}
.mascot-character {
  transform-origin: 50% 92%;
  filter: drop-shadow(-2px -1px 1px #ffdf9d33) drop-shadow(2px 8px 8px #02051080);
}
.mascot-pupil { transition: transform 120ms ease-out; transform-box: fill-box; transform-origin: center; }
.mascot-character.idle-bob { animation-name: cinematic-breathe; animation-duration: 4.8s; }
@keyframes cinematic-breathe {
  from { transform: translateY(0) rotate(-0.5deg) scale(1, 1); }
  to { transform: translateY(-4px) rotate(0.5deg) scale(1.006, 1.012); }
}
.mascot-tag { background: #0c1020a6; border-color: #d7b77630; font-size: 0.68rem; padding: 4px 14px; }
.speech-bubble { font-weight: 500; background: #fff4df; border: 1px solid #e9cd9b; box-shadow: 0 8px 30px #03061450; max-width: min(190px, 44vw); }
.speech-bubble::after { border-top-color: #fff4df; }
.diyas-section { isolation: isolate; margin-bottom: 0; padding: 10px 12px 0; }
.diyas-section::before {
  content: '';
  position: absolute;
  inset: 10% -10% -15%;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 70%, #ffa64638, #b65b1b0e 40%, transparent 70%);
  opacity: var(--diya-warmth);
  transition: opacity 900ms ease;
  pointer-events: none;
}
.diyas-status-bar { padding: 8px 16px; gap: 18px; max-width: 560px; }
.diya-status-message { font-size: 0.72rem; }
.diyas-row { padding: 18px 0 8px; gap: clamp(8px, 3vw, 30px); }
.interactive-diya { min-width: 44px; min-height: 64px; }
.diya-graphic { filter: drop-shadow(0 5px 3px #02040b99); }
.diya-flame-group { transform-box: fill-box; transform-origin: 50% 100%; }
.interactive-diya.is-lit .diya-flame-group { animation: candle-breathe 1.7s ease-in-out infinite alternate; filter: drop-shadow(0 0 3px #ffd793aa); }
@keyframes candle-breathe {
  0%, 100% { transform: scale(0.96, 1.01) rotate(-1deg); }
  35% { transform: scale(1.02, 0.94) rotate(1.5deg); }
  72% { transform: scale(0.98, 1.06) rotate(-1.5deg); }
}
.diya-glow { animation: none; opacity: 0; background: radial-gradient(ellipse, #ffdaa346, #e7882624 35%, transparent 70%); width: 120px; height: 110px; top: -30px; }
.interactive-diya.is-lit .diya-glow { animation: diya-glow-pulse 3.2s ease-in-out infinite alternate; }
.interactive-diya:nth-child(2n) .diya-flame-group { animation-delay: -0.7s; }
.interactive-diya:nth-child(3n) .diya-flame-group { animation-delay: -1.3s; }
.interactive-diya:nth-child(2n) .diya-glow { animation-delay: -1.6s; }
.diya-label { font-size: clamp(0.6rem, 1.6vw, 0.72rem); white-space: nowrap; }
.rangoli-platform { height: 70px; margin-top: -28px; opacity: 0.65; }
.rangoli-mandala-svg { filter: drop-shadow(0 4px 2px #05071166); }
.bottom-controls { gap: 18px; padding-bottom: 64px; max-width: 900px; }
.action-pill { font-size: 0.76rem; padding: 10px 15px; }
.action-pill.highlight { background: linear-gradient(135deg, #f7dda1, #c79a53); border-color: #ffeac2; box-shadow: inset 0 1px 0 #fff6d9, 0 6px 22px #c8904526; }
.action-pill.active { border-color: #e5c17b; background: #ad80452e; }
.share-main-btn { background: linear-gradient(145deg, #227951, #165c48); box-shadow: inset 0 1px 0 #c0f4d129, 0 8px 24px #030a1255; font-size: 0.9rem; }
.share-action-bar { max-width: 560px; }
.customize-wish-btn { font-size: 0.84rem; min-height: 48px; justify-content: center; }
.floating-whatsapp-btn { width: 46px; height: 46px; background: #227951; box-shadow: 0 6px 20px #030a1266; bottom: max(24px, env(safe-area-inset-bottom)); }
.maha-celebration-toast { width: max-content; max-width: calc(100vw - 32px); text-align: center; justify-content: center; border-radius: 20px; font-size: 0.95rem; background: linear-gradient(135deg, #f8e4b7, #d2aa68); box-shadow: 0 12px 40px #03061480; }
.floating-blessing { border: 1px solid #f5deb2; background: linear-gradient(145deg, #fae7c0, #d9ad68); border-radius: 16px; max-width: calc(100vw - 24px); text-align: center; }

dialog#share-dialog { max-height: calc(100svh - 32px); overflow-y: auto; background: radial-gradient(ellipse at top left, #342a42, #111627 80%); box-shadow: 0 24px 80px #02040be0, inset 0 1px 0 #fff3d51a; }
dialog[open] { animation: dialog-arrive 260ms var(--smooth-curve); }
@keyframes dialog-arrive { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.dialog-close-btn { min-width: 44px; }
.form-input, .form-select { min-height: 44px; }
body :is(button, [role="button"], input, select):focus-visible { outline: 2px solid #ffe3a5; outline-offset: 5px; }

@media (hover: none) {
  .icon-button:hover, .action-pill:hover, .action-pill.highlight:hover, .share-main-btn:hover, .customize-wish-btn:hover, .floating-whatsapp-btn:hover, .interactive-diya:hover, .mascot-character:hover { transform: none; }
}
@media (max-width: 600px) {
  .celebration-app { gap: 18px; padding: max(14px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom)); }
  .brand-badge { font-size: 0.72rem; padding: 8px 10px; }
  .controls-bar { gap: 6px; }
  .controls-bar .btn-label { display: none; }
  .icon-button { padding: 8px 12px; }
  .festive-title { font-size: clamp(2.1rem, 7.7vw, 3.4rem); }
  .celebration-eyebrow { font-size: 0.55rem; letter-spacing: 0.17em; }
  .hero-greeting { padding: 0 4px; }
  .celestial-moon { opacity: 0.4; right: 7%; top: 100px; }
  .mascots-stage { margin-top: 16px; gap: clamp(34px, 12vw, 72px); }
  .mascot-character { width: clamp(112px, 28vw, 145px); height: clamp(126px, 32vw, 162px); }
  .diyas-section { padding: 0; }
  .diyas-status-bar { gap: 10px; padding: 8px 12px; }
  .diya-status-message { max-width: 58%; font-size: 0.65rem; }
  .diya-counter { font-size: 0.72rem; white-space: nowrap; }
  .diyas-row { gap: 2px; justify-content: space-between; }
  .diya-graphic { width: clamp(44px, 13vw, 70px); }
  .diya-label { font-size: clamp(0.55rem, 1.85vw, 0.7rem); }
  .action-toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-pill { justify-content: center; padding: 10px 8px; font-size: 0.72rem; }
  .action-pill.highlight { grid-column: 1 / -1; }
  .share-action-bar { flex-direction: column; gap: 10px; }
  .share-main-btn, .customize-wish-btn { width: 100%; flex: auto; }
  .floating-music-pill { left: 14px; bottom: max(14px, env(safe-area-inset-bottom)); font-size: 0.7rem; }
  .floating-whatsapp-btn { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  dialog#share-dialog { padding: 22px 18px; }
}
@media (max-height: 650px) and (min-width: 601px) {
  .celebration-app { gap: 16px; }
  .mascot-character { width: 120px; height: 135px; }
  .hero-greeting { margin-top: 0; }
}

/* All motion channels share the same effective state, including explicit overrides. */
body.reduced-motion-mode *, body.reduced-motion-mode *::before, body.reduced-motion-mode *::after {
  animation: none !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
body.reduced-motion-mode .interactive-diya.is-lit .diya-flame-group { opacity: 1; transform: scale(1); }
body.reduced-motion-mode .interactive-diya.is-lit .diya-glow { opacity: 0.85; }
body.reduced-motion-mode .floating-blessing { opacity: 1; transform: translate(-50%, -100%); }
body.reduced-motion-mode .mascot-pupil { transform: none !important; }
body.page-hidden *, body.page-hidden *::before, body.page-hidden *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  body:not([data-motion="full"]) *, body:not([data-motion="full"]) *::before, body:not([data-motion="full"]) *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 1000px) and (min-height: 800px) {
  .celebration-app { gap: 14px; }
  .hero-greeting { margin-top: 8px; }
  .mascot-character { width: 165px; height: 185px; }
  .mascots-stage { margin-top: 8px; }
  .bottom-controls { padding-bottom: 22px; }
}

/* Keep personalized titles and sender cards balanced even with long names. */
.festive-title { overflow-wrap: anywhere; text-wrap: balance; }
.recipient-highlight {
  background: linear-gradient(135deg, #fff0cb, #e8bf7d);
  background-clip: text;
  -webkit-background-clip: text;
  text-decoration: none;
}
.title-ornament { display: inline-block; font-size: 0.6em; white-space: nowrap; vertical-align: 0.1em; }
.greeting-sender-card { max-width: 100%; flex-wrap: wrap; justify-content: center; overflow-wrap: anywhere; }
html:has(dialog[open]), body:has(dialog[open]) { overflow: hidden; }
