/*
WolfPython Clean Sidebar V6
Saubere Sidebar: Kategorien vollständig neu innerhalb der Sidebar.
Greift nur auf echte Sidebar-Elemente, nicht auf Seiteninhalt.
*/

:root {
  --wolf-v6-accent: var(--wolf-user-accent, #465996);
  --wolf-v6-accent-2: var(--wolf-user-accent-2, #6d7fc7);
  --wolf-v6-rgb: var(--wolf-user-accent-rgb, 70,89,150);
  --wolf-v6-muted: rgba(255,255,255,.82);
  --wolf-v6-bg: rgba(8,10,23,.84);
}

body.wolf-sidebar-v6-ready .wolf-v6-sidebar {
  color: #fff !important;
}

body.wolf-sidebar-v6-ready .wolf-v6-sidebar *,
body.wolf-sidebar-v6-ready .wolf-v6-sidebar a,
body.wolf-sidebar-v6-ready .wolf-v6-sidebar a:link,
body.wolf-sidebar-v6-ready .wolf-v6-sidebar a:visited,
body.wolf-sidebar-v6-ready .wolf-v6-sidebar a:hover {
  color: #fff !important;
  text-decoration: none !important;
}

.wolf-v6-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 4px 18px;
}

.wolf-v6-brand {
  padding: 10px 12px 8px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--wolf-v6-rgb), .35), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.wolf-v6-brand-title {
  font-size: 17px;
  font-weight: 950;
  letter-spacing: .2px;
}

.wolf-v6-brand-sub {
  color: var(--wolf-v6-muted) !important;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.wolf-v6-cat {
  background: linear-gradient(135deg, rgba(var(--wolf-v6-rgb), .90), rgba(var(--wolf-v6-rgb), .62)) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.14) !important;
  overflow: hidden;
}

.wolf-v6-cat summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  user-select: none;
}

.wolf-v6-cat summary::-webkit-details-marker {
  display: none;
}

.wolf-v6-cat summary::after {
  content: "⌄";
  color: rgba(255,255,255,.92);
  font-size: 18px;
  transition: transform .16s ease;
}

.wolf-v6-cat[open] summary::after {
  transform: rotate(180deg);
}

.wolf-v6-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 950;
  font-size: 16px;
  line-height: 1.14;
  text-shadow: 0 1px 2px rgba(0,0,0,.42);
}

.wolf-v6-sub {
  grid-column: 1 / 3;
  padding-left: 28px;
  margin-top: -4px;
  color: var(--wolf-v6-muted) !important;
  font-size: 11px;
  font-weight: 800;
}

.wolf-v6-links {
  display: grid;
  gap: 6px;
  padding: 0 10px 11px;
}

.wolf-v6-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 850;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0,0,0,.36);
}

.wolf-v6-links a:hover,
.wolf-v6-links a.wolf-v6-active {
  background: rgba(255,255,255,.21);
  border-color: rgba(255,255,255,.30);
}

.wolf-v6-user {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.wolf-v6-user-title {
  font-weight: 950;
  font-size: 16px;
}

.wolf-v6-user-sub {
  color: var(--wolf-v6-muted) !important;
  font-size: 13px;
  margin-top: 2px;
}

.wolf-v6-actions {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.wolf-v6-actions a,
.wolf-v6-actions button {
  display: block;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 850;
}

.wolf-v6-hidden-old {
  display: none !important;
}

@media (max-width: 900px) {
  .wolf-v6-links a {
    font-size: 13px;
  }
}
