.language-picker { position: relative; flex: none; }
.language-picker > summary {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    min-width: 48px; min-height: 40px; padding: 0 6px; list-style: none;
    cursor: pointer; border: 1px solid #e0e5e4; border-radius: 6px;
}
.language-picker > summary::-webkit-details-marker { display: none; }
.language-picker > summary svg { width: 14px; height: 14px; }
.language-picker img { display: block; flex: none; border-radius: 2px; object-fit: cover; }
.language-options {
    position: absolute; z-index: 25; inset-inline-end: 0; top: calc(100% + 6px);
    width: 148px; max-height: min(60dvh, 500px); overflow-y: auto; padding: 4px;
    background: #fff; border: 1px solid #e0e5e4; border-radius: 8px;
    box-shadow: 0 8px 24px #13252624;
}
.language-options button {
    display: flex; align-items: center; gap: 9px; width: 100%; min-height: 38px;
    padding: 4px 8px; font: inherit; color: #202b2c; border: 0;
    border-radius: 4px; background: transparent; cursor: pointer;
}
.language-options button:hover, .language-options button[aria-current] { background: #eaf4f1; }
