.credit-package-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px}
.credit-package-card{position:relative;display:flex;min-height:210px;flex-direction:column;align-items:flex-start;text-align:left;padding:20px;border-radius:16px;background:#fff;color:var(--text);border:1px solid var(--border);box-shadow:0 10px 26px rgba(45,55,80,.06);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.credit-package-card:hover{transform:translateY(-3px);border-color:#bfb4f1;box-shadow:0 16px 32px rgba(80,65,155,.13)}
.credit-package-card.featured{border:2px solid var(--accent);background:linear-gradient(155deg,#fff,#f6f3ff)}
.credit-package-card.best-value{border-color:#9bcbb8;background:linear-gradient(155deg,#fff,#f2fbf7)}
.credit-package-badge{position:absolute;top:12px;right:12px;padding:5px 8px;border-radius:999px;background:#ece8ff;color:#5d48c6;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.35px}
.best-value .credit-package-badge{background:#e2f5ec;color:#197252}
.credit-package-name{color:var(--muted);font-size:13px;font-weight:700}
.credit-package-price{margin-top:14px;font-size:30px;font-weight:850;color:#172033}
.credit-package-credits{margin-top:6px;font-size:19px;font-weight:800;color:#4f3caf}
.credit-package-rate{margin-top:6px;color:var(--muted);font-size:12px}
.credit-package-action{margin-top:auto;width:100%;padding-top:18px;color:var(--accent);font-weight:800}
.credit-package-note{margin-top:14px;color:var(--muted);font-size:12px;line-height:1.6}
@media(max-width:1000px){.credit-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.credit-package-grid{grid-template-columns:1fr}.credit-package-card{min-height:180px}}

/* Existing entitlements remain visible in payment history during the free period. */
body.unlimited-free-prompts .package-sales,
body.unlimited-free-prompts #walletLowBanner,
body.unlimited-free-prompts #noPromptsPurchase{display:none!important}

.free-access-notice{padding:16px;border:1px solid var(--accent);border-radius:12px;font-size:16px;line-height:1.6}

body.unlimited-free-prompts [data-screen="billing"],
body.unlimited-free-prompts .payment-history-entry,
body.unlimited-free-prompts #billingPage,
body.unlimited-free-prompts #topWalletBalance{display:none!important}
