/* 全局样式 */
h1 {
    display: none;
}

div#page {
    background: none !important;
    box-shadow: none;
    padding: 0;
    border: none;
}

/* 评论页面容器 */
#comments-page {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    margin-top: 1.5rem;
    justify-content: center;
}

/* 评论卡片基础样式 */
.comment-card {
    position: relative;
    width: calc(100% / 4 - 9px);
    border-radius: 12px;
    border: 1px solid var(--anzhiyu-card-border);
    padding: 14px;
    overflow: hidden;
    box-shadow: var(--anzhiyu-shadow-border);
    animation: slide-in .6s .4s backwards;
    background-color: var(--anzhiyu-card-bg);
    transition: all .3s ease-in-out;
}

.comment-card:hover {
    border: 1px solid var(--anzhiyu-main);
}

/* 评论信息区域 */
.comment-info {
    padding-bottom: 5px;
    border-bottom: 2px dashed var(--anzhiyu-theme-op);
}

.comment-information {
    display: flex;
    flex-direction: column;
}

.comment-user {
    font-weight: bold;
}

.comment-time {
    font-size: 12px;
    color: var(--anzhiyu-secondtext);
}

/* 评论内容 */
.comment-content {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding-top: 5px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* 头像样式 */
.avatar-wrapper {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.4;
    transition: all 0.3s ease-in-out;
    filter: blur(3px);
    background-size: cover;
    background-position: center;
}

.comment-card:hover .avatar-wrapper {
    transform: translateY(-50%) scale(1.1);
    opacity: 0.6;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .comment-card {
        width: calc(100% / 2 - 6px);
    }
}

@media (max-width: 768px) {
    .comment-card {
        width: 100%;
    }
    .banner-button-group {
        display: none;
    }
}
