/* Social Account Store */

.app-body.accounts-page .app-content { max-width: 1280px; }

.acc-head { margin-bottom: 24px; }
.acc-head h1 {
  font-size: 28px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
}
.acc-head p { color: #64748b; font-size: 15px; }

.acc-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.acc-platform-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  background: #181b26;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.acc-platform-btn img { width: 24px; height: 24px; }
.acc-platform-btn:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-2px); }
.acc-platform-btn.active {
  border-color: #3b82f6;
  background: rgba(59,130,246,0.12);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.acc-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.acc-search-wrap { flex: 1; min-width: 200px; position: relative; }
.acc-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; opacity: 0.45; filter: brightness(0) invert(0.7); pointer-events: none;
}
.acc-search-wrap input {
  width: 100%; padding: 12px 14px 12px 42px; border-radius: 12px;
  background: #181b26; border: 1px solid rgba(255,255,255,0.1); color: #e2e8f0;
}
.acc-live-count {
  font-size: 13px; color: #64748b; padding: 8px 14px;
  background: #181b26; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08);
}
.acc-live-count strong { color: #f1f5f9; }

.acc-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.acc-tier-card {
  background: #181b26;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.acc-tier-card:hover { border-color: rgba(59,130,246,0.35); transform: translateY(-2px); }
.acc-tier-card.selected {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.acc-tier-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.acc-tier-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
.acc-tier-platform img { width: 16px; height: 16px; }
.acc-tier-price {
  font-size: 18px;
  font-weight: 800;
  color: #93c5fd;
}
.acc-tier-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
  line-height: 1.35;
}
.acc-tier-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
  min-height: 40px;
}
.acc-tier-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  color: #94a3b8;
}
.acc-tag.stock { background: rgba(16,185,129,0.12); color: #34d399; }
.acc-tag.ondemand { background: rgba(59,130,246,0.12); color: #93c5fd; }

.acc-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: #64748b;
  font-size: 14px;
}

.acc-purchase-panel {
  background: #181b26;
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 28px;
}
.acc-purchase-panel.hidden { display: none; }
.acc-purchase-head h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}
.acc-purchase-head p { font-size: 14px; color: #94a3b8; margin-bottom: 20px; }
.acc-purchase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
@media (max-width: 640px) { .acc-purchase-row { grid-template-columns: 1fr; } }
.acc-purchase-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.acc-purchase-field input {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #0f1117;
  border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
  font-size: 14px;
}
.acc-qty-btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.acc-qty-btns button {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
}
.acc-qty-btns button:hover { background: rgba(59,130,246,0.15); color: #e2e8f0; }
.acc-checkout-box {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.acc-checkout-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 6px;
}
.acc-checkout-amount {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #93c5fd;
  margin-bottom: 10px;
}
.acc-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245,158,11,0.15);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}
.acc-status-badge.ready { background: rgba(16,185,129,0.15); color: #34d399; }
.acc-place-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
}
.acc-place-btn:disabled { opacity: 0.5; cursor: not-allowed; background: #374151; }
.acc-purchase-note { font-size: 12px; color: #64748b; text-align: center; }
.acc-purchase-note a { color: #93c5fd; }
