/* Loaded after project styles: shared visual treatment, specialised layouts retained. */
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
:where(.stats-card, .visual-card, .technique-card, .opportunity-card, .cv-panel) {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-light);
  box-shadow: none;
}
.terminal-card { box-shadow: none; border-radius: 0; background: transparent; }
.terminal-body { background: transparent; text-align: left; }
.centred-card { text-align: left; }
.meta-row { justify-content: flex-start; }
.meta-pill { border-color: var(--line); font-family: inherit; }
.cv-note { font-family: inherit; }
@media (max-width: 600px) {
  .content-grid { grid-template-columns: 1fr; }
}
.stat-card, .cv-panel, .stats-card { border: 1px solid var(--line); border-radius: var(--radius); }
.strava-hero-heading, .strava-hero-copy { margin-inline: 0; text-align: left; }
.strava-status-line { justify-content: flex-start; }
body.alien-page {
  --alien-bg: var(--bg-light);
  --alien-bg-2: var(--bg-light);
  --alien-panel: var(--panel-light);
  --alien-panel-strong: var(--panel-light);
  --alien-border: var(--line);
  --alien-text: var(--heading-light);
  --alien-muted: var(--text-light);
  --alien-soft: var(--text-light);
  --alien-accent: var(--accent);
  --alien-accent-2: var(--accent);
  --alien-warning: #865a13;
  background: var(--bg-light);
}
body.alien-page::before { display: none; }
body.alien-page .top-nav { background: var(--bg-light); }
body.alien-page .top-nav::after { display: none; }
/* Remove decorative dark backdrops from the music dashboard. */
.page-aphex main::before, .page-aphex main::after,
.aphex-hero::before, .aphex-hero::after { display: none; }
.page-aphex [class*="card"], .page-aphex [class*="panel"], .page-aphex .aphex-hero {
  background: var(--panel-light);
  border-color: var(--line);
  box-shadow: none;
  border-radius: var(--radius);
}
.hevy-page { --hevy-accent: #28634b; --hevy-gold: #916111; }
body.afm-body {
  --afm-bg: var(--bg-light);
  --afm-bg-2: var(--bg-light);
  --afm-panel: var(--panel-light);
  --afm-panel-strong: var(--panel-light);
  --afm-border: var(--line);
  --afm-text: var(--heading-light);
  --afm-muted: var(--text-light);
  --afm-soft: var(--text-light);
  --afm-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --afm-body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.alien-hero, .alien-module-card, .asa-hero, .asa-panel, .afm-hero, .afm-panel {
  background: var(--panel-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}
.alien-hero::before, .alien-module-card::before, .afm-panel::before { display: none; }
.alien-module-card-muted { opacity: 1; }
.strava-pipeline { background: var(--panel-light); border: 1px solid var(--line); }
body.afm-body {
  --afm-accent: #ad4c21;
  --afm-accent-2: #237466;
  --afm-accent-3: #426fa6;
}
