/* ============================================================
   components.css — Reusable UI Components
   CityForge SEO — "The Observatory"
   ============================================================ */

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  border-color: var(--accent-primary);
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
  border-color: var(--accent-primary-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-1px);
}

.btn-unlock {
  background: var(--accent-secondary);
  color: var(--text-on-accent);
  border-color: var(--accent-secondary);
}

.btn-unlock:hover {
  background: var(--accent-secondary-hover);
  border-color: var(--accent-secondary-hover);
  box-shadow: var(--shadow-glow-green);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding: 8px 12px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.btn-disabled,
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}

.btn-lg {
  padding: 14px 28px;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: var(--text-xs);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* ============================================================
   CITY CARDS — Glass Morphism
   ============================================================ */
.city-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.city-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.city-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
  transform: translateY(-4px);
}

.city-card:hover::before {
  opacity: 1;
}

/* Unlocked city card variant — green left border */
.city-card.unlocked {
  border-left: 3px solid var(--accent-secondary);
}

.city-card.unlocked:hover {
  border-color: var(--accent-secondary);
  border-left-width: 3px;
  box-shadow: var(--shadow-card-hover), var(--shadow-glow-green);
}

.city-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.city-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.city-card-region {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.city-card-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.city-card-stat {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.city-card-stat-icon {
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  color: var(--text-muted);
}

.city-card-preview {
  position: relative;
  flex: 1;
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  overflow: hidden;
  min-height: 80px;
}

.city-card-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: auto;
}

.city-card-actions .btn {
  flex: 1;
}

/* ============================================================
   BADGES
   ============================================================ */
.tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-full);
  letter-spacing: var(--tracking-wide);
}

.tier-badge-1 {
  background: var(--accent-primary-muted);
  color: var(--accent-primary);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.tier-badge-2 {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.tier-badge-3 {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.freshness-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-full);
}

.badge-fresh {
  background: var(--accent-secondary-muted);
  color: var(--accent-secondary);
}

.badge-fresh::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-secondary);
}

.badge-recent {
  background: var(--accent-warning-muted);
  color: var(--accent-warning);
}

.badge-recent::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-warning);
}

.badge-aging {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.badge-aging::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.pricing-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow-strong);
}

.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: var(--text-on-accent);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.pricing-card.popular:hover {
  box-shadow: var(--shadow-card-hover), var(--shadow-glow-strong);
}

.pricing-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.pricing-card-tokens {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.pricing-card-price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-xs);
}

.pricing-card-price .currency {
  font-size: var(--text-xl);
  vertical-align: super;
  color: var(--text-secondary);
}

.pricing-card-per-token {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-primary);
  margin-bottom: var(--space-xl);
}

.pricing-card-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.pricing-card-features li {
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-card-features li::before {
  content: '\2713';
  color: var(--accent-secondary);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

.pricing-card-features li:last-child {
  border-bottom: none;
}

.pricing-card .btn {
  width: 100%;
}

/* ============================================================
   SEARCH INPUT
   ============================================================ */
.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition-fast);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-primary-muted);
}

.search-wrapper {
  position: relative;
}

.search-wrapper::before {
  content: '\1F50D';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-sm);
  pointer-events: none;
  opacity: 0.5;
}

/* ============================================================
   SORT SELECT
   ============================================================ */
.sort-select {
  padding: 8px 32px 8px 12px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color var(--transition-fast);
}

.sort-select:focus {
  border-color: var(--accent-primary);
}

/* ============================================================
   FILTER OPTIONS (Radio/Checkbox Labels)
   ============================================================ */
.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.filter-option:hover {
  color: var(--text-primary);
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-default);
  border-radius: 3px;
  background: var(--bg-input);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.filter-option input[type="radio"] {
  border-radius: 50%;
}

.filter-option input[type="radio"]:checked,
.filter-option input[type="checkbox"]:checked {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.filter-option input[type="checkbox"]:checked::after {
  content: '\2713';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  width: 100%;
  height: 100%;
}

.filter-option input[type="radio"]:checked::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  margin: 4px auto;
}

.filter-option .filter-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition-fast);
}

.faq-q:hover {
  color: var(--accent-primary);
}

.faq-q::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.open .faq-q::after {
  content: '\2212';
  color: var(--accent-primary);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
  padding: 0;
}

.faq-a-inner {
  padding-bottom: var(--space-lg);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

.faq-item.open .faq-a {
  max-height: 500px;
}

/* ============================================================
   ACTIONS TABLE
   ============================================================ */
.actions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.actions-table thead th {
  text-align: left;
  padding: var(--space-md);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  border-bottom: 1px solid var(--border-default);
}

.actions-table tbody td {
  padding: var(--space-md);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.actions-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.actions-table .token-cost {
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  color: var(--accent-primary);
}

/* ============================================================
   UNLOCK / LOCK OVERLAY
   ============================================================ */
.locked-content {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  position: relative;
}

.locked-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-lock-overlay);
  pointer-events: none;
}

.blur-content {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.unlock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-overlay);
  background: rgba(11, 15, 26, 0.6);
  backdrop-filter: blur(2px);
}

.unlock-overlay-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  max-width: 360px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.unlock-overlay-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.unlock-overlay-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: var(--bg-nav);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-nav);
  height: 72px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo span {
  background: var(--gradient-text-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  text-decoration: none;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-heading);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 1px;
}

.nav-cta {
  padding: 8px 20px;
  background: var(--accent-primary);
  color: var(--text-on-accent) !important;
  border-radius: var(--radius-sm);
  font-weight: var(--weight-semibold) !important;
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--accent-primary-hover);
  box-shadow: var(--shadow-glow);
  color: var(--text-on-accent) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-base);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-nav);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-lg);
    gap: var(--space-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: var(--text-base);
    padding: var(--space-sm) 0;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
  background: var(--gradient-footer);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  font-family: var(--font-heading);
}

.footer-brand-name {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--text-primary);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ============================================================
   MAP DOT TOOLTIPS
   ============================================================ */
.dot-tooltip {
  position: absolute;
  z-index: var(--z-tooltip);
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-tooltip);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  min-width: 200px;
}

.dot-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dot-tooltip-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.dot-tooltip-stats {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dot-tooltip-link {
  display: block;
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--accent-primary);
  pointer-events: auto;
  cursor: pointer;
}

/* ============================================================
   UTILITY STATES
   ============================================================ */
.error-state,
.no-results,
.cities-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
  text-align: center;
}

.error-state h3,
.no-results h3,
.cities-loading h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.error-state p,
.no-results p,
.cities-loading p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  max-width: 400px;
}

.error-state {
  color: var(--accent-danger);
}

.cities-loading::after {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  margin-top: var(--space-lg);
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   SECTION TITLES (shared)
   ============================================================ */
.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-md);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: var(--leading-relaxed);
}

.section-sub.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   TOKEN COUNTER BADGE
   ============================================================ */
.token-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  background: var(--accent-primary-muted);
  color: var(--accent-primary);
  border-radius: var(--radius-full);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.token-badge-free {
  background: var(--accent-secondary-muted);
  color: var(--accent-secondary);
  border-color: rgba(16, 185, 129, 0.2);
}
