/* sheslab — 메인 탭바 6개 (Whispers / Playbook / MBTI / Saju / Hall / Game) */
.sl-tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    background: rgba(254, 252, 250, 0.92);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-top: 1px solid rgba(181, 115, 158, 0.18);
    padding: 6px 0 max(6px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    box-shadow: 0 -4px 18px rgba(142, 88, 120, 0.06);
}
.sl-tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 2px;
    color: var(--text-muted, #888);
    text-decoration: none;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    transition: color 0.15s;
}
.sl-tabbar a:hover { color: var(--primary-dark, #8E5878); }
.sl-tabbar a.active { color: var(--primary-dark, #8E5878); }
.sl-tabbar a.active::before {
    content: '';
    position: absolute;
    top: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-dark, #8E5878), var(--secondary, #E8A4B8));
    border-radius: 0 0 2px 2px;
}
.sl-tab-icon { font-size: 1.15rem; line-height: 1.1; }
.sl-tab-label {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 380px) {
    .sl-tab-label { font-size: 0.58rem; letter-spacing: 0.08em; }
}

/* 메인 컨텐츠가 탭바에 가려지지 않도록 body padding */
body.has-sl-tabbar { padding-bottom: 64px; }
