/* Eye Opener — Shared styles injected into all pages */

/* ── END BUTTON ─────────────────────────────────────────────────────────────── */
#eo-end-btn {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 99999;
  background: var(--red, #ff5c5c);
  color: #fff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 12px rgba(255,92,92,.35);
  transition: background .15s, transform .1s;
}
#eo-end-btn:hover { background: #ff3a3a; transform: scale(1.04); }
#eo-end-btn:active { transform: scale(.97); }
#eo-end-btn .eo-end-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.7);
  animation: eo-blink 2s ease-in-out infinite;
}
@keyframes eo-blink { 0%,100%{opacity:.7} 50%{opacity:.2} }

/* ── GLOBAL NAV HEADER (shared nav pattern) ─────────────────────────────────── */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem 1rem 1.5rem;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.08));
  background: rgba(10,14,13,.95);
  backdrop-filter: blur(14px);
  flex-wrap: wrap;
  gap: .75rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-display, serif);
  font-size: 1.25rem;
  letter-spacing: -.01em;
  color: var(--text, #edf2ee);
  text-decoration: none;
  font-style: italic;
}
.nav-logo-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent, #3dffa0);
  flex-shrink: 0;
  animation: eo-blink 2.5s ease-in-out infinite;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: wrap;
}
.nav-link {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text3, #6e8f77);
  transition: color .15s, background .15s;
  text-decoration: none;
  padding: .3rem .7rem;
  border-radius: 100px;
}
.nav-link:hover { color: var(--text, #edf2ee); background: rgba(255,255,255,.06); }
.nav-link.active {
  color: var(--accent, #3dffa0);
  background: var(--accent-dim, rgba(61,255,160,.1));
}

/* ── BACK-TO-PROLITERATE LINK ───────────────────────────────────────────────── */
/* The umbrella site link, shown in the far-right of the nav so it reads as
   "out of hierarchy" — leaving the toolkit, not navigating within it. */
.nav-back-umbrella {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text3, #6e8f77);
  text-decoration: none;
  padding: .35rem .75rem;
  border-radius: 100px;
  border: 1px solid var(--border, rgba(255,255,255,.08));
  margin-left: .75rem;
  transition: color .15s, border-color .15s, background .15s;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  white-space: nowrap;
}
.nav-back-umbrella::before {
  content: '←';
  font-size: 12px;
  opacity: .7;
}
.nav-back-umbrella:hover {
  color: var(--text, #edf2ee);
  border-color: var(--border2, rgba(255,255,255,.14));
  background: rgba(255,255,255,.03);
}
/* Variant for the dashboard's flex header (index.html) */
.dash-back-umbrella {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text3, #6e8f77);
  text-decoration: none;
  padding: .35rem .75rem;
  border-radius: 100px;
  border: 1px solid var(--border, rgba(255,255,255,.08));
  transition: color .15s, border-color .15s, background .15s;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  white-space: nowrap;
}
.dash-back-umbrella::before { content: '←'; font-size: 12px; opacity: .7; }
.dash-back-umbrella:hover {
  color: var(--text, #edf2ee);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
}
