/* 燕子模板：顶栏 logo 链（无 h1，避免与首页大标题重复） */
.site-brand .site-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    line-height: 1.2;
}
.site-brand .site-brand-link:hover {
    color: #1989fa;
}
.site-brand .site-brand-link img {
    display: block;
    border-radius: 3px;
}

/* 燕子模板首页：软件 + 工具（顶栏已含站名，主区不再重复大标题） */
.yanzi-portal {
    padding: 12px 0 40px;
    box-sizing: border-box;
}
.yanzi-portal-section {
    margin-top: 28px;
}
.yanzi-portal-section:first-of-type {
    margin-top: 0;
}
.yanzi-portal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: none;
}
.yanzi-portal-head::after {
    content: '';
    flex: 1 0 100%;
    order: 1;
    height: 2px;
    margin-top: 12px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        #1989fa 0,
        rgba(25, 137, 250, 0.35) min(28%, 120px),
        #e8edf3 min(28%, 120px),
        #e8edf3 100%
    );
}
.yanzi-portal-head .tool-page-title {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
    order: 0;
}
.yanzi-portal-head .yanzi-portal-more {
    order: 0;
}
.yanzi-portal-more {
    font-size: 13px;
    font-weight: 500;
    color: #1989fa;
    text-decoration: none;
    white-space: nowrap;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(25, 137, 250, 0.08);
    border: 1px solid rgba(25, 137, 250, 0.22);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.yanzi-portal-more:hover {
    color: #0d7ce8;
    background: rgba(25, 137, 250, 0.14);
    border-color: rgba(25, 137, 250, 0.35);
    text-decoration: none;
}
.yanzi-portal-empty {
    color: #999;
    padding: 24px 0;
    text-align: center;
    margin: 0;
}
