.game-switcher{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));z-index:90;color:#f8ead0;font:14px/1.35 system-ui,sans-serif}.game-switcher>summary{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 16px;border:1px solid #d5ad67;border-radius:999px;background:#1c382e;box-shadow:0 5px 22px #0009;color:#ffe3a9;font-weight:750;cursor:pointer;list-style:none}.game-switcher>summary::-webkit-details-marker{display:none}.game-switcher>summary:hover,.game-switcher>summary:focus-visible{background:#305544;outline:2px solid #f1cd85;outline-offset:2px}.game-switcher[open]>summary{background:#d5ad67;color:#1b251f}.game-switcher-panel{position:absolute;right:0;bottom:calc(100% + 9px);box-sizing:border-box;width:min(470px,calc(100vw - 24px));max-height:min(70dvh,640px);overflow:auto;overscroll-behavior:contain;padding:16px;border:1px solid #ac8a55;border-radius:14px;background:#14291f;box-shadow:0 12px 45px #000c}.game-switcher-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:11px;border-bottom:1px solid #6d6447}.game-switcher-head strong{font-size:18px}.game-switcher-head a{color:#f5d99b;font-size:12px}.game-switcher-panel section{margin-top:14px}.game-switcher-panel h2{margin:0 0 8px;color:#ceb98a;font:700 11px/1.2 system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase}.game-switcher-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.game-switcher-grid a{display:flex;align-items:center;gap:8px;min-width:0;min-height:48px;padding:5px 7px;border:1px solid #57664d;border-radius:8px;background:#20392c;color:#f7e9cb;text-decoration:none;font-size:13px;font-weight:650}.game-switcher-grid a:hover,.game-switcher-grid a:focus-visible{background:#365841;border-color:#d7ae66;outline:2px solid #d7ae66;outline-offset:1px}.game-switcher-grid a[aria-current=page]{background:#66502b;border-color:#f5d28d;color:#fff0bf}.game-switcher-grid img{width:54px;height:36px;flex:none;object-fit:cover;border-radius:4px}.game-switcher-grid span{overflow-wrap:anywhere}@media(max-width:460px){.game-switcher{right:max(9px,env(safe-area-inset-right));bottom:max(9px,env(safe-area-inset-bottom))}.game-switcher-panel{padding:12px}.game-switcher-grid{gap:5px}.game-switcher-grid a{font-size:12px}.game-switcher-grid img{width:42px;height:32px}}
.game-switcher{left:auto;right:max(14px,env(safe-area-inset-right));bottom:calc(82px + env(safe-area-inset-bottom))}
.game-switcher-panel{left:auto;right:0}
@media(max-width:460px){.game-switcher{left:auto;right:max(9px,env(safe-area-inset-right));bottom:calc(78px + env(safe-area-inset-bottom))}}

.game-switcher .game-switcher-grid a{display:grid;grid-template-columns:72px minmax(0,1fr);gap:9px;align-items:center;min-height:56px}.game-switcher .switcher-art{display:block!important;position:relative!important;width:72px!important;height:41px!important;min-width:72px!important;overflow:hidden!important;border-radius:5px;background:#345044;transform:none!important;perspective:none!important}.game-switcher .switcher-art img{display:block;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;aspect-ratio:16/9!important;transform:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:1}.game-switcher .switcher-art img[hidden]{display:none!important}.game-switcher .switcher-art-fallback{display:grid;position:absolute;inset:0;place-items:center;font:22px system-ui;color:#f5d99b}.game-switcher .switcher-art.loaded .switcher-art-fallback{display:none}.game-switcher .game-switcher-grid a>span:last-child{min-width:0;white-space:normal}.game-switcher .game-switcher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:460px){.game-switcher .game-switcher-grid a{grid-template-columns:56px minmax(0,1fr);gap:7px}.game-switcher .switcher-art{width:56px!important;height:32px!important;min-width:56px!important}}
/* Keep game-specific navigation layouts out of the shared chooser. */
.game-switcher .game-switcher-panel nav{display:block;width:100%;height:auto;position:static;overflow:visible}.game-switcher .game-switcher-panel section{display:block;width:100%;height:auto;position:static}.game-switcher .game-switcher-grid a{width:auto;height:auto;overflow:hidden}.game-switcher .game-switcher-grid a>span:last-child{display:block;position:static;font:500 13px/1.35 system-ui,sans-serif;color:#f7e9cb;transform:none}
