/* Top right on every page: help only as "?" and the language button (globe + code) with its small menu */
.topbar .help-btn span { display: none; }
.topbar .help-btn { padding: 0; width: 32px; justify-content: center; }
.lang-wrap { position: relative; display: inline-flex; align-self: center; flex: none; margin: 6px 4px; }
.lang-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px 0 7px; border-radius: 999px; border: 1px solid var(--line2, #d5dbe5);
  background: transparent; color: var(--muted, #646b76); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.lang-btn:hover { color: var(--accent, #1f6feb); border-color: var(--accent, #1f6feb); background: var(--accent-soft, #eaf1fe); }
.lang-btn .ic, .lang-btn svg { width: 17px; height: 17px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 200; background: var(--card, #fff); border: 1px solid var(--line2, #d5dbe5);
  border-radius: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.18); padding: 6px; min-width: 170px; display: grid; gap: 2px; }
.lang-menu.hidden { display: none; }
.lang-menu button { text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; color: var(--text, #22262c); font: inherit;
  font-size: 14px; font-weight: 600; cursor: pointer; }
.lang-menu button:hover { background: var(--card2, #f3f5f8); }
.lang-menu button.on { color: var(--accent, #1f6feb); background: var(--accent-soft, #eaf1fe); }
/* the terminal: big touch buttons */
.head-actions .lang-wrap { margin: 0; }
.head-actions .lang-btn { height: 44px; padding: 0 14px; font-size: 15px; border-radius: 999px; background: var(--card, #fff); }
.head-actions .lang-menu button { font-size: 17px; padding: 12px 14px; }
/* the shop header */
.top-act .lang-wrap { margin: 0 4px 0 0; }
