/* 1. Spenden-Button ("Kauf mir einen Kaffee") vollständig entfernen */
a[href*="buymeacoffee"],
a[href*="bmac"],
.buy-me-a-coffee,
[href*="buymeacoffee"] {
    display: none !important;
}

/* 2. Header-Links & Buttons (GitHub, Twitter, About) über URLs ausblenden */
header a[href*="github.com"],
header a[href*="twitter.com"],
header a[href*="x.com"],
header a[href*="about"],
header a[to*="about"],
header button:has(a[href*="github.com"]),
header button:has(a[href*="twitter.com"]),
header button:has(a[href*="x.com"]),
header button:has(a[href*="about"]) {
    display: none !important;
}

/* 3. Fallback: Spezifische SVG-Icons im Header anhand ihrer Vektorpfade ausblenden */
/* Twitter/X Vogel-Icon */
header svg:has(path[d*="M23.953 4.57a10"]),
header svg:has(path[d*="M23.954 4.569"]),
header .n-button:has(svg path[d*="M23.953 4.57a10"]),
header .n-button:has(svg path[d*="M23.954 4.569"]),
header a:has(svg path[d*="M23.953 4.57a10"]),
header a:has(svg path[d*="M23.954 4.569"]) {
    display: none !important;
}

/* GitHub Katze-Icon */
header svg:has(path[d*="M12 2C6.477 2 2 6.484 2 12.017"]),
header svg:has(path[d*="M12 0C5.37 0 0 5.37"]),
header .n-button:has(svg path[d*="M12 2C6.477 2 2 6.484 2 12.017"]),
header .n-button:has(svg path[d*="M12 0C5.37 0 0 5.37"]),
header a:has(svg path[d*="M12 2C6.477 2 2 6.484 2 12.017"]),
header a:has(svg path[d*="M12 0C5.37 0 0 5.37"]) {
    display: none !important;
}

/* Info (i) Icon */
header a[href="/about"],
header .n-button:has(a[href="/about"]),
header .n-button:has(svg[viewBox="0 0 512 512"]:has(path[d*="256 80c0-17.7"])) {
    display: none !important;
}

/* 4. Grüne Support-Box auf der Startseite entfernen */
.n-card:has(a[href*="github.com"]) {
    display: none !important;
}

/* 5. Untertitel "Praktische Tools für Entwickler" ausblenden */
.sidebar-header div:nth-child(2),
.n-layout-sider-scroll-container > div:first-child > div:nth-child(2),
.n-layout-sider div:has(> .title) + div,
.n-layout-sider span:contains("Praktische Tools"),
.sidebar-header .subtitle {
    display: none !important;
}
