/* Compact native language picker: shared keyboard and touch interaction. */
.language-switch{position:relative;z-index:30;margin-left:auto;font-size:12px;color:var(--muted)}.language-switch summary{display:flex;align-items:center;gap:7px;padding:9px 8px;cursor:pointer;list-style:none;border:1px solid transparent}.language-switch summary::-webkit-details-marker{display:none}.language-switch summary:hover,.language-switch[open] summary{border-color:var(--line);color:var(--ink)}.language-switch summary:focus-visible{outline:2px solid #3471a4;outline-offset:3px}.language-switch [data-language-current]{font-size:17px;line-height:1}.language-code{font-size:10px;letter-spacing:.08em}.language-chevron{font-size:13px}.language-switch nav{position:absolute;right:0;top:calc(100% + 5px);min-width:155px;padding:5px;background:var(--paper);border:1px solid var(--line);box-shadow:0 8px 25px #24303912}.language-switch nav a{display:flex;align-items:center;gap:10px;padding:11px;text-decoration:none;white-space:nowrap}.language-switch nav a:hover,.language-switch nav a[aria-current=true]{background:var(--pale);color:var(--ink)}html[lang=de] .release-coming{text-transform:none}html[lang=de] .updates-fields button{padding-inline:16px}@media(max-width:600px){.language-switch summary{min-height:42px;min-width:55px}.language-switch nav a{min-height:44px}html[lang=de] .intro-copy>p{max-width:280px}}

.site-header:has(>.language-switch){column-gap:16px}.translation-note{font-size:12px;color:#63717a;border-left:2px solid #a9d0f2;padding:10px 16px;margin:20px 0}.site-header .language-switch{flex-shrink:0}@media(max-width:700px){.site-header>.wordmark{order:0}.site-header>.language-switch{order:1}.site-header>.sheet-tabs{order:2}}

/* Language options stay usable on short and touch screens. */
.language-switch nav{max-height:min(430px,70vh);overflow-y:auto;min-width:155px}html[lang=ja] .intro-copy h1{line-height:1.25}html[lang=ja] .release-date{letter-spacing:0}

/* Image flags remain flags on Windows, independent of emoji fonts. */
.language-switch img{display:block;width:24px;height:18px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px #24303915;flex:none}.language-switch [data-language-current]{display:flex}
