:root {
    --at-header-safe-top: env(safe-area-inset-top, 0px);
    --at-header-height: calc(88px + var(--at-header-safe-top));
    scroll-padding-top: var(--at-header-height);
}

.app > .hero {
    padding-block-start: var(--at-header-height);
}

.app > .hero > .hero-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(540px, 100%);
    height: var(--at-header-height);
    padding-block-start: calc(14px + var(--at-header-safe-top));
    z-index: 11;
}

.app > .hero > #heroMenu.hero-menu {
    position: fixed;
    top: var(--at-header-height);
    left: max(16px, calc((100% - 540px) / 2 + 16px));
    right: auto;
    max-height: min(60vh, calc(100dvh - var(--at-header-height) - 64px - env(safe-area-inset-bottom, 0px)));
    z-index: 12;
}

.app > #livePresence {
    position: relative;
    top: auto;
    z-index: 1;
}
