.ta-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  background: #6db874;
  color: #1a1a18;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.ta-buy-btn:hover {
  background: #7ec885;
  box-shadow: 0 0 24px rgba(109, 184, 116, 0.28);
}

.ta-buy-btn:active {
  transform: translateY(1px);
}

.ta-buy-btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.ta-buy-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 26, 24, 0.55);
  backdrop-filter: blur(6px);
}

.ta-buy-modal.open {
  display: flex;
}

.ta-buy-card {
  width: min(420px, 100%);
  border: 1px solid rgba(109, 184, 116, 0.25);
  border-radius: 12px;
  background: #fff;
  color: #1a1a18;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.ta-buy-card h3 {
  margin: 0 0 8px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.35rem;
}

.ta-buy-card p {
  margin: 0 0 16px;
  color: #5c5c55;
  font-size: 0.92rem;
  line-height: 1.5;
}

.ta-buy-card label {
  display: block;
  margin-bottom: 8px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #607161;
}

.ta-buy-card input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(96, 113, 97, 0.2);
  border-radius: 8px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.95rem;
}

.ta-buy-actions {
  display: flex;
  gap: 10px;
}

.ta-buy-secondary {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(96, 113, 97, 0.25);
  border-radius: 6px;
  background: transparent;
  color: #607161;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.ta-buy-status {
  min-height: 1.2em;
  margin-top: 12px;
  font-size: 0.82rem;
  color: #607161;
}

.ta-buy-status.error {
  color: #b85a4e;
}
