/* Shared game selector for homepage and internal public pages. */
.game-switcher{position:relative;z-index:25;flex:none;font:inherit;color:var(--p-text-2)}
.game-switcher summary{list-style:none;display:flex;align-items:center;gap:7px;max-width:200px;min-height:36px;padding:6px 9px;border:1px solid var(--p-line);border-radius:7px;background:var(--p-surface-2);cursor:pointer;font-size:11px;font-weight:600}
.game-switcher summary::-webkit-details-marker{display:none}
.game-switcher summary:hover,.game-switcher[open] summary{border-color:var(--p-text-3);color:var(--p-text)}
.game-switcher-icon{width:19px;height:19px;flex:none;color:var(--p-accent-text)}
.game-switcher-current{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-switcher-options{position:absolute;top:calc(100% + 6px);right:0;z-index:35;width:max-content;min-width:190px;max-width:min(290px,calc(100vw - 24px));max-height:350px;overflow:auto;padding:6px;border:1px solid var(--p-line-strong);border-radius:8px;background:var(--p-surface-2);box-shadow:0 12px 28px #050a11bd;display:grid;gap:3px}
.game-switcher-options a,.game-switcher-empty{display:block;padding:10px 12px;border-radius:5px;color:var(--p-text-2);font-size:12px;text-decoration:none;overflow-wrap:anywhere}
.game-switcher-options a:hover,.game-switcher-options a.selected{background:var(--p-surface-4);color:var(--p-accent-text)}
.game-switcher-empty{color:var(--p-text-3)}
.game-filters-notice{display:inline-flex;align-items:center;color:var(--p-text-3);font-size:11px;white-space:nowrap}

@media(max-width:680px){
  /* Only the requested 9-dot icon on narrow screens: keep the header uncluttered. */
  .game-switcher summary{width:37px;max-width:37px;min-height:36px;justify-content:center;padding:6px}
  .game-switcher-current{display:none}
  .game-switcher-options{max-width:calc(100vw - 24px)}
  .ktreon-landing .game-filters-notice{font-size:11px}
}
/* Game icons: square artwork from the admin, letter tile as a fallback. */
.game-switcher-img{border-radius:5px;object-fit:cover}
.game-switcher-options a{display:flex;align-items:center;gap:10px}
.game-switcher-option-icon{display:grid;place-items:center;width:28px;height:28px;flex:none;border:1px solid var(--p-line);border-radius:7px;background:var(--p-surface-3);color:var(--p-accent-text);font-size:13px;font-weight:700;object-fit:cover}
.game-switcher-option-all svg{width:16px;height:16px}

