body header.slash-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px max(2vw, 18px);
    background: rgba(8,12,20,.97);
    backdrop-filter: blur(18px);
    border-bottom: 2px solid #2563eb;
    box-shadow: 0 5px 25px rgba(0,0,0,.2);
    box-sizing: border-box;
    width: 100%;
}

.slash-brand-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

body header.slash-header .brand {
    color: #e8eefb;
    font: italic 950 27px system-ui,sans-serif;
    letter-spacing: -1px;
    text-decoration: none;
    white-space: nowrap;
}

body header.slash-header .brand span {
    color: #518fff;
}

body header.slash-header .brand small {
    font-size: inherit;
    color: #8290a5;
}

body header.slash-header svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

body header.slash-header .slash-admin-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #17294a;
    border: 1px solid #294b80;
    border-radius: 8px;
    padding: 10px 12px;
    color: #80aaff;
    font: 600 12px system-ui,sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s,color .2s;
}

body header.slash-header .slash-admin-button:hover {
    background: #234477;
    color: white;
}

body header.slash-header nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
}

body header.slash-header nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 11px;
    border-radius: 7px;
    color: #a1aec4;
    font: 500 13px system-ui,sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s,background .2s;
}

body header.slash-header nav a:hover {
    color: #80aaff;
    background: #131f32;
}

body header.slash-header nav a.active {
    color: #80aaff;
    background: #17294a;
}

body header.slash-header nav a.slash-discord-button {
    background: #5865f2;
    color: white;
    font-weight: 700;
    padding: 10px 15px;
    margin-left: 8px;
}

body header.slash-header nav a.slash-discord-button:hover {
    background: #4752c4;
}

body header.slash-header a:focus-visible,
body header.slash-header button:focus-visible {
    outline: 2px solid #80aaff;
    outline-offset: 3px;
}

body header.slash-header .slash-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #17294a;
    color: #80aaff;
    border: 1px solid #294b80;
    border-radius: 8px;
    cursor: pointer;
}

body header.slash-header .slash-menu-toggle svg {
    width: 23px;
    height: 23px;
}

html {
    scroll-padding-top: 120px;
}

@media(max-width: 1350px) {
    body header.slash-header .slash-menu-toggle {
        display: inline-flex;
    }

    body header.slash-header nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 5px;
    }

    body header.slash-header nav.is-open {
        display: flex;
    }

    body header.slash-header nav a {
        padding: 13px;
    }

    body header.slash-header nav a.slash-discord-button {
        margin: 5px 0 0;
        justify-content: center;
    }
}

@media(max-width: 480px) {
    body header.slash-header {
        padding: 14px;
        gap: 12px;
    }

    body header.slash-header .brand {
        font-size: 23px;
    }

    .slash-brand-group {
        gap: 8px;
        flex-wrap: wrap;
    }

    body header.slash-header .slash-admin-button {
        padding: 7px 9px;
        font-size: 11px;
    }
}

@media(prefers-reduced-motion: reduce) {
    body header.slash-header a {
        transition: none;
    }
}

/* SlashMC - Account Eyecatcher */

nav a[href="/account.php"] {
    background: linear-gradient(135deg, #3979ee, #2563eb);
    color: #ffffff !important;
    border: 1px solid #518fff;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.25);
    transition: background 0.2s, box-shadow 0.2s,
                transform 0.2s;
}

nav a[href="/account.php"] svg {
    color: #ffffff !important;
}

nav a[href="/account.php"]:hover {
    background: linear-gradient(135deg, #518fff, #3979ee);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}


/* SlashMC - Einheitliche Navigation */

body header.slash-header {
    background: #080c14;
    backdrop-filter: none;
}

body header.slash-header #slash-navigation {
    background: transparent;
    border: none;
    box-shadow: none;
}

body header.slash-header #slash-navigation a {
    background: transparent;
    color: #a1aec4;
    border: 1px solid transparent;
}

body header.slash-header #slash-navigation a span {
    color: inherit;
}

body header.slash-header #slash-navigation a.active {
    background: transparent;
    color: #80aaff;
}

body header.slash-header #slash-navigation a:hover {
    background: #131f32;
    color: #80aaff;
}

/* Mein Account - Eyecatcher */

body header.slash-header #slash-navigation a[href="/account.php"] {
    background: linear-gradient(135deg, #3979ee, #2563eb);
    color: #ffffff !important;
    border: 1px solid #518fff;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(37,99,235,.25);
}

body header.slash-header #slash-navigation a[href="/account.php"]:hover {
    background: linear-gradient(135deg, #518fff, #3979ee);
    box-shadow: 0 4px 18px rgba(37,99,235,.45);
}


/* SlashMC - Navigationsabstände */

@media(min-width:1351px) {
    body header.slash-header #slash-navigation {
        gap: 18px;
    }

    body header.slash-header #slash-navigation a[href="/account.php"] {
        margin-left: 8px;
    }
}

