.store-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.store-section {
  background: rgba(15, 23, 42, 0.55);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
}

.store-section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.store-section-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.store-section-sub {
  opacity: 0.75;
  font-size: 13px;
}

.store-helper {
  margin: 0;
  opacity: 0.7;
  font-size: 13px;
  line-height: 1.4;
}

.store-balance {
  font-size: 24px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #0f172a;
  min-width: 92px;
  text-align: center;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.store-card {
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.35);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.store-card-title {
  font-weight: 700;
  font-size: 16px;
}

.store-card-desc {
  margin: 0;
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.35;
}

.store-card-cta {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  color: #0f172a;
  border: 0;
  cursor: pointer;
}

.store-card-cta[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.store-price {
  font-size: 15px;
  font-weight: 600;
  color: #fbbf24;
}

.store-relationship {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.75;
}

.badge.coins {
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #0f172a;
  font-weight: 800;
}

.app-glyph.store-gold {
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #0f172a;
}

.store-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 40;
}

.store-overlay.hidden {
  display: none;
}

.store-overlay-card {
  width: min(420px, 100%);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.45);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.store-overlay-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.store-overlay-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.store-overlay-helper {
  margin: 0;
  color: #cbd5f5;
  font-size: 0.92rem;
}

.store-overlay-dismiss {
  appearance: none;
  border: none;
  background: none;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 10px;
}

.store-overlay-dismiss:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.8);
  outline-offset: 2px;
}

.store-overlay-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(50vh, 360px);
  overflow-y: auto;
  padding-right: 2px;
}

.store-overlay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  background: rgba(30, 41, 59, 0.88);
  color: inherit;
  font: inherit;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.store-overlay-option:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.9);
  outline-offset: 2px;
}

.store-overlay-option:hover {
  background: rgba(51, 65, 85, 0.95);
  transform: translateY(-1px);
}

.store-overlay-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(148, 163, 184, 0.3);
}

.store-overlay-option-label {
  font-weight: 600;
  font-size: 0.95rem;
}
