.authentication-menu {
    .authentication__popover {
        background-color: var(--header-background);
        inset: unset;
        top: var(--header-height);
        right: 0;
    }

    .authentication__entries {
        list-style-type: none;
        background-color: inherit;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
        margin: 0;
    }

    .header__popover {
        background-color: var(--header-background);
        inset: unset;
        top: var(--header-height);
        padding: 0;

        & nav {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            padding: 0.5rem;
        }
    }

    @media screen and (min-width: 50rem) {
        .authentication__popover { display: contents;}

        #authentication-burger { display: none; }

        .authentication__entries {
            flex-direction: row;
            gap: 1.5rem;
        }
    }
}

@supports not (anchor-name: test) {
    #user-popover { right: 8em; }
    #admin-popover { right: 12em; }

    @media screen and (min-width: 50rem) {
        #user-popover { right: 7em; }
        #user-popover { right: 7em; }
    }
}
