/* CMSP shared look - loaded on every page after the page's own styles.
   1. CRT backdrop: a faint screen glow, darker edges and a phosphor grille behind the content.
   2. The CMSP logo hover panel (what CMSP is). */

/* 1. CRT backdrop (kept subtle: it sits behind everything, text stays on top at full contrast) */
body {
  background:
    radial-gradient(ellipse 85% 60% at 50% 38%, rgba(92,232,122,0.045) 0%, rgba(92,232,122,0) 70%),
    radial-gradient(ellipse 120% 100% at 50% 50%, rgba(0,0,0,0) 58%, rgba(0,0,0,0.5) 100%),
    repeating-linear-gradient(90deg, rgba(255,70,70,0.012) 0 1px, rgba(70,255,130,0.016) 1px 2px, rgba(70,130,255,0.012) 2px 3px),
    #111412;
  background-attachment: fixed;
}
body::before {
  background: repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(0,0,0,0.05) 2px, rgba(0,0,0,0.05) 3px) !important;
}

/* 2. CMSP logo panel */
.logo-wrap { position: relative; display: inline-flex; align-items: center; }
.logo-panel { position: absolute; top: 100%; left: -16px; padding-top: 16px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility 0s .18s; z-index: 300; }
.logo-wrap:hover .logo-panel, .logo-wrap.open .logo-panel, .logo-wrap:has(:focus-visible) .logo-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.logo-wrap:hover .nav-logo, .logo-wrap.open .nav-logo { color: #5CE87A; }
.logo-panel-in { width: max-content; max-width: min(320px, calc(100vw - 32px)); background: rgba(17,20,18,0.97); border: 1px solid #1e2620; box-shadow: 0 18px 40px rgba(0,0,0,0.45); padding: 16px 18px; }
.logo-panel-in strong { display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 24px; letter-spacing: 0.05em; line-height: 1.05; color: #d4e8d8; }
.logo-panel-in span { display: block; margin-top: 8px; font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8fd9a2; }

/* Spec strip at the bottom of the plugin pages: wraps cleanly once the bigger text no longer fits one row */
.trust-bar { gap: 16px 36px; padding: 22px 24px; }
@media (max-width: 1060px) { .trust-sep { display: none; } .trust-bar { gap: 14px 30px; } }

/* Phones: the top menu keeps the old size so it stays on one line (body text stays bigger) */
@media (max-width: 600px) {
  nav { padding-left: 14px !important; padding-right: 14px !important; }
  .nav-logo { font-size: 11px !important; letter-spacing: 0.16em !important; }
  .nav-links { gap: 12px !important; }
  .nav-links a { font-size: 10px !important; letter-spacing: 0.1em !important; }
  .nav-links a.nav-cta { padding: 7px 10px; }
}
