body {
    font-family: var(--font-family);
    color: var(--text-color) !important;
    background-color: var(--bg-color) !important;
    line-height: 1.6;
}

/* 主容器样式 */
.main-container {
    margin-top: var(--header-height);
    padding: 20px;
    display: grid;
    grid-template-columns: 80px 1fr var(--sidebar-width);
    gap: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: var(--link-color) !important;
}


/* 左侧边栏样式 */
.left-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: 380px;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px var(--shadow-color);
    display: flex;
    justify-content: center;
}
/* 主内容区 */
.content {
    width: 100%;
    overflow: auto;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px var(--shadow-color);
}

#artContent {
    margin-top: 1rem;
}


.art_title {
    margin-bottom: 0;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--border-color);
}

.art_title_info {
    color: var(--text-primary);
    font-weight: bold;
    font-size: 26px;
}
i {
    display: inline-block;
}

.art_info_item {
    font-size: 12px;
    display: flex;
    gap: 2px;
    align-items: center;
    color: var(--text-secondary);
}

.art_info_items {
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
}

/* 右侧边栏样式 */
.right-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: calc(100vh - var(--header-height) - 40px);
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px var(--shadow-color);
}


.aside-footer {
    width: 100%;
    height: auto;
    font-size: 12px;
    color: var(--text-color3);
}

.comment-title {
    width: 100%;
    font-size: 24px;
    font-weight: bold;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    color: var(--text-primary);
}


.operate-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.operate-item {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.operate-item > .icon {
    width: 32px;
    height: 32px;
}

.operate-item > .icon:hover {
    cursor: pointer;
}

.operate-item > .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--error);
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
}
.comment-title h3 {
    position: relative;
    display: inline-block;
}

.comment-title h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    border-radius: 3px;
}
