/* KINGMODE Server: see brand.js. */

/* Beszel's own logo paths, hidden rather than removed (React owns them). */
svg[data-km] > :not(.km-mark) {
    display: none;
}

/* The navbar slot is sized by Beszel (h-[1.2rem] md:h-5); the mark inherits
   its fill-foreground colour. Width follows from the viewBox. */
svg[data-km] {
    width: auto;
}

/* Sign-in: Beszel sizes its wordmark at h-7, far too small for a stacked
   lockup. */
svg[data-km="stacked"] {
    height: 7.5rem;
    margin-bottom: 0.5rem;
}

/* Footer row: GitHub link, "Beszel <version>" and the upstream update notice,
   all pointing at henrygd/beszel. Upgrades are deliberate (pinned by digest,
   see the README), so nothing is lost. */
div:has(> a[href^="https://github.com/henrygd/beszel"]) {
    display: none !important;
}
