/* Fightlore+ mobile bottom navigation */
.fightflo-bottom-nav {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    transform: translateY(calc(100% + env(safe-area-inset-bottom)));
    opacity: 0;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
    will-change: transform, opacity;
}
.fightflo-bottom-nav.is-revealed {
    transform: translateY(0);
    opacity: 1;
}
.fightflo-bottom-nav__inner {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    min-height: 3.75rem;
    padding: 0.35rem 0.25rem 0;
}
.fightflo-bottom-nav__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.35rem 0.15rem;
    border: none;
    background: transparent;
    color: #71717a;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    font: inherit;
}
.fightflo-bottom-nav__item:active {
    transform: scale(0.96);
}
.fightflo-bottom-nav__item.is-active {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.12);
}
.fightflo-bottom-nav__item.is-active .fightflo-bottom-nav__icon {
    color: #60a5fa;
}
.fightflo-bottom-nav__item.is-disabled {
    opacity: 0.38;
    pointer-events: none;
}
.fightflo-bottom-nav__icon {
    width: 1.35rem;
    height: 1.35rem;
    color: inherit;
    flex-shrink: 0;
}
.fightflo-bottom-nav__label {
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

html.fightflo-mobile-pwa body {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

html.fightflo-mobile-pwa #screen-landing.active {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
}
html.fightflo-mobile-pwa #planner-main:not(.hidden) {
    padding-bottom: calc(6.75rem + env(safe-area-inset-bottom));
}
