﻿/* wode.css - 古诗文网 我的 页面样式 */

/* 主容器：居中 + 固定高度 */
#mainSearch1 {
    width: 1210px;
    height: 100%;
    display: flex; /* 启用弹性布局 */
    justify-content: flex-start; /* ✅ 从左侧开始排列子元素 */
    align-items: flex-start; /* 垂直方向顶部对齐 */
    box-sizing: border-box;
    overflow-y: hidden;
    overflow-x: hidden;
    box-sizing: border-box;
    gap: 25px;
    margin: 0 auto;
}

.left_wode {
    width: 300px;
    height: 856px;
    padding: 0;
    margin: 0;
}
/* ========== 账户信息容器：整体布局 ========== */
.zhanghao {
    width: 300px;
    height: 108px;
    display: flex;
    align-items: flex-start; /* 顶部对齐，避免垂直居中 */
    gap: 10px;
    background: #F0EFE2;
    border-radius: 4px 4px 4px 4px;
}
    .zhanghao a {
        font-weight: 400;
        font-size: 12px;
        color: #999999;
    }

/* 左侧图标 */
.zhanghao-icon img {
    width: 18px;
    height: auto;
    vertical-align: middle;
}

/* 右侧文字区域 */
.zhanghao-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.6;
}



.zhanghaoDetail {
    width: 300px;
    height: 592px;
    background: #F0EFE2;
    border-radius: 4px 4px 4px 4px;
}
    /* 每一行菜单项 */
    .zhanghaoDetail .line {
        margin-left:20px;
        height: 84px;
        display: flex;
        align-items: center; /* 垂直居中 */
        box-sizing: border-box;
        font-size: 18px;
        color: #0F0F0F;
        position: relative;
        z-index: 1;
    }
        .zhanghaoDetail .line span {
            margin-left: 6px;
        }
        .zhanghaoDetail .line img {
            width: 22px;
            height: 22px;
            vertical-align: middle;
        }
        /* 每个 .line 之间的分隔线 */
        .zhanghaoDetail .line + .line::before {
            content: "";
            position: absolute;
            top: 0;
            left:0px;
            width: 260px;
            height: 0px;
            border: 1px solid #DAD9D1;
            color: #DAD9D1;
            z-index: 0;
        }
        .zhanghaoDetail .line a {
            margin-left: auto; /* 把 a 推到最右边 */
            padding-right: 21px; /* 右侧留出 10% 的空白 */
            font-weight: 400;
            text-align: right;
            color: #999999;
            line-height: 18px;
            text-decoration: none;
            font-size: 14px;
            text-align: left;
        }
.zhanghaoDetail_arrow {
    margin-left: 7px;
    width: 6px;
    height: 12px;
    color: #999999;
}
.left_wode .downloadAPP {
    width: 100%;
    height: 116px;
    background: #F0EFE2;
    display: flex;
}

    /* 图片样式 */
    .left_wode .downloadAPP img {
        margin-top:18px;
        margin-left:20px;
        width: 80px;
        height: 80px;
        background: #FFFFFF;
        border-radius: 0px 0px 0px 0px;
    }

    /* 文字区域 */
    .left_wode .downloadAPP .text-group {
        display: flex;
        flex-direction: column;
    }
        .left_wode .downloadAPP .text-group .downloadAPP1 {
            width: 126px;
            height: 24px;
            font-weight: 700;
            font-size: 18px;
            color: #0F0F0F;
            line-height: 24px;
            text-align: left;
            font-style: normal;
            text-transform: none;
            margin-top:18px;
            margin-left:23px;
        }
        .left_wode .downloadAPP .text-group .downloadAPP2 {
            width: 70px;
            height: 18px;
            font-weight: 400;
            font-size: 14px;
            color: #0F0F0F;
            line-height: 18px;
            text-align: justify;
            font-style: normal;
            text-transform: none;
            margin-top: 13px;
            margin-left: 23px;
        }
        .left_wode .downloadAPP .text-group .downloadAPP3 {
            width: 120px;
            height: 13px;
            font-size: 10px;
            color: #666666;
            line-height: 13px;
            margin-top: 12px;
            margin-left: 23px;
        }

.right_wode {
    width: 882px;
    min-height: 872px; /* 最小高度  */
    box-sizing: border-box;
    position: relative;
    border-radius: 0px 0px 0px 0px;
    background: #F0EFE2;
}
.wodeshoucang {
    background: #F0EFE2;
}
    
    .wodeshoucang .wodeshoucang_biaoti {
        width: 72px;
        height: 24px;
        font-size: 18px;
        color: #5D6146;
        margin-top: 20px;
        margin-left: 20px;
    }
    .wodeshoucang .wodeshoucang_xuanze {
        height: 52px;
        width:882px;
        margin-top: 24px;
        margin-left: 20px;
        display: flex;
        gap:20px;
    }
    .wodeshoucang .weixuanze a {
        text-decoration: none; /* 去掉下划线 */
        color: inherit; /* 继承父级颜色（而不是蓝色） */
        display: block; /* 让 a 占满 div，便于点击 */
    }
    .wodeshoucang .wodeshoucang_xuanze .sort-group {
        width: 118px;
        height: 18px;
        line-height: 18px;
        text-align: left;
        font-size: 14px;
        font-style: normal;
        margin-left: 440px;
        white-space: nowrap;
    }
        .wodeshoucang .wodeshoucang_xuanze .sort-group .weisort {
            color: #979797;
        }
        .wodeshoucang .wodeshoucang_xuanze .xuanze {
            width: 52px;
            height: 28px;
            background-color: #5D6146;
            border-radius: 16px 16px 16px 16px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .wodeshoucang .wodeshoucang_xuanze .xuanzewenzi {
            width: 28px;
            height: 24px;
            color: #FFFFFF;
            font-size: 14px;
            text-align: center;
        }
    .wodeshoucang .wodeshoucang_xuanze .weixuanze {
        width: 52px;
        height: 28px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #E9E8DC;
        border-radius: 16px 16px 16px 16px;
    }
    .wodeshoucang .wodeshoucang_xuanze .weixuanzewenzi {
        width: 28px;
        height: 24px;
        color: #666666;
        font-size: 14px;
        text-align: center;
    }

.divider-container {
    margin-top: 10px;
    margin-left: 20px;
    position: relative;
    height: 2px;
}

/* 灰色长线 */
.line-gray {
    margin-top: 10px;
    width: 842px;
    height: 0;
    border-top: 1px dashed #DAD9D1;
}

/* 黑绿色短实线（叠加在灰线上） */
.line-highlight {
    position: absolute;
    top: -1px; /* 微调垂直位置，确保叠加 */
    width: 72px;
    height: 2px;
    background: #5D6146;
    border-radius: 0;
}
.wodeshoucang .shoucangContent {
    width: 100%;
    min-height:760px;
}
    .wodeshoucang .shoucangContent .contentLine {
        padding-bottom:30px;
        width: 862px;
        margin-left: 20px;
        display: flex;
    }
        .wodeshoucang .shoucangContent .contentLine a {
            font-size: 16px;
            color: #19537D;
            line-height: 21px;
            text-align: left;
            text-decoration: none;
        }
        .wodeshoucang .shoucangContent .contentLine .like-col {
            height: 16px;
            width: 16px;
            margin-left: auto;
            margin-right: 20px;
        }
.sons {
    padding: 0 10px;
    margin-top: 0px;
}
    /* 所有收藏列表项统一布局 */
    .sons .cont,
    .sonspic .cont {
        display: flex;
        align-items: center; /* 垂直居中 */
        justify-content: flex-start; /* 左对齐内容 */
        padding: 6px 0;
        min-height: 0px;
        border-bottom: 1px dashed #DAD9D1;
    }

        /* 最后一项去掉下划线 */
        .sons .cont:last-child,
        .sonspic .cont:last-child {
            border-bottom: none;
        }

        /* 左侧文字区域（自动占满剩余空间） */
        .sons .cont .text,
        .sonspic .cont .text {
            flex: 1;
            overflow: hidden;
            margin-right: 10px;
        }

            .sons .cont .text a,
            .sonspic .cont .text a {
                font-size: 16px;
                color: #007acc;
                text-decoration: none;
                max-width: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .sons .cont .text span,
            .sonspic .cont .text span {
                color: #65645F;
                flex-shrink: 0;
            }
            /* 名句中的分隔符和出处 */
            .sons .cont .text .sep {
                color: #aaa;
                font-size: 14px;
                margin: 0 8px;
                flex-shrink: 0;
            }

            .sons .cont .text .source {
                font-size: 13px; /* 比主标题小 */
                color: #777; /* 浅灰色，比 #65645F 更淡 */
                text-decoration: none;
            }

                .sons .cont .text .source a,
                .sons .cont .text .source {
                    color: #777;
                    text-decoration: none;
                }

                    .sons .cont .text .source a:hover {
                        color: #007acc;
                        text-decoration: underline;
                    }


        /* 🔥 关键：右侧图标区域 —— 固定宽度 + 右对齐 */
        .sons .cont .like-col {
            width: 60px; /* 固定宽度，所有行一致 */
            display: flex;
            justify-content: flex-end; /* 内容靠右 */
            align-items: center; /* 垂直居中 */
            flex-shrink: 0; /* 禁止压缩 */
            margin-left: auto; /* 推到最右边 */
        }
        /* ========== 作者头像样式 ========== */
        .sonspic .cont .divimg {
            /* 替换旧的 float 和大尺寸 */
            width: 44px;
            height: 44px;
            margin-left:10px;
            margin-right: 10px; /* 图片与文字之间 5px 间距 */
            flex-shrink: 0; /* 不压缩 */
            border-radius: 50%; /* 圆形裁剪 */
            overflow: hidden; /* 防止超出圆角 */
        }
        .sonspic .cont .like-col {
            width: 60px; /* 固定宽度，所有行一致 */
            display: flex;
            justify-content: flex-end; /* 内容靠右 */
            align-items: center; /* 垂直居中 */
            flex-shrink: 0; /* 禁止压缩 */
            margin-left: auto; /* 推到最右边 */
            margin-right:10px;
        }

            .sonspic .cont .divimg img {
                width: 100%;
                height: 100%;
                object-fit: cover; /* 图片居中裁剪填满 */
                border-radius: 50%;
                vertical-align: middle;
            }

        /* ========== 作者名字样式 ========== */
        .sonspic .cont a[target="_blank"] {
            font-size: 12px !important; /* 比原来 18px 更小，统一视觉层级 */
            color: #007acc;
            text-decoration: none;
            margin-top: 0; /* 移除 inline style 的 margin-top */
            align-self: center; /* 垂直居中 */
        }

        /* 防止其他规则影响 */
        .sonspic .cont a:hover {
            color: #005ea2;
            text-decoration: underline;
        }


.pagesright_wode {
    width: 100%;
    clear: both;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
    background-color: #E1E0C7;
    background: url(https://ziyuan.guwendao.net/siteimg/bcpic.png);
}

    .pagesright_wode a {
        float: right;
        background-color: #F0EFE2;
        text-align: center;
        font-size: 14px;
        border-radius: 0px 0px 0px 0px;
        line-height: 40px;
    }

        .pagesright_wode a:hover {
            color: #999999;
            text-decoration: none;
        }
    .pagesright_wode .shangyiye {
        float: left;
        width: 88%;
        height:40px;
        margin-left: 0px;
        margin-top: 0px;
        text-align: center;
    }

