html:has(body.page-gameboard) { overflow: hidden; } body.page-gameboard { overflow: hidden; .container { overflow: hidden; display: flex; flex-direction: column; flex: 1; min-height: 0; } .row { flex-shrink: 0; margin-bottom: -1rem; } } .gameboard-page { flex: 1; min-width: 425px; overflow: hidden; display: flex; flex-direction: column; position: relative; } @media (max-width: 550px) { .gameboard-page { min-width: 0; overflow: hidden; } } @media (min-width: 738px) { .gameboard-page { min-width: 666px; } } #id_applet_game_kit { display: flex; flex-direction: column; #id_game_kit { flex: 1; position: relative; display: flex; flex-direction: row; align-items: center; justify-content: space-evenly; overflow-x: visible; scrollbar-width: none; &::-webkit-scrollbar { display: none; } .token { position: static; } .token:hover .token-tooltip { display: none; } .token, .kit-item { font-size: 1.5rem; } .kit-item { opacity: 0.6; } } } #id_applet_new_game, #id_applet_my_games { display: flex; flex-direction: column; ul { flex: 1; list-style: none; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; small { opacity: 0.5; font-style: italic; } } } #id_tooltip_portal { position: fixed; z-index: 9999; &.active { display: block; } } @media (max-height: 500px) { body.page-gameboard { .container { .row { padding: 0.25rem 0; .col-lg-6 h2 { margin-bottom: 0.5rem; } } } } }