    /* ── Language selector – mirrors the theme-toggle button style ── */
    #lang-toggle {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: none;
      border: 0px solid currentColor;
      border-radius: 6px;
      padding: 4px 10px;
      font-size: 0.85rem;
      cursor: pointer;
      white-space: nowrap;
      /* inherits colour from the page so dark-mode works automatically */
      color: inherit;
    }

    #lang-toggle:focus {
      outline: 0px solid #a7dc37;
      outline-offset: 2px;
    }

    /* Dropdown menu – keep it tight and clean */
    #lang-menu, .lang-menu {
      min-width: 80px;
      font-size: 0.85rem;
    }

    #lang-menu .dropdown-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 6px 14px;
    }

    #lang-menu .dropdown-item.active,
    #lang-menu .dropdown-item:active {
      background-color: #00B2E5;
      color: #000;
      font-weight: 600;
    }

    /* Small check-mark next to the active language */
    #lang-menu .dropdown-item.active::after {
      content: "✓";
      font-size: 1rem;
    }