/* coin-shop.css — Get Coins menu (read-only catalog preview). Server-driven pack list; themes keep their .shop-pack materials. */
#coinShop.coin-shop{--cs-plum:#4a1f6e;--cs-honey:#ffc93c;--cs-cream:#fff4d6;
  width:min(460px,calc(100% - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  border:4px solid var(--cs-cream);border-radius:24px;background:linear-gradient(180deg,#fff1f8,#f1defc);color:var(--cs-plum);
  box-shadow:0 0 0 3px #b77be0,0 10px 0 #8a47bd;font-family:"Fredoka FX","Trebuchet MS",system-ui,sans-serif}
#coinShop.coin-shop::backdrop{background:rgba(48,16,74,.6)}
#coinShop #coinShopBody{display:grid;gap:10px;padding:0 12px 14px}
/* header + tabs stay together at the top */
#coinShop .shop-heading{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 -12px;padding:10px 14px;background:linear-gradient(180deg,#9a4fd0,#6a2aa8);border-bottom:4px solid var(--cs-honey)}
#coinShop #shopTitle{margin:0;color:#fff7e0;font-size:1.35rem;text-shadow:0 2px 0 #3d1560}
#coinShop .shop-close{flex:none;min-width:44px;min-height:44px;border-radius:50%;border:3px solid var(--cs-cream);background:linear-gradient(180deg,#ff8dc0,#ee5d9f);color:#4a0a2b;font:900 1.4rem/1 inherit;cursor:pointer;box-shadow:0 3px 0 #a02d68}
#coinShop .shop-heading-copy{display:grid;gap:4px}
#coinShop .shop-status-tag{justify-self:start;color:#fff4d6;background:#4a1f6e;border:1px solid #e6cffb;border-radius:999px;padding:2px 9px;font-size:.72rem;line-height:1.2}
#coinShop .shop-nav-slot{margin-top:10px}
#coinShop .shop-nav-slot:empty{display:none}
/* illustrated feature banner */
#coinShop .shop-hero{position:relative;display:flex;align-items:center;min-height:96px;padding:10px 12px;border:3px solid var(--cs-cream);border-radius:18px;overflow:hidden;
  background:radial-gradient(circle at 80% 40%,#ffe9a0,transparent 60%),linear-gradient(135deg,#ff8dc0,#c25bd6 55%,#7a36b0);box-shadow:0 0 0 2px #8a47bd,0 4px 0 #8a47bd}
#coinShop .shop-hero-text{display:grid;gap:2px;position:relative;z-index:1;max-width:58%}
#coinShop .shop-hero-eyebrow{color:#ffe9a0;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#coinShop .shop-hero-line{color:#fff;font-size:1.2rem;font-weight:900;line-height:1.1;text-shadow:0 2px 0 #4a1f6e}
#coinShop .shop-hero-art{position:absolute;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 4px rgba(40,10,60,.4))}
#coinShop .shop-hero-art-a{right:8px;bottom:-4px;width:104px;height:104px}
#coinShop .shop-hero-art-b{right:84px;bottom:-6px;width:68px;height:68px}
#coinShop .shop-hero-art[hidden]{display:none}
/* pack plaques: art | copy | price (direct-child structure preserved) */
#coinShop .shop-packs{list-style:none;margin:0;padding:0;display:grid;gap:10px}
#coinShop .shop-pack{display:grid;grid-template-columns:76px minmax(0,1fr) auto;grid-template-areas:"art copy price" "art value value";align-items:center;gap:2px 10px;min-width:0;cursor:default;
  padding:8px 12px 8px 8px;border-radius:18px;border:3px solid var(--cs-cream);background:linear-gradient(180deg,#ffe58a,#ffc13a);color:#4a2605;box-shadow:0 0 0 2px #a8590d,0 4px 0 #a8590d}
#coinShop .shop-pack-art{grid-area:art;width:76px;height:76px;max-width:100%;object-fit:contain;justify-self:center;pointer-events:none;filter:drop-shadow(0 4px 4px rgba(60,20,70,.28))}
#coinShop .shop-pack-art[hidden]{display:none}
#coinShop .shop-pack-copy{grid-area:copy;display:grid;gap:1px;min-width:0;overflow-wrap:anywhere}
#coinShop .shop-pack-name{font-weight:900;font-size:1.02rem}
#coinShop .shop-pack-badge{justify-self:start;padding:0 8px;border-radius:999px;font-size:.72rem;font-weight:800;background:#ff5f9e;color:#3f0a25;border:1.5px solid var(--cs-cream)}
#coinShop .shop-pack-quantity{font-size:.95rem;font-weight:800}
#coinShop .shop-pack-price{grid-area:price;flex:none;padding:5px 11px;border-radius:999px;background:var(--cs-plum);color:#fff7e0;border:2px solid var(--cs-cream);font-weight:900;font-size:.9rem;font-variant-numeric:tabular-nums;white-space:nowrap}
#coinShop .shop-pack small.shop-pack-value{grid-area:value;font-size:.76rem;line-height:1.25;color:#5a3410}
#coinShop .shop-pack:has(.shop-pack-art[hidden]){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"copy price" "value value"}
#coinShop #shopMessage{margin:0;padding:6px 2px;border:0;background:none;color:#4a1f6e;font-size:.8rem;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
#coinShop:has(#shopRetry:not([hidden])) #shopMessage{padding:8px;border:2px solid #a51939;border-radius:10px;background:#fff1ef;color:#921a34}
#coinShop .shop-message:empty{display:none}
#coinShop .shop-actions{display:flex;flex-wrap:wrap;gap:8px}
#coinShop .shop-actions button{min-height:44px;flex:1 1 110px;border-radius:999px;border:3px solid var(--cs-cream);font:700 .95rem inherit;font-family:inherit;cursor:pointer}
#coinShop .shop-cancel{background:#fff9ee;color:#4c1f7d;box-shadow:0 0 0 1.5px #b48ad9}
#coinShop .shop-retry{background:#7a36b0;color:#fff}
#coinShop .shop-retry[hidden]{display:none}
/* required disclosures: compact footer, always visible by scrolling */
#coinShop .shop-fine{display:grid;gap:6px;padding-top:10px;border-top:2px dashed #b48ad9;font-size:.8rem}
#coinShop .shop-fine p{margin:0;padding:0;border:0;background:none;color:#4a1f6e;font-weight:600;line-height:1.35}
#coinShop .shop-fine strong{color:#a0186a}
#coinShop .legal-links{display:flex;flex-wrap:wrap;gap:2px 16px}
#coinShop .legal-links a{color:#5a1f96;font-weight:700;min-height:24px;display:inline-flex;align-items:center;text-decoration:underline}
#coinShop #shopRegionNotice{margin:0}
#coinShop button:focus-visible,#coinShop a:focus-visible{outline:4px solid #21385b;outline-offset:3px}
@media (max-width:360px){
  #coinShop .shop-pack{grid-template-columns:64px minmax(0,1fr);grid-template-areas:"art copy" "art price" "art value"}
  #coinShop .shop-pack-art{width:64px;height:64px}
  #coinShop .shop-pack-price{justify-self:start}
  #coinShop .shop-pack:has(.shop-pack-art[hidden]){grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "price" "value"}
  #coinShop .shop-hero-art-b{display:none}
}
@media (max-width:360px){#coinShop.coin-shop{width:calc(100% - 16px)}}
@media (max-height:480px){#coinShop.coin-shop{max-height:calc(100dvh - 12px)}#coinShop .shop-hero{min-height:72px}}
@media (forced-colors:active){#coinShop.coin-shop,#coinShop .shop-pack,#coinShop .shop-pack-price,#coinShop .shop-close,#coinShop .shop-hero{border:2px solid CanvasText;forced-color-adjust:auto}}
