/* Keep the application and its fixed navigation on the same viewport centre. */
body{display:block}
.app{margin-inline:auto!important}
.navbar{left:50%;right:auto;transform:translateX(-50%);width:min(100%,var(--app-max));grid-template-columns:repeat(5,minmax(0,1fr));height:calc(78px + env(safe-area-inset-bottom))!important;padding-bottom:env(safe-area-inset-bottom)}
.navbar .nav{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;padding:10px 2px 12px;line-height:1.2;text-align:center;cursor:pointer}
.navbar .nav .ico{display:grid;place-items:center;height:26px;line-height:1}
.navbar .nav-game-entry{justify-content:flex-end!important}
.navbar .nav-game-entry .nav-center{position:absolute;left:50%;transform:translateX(-50%);top:-20px!important;margin:0}
.navbar .nav-game-label{position:static!important;top:auto!important;bottom:auto!important;left:auto!important;transform:none!important;line-height:1.2}

/* Keep every Classic category reachable without widening the page. */
:root:not([data-ui-template="glass-gold"]) #homeTabs{display:flex!important;overflow-x:auto;overflow-y:hidden;max-width:100%;scrollbar-width:thin}
:root:not([data-ui-template="glass-gold"]) #homeTabs button{flex:0 0 auto;padding-inline:12px}
