:root {
  --a0005-bg: #0b1220;
  --a0005-surface: #0f1a2b;
  --a0005-accent: #22d3ee;
}

body.theme-a0005 {
  background: radial-gradient(1000px 600px at 80% -10%, rgba(34,211,238,.18), transparent 60%), var(--a0005-bg);
  color: #e5e7eb;
}

.frame {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
}

.top {
  grid-column: 1 / -1;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15,26,43,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo-text a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.sidebar {
  grid-column: 2;
  grid-row: 2;
  border-left: 1px solid rgba(255,255,255,.08);
  background: rgba(15,26,43,.45);
}

.sidebar-inner {
  position: sticky;
  top: 64px;
  padding: 1rem;
}

.sidebar .list-group-item {
  background: rgba(15,26,43,.2);
  color: #e5e7eb;
  border-color: rgba(255,255,255,.08);
}

.sidebar .list-group-item.active {
  background: rgba(34,211,238,.18);
  border-color: rgba(34,211,238,.35);
}

.deck {
  grid-column: 1;
  grid-row: 2;
}

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

.masonry {
  column-count: 2;
  column-gap: 1rem;
}

@media (max-width: 900px) {
  .frame { grid-template-columns: 1fr; }
  .sidebar { grid-column: 1; grid-row: 2; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .masonry { column-count: 1; }
}

.cardish {
  break-inside: avoid;
  background: rgba(15,26,43,.55);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem;
  padding: 1.25rem;
}

.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;
}

#footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
