/* 基础重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f5f7;
    color: #222;
    line-height: 1.5;
}
/* 基础样式 */
.bookmark-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 4px #3e65e4 solid;
    padding-top: 10px;
}

.bookmark-item {
    width: 40%;
    padding: 10px ;
    background-color: #f0f0f0;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s ease;
    border: 1px solid #ccc;
    border-bottom: none;
    text-align: center;
}

/* 选中状态的样式 */
.bookmark-item.active {
    background-color: #3e65e4;
    color: white;
    font-weight: bold;

    text-align: center;
}

/* 内容区域 */
.content-area {
    padding: 20px;
    border: 1px solid #ccc;
    display: none; /* 默认隐藏 */
}

.content-area.active {
    display: block; /* 激活时显示 */
}

/* 读书评论内容 */
/* 容器 */
.container {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    min-height: 100px;
    height: auto !important;
    padding-bottom: 10px;
}

/* 头部统计 */
.header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header strong {
    color: #222;
    font-size: 16px;
}

.sort-btn {
    color: #333;
    font-size: 13px;
    cursor: pointer;
}

/* 评论项 */
.comment-item {
    padding: 15px;
    border-bottom: 3px solid #f0f0f0;
    position: relative;
}

.comment-item:last-child {
    border-bottom: none;
}

/* 用户信息行 */
.user-row {
    display: flex;

    align-items: center;
    margin-bottom: 8px;
	
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    background: #eee;

}

.username {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-right: 8px;

}

.vip-icon {
    color: #ffcd00;
    font-size: 12px;
    margin-right: 5px;

}

/* 模拟VIP标识 */
.time {
    font-size: 12px;
    color: #999;
	
}

/* 评论内容 */
.content {
    font-size: 15px;
    color: #222;
    margin-bottom: 5px;
    word-wrap: break-word;
	background-color:#f4f5f7;
	padding:6px;
}

.content a {
    color: #3b82f6;
    text-decoration: none;
}

/* 操作栏 */
.actions {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #999;
    gap: 20px;

}

.action-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
    user-select: none;
	
	color:#000;
	padding:2px;



}



.action-btn:hover {
    color: #3b82f6;
	
}

.liked {
    color: #3b82f6 !important;
	border:1px #f00 solid;
}

/* 盖楼区域 (子评论) */
.replies-container {
    margin-top: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    padding: 10px;
    border: 1px solid #eee;

}

.reply-item {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;

   

}

.reply-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
	

}

.reply-item:first-child {
    padding-top: 0;


}

.reply-name {
    color: #3b82f6;
    font-weight: 500;
    cursor: pointer;
}

.reply-text {
    color: #222;
    margin-left: 4px;
}

.reply-meta {
    margin-left: auto;
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;

}

/* 底部输入框 */
.bottom-bar {
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 90%;
    margin: 0 auto;
    z-index: 100;
	
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.comment-input {
    width: 100%;
    background: #f4f5f7;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
}

.send-btn {
    color: #3b82f6;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s;
}

.send-btn.active {
    opacity: 1;
    pointer-events: auto;
}

/* 回复提示条 */
.reply-hint {
    display: none;
    background: #eef2ff;
    color: #3b82f6;
    padding: 8px 15px;
    font-size: 13px;
    justify-content: space-between;
    align-items: center;

}

.reply-hint.show {
    display: flex;
	
}

.close-hint {
    cursor: pointer;
    font-weight: bold;
}

.dushu_sousuo{
    background: #F3F3F5; border: none; width:95%;border-radius: 4px;
    outline: none;
    box-shadow: 0px 0px 0px 0px;
    height: 35px;
    display: block;
    margin: 0 auto;
    text-indent: 15px;
    padding: 1px 1px 2px 1px; margin-top: 8px;
}



/* 消息进程体现 */
.dn {
    display: none;
}

.shichanglb {
    width: 92%;
    min-height: 30px;
    height: auto !important;
    border-left: 1px #d6d6d6 solid;
    margin: 0 auto;
	
}

.dian_sty {
    border: none;
    min-height: 10px;
}

.shichanglb_left {
    width: 90%;
    min-height: 30px;
    height: auto !important;
    margin-left: 20px;
    font-family: "微软雅黑";
    font-size: 13px;
    padding: 10px;
    color: gray;
}

.shichanglb_left span {
    color: gray;
}

.shichanglb_left a:hover {
    color: #000;
}

.shichanglb_rq {
    width: 90%;
    min-height: 30px;
    height: auto !important;
    margin-left: 20px;
    font-family: "微软雅黑";
    font-size: 15px;
    color: #bebebe;
    margin-top: 10px;
}

.kandian {
    width: 10px;
    height: 10px;
    background: #406dd4;
    border-radius: 30px;
    margin-left: 0px;
}

.wenti {
    width: 95%;
    height: auto !important;
    min-height: 25px;
    line-height: 25px;
    margin: 0px auto;
    font-size: 14px;
}

.beiwang {
    width: 95%;
    text-align: left;
    height: 30px;
    line-height: 30px;
    margin: 0px auto;
    font-size: 14px;
}

.wenti span, .beiwang span {
    font-weight: bold;
}

.txt_div{
    min-height: 50px; width: 100%; height: auto !important; text-align: center;
}
.txt_div textarea{
    font-size: 14px;
    padding: 8px;
}
.tijiao{
    text-align: center; min-height: 50px; margin-top: 10px;
}
.tijiao input{
    height: 30px; padding: 5px 10px; background: #2e6fdb; color: white; border: none; margin: 0px 8px; border-radius: 5px;
}
.kong{
    height: 25px;
    border-bottom: 8px #ededed dotted;
    margin-bottom: 15px;
}
.emotion {
    width: 15%;
    height: 15%;
}

.emotion img {
    width: 25px;
    height: 25px;
}
