/* Native PC selects remain intact; show custom PC-like dropdowns on touch devices. */
.wd-touch-select-wrap{display:block;position:relative;width:100%;min-width:0}
.wd-touch-select-trigger{display:none}
@media(pointer:coarse){
 #onlineOptions .wd-touch-select-wrap select{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;overflow:hidden!important}
 #onlineOptions .wd-touch-select-trigger{
  display:block!important;width:100%;min-width:0;box-sizing:border-box;
  padding:9px 25px 9px 8px;border:2px solid #e9ba4e;border-radius:9px;
  background:#fff;color:#092454;font:800 15px Georgia,serif;text-align:center;
  min-height:42px;position:relative;cursor:pointer;
 }
 #onlineOptions .wd-touch-select-trigger::after{content:'⌄';position:absolute;right:9px;top:50%;transform:translateY(-52%);font:900 18px sans-serif}
 #onlineOptions .wd-touch-select-trigger:focus-visible{outline:3px solid #f5c349;outline-offset:2px}
 #onlineOptions .wd-touch-select-trigger:disabled{opacity:.65;cursor:not-allowed}
}
.wd-touch-select-menu{
 position:fixed;z-index:2147483000;background:#fff;color:#092454;
 border:2px solid #e9ba4e;border-radius:7px;box-shadow:0 8px 25px #0009;
 overflow-y:auto;overscroll-behavior:contain;padding:2px;
}
.wd-touch-select-option{
 display:block;width:100%;padding:10px 12px;min-height:41px;
 border:0;border-radius:3px;background:white;color:#092454;
 font:700 16px Georgia,serif;text-align:center;
}
.wd-touch-select-option[aria-selected="true"]{background:#1e62b5;color:#fff}
.wd-touch-select-option:disabled{color:#9399a4;background:#f1f1f1}
.wd-touch-select-option:not(:disabled):active{background:#1e62b5;color:#fff}

/* Single menu authority on iPad: hide the actual native control completely. */
@media (pointer:coarse){
 #onlineOptions .online-game-settings .wd-touch-select-wrap > select,
 #onlineOptions .wd-touch-select-wrap > select{
  display:none!important;visibility:hidden!important;
 }
 #onlineOptions .online-game-settings{align-items:end!important}
 #onlineOptions .online-game-settings>label{min-width:0!important;align-items:stretch!important}
 #onlineOptions .wd-touch-select-wrap{width:100%!important;min-width:0!important}
 #onlineOptions .wd-touch-select-trigger{display:block!important;width:100%!important;min-height:44px!important;box-sizing:border-box!important}
}

/* Approved desktop menu appearance for all touch online selectors: no row dividers. */
.wd-touch-select-menu .wd-touch-select-option,
.wd-touch-select-menu .wd-touch-select-option:not(:last-child){
 box-sizing:border-box!important;border:0!important;border-top:0!important;border-bottom:0!important;
 outline:0!important;box-shadow:none!important;border-radius:0!important;
 min-height:31px!important;padding:5px 10px!important;margin:0!important;
 background:#fff!important;color:#092454!important;
}
.wd-touch-select-menu .wd-touch-select-option[aria-selected="true"],
.wd-touch-select-menu .wd-touch-select-option:not(:disabled):active,
.wd-touch-select-menu .wd-touch-select-option:focus-visible{
 background:#2168bd!important;color:#fff!important;
}
.wd-touch-select-menu .wd-touch-select-option:disabled{color:#9399a4!important;background:#f1f1f1!important}
.wd-touch-select-menu{padding:0!important;}
