* { box-sizing:border-box }
html,body { margin:0;min-height:100%;background:#03111e }
body { font-family:Arial,Helvetica,sans-serif;color:#fff }
button { font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation }
button:focus-visible { outline:2px solid #fff;outline-offset:3px }
button:disabled { cursor:default }
button,img { user-select:none }
[hidden] { display:none!important }
.preview { min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center }
.stage { position:relative;isolation:isolate;width:min(100vw,calc((100svh - 22px)*.46),552px);aspect-ratio:1165/2532;overflow:hidden;background:#001725;container-type:inline-size }
.scene { position:absolute;inset:0;width:100%;height:100%;z-index:-3 }
.game-header { position:absolute;top:5.5%;left:4%;right:4%;display:flex;align-items:flex-start;justify-content:space-between;opacity:1 }
.icon-button { background:#253e55;border:1px solid #53717d;border-radius:2.8cqw;width:7.2cqw;height:7.2cqw;padding:1.5cqw }
.icon-button img { width:100%;height:100% }
.game-logo { position:absolute;top:-.7cqw;left:37%;width:26%;margin:0 }
.game-logo img { width:100%;height:13cqw;display:block }
.game-header>.icon-button:last-child { margin-left:auto }
.balance { position:absolute;top:12.9%;left:5%;width:90%;height:7.6%;border-radius:2.8cqw;background:#397ffa;display:flex;align-items:center;justify-content:flex-start;gap:2cqw;padding:2.4cqw;color:#fff }
.avatar { width:8cqw;height:8cqw;border-radius:50%;background:#eee4c2;display:grid;place-items:center;flex-shrink:0 }
.avatar img { width:80%;height:80%;filter:brightness(.12) }
.collected { display:flex;flex-direction:column;gap:.8cqw }
.collected>span { font-size:2.8cqw;color:#d0defe }
.collected strong { font-weight:400;font-size:4.6cqw;line-height:1.05 }
.collected b { font-size:5.5cqw;font-weight:750;margin-left:.5cqw }
.redeem-area { display:flex;flex-direction:column;align-items:center;margin-left:auto;gap:1.2cqw }
.redeem-area>span { font-size:2.6cqw;color:#d0defe }
.redeem-area button { background:#ffe857;border:0;border-radius:5cqw;color:#322905;font-size:3cqw;font-weight:600;padding:1cqw 4cqw }
.round-meta { position:absolute;top:21.7%;left:8%;right:8%;display:flex;justify-content:space-between;align-items:center;color:#becad2;font-size:2.9cqw }
.round-meta b { font-variant-numeric:tabular-nums;background:#1d3346;margin-left:.7cqw;padding:.6cqw;border-radius:.8cqw;color:#fff;font-weight:500 }
.round-meta button { border:0;background:none;color:#efd055;font-size:2.7cqw;padding:.7cqw }
.stage[data-phase=ready] .balance,.stage[data-phase=kicking] .balance { left:23%;width:54%;justify-content:center }
.stage[data-phase=ready] .redeem-area,.stage[data-phase=kicking] .redeem-area,.stage[data-phase=ready] #more,.stage[data-phase=kicking] #more { display:none }
.stage[data-phase=ready] .round-meta,.stage[data-phase=kicking] .round-meta { justify-content:center }
.goal-targets { position:absolute;inset:0;pointer-events:none }
.goal-target { position:absolute;display:flex;align-items:center;justify-content:center;width:11.8%;height:5.35%;font-size:5.5cqw;line-height:1;font-style:italic;font-weight:750;transform:translate(-50%,-50%);border-radius:2.3cqw;color:#fff;transition:filter .1s }
.goal-target.active { background:#ffe223;box-shadow:0 0 0 .5cqw #fff778,0 0 2cqw #fffd9e;text-shadow:0 1px 2px #cca117 }
.goal-target.hit { animation:target-hit .4s ease-out }
.ball { position:absolute;z-index:3;width:26%;left:50%;top:83%;transform:translate(-50%,-50%);pointer-events:none }
.kick { position:absolute;z-index:4;top:84.7%;left:32%;width:36%;height:9.2%;border:0;background:none;padding:0 }
.kick>img { position:absolute;inset:0;width:100%;height:100%;object-fit:fill }
.kick>span { position:absolute;top:56%;left:12%;width:76%;height:17%;display:flex;align-items:center;justify-content:center;gap:.7cqw;text-align:center;font-size:3cqw;line-height:1;font-weight:600;color:#fff5c0;text-shadow:0 1px 1px #9c4a1c }
.kick span b { font-weight:700;font-variant-numeric:tabular-nums }
.kick:active:not(:disabled) { transform:translateY(.5cqw) }
.hand-hint { position:absolute;z-index:5;top:88.2%;left:65%;width:15%;pointer-events:none;animation:hand-tap 1.25s infinite }
.kick-leg { position:absolute;z-index:5;left:-14%;top:65%;width:46%;pointer-events:none;transform-origin:0 0;animation:leg-kick .7s ease-in-out }
.side-action { position:absolute;bottom:6.5%;width:23%;border:0;background:none;display:flex;flex-direction:column;align-items:center;padding:0;color:#fff;opacity:.9 }
.side-action b { font-size:2.75cqw;font-weight:650;background:#086caa;padding:2.5cqw 1cqw;width:100%;border-radius:5cqw;white-space:nowrap }
.chances { left:1% }.qr { right:1% }
.side-icon { width:13cqw;height:12cqw;padding:2cqw;background:#167eb7;border-radius:4cqw;transform:rotate(12deg) }
.side-icon.plus { border-radius:50%;transform:rotate(-15deg) }
.celebration { position:absolute;inset:0;z-index:10 }
.celebration-dim { position:absolute;inset:0;background:linear-gradient(#0009 0%,#0009 27%,#000a 36%,#000a 59%,#0000 69%,#0002 76%,#0006 84%,#0006 100%) }
.celebration-content { position:absolute;inset:0;animation:banner-enter .35s ease-out }
.ribbon-art { position:absolute;z-index:1;left:-2%;top:29.2%;width:104%;height:35% }
.mascots { position:absolute;z-index:2;width:48%;right:-4%;top:24.5% }
.celebration[data-kind=complete] .mascots { width:88%;right:-12%;top:16.5% }
.ribbon-front { z-index:3;clip-path:polygon(17% 56%,100% 42%,100% 100%,0 100%,0 80%);pointer-events:none }
.ribbon { position:absolute;z-index:4;display:flex;align-items:center;transform:rotate(-6deg) }
.ribbon strong { display:block;font-size:7.4cqw;line-height:1.06;font-weight:750;white-space:pre-line }
.ribbon-blue { left:4%;top:40.8%;width:53%;height:8.6%;text-align:center;justify-content:center }
.celebration[data-kind=complete] .ribbon-blue { left:4%;width:32%;justify-content:center }
.celebration[data-kind=complete] .ribbon-blue strong { font-size:6.3cqw;white-space:pre-line;line-height:1.02 }
.ribbon-green { left:21%;top:50.3%;width:74%;height:8.4%;text-align:center;justify-content:center }
.ribbon-blue strong[data-long=true] { font-size:6.3cqw }
.ribbon-green strong { display:flex;flex-direction:column;align-items:center;gap:1cqw;max-width:100%;white-space:normal }
.banner-amount { display:block;font-size:8.7cqw;line-height:1;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums }
.banner-caption { display:block;font-size:4.7cqw;line-height:1.15;font-weight:600;white-space:nowrap }
.progress-track { position:absolute;z-index:3;top:61.9%;left:33%;width:65%;height:1.8%;background:#4b3b0488;transform:rotate(-6deg);border-radius:10cqw;overflow:hidden }
.progress-track span { display:block;height:100%;background:#ffff16;width:100%;border-radius:inherit }
.celebration[data-kind=standard] .progress-track span { animation:banner-time 4.2s linear forwards }
@keyframes banner-time { from { width:100% } to { width:0% } }
.skip { position:absolute;z-index:12;right:5.5%;top:5.75%;border:1px solid #edf2f7;background:#6b788980;color:white;border-radius:5cqw;font-size:3.8cqw;font-weight:650;padding:1.3cqw 2.3cqw }
.celebration-next { position:absolute;z-index:4;left:0;top:26%;width:100%;height:40%;border:0;background:transparent;color:transparent;font-size:0 }
.celebration-next:focus-visible { outline:2px solid #fff;outline-offset:3px }
.celebration[data-kind=standard] .celebration-next:focus-visible { outline:none }
.celebration[data-kind=complete] .celebration-next { top:69.8%;left:20%;width:60%;height:5.2%;border-radius:10cqw;background:#ff2556;color:#fff;font-size:4.1cqw;font-weight:550 }
.celebration-close { position:absolute;top:5.75%;right:5.5%;width:8%;padding:1.2cqw;border:0;border-radius:50%;background:#141818 }
.celebration-close img { width:100%;display:block }
.result-burst { position:absolute;z-index:8;top:63%;left:50%;width:58%;aspect-ratio:1;transform:translate(-50%,-50%);text-align:center;display:grid;place-items:center;animation:reward-pop .4s ease-out }
.result-burst>img { position:absolute;inset:0;width:100%;height:100% }
.result-burst>span { position:relative;z-index:1;font-style:italic;font-size:8cqw;color:#fffedb;text-shadow:0 0 2cqw #dfbd52;white-space:nowrap }
.result-burst b { font-size:16cqw;font-weight:700 }
.message-layer { position:absolute;inset:0;z-index:20;background:#000b;display:grid;place-items:center;padding:7% }
.message-card { position:relative;background:#fff;border-radius:5cqw;padding:7cqw 6cqw;color:#1b2531;text-align:center;width:100%;box-shadow:0 4cqw 15cqw #0004 }
.message-card h2 { font-size:5cqw;margin:2cqw 0 3cqw }
.message-card p { font-size:3.3cqw;line-height:1.5;margin:0 0 5cqw }
.message-action { width:100%;border:0;border-radius:6cqw;background:#fe2c55;color:#fff;padding:3cqw;font-size:3.5cqw;font-weight:650 }
.message-close { position:absolute;right:3cqw;top:2cqw;background:none;border:0;width:6cqw;padding:0 }
.message-close img { width:100%;filter:brightness(.4) }
.preview-label { font-size:9px;line-height:22px;color:#9faec1;text-align:center;min-height:22px;padding:0 8px }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0 }
@keyframes hand-tap { 50% { transform:translate(-1cqw,-1cqw) scale(.92) } }
@keyframes banner-enter { from { opacity:0;transform:translateX(10%) } to { opacity:1;transform:none } }
@keyframes reward-pop { from { opacity:0;transform:translate(-50%,-50%) scale(.7) } to { opacity:1;transform:translate(-50%,-50%) scale(1) } }
@keyframes target-hit { 40% { filter:brightness(1.7) } }
@keyframes leg-kick { 0%,100% { transform:translateX(-90%) rotate(20deg) } 45% { transform:translateX(18%) rotate(-18deg) } }
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { animation:none!important;transition:none!important } }
@media(max-aspect-ratio:46/100) { .stage { width:100vw }.preview { justify-content:flex-start } }

/* Local withdrawal preview, using the existing Withdraw.tsx visual structure. */
.withdraw-flow { --flow-ink:#161823;--flow-muted:#7b7c83;--flow-line:#eaeaec;--flow-pink:#fe2c55;width:min(100%,576px);min-height:calc(100svh - 22px);background:#f0f0f0;color:var(--flow-ink);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif }
.flow-header { position:relative;display:flex;align-items:center;justify-content:center;padding:24px 50px 18px;min-height:64px }
.flow-header h1 { font-size:20px;line-height:26px;font-weight:700;margin:0;text-align:center;letter-spacing:-.35px }.flow-header button { position:absolute;left:9px;width:44px;height:44px;padding:11px;background:none;border:0;color:var(--flow-ink) }
.flow-header svg { width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round }
.flow-content { padding:0 16px 24px }.withdraw-balance { border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #0000000d;margin-bottom:16px }
.balance-main { background:linear-gradient(100deg,#2d2d2d,#3a3a3a);display:flex;align-items:center;justify-content:space-between;padding:20px;color:#fff }.balance-main>div { display:flex;flex-direction:column;gap:4px }.balance-main span { font-size:14px;color:#ffffffb3 }.balance-main strong { font-size:32px;line-height:1.25;font-weight:900;letter-spacing:-.75px;font-variant-numeric:tabular-nums }.balance-main small { font-size:12px;color:#ffffff80 }.balance-main img { width:64px;height:64px;object-fit:contain }.balance-last { background:#4a4a4a;padding:8px 20px;color:#ffffffb3;font-size:12px }
.withdraw-card { background:white;border-radius:12px;padding:20px;margin-bottom:16px;box-shadow:0 1px 2px #0000000d }.withdraw-card h2 { margin:0 0 12px;font-size:16px;font-weight:700;line-height:24px }.transfer-label { display:flex;align-items:center;gap:8px;color:var(--flow-muted);font-size:14px;margin-bottom:18px }.transfer-label img { width:20px;height:20px;object-fit:contain }.amount-heading { display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--flow-muted);margin-bottom:10px }.selected-amount { border:2px solid var(--flow-pink);border-radius:12px;padding:12px;text-align:center;color:var(--flow-pink);font-size:18px;font-weight:700;line-height:24px;margin-bottom:16px }
.flow-primary { display:block;background:var(--flow-pink);color:white;border:0;border-radius:12px;padding:14px 12px;width:100%;font-size:14px;line-height:20px;font-weight:650;min-height:48px }.flow-primary:active { background:#e82349 }.card-caption { color:var(--flow-muted);font-size:10px;text-align:center;line-height:1.5;margin:10px 0 0 }
.round-details { background:white;border-radius:12px;margin-bottom:16px;box-shadow:0 1px 2px #0000000d }.round-details summary { list-style:none;display:flex;align-items:center;justify-content:space-between;padding:18px 20px;font-size:14px;font-weight:600;cursor:pointer }.round-details summary::-webkit-details-marker { display:none }.details-count { font-size:12px;color:var(--flow-muted);font-weight:400 }.details-count b { margin-left:8px;font-size:17px }.round-details[open] .details-count b { display:inline-block;transform:rotate(180deg) }.kick-breakdown { list-style:none;padding:0 20px 8px;margin:0 }.kick-breakdown li { display:flex;justify-content:space-between;padding:10px 0;font-size:12px;border-top:1px solid var(--flow-line) }.kick-breakdown span { color:var(--flow-muted) }
.withdraw-note { display:flex;align-items:flex-start;gap:9px;padding:0 7px;color:var(--flow-muted) }.withdraw-note svg { width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;margin-top:2px }.withdraw-note p { font-size:10px;line-height:1.6;margin:0 }.withdraw-note strong { font-weight:600;color:#62636d }
.modal-layer { position:fixed;inset:0;z-index:30;background:#16182366;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto }
.account-sheet,.confirmation-sheet { position:relative;background:white;border-radius:16px;width:100%;max-width:384px;box-shadow:0 22px 70px #0003;overflow:hidden }.sheet-header { position:relative;border-bottom:1px solid var(--flow-line);padding:20px 44px;text-align:center }.sheet-header h2 { font-size:16px;line-height:24px;font-weight:700;margin:0 }.sheet-close { position:absolute;right:12px;top:12px;width:30px;height:30px;display:grid;place-items:center;border:0;background:none;color:#86878d;font-size:25px;font-weight:300;line-height:1;z-index:2 }
.account-sheet fieldset { margin:0;padding:0;border:0;min-width:0 }.account-option { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid var(--flow-line);font-size:14px;font-weight:500;cursor:pointer }.account-option input { appearance:none;border:2px solid #c8c9cd;border-radius:50%;width:20px;height:20px;flex-shrink:0;margin:0 }.account-option input:checked { border-color:var(--flow-pink);background:radial-gradient(circle,var(--flow-pink) 0 4px,transparent 5px) }.sheet-actions { padding:20px }
.confirmation-sheet { max-width:448px;max-height:calc(100svh - 32px);display:flex;flex-direction:column }.confirmation-scroll { overflow-y:auto;padding:22px 20px 0;min-height:0;scrollbar-width:thin }.confirmation-logo { display:block;height:30px;max-width:140px;object-fit:contain;margin:0 auto 8px }.preview-chip { display:table;margin:0 auto 14px;padding:3px 7px;background:#f2f2f3;border-radius:4px;font-size:8px;letter-spacing:1px;color:#71727a;font-weight:600 }.confirmation-balance { text-align:center;margin-bottom:14px }.confirmation-balance>span { display:block;color:var(--flow-muted);font-size:11px;letter-spacing:1.1px }.confirmation-balance strong { display:block;font-size:26px;line-height:34px;letter-spacing:-.5px;margin-top:2px;font-weight:750 }.confirmation-status { background:#f8f8f8;border-radius:12px;padding:12px 9px;text-align:center;font-size:12px;color:var(--flow-muted);margin-bottom:14px }
.confirmation-box { border:1px solid var(--flow-line);border-radius:12px;padding:14px;margin-bottom:14px }.confirmation-box h2 { font-size:10px;line-height:16px;letter-spacing:.7px;font-weight:650;margin:0 0 10px }.fee-amount { display:block;text-align:center;color:var(--flow-pink);font-size:27px;font-weight:750;line-height:34px }.fee-caption { display:block;text-align:center;font-size:9px;color:var(--flow-muted);margin-top:1px }.fee-box p { text-align:center;font-size:11px;line-height:1.5;color:var(--flow-muted);margin:8px 0 0 }.fee-summary { margin:0;display:grid;gap:9px }.fee-summary>div { display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:18px }.fee-summary dt { color:var(--flow-muted) }.fee-summary dd { margin:0;font-weight:600;text-align:right }
.confirmation-steps { padding:0;margin:0;list-style:none;display:grid;gap:11px }.confirmation-steps li { display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:17px;font-weight:500 }.confirmation-steps b { width:23px;height:23px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-size:10px;background:#f2f2f3;color:#878890 }.confirmation-steps li:first-child b { background:var(--flow-pink);color:white }.confirmation-steps small { display:block;font-size:10px;font-weight:400;line-height:15px;color:var(--flow-muted);margin-top:2px }.confirmation-actions { border-top:1px solid var(--flow-line);padding:14px 20px 17px;flex-shrink:0;background:white }.confirmation-actions .card-caption { font-size:9px;margin-top:8px }
.flow-copy { color:var(--flow-muted);font-size:12px;line-height:1.6 }.operation-status { margin:20px 0 }.operation-status>div { display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--flow-line);font-size:12px }.operation-status dd { font-size:11px;margin:0;color:var(--flow-muted) }
.withdraw-flow button:focus-visible,.withdraw-flow input:focus-visible,.withdraw-flow summary:focus-visible { outline:2px solid #25a5ac;outline-offset:3px }
@media(max-width:360px) { .modal-layer { padding:10px }.confirmation-sheet { max-height:calc(100svh - 20px) }.confirmation-scroll { padding:18px 16px 0 }.confirmation-actions { padding:12px 16px }.confirmation-box { padding:12px } }
/* Programmatic headings announce the new screen without a text-selection outline. */
.withdraw-flow h1:focus,.withdraw-flow h2:focus { outline:none }

.amount-options { display:flex;gap:8px;margin-bottom:16px }.amount-options button { flex:1;border:0;border-radius:8px;background:#252833;color:#fff;font-size:14px;line-height:20px;padding:11px 4px;font-weight:600 }.amount-options button[aria-pressed=true] { background:var(--flow-pink) }
.payment-method-row { display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;border-top:1px solid var(--flow-line);padding:14px 0;margin:0 0 12px;color:var(--flow-muted);font-size:12px;text-align:left }.payment-method-row strong { margin-left:auto;color:var(--flow-ink);font-weight:500;min-width:0;overflow-wrap:anywhere;text-align:right }.payment-method-row>span:last-child { font-size:20px;line-height:16px }
.service-heading { display:flex;align-items:flex-start;justify-content:space-between;gap:12px }.service-heading>div { flex:1 }.service-heading img { width:56px;height:56px;object-fit:contain;flex-shrink:0 }.secondary-card h2 { margin-bottom:4px }.service-heading p { font-size:12px;line-height:18px;color:var(--flow-muted);margin:0 }.service-unavailable { background:#f2f0f1;color:#97969d;border:0;border-radius:12px;font-size:14px;line-height:20px;padding:11px;width:100%;font-weight:600;margin-top:14px }.recharge-number { display:flex;gap:10px;color:var(--flow-muted);font-size:13px;line-height:20px;margin-top:14px }.recharge-number span:first-child { border-right:1px solid var(--flow-line);padding-right:10px }

/* Text placement and compact-screen refinement. */
.collected strong,.round-meta b,.selected-amount,.fee-amount,.fee-summary dd { font-variant-numeric:tabular-nums }
.collected>span { color:#e1eaff }.collected { min-width:0 }.collected strong { white-space:nowrap }
.goal-target.active { color:#70510b;text-shadow:0 1px 0 #fff6 }
.kick:focus-visible { outline:2px solid #ffe75a;outline-offset:1px;border-radius:6cqw }
.preview-label { max-width:100%;padding:3px 10px;line-height:16px;min-height:22px;text-wrap:balance }
.withdraw-flow { --flow-muted:#6c6d75 }
.flow-content h2,.flow-header h1 { text-wrap:balance }.card-caption,.withdraw-note p,.flow-copy,.service-heading p,.fee-box p { text-wrap:pretty }
.amount-options button { min-width:0 }.selected-amount { white-space:nowrap }
.balance-main>div { min-width:0 }.balance-main strong { white-space:nowrap }.balance-main img { flex-shrink:0 }
.account-sheet { max-height:calc(100svh - 32px);display:flex;flex-direction:column }.sheet-header { flex-shrink:0 }.account-sheet form { display:flex;flex-direction:column;min-height:0 }.account-sheet fieldset { overflow-y:auto;min-height:0;scrollbar-width:thin }.sheet-actions { flex-shrink:0;border-top:1px solid var(--flow-line);padding:16px 20px }.account-option { padding:13px 20px;min-height:62px }.account-option strong { display:block;font-size:14px;font-weight:600;line-height:20px }.account-option small { display:block;color:var(--flow-muted);font-size:11px;font-weight:400;line-height:16px;margin-top:1px }.account-option:last-child { border-bottom:0 }
.sheet-close { width:36px;height:36px;right:8px;top:8px;font-size:26px }
.confirmation-scroll { padding-top:26px;overscroll-behavior:contain;scroll-padding:16px }.confirmation-balance strong { font-variant-numeric:tabular-nums }.fee-summary>div { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:baseline }.fee-summary dt { min-width:0 }.fee-summary dd { max-width:160px;overflow-wrap:anywhere }.confirmation-steps li>span { min-width:0 }.confirmation-box h2 { letter-spacing:.55px;line-height:1.5 }.confirmation-actions { padding-bottom:max(17px,env(safe-area-inset-bottom)) }
.operation-status>div { align-items:baseline }.operation-status dd { white-space:nowrap;flex-shrink:0;text-align:right }
@media(max-width:360px) { .flow-content { padding-inline:12px }.withdraw-card { padding:16px }.balance-main { padding:18px }.balance-main strong { font-size:30px }.balance-main img { width:56px;height:56px }.flow-header { padding-block:20px 16px }.flow-header h1 { font-size:19px }.fee-summary>div { gap:10px }.fee-summary dd { max-width:130px }.account-sheet { max-height:calc(100svh - 20px) } }
@media(max-height:650px) { .modal-layer { padding:10px }.account-sheet,.confirmation-sheet { max-height:calc(100svh - 20px) }.sheet-header { padding-block:14px }.sheet-actions { padding-block:12px }.confirmation-scroll { padding-top:18px }.confirmation-logo { height:26px }.preview-chip { margin-bottom:10px }.confirmation-box { margin-bottom:10px }.confirmation-actions { padding-top:10px;padding-bottom:10px } }

/* Entry screen: the principal bonus funnel's white card and blush background. */
body[data-view=welcome] { background:#fff2f5;color:#161823 }
body[data-view=welcome] .preview { background:radial-gradient(ellipse at 15% 12%,#ffe0e9 0,transparent 48%),radial-gradient(ellipse at 95% 85%,#e5f8f8 0,transparent 45%);padding:24px 18px 0;justify-content:center }
.welcome { width:100%;max-width:408px;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif }
.welcome-brand { display:flex;justify-content:center;align-items:center;gap:14px;margin:0 0 20px }.welcome-brand img { width:100px;height:30px;object-fit:contain }.welcome-brand>span { border-left:1px solid #d7cbd0;padding-left:14px;color:#646570;font-size:12px;font-weight:600 }
.welcome-card { position:relative;isolation:isolate;background:white;border:1px solid #fff;border-radius:24px;padding:26px 24px 20px;text-align:center;box-shadow:0 12px 42px #78314912;animation:welcome-enter .35s ease-out }
.welcome-eyebrow { display:inline-block;padding:5px 9px;background:#fff0f4;color:#dc2450;border-radius:6px;font-size:9px;line-height:14px;font-weight:750;letter-spacing:1.25px }
.welcome h1 { margin:14px 0 8px;font-size:30px;line-height:1.12;letter-spacing:-1px;font-weight:800 }.welcome h1:focus { outline:none }
.welcome-lead { margin:0;font-size:20px;line-height:1.32;font-weight:550;letter-spacing:-.3px }.welcome-lead strong { color:#fe2c55;font-weight:800 }
.welcome-art { position:relative;isolation:isolate;max-width:282px;height:192px;margin:12px auto 19px;display:flex;align-items:center;justify-content:center }.welcome-art>img { position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 9px #b1762220) }.welcome-glow { position:absolute;inset:12px 15px 0;background:radial-gradient(ellipse,#fff1bd,transparent 70%);z-index:0 }.welcome-ticket { position:absolute;z-index:2;bottom:-7px;left:50%;transform:translateX(-50%) rotate(-3deg);padding:8px 15px;border:1px solid #ffdf76;background:#fff5c7;border-radius:8px;white-space:nowrap;font-size:10px;line-height:14px;letter-spacing:.8px;font-weight:800;color:#755416;box-shadow:0 3px 9px #956d1b12 }.welcome-ticket>span { margin:0 7px;color:#b19340 }
.welcome-copy { margin:0 auto;max-width:310px;color:#70717b;font-size:12px;line-height:1.65;text-wrap:pretty }
.welcome-steps { list-style:none;padding:16px 0;margin:16px 0 18px;border-top:1px solid #f0edef;border-bottom:1px solid #f0edef;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px }.welcome-steps li { display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;line-height:14px;color:#5f6069;font-weight:500 }.welcome-steps li>span { width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#fff0f4;color:#fe2c55;font-size:10px;font-weight:750 }
.welcome-start { width:100%;display:flex;align-items:center;justify-content:center;gap:10px;background:#fe2c55;color:white;border:0;border-radius:12px;min-height:50px;padding:14px 12px;font-size:15px;line-height:22px;font-weight:700;box-shadow:0 5px 14px #fe2c551e;transition:background .15s,transform .15s }.welcome-start svg { width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round }.welcome-start:hover { background:#ed234b }.welcome-start:active { transform:translateY(1px) }.welcome-start:focus-visible { outline:3px solid #19a8ad;outline-offset:4px }
.welcome-note { margin:10px 0 0;color:#84848d;font-size:10px;line-height:16px }
body[data-view=welcome] .preview-label { color:#777780;margin-top:12px;padding-bottom:10px;font-size:9px;line-height:16px }
@keyframes welcome-enter { from { opacity:0;transform:translateY(8px) } to { opacity:1;transform:none } }
@media(max-width:360px) { body[data-view=welcome] .preview { padding:16px 12px 0 }.welcome-card { padding:22px 18px 18px;border-radius:20px }.welcome h1 { font-size:27px }.welcome-lead { font-size:19px }.welcome-art { height:166px;margin-block:10px 17px }.welcome-brand { margin-bottom:16px }.welcome-steps { gap:4px }.welcome-steps li { font-size:9px } }
@media(max-height:740px) { body[data-view=welcome] .preview { padding-top:14px;justify-content:flex-start }.welcome-brand { margin-bottom:14px }.welcome-card { padding-top:20px }.welcome-art { height:156px;margin-block:8px 17px }.welcome h1 { margin-top:11px }.welcome-steps { margin-block:12px 14px;padding-block:12px } }

.welcome-reward { padding:4px 0 0;color:#70717b }.welcome-reward>span { display:block;font-size:11px;line-height:17px;font-weight:400 }.welcome-reward>strong { display:block;margin:2px 0;color:#454650;font-size:19px;line-height:26px;font-weight:650;white-space:nowrap }.welcome-reward small { font-size:10px;font-weight:500 }.welcome-reward p { margin:0;font-size:10px;line-height:16px }

/* Decimal portions reveal the same fixed balance without overflowing the art. */
.goal-target.decimal { font-size:3cqw;letter-spacing:-.1cqw }.result-burst b { font-size:10.5cqw }
