/* Eclipse Status — Dark/Purple */
:root{
  --bg0:#05050a;
  --bg1:#0b0b14;
  --card: rgba(18, 18, 32, .78);
  --border: rgba(168, 85, 247, .22);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --accent:#a855f7;
  --accent2:#7c3aed;
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --glow: 0 0 0 4px rgba(168, 85, 247, .15), 0 18px 50px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0; padding:0;
  background: radial-gradient(900px 500px at 20% 0%, rgba(168,85,247,.18), transparent 50%),
              radial-gradient(800px 500px at 80% 10%, rgba(124,58,237,.14), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  overflow-x:hidden;
}

/* Hide scrollbar without breaking scroll */
body{ scrollbar-width:none; }
body::-webkit-scrollbar{ width:0; height:0; }

/* ===== Shared KA Nav ===== */
.ka-nav{
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: rgba(5,5,10,.65);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.ka-nav-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.ka-link{ color: var(--text); text-decoration:none; }
.ka-pill{
  appearance:none;
  border: 1px solid rgba(168,85,247,.22);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration:none;
  cursor:pointer;
  font-weight: 600;
}
.ka-pill:hover{
  color: var(--text);
  border-color: rgba(168,85,247,.35);
  background: rgba(168,85,247,.08);
}
@media (max-width: 980px){
  .ka-nav-inner{ flex-direction:column; align-items:flex-start; }
}

/* ===== Page Layout ===== */
.wrap{ max-width:1100px; margin:0 auto; padding:22px; }
.grid{
  display:grid; gap:18px;
  grid-template-columns: 1.2fr .8fr .8fr;
  margin-top:18px;
}
@media (max-width: 980px){
  .grid{ grid-template-columns:1fr; }
}

.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:18px;
}
.card-title{ font-weight:700; margin-bottom:12px; }

.hero{
  display:flex; justify-content:space-between; align-items:flex-start; gap:18px;
}
.hero h1{ margin:0; font-size:28px; }
.muted{ color:var(--muted); margin:8px 0 0; }
.small{ font-size:12px; }

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(168,85,247,.08);
  font-weight:700;
}

.list{ display:flex; flex-direction:column; gap:10px; }
.item{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.item-left{ display:flex; flex-direction:column; gap:2px; }
.item-name{ font-weight:700; }
.item-desc{ color:var(--muted); font-size:12px; }

.badge{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  font-weight:700;
  font-size:12px;
  white-space:nowrap;
}

.stack{ display:flex; flex-direction:column; gap:10px; }
.note{
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.note-title{ font-weight:800; margin:0 0 6px; }
.note-meta{ color:var(--muted); font-size:12px; margin-bottom:6px; }
.note-body{ margin:0; color:rgba(255,255,255,.86); }

.footer{ margin-top:18px; display:flex; flex-direction:column; gap:8px; }
code{ color: rgba(255,255,255,.9); }
