/* 整合样式 */

/* 极简风格重置 */
:root {
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --spacing: .25rem;
    --font-family-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

/* 中英文混排优化 */
.contact-value, .subtitle, .article-content {
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.6;
}

/* 等宽字体样式 */
.mono {
    font-family: var(--font-mono);
}

code {
    font-family: var(--font-mono);
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

pre {
    font-family: var(--font-mono);
    background-color: rgba(0, 0, 0, 0.05);
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word;
}

pre code {
    background-color: transparent;
    padding: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 首页样式 */
body {
    font-family: var(--font-family-sans);
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    padding: calc(var(--spacing) * 25) 0;
    margin: 0;
    position: relative;
}


.container {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.profile {
    text-align: left;
}

.name {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 8px;
    color: #000000;
    font-family: var(--font-family-cn);
    letter-spacing: 1px;
}

.title {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin-bottom: 30px;
}

.bio {
    margin-top: 30px;
    margin-bottom: 40px;
}

.bio h1 {
    font-size: 20px;
    font-weight: 350;
    margin-bottom: 16px;
    color: #333333;
}

.bio h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #555555;
    line-height: 1.6;
}

.bio p {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.contact {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 12px;
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 12px 20px;
    border-radius: 8px;
}

.contact-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 22px;
    margin-right: 15px;
    color: #000000;
}

.contact-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-label {
    font-size: 12px;
    color: #888888;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 16px;
    color: #000000;
    font-weight: 500;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

.social {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: #666666;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 10px;
    border-radius: 8px;
}

.social-link:hover {
    color: #000000;
    background-color: rgba(0, 0, 0, 0.02);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 22px;
    margin-bottom: 5px;
}

/* 微信页面特有样式 */
body.wechat-page {
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #fafafa;
}

body.wechat-page .header {
    margin-bottom: 30px;
    text-align: left;
    position: relative;
}

body.wechat-page .subtitle {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-align: left;
}

body.wechat-page .subtitle-en {
    display: block;
    margin-bottom: 5px;
}

body.wechat-page .subtitle-cn {
    display: block;
}

body.wechat-page .back-link {
    display: inline-flex;
    align-items: center;
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.03);
}

body.wechat-page .back-link:hover {
    color: #000000;
    background-color: rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

body.wechat-page .back-link i {
    margin-right: 5px;
}

body.wechat-page .content {
    margin-bottom: 50px;
}

/* 文章列表样式 - 直接放在容器内 */
body.wechat-page .container > .article-item,
body.wechat-page .container > .intro-section {
    margin-bottom: 24px;
}

body.wechat-page .article-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

body.wechat-page .article-item {
    padding: 28px 0;
    border-radius: 0;
    background-color: transparent;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

body.wechat-page .article-item::before {
    display: none;
}

body.wechat-page .article-item:hover {
    transform: translateY(-3px);
}

body.wechat-page .article-date {
    font-size: 13px;
    color: #888888;
    margin-bottom: 12px;
    font-weight: 500;
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
}

body.wechat-page .article-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #000000;
    line-height: 1.4;
    transition: color 0.2s ease;
}

body.wechat-page .article-item:hover .article-title {
    color: #333333;
}

body.wechat-page .article-content {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
}

body.wechat-page .article-content p {
    margin-bottom: 16px;
}

body.wechat-page .article-content p:last-child {
    margin-bottom: 0;
}

body.wechat-page .footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

/* 内容分隔区域 */
.content-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    padding: 0 20px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: #f0f0f0;
}

.divider-text {
    margin: 0 15px;
    font-size: 14px;
    color: #888888;
    font-weight: 300;
    letter-spacing: 1px;
}

body.wechat-page .article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

body.wechat-page .tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    font-size: 12px;
    color: #666666;
    transition: all 0.2s ease;
}

body.wechat-page .tag:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333333;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* 文章加载动画 */
body.wechat-page .article-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

body.wechat-page .article-item:nth-child(1) {
    animation-delay: 0.1s;
}

body.wechat-page .article-item:nth-child(2) {
    animation-delay: 0.2s;
}

body.wechat-page .article-item:nth-child(3) {
    animation-delay: 0.3s;
}

body.wechat-page .article-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面滚动时的效果 */
body.wechat-page .header {
    transition: all 0.3s ease;
}

body.wechat-page .header.scrolled {
    opacity: 0.9;
}

/* 首页响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .name {
        font-size: 28px;
        letter-spacing: 0.8px;
    }
    
    .bio p {
        font-size: 15px;
    }
    
    .contact-item {
        padding: 10px 16px;
    }
    
    .contact-item i {
        font-size: 20px;
        margin-right: 12px;
    }
    
    .social {
        gap: 20px;
    }
    
    .social-link {
        padding: 8px;
    }
    
    .social-link i {
        font-size: 20px;
        margin-bottom: 4px;
    }
    
    /* 置顶文章和普通文章响应式样式 */
    body.wechat-page .article-item.pinned,
    body.wechat-page .article-item.regular,
    body.wechat-page .intro-section.personal-intro {
        padding: 20px 16px;
    }
    
    body.wechat-page .pin-badge,
    body.wechat-page .intro-badge {
        top: 10px;
        right: 10px;
        font-size: 10px;
        padding: 2px 6px;
    }
    
    body.wechat-page .read-more {
        font-size: 13px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .name {
        font-size: 24px;
        letter-spacing: 0.5px;
    }
    
    .bio p {
        font-size: 14px;
    }
    
    .contact-item {
        padding: 8px 12px;
    }
    
    .contact-item i {
        font-size: 18px;
        margin-right: 10px;
    }
    
    .contact-value {
        font-size: 14px;
        line-height: 1.4;
        text-align: left;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .social {
        gap: 16px;
    }
    
    .social-link {
        padding: 6px;
    }
    
    .social-link i {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .social-link span {
        font-size: 12px;
    }
    
    /* 置顶文章和普通文章响应式样式 */
    body.wechat-page .article-item.pinned,
    body.wechat-page .article-item.regular,
    body.wechat-page .intro-section.personal-intro {
        padding: 16px 12px;
    }
    
    body.wechat-page .pin-badge,
    body.wechat-page .intro-badge {
        top: 8px;
        right: 8px;
        font-size: 9px;
        padding: 2px 5px;
    }
    
    body.wechat-page .read-more {
        font-size: 12px;
        padding: 4px 8px;
        margin-top: 10px;
    }
}

@media (max-width: 320px) {
    .name {
        font-size: 20px;
        letter-spacing: 0.3px;
    }
    
    .bio p {
        font-size: 13px;
    }
    
    .contact-item {
        padding: 6px 10px;
    }
    
    .contact-item i {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .contact-value {
        font-size: 13px;
        line-height: 1.3;
        text-align: left;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .social {
        gap: 12px;
    }
    
    .social-link {
        padding: 4px;
    }
    
    .social-link i {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .social-link span {
        font-size: 11px;
    }
    
    /* 置顶文章和普通文章响应式样式 */
    body.wechat-page .article-item.pinned,
    body.wechat-page .article-item.regular,
    body.wechat-page .intro-section.personal-intro {
        padding: 14px 10px;
    }
    
    body.wechat-page .pin-badge,
    body.wechat-page .intro-badge {
        top: 6px;
        right: 6px;
        font-size: 8px;
        padding: 1px 4px;
    }
    
    body.wechat-page .read-more {
        font-size: 11px;
        padding: 3px 6px;
        margin-top: 8px;
    }
}

/* 微信页面响应式设计 */
@media (max-width: 768px) {
    body.wechat-page {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    body.wechat-page .header {
        margin-bottom: 25px;
        text-align: left;
    }
    
    body.wechat-page .content {
        margin-bottom: 40px;
    }
    
    body.wechat-page .article-list {
        gap: 20px;
    }
    
    body.wechat-page .article-item {
        padding: 24px 0;
        border-radius: 0;
        text-align: left;
    }
    
    body.wechat-page .article-title {
        font-size: 18px;
        margin-bottom: 14px;
    }
    
    body.wechat-page .article-content {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    body.wechat-page .article-content p {
        margin-bottom: 14px;
    }
    
    .content-divider {
        margin: 30px 0;
        padding: 0 15px;
    }
    
    .divider-text {
        font-size: 13px;
        margin: 0 12px;
    }
    
    body.wechat-page .footer {
        margin-top: 30px;
        padding-top: 25px;
    }
    
    /* 置顶文章和普通文章响应式样式 */
    body.wechat-page .article-item.pinned,
    body.wechat-page .article-item.regular,
    body.wechat-page .intro-section.personal-intro {
        padding: 20px 0;
        margin-bottom: 6px;
        border-radius: 0;
        text-align: left;
    }
    
    body.wechat-page .article-item.pinned,
    body.wechat-page .intro-section.personal-intro {
        border-left-width: 2px;
    }
    
    body.wechat-page .pin-badge,
    body.wechat-page .intro-badge {
        top: 10px;
        right: 0;
        font-size: 10px;
        padding: 2px 6px;
    }
    
    body.wechat-page .read-more {
        font-size: 13px;
        padding: 5px 10px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    body.wechat-page {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    body.wechat-page .header {
        margin-bottom: 20px;
        text-align: left;
    }
    
    body.wechat-page .subtitle {
        font-size: 15px;
    }
    
    body.wechat-page .subtitle-en {
        margin-bottom: 4px;
    }
    
    body.wechat-page .content {
        margin-bottom: 30px;
    }
    
    body.wechat-page .article-list {
        gap: 16px;
    }
    
    body.wechat-page .article-item {
        padding: 20px 0;
        border-radius: 0;
        text-align: left;
    }
    
    body.wechat-page .article-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    body.wechat-page .article-content {
        font-size: 13px;
        margin-bottom: 14px;
    }
    
    body.wechat-page .article-content p {
        margin-bottom: 12px;
    }
    
    .content-divider {
        margin: 25px 0;
        padding: 0 12px;
    }
    
    .divider-text {
        font-size: 12px;
        margin: 0 10px;
    }
    
    body.wechat-page .footer {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    /* 置顶文章和普通文章响应式样式 */
    body.wechat-page .article-item.pinned,
    body.wechat-page .article-item.regular,
    body.wechat-page .intro-section.personal-intro {
        padding: 16px 0;
        margin-bottom: 4px;
        border-radius: 0;
        text-align: left;
    }
    
    body.wechat-page .article-item.pinned,
    body.wechat-page .intro-section.personal-intro {
        border-left-width: 2px;
    }
    
    body.wechat-page .pin-badge,
    body.wechat-page .intro-badge {
        top: 8px;
        right: 0;
        font-size: 9px;
        padding: 2px 5px;
    }
    
    body.wechat-page .read-more {
        font-size: 12px;
        padding: 4px 8px;
        margin-top: 8px;
    }
}

@media (max-width: 320px) {
    body.wechat-page {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    body.wechat-page .header {
        margin-bottom: 15px;
        text-align: left;
    }
    
    body.wechat-page .subtitle {
        font-size: 14px;
    }
    
    body.wechat-page .subtitle-en {
        margin-bottom: 3px;
    }
    
    body.wechat-page .back-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    body.wechat-page .content {
        margin-bottom: 25px;
    }
    
    body.wechat-page .article-list {
        gap: 14px;
    }
    
    body.wechat-page .article-item {
        padding: 16px 0;
        border-radius: 0;
        text-align: left;
    }
    
    body.wechat-page .article-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    body.wechat-page .article-content {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    body.wechat-page .article-content p {
        margin-bottom: 10px;
    }
    
    .content-divider {
        margin: 20px 0;
        padding: 0 10px;
    }
    
    .divider-text {
        font-size: 11px;
        margin: 0 8px;
    }
    
    body.wechat-page .footer {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    /* 置顶文章和普通文章响应式样式 */
    body.wechat-page .article-item.pinned,
    body.wechat-page .article-item.regular,
    body.wechat-page .intro-section.personal-intro {
        padding: 14px 0;
        margin-bottom: 3px;
        border-radius: 0;
        text-align: left;
    }
    
    body.wechat-page .article-item.pinned,
    body.wechat-page .intro-section.personal-intro {
        border-left-width: 2px;
    }
    
    body.wechat-page .pin-badge,
    body.wechat-page .intro-badge {
        top: 6px;
        right: 0;
        font-size: 8px;
        padding: 1px 4px;
    }
    
    body.wechat-page .read-more {
        font-size: 11px;
        padding: 3px 6px;
        margin-top: 6px;
    }
}

/* 文章全文页面响应式样式 */
@media (max-width: 768px) {
    body.article-page {
        padding: calc(var(--spacing) * 20) 0;
    }
    
    body.article-page .article-title {
        font-size: 28px;
    }
    
    body.article-page .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    body.article-page .article-date {
        font-size: 14px;
        color: #888888;
        font-weight: 500;
        text-align: left;
        width: 100%;
    }
    
    body.article-page .article-lead {
        font-size: 16px;
    }
    
    body.article-page .article-content h2 {
        font-size: 22px;
    }
    
    body.article-page .article-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    body.article-page .nav-link {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    body.article-page {
        padding: calc(var(--spacing) * 15) 0;
    }
    
    body.article-page .article-title {
        font-size: 24px;
    }
    
    body.article-page .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    body.article-page .article-date {
        font-size: 13px;
        color: #888888;
        font-weight: 500;
        text-align: left;
        width: 100%;
    }
    
    body.article-page .article-lead {
        font-size: 15px;
        padding: 15px 0;
    }
    
    body.article-page .article-content {
        font-size: 15px;
    }
    
    body.article-page .article-content h2 {
        font-size: 20px;
        margin-top: 30px;
    }
    
    body.article-page .article-conclusion {
        font-size: 16px;
        padding: 20px 0;
    }
}

@media (max-width: 320px) {
    body.article-page {
        padding: calc(var(--spacing) * 10) 0;
    }
    
    body.article-page .article-title {
        font-size: 22px;
    }
    
    body.article-page .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    body.article-page .article-date {
        font-size: 12px;
        color: #888888;
        font-weight: 500;
        text-align: left;
        width: 100%;
    }
    
    body.article-page .article-lead {
        font-size: 14px;
    }
    
    body.article-page .article-content {
        font-size: 14px;
    }
    
    body.article-page .article-content h2 {
        font-size: 18px;
    }
    
    body.article-page .article-conclusion {
        font-size: 15px;
    }
}

/* 文章全文页面自定义样式 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    z-index: 1000;
    transition: width 0.2s ease;
}

/* 分隔符样式 */
.content-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: calc(var(--spacing) * 10) 0;
    gap: var(--spacing);
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.divider-text {
    font-size: 14px;
    color: #888888;
    padding: 0 var(--spacing);
    white-space: nowrap;
}

/* 联系方式样式 */
.footer {
    margin-bottom: var(--spacing);
}

.contact {
    margin-bottom: calc(var(--spacing) * 5);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 3);
    margin-bottom: calc(var(--spacing) * 2);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 18px;
    color: #666666;
    width: 24px;
    text-align: center;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 12px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 14px;
    color: #333333;
}

/* 分享菜单样式 */
.share-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.share-menu.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.share-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.share-option i {
    font-size: 18px;
}

.share-option span {
    font-size: 14px;
    color: #333;
}

.share-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-overlay.active {
    opacity: 1;
}

/* 二维码模态框样式 */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-modal.active {
    opacity: 1;
}

.qr-container {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.qr-modal.active .qr-container {
    transform: scale(1);
}

.qr-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.qr-image {
    width: 200px;
    height: 200px;
    border: 1px solid #eee;
}

.qr-close {
    margin-top: 15px;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    background-color: #ff6b6b;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.qr-close:hover {
    background-color: #ff5252;
}

/* 关注提示样式 */
.follow-tip {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6b6b;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    z-index: 1000;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.follow-tip.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.follow-tip i {
    font-size: 16px;
}

/* 版权信息样式 */
.copyright {
    font-size: .875rem;
    color: #888888;
    text-align: left;
    margin-top: 20px;
    padding-top: calc(var(--spacing) * 15);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: var(--spacing);
}

body.wechat-page .copyright {
    margin-top: 20px;
    padding-top: calc(var(--spacing) * 15);
    margin-bottom: calc(var(--spacing) * 10);
}

/* 文章全文页面样式 */
body.article-page {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #ffffff;
    color: #000000;
    line-height: 1.7;
    padding: calc(var(--spacing) * 25) 0;
    margin: 0;
    position: relative;
}

body.article-page .article-header {
    margin-bottom: 40px;
    position: relative;
    transition: all 0.3s ease;
}

body.article-page .article-header.scrolled {
    opacity: 0.9;
}

body.article-page .back-link {
    display: inline-flex;
    align-items: center;
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.03);
}

body.article-page .back-link:hover {
    color: #000000;
    background-color: rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

body.article-page .back-link i {
    margin-right: 5px;
}

body.article-page .article-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #000000;
    line-height: 1.3;
    font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    letter-spacing: 1px;
}

body.article-page .article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

body.article-page .article-date {
    font-size: 14px;
    color: #888888;
    font-weight: 500;
}

body.article-page .article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.article-page .tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    font-size: 12px;
    color: #666666;
    transition: all 0.2s ease;
}

body.article-page .tag:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333333;
}

body.article-page .article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 50px;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

body.article-page .article-lead {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 300;
    font-style: italic;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

body.article-page .article-content h2 {
    font-size: 24px;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #000000;
    font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

body.article-page .article-content p {
    margin-bottom: 20px;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

body.article-page .article-content blockquote {
    margin: 30px 0;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.02);
    border-left: 3px solid #ff6b6b;
    font-style: italic;
    color: #555555;
}

body.article-page .article-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

body.article-page .article-content ol {
    margin: 20px 0;
    padding-left: 25px;
    list-style-position: inside;
}

body.article-page .article-content li {
    margin-bottom: 10px;
    line-height: 1.6;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

body.article-page .article-conclusion {
    margin-top: 40px;
    padding: 25px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 18px;
    line-height: 1.7;
    color: #444444;
    font-weight: 400;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

body.article-page .article-footer {
    margin-bottom: 50px;
}

body.article-page .article-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

body.article-page .nav-link {
    display: flex;
    align-items: center;
    color: #666666;
    text-decoration: none;
    transition: all 0.2s ease;
    max-width: 45%;
}

body.article-page .nav-link:hover {
    color: #000000;
}

body.article-page .nav-link.prev {
    justify-content: flex-start;
}

body.article-page .nav-link.next {
    justify-content: flex-end;
}

body.article-page .nav-text {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

body.article-page .nav-label {
    font-size: 12px;
    color: #888888;
    margin-bottom: 5px;
}

body.article-page .nav-title {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.article-page .article-actions {
    display: flex;
    justify-content: center;
}

body.article-page .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.03);
    color: #666666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.article-page .share-btn:hover {
    background-color: rgba(0, 0, 0, 0.06);
    color: #000000;
}

/* 新增文章样式 - 置顶文章 */
body.wechat-page .article-item.pinned {
    position: relative;
    border-left: 3px solid #ff6b6b;
    padding: 24px 20px;
    margin-bottom: 8px;
    border-radius: 0;
    border-bottom: none;
}

body.wechat-page .pin-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #ff6b6b;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 3px;
}

body.wechat-page .pin-badge i {
    font-size: 10px;
}

/* 个人介绍样式 */
body.wechat-page .intro-section.personal-intro {
    position: relative;
    border-left: none;
    padding: 24px 0;
    margin-bottom: 8px;
    border-radius: 0;
    border-bottom: none;
    text-align: left;
}

body.wechat-page .intro-section.personal-intro .intro-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #000000;
    line-height: 1.4;
    transition: color 0.2s ease;
}

body.wechat-page .intro-section.personal-intro .intro-content {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
}

body.wechat-page .intro-section.personal-intro .intro-content p {
    margin-bottom: 16px;
}

body.wechat-page .intro-section.personal-intro .intro-content p:last-child {
    margin-bottom: 0;
}

body.wechat-page .intro-badge {
    position: static;
    background-color: #4a90e2;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: 15px;
}

body.wechat-page .intro-badge i {
    font-size: 10px;
}

/* 新增文章样式 - 普通文章 */
body.wechat-page .article-item.regular {
    position: relative;
    padding: 24px 0;
    margin-bottom: 8px;
    border-radius: 0;
    border-bottom: none;
    transition: all 0.3s ease;
    text-align: left;
}

body.wechat-page .article-item.regular:hover {
    transform: translateY(-3px);
}

/* 查看全文按钮 */
body.wechat-page .read-more {
    display: inline-flex;
    align-items: center;
    color: #666666;
    font-size: 14px;
    text-decoration: none;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    font-weight: 500;
}

body.wechat-page .read-more:hover {
    color: #000000;
    background-color: rgba(0, 0, 0, 0.06);
}

body.wechat-page .read-more i {
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

body.wechat-page .read-more:hover i {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .copyright {
        font-size: 11px;
        margin-top: 15px;
        padding-top: 15px;
    }
    
    body.wechat-page .copyright {
        font-size: 11px;
        margin-top: 15px;
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    .copyright {
        font-size: 10px;
        margin-top: 12px;
        padding-top: 12px;
    }
    
    body.wechat-page .copyright {
        font-size: 10px;
        margin-top: 12px;
        padding-top: 12px;
    }
}