/* Welcome dialog (assets/app/modules/welcome.js): shown once on the download
   center a buyer lands on after paying. The site's blue on top with the
   yellow tick, then what they have and what to do next. */
.bp-site .bp-welcome{width:min(500px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:20px;background:#fff;color:#102548;overflow:auto;box-shadow:0 28px 100px #0006;font:14px/1.5 Arial,'Microsoft YaHei',sans-serif;text-align:start}
.bp-welcome::backdrop{background:#041027b8;backdrop-filter:blur(7px)}
.bp-welcome[open]{animation:bp-welcome-in .32s cubic-bezier(.2,.8,.2,1)}
.bp-welcome[open]::backdrop{animation:bp-welcome-fade .24s ease}
@keyframes bp-welcome-in{from{opacity:0;transform:translateY(18px) scale(.97)}}
@keyframes bp-welcome-fade{from{opacity:0}}

.bp-welcome-hero{position:relative;overflow:hidden;padding:30px 32px 26px;background:#0859df;color:#fff;text-align:center}
.bp-site .bp-welcome .bp-welcome-close{position:absolute;inset-inline-end:12px;top:12px;z-index:2;width:30px;height:30px;min-height:0;padding:0;border:0;border-radius:50%;background:#ffffff26;color:#fff;box-shadow:none;font:24px/1 Arial;cursor:pointer;transition:background .15s}
.bp-site .bp-welcome .bp-welcome-close:hover{background:#ffffff40}
.bp-welcome-check{position:relative;display:grid;place-items:center;width:60px;height:60px;margin:0 auto 18px;border-radius:50%;background:#ffe329;color:#102548;box-shadow:0 0 0 9px #ffffff1f}
.bp-welcome-check svg{width:32px;height:32px}
.bp-welcome[open] .bp-welcome-check{animation:bp-welcome-pop .5s cubic-bezier(.2,1.4,.4,1) .12s backwards}
.bp-welcome[open] .bp-welcome-check path{stroke-dasharray:24;animation:bp-welcome-draw .4s ease-out .4s backwards}
@keyframes bp-welcome-pop{from{opacity:0;transform:scale(.4)}}
@keyframes bp-welcome-draw{from{stroke-dashoffset:24}}
.bp-site .bp-welcome-kicker{position:relative;margin:0 0 8px;font-size:10px;font-weight:700;letter-spacing:.18em;color:#ffe329}
.bp-site .bp-welcome h2{position:relative;margin:0 0 10px;font-size:32px;font-weight:800;line-height:1.1;letter-spacing:-.035em;color:#fff}
.bp-site .bp-welcome #bp-welcome-text{position:relative;max-width:36ch;margin:0 auto;font-size:13px;line-height:1.6;color:#dce9ff}

/* Paper falling behind the title, once. */
.bp-welcome-paper{position:absolute;inset:0;pointer-events:none}
.bp-welcome-paper i{position:absolute;top:-14px;width:7px;height:12px;border-radius:2px;background:#ffe329;opacity:0;animation:bp-welcome-fall 1.7s cubic-bezier(.3,.6,.5,1) forwards}
.bp-welcome-paper i[data-tone="w"]{background:#fff}
.bp-welcome-paper i[data-tone="b"]{background:#7fb0ff;width:6px;height:6px;border-radius:50%}
@keyframes bp-welcome-fall{0%{opacity:0;transform:translateY(0) rotate(0)}12%{opacity:.9}100%{opacity:0;transform:translateY(230px) rotate(var(--bp-welcome-turn,160deg))}}

.bp-welcome-body{padding:22px 28px 24px}
/* What they have: a line each, so a long address still fits. */
.bp-site .bp-welcome-pass{margin:0 0 20px;padding:4px 16px;border-radius:12px;background:#102548;color:#fff}
.bp-welcome-pass>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid #ffffff1f}
.bp-welcome-pass>div:first-child{border-top:0}
.bp-site .bp-welcome-pass dt{flex:none;margin:0;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#adc2e0}
.bp-site .bp-welcome-pass dd{min-width:0;margin:0;font-size:14px;font-weight:700;line-height:1.35;color:#fff;text-align:end;overflow-wrap:anywhere}
.bp-welcome-pass>div:first-child dd{color:#ffe329}

.bp-site .bp-welcome-steps{display:grid;gap:13px;margin:0 0 22px;padding:0;list-style:none}
.bp-welcome-steps li{display:flex;align-items:flex-start;gap:12px;margin:0}
.bp-welcome-steps li>span{flex:0 0 24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#e8f0ff;color:#0859df;font-size:12px;font-weight:700}
.bp-site .bp-welcome-steps p{display:flex;flex-direction:column;gap:1px;min-width:0;margin:0}
.bp-welcome-steps strong{font-size:14px;line-height:1.4;color:#102548}
.bp-welcome-steps small{font-size:12px;line-height:1.55;color:#52627a}

.bp-site .bp-welcome .bp-welcome-start{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:13px 18px;border:0;border-radius:8px;background:#ffe329;color:#102548;box-shadow:none;font:700 15px/1.4 Arial,'Microsoft YaHei',sans-serif;cursor:pointer;transition:background .18s,transform .18s}
.bp-site .bp-welcome .bp-welcome-start:hover{background:#ffda14;transform:translateY(-1px)}
.bp-welcome-start>span:last-child{font-size:20px}
.bp-site .bp-welcome .bp-welcome-billing{display:block;width:auto;min-height:0;margin:12px auto 0;padding:4px 8px;border:0;background:none;color:#52627a;box-shadow:none;font:12px/1.5 Arial,'Microsoft YaHei',sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bp-site .bp-welcome .bp-welcome-billing:hover{color:#0859df}
.bp-welcome button:focus-visible{outline:3px solid #0859df;outline-offset:3px}
.bp-welcome .bp-welcome-close:focus-visible{outline-color:#fff}

@media(max-width:520px){.bp-site .bp-welcome{border-radius:16px}.bp-welcome-hero{padding:30px 22px 26px}.bp-site .bp-welcome h2{font-size:27px}.bp-welcome-body{padding:20px 20px 22px}}
@media(prefers-reduced-motion:reduce){.bp-welcome[open],.bp-welcome[open]::backdrop,.bp-welcome[open] .bp-welcome-check,.bp-welcome[open] .bp-welcome-check path{animation:none}.bp-welcome-paper{display:none}.bp-site .bp-welcome .bp-welcome-start{transition:none}.bp-site .bp-welcome .bp-welcome-start:hover{transform:none}}
