.gt-author-page {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.gt-author-header {
    position: relative;
    border-radius: var(--gt-main-radius);
    box-shadow: var(--gt-box-shadow);
    overflow: hidden;
    min-height: clamp(280px, 35vw, 380px);
}

.gt-author-cover {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gt-author-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gt-author-cover-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.gt-author-header-content {
    position: relative;
    z-index: 2;
    padding: 1rem 1.6rem 1.2rem;
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    min-height: clamp(280px, 35vw, 380px);
}

.gt-author-header-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--gt-main-radius);
    padding: 1.2rem 1.5rem;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gt-author-avatar-wrap {
    margin-top: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid var(--gt-card-bg);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    background: var(--gt-body-bg);
}

.gt-author-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gt-author-main {
    flex: 1;
    min-width: 0;
}

.gt-author-name {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gt-font-color);
}

.gt-author-desc {
    margin: 0;
    padding: 0;
    color: var(--gt-font-56);
    line-height: 1.2;
    font-size: 0.9rem;
}

.gt-author-meta-line {
    margin-top: 0.7rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: var(--gt-font-56);
    font-size: 0.88rem;
}

.gt-author-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gt-author-meta-item i {
    font-size: 1em;
    flex-shrink: 0
}

.gt-author-header-btns {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.58rem;
    flex-wrap: wrap;
}

.gt-author-header-btns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    padding: 0 0.84rem;
    border-radius: 999px;
    background: var(--gt-main-color-10);
    color: var(--gt-main-color);
    font-size: 0.84rem;
    transition: all 0.2s ease;
}

.gt-author-header-btns a:hover {
    background: var(--gt-main-color);
    color: #fff;
}

.gt-author-posts {
    background: var(--gt-card-bg);
    border-radius: var(--gt-main-radius);
    box-shadow: var(--gt-box-shadow);
    overflow: hidden;
    padding: 1rem;
}

.gt-author-posts .article-list {
    margin-top: 0;
}

@media (max-width: 900px) {
    .gt-author-header {
        min-height: 260px;
    }

    .gt-author-header-content {
        padding: 0.86rem 1rem 1rem;
        min-height: 260px;
    }

    .gt-author-header-info {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .gt-author-avatar-wrap {
        width: 80px;
        height: 80px;
        border-radius: 12px;
        border-width: 3px;
    }

    .gt-author-header-btns {
        margin-left: auto;
    }

    .gt-author-name {
        font-size: 1.22rem;
    }
}

@media (max-width: 640px) {
    .gt-author-header {
        min-height: 240px;
    }

    .gt-author-header-content {
        min-height: 240px;
        padding: 0.75rem;
    }

    .gt-author-header-info {
        padding: 0.86rem;
    }

    .gt-author-avatar-wrap {
        width: 70px;
        height: 70px;
    }

    .gt-author-header-btns {
        width: 100%;
        margin-top: 0.62rem;
        margin-left: 0;
        justify-content: flex-start;
    }

    .gt-author-meta-line {
        margin-top: 0.52rem;
    }

    .gt-author-posts {
        padding: 0.82rem;
    }
}

/* 深色模式适配 */
[data-theme="dark"] .gt-author-header-info {
    background: rgba(30, 30, 35, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .gt-author-avatar-wrap {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .gt-author-header-btns a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gt-main-color);
}
