.site-header .header-socials {
    position: relative;
}
.site-header .header-socials summary {
    display: flex;
    align-items: center;
    gap: 7px;
    list-style: none;
    cursor: pointer;
    user-select: none;
    font: inherit;
    color: inherit;
    padding-block: 6px;
}
.site-header .header-socials summary::-webkit-details-marker {
    display: none;
}
.site-header .header-socials summary:hover,
.site-header .header-socials[open] summary {
    color: var(--gold-bright);
}
.social-menu-chevron {
    transition: transform 0.18s ease;
}
.header-socials[open] .social-menu-chevron {
    transform: rotate(180deg);
}
.site-header .social-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 10;
    display: grid;
    gap: 4px;
    width: 230px;
    max-width: calc(100vw - 40px);
    margin: 0;
    padding: 8px;
    list-style: none;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 40px #0005;
}
.site-header .social-dropdown li {
    margin: 0;
    padding: 0;
}
.site-header .social-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    margin: 0;
    border-radius: 7px;
    white-space: normal;
    overflow-wrap: anywhere;
}
.site-header .social-dropdown a:hover,
.site-header .social-dropdown a:focus-visible {
    background: #80d8ff0d;
    color: var(--gold-bright);
}
.social-dropdown .mdi {
    font-size: 21px;
    flex-shrink: 0;
}
.social-external {
    margin-left: auto;
    opacity: 0.65;
}
.social-menu-empty {
    padding: 12px !important;
    color: var(--muted);
}
@media (max-width: 600px) {
    .site-header .social-dropdown {
        right: 0;
    }
    .site-header .header-socials summary {
        min-height: 36px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .social-menu-chevron {
        transition: none;
    }
}
