.pricing-main{max-width:980px;margin:10px auto 60px;width:calc(100% - 32px)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.balance-card{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#f5effb;border-radius:14px;padding:18px 22px;margin:22px 0}
.balance-card .coin{font-size:30px;color:#9160c6}.balance-card small{display:block;font-size:10px;font-weight:800;letter-spacing:.16em;color:#8a6ba4;line-height:1.2}.balance-card b{font-size:32px;line-height:1.1;color:#34253f}
.balance-card p{flex:1 1 220px;margin:0;font-size:13px;color:#7a6985}
.notice{border-left:3px solid #9c76c5;background:#faf7fd;padding:12px 16px;border-radius:0 10px 10px 0;margin:0 0 20px;color:#34253f}
.notice.ok{border-color:#3f9b6b;background:#f0faf4}.notice.err{border-color:#c0504d;background:#fdf3f3}
.packs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.packs-loading{grid-column:1/-1;margin:0}
.pack{position:relative;display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #e6deee;border-radius:18px;padding:26px 22px 22px}
.pack.highlight{border:2px solid #9160c6;box-shadow:0 14px 40px rgba(103,66,151,.14)}
.pack .tag{position:absolute;top:-12px;left:22px;background:#674297;color:#fff;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;padding:4px 10px;border-radius:99px}
.pack h3{margin:0;font-size:15px;color:#6a5a76}
.pack .credits{font-size:40px;font-weight:800;line-height:1.1;color:#34253f}.pack .credits small{font-size:14px;font-weight:600;color:#84728e}
.pack .price{font-size:22px;font-weight:700;color:#674297}.pack .per{font-size:12px;color:#84728e}.pack .blurb{margin:4px 0 12px;font-size:13px;color:#7a6985;flex:1}
.pack button{width:100%;min-height:46px;border:0;border-radius:10px;background:#674297;color:#fff;font-weight:700;font-size:15px;font-family:inherit;cursor:pointer}
.pack button:hover:not(:disabled){background:#563681}.pack button:disabled{opacity:.55;cursor:not-allowed}
.pack button:focus-visible{outline:3px solid #ae87dc;outline-offset:3px}
.usage ul{padding-left:20px}.legal-links{font-size:13px}
#history{margin-top:30px}.history-table{width:100%;border-collapse:collapse;font-size:13px}.history-table th,.history-table td{text-align:left;padding:9px 10px;border-bottom:1px solid #ece5f2}.history-table th{font-size:10px;letter-spacing:.12em;color:#8a6ba4}
.history-table .st-paid{color:#2f7d54;font-weight:700}.history-table .st-created{color:#8a7a45}.history-table .st-failed{color:#a04442}
@media(max-width:1000px){.packs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.packs{grid-template-columns:1fr}.pack .credits{font-size:34px}.history-table thead{display:none}.history-table tr{display:block;padding:8px 0;border-bottom:1px solid #ece5f2}.history-table td{display:flex;justify-content:space-between;border:0;padding:3px 4px}.history-table td::before{content:attr(data-label);color:#8a6ba4;font-size:11px}}

.currency-bar{display:flex;align-items:center;gap:10px;margin:0 0 18px;font-size:13px;color:#6a5a76}
.currency-toggle{display:inline-flex;border:1px solid #d9cce6;border-radius:99px;overflow:hidden;background:#fff}
.currency-toggle button{border:0;background:transparent;padding:7px 16px;font:inherit;font-weight:700;font-size:13px;color:#674297;cursor:pointer;min-height:34px}
.currency-toggle button[aria-pressed=true]{background:#674297;color:#fff}
.currency-toggle button:focus-visible{outline:3px solid #ae87dc;outline-offset:-3px}

.paypal-host{margin:18px 0 8px;padding:18px;border:1px solid #e6deee;border-radius:14px;background:#faf7fd}
.paypal-host .paypal-prompt{margin:0 0 12px;font-size:14px;color:#5c5065}
.paypal-host .paypal-cancel{margin-top:12px;border:0;background:transparent;color:#674297;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.paypal-host .paypal-cancel:focus-visible{outline:3px solid #ae87dc;outline-offset:3px}

.subscription-status{margin:12px 0 18px;padding:14px;border:1px solid #e4dceb;border-radius:12px;background:#faf8fc}
.subscription-status b{display:block;margin-bottom:4px}
.subscription-status p{margin:4px 0;color:#6b6275;font-size:13px}
.subscription-status .cancel-sub{margin-top:10px;height:36px;padding:0 14px;border:0;border-radius:8px;background:#6b4f8a;color:#fff;font:600 12px var(--sans,sans-serif);cursor:pointer}
.subscription-status .cancel-sub:disabled{opacity:.6;cursor:wait}
#subscriptions-section{margin-bottom:28px}
#subscriptions-section h2,#packs-title{font:400 22px/1.2 var(--serif,Georgia,serif);color:#302835;margin:0 0 8px}
.sub-intro{margin:0 0 14px;color:#756b80;font-size:13px}
.pack .per.sub{color:#674297}
