/* GAME-MS V19 — precise V18 color correction; keep layout and native behavior intact. */
/* The two custom picker controls must never inherit neon solid backgrounds. */
body:has(.gm-home) .gm-v5-search .gm18-picker > .gm18-trigger,
body:has(.gm-home) .gm-v5-search .gm18-picker:hover > .gm18-trigger,
body:has(.gm-home) .gm-v5-search .gm18-picker.open > .gm18-trigger,
body:has(.gm-home) .gm-v5-search .gm18-picker > .gm18-trigger:focus-visible {
  background:#121d23!important;
  background-color:#121d23!important;
  background-image:none!important;
  color:#e5edf0!important;
  -webkit-text-fill-color:#e5edf0!important;
  font-weight:600!important;
}
body:has(.gm-home) .gm-v5-search .gm18-picker:hover > .gm18-trigger,
body:has(.gm-home) .gm-v5-search .gm18-picker.open > .gm18-trigger,
body:has(.gm-home) .gm-v5-search .gm18-picker > .gm18-trigger:focus-visible {
  border-color:#a7e737!important;
  box-shadow:0 0 0 1px rgba(172,239,56,.16)!important;
}
/* Same restrained hover treatment for country selector, including list filters. */
body:has(.gm-home) .gm-v5-search .gm-v15-country-wrap:hover .gm-v15-country-trigger,
body:has(.gm-home) .gm-v5-search .gm-v15-country-wrap.open .gm-v15-country-trigger,
body:has(.gm-home) .gm-v5-list-tools .gm-v15-country-wrap:hover .gm-v15-country-trigger,
body:has(.gm-home) .gm-v5-list-tools .gm-v15-country-wrap.open .gm-v15-country-trigger {
  background:#121d23!important;background-color:#121d23!important;
  border-color:#a7e737!important;
  box-shadow:0 0 0 1px rgba(172,239,56,.16)!important;
}
/* Make the user-supplied CS 1.6 silhouette transparent (no white or gray tile). */
body:has(.gm-home) .gm-v5-game::before {
  background-image:url('../img/gm19-cs16-transparent.png')!important;
  width:23px!important;height:23px!important;flex:0 0 23px!important;
  background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;
}
/* Keep icons visible even if older button styling attempts to override their colors. */
body:has(.gm-home) .gm18-trigger .gm18-icon {background-color:transparent!important;filter:none!important}
body:has(.gm-home) .gm18-trigger .gm18-arrow {background-color:transparent!important}
