:root { --navigation-height: 74px; --navigation-total: calc(var(--navigation-height) + var(--tg-safe-area-inset-bottom, 0px)); } @layer base { .navigation { position: absolute; right: 0; bottom: 0; left: 0; z-index: 10; display: flex; align-items: flex-end; justify-content: space-evenly; overflow: hidden; } .barContainer { display: flex; align-items: flex-end; } .barWrapper { display: flex; align-items: flex-end; } .bar { width: 54px; border-radius: 27px 27px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-bottom: var(--tg-safe-area-inset-bottom, 0px); } .barActive { } .barInactive { } .safeContent { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 64px; } .iconPlaceholder { width: 20px; height: 20px; background: rgb(255 255 255 / 0.4); border-radius: 4px; flex-shrink: 0; margin-top: -6px; margin-bottom: -6px; } .label { font-size: 11px; text-align: center; -webkit-text-stroke: 1px #331b01; text-shadow: 0px 1px 2px 0px #0000008c; line-height: 1; } .labelInactive { color: white; } .labelActive { color: #ffbd42; } }