/* ----- 全局重置 & 字体 ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', 'PingFang SC', Roboto, system-ui, -apple-system, sans-serif;
    background: #f9f6f0;
    color: #2e241f;
    line-height: 1.7;
    scroll-behavior: smooth;
}
a { text-decoration: none; color: inherit; }
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- 顶部工具栏 ----- */
.top-toolbar {
    background: #1e1612;
    color: #ece3da;
    padding: 4px 0;
    font-size: 13px;
    border-bottom: 1px solid #4d3b31;
    position: sticky;
    top: 0;
    z-index: 999;
}
.top-toolbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
}
.top-toolbar .left-tip {
    margin-right: auto;
    font-size: 12px;
    letter-spacing: 0.3px;
    color: #cfc1b5;
}
.top-toolbar .left-tip i {
    margin-right: 4px;
    color: #d4a373;
}

/* ----- 语言选择器 ----- */
.language-selector {
    position: relative;
    display: inline-block;
    cursor: pointer;
    user-select: none;
    background: #2f241e;
    border-radius: 30px;
    padding: 2px 12px 2px 8px;
    border: 1px solid #5d4a3b;
    transition: background 0.2s;
    min-width: 90px;
}
.language-selector:hover {
    background: #3f322a;
}
.language-current {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f0e3d8;
    font-size: 12px;
    font-weight: 450;
}
.language-flag {
    width: 18px;
    height: 13px;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    display: inline-block;
    flex-shrink: 0;
    background-color: #3a2f28;
    background-image: url('https://img.010080.com/fanyi/w40/cn.png');
}
.language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #2b1f19;
    border: 1px solid #5d4a3b;
    border-radius: 14px;
    padding: 12px 12px;
    width: 480px;
    max-width: 78vw;
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
}
.language-selector.active .language-dropdown {
    display: block;
}
.language-regions-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.language-region .region-title {
    color: #c7b09b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    border-bottom: 1px solid #4d3b31;
    padding-bottom: 3px;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.region-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
}
.language-option {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px 3px 5px;
    border-radius: 30px;
    background: #3a2d25;
    color: #ddd0c4;
    font-size: 11px;
    cursor: pointer;
    transition: 0.15s;
    border: 1px solid transparent;
}
.language-option .language-flag {
    width: 16px;
    height: 12px;
}
.language-option:hover {
    background: #534138;
    color: #fff5ea;
    border-color: #b28b6e;
}
.language-option.active {
    background: #6b4f3a;
    color: #fff1df;
    border-color: #dbb48b;
    font-weight: 500;
}
.language-dropdown::-webkit-scrollbar { width: 4px; }
.language-dropdown::-webkit-scrollbar-track { background: #2b1f19; }
.language-dropdown::-webkit-scrollbar-thumb { background: #7a624d; border-radius: 10px; }

/* ----- 头部 ----- */
.main-header {
    background: linear-gradient(135deg, #1f1712 0%, #35281f 100%);
    padding: 14px 0 10px;
    border-bottom: 3px solid #b48c6b;
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    position: sticky;
    top: 32px;
    z-index: 99;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-icon {
    font-size: 32px;
    color: #dbb48b;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.brand-text h1 {
    font-size: 24px;
    font-weight: 600;
    color: #f7ede4;
    letter-spacing: 1.5px;
    line-height: 1.1;
}
.brand-text .sub {
    font-size: 13px;
    color: #cbaf95;
    letter-spacing: 0.8px;
    font-weight: 300;
    border-left: 2px solid #b48c6b;
    padding-left: 10px;
    margin-left: 4px;
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    align-items: center;
}
.main-nav a {
    color: #e6d6c6;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 2px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
    letter-spacing: 0.6px;
}
.main-nav a:hover,
.main-nav a.active {
    color: #f3d9b1;
    border-bottom-color: #dbb48b;
}

/* ----- 英雄区 ----- */
.hero {
    background: linear-gradient(135deg, #2d2019 0%, #4b3428 100%);
    padding: 40px 0 44px;
    position: relative;
    border-bottom: 2px solid #7a5f49;
}
.hero::before {
    content: "☸";
    position: absolute;
    right: 6%;
    bottom: 10%;
    font-size: 140px;
    opacity: 0.04;
    color: #f3e0cd;
    transform: rotate(10deg);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: center;
}
.hero-image {
    text-align: center;
}
.hero-image .statue {
    font-size: 100px;
    color: #ecd9c6;
    text-shadow: 0 12px 28px rgba(0,0,0,0.4);
    display: block;
    line-height: 1;
}
.hero-image .caption {
    color: #bb9b82;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-top: 4px;
}
.hero-content h2 {
    font-size: 32px;
    color: #f7ede4;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.2;
}
.hero-content h2 span {
    color: #eaceb2;
    font-weight: 600;
}
.hero-content .sub-title {
    color: #dac2ab;
    font-size: 16px;
    margin: 6px 0 12px;
    border-left: 4px solid #b48c6b;
    padding-left: 14px;
    font-style: italic;
}
.hero-content p {
    color: #e1cfbc;
    font-size: 16px;
    margin-bottom: 12px;
    max-width: 90%;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
}
.hero-tags span {
    background: #3f2d22;
    padding: 4px 14px;
    border-radius: 50px;
    color: #decbb8;
    font-size: 12px;
    border: 1px solid #6b4f3a;
}

/* ----- 通用组件 ----- */
.section-title {
    font-size: 26px;
    font-weight: 500;
    color: #2e241f;
    margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom: 3px solid #dbb48b;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title i {
    color: #8b6b51;
    font-size: 24px;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 18px 0 14px;
}
.card-item {
    background: white;
    border-radius: 20px;
    padding: 20px 18px 18px;
    box-shadow: 0 8px 20px rgba(44, 30, 22, 0.08);
    transition: 0.2s;
    border: 1px solid #e7dbcf;
}
.card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(44, 30, 22, 0.12);
    border-color: #c8b09b;
}
.card-item .icon {
    font-size: 34px;
    color: #7a5f49;
    margin-bottom: 6px;
}
.card-item h3 {
    font-size: 20px;
    color: #2e241f;
    margin-bottom: 4px;
}
.card-item p {
    color: #4d3b31;
    font-size: 14px;
}
.bio-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 20px 0 16px;
}
.bio-box {
    background: white;
    border-radius: 24px;
    padding: 24px 22px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
    border: 1px solid #e7dbcf;
}
.bio-box h3 {
    font-size: 22px;
    color: #3d2c21;
    border-left: 6px solid #b48c6b;
    padding-left: 14px;
    margin-bottom: 14px;
}
.bio-box p {
    margin-bottom: 12px;
    color: #3d3026;
}
.bio-box ul {
    padding-left: 20px;
    color: #3d3026;
}
.bio-box ul li {
    margin-bottom: 6px;
}
.highlight-box {
    background: #f4eee8;
    padding: 14px 18px;
    border-radius: 18px;
    margin: 14px 0 6px;
    border-left: 4px solid #b48c6b;
}
.article-list {
    background: white;
    border-radius: 24px;
    padding: 20px 24px;
    margin: 24px 0 16px;
    border: 1px solid #e7dbcf;
}
.article-list .section-title {
    margin-top: 0;
    border-bottom-color: #c8b09b;
}
.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee4d9;
    flex-wrap: wrap;
    gap: 8px;
}
.article-item:last-child {
    border-bottom: none;
}
.article-item a {
    font-size: 16px;
    font-weight: 450;
    color: #2e241f;
    transition: 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.article-item a i {
    color: #8b6b51;
    font-size: 14px;
}
.article-item a:hover {
    color: #7a4f34;
}
.article-item .date {
    color: #7a6556;
    font-size: 12px;
    background: #f2ebe4;
    padding: 2px 12px;
    border-radius: 30px;
    white-space: nowrap;
}
.btn-outline {
    display: inline-block;
    border: 1px solid #b48c6b;
    color: #b48c6b;
    padding: 4px 14px;
    border-radius: 30px;
    transition: 0.2s;
    font-size: 13px;
}
.btn-outline:hover {
    background: #b48c6b;
    color: white;
}
.anchor-offset {
    scroll-margin-top: 100px;
}
.notranslate, .translate-no {
    -webkit-user-select: none;
}

/* ----- 文章详情页专属 ----- */
.article-detail {
    background: white;
    border-radius: 28px;
    padding: 40px 44px;
    margin: 32px 0 28px;
    border: 1px solid #e7dbcf;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.article-detail .breadcrumb {
    font-size: 14px;
    color: #7a6556;
    margin-bottom: 16px;
}
.article-detail .breadcrumb a {
    color: #7a5f49;
    transition: 0.2s;
}
.article-detail .breadcrumb a:hover {
    color: #b48c6b;
}
.article-detail .breadcrumb i {
    margin: 0 6px;
    font-size: 12px;
    color: #c8b09b;
}
.article-detail h1 {
    font-size: 34px;
    font-weight: 600;
    color: #2e241f;
    line-height: 1.3;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    color: #7a6556;
    font-size: 14px;
    border-bottom: 1px solid #eee4d9;
    padding-bottom: 16px;
    margin-bottom: 24px;
}
.article-meta span i {
    margin-right: 4px;
    color: #b48c6b;
}
.article-body {
    font-size: 17px;
    color: #3d3026;
    line-height: 1.9;
}
.article-body p {
    margin-bottom: 18px;
}
.article-body h2 {
    font-size: 26px;
    font-weight: 500;
    color: #2e241f;
    margin: 28px 0 14px;
    padding-left: 14px;
    border-left: 6px solid #b48c6b;
}
.article-body h3 {
    font-size: 22px;
    font-weight: 500;
    color: #3d2c21;
    margin: 22px 0 10px;
}
.article-body blockquote {
    background: #f4eee8;
    padding: 16px 24px;
    border-radius: 20px;
    border-left: 6px solid #b48c6b;
    margin: 20px 0;
    font-style: italic;
    color: #4d3b31;
}
.article-body blockquote i {
    color: #b48c6b;
    margin-right: 6px;
}
.article-body ul, .article-body ol {
    padding-left: 26px;
    margin-bottom: 18px;
}
.article-body ul li, .article-body ol li {
    margin-bottom: 8px;
}
.article-body .highlight-box {
    background: #f7f1ea;
    padding: 16px 22px;
    border-radius: 18px;
    margin: 18px 0;
    border-left: 4px solid #b48c6b;
}
.article-body .btn-outline {
    cursor: default;
}
.article-footer {
    border-top: 1px solid #eee4d9;
    padding-top: 20px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.article-footer .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.article-footer .tags span {
    background: #f2ebe4;
    padding: 2px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: #5d4a3b;
}
.article-footer .share {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.article-footer .share .share-label {
    color: #7a6556;
    font-size: 14px;
    margin-right: 4px;
}
.article-footer .share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f2ebe4;
    color: #7a6556;
    font-size: 17px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.article-footer .share a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.article-footer .share a.weixin:hover { background: #07c160; color: #fff; }
.article-footer .share a.weibo:hover { background: #ff8200; color: #fff; }
.article-footer .share a.qq:hover { background: #12b7f5; color: #fff; }
.article-footer .share a.qzone:hover { background: #fdbd3d; color: #fff; }
.article-footer .share a.douban:hover { background: #2e963d; color: #fff; }
.article-footer .share a.link:hover { background: #5d4a3b; color: #fff; }

/* ----- 微信二维码弹窗 ----- */
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
.wechat-modal.show {
    display: flex;
}
.wechat-content {
    background: #fff;
    border-radius: 20px;
    padding: 30px 40px 35px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.wechat-content .wechat-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
}
.wechat-content .wechat-close:hover {
    color: #333;
    transform: rotate(90deg);
}
.wechat-content h3 {
    font-size: 22px;
    color: #2e241f;
    margin-bottom: 6px;
}
.wechat-content p {
    color: #7a6556;
    font-size: 14px;
    margin-bottom: 16px;
}
.wechat-content .wechat-qrcode {
    background: #f9f6f0;
    padding: 16px;
    border-radius: 16px;
    display: inline-block;
    margin: 6px auto 12px;
}
.wechat-content .wechat-qrcode img {
    width: 180px;
    height: 180px;
    display: block;
    background: #fff;
    border-radius: 8px;
}
.wechat-content .tip-text {
    font-size: 13px;
    color: #b48c6b;
    margin-top: 4px;
}

/* ----- 相关文章推荐 ----- */
.related-section {
    margin: 28px 0 20px;
}
.related-section h3 {
    font-size: 24px;
    font-weight: 500;
    color: #2e241f;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dbb48b;
    display: flex;
    align-items: center;
    gap: 10px;
}
.related-section h3 i {
    color: #8b6b51;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.related-card {
    background: white;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid #e7dbcf;
    transition: 0.2s;
}
.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: #c8b09b;
}
.related-card a {
    font-size: 16px;
    font-weight: 500;
    color: #2e241f;
    display: block;
}
.related-card a:hover {
    color: #7a4f34;
}
.related-card .date {
    font-size: 12px;
    color: #7a6556;
    margin-top: 4px;
}

/* ----- 底部 ----- */
.footer {
    background: #1e1612;
    color: #cbbeaf;
    padding: 28px 0 20px;
    margin-top: 36px;
    border-top: 2px solid #4d3b31;
}
.footer .container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}
.footer-links a {
    color: #cbbeaf;
    margin-right: 20px;
    font-size: 14px;
    transition: 0.2s;
}
.footer-links a:hover {
    color: #f3d9b1;
}
.footer-copy {
    font-size: 13px;
    opacity: 0.75;
    border-top: 1px solid #3d2d22;
    padding-top: 14px;
    text-align: center;
}

/* ----- 响应式 ----- */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        max-width: 100%;
    }
    .bio-row {
        grid-template-columns: 1fr;
    }
    .language-dropdown {
        width: 85vw;
        right: -10px;
    }
    .article-detail {
        padding: 28px 24px;
    }
    .article-detail h1 {
        font-size: 28px;
    }
}
@media (max-width: 640px) {
    .brand-text h1 {
        font-size: 20px;
    }
    .brand-text .sub {
        font-size: 11px;
        padding-left: 6px;
    }
    .main-nav a {
        font-size: 13px;
    }
    .hero-content h2 {
        font-size: 24px;
    }
    .hero-image .statue {
        font-size: 72px;
    }
    .article-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .language-dropdown {
        width: 92vw;
        right: -6px;
        padding: 10px;
    }
    .language-selector {
        min-width: 70px;
        padding: 2px 10px 2px 6px;
    }
    .language-current {
        font-size: 11px;
    }
    .language-flag {
        width: 16px;
        height: 12px;
    }
    .article-detail {
        padding: 20px 16px;
    }
    .article-detail h1 {
        font-size: 22px;
    }
    .article-body {
        font-size: 15px;
    }
    .article-body h2 {
        font-size: 22px;
    }
    .article-body h3 {
        font-size: 19px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .article-footer .share a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .wechat-content {
        padding: 24px 20px 28px;
    }
    .wechat-content .wechat-qrcode img {
        width: 140px;
        height: 140px;
    }
}
#translate {
    display: none;
}.no-pc{display:inline;}
@media (min-width:960px){.no-pc{display:none;}
}