/* DuitJom welcome popup: real controls remain visible while the poster scrolls. */
.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: radial-gradient(ellipse at 15% 10%, #0478bd88, transparent 65%),
    linear-gradient(145deg, #062c50e8, #09243bde 60%, #007f918c);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overscroll-behavior: contain;
}
.welcome-overlay[aria-hidden="false"] { display: flex; }
body.welcome-popup-open { overflow: hidden; }
.welcome-popup {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(100%, 440px);
  max-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #ffffffb3;
  border-radius: 24px;
  background: #fff;
  color: #072d4b;
  box-shadow: 0 30px 90px #02182d66;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}
.welcome-popup:focus { outline: none; }
.welcome-popup * { box-sizing: border-box; }
.welcome-topbar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 8px 14px 8px 22px;
  border-bottom: 1px solid #e5f1f7;
  background: #fff;
}
.welcome-brand { font-size: 23px; font-weight: 850; letter-spacing: -1px; }
.welcome-brand span { color: #079bda; }
.welcome-close-x,
.welcome-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #fee2e2;
  border-radius: 14px;
  background: #fff1f2;
  color: #dc2626;
  cursor: pointer;
  touch-action: manipulation;
}
.welcome-close-x:hover { background: #ffe4e6; }
.welcome-close-x svg,
.welcome-copy svg { width: 22px; height: 22px; }
.welcome-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.welcome-artwork { position: relative; background: #e7f7ff; }
.welcome-poster { display: block; width: 100%; height: auto; margin: 0; }
.welcome-poster[hidden] { display: none; }
.welcome-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.welcome-hotspot { position: absolute; display: flex; align-items: center; justify-content: center; cursor: pointer; touch-action: manipulation; border: 0; text-decoration: none; }
/* Hit areas match images/IMG_0189.png (1024 × 1536). */
.welcome-whatsapp { left:85.5%; top:38.8%; width:11%; height:6.8%; border-radius:50%; }
.welcome-poster-close { left:8.5%; top:89.5%; width:40.5%; height:5.2%; border-radius:999px; background:#e8f7fc; color:#06233a; font:650 clamp(13px,4vw,20px)/1.2 system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.welcome-poster-email { left:51.5%; top:89.5%; width:40.5%; height:5.2%; border-radius:999px; }
.welcome-poster-close:hover { background: #d5edf7; }
.welcome-popup :is(button, a):focus-visible { outline: 3px solid #087dbc; outline-offset: -3px; }
.welcome-image-fallback { padding: 20px; }
.welcome-without-image .welcome-artwork { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.welcome-without-image .welcome-hotspot { position: static; width: 100%; min-height: 48px; background: #087dbc; color: white; border-radius: 12px; }
.welcome-without-image .welcome-hotspot .welcome-sr-only { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; }
.welcome-copy-target { background:transparent; border-radius:8px; padding:0; }
.welcome-copy-target:hover { background:#009de21c; outline:2px solid #058ddd; }
.welcome-copy-email { left:24%; top:73.2%; width:52%; height:4%; }
.welcome-copy-com { left:24%; top:83.3%; width:43%; height:2.6%; }
.welcome-copy-my { left:24%; top:85.9%; width:40%; height:2.6%; }
.welcome-copy-status { margin:0; padding:0 16px; color:#075985; font-size:13px; }
.welcome-copy-status:not(:empty) { padding:10px 16px; }

/* Keep the whole poster and its actions visible on short mobile viewports. */
.welcome-popup { width:min(100%,440px,calc((100dvh - 130px) * 2 / 3)); }
@media (max-height:500px) {
  .welcome-popup { width:min(100%,440px); }
}
