/* CardCircle — the shop (shop.html): the Hold'em dealers and their outfits, for gems. */
.shop { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }
.shop-hero { text-align: center; padding: clamp(28px, 6vw, 56px) 0 clamp(16px, 3vw, 28px); }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; }
.shop-hero h1 {
  margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.05;
  background: linear-gradient(180deg, #fff8e2, var(--gold-2) 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 540px; margin: 14px auto 0; color: var(--ink-2); line-height: 1.6; }
.shop-balance {
  display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(111, 211, 230, 0.45); background: rgba(0, 0, 0, 0.3); color: var(--ink-2); font-size: 1rem;
}
.shop-balance .gem { width: 22px; height: 22px; }
.shop-balance strong { color: #c9f3fb; font-size: 1.2rem; }

.shop-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 0 0 18px; padding: 14px 16px;
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-border); text-align: center;
}
.shop-cta p { margin: 0; color: var(--ink-2); }
.shop-state { margin: 0 0 14px; text-align: center; color: var(--ink-2); }
.shop-state.bad { color: var(--lose); }

.shop-group { margin: 22px 0 10px; font-family: var(--font-display); color: var(--gold-2); font-size: 1.3rem; }
.shop-group:first-child { margin-top: 0; }
.shop-items {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px;
  margin: 0; padding: 0; list-style: none;
}
.shop-item {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--panel-border); box-shadow: var(--shadow);
}
.shop-item.on { border-color: var(--gold-2); box-shadow: 0 0 0 2px rgba(244, 220, 149, 0.25), var(--shadow); }
.si-dex {
  display: grid; place-items: end center; height: 170px; padding-top: 10px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, var(--felt-1), var(--felt-2) 60%, var(--felt-3));
}
.si-dex .dex { --dex-h: 170px; margin-bottom: -18px; }
.si-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.si-body h3 { margin: 0; color: var(--ink); font-size: 1.02rem; }
.si-price { display: flex; align-items: center; gap: 6px; margin: 0; color: #c9f3fb; font-weight: 700; }
.si-act { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; margin-top: 4px; }
.si-act .btn { flex: 1; min-height: 38px; }
.si-act .btn:disabled { font-size: 0.8rem; white-space: nowrap; padding: 0 6px; }
.si-tag { color: var(--ink-3); font-size: 0.85rem; font-weight: 600; }
.si-on { color: var(--gold-2); }

.shop-trophy {
  display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 18px 20px;
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-border);
}
.shop-trophy[hidden] { display: none; }
.st-cup { display: grid; place-items: center; flex: none; width: 84px; height: 84px; border-radius: 50%; background: rgba(0, 0, 0, 0.25); }
.st-cup .trophy-badge { margin: 0; padding: 4px 10px 4px 8px; font-size: 1.1rem; gap: 4px; }
.st-cup .trophy-badge svg { width: 24px; height: 24px; }
.st-cup.none { display: none; }
.st-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.st-body h2 { margin: 0; font-family: var(--font-display); color: var(--gold-2); font-size: 1.3rem; }
.st-text { margin: 0; color: var(--ink-2); line-height: 1.5; }
.st-switch[hidden] { display: none; }

.shop-earn { margin-top: 32px; padding: 18px 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-border); }
.shop-earn h2 { margin: 0 0 12px; font-family: var(--font-display); color: var(--gold-2); font-size: 1.3rem; }
.shop-earn ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.shop-earn li { display: flex; align-items: baseline; gap: 12px; color: var(--ink-2); line-height: 1.45; }
.se-n { display: inline-flex; align-items: center; gap: 5px; flex: none; min-width: 84px; color: #c9f3fb; font-weight: 700; }
.se-n .gem { width: 15px; height: 15px; align-self: center; }
.shop-earn-note { margin: 12px 0 0; color: var(--ink-3); font-size: 0.88rem; line-height: 1.5; }

@media (max-width: 480px) {
  .shop-items { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .si-dex { height: 140px; }
  .si-dex .dex { --dex-h: 140px; margin-bottom: -14px; }
  .si-body { padding: 10px; }
  .se-n { min-width: 70px; }
}

.site-footer { text-align: center; padding: 8px 16px 32px; color: var(--ink-3); font-size: 0.85rem; }
