/* API tab panel. Split from the single original stylesheet; zero visual change. */

.dev-notice { font-size: 0.95rem; line-height: 1.5; }

/* API tab (D-016) — same paper theme, coral single accent via .btn-primary. */
/* API tab dashboard (2026-10-30): single column at the shared tab
   width — the old wide two-column panel is gone. */
.api-guide h3 { margin: 1rem 0 0.25rem; font-size: 1rem; }

.api-guide ul { margin: 0.25rem 0 0.75rem; padding-left: 1.25rem; }

.api-guide li { margin: 0.25rem 0; }

.api-guide code { overflow-wrap: anywhere; }

#api-first-call code { overflow-wrap: anywhere; }

.api-status-strip {
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  padding: 0.75rem 1rem; margin: 0 0 1rem;
}

.api-status-strip p { margin: 0.25rem 0; }

.api-usage-bar { width: 100%; accent-color: var(--accent); }

.api-empty p { margin: 0 0 0.5rem; }

.api-footer {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center;
  padding: 1rem 0 0; border-top: 1px solid var(--line); margin: 1.5rem 0 0;
}

/* D-020: the delete action gets its own row so its confirmation panel
   (the shared .games-confirm treatment) spans the footer width. */
.api-delete { flex-basis: 100%; }

#api-token-name, #api-new-token-value {
  width: 100%; font: inherit; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.75rem;
  background: #fff; color: var(--ink); margin: 0.25rem 0;
}

.api-token-row {
  border-top: 1px solid rgba(60, 45, 30, 0.10); padding: 0.75rem 0;
}

.api-token-row:first-child { border-top: none; }
