/* Extends /static/langsel.css for the long language list (flags + short badges, native names, scrollable, RTL-aware).
   Load AFTER langsel.css. Safe to add to the homepage and the existing /nl /de ... pages too. */
.langsel.ls-more .ls-list{min-width:230px;max-height:min(72vh,540px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}
.langsel.ls-more.open .ls-list{display:grid;grid-template-columns:1fr;gap:.1rem}
.langsel.ls-more:not(.ls-js):hover .ls-list,.langsel.ls-more:not(.ls-js):focus-within .ls-list{display:grid}
@media (min-width:640px){.langsel.ls-more.open .ls-list,.langsel.ls-more:not(.ls-js):hover .ls-list,.langsel.ls-more:not(.ls-js):focus-within .ls-list{grid-template-columns:1fr 1fr;min-width:430px}}
.ls-more .ls-list a{justify-content:flex-start;gap:.65rem;white-space:nowrap;font-size:.92rem;line-height:1.2;padding:0 .65rem}
.ls-more .ls-name{display:inline}
.ls-badge{display:inline-grid;place-items:center;width:28px;height:19px;border-radius:3px;background:#22345c;color:#fff;font:600 .78rem/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:0;overflow:hidden;flex:0 0 auto}
[dir=rtl] .ls-list{right:auto;left:0}
[dir=rtl] .ls-more .ls-list a{text-align:start}
