/* Home computer Level / Goal / Timer: desktop remains the native PC select.
   On touch devices JS exposes an anchored button/menu and hides the native
   select entirely, preventing iOS/iPadOS and Android picker bubbles. */
html.wd-home-dropdowns-ready #lobby .wd-home-controls-one-line select.wd-home-native-select{
 display:none!important;
 visibility:hidden!important;
 pointer-events:none!important;
}
/* Match the REAL PC <select> geometry on the one-piece royal-blue/gold
   computer strip. Labels are 84px decorative hit cells with font-size:0.
   Mobile buttons MUST occupy the same lower slot as the hidden selects,
   never their label's top-left corner (the previous overlapping layout). */
html.wd-home-dropdowns-ready body:not(.wd-gate):has(#lobby:not([hidden])):has(#game[hidden])
#lobby > .computer-launch-row.wd-home-controls-one-line > label > button.wd-home-select-trigger{
 display:flex!important;
 position:absolute!important;
 box-sizing:border-box!important;
 align-items:center!important;
 justify-content:center!important;
 bottom:15px!important;
 top:auto!important;
 left:14.3%!important;
 right:auto!important;
 width:71.4%!important;
 max-width:71.4%!important;
 min-width:0!important;
 height:28px!important;
 min-height:28px!important;
 max-height:28px!important;
 margin:0!important;
 padding:1px 12px 1px 2px!important;
 border:1px solid #d9a543!important;
 border-radius:5px!important;
 background:#07265c!important;
 color:#fff!important;
 font:800 14px/1.1 Georgia,serif!important;
 text-align:center!important;
 text-shadow:none!important;
 box-shadow:0 0 0 2px #082451!important;
 cursor:pointer!important;
 touch-action:manipulation!important;
 -webkit-appearance:none!important;
 appearance:none!important;
 transform:none!important;
 translate:none!important;
 scale:1!important;
}
html.wd-home-dropdowns-ready body:not(.wd-gate):has(#lobby:not([hidden])):has(#game[hidden])
#lobby > .computer-launch-row.wd-home-controls-one-line > label.computer-level > button.wd-home-select-trigger{
 left:12.515%!important;
 width:74.97%!important;
 max-width:74.97%!important;
}
html.wd-home-dropdowns-ready #lobby .wd-home-controls-one-line .wd-home-select-trigger::after{
 content:''!important;
 position:absolute!important;
 right:3px!important;
 top:50%!important;
 transform:translateY(-18%)!important;
 border:3px solid transparent!important;
 border-top-color:#fff!important;
 pointer-events:none!important;
}
@media(max-width:650px){
 html.wd-home-dropdowns-ready body:not(.wd-gate):has(#lobby:not([hidden])):has(#game[hidden])
 #lobby > .computer-launch-row.wd-home-controls-one-line > label > button.wd-home-select-trigger{
  bottom:11px!important;
  height:22px!important;
  min-height:22px!important;
  max-height:22px!important;
  padding:0 10px 0 1px!important;
  border-radius:3px!important;
  font-size:clamp(10px,2.6vw,11px)!important;
 }
 html.wd-home-dropdowns-ready #lobby .wd-home-controls-one-line .wd-home-select-trigger::after{
  right:2px!important;
  border-width:2.5px!important;
 }
}
html.wd-home-dropdowns-ready #lobby .wd-home-controls-one-line .wd-home-select-trigger:focus-visible{
 outline:2px solid #ffe99a!important;
 outline-offset:1px!important;
}
html.wd-home-dropdowns-ready #lobby .wd-home-controls-one-line .wd-home-select-trigger:disabled{
 opacity:.65!important;
}
html.wd-home-dropdowns-ready #lobby .wd-home-controls-one-line .wd-home-select-value{
 display:block!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
 white-space:nowrap!important;
 min-width:0!important;
 pointer-events:none!important;
}
/* The menu is a straight-edged, centered DROP-DOWN beneath its own tab,
   not a floating native mobile dialog or a bubble with rounded corners. */
.wd-home-computer-menu{
 position:fixed!important;
 z-index:2147483000!important;
 box-sizing:border-box!important;
 overflow-x:hidden!important;
 overflow-y:auto!important;
 overscroll-behavior:contain!important;
 margin:0!important;
 padding:0!important;
 border:1px solid #70a9f4!important;
 border-radius:0!important;
 background:#10458e!important;
 box-shadow:0 6px 12px #00102b99!important;
 -webkit-overflow-scrolling:touch!important;
}
.wd-home-computer-menu > .wd-home-computer-option{
 display:block!important;
 box-sizing:border-box!important;
 width:100%!important;
 min-width:0!important;
 min-height:34px!important;
 margin:0!important;
 padding:5px 4px!important;
 border:0!important;
 border-radius:0!important;
 outline:0!important;
 background:#1552a4!important;
 color:white!important;
 text-align:center!important;
 font:500 14px/1.25 Georgia,serif!important;
 white-space:nowrap!important;
 box-shadow:none!important;
 text-shadow:none!important;
 animation:none!important;
 touch-action:manipulation!important;
 -webkit-appearance:none!important;
 appearance:none!important;
}
.wd-home-computer-menu > .wd-home-computer-option[aria-selected="true"],
.wd-home-computer-menu > .wd-home-computer-option:focus-visible,
.wd-home-computer-menu > .wd-home-computer-option:not(:disabled):active{
 background:#2279d4!important;
 color:#fff!important;
}
.wd-home-computer-menu > .wd-home-computer-option:disabled{
 opacity:.55!important;
 cursor:not-allowed!important;
}
