/*
 * Hides the "English (Australia)" (en_AU) entry from the Transifex Live
 * language picker on every page.
 *
 * Transifex Live (cdn.transifex.com/live.js) renders the auto picker as:
 *   <ul class="txlive-langselector-list ...">
 *     <li><button data-navigation-list-item data-value="en_AU"
 *                 aria-label="Toggle language to English (Australia)">English (Australia)</button></li>
 *   </ul>
 * so the per-language hook is the button's data-value attribute.
 *
 * This is intentionally CSS-only. An earlier JavaScript approach used a
 * page-wide MutationObserver to remove the entry; that observer fired on
 * every DOM change and stormed the video.js player, breaking video playback
 * on the Review and Complete pages. CSS cannot affect the player, so this
 * rule removes en_AU with zero risk to those pages.
 *
 * The "i" flag makes the attribute match case-insensitive, and both the
 * underscore and hyphen code forms are covered. The :has() rules also drop
 * the empty <li>; browsers without :has() simply fall back to hiding the
 * <button>, which collapses the row just the same.
 */
.txlive-langselector-list button[data-value="en_AU" i],
.txlive-langselector-list button[data-value="en-AU" i],
.txlive-langselector-list li:has(> button[data-value="en_AU" i]),
.txlive-langselector-list li:has(> button[data-value="en-AU" i]) {
    display: none !important;
}
