/* Shared navigation remains outside the game surface and the menu overlay. */
body.wgn-mode{--wgn-bottom-height:88px;padding-bottom:calc(var(--wgn-bottom-height) + env(safe-area-inset-bottom,0px))!important}body.wgn-hub-open{overflow:hidden}#winners-games-launcher:empty{display:none}.winners-game-nav>.wg-open,#winners-games-launcher>.wg-open{display:none!important}
.wgn-bottom{box-sizing:border-box;position:fixed;z-index:90;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,590px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px));border-top:1px solid #c6a13b37;border-radius:23px 23px 0 0;background:#17150ef5;backdrop-filter:blur(16px);font-family:var(--winners-ui-font,system-ui,sans-serif)}
.wgn-bottom button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:10px;border:1px solid transparent;border-radius:25px;background:transparent;color:#979489;font:600 15px/1.4 var(--winners-ui-font,system-ui,sans-serif);cursor:pointer;touch-action:manipulation}.wgn-bottom svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.wgn-bottom button[aria-pressed=true]{border-color:#edc33a;background:linear-gradient(110deg,#6a511b65,#a77b1ba6);color:#ffe17b;box-shadow:inset 0 1px #ffed9b12}.wgn-bottom button:focus-visible,.wgn-return:focus-visible{outline:2px solid #ffe788;outline-offset:3px}
.wgn-hub{box-sizing:border-box;position:fixed;inset:0 0 calc(88px + env(safe-area-inset-bottom,0px));z-index:80;display:flex;flex-direction:column;background:#14120b;color:#fff4d0}.wgn-hub[hidden],.wgn-status[hidden]{display:none!important}.wgn-hub-head{box-sizing:border-box;width:min(100%,590px);margin:auto auto 0;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 7px;flex-shrink:0}.wgn-return{display:block;min-height:40px;padding:9px 12px;border:1px solid #ba9c434d;border-radius:12px;background:#c79d2912;color:#f5d67b;font:600 12px/1.4 var(--winners-ui-font,system-ui,sans-serif);cursor:pointer}.wgn-hub iframe{display:block;border:0;width:100%;flex:1;min-height:0;color-scheme:dark}.wgn-status{box-sizing:border-box;position:fixed;z-index:100;bottom:calc(100px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(calc(100% - 28px),500px);padding:13px 16px;border:1px solid #caac4c77;border-radius:14px;background:#302818f5;color:#f4deb0;box-shadow:0 10px 30px #0005;font:12px/1.6 var(--winners-ui-font,system-ui,sans-serif)}.wgn-mode .toast{bottom:calc(100px + env(safe-area-inset-bottom,0px))}
@media(prefers-reduced-motion:reduce){.wgn-bottom *{transition:none!important}}

.wgn-bottom button{font-size:12px;gap:7px}.wgn-bottom svg{width:22px;height:22px}

.wgn-bottom button{flex-direction:column;gap:4px;font-size:11px;padding:7px 3px;border-radius:17px;min-width:0}

html.wgn-leaderboard-root{background:#092622}
html[data-winners-theme] body.wgn-mode.wgn-leaderboard .wgn-hub{background:#092622;color:#effff8}
html[data-winners-theme] body.wgn-mode.wgn-leaderboard .wgn-return{background:#215749;border-color:#8feace69;color:#d7fff0}
html[data-winners-theme] body.wgn-mode.wgn-leaderboard .wgn-bottom{background:#0a2e29f4;border-color:#84e5c745;box-shadow:inset 0 1px #d1ffef18,0 -8px 28px #021b1940}
html[data-winners-theme] body.wgn-mode.wgn-leaderboard .wgn-bottom button{color:#a0cabe;font-weight:650}
html[data-winners-theme] body.wgn-mode.wgn-leaderboard .wgn-bottom button[aria-pressed=true]{background:#215749;border-color:#8feace69;color:#d7fff0;box-shadow:inset 0 1px #caffeb24}
html[data-winners-theme] body.wgn-mode.wgn-leaderboard .wgn-status{background:#16473e;border-color:#84e5c77a;color:#effff8}
