.language-picker { position:relative; margin-left:auto; z-index:30; flex:none; }
.language-picker > summary { cursor:pointer; display:flex; align-items:center; justify-content:center; min-width:48px; min-height:44px; padding:4px 10px; font-size:27px; border:2px solid currentColor; border-radius:14px; background:var(--paper,#fffaf1); list-style:none; }
.language-picker > summary::-webkit-details-marker { display:none; }
.language-picker > summary:focus-visible { outline:3px solid #167b62; outline-offset:3px; }
.language-options { position:absolute; top:calc(100% + 8px); right:0; width:210px; max-height:70vh; overflow:auto; display:grid; gap:3px; padding:8px; border:2px solid currentColor; border-radius:16px; background:var(--paper,#fffaf1); box-shadow:0 8px 30px #0003; }
.language-options button { text-align:left; padding:8px 12px; min-height:42px; border:0; border-radius:8px; background:transparent; color:inherit; font:700 17px Nunito,Arial,sans-serif; }
.language-options button:hover,.language-options button[aria-pressed=true] { background:#a9d9bb55; }
.student-page:not([data-scene=welcome]) .language-picker { display:none; }
.teacher-page .language-picker { margin-left:12px; }
html[lang=ru] body,html[lang=lt] body,html[lang=lv] body { font-family:Nunito,Arial,sans-serif; }
@media(max-width:720px) { .language-picker > summary { font-size:24px; min-height:40px; } .site-header { gap:10px; } }
