.dryde-account-root {
    position: relative;
    flex-shrink: 0;
}

.dryde-account-root .dryde-account-trigger,
.dryde-account-root .dryde-account-trigger:hover,
.dryde-account-root .dryde-account-trigger:focus-visible {
    width: auto !important;
    min-width: 0 !important;
    height: 46px;
    padding: 0 4px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #c6c6c9;
    cursor: pointer;
    font: inherit;
    outline-offset: 4px;
}

.dryde-account-root .dryde-account-trigger::-webkit-details-marker {
    display: none;
}

.dryde-account-root .dryde-account-trigger::marker {
    content: '';
}

.dryde-account-avatar-wrap {
    width: 44px;
    height: 44px;
    position: relative;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dryde-account-avatar {
    width: 36px;
    height: 36px;
    display: block;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
}

.dryde-account-decoration {
    width: 44px;
    height: 44px;
    position: absolute;
    inset: 0;
    pointer-events: none;
    object-fit: contain;
}

.dryde-account-root .dryde-account-chevron {
    color: #c6c6c9;
    font-size: 11px;
    pointer-events: none;
    transform: rotate(0deg);
    transition: color .2s ease, transform .25s ease;
}

.dryde-account-root:hover .dryde-account-chevron,
.dryde-account-root:focus-within .dryde-account-chevron,
.dryde-account-root.open .dryde-account-chevron,
.dryde-account-root[open] .dryde-account-chevron {
    color: #fff;
    transform: rotate(180deg);
}

.dryde-account-root .dryde-account-dropdown {
    box-sizing: border-box;
    width: 260px;
    padding: 0;
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    z-index: 1500;
    display: block;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    background: #252323;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .42);
    transform: translateY(-7px);
    transform-origin: top right;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.dryde-account-root::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 260px;
    height: 15px;
    background: transparent;
    pointer-events: auto;
}

.dryde-account-root:hover .dryde-account-dropdown,
.dryde-account-root:focus-within .dryde-account-dropdown,
.dryde-account-root.open .dryde-account-dropdown,
.dryde-account-root[open] .dryde-account-dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dryde-account-header {
    box-sizing: border-box;
    min-height: 70px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #292626;
}

.dryde-account-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dryde-account-name {
    overflow: hidden;
    color: #f5f4f4;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dryde-account-plan {
    color: #999;
    font-size: 11px;
    font-weight: 600;
}

.dryde-account-plan.is-premium {
    color: #ffbf16;
}

.dryde-account-divider {
    height: 1px;
    background: rgba(255, 255, 255, .075);
}

.dryde-account-links {
    padding: 7px 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dryde-account-link {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 0 10px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border-radius: 6px;
    background: transparent;
    color: #cac6c6;
    text-decoration: none;
    transform: none;
    transition: background .15s ease, color .15s ease;
}

.dryde-account-link:hover {
    background: rgba(255, 255, 255, .055);
    color: #fff;
}

.dryde-account-link strong {
    color: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
}

.dryde-account-icon {
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #a9a8ac;
    transition: color .15s ease;
}

.dryde-account-icon i {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    font-size: 16px;
    line-height: 1;
    color: inherit;
}

.dryde-account-link:hover .dryde-account-icon {
    color: #00ed4f;
    background: transparent;
}

.dryde-account-logout {
    padding: 7px 6px;
}

.dryde-account-signout,
.dryde-account-signout .dryde-account-icon {
    color: #ff6669;
}

.dryde-account-signout:hover {
    color: #ff8586;
    background: transparent;
}

.dryde-account-signout:hover .dryde-account-icon {
    color: #ff8586;
    background: transparent;
}

.guild-language-button > i,
.navbar .language-menu .language-arrow {
    color: #c6c6c9;
    transform: rotate(180deg);
    transition: color .2s ease, transform .25s ease;
}

.guild-language-menu:hover .guild-language-button > i,
.guild-language-menu:focus-within .guild-language-button > i,
.guild-language-menu.open .guild-language-button > i,
.navbar .language-menu:hover .language-arrow,
.navbar .language-menu:focus-within .language-arrow,
.navbar .language-menu.active .language-arrow {
    color: #fff;
    transform: rotate(0deg);
}

html[data-theme="light"] .dryde-account-root .dryde-account-chevron,
body.light-theme .dryde-account-root .dryde-account-chevron {
    color: #55565d;
}

html[data-theme="light"] .dryde-account-root:hover .dryde-account-chevron,
html[data-theme="light"] .dryde-account-root:focus-within .dryde-account-chevron,
html[data-theme="light"] .dryde-account-root.open .dryde-account-chevron,
html[data-theme="light"] .dryde-account-root[open] .dryde-account-chevron,
body.light-theme .dryde-account-root:hover .dryde-account-chevron,
body.light-theme .dryde-account-root:focus-within .dryde-account-chevron,
body.light-theme .dryde-account-root.open .dryde-account-chevron,
body.light-theme .dryde-account-root[open] .dryde-account-chevron {
    color: #20201e;
}

html[data-theme="light"] .dryde-account-dropdown,
body.light-theme .dryde-account-dropdown {
    background: #fff;
    border-color: rgba(0, 0, 0, .09);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}

html[data-theme="light"] .dryde-account-header,
body.light-theme .dryde-account-header {
    background: #f7f7f8;
}

html[data-theme="light"] .dryde-account-name,
body.light-theme .dryde-account-name {
    color: #222;
}

html[data-theme="light"] .dryde-account-divider,
body.light-theme .dryde-account-divider {
    background: rgba(0, 0, 0, .07);
}

html[data-theme="light"] .dryde-account-link,
body.light-theme .dryde-account-link {
    color: #55565d;
}

html[data-theme="light"] .dryde-account-link:hover,
body.light-theme .dryde-account-link:hover {
    color: #222;
    background: rgba(0, 0, 0, .045);
}

html[data-theme="light"] .dryde-account-icon,
body.light-theme .dryde-account-icon {
    color: #9b9caf;
    background: transparent;
}

html[data-theme="light"] .dryde-account-link:hover .dryde-account-icon,
body.light-theme .dryde-account-link:hover .dryde-account-icon {
    color: #00ed4f;
    background: transparent;
}

html[data-theme="light"] .dryde-account-signout,
html[data-theme="light"] .dryde-account-signout .dryde-account-icon,
body.light-theme .dryde-account-signout,
body.light-theme .dryde-account-signout .dryde-account-icon {
    color: #e34949;
    background: transparent;
}

html[data-theme="light"] .dryde-account-signout:hover,
body.light-theme .dryde-account-signout:hover {
    color: #d63737;
    background: transparent;
}

html[data-theme="light"] .dryde-account-signout:hover .dryde-account-icon,
body.light-theme .dryde-account-signout:hover .dryde-account-icon {
    color: #d63737;
    background: transparent;
}

html[data-theme="light"] .guild-language-button > i,
body.light-theme .guild-language-button > i,
html[data-theme="light"] .navbar .language-menu .language-arrow,
body.light-theme .navbar .language-menu .language-arrow {
    color: #55565d !important;
}

html[data-theme="light"] .guild-language-menu:hover .guild-language-button > i,
html[data-theme="light"] .guild-language-menu:focus-within .guild-language-button > i,
html[data-theme="light"] .guild-language-menu.open .guild-language-button > i,
html[data-theme="light"] .navbar .language-menu:hover .language-arrow,
html[data-theme="light"] .navbar .language-menu:focus-within .language-arrow,
body.light-theme .navbar .language-menu:hover .language-arrow,
body.light-theme .navbar .language-menu:focus-within .language-arrow {
    color: #20201e !important;
}

@media (min-width: 901px) {
    .dryde-account-root.mobile-top-account {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .dryde-account-root.desktop-account-menu {
        display: none !important;
    }

    .dryde-account-root.mobile-top-account {
        display: block;
    }

    .dryde-account-root .dryde-account-dropdown {
        top: calc(100% + 6px);
    }
}

@media (max-width: 580px) {
    .dryde-account-root .dryde-account-trigger {
        height: 36px;
        padding: 0 !important;
        gap: 4px;
    }

    .dryde-account-root .dryde-account-avatar-wrap {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .dryde-account-root .dryde-account-avatar {
        width: 32px;
        height: 32px;
    }

    .dryde-account-root .dryde-account-decoration {
        width: 40px;
        height: 40px;
    }

    .dryde-account-root .dryde-account-dropdown {
        width: min(288px, calc(100vw - 16px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .dryde-account-root .dryde-account-chevron,
    .dryde-account-root .dryde-account-dropdown {
        transition: none;
    }
}