/* LangPicker (js/lang-picker.js): globe button and a list of languages in their own names.
   Colors follow the start panel (ink #1a1b15, cream #fafafa, field green #5dba63). 44 px touch targets. */
.langpick{position:relative;display:inline-block;z-index:30;font-family:var(--font-mono, "JetBrains Mono", monospace)}
.langpick .langbtn{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:0 12px;
  background:#1a1b15;color:#fafafa;border:1px solid #2a2b24;border-radius:0;font:inherit;font-size:12px;font-weight:700;
  letter-spacing:.6px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.langpick .langbtn:hover,.langpick.open .langbtn{border-color:#5dba63}
.langpick .langbtn:focus-visible,.langpick li:focus-visible{outline:2px solid #ffd96b;outline-offset:2px}
.langpick .globe{font-size:16px;line-height:1}
.langpick .cur{max-width:9em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.langpick.busy .langbtn{opacity:.6}
.langpick .langlist{position:absolute;top:calc(100% + 4px);inset-inline-end:0;margin:0;padding:4px 0;list-style:none;
  min-width:190px;max-height:min(70vh,440px);overflow-y:auto;background:#1a1b15;border:1px solid #5dba63;
  box-shadow:0 8px 24px rgba(0,0,0,.45)}
.langpick .langlist[hidden]{display:none}
.langpick li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 14px;
  color:#fafafa;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"PingFang SC","Hiragino Sans","Noto Sans CJK SC","Noto Sans Arabic",sans-serif;
  font-size:15px;cursor:pointer;letter-spacing:0}
.langpick li:hover{background:#26271f}
.langpick li .ck{visibility:hidden;color:#5dba63;font-weight:700}
.langpick li[aria-selected="true"] .ck{visibility:visible}
.langpick li[aria-selected="true"]{color:#ffd96b}
/* the start panel's own corner slot: pinned to the top inline-end corner (top right in English, top left in
   Arabic) so it shares the first line with the small "NatureJAB presents" heading instead of taking a row of its
   own (Jaus Col, call: the Arabic row looked mostly empty). The heading keeps clear of it on narrow phones. */
.langslot{position:absolute;top:10px;inset-inline-end:12px;margin:0;z-index:5}
.panel:has(> .langslot) > h2:where(:not(.h1)):first-of-type{padding-inline-end:clamp(120px,34%,170px);min-height:44px;display:flex;align-items:center;margin-top:-4px}
.langslot .langbtn{min-height:40px;padding:0 10px}
