﻿/* 全局变量 */
:root {
    --primary-color: #4e8cbb;
    --primary-dark: #3a7cb2;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-color: #f5f5f5;
    --border-color: #e6d8b6;
    --hover-color: #b89b5b;
    --section-bg: #f9f6ec;
    --card-shadow: 0 2px 12px rgba(180,160,100,0.10);
    --gradient-bg: linear-gradient(135deg, #f9f6ec 0%, #f3e9d7 100%);
}

/* 主体内容区域样式 */
.g-main {
    background: var(--section-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 左右布局 */
.content-wrapper {
    display: flex;
    gap: 5px;
    align-items: flex-start;
}

.content-main {
    flex: 1;
    min-width: 0; /* 防止flex子项溢出 */
}

.content-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* 内容区域 */
.m-content {
    background: var(--gradient-bg);
    border: 1px solid var(--border-color);
    padding: 1px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

/* 作者资料区域 */
.author-profile {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding: 5px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.author-profile:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}



.author-basic-info {
    flex: 1;
    min-width: 0;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.author-name {
    font-size: 26px; /* PC端字体调大 */
    color: #5a4321;
    margin: 0;
    font-weight: bold;
    line-height: 1.2;
    white-space: nowrap;
}

.author-stats {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

    .author-stats span {
        color: #666;
        font-size: 15px; /* PC端字体调大 */
        white-space: nowrap;
    }

        .author-stats span a {
            color: #666;
            text-decoration: none;
            transition: color 0.2s;
        }

            .author-stats span a:hover {
                color: #b89b5b;
            }

    .author-stats .dynasty {
        color: #b89b5b;
        font-weight: 600;
        font-size: 16px; /* PC端字体调大 */
        padding: 2px 8px;
        background: rgba(184, 155, 91, 0.1);
        border-radius: 4px;
    }

    .author-stats .hot-count {
        color: #999;
    }

        .author-stats .hot-count b {
            color: #999;
            font-weight: normal;
            margin-left: 2px;
        }

    .author-stats b {
        color: #b89b5b;
        font-weight: 600;
        margin-left: 2px;
    }

/* 作者简介区域 */
.author-introduction {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.author-introduction:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

    .author-introduction h2 {
        font-size: 18px;
        color: #5a4321;
        margin: 0 0 15px 0;
        padding-bottom: 10px;
        border-bottom: 2px solid #b89b5b;
        font-weight: bold;
        position: relative;
    }

        .author-introduction h2::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background: #b89b5b;
        }

.intro-content {
    line-height: 1.8;
    color: #666;
    font-size: 16px; /* PC端字体调大 */
}

/* 作者简介中的段落样式 */
.intro-content p {
    margin: 0 0 16px 0;
    line-height: 1.8;
    font-size: 16px; /* PC端字体大小 */
    color: #444;
    text-align: justify;
    text-indent: 2em; /* 段落首行缩进 */
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* 作者简介首段不缩进 */
.intro-content p:first-child {
    text-indent: 0;
    font-weight: 500;
    color: #333;
    font-size: 17px; /* 首段字体稍大一些 */
}

/* 作者简介中的链接样式 */
.intro-content p a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px dotted #3498db;
    transition: all 0.3s ease;
}

.intro-content p a:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
    background: rgba(52, 152, 219, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* 作者简介中的强调文本 */
.intro-content p strong,
.intro-content p b {
    color: #2c3e50;
    font-weight: 600;
}

/* 作者简介中的斜体文本 */
.intro-content p em,
.intro-content p i {
    color: #7f8c8d;
    font-style: italic;
}

/* 作者简介中的引用样式 */
.intro-content blockquote {
    margin: 16px 0;
    padding: 12px 20px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: #555;
}

.intro-content blockquote p {
    margin: 0;
    text-indent: 0;
}

/* 标签页样式 */
.info-tabs {
    margin-top: 32px;
    background: #fcfbf7;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(200,180,100,0.08);
    border: 1.5px solid #e6d8b6;
    padding: 0;
    overflow: hidden;
}

.info-tab-header {
    display: flex;
    background: linear-gradient(90deg, #e6d8b6 0%, #b89b5b 100%);
    border-bottom: 1.5px solid #e6d8b6;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 8px rgba(200,180,100,0.04);
}

    .info-tab-header .tab-btn {
        flex: 1;
        text-align: center;
        padding: 12px 0 10px 0;
        font-size: 16px;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
        font-weight: 500;
        outline: none;
        transition: background 0.2s, color 0.2s, box-shadow 0.2s;
        border-radius: 0;
        position: relative;
        letter-spacing: 1px;
        line-height: 1.2;
    }

        .info-tab-header .tab-btn.active {
            background: linear-gradient(90deg, #fffbe8 0%, #f9f6ec 100%);
            color: #7c5a1a;
            box-shadow: 0 4px 12px rgba(200,180,100,0.10);
            border-bottom: 3px solid #ffd36b;
            z-index: 2;
        }

        .info-tab-header .tab-btn:not(.active):hover {
            background: rgba(255,255,255,0.1);
            color: #fff;
        }

.info-tab-content {
    padding: 28px 24px 18px 24px;
    background: #fcfbf7;
    border-radius: 0 0 12px 12px;
    min-height: 120px;
}

.tab-panel {
    display: none;
}

    .tab-panel.active {
        display: block;
    }

    .tab-panel h3 {
        font-size: 18px;
        color: #5a4321;
        margin: 0 0 15px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #e6d8b6;
        font-weight: bold;
    }

.info-content {
    line-height: 1.8;
    color: #666;
    font-size: 14px;
}

/* 右侧边栏样式 */
.sidebar-block {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 5px;
    overflow: hidden;
}

.block-header {
    background: linear-gradient(90deg, #e6d8b6 0%, #b89b5b 100%);
    padding: 12px 20px;
    border-bottom: 1px solid #e6d8b6;
}

    .block-header h3 {
        color: #5a4321;
        font-size: 16px;
        margin: 0;
        font-weight: 600;
        letter-spacing: 1px;
    }

.block-content {
    padding: 5px 2px;
    background: #fcfbf7;
}

/* 相关作者推荐样式 */
.author-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.author-list li {
    background: #fff;
    border: 1px solid #e6d8b6;
    border-radius: 8px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(180,160,100,0.1);
}

.author-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180,160,100,0.2);
    border-color: #b89b5b;
}

.author-list li:last-child {
    border-bottom: 1px solid #e6d8b6;
}

.author-list a {
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    padding: 2px 15px;
    gap: 15px;
}

.author-list a:hover {
    color: #b89b5b;
    background: linear-gradient(135deg, #fcfbf7 0%, #f9f6ec 100%);
}

.author-list a:hover .author-avatar {
    border-color: #b89b5b;
}

.author-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.author-name {
    font-weight: 600;
    color: #333;
    font-size: 18px;
    white-space: nowrap;
    flex-shrink: 0;
    padding-left:15px;
}

.author-dynasty {
    font-size: 12px;
    color: #999;
    display: inline-block;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 热门作品推荐样式 - 参考gushi.aspx */
.hot-poetry {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e6d8b6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hot-poetry .block-header {
    background: linear-gradient(90deg, #e6d8b6 0%, #b89b5b 100%);
    border-bottom: 1px solid #e6d8b6;
    border-radius: 12px 12px 0 0;
}

.hot-poetry .block-header h3 {
    color: #5a4321;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.hot-poetry .block-content {
    padding: 15px 20px;
    background: #fff;
    border-radius: 0 0 12px 12px;
}

.hot-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #e6d8b6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hot-item:last-child {
    border-bottom: none;
}

.hot-item:hover {
    background: #f3e9d7;
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

.hot-rank-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.hot-item:nth-child(1) .hot-rank-circle {
    background: linear-gradient(135deg, #b89b5b, #8b6b4a);
}

.hot-item:nth-child(2) .hot-rank-circle {
    background: linear-gradient(135deg, #c0a97d, #9c8661);
}

.hot-item:nth-child(3) .hot-rank-circle {
    background: linear-gradient(135deg, #d4bc91, #b89b5b);
}

.hot-item:nth-child(n+4) .hot-rank-circle {
    background: linear-gradient(135deg, #d4caba, #b8aa96);
}

.hot-content {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hot-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.hot-title a {
    color: #5a4321;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-title a:hover {
    color: #8b6b4a;
}

.hot-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #8b6b4a;
    flex-shrink: 0;
}

.hot-views {
    color: #6d5b3b;
    font-weight: 500;
    background: #f3e9d7;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    border: 1px solid #e6d8b6;
}

/* 懒加载图片样式 */
.lazy-load {
    transition: opacity 0.3s ease;
}

.lazy-loading {
    opacity: 0.6;
    background: #f0f0f0;
}

.lazy-loaded {
    opacity: 1;
}

.lazy-error {
    opacity: 0.5;
    background: #f5f5f5;
}

/* 古诗列表样式 */
.poem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .poem-list li {
        padding: 10px 0;
        border-bottom: 1px dashed #e6d8b6;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .poem-list li:last-child {
            border-bottom: none;
        }

    .poem-list a {
        color: #666;
        text-decoration: none;
        transition: color 0.2s;
        font-size: 14px;
        line-height: 1.6;
        flex: 1;
        margin-right: 10px;
    }

        .poem-list a:hover {
            color: #b89b5b;
        }

/* 名句列表样式 */
.quote-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .quote-list li {
        padding: 12px 0;
        border-bottom: 1px dashed #e6d8b6;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

        .quote-list li:last-child {
            border-bottom: none;
        }

    .quote-list a {
        color: #666;
        text-decoration: none;
        transition: color 0.2s;
        font-size: 14px;
        line-height: 1.8;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .quote-list a:hover {
            color: #b89b5b;
        }

.item-hot {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

    .item-hot b {
        color: #999;
        font-weight: normal;
        margin-left: 2px;
    }

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .g-main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        max-width: none !important;
    }
    
    .content-wrapper {
        flex-direction: column;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .content-sidebar {
        width: 100%;
    }
    
    .content-main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

 

    .block-header {
        padding: 5px 15px;
    }

        .block-header h3 {
            font-size: 15px;
        }

  

    /* 平板端相关诗人样式 */
    .author-list {
        gap: 10px;
    }
    
    .author-list a {
        padding: 13px;
        font-size: 13px;
    }
    
    /* 平板端主头像 */
    .author-profile .author-avatar {
        width: 70px;
        height: 70px;
    }
    
    /* 平板端相关诗人头像 */
    .author-list .author-avatar {
        width: 45px;
        height: 45px;
    }
    
    .author-info {
        gap: 6px;
    }
    
    .author-name {
        font-size: 14px;
    }
    
    .author-dynasty {
        font-size: 11px;
    }
    
    /* 平板端热门作品样式 */
    .hot-item {
        padding: 10px 0;
    }
    
    .hot-rank-circle {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .hot-title {
        font-size: 13px;
    }

    .poem-list li,
    .quote-list li {
        padding: 8px 0;
    }

    .poem-list a,
    .quote-list a {
        font-size: 13px;
    }

    .m-content {
        margin: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #ddd !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .content-header .title {
        font-size: 24px;
    }

    .author-profile {
        flex-direction: column;
        text-align: center;
        margin: 0 !important;
        padding: 15px !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #ddd !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

   

    .author-header {
        flex-direction: column;
        gap: 10px;
    }

    .author-stats {
        justify-content: center;
    }

    .author-name {
        font-size: 20px; /* 移动端保持较小字体 */
    }

    .author-stats span {
        font-size: 16px; /* 移动端保持较小字体 */
    }

    .author-stats .dynasty {
        font-size: 16px; /* 移动端保持较小字体 */
    }

    .info-tab-header {
        border-radius: 8px 8px 0 0;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        position: relative;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .info-tab-header::-webkit-scrollbar {
        display: none;
    }

    .info-tab-header .tab-btn {
        flex: 0 0 auto;
        min-width: 100px;
        padding: 10px 8px 8px 8px;
        font-size: 13px;
        letter-spacing: 0;
        white-space: nowrap;
        border-radius: 0;
    }

    .info-tab-content {
        padding: 14px 8px 8px 8px;
        min-height: 60px;
    }

    .author-introduction {
        margin: 0 !important;
        padding: 15px !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #ddd !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .author-introduction h2 {
        font-size: 16px;
        padding-bottom: 8px;
    }

    .intro-content {
        font-size: 13px;
    }

    /* 移动端作者简介段落样式 */
    .intro-content p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 14px;
        text-indent: 1.5em; /* 移动端缩进稍小 */
    }

    .intro-content p:first-child {
        text-indent: 0;
        font-size: 16px;
    }

    /* 移动端作者简介引用样式 */
    .intro-content blockquote {
        margin: 12px 0;
        padding: 10px 16px;
        font-size: 16px;
    }

    .item-hot {
        font-size: 11px;
    }

    .tab-panel h3 {
        font-size: 16px;
    }

    .info-content {
        font-size: 13px;
    }

    .info-tabs h2 {
        font-size: 16px;
        padding-bottom: 5px;
        margin: 10px;
    }
}

/* ================== 卡片式布局样式 ================== */
/* 卡片式布局主容器 */
.info-cards {
    margin-top: 3px;
}

.info-cards-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* 卡片基础样式 */
.info-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* 卡片头部 */
.card-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

/* 卡片内容 */
.card-content {
    padding: 20px;
}

.expand-content {
    line-height: 1.6;
    color: #333;
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

/* 卡片内容中的段落样式 */
.card-content p,
.expand-content p {
    margin: 0 0 16px 0;
    line-height: 1.8;
    font-size: 16px; /* PC端字体调大 */
    color: #444;
    text-align: justify;
    text-indent: 2em; /* 段落首行缩进 */
}

.card-content p:last-child,
.expand-content p:last-child {
    margin-bottom: 0;
}

/* 首段不缩进 */
.card-content p:first-child,
.expand-content p:first-child {
    text-indent: 0;
    font-weight: 500;
    color: #333;
    font-size: 17px; /* 首段字体稍大一些 */
}

/* 段落中的链接样式 */
.card-content p a,
.expand-content p a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px dotted #3498db;
    transition: all 0.3s ease;
}

.card-content p a:hover,
.expand-content p a:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
    background: rgba(52, 152, 219, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* 段落中的强调文本 */
.card-content p strong,
.expand-content p strong,
.card-content p b,
.expand-content p b {
    color: #2c3e50;
    font-weight: 600;
}

/* 段落中的斜体文本 */
.card-content p em,
.expand-content p em,
.card-content p i,
.expand-content p i {
    color: #7f8c8d;
    font-style: italic;
}

/* 引用样式 */
.card-content blockquote,
.expand-content blockquote {
    margin: 16px 0;
    padding: 12px 20px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: #555;
}

.card-content blockquote p,
.expand-content blockquote p {
    margin: 0;
    text-indent: 0;
}

.expand-content.expanded {
    max-height: none;
}

.expand-content.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.9));
}

/* 卡片操作按钮 */
.card-actions {
    margin-top: 15px;
    text-align: right;
}

.expand-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.expand-btn:hover {
    background: #2980b9;
}

/* 默认卡片样式 */
.default-card .card-content {
    background: #f8f9fa;
}

/* 作者统计详情 */
.author-stats-detail {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    min-width: 150px;
}

.stat-label {
    color: #666;
    margin-right: 5px;
}

.stat-value {
    font-weight: 600;
    color: #2c3e50;
}

/* 错误卡片样式 */
.error-card {
    border-color: #e74c3c;
}

.error-card .card-header {
    background: linear-gradient(135deg, #fdedec 0%, #f1948a 100%);
}

/* 响应式设计 - 卡片样式 */
@media (max-width: 768px) {
    .info-cards-container {
        gap: 2px;
    }
    
    .card-header {
        padding: 12px 16px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-content {
        padding: 16px;
    }
    
    .author-stats-detail {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    /* 移动端段落样式优化 */
    .card-content p,
    .expand-content p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 14px;
        text-indent: 1.5em; /* 移动端缩进稍小 */
    }
    
    .card-content p:first-child,
    .expand-content p:first-child {
        text-indent: 0;
        font-size: 16px;
    }
    
    /* 移动端引用样式 */
    .card-content blockquote,
    .expand-content blockquote {
        margin: 12px 0;
        padding: 10px 16px;
        font-size: 16px;
    }
}

/* 更小屏幕无边距设计 */
@media screen and (max-width: 480px) {
    .g-main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        max-width: none !important;
    }
    
    .content-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .content-main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .m-content {
        margin: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #ddd !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .author-profile {
        margin: 0 !important;
        padding: 10px !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #ddd !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* 移动端相关诗人样式优化 */
    .author-list {
        gap: 2px;
    }
    
    .author-list li {
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(180,160,100,0.1);
    }
    
    .author-list li:hover {
        transform: none; /* 移动端不需要悬浮效果 */
    }
    
    .author-list a {
        padding: 12px;
        font-size: 13px;
    }
    
    /* 移动端主头像 */
    .author-profile .author-avatar {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }
    
    /* 移动端相关诗人头像 */
    .author-list .author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .author-info {
        gap: 4px;
    }
    
    .author-name {
        font-size: 16px;
    }
    
    .author-dynasty {
        font-size: 13px;
        padding: 1px 6px;
    }
    
    /* 移动端热门作品样式 */
    .hot-item {
        padding: 8px 0;
    }
    
    .hot-item:hover {
        background: transparent;
        border-radius: 0;
        padding-left: 0;
        padding-right: 0;
    }
    
    .hot-rank-circle {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .hot-title {
        font-size: 14px;
    }
    
    .hot-views {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .author-introduction {
        margin: 0 !important;
        padding: 10px !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #ddd !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .info-cards-container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .info-card {
        margin: 0 0 1px 0 !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #ddd !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* 作者主头像样式 - 页面顶部 */
.author-profile .author-avatar {
    width: 80px;
    height: 80px;
    margin-right: 0px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e6d8b6;
   margin-bottom:10px;
}

.author-profile .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e6d8b6;
}

/* 相关诗人头像样式 - 侧边栏 */
.author-list .author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e6d8b6;
    transition: border-color 0.2s;
}

.author-list .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}