/* about/css/drawer.css — the floating nav drawer, lifted verbatim from
   Stations/css/preview-dark.css (the FLOATING NAV block).

   Copied, not linked. The drawer's real home is inside the two section
   stylesheets, and each of those carries a whole app's skin with it; linking
   one here to borrow forty rules would drag the Realm or the Stations grid
   onto a page that is a document. The handoff document made the same copy for
   the same reason.

   It is a copy, so it can drift. If the drawer is restyled, this file is the
   third place to change — Stations/css/preview-dark.css and realm/css/realm.css
   are the other two. */

/* ============================================================
   FLOATING NAV — replaces the old fixed top bar
   (foundation-lock: navigation floats, quiet, no menu bar)
   ============================================================ */
.ncp-nav-toggle {
  position: fixed; top: 16px; right: 18px; z-index: 460;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(12,20,38,0.62); border: 1px solid rgba(120,170,230,0.30);
  border-radius: 12px; cursor: pointer;
  -webkit-backdrop-filter: blur(14px) saturate(1.12); backdrop-filter: blur(14px) saturate(1.12);
  box-shadow: 0 6px 22px rgba(0,0,0,0.42), inset 0 1px 0 rgba(195,222,255,0.13);
  transition: border-color .2s, background .2s, transform .12s;
}
.ncp-nav-toggle:hover { border-color: rgba(130,185,255,0.6); background: rgba(16,28,52,0.8); }
.ncp-nav-toggle:active { transform: translateY(1px); }
.ncp-nav-lines { display: flex; flex-direction: column; gap: 4px; width: 19px; }
.ncp-nav-lines > span { height: 2px; border-radius: 2px; background: #bcd6f5; transition: transform .26s ease, opacity .18s ease; }
body.ncp-nav-open .ncp-nav-lines > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.ncp-nav-open .ncp-nav-lines > span:nth-child(2) { opacity: 0; }
body.ncp-nav-open .ncp-nav-lines > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.ncp-nav-backdrop {
  position: fixed; inset: 0; z-index: 440; background: rgba(4,7,13,0.52);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: ncpNavFade .2s ease;
}
@keyframes ncpNavFade { from { opacity: 0; } to { opacity: 1; } }

.ncp-nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 450; width: 272px; max-width: 82vw;
  display: flex; flex-direction: column; padding: 72px 16px 18px;
  transform: translateX(104%); transition: transform .3s cubic-bezier(.3,.82,.3,1);
  background: linear-gradient(180deg, rgba(11,18,34,0.95), rgba(6,10,20,0.97));
  border-left: 1px solid rgba(120,170,230,0.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.15); backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: -10px 0 44px rgba(0,0,0,0.5);
}
body.ncp-nav-open .ncp-nav-drawer { transform: translateX(0); }
.ncp-nav-brand { display: block; padding: 0 10px 16px; margin-bottom: 8px; border-bottom: 1px solid rgba(120,170,230,0.14); }
.ncp-nav-brand img { height: 23px; width: auto; display: block; opacity: .96; }
.ncp-nav-section { font-family: var(--font-pixel); font-size: 7px; letter-spacing: .26em; color: rgba(140,170,215,0.5);
  text-transform: uppercase; padding: 22px 12px 7px; }
button.ncp-nav-link {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-sans); font-size: 13.5px;
}
.ncp-nav-links { display: flex; flex-direction: column; gap: 1px; }
.ncp-nav-link { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px;
  font-family: var(--font-sans); font-size: 13.5px; color: #cdddf2; text-decoration: none;
  transition: background .15s, color .15s; }
.ncp-nav-link:hover { background: rgba(120,170,230,0.1); color: #fff; }
/* current page — not a link: highlighted, non-clickable, with a "here" marker so the user knows where they are */
.ncp-nav-link-current { background: rgba(127,195,255,0.12); color: #fff; cursor: default; position: relative; padding-left: 14px; }
.ncp-nav-link-current::before { content: ''; position: absolute; left: 3px; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: #7fc3ff; box-shadow: 0 0 7px rgba(127,195,255,0.6); }
.ncp-nav-link-current:hover { background: rgba(127,195,255,0.12); }
.ncp-nav-here { margin-left: auto; font-family: var(--font-mono); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; color: rgba(127,195,255,0.85); }
.ncp-nav-ico { width: 17px; text-align: center; color: #7fc3ff; font-size: 13px; flex-shrink: 0; }
.ncp-nav-ext { margin-left: auto; opacity: .45; font-size: 12px; }
/* footer — pinned to the bottom via margin-top:auto; contains only Log out */
.ncp-nav-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(120,170,230,0.12); }
.ncp-nav-socials { display: flex; justify-content: flex-start; gap: 4px; padding: 0 6px; margin-bottom: 4px; }
.ncp-nav-socials a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 9px; color: rgba(170,195,230,0.55); text-decoration: none;
  transition: color .15s, background .15s, transform .12s; }
.ncp-nav-socials a:hover { color: #fff; background: rgba(120,170,230,0.1); transform: translateY(-1px); }
.ncp-nav-socials svg { width: 17px; height: 17px; display: block; }
.ncp-nav-logout { display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(150,175,220,0.18); border-radius: 9px;
  font-family: var(--font-sans); font-size: 13px; color: rgba(200,212,230,0.8); cursor: pointer; text-align: left;
  transition: background .15s, color .15s, border-color .15s; }
.ncp-nav-logout:hover { background: rgba(240,110,110,0.1); border-color: rgba(240,110,110,0.4); color: #ffdada; }
.ncp-nav-logout .ncp-nav-ico { color: rgba(225,140,140,0.85); }
