.purchase-welcome,.purchase-welcome *{box-sizing:border-box}
/* body-level dialogs inherit the storefront's existing 75% scale. */
.purchase-welcome{width:min(660px,calc(100vw / .75 - 40px));max-height:calc(100dvh / .75 - 40px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#736335 #151515;border:1px solid #a78d3e80;border-radius:32px;background:radial-gradient(ellipse at top,#4a401933,transparent 42%),#0c0c0d;color:#f8f8f8;padding:38px;text-align:center;box-shadow:0 30px 100px #0009;overscroll-behavior:contain;font-family:'Noto Sans Thai',sans-serif}
.purchase-welcome::backdrop{background:#000d;backdrop-filter:blur(8px)}
.welcome-close{position:absolute;right:16px;top:12px;width:38px;height:38px;background:none;border:0;color:#d8cb9d;font-size:24px;cursor:pointer;z-index:2}
.welcome-member-card{position:relative;display:flex;flex-direction:column;text-align:left;aspect-ratio:1.65;border:1px solid #b5a04e;border-radius:22px;padding:26px;background:repeating-linear-gradient(120deg,#ffffff03 0 1px,transparent 1px 5px),linear-gradient(140deg,#34332b,#101011 55%,#30302d);box-shadow:0 14px 28px #0008;overflow:hidden}
.welcome-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.welcome-card-top>span{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:800}.welcome-card-top img{width:28px;height:28px;object-fit:contain}.welcome-card-top>b{font-size:11px;letter-spacing:2px;color:#d5b947}
.welcome-chip{font-size:30px;line-height:1.1;color:#fff1b8;background:linear-gradient(125deg,#b58921,#ffeba0,#a88935);border-radius:6px;width:44px;text-align:center;margin:18px 0 30px}
.welcome-member-card>strong{margin-top:auto;color:#e3c65d;font-size:25px;line-height:1.35;overflow-wrap:anywhere}.welcome-member-card>small{color:#b6b6b6;font-size:13px;margin-top:7px}
.welcome-eyebrow{display:block;color:#e3c65d;font-size:13px;letter-spacing:3px;font-weight:700;margin:30px 0 10px}.purchase-welcome h2{font-size:30px;line-height:1.45;margin:0 0 20px;color:#fff}.welcome-intro{font-size:17px;line-height:1.8;color:#bcbcbc}.welcome-entitlement{font-size:14px;color:#c7b97f;line-height:1.8}
.welcome-steps{text-align:left;margin:26px 0}.welcome-steps>p{font-size:14px;font-weight:700;color:#e3c65d}.welcome-steps>a{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #303033;border-radius:26px;background:#18181a;text-decoration:none;color:#eee;margin:10px 0}.welcome-steps>a>span{display:grid;place-items:center;background:#303032;border-radius:50%;width:30px;height:30px;flex-shrink:0;font-size:14px;font-weight:800}.welcome-steps b{display:block;font-size:17px}.welcome-steps small{display:block;color:#a4a4aa;font-size:13px;margin-top:5px}.welcome-steps em{margin-left:auto;font-style:normal;color:#d8c36b}
.welcome-start{display:block;background:#f3ff00;border-radius:15px;padding:17px;color:#090909;text-decoration:none;font-size:20px;font-weight:800}.welcome-line{display:block;margin:18px 0 8px;color:#d5c17e;font-size:15px}.welcome-later{background:none;border:0;color:#aaa;font-size:15px;cursor:pointer;padding:10px}.purchase-welcome :is(a,button):focus-visible{outline:3px solid #fff;outline-offset:4px}
.welcome-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:inherit}.welcome-confetti i{position:absolute;left:var(--x);top:-15px;width:6px;height:12px;background:var(--color);opacity:0;animation:welcome-fall 5s var(--delay) ease-out 1 forwards;transform:rotate(var(--turn))}
@keyframes welcome-fall{0%{opacity:0;translate:0 -5vh}12%{opacity:.9}80%{opacity:.5}100%{opacity:0;translate:45px 120vh;rotate:440deg}}
@media(prefers-reduced-motion:reduce){.welcome-confetti{display:none}}
@media(max-height:800px){.purchase-welcome{padding:28px 36px}.welcome-member-card{aspect-ratio:2.1;padding:22px}.welcome-chip{margin:12px 0 20px}.welcome-eyebrow{margin:22px 0 8px}.purchase-welcome h2{font-size:27px;margin-bottom:12px}.welcome-intro{margin:10px 0;font-size:16px}.welcome-steps{margin:18px 0}.welcome-steps>a{padding:14px}.welcome-line{margin-top:12px}.welcome-entitlement{margin:8px 0}}
@media(max-width:600px){.purchase-welcome{padding:40px 24px 24px;border-radius:24px}.welcome-member-card{padding:20px}.welcome-card-top>span{font-size:13px}.welcome-card-top>b{font-size:9px;letter-spacing:1px}.welcome-member-card>strong{font-size:22px}.purchase-welcome h2{font-size:27px}.welcome-intro{font-size:16px}.welcome-steps b{font-size:16px}.welcome-start{font-size:18px}}
