/* Shared server picker: matches the administrator application picker. */
body.gx-body .gx-server-select { position: relative; width: 100%; min-width: 0; }
body.gx-body select.gx-server-select__native {
  position: absolute !important; width: 1px !important; height: 1px !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important;
  opacity: 0 !important; pointer-events: none !important; overflow: hidden !important;
}
body.gx-body .gx-server-select__toggle {
  width: 100%; min-height: 46px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 11px 14px;
  border-radius: 12px; border: 1px solid rgba(245,197,24,.45);
  background: rgba(0,0,0,.34); color: #fff; font: inherit;
  font-size: 13px; line-height: 22px; font-weight: 600; text-align: left;
  cursor: pointer; box-shadow: none; transition: border-color .15s, background .15s;
}
body.gx-body .gx-server-select__value { min-width: 0; overflow-wrap: anywhere; }
body.gx-body .gx-server-select__toggle:hover,
body.gx-body .gx-server-select.is-open .gx-server-select__toggle {
  border-color: rgba(245,197,24,.78); background: rgba(245,197,24,.06);
}
body.gx-body .gx-server-select__toggle:focus-visible {
  outline: 2px solid var(--gx-gold, #f5c518); outline-offset: 3px;
}
body.gx-body .gx-server-select__toggle:disabled { opacity: .5; cursor: not-allowed; }
body.gx-body .gx-server-select__arrow {
  width: 8px; height: 8px; flex: 0 0 8px; margin: -4px 3px 0;
  border-right: 2px solid var(--gx-gold, #f5c518);
  border-bottom: 2px solid var(--gx-gold, #f5c518);
  transform: rotate(45deg); transition: transform .15s;
}
body.gx-body .gx-server-select.is-open .gx-server-select__arrow { transform: translateY(4px) rotate(225deg); }
body.gx-body .gx-server-select__menu {
  position: fixed; z-index: 11000; display: grid; gap: 3px; padding: 6px;
  box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 12px; background: #101116;
  border: 1px solid rgba(245,197,24,.55); box-shadow: 0 18px 40px rgba(0,0,0,.65);
  color: #f4f4f7; font-family: inherit; scrollbar-width: thin;
  scrollbar-color: rgba(245,197,24,.45) #101116;
}
body.gx-body .gx-server-select__menu[hidden] { display: none !important; }
body.gx-body .gx-server-select__option {
  min-height: 40px; box-sizing: border-box; padding: 9px 11px;
  border: 0; border-radius: 8px; background: transparent; color: #f4f4f7;
  font: inherit; font-size: 13px; line-height: 22px; font-weight: 600;
  text-align: left; cursor: pointer; overflow-wrap: anywhere;
}
body.gx-body .gx-server-select__option.is-active,
body.gx-body .gx-server-select__option.is-highlighted {
  background: rgba(245,197,24,.14); color: var(--gx-gold, #f5c518);
}
body.gx-body .gx-server-select__option[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  body.gx-body .gx-server-select__toggle, body.gx-body .gx-server-select__arrow { transition: none; }
}
