/* =========================================================================
   AEGIS // SPANOS — WordPress glue styles
   The one-off styles that lived inline in index.html, made global so every
   template gets them, plus small WP-specific resets.
   ========================================================================= */

.avail { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--signal-ok);
         border: 1px solid rgba(92,255,179,.4); padding: 4px 9px; display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase; }
.avail .d { width: 6px; height: 6px; border-radius: 50%; background: var(--signal-ok); box-shadow: 0 0 8px var(--signal-ok); animation: blink 1.8s ease-in-out infinite; }

.cred-strip { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.cred-strip .cred { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--cyan-300);
         border: var(--hair); padding: 6px 12px; display: inline-flex; gap: 8px; align-items: center; }
.cred-strip .cred .k { color: var(--cyan-600); }

.tweaks-trigger { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan-200); background: rgba(8,22,42,.45); border: 1px solid rgba(125,217,255,.3); padding: 9px 15px;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; transition: color .3s var(--ease-hud), border-color .3s var(--ease-hud), box-shadow .3s var(--ease-hud), background .3s var(--ease-hud); }
.tweaks-trigger:hover { color: var(--cyan-50); border-color: var(--cyan-200); box-shadow: var(--glow-cyan); background: rgba(31,199,255,.08); }
.tweaks-trigger svg { width: 16px; height: 16px; }
.tweaks-trigger svg line { stroke: currentColor; stroke-width: 1.4; }
.tweaks-trigger svg circle { fill: var(--bg-deep); stroke: currentColor; stroke-width: 1.4; }

/* calm (Restrained motion) */
body.calm .scanbar, body.calm .subject-frame .scan-overlay .line, body.calm .spin-cw, body.calm .spin-ccw,
body.calm .chip, body.calm .tl-spine .runner, body.calm .tl-item .node .pulse,
body.calm .xcard:hover::after, body.calm .avail .d, body.calm .nav-status .pip { animation: none !important; }
body.calm .ticker-band .track { animation-duration: 110s; }

/* hide background grid */
body.nogrid .bg-fixed::before, body.nogrid .hero-b .blueprint-grid { display: none; }

/* WP admin bar offset for the fixed command bar */
body.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-nav { top: 46px; } }

/* WP content sanity inside detail bodies */
.detail-main .wp-content p { margin: 0 0 1em; }
.detail-main .wp-content > :last-child { margin-bottom: 0; }
