* {
  box-sizing: border-box;
}

:root {
  /* DGW brand tokens mapped to Web Awesome */
  --wa-color-primary-600: #FA008A;
  --wa-color-primary-500: #D60076;
  --wa-color-success-600: #00E5E5;
  --wa-color-warning-600: #FFDD00;
  --wa-color-danger-600: #FF7043;
  --wa-font-sans: system-ui, sans-serif;

  /* App tokens */
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-primary: #3b82f6;
  --radius: 8px;
}

/* Tab badge spacing */
wa-tab wa-badge {
  margin-inline-start: var(--wa-space-2xs);
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.5;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

/* Record cards */
.record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.record-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.record-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.record-card__caption {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.record-card__location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--wa-color-surface-border);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

footer a {
  color: var(--color-primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.build-info {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 640px) {
  .record-grid {
    grid-template-columns: 1fr;
  }
}
