/* Dropdown menus: a large, solid caret instead of the browser's small native arrow.
   It takes the text colour (currentColor), so it works on light and dark pages, and it moves to the left in right-to-left pages. */
select{-webkit-appearance:none;appearance:none;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-size:12px 12px,12px 12px!important;background-repeat:no-repeat!important;
 background-position:calc(100% - 30px) 50%,calc(100% - 18.5px) 50%!important;
 padding-inline-end:52px!important;text-overflow:ellipsis}
[dir="rtl"] select,select:dir(rtl){background-position:18px 50%,29.5px 50%!important}
/* the small language picker in the page header keeps a compact caret */
select.langbtn{background-size:9px 9px,9px 9px!important;background-position:calc(100% - 22px) 50%,calc(100% - 13.5px) 50%!important;padding-inline-end:36px!important}
[dir="rtl"] select.langbtn,select.langbtn:dir(rtl){background-position:13px 50%,21.5px 50%!important}
