:root {
  --obsidian: #050811;
  --panel: #0b1120;
  --panel-alt: #0f172a;
  --border: #1e293b;
  --gold: #D4AF37;
}

body {
  background-color: var(--obsidian);
  color: #f8fafc;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gold-border {
  border-color: rgba(212, 175, 55, 0.38);
}

.gold-text {
  color: #D4AF37;
}

.gold-btn {
  background: linear-gradient(135deg, #D4AF37 0%, #b89225 100%);
  color: #050811;
  font-weight: 800;
}

.gold-btn:hover {
  filter: brightness(1.08);
}

.gold-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cc-card {
  background-color: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
}

.cc-input {
  background-color: #050811;
  border: 1px solid #334155;
  color: #f8fafc;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}

.cc-input:focus {
  outline: none;
  border-color: #D4AF37;
}

.cc-tab-btn {
  padding: 0.55rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}

.cc-tab-btn-active {
  background: rgba(212, 175, 55, 0.16);
  color: #D4AF37;
  border-color: rgba(212, 175, 55, 0.45);
}

.cc-tab-btn-idle {
  background: #0b1120;
  color: #94a3b8;
  border-color: #1e293b;
}

.cc-tab-btn-idle:hover {
  color: #e2e8f0;
  border-color: #334155;
}

.pulse-open {
  animation: pulseAmber 2s infinite;
}

@keyframes pulseAmber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #050811;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

@media print {
  header, .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
}
