:root{
  --b0025-bg:#0b1020;
  --b0025-surface:#111a2f;
  --b0025-ink:#e5e7eb;
  --b0025-muted:#a3acc0;
  --b0025-accent:#a3e635;
  --b0025-border:rgba(163,230,53,.22);
}

body.theme-b0025{
  background: var(--b0025-bg);
  color: var(--b0025-ink);
}

.b0025-head{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17,26,47,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.b0025-head.is-pinned{ transform: translateY(0); }
.b0025-head.is-unpinned{ transform: translateY(-110%); }

.b0025-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.b0025-panes{
  display:grid;
  grid-template-columns: 1fr .55fr .55fr;
  gap: 1rem;
  align-items:start;
}

.b0025-pane{
  background: var(--b0025-surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1rem;
}

.b0025-rail a{
  display:block;
  padding: .35rem .5rem;
  border-radius: 10px;
  text-decoration:none;
  color: var(--b0025-muted);
}

.b0025-rail a.is-active{
  color: var(--b0025-ink);
  background: rgba(163,230,53,.12);
  border: 1px solid var(--b0025-border);
}

#logo a{
  display:flex;
  align-items:center;
  gap: .6rem;
  text-decoration:none;
  color: var(--b0025-ink);
}

#logo img{
  height: 28px;
  width: auto;
}

/* Dual-mode: when image exists, hide text; onerror removes <img>, text becomes visible */
#logo img + .logo-text{
  display:none;
}

.logo-text{
  font-weight: 800;
  letter-spacing:.2px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Required footer skeleton uses .container */
#footer .container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

.social [class^="icon-"]::before,
.social [class*=" icon-"]::before{
  content:"";
  display:inline-block;
  width:.75rem;
  height:.75rem;
  border-radius:999px;
  background: var(--b0025-accent);
  opacity:.9;
}

@media (max-width: 1000px){
  .b0025-panes{ grid-template-columns: 1fr; }
}
