/* Get coins page and the top-bar button */
a.get-coins { display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
a.get-coins:hover { filter: brightness(1.08); }
.shop { max-width: 980px; }
.shop-banner { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: #2a2d1a; box-shadow: 0 0 0 1px #5b6015; color: var(--text); }
.shop-banner.soon { background: var(--surface-2); box-shadow: 0 0 0 1px var(--line); color: var(--muted); }
.shop-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.shop-pack { display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; padding: 18px 14px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.shop-coins { display: grid; justify-items: center; gap: 4px; }
.shop-coins .coin { width: 34px; height: 34px; }
.shop-coins b { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.shop-coins small, .shop-bonus, .shop-label { color: var(--muted); font-size: 12px; font-weight: 700; }
.shop-price { font-size: 18px; font-weight: 800; }
.shop-pack.suggested { box-shadow: 0 0 0 2px var(--accent); }
.shop-tip { color: var(--accent); font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.shop-pack .primary { margin-top: 4px; }
.shop-fine { margin: 18px 0 0; color: var(--faint); font-size: 12px; }
/* On a phone the top-bar button shrinks to a plus sign (its words stay for screen readers), so the wallet fits on one line. */
@media (max-width: 480px) { .shop-packs { grid-template-columns: 1fr 1fr; gap: 8px; } a.get-coins { padding: 0 13px; font-size: 0; } a.get-coins::before { content: "+"; font-size: 22px; font-weight: 900; line-height: 1; } .wallet-group #refill { font-size: 12px; white-space: nowrap; } }
/* On the narrowest phones a long balance would run into the logo: the coin picture beside it goes. */
@media (max-width: 400px) { .wallet .coin { display: none; } }
