:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #102b50; background: #fbf7ef; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top right, #fff7dc, transparent 42%), #fbf7ef; }
.page { width: min(100% - 28px, 620px); margin: 0 auto; padding: max(22px, env(safe-area-inset-top)) 0 max(28px, env(safe-area-inset-bottom)); }
.hidden { display: none !important; }
.shell { display: grid; gap: 16px; }
header { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; }
header span { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
header strong { font-size: 11px; color: #617085; }
.pocket-card { position: relative; overflow: hidden; min-height: 350px; padding: 24px; border: 1px solid #d9bd75; border-radius: 26px; background: linear-gradient(145deg, #fffdf7, #f5e8bd); box-shadow: 0 20px 48px rgba(56,42,10,.15); }
.brand-row { display: flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.swiftpay-brand-logo { width: 48px; height: 48px; border-radius: 13px; object-fit: contain; }
.merchant-logo-wrap { margin-top: 28px; }
.merchant-logo-wrap:has(.store-logo.hidden) { display: none; }
.store-logo { display: block; width: min(132px,45%); max-height: 72px; object-fit: contain; object-position: left center; }
h1 { margin: 22px 0 7px; font-size: clamp(25px,7vw,38px); line-height: 1.05; }
.brand-row + h1 { margin-top: 38px; }
.wallet-id { margin-top: 30px; font: 600 clamp(17px,5vw,23px)/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.pin-note { margin: 10px 0; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.barcode { height: 62px; padding: 7px; border-radius: 7px; background: #fff; }
.barcode svg { width: 100%; height: 100%; fill: #000; }
.pocket-card > small { display: block; margin-top: 15px; font-weight: 700; }
.trial { position: absolute; inset: 42% -8% auto; z-index: 2; display: grid; padding: 8px; transform: rotate(-11deg); border: 3px solid #9b1c1c; background: rgba(255,255,255,.9); color: #9b1c1c; text-align: center; }
.trial span { font-size: 10px; }
.notice,.error { display: grid; gap: 5px; padding: 16px; border: 1px solid #e5cf9a; border-radius: 16px; background: #fff; }
.notice span,.contact,.rules,.help,.error p { color: #5b6878; font-size: 13px; line-height: 1.5; }
.rules { display: grid; gap: 3px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
button { min-height: 46px; border: 1px solid #c78e16; border-radius: 12px; background: #fff; color: #102b50; font: inherit; font-weight: 750; }
button:first-child { background: #102b50; color: #fff; border-color: #102b50; }
.qr-panel { display: grid; justify-items: center; gap: 8px; padding: 16px; border-radius: 14px; background: #fff; }
.qr-panel svg { width: min(260px,100%); height: auto; }
@media (max-width: 430px) { .page { width: min(100% - 20px,620px); } .pocket-card { min-height: 320px; padding: 19px; } .actions { grid-template-columns: 1fr; } }
