/* The bar that switches between the two games. Its own file because the two
   pages it sits on share no stylesheet: the lobby loads network.css, the cube
   loads cube.css, and one copy of this is better than two that drift. */
.game-tabs{
  position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));
  z-index:20;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);
  gap:6px;width:min(360px,calc(100% - 32px));transform:translateX(-50%);
  padding:5px;border:1px solid rgba(255,255,255,.1);border-radius:18px;
  background:rgba(12,14,16,.86);backdrop-filter:blur(14px);
  box-shadow:0 12px 34px rgba(0,0,0,.55);
}
.game-tab{
  display:grid;grid-auto-flow:column;align-items:center;justify-content:center;
  gap:8px;min-height:46px;border:1px solid transparent;box-sizing:border-box;border-radius:13px;color:#747985;text-decoration:none;
  font:800 12px/1 Manrope,ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;
}
.game-tab>i{font:15px/1 Georgia,serif;font-style:normal}
.game-tab.is-active{color:#fff;font-weight:700}
.game-tab-poker.is-active{background:rgba(181,140,255,.12);border-color:rgba(181,140,255,.45);box-shadow:inset 0 0 12px rgba(181,140,255,.06)}
.game-tab-poker.is-active>i{color:#b58cff}
.game-tab-cube.is-active{background:rgba(183,255,38,.11);border-color:rgba(183,255,38,.4);box-shadow:inset 0 0 12px rgba(183,255,38,.05)}
.game-tab-cube.is-active>i{color:#b7ff26}

/* Room for the bar on each page, so nothing ends up underneath it. */
.network-shell{padding-bottom:96px}
.cube-page .cube-embed .screen{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
@media(prefers-reduced-motion:reduce){.game-tab{transition:none}}
