/* Opaque gradient stops animate on the badge itself; no overlay or dark backing edge. */
@property --welcome-color-a{syntax:"<color>";inherits:false;initial-value:#111}
@property --welcome-color-b{syntax:"<color>";inherits:false;initial-value:#111}
/* The compact badge and its outside close control share one inertial motion. */
.welcome-launcher-wrap{position:fixed;right:20px;bottom:20px;z-index:35;transform-origin:70% 75%}
.welcome-launcher-wrap[hidden]{display:none}
.welcome-launcher{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 13px;background:linear-gradient(110deg,var(--welcome-color-a) 0%,var(--welcome-color-b) 32%,var(--welcome-color-a) 65%,var(--welcome-color-b) 100%);background-size:280% 100%;color:#fff;border:0;border-radius:var(--product-window-radius,6px);box-shadow:none;font:700 11px/1.4 Montserrat,Arial,sans-serif;letter-spacing:.2px;overflow:hidden}
.welcome-launcher.is-waving{animation:fkk-welcome-gradient-flow .75s linear infinite alternate}
.welcome-gift-emoji{display:block;flex:none;font:24px/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;filter:drop-shadow(0 1px 1px #0002)}
.welcome-launcher-dismiss{position:absolute;left:-9px;top:-9px;z-index:2;display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:rgb(255 255 255 / .65);color:rgb(30 30 30 / .65);box-shadow:0 2px 6px #0001}
.welcome-launcher-dismiss svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.welcome-launcher-dismiss:hover{background:rgb(255 255 255 / .8);color:#333}
body:has(dialog[open],.pswp--open) .welcome-launcher-wrap{visibility:hidden;pointer-events:none}
@keyframes fkk-welcome-gradient-flow{0%{background-position:0% 50%}100%{background-position:100% 50%}}
.welcome-offer{position:fixed;inset:0;margin:auto;width:min(880px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:var(--product-window-radius,6px);background:#fff;color:#151515;box-shadow:0 24px 90px #0004;overflow:hidden;font-family:Montserrat,Arial,sans-serif}
.welcome-offer::backdrop{background:#0008}
.welcome-layout{display:grid;grid-template-columns:1fr 1fr;min-height:min(530px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);overflow:auto}
.welcome-content{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:44px 30px;text-align:center}
.welcome-logo{width:60px;height:60px;object-fit:contain;margin-bottom:24px}
.welcome-content h2{font:700 26px/1.25 Montserrat,Arial,sans-serif;letter-spacing:-.7px;margin:0 0 22px}
.welcome-content>p{font-size:13px;line-height:1.7;margin:0 0 24px}
.welcome-form{width:100%;display:grid;gap:10px}
.welcome-email-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.welcome-form input{width:100%;min-width:0;height:48px;padding:0 14px;border:1px solid #888;border-radius:var(--product-window-radius,6px);background:#fff;color:#151515;font:400 14px/1.4 Montserrat,Arial,sans-serif}
.welcome-form input::placeholder{color:#888;opacity:1}
.welcome-continue{min-height:48px;padding:12px;background:#111;color:#fff;border-radius:var(--product-window-radius,6px);font:700 14px/1.5 Montserrat,Arial,sans-serif;transition:background .18s}
.welcome-continue:hover{background:var(--blue,#0e42de)}
.welcome-continue:disabled{cursor:wait;opacity:.6}
.welcome-content>.welcome-footnote{font-size:11px;margin:18px 0 0;color:#666}
.welcome-status{font-size:11px;line-height:1.6;color:#666;margin:4px 0 0;text-wrap:pretty}
.welcome-status a{color:#151515;text-decoration:underline;text-underline-offset:3px}
.welcome-status[hidden]{display:none}
.welcome-art{position:relative;min-width:0;background:#111}
.welcome-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.welcome-close{position:absolute;right:12px;top:12px;z-index:2;display:grid;place-items:center;width:36px;height:36px;border:1px solid #e5e5e5;border-radius:50%;background:#fff;color:#333}
.welcome-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
@media(max-width:699px){
 .welcome-launcher-wrap{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
 .welcome-launcher{min-height:38px;padding:7px 11px;font-size:10.5px;gap:6px}
 .welcome-gift-emoji{font-size:22px}
 body:has(.pdp-sticky-buy.is-visible) .welcome-launcher-wrap{bottom:calc(92px + env(safe-area-inset-bottom))}
 .welcome-offer{width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
 .welcome-layout{grid-template-columns:1fr;min-height:0;max-height:calc(100dvh - 24px)}
 .welcome-art{display:none}
 .welcome-content{padding:46px 24px 30px}
 .welcome-logo{width:52px;height:52px;margin-bottom:20px}
 .welcome-content h2{font-size:25px;margin-bottom:18px}
 .welcome-content>p{font-size:12px;margin-bottom:22px}
 .welcome-form input{font-size:16px}
 .welcome-content>.welcome-footnote{font-size:10px;margin-top:16px}
}
@media(max-width:359px){.welcome-content{padding:44px 18px 26px}.welcome-content h2{font-size:23px}}
@media(max-height:550px) and (min-width:700px){.welcome-layout{min-height:min(400px,calc(100dvh - 40px))}.welcome-content{padding:28px}.welcome-logo{width:44px;height:44px;margin-bottom:12px}.welcome-content h2{font-size:23px;margin-bottom:14px}.welcome-content>p{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.welcome-launcher,.welcome-continue{transition:none}.welcome-launcher.is-waving{animation:none}}

/* Success state only; initial welcome layout stays unchanged. */
.welcome-form[hidden]{display:none}
.welcome-reward{display:grid;gap:10px;width:100%;min-width:0}
.welcome-code{display:block;padding:17px 12px;border:1px dashed var(--blue,#0e42de);border-radius:var(--product-window-radius,6px);background:#f3f5ff;color:var(--blue,#0e42de);font:700 26px/1.3 Montserrat,Arial,sans-serif;letter-spacing:3px;user-select:all;overflow-wrap:anywhere}
.welcome-code:focus-visible{outline:2px solid var(--blue,#0e42de);outline-offset:3px}
.welcome-copy{width:100%}
