/* Native selects remain the form controls; this layer owns presentation only. */
.gs-select{position:relative;display:inline-flex;vertical-align:middle;min-width:0;width:100%;flex:1;isolation:isolate}
select.gs-native{display:none!important}
.gs-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:44px;margin:0;padding:11px 13px;border:1px solid #5d7c9580;border-radius:11px;background:linear-gradient(135deg,#294b64,#203b54);box-shadow:inset 0 1px #bdd5df10,0 3px 10px #07182814;color:var(--cream,#fff4e8);font:600 15px/1.4 var(--font-control,"Exo 2","Rubik",sans-serif);text-align:left;cursor:pointer;transition:border-color .18s,box-shadow .18s,background .18s,transform .18s}
.gs-trigger:hover{border-color:#9fc9d3a6;background:linear-gradient(135deg,#31556e,#27455f);box-shadow:inset 0 1px #cde7e51a,0 5px 15px #0718282b}
.gs-trigger:active{transform:translateY(1px)}
.gs-trigger:focus-visible{outline:2px solid #ffc490;outline-offset:3px}
.gs-trigger:disabled{opacity:.45;cursor:not-allowed}
.gs-select.is-open .gs-trigger{border-color:#ffa268ad;box-shadow:0 0 0 3px #ffa2680d,inset 0 1px #ffe2b314}
.gs-value{display:block;min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gs-chevron{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;border-radius:6px;background:#0f2a3d66;color:#b0ccde;transition:transform .18s,background .18s}
.gs-chevron svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.is-open>.gs-trigger .gs-chevron{transform:rotate(180deg);background:#ffa26816;color:#ffbc8c}
.gs-panel{position:fixed;z-index:1000;display:flex;flex-direction:column;inset:auto;margin:0;padding:0;min-width:0;max-width:calc(100vw - 24px);overflow:hidden;border:1px solid #698fa7b3;border-radius:16px;background:linear-gradient(145deg,#25465e,#162e46 78%);box-shadow:0 20px 65px #020d22a6,0 0 0 1px #badde408,inset 0 1px #c6ece41a;color:var(--cream,#fff4e8);font:400 14px/1.45 var(--font,"Rubik",sans-serif);animation:gs-reveal .14s ease both;box-sizing:border-box}
.gs-panel[popover]{margin:0;inset:auto}
.gs-panel::backdrop{background:transparent;pointer-events:none}
.gs-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px 11px;border-bottom:1px solid #adc7d414;color:#b0c7d9;font-size:12px;font-weight:500;flex-shrink:0}
.gs-panel-heading>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gs-panel-heading small{display:grid;place-items:center;min-width:23px;height:21px;padding:2px 5px;border-radius:6px;background:#c9e5e20c;color:#c4dedf;font-size:11px;font-variant-numeric:tabular-nums}
.gs-search{display:flex;align-items:center;gap:9px;padding:0 11px;margin:10px 10px 5px;min-height:42px;flex-shrink:0;border:1px solid #7395ac66;border-radius:10px;background:#0d263c88;color:#9fbcd1}
.gs-search:focus-within{border-color:#ffd0a1a6;box-shadow:0 0 0 2px #ffa2680a}
.gs-search>svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
.gs-search input{width:100%;min-width:0;min-height:40px;border:0;background:transparent;color:#fff4e8;outline:none;font:400 14px/1.4 var(--font,"Rubik",sans-serif)}
.gs-search input:focus-visible{outline:none}
.gs-search input::placeholder{color:#83a5be}
.gs-options{position:relative;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5f899f #102c4255;padding:6px;scroll-padding:8px}
.gs-options[hidden]{display:none}
.gs-options::-webkit-scrollbar{width:5px;height:5px}.gs-options::-webkit-scrollbar-thumb{background:#5f899f;border-radius:5px}.gs-options::-webkit-scrollbar-track{background:#102c4255}
.gs-option-group{position:sticky;top:-6px;z-index:1;padding:10px 9px 7px;border-bottom:1px solid #8db7c219;background:#203e55;color:#9bcdbd;font-size:11px;letter-spacing:1px;text-transform:uppercase;font-weight:600}
.gs-option{position:relative;display:flex;align-items:center;gap:11px;min-height:43px;margin:3px 0;padding:11px 10px;border:1px solid transparent;border-radius:10px;color:#d6e3e9;cursor:pointer;transition:background .12s,border-color .12s,color .12s}
.gs-option.is-focused{color:#fff4e8;background:linear-gradient(90deg,#547b8a52,#406a7e38);border-color:#9eb9bf47}
.gs-option.is-selected{background:linear-gradient(100deg,#8c674934,#835b3f18);border-color:#ffb77f55;color:#ffd5ad}
.gs-option.is-selected.is-focused{background:linear-gradient(100deg,#96734e52,#5a6a6f33);border-color:#ffc59099}
.gs-option.is-disabled{opacity:.36;cursor:not-allowed}
.gs-option-text{flex:1;min-width:0;overflow-wrap:anywhere}
.gs-check{display:grid;place-items:center;flex-shrink:0;width:20px;height:20px;margin-left:auto;color:#ffba88;opacity:0}
.gs-check svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gs-option.is-selected .gs-check{opacity:1}
.gs-empty{padding:26px 18px;text-align:center;color:#90afc6;font-size:14px}.gs-empty[hidden]{display:none}
.gs-selected-match{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.gs-club-crests{display:flex;align-items:center;flex-shrink:0;gap:5px}
.gs-club-crests img{display:block;width:25px;height:25px;object-fit:contain;filter:drop-shadow(0 2px 3px #00101c55)}
.gs-match-value{display:grid;gap:4px;min-width:0}.gs-match-value strong{font-size:15px;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.gs-match-value strong i{font-style:normal;color:#7fa1b7}.gs-match-value small{font-size:11px;color:#95b2c7;font-weight:400}
.gs-has-match .gs-trigger{min-height:59px;padding:10px 13px}
.gs-match-panel .gs-option{min-height:64px;padding-top:10px;padding-bottom:10px}
.gs-match-panel .gs-option .gs-club-crests{flex-direction:column;gap:6px}
.gs-match-panel .gs-club-crests img{height:20px;width:20px}
.gs-match-names{display:grid;gap:7px;min-width:0;flex:1;font-size:14px;line-height:1.35}.gs-match-names>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Fit the existing compact filters without inheriting native-select chrome. */
.select-control>.gs-select{width:auto;min-width:0}.select-control .gs-trigger{border:0;background:none;box-shadow:none;padding:9px 0;font-size:15px}.select-control .gs-chevron{background:transparent;width:16px}.select-control .gs-trigger:hover{background:none}
.select-control>span.gs-select{display:inline-flex}
.select-control:has(>.gs-select)>span:not(.gs-select){display:none}
.page-size>.gs-select{width:76px;flex:0 0 76px}.page-size .gs-trigger{min-height:38px;padding:7px 9px}
.lu-toolbar>.gs-select .gs-trigger{min-height:58px;border-radius:15px}.lu-editor-row>.gs-select{width:195px;max-width:195px;flex:0 1 195px}.lu-editor-row .gs-trigger{font-size:14px;min-height:43px}
@media(min-width:760px){.gs-match-panel{max-width:min(850px,calc(100vw - 24px))}.gs-match-panel .gs-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;padding:8px}.gs-match-panel .gs-options[hidden]{display:none}.gs-match-panel .gs-option-group{grid-column:1/-1;top:-8px;padding:10px 10px 8px;margin-bottom:2px}.gs-match-panel .gs-option{margin:0;border-color:#8db4c21c;background:#ffffff03}.gs-match-panel .gs-option.is-focused{border-color:#9eb9bf66;background:linear-gradient(100deg,#50788d66,#36576d66)}.gs-match-panel .gs-option.is-selected{border-color:#ffb77f77;background:linear-gradient(100deg,#8c674945,#835b3f20)}.gs-match-panel .gs-option.is-selected.is-focused{border-color:#ffc590b3;background:linear-gradient(100deg,#96734e66,#5a6a6f44)}}
@keyframes gs-reveal{from{opacity:0;transform:translateY(-4px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:620px){.gs-trigger{min-height:45px;font-size:14px;border-radius:10px;padding:11px}.select-control .gs-trigger{font-size:14px}.gs-panel{border-radius:14px}.gs-panel-heading{padding:12px 13px 10px}.gs-option{min-height:46px;font-size:14px;padding-left:10px;padding-right:10px}.gs-match-value strong{font-size:14px}.gs-selected-match{gap:9px}.gs-selected-match .gs-club-crests{gap:3px}.gs-selected-match .gs-club-crests img{width:22px;height:22px}.gs-match-names{font-size:14px}.lu-toolbar>.gs-select .gs-trigger{min-height:60px}.lu-editor-row>.gs-select{max-width:none;width:100%;flex:1 0 100%}}
@media(prefers-reduced-motion:reduce){.gs-panel{animation:none}.gs-trigger,.gs-chevron,.gs-option{transition:none}}
