*{box-sizing:border-box}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:#f3f5f9;color:#111827;padding:16px}
.card{width:100%;max-width:420px;background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.08);padding:24px}
h1{font-size:1.35rem;margin:.3rem 0}
h2{font-size:1.15rem;margin:.2rem 0}
.muted{color:#6b7280}.small{font-size:.85rem}.center{text-align:center}
.tag{display:inline-block;background:#e0e7ff;color:#3730a3;font-size:.75rem;font-weight:600;padding:2px 8px;border-radius:999px}
header{margin-bottom:20px}
.product{display:flex;align-items:center;gap:12px;border:1px solid #e5e7eb;border-radius:12px;padding:14px;margin-bottom:16px}
.product p{margin:.2rem 0 0;font-size:.9rem}
.emoji{font-size:2rem}
.price{margin-left:auto;font-weight:700;font-size:1.15rem;white-space:nowrap}
.btn{width:100%;border:0;border-radius:10px;background:#00a868;color:#fff;font-size:1rem;font-weight:600;padding:14px;cursor:pointer}
.btn:hover{background:#008f59}.btn:disabled{opacity:.6;cursor:wait}
.btn.small{width:auto;padding:10px 14px;font-size:.9rem}
.link{background:none;border:0;color:#6b7280;text-decoration:underline;cursor:pointer;margin-top:8px;padding:0}
.hint{font-size:.8rem;color:#9ca3af;text-align:center;margin:.7rem 0 0}
.qr{display:flex;justify-content:center;margin:16px 0}
.qr img{width:240px;height:240px;image-rendering:pixelated}
.copy{display:flex;gap:8px}
.copy input{flex:1;min-width:0;border:1px solid #d1d5db;border-radius:10px;padding:10px;font-family:monospace;font-size:.8rem}
.status{display:flex;align-items:center;gap:8px;font-weight:600;margin:16px 0 4px}
.dot{width:10px;height:10px;border-radius:50%;background:#f59e0b;animation:pulse 1.2s infinite}
@keyframes pulse{50%{opacity:.3}}
.ok{width:72px;height:72px;margin:8px auto 12px;border-radius:50%;background:#00a868;color:#fff;font-size:2.4rem;line-height:72px}
#step-paid .btn,#step-msg .btn{margin-top:16px}
footer{margin-top:16px;font-size:.8rem;color:#9ca3af}footer a{color:inherit}
