.game-select{position:relative;display:block;min-width:0;width:100%;font:inherit}
#app-shell select.game-select-source{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;opacity:0;pointer-events:none;clip:rect(0,0,0,0)}
#app-shell .game-select-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:9px 12px;gap:12px;border:1px solid var(--glass-line);background:var(--glass-control);color:var(--text);font:inherit;text-align:left;clip-path:none;cursor:pointer}
.game-select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-select-trigger svg{flex:0 0 20px;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform 150ms ease-out}
.game-select-trigger[aria-expanded=true] svg{transform:rotate(180deg)}
#app-shell .game-select-trigger:hover,#app-shell .game-select-trigger[aria-expanded=true]{background:rgba(180,217,255,.18);border-color:var(--accent)}
#app-shell .game-select-trigger:disabled{opacity:.5;cursor:default}
.game-select-popup{position:fixed;z-index:20000;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:4px;background:rgba(20,40,58,.97);color:var(--text);font:14px var(--font-ui);font-variant-numeric:tabular-nums;border:1px solid var(--glass-line);box-shadow:0 12px 32px rgba(0,8,18,.42);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);scrollbar-width:thin;scrollbar-color:var(--accent) transparent}
.game-select-popup[hidden]{display:none!important}
.game-select-popup::-webkit-scrollbar{width:5px}
.game-select-popup::-webkit-scrollbar-thumb{background:var(--accent)}
.game-select-option{position:relative;box-sizing:border-box;display:flex;align-items:center;min-height:44px;padding:10px 32px 10px 12px;line-height:1.4;cursor:pointer;overflow-wrap:anywhere}
.game-select-option:hover,.game-select-option.is-active{background:rgba(180,217,255,.18)}
.game-select-option[aria-selected=true]{color:var(--accent);font-weight:500}
.game-select-option[aria-selected=true]::after{content:'';position:absolute;right:13px;top:calc(50% - 5px);width:6px;height:10px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.game-select-option[aria-disabled=true]{opacity:.45;cursor:default}
.game-select-trigger:focus{outline:2px solid var(--accent);outline-offset:-3px}
#app-shell .select-row>.game-select{flex:0 1 60%;width:auto}
@media(prefers-reduced-motion:reduce){.game-select-trigger svg{transition:none}}
