/* GAME-MS V17 — consistent filters without changing layout or card geometry. */
body:has(.gm-home) .gm-v5-search .gm-v15-country-trigger,
body:has(.gm-home) .gm-v5-search .gm-v6-filter,
body:has(.gm-home) .gm-v5-list-tools select,
body:has(.gm-home) .gm-v5-list-tools .gm-v15-country-trigger {
  transition:background-color .17s ease,border-color .17s ease,box-shadow .17s ease!important;
}
/* Same hover, focus and expanded states on every control. */
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-trigger:focus-visible,
body:has(.gm-home) .gm-v5-search .gm-v15-country-wrap.open .gm-v15-country-trigger,
body:has(.gm-home) .gm-v5-search .gm-v6-filter:hover,
body:has(.gm-home) .gm-v5-search .gm-v6-filter:focus,
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-trigger:focus-visible,
body:has(.gm-home) .gm-v5-list-tools .gm-v15-country-wrap.open .gm-v15-country-trigger,
body:has(.gm-home) .gm-v5-list-tools select:hover,
body:has(.gm-home) .gm-v5-list-tools select:focus {
  background-color:#1c2b2a!important;border-color:#a7e737!important;
  box-shadow:0 0 0 1px rgba(172,239,56,.16)!important;outline:none!important;
}
/* Use one small chevron on the right of every select and custom country trigger. */
body:has(.gm-home) .gm-v5-search select.gm17-select,
body:has(.gm-home) .gm-v5-list-tools select.gm17-select {
  appearance:none!important;-webkit-appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23d7e8ef' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:15px 15px!important;
  padding-right:33px!important;
}
body:has(.gm-home) .gm-v5-search .gm-v15-country-trigger,
body:has(.gm-home) .gm-v5-list-tools .gm-v15-country-trigger {position:relative!important;padding-right:33px!important}
body:has(.gm-home) .gm-v5-search .gm-v15-country-trigger .gm-v15-chevron,
body:has(.gm-home) .gm-v5-list-tools .gm-v15-country-trigger .gm-v15-chevron {display:none!important}
body:has(.gm-home) .gm-v5-search .gm-v15-country-trigger::after,
body:has(.gm-home) .gm-v5-list-tools .gm-v15-country-trigger::after {
 content:''!important;display:block!important;position:absolute!important;right:12px!important;top:50%!important;
 transform:translateY(-50%)!important;width:15px!important;height:15px!important;
 background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23d7e8ef' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E")!important;
 pointer-events:none!important;
}
/* Copy feedback is a toast, not a tooltip inside the card. */
body:has(.gm-home) .gm162-copied::after{display:none!important}
.gm17-toast{position:fixed;right:24px;bottom:25px;z-index:2147483000;display:flex;align-items:center;gap:11px;
  background:#142322;color:#f1faf4;border:1px solid #729c36;border-radius:12px;padding:13px 17px;
  box-shadow:0 12px 38px rgba(0,0,0,.45),0 0 0 1px rgba(183,244,60,.09);
  font:600 13px/1.35 Arial,sans-serif;opacity:0;transform:translateY(14px) scale(.97);pointer-events:none;
  transition:opacity .22s ease,transform .22s ease;max-width:calc(100vw - 32px)}
.gm17-toast.show{opacity:1;transform:translateY(0) scale(1)}
.gm17-toast-mark{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border-radius:50%;background:#b7f43c;color:#132016;font-size:16px;font-weight:900}
@media(max-width:600px){.gm17-toast{right:12px;bottom:12px}}
