/* ============================================================
   BABY SHARK UNDERWATER 8-SLIDE BIRTHDAY INVITATION
   Inspired by satumomen.com/preview/baby-shark-new
   Exact tokens: #4fa4d1 bg | #ffffff base | #ffac00 accent | #224d80 menu
   Fonts: Fredoka | Concert One | DynaPuff
   ============================================================ */

:root {
  --inv-bg: #4fa4d1;
  --inv-base: #ffffff;
  --inv-accent: #ffac00;
  --inv-border: #e5f4e9;
  --menu-bg: #224d80;
  --menu-inactive: #ffffff;
  --menu-active: #ffac00;
  --btn-color: #ffffff;
  --font-base: 'Fredoka', sans-serif;
  --font-accent: 'Concert One', sans-serif;
  --font-latin: 'DynaPuff', system-ui, sans-serif;
  --menu-height: 74px;
}

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

[hidden] {
  display: none !important;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--inv-bg);
  color: var(--inv-base);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.font-accent { font-family: var(--font-accent); font-weight: 400; }
.font-latin { font-family: var(--font-latin); }
.color-accent { color: var(--inv-accent); }

/* ============================================================
   WORKSPACE & 9:16 MOBILE CANVAS
   ============================================================ */
#workspace-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--inv-bg);
  overflow: hidden;
}

.canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  max-height: 860px;
  background: var(--inv-bg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(8, 38, 72, 0.38);
}

@media (min-width: 500px) {
  .canvas {
    height: min(94dvh, 800px);
    width: min(calc(min(94dvh, 800px) * 9 / 16), 440px);
    border-radius: 22px;
  }
}

.ocean-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

#bubbles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   UNDERWATER ANIMATED ORNAMENT FRAME (FISH, SEAWEED, SEABED)
   ============================================================ */
.ocean-frame {
  position: absolute;
  inset: 0;
  bottom: var(--menu-height);
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  transition: bottom 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.canvas.not-open .ocean-frame {
  bottom: 0;
}

/* Swimming Fish Pairs */
.swim-fish {
  position: absolute;
  height: 46px;
  width: auto;
  left: -120px;
  transform: translateY(-50%);
  animation: swimAcross 7.5s linear infinite;
  filter: drop-shadow(0 4px 8px rgba(8, 45, 86, 0.22));
}

.fish-1 {
  top: 20%;
  animation-delay: 1.4s;
}

.fish-2 {
  top: 56%;
  height: 38px;
  animation-duration: 9.2s;
  animation-delay: 4.2s;
}

@keyframes swimAcross {
  0% { left: -110px; opacity: 0; transform: translateY(-50%) rotate(-3deg); }
  8% { opacity: 0.95; }
  50% { transform: translateY(-60%) rotate(3deg); }
  92% { opacity: 0.95; }
  100% { left: 112%; opacity: 0; transform: translateY(-45%) rotate(-2deg); }
}

/* Corner Swaying Seaweed & Corals */
.frame-tl, .frame-tr, .frame-bl, .frame-br {
  position: absolute;
  pointer-events: none;
}

.frame-tl img, .frame-tr img, .frame-bl img, .frame-br img {
  width: 100%;
  height: auto;
  display: block;
}

.frame-tl {
  width: 30%;
  left: -8%;
  top: -4%;
}

.frame-tl img {
  transform-origin: left top;
  animation: sway 4s ease-in-out 0.6s infinite;
}

.frame-tr {
  width: 28%;
  right: -8%;
  top: 2%;
}

.frame-tr img {
  transform-origin: center top;
  animation: swayFlip 4.3s ease-in-out infinite;
}

.frame-bl {
  width: 32%;
  left: -8%;
  bottom: -2%;
  z-index: 2;
}

.frame-bl img {
  transform-origin: center bottom;
  animation: sway 4s ease-in-out 0.4s infinite;
}

.frame-br {
  width: 32%;
  right: -8%;
  bottom: -2%;
  z-index: 2;
}

.frame-br img {
  transform-origin: center bottom;
  animation: swayFlip 4.2s ease-in-out 1s infinite;
}

.frame-seabed {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -6px;
  width: 104%;
  height: auto;
  z-index: 1;
}

@keyframes sway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(4deg); }
  75% { transform: rotate(-4deg); }
}

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

/* ============================================================
   DISCRETE 8-SLIDE VIEWPORT
   ============================================================ */
.slides-viewport {
  position: absolute;
  inset: 0;
  bottom: var(--menu-height);
  z-index: 5;
  overflow: hidden;
  transition: bottom 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.canvas.not-open .slides-viewport {
  bottom: 0;
}

.sm-slide {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
}

.sm-slide.is-active {
  display: block;
}

.slide-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 28px 26px 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ============================================================
   BUBBLY 3D CARTOON WORDMARK (HAYDEN'S / RAYDEN'S 3rd Birthday)
   ============================================================ */
.bubbly-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -18px;
  margin-bottom: 14px;
  position: relative;
  z-index: 4;
}

.bubbly-wordmark.compact {
  margin-top: 0;
  margin-bottom: 16px;
}

.wm-top {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 1px;
  color: #29d9ff;
  -webkit-text-stroke: 2.5px #ffffff;
  paint-order: stroke fill;
  text-shadow: 0 5px 0 #0a5894, 0 8px 16px rgba(6, 40, 82, 0.35);
}

.wm-bottom {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  margin-top: 2px;
  color: #ffc400;
  -webkit-text-stroke: 2.5px #ffffff;
  paint-order: stroke fill;
  text-shadow: 0 5px 0 #c76900, 0 8px 16px rgba(6, 40, 82, 0.35);
}

.bubbly-wordmark.compact .wm-top { font-size: 31px; }
.bubbly-wordmark.compact .wm-bottom { font-size: 26px; }
.bubbly-wordmark.thanks-wm { margin-top: -14px; margin-bottom: 0; }
.bubbly-wordmark.thanks-wm .wm-top { font-size: 30px; }
.bubbly-wordmark.thanks-wm .wm-bottom { font-size: 22px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--inv-accent);
  color: var(--btn-color);
  border: none;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(13, 46, 86, 0.28);
  transition: transform 0.18s ease;
}

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

.btn-pill {
  padding: 11px 28px;
  border-radius: 999px;
}

.btn-pill.full { width: 100%; padding: 12px 20px; }

.btn-copy-sm {
  padding: 8px 18px;
  border-radius: 6px;
  font-family: sans-serif;
  font-size: 13px;
}

/* ============================================================
   SLIDE 0: OPENING / COVER
   ============================================================ */
.shark-hero-wrap {
  width: 248px;
  max-width: 72%;
}

.shark-family-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(7, 45, 86, 0.3));
}

.shark-bob {
  animation: sharkBob 3.6s ease-in-out infinite;
}

@keyframes sharkBob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-9px) rotate(1.5deg); }
}

.cover-dear {
  font-size: 15px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(8, 42, 82, 0.35);
  margin-bottom: 4px;
}

.cover-guest {
  font-size: 22px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(8, 42, 82, 0.42);
  margin-bottom: 18px;
  max-width: 300px;
  word-break: break-word;
}

.canvas:not(.not-open) .btn-open-inv {
  display: none;
}

/* ============================================================
   SLIDE 1: BIRTHDAY PROFILE
   ============================================================ */
.celeb-kicker {
  font-size: 21px;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(8, 42, 82, 0.35);
  margin-bottom: 18px;
}

.photo-circle {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  border: 4px solid var(--inv-border);
  overflow: hidden;
  background: #d8f4f8;
  box-shadow: 0 12px 26px rgba(8, 42, 82, 0.35);
  margin-bottom: 18px;
}

.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.child-name {
  font-size: 31px;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 3px 10px rgba(8, 42, 82, 0.42);
  margin-bottom: 6px;
}

.turning-sub {
  font-size: 21px;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(8, 42, 82, 0.35);
}

/* ============================================================
   SLIDE 2: ACARA & COUNTDOWN
   ============================================================ */
.event-details-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.event-line {
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(8, 42, 82, 0.42);
}

.venue-line {
  font-size: 17px;
  color: #fff6d1;
}

.countdown-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 310px;
  margin-bottom: 20px;
}

.cd-box {
  padding: 10px 4px;
  border-radius: 14px;
  background: rgba(34, 77, 128, 0.72);
  border: 2px solid rgba(229, 244, 233, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--inv-accent);
}

.cd-lbl {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

/* ============================================================
   SLIDE 3: MAPS / LOKASI ACARA
   ============================================================ */
.slide-heading {
  font-size: 28px;
  text-shadow: 0 2px 10px rgba(8, 42, 82, 0.42);
  margin-bottom: 14px;
}

.venue-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 10 / 7;
  border-radius: 44px 10px 44px 10px;
  border: 4px solid var(--inv-border);
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(8, 42, 82, 0.35);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.venue-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-shark {
  position: relative;
  z-index: 2;
  width: 140px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(8, 42, 82, 0.3));
}

.venue-pin-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34, 77, 128, 0.88);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.venue-title {
  font-size: 17px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(8, 42, 82, 0.4);
  margin-bottom: 4px;
}

.venue-address {
  font-size: 13.5px;
  line-height: 1.45;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(8, 42, 82, 0.4);
  margin-bottom: 16px;
}

/* ============================================================
   SLIDE 4: RSVP
   ============================================================ */
.rsvp-photo {
  width: 176px;
  height: 176px;
  margin-bottom: 16px;
}

.rsvp-heading {
  font-size: 32px;
  line-height: 1.12;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(8, 42, 82, 0.4);
  margin-bottom: 18px;
}

.rsvp-hint {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(8, 42, 82, 0.35);
}

/* ============================================================
   SLIDE 5: GIFT / KIRIM HADIAH
   ============================================================ */
.gift-heading {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(8, 42, 82, 0.4);
  margin-bottom: 16px;
}

.dana-badge {
  width: 138px;
  height: 138px;
  border-radius: 16px;
  background: #ffffff;
  border: 3px solid var(--inv-border);
  box-shadow: 0 12px 24px rgba(8, 42, 82, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.dana-pill {
  padding: 6px 18px;
  border-radius: 999px;
  background: #118eea;
  color: #ffffff;
  font-family: var(--font-accent);
  font-size: 24px;
  letter-spacing: 1px;
}

.dana-sub {
  font-size: 11px;
  font-weight: 600;
  color: #224d80;
}

.gift-number {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(8, 42, 82, 0.45);
  margin-bottom: 10px;
}

.gift-owner {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(8, 42, 82, 0.4);
}

/* ============================================================
   SLIDE 6: GALLERY MOSAIC (33/67 ALTERNATING ROWS)
   ============================================================ */
.gallery-content {
  justify-content: center;
  padding-left: 18px;
  padding-right: 18px;
}

.gallery-heading {
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(8, 42, 82, 0.4);
  margin-bottom: 14px;
}

.gallery-mosaic {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gal-row {
  display: flex;
  gap: 8px;
  height: 118px;
}

.gal-tile {
  border: 2.5px solid var(--inv-border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 6px 14px rgba(8, 42, 82, 0.25);
}

.gal-tile.w-33 { flex: 1; }
.gal-tile.w-67 { flex: 2; }

.gal-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gal-tile img.contain-img {
  object-fit: contain;
  padding: 6px;
}

/* ============================================================
   SLIDE 7: THANKS
   ============================================================ */
.thanks-quote {
  font-size: 19px;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(8, 42, 82, 0.45);
  max-width: 310px;
  margin-bottom: 10px;
}

.thanks-regards {
  font-size: 18px;
  color: var(--inv-accent);
  text-shadow: 0 2px 8px rgba(8, 42, 82, 0.45);
  margin-bottom: 10px;
}

.shark-thanks-wrap {
  width: 210px;
  max-width: 62%;
}

.shark-thanks-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(7, 45, 86, 0.3));
}

/* ============================================================
   ANIMATE.CSS-FAITHFUL ENTRANCE ANIMATIONS
   ============================================================ */
.sm-slide.is-active .anim-fade-down {
  animation: fadeInDown 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sm-slide.is-active .anim-fade-up {
  animation: fadeInUp 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sm-slide.is-active .anim-zoom-in {
  animation: zoomInSoft 1.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.d-100 { animation-delay: 0.1s !important; }
.d-300 { animation-delay: 0.25s !important; }
.d-400 { animation-delay: 0.38s !important; }
.d-500 { animation-delay: 0.48s !important; }
.d-600 { animation-delay: 0.58s !important; }
.d-700 { animation-delay: 0.68s !important; }
.d-800 { animation-delay: 0.78s !important; }
.d-900 { animation-delay: 0.88s !important; }
.d-1000 { animation-delay: 0.98s !important; }
.d-1100 { animation-delay: 1.08s !important; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -32px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 32px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes zoomInSoft {
  from { opacity: 0; transform: scale3d(0.62, 0.62, 0.62); }
  to { opacity: 1; transform: scale3d(1, 1, 1); }
}

/* ============================================================
   FLOATING ACTION STACK (BOTTOM-RIGHT)
   ============================================================ */
.floating-action {
  position: absolute;
  right: 12px;
  bottom: calc(var(--menu-height) + 14px);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.canvas.not-open .floating-action {
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
}

.fab-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 172, 0, 0.92);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(8, 38, 72, 0.34);
  transition: transform 0.18s ease;
}

.fab-circle:active { transform: scale(0.92); }

.fab-wa {
  background: #28a745;
}

/* ============================================================
   DOCKED 8-TAB NAVY BOTTOM MENU (#smMenu)
   ============================================================ */
.sm-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--menu-height);
  z-index: 25;
  background: var(--menu-bg);
  border-top: 2px solid rgba(255, 255, 255, 0.18);
  padding: 6px 8px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.sm-menu::-webkit-scrollbar { display: none; }

.canvas.not-open .sm-menu {
  transform: translateY(105%);
}

.sm-tab {
  flex: 0 0 74px;
  border: none;
  background: transparent;
  color: var(--menu-inactive);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}

.sm-tab.is-active {
  background: var(--menu-active);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   MODALS (RSVP, QR, LIGHTBOX)
   ============================================================ */
.sm-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 32, 62, 0.62);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sm-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sm-modal-shell {
  width: 100%;
  max-width: 375px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sm-modal-card {
  width: 100%;
  max-height: 76dvh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 20px 50px rgba(8, 32, 62, 0.38);
  color: #2c3540;
}

.modal-title {
  text-align: center;
  font-size: 22px;
  color: #222b38;
  margin-bottom: 14px;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: #3a4554;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #d4dde6;
  background: #ffffff;
  color: #2c3540;
  font-family: var(--font-base);
  font-size: 13.5px;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--inv-bg);
}

.wa-input-row { display: flex; align-items: stretch; }

.wa-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #d4dde6;
  border-right: none;
  border-radius: 10px 0 0 10px;
  background: #f0f6fb;
  color: #224d80;
  font-size: 13px;
  font-weight: 600;
}

.wa-input-row input { border-radius: 0 10px 10px 0; }

.modal-wishes-wrap {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #d4dde6;
}

.wishes-heading {
  font-size: 13.5px;
  font-weight: 700;
  color: #224d80;
  margin-bottom: 10px;
}

.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wish-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f9fd;
  border: 1px solid #dcebf7;
  text-align: left;
}

.wish-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #224d80;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wish-body { flex: 1; min-width: 0; }

.wish-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 3px;
}

.wish-name { font-size: 13px; font-weight: 700; color: #222b38; }

.wish-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.wish-pill.Hadir { background: #d6f4e4; color: #116f40; }
.wish-pill.Tidak\ Hadir { background: #fde2e4; color: #a82735; }

.wish-msg { font-size: 12.5px; line-height: 1.45; color: #475464; }
.wish-time { margin-top: 4px; font-size: 10.5px; color: #7e8d9e; }

/* QR Modal */
.qr-card { text-align: center; }

.qr-divider {
  border-top: 1.5px dashed #d4dde6;
  margin: 12px 0;
}

.qr-box {
  display: inline-flex;
  padding: 8px;
  border-radius: 14px;
  border: 2px solid #dcebf7;
}

.qr-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12px;
}

.qr-meta span { display: block; color: #7e8d9e; font-size: 10.5px; }
.qr-meta strong { color: #224d80; font-size: 12px; word-break: break-word; }

.qr-share-builder {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed #d4dde6;
}

.qr-share-builder label { font-size: 12px; font-weight: 700; color: #224d80; }

.qr-share-builder input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #d4dde6;
  font-family: var(--font-base);
  font-size: 13px;
}

.share-url-preview {
  padding: 8px 10px;
  border-radius: 8px;
  background: #edf6fc;
  color: #224d80;
  font-size: 11px;
  word-break: break-all;
}

/* Lightbox */
.lightbox-card { text-align: center; }
.lightbox-card img {
  width: 100%;
  max-height: 58dvh;
  object-fit: contain;
  border-radius: 12px;
  background: #eef8fc;
}
.lightbox-card p {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #224d80;
}

/* Soft Coral-Pink Close Circle (Satumomen Signature) */
.modal-close-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #f8b4b8;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Toast */
.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translate(-50%, -22px);
  z-index: 200;
  padding: 9px 18px;
  border-radius: 999px;
  background: #224d80;
  color: #ffffff;
  border: 1.5px solid #ffac00;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(8, 32, 62, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
