#shop-panel{position:fixed;inset:0;z-index:75;display:grid;place-items:center;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom));background:#130b2ccc;backdrop-filter:blur(16px);overscroll-behavior:contain}
#shop-panel[hidden]{display:none}
.shop-card{display:flex;flex-direction:column;width:min(560px,100%);max-height:94dvh;overflow:hidden;border-radius:28px;background:radial-gradient(ellipse at 100% 0,#8a5a2a99,transparent 55%),radial-gradient(ellipse at 0 0,#754ca1,transparent 62%),linear-gradient(145deg,#30204b,#160e2c);box-shadow:0 18px 80px #0d051baa,inset 0 1px #ead0ff66;padding:24px;color:#fff5ff}
.shop-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-shrink:0}
.shop-heading small{color:#e6cdf5;font-size:12px;font-weight:800;letter-spacing:1.5px}
.shop-heading h2{font-size:26px;margin:5px 0;letter-spacing:-.5px}
.shop-balance{display:grid;text-align:right;color:#ffe17b}
.shop-balance span{font-size:12px;color:#f5ddad}
.shop-balance b{font-size:clamp(24px,6vw,36px);line-height:1.3;font-variant-numeric:tabular-nums;text-shadow:0 3px #7a4819,0 0 22px #ffc94b66}
.shop-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:6px;margin-right:-6px;scrollbar-width:thin;scrollbar-color:#b986e6 #452d6033}
.shop-intro{font-size:13px;line-height:1.55;color:#e2d3f0;margin:12px 0 16px}
.shop-packs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.shop-pack{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:84px;padding:14px 15px;border-radius:18px;background:#ffffff12;color:#fff5ff;text-align:left;transition:background .15s,transform .15s}
.shop-pack b{font-size:22px;font-weight:900;color:#ffe189;font-variant-numeric:tabular-nums;letter-spacing:-.3px}
.shop-pack span{font-size:13px;font-weight:700;color:#e2d0f2}
.shop-pack:hover{background:#ffffff1c}
.shop-pack[aria-checked=true]{background:linear-gradient(#ffe998,#efbb50);color:#452750;transform:translateY(-2px);box-shadow:0 4px #926030}
.shop-pack[aria-checked=true] b{color:#3d2350}
.shop-pack[aria-checked=true] span{color:#5d3b6f}
.shop-pack:disabled{cursor:wait}
.shop-pay{display:grid;gap:10px;margin-top:16px}
.shop-pay button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:54px;padding:12px 18px;border-radius:16px;font-size:15px;font-weight:850;text-align:left}
.shop-pay button b{font-size:17px;white-space:nowrap;font-variant-numeric:tabular-nums}
.shop-pay-card{background:#fff8ec;color:#3c254f;box-shadow:0 4px #b8a6c9}
.shop-pay-stars{background:linear-gradient(135deg,#2aabee,#1d8fd0);color:#fff;box-shadow:0 4px #135f8c}
.shop-pay button:active{transform:translateY(3px);box-shadow:none}
.shop-pay button:disabled{opacity:.6;cursor:wait}
.shop-notice{font-size:13px;line-height:1.55;min-height:1.6em;margin:14px 0 4px;color:#b7ffe0}
.shop-notice:empty{margin:6px 0 0}
.shop-invoice{display:block;padding:13px 16px;border-radius:15px;background:#2aabee;color:#fff;font-size:15px;font-weight:850;text-align:center;text-decoration:none;cursor:pointer;margin-bottom:6px}
.shop-retry{display:block;width:100%;padding:13px;border-radius:15px;background:#ffffff1c;color:#fff5ff;font-size:14px;font-weight:800}
.shop-footer{flex-shrink:0;padding-top:12px}
.shop-footer .primary{font-size:19px;min-height:52px}
.shop-footnote{font-size:12px;line-height:1.55;color:#c9b3dc;text-align:center;margin:12px 0 0}
@media(max-width:500px){.shop-card{padding:18px;border-radius:23px}.shop-heading h2{font-size:22px}.shop-pack{min-height:76px;padding:12px}.shop-pack b{font-size:19px}.shop-pay button{font-size:14px;padding:12px 14px}}
@media(max-width:340px){.shop-packs{grid-template-columns:1fr}}
@media(max-height:620px){.shop-intro,.shop-footnote{display:none}.shop-pack{min-height:62px}}
#buy-coins{justify-self:end;margin-top:6px;padding:9px 16px;border:0;border-radius:999px;background:linear-gradient(#ffe38a,#f2b236);color:#4a2a08;font-weight:900;font-size:14px;cursor:pointer;box-shadow:0 3px 0 #a8651a}
#buy-coins:hover{filter:brightness(1.06)}
