/* SidebarTabBar — 关注/最近 Tab 切换栏（设计稿 v3.1） */
.wk-sidebar-tabbar {
    display: flex;
    justify-content: center;
    padding: 0 var(--wk-sp-3) var(--wk-sp-2);
    flex-shrink: 0;
}

/* pill 形容器（胶囊） */
.wk-sidebar-tabbar__container {
    display: flex;
    align-items: center;
    background: var(--wk-bg-tab);
    border-radius: var(--wk-r-full);
    padding: var(--wk-sp-0-5);
    width: 100%;
    box-sizing: border-box;
    gap: 0;
}

/* Tab 按钮（胶囊） */
.wk-sidebar-tabbar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: var(--wk-sp-1-5);
    padding: var(--wk-sp-1) var(--wk-sp-2);
    border: none;
    outline: none;
    background: transparent;
    border-radius: var(--wk-r-full);
    color: var(--wk-icon-default);
    font-size: var(--wk-text-size-base);
    font-weight: 500;
    font-family: var(--wk-font-sans);
    cursor: pointer;
    transition: all 120ms;
    position: relative;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.wk-sidebar-tabbar__btn:hover {
    color: var(--wk-text-strong);
}

.wk-sidebar-tabbar__btn:focus {
    outline: none;
}

.wk-sidebar-tabbar__btn:focus-visible {
    outline: 2px solid var(--wk-icon-muted);
    outline-offset: 1px;
}

/* 选中态 — 白色背景 + 浅阴影 */
.wk-sidebar-tabbar__btn--active {
    background: var(--wk-color-white);
    color: var(--wk-text-strong);
    box-shadow: var(--wk-shadow-sm);
}

.wk-sidebar-tabbar__btn--active:hover {
    color: var(--wk-text-strong);
}

/* Tab 文字 */
.wk-sidebar-tabbar__label {
    flex-shrink: 0;
}

/* 未读 Badge — 设计稿: 淡红底红字 */
.wk-sidebar-tabbar__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    background: var(--wk-badge-danger-bg);
    color: var(--wk-badge-danger-text);
    font-size: var(--wk-text-size-tiny);
    font-weight: 600;
    font-family: var(--wk-font-sans);
    border-radius: var(--wk-r-md);
    flex-shrink: 0;
    line-height: 1;
}
