/**
 * Ongyul 앱 하단 네비게이션 공통 스타일
 * 페이지별 CSS가 다른 값을 갖더라도 include 로드 순서로 이 규격을 최종 적용한다.
 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height, 60px);
    background: var(--color-surface, #fff);
    border-top: 1px solid var(--color-border, #e5e8eb);
    justify-content: space-around;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    z-index: 100;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.06);
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    color: var(--color-text-tertiary, #8b95a1);
    text-decoration: none;
    transition: color 0.2s;
}

.bottom-nav__item:hover {
    color: var(--color-text-secondary, #4e5968);
}

.bottom-nav__item--active,
.bottom-nav__item.active {
    color: var(--color-primary, #3182f6);
}

.bottom-nav .bottom-nav__icon,
.bottom-nav__item .bottom-nav__icon {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px;
    stroke-width: 2;
}

.bottom-nav .bottom-nav__label,
.bottom-nav__item .bottom-nav__label {
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    word-break: keep-all;
}

body.lb-platform-web .bottom-nav {
    display: none !important;
}

body.lb-platform-android .bottom-nav,
body.lb-platform-ios .bottom-nav {
    display: flex !important;
}

body.lb-platform-web:not(.lb-platform-android):not(.lb-platform-ios).ongyul-main-page .bottom-nav {
    display: none !important;
}

body.lb-platform-android.ongyul-main-page .bottom-nav,
body.lb-platform-ios.ongyul-main-page .bottom-nav {
    display: flex !important;
}
