/* CRUD8 main chrome — pink highlights, white primary, #14233C structure,
   neon cyan #04cefc accents only. */

:root {
  --c8-bg: #000000;
  --c8-panel: #050505;
  --c8-pink: #fc2ab2;
  --c8-navy: #14233C;
  --c8-accent: #04cefc;
  --c8-cyan: #14233C;
  --c8-blue: #14233C;
  --c8-text: #f4f6fb;
  --c8-muted: #9aa3b8;
  --c8-line: #14233C;
  --c8-glow-pink: rgba(252, 42, 178, 0.16);
  --c8-glow-blue: rgba(4, 206, 252, 0.16);
  --c8-glow: 0 0 6px var(--c8-glow-pink);
  --font-header: "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: var(--font-header);
  --font-sans: var(--font-body);
  --font-serif: var(--font-header);
  --font-mono: "IBM Plex Sans", system-ui, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --gutter: var(--space-4);
  --card-pad: var(--space-4);
  --header-pad-y: 20px;
  --header-logo: 48px;
  --header-logo-max-w: 163px;
  --purple: #fc2ab2;
  --terracotta: #fc2ab2;
  --terra-dark: #b21f96;
  --terra-light: #14233C;
  --shadow: none;
  --shadow-lg: none;
}

@media (max-width: 720px) {
  :root {
    --header-logo: 40px;
    --header-logo-max-w: 122px;
  }
}

/* Do not set overflow-x: hidden on html/body here — that creates a
   scrollport and un-sticks the Discover chrome (nav + search). */

h1, h2, h3, .user-name, .match-name, .sc-name {
  font-family: var(--font-header);
  font-weight: 600;
}

p, .user-bio, .dc-headline, .dc-location, .sc-about, .sc-looking {
  font-family: var(--font-body);
}

/* Nav stays in flow and pins to the top. Do not use position: relative here —
   that was un-sticking the bar so Discover scrolled under the search row. */
.ct-header {
  position: sticky;
  top: 0 !important;
  z-index: 200;
  background: var(--c8-bg);
  border-bottom: 1px solid var(--c8-cyan);
  box-shadow: none;
  height: auto !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 20px 0;
  overflow: visible;
}
.ct-header-inner {
  height: auto;
  max-width: none;
  margin-top: 0 !important;
}

.nav-link {
  font-family: var(--font-header);
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none;
}
.nav-link.active,
.nav-link:hover {
  color: var(--c8-text) !important;
  background: transparent !important;
  border-bottom-color: var(--c8-pink) !important;
  box-shadow: none !important;
}
.nav-logout {
  box-shadow: none !important;
  text-shadow: none;
  background: transparent !important;
}
.nav-logout:hover {
  box-shadow: none !important;
  border-color: var(--c8-accent);
}

/* Kill leftover Cotrybe purple, gold, and nightclub glow. */
[class*="badge"],
.pill, .skill-tag, .sc-skill, .tab-btn, .search-bar, .discover-card,
.search-result-card, .match-item, .power-user-card, .circuit-frame {
  box-shadow: none !important;
  text-shadow: none;
  filter: none;
}

.circuit-frame::before,
.circuit-frame::after {
  content: none !important;
  display: none !important;
}

/* Thin neon borders only — no wireframe corners, no gradients. */
.circuit-frame {
  border: 1px solid var(--c8-navy, #14233C);
  border-radius: 2px;
  background: var(--c8-panel);
  box-shadow: none !important;
}
