:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; background: transparent; overflow: hidden; }
main { width: 100%; min-height: 56px; }
#status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; color: #aaa; font-size: 13px; pointer-events: none; text-align: center; }
#status:empty { display: none; }
#pay-button { display: block; width: 100%; height: 56px; border: 0; border-radius: 28px; background: #f29567; color: #fff; font: 600 16px -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#pay-button[hidden] { display: none; }
#pay-button[data-busy="true"] { color: transparent; position: relative; }
#pay-button[data-busy="true"]::after { content: ''; position: absolute; top: 18px; left: calc(50% - 10px); width: 16px; height: 16px; border: 2px solid #ffffff60; border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #pay-button[data-busy="true"]::after { animation: none; } }
