.welcome-popup { box-sizing: border-box; width: min(560px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid color-mix(in srgb, var(--welcome-accent) 55%, transparent); border-radius: 24px; color: var(--welcome-text); background: var(--welcome-bg); box-shadow: 0 24px 90px #0008; overflow: auto; direction: rtl; text-align: center; }
.welcome-popup::backdrop { background: #050b1bbd; backdrop-filter: blur(5px); }
.welcome-popup-inner { position: relative; padding: 52px 32px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; box-sizing: border-box; }
.welcome-popup.square .welcome-popup-inner { aspect-ratio: 1; }
.welcome-popup-close { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; font-size: 24px; cursor: pointer; opacity: .8; }
.welcome-popup-mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 18px; background: color-mix(in srgb, var(--welcome-accent) 18%, transparent); color: var(--welcome-accent); font-size: 30px; }
.welcome-popup h2 { margin: 0 0 14px; color: inherit; font-family: inherit; font-weight: 700; font-size: clamp(23px, 4vw, 32px); line-height: 1.5; overflow-wrap: anywhere; }
.welcome-popup p { margin: 0; font-size: 16px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.welcome-popup-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: 26px; }
.welcome-popup-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--welcome-accent); color: #101a3b; background: var(--welcome-accent); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.welcome-popup-actions a + a { color: var(--welcome-text); background: transparent; }
.welcome-popup a:focus-visible, .welcome-popup button:focus-visible { outline: 3px solid var(--welcome-text); outline-offset: 4px; }
body.welcome-popup-open { overflow: hidden; }
@media(max-width: 480px) { .welcome-popup-inner { padding: 50px 22px 26px; } .welcome-popup-actions a { flex: 1 1 100%; } }
