
        :root { --primary: #2d8a6e; --primary-light: #e8f5f0; --accent: #f5a623; --accent-light: #fff8e7; --dark: #2c3e50; --text: #5a6c7d; --bg: #f7f9fc; --white: #ffffff; --shadow: 0 4px 20px rgba(45,138,110,0.08); --radius: 16px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'PingFang SC','Microsoft YaHei','Helvetica Neue',sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
        a { text-decoration: none; color: inherit; }
        .navbar-custom { background: var(--white); box-shadow: var(--shadow); padding: 0.8rem 0; position: sticky; top: 0; z-index: 1000; }
        .navbar-brand-custom { font-size: 1.5rem; font-weight: 700; color: var(--primary) !important; display: flex; align-items: center; gap: 8px; }
        .brand-icon { width: 36px; height: 36px; background: linear-gradient(135deg,var(--primary),#5bc8a4); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; }
        .nav-link-custom { color: var(--dark) !important; font-weight: 500; padding: 0.5rem 1rem !important; border-radius: 8px; transition: all 0.3s; font-size: 0.95rem; }
        .nav-link-custom:hover, .nav-link-custom.active { background: var(--primary-light); color: var(--primary) !important; }
        .page-header { background: linear-gradient(135deg,#f3e8fd,#eee4f9); padding: 3rem 0 2rem; }
        .page-title { font-size: 2rem; font-weight: 700; color: var(--dark); }
        .page-title .sub { font-size: 1rem; color: var(--text); font-weight: 400; margin-left: 12px; }
        .page-breadcrumb { font-size: 0.88rem; color: var(--text); margin-top: 0.5rem; }
        .page-breadcrumb a { color: var(--primary); }
        .section { padding: 3rem 0; }
        .container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

        /* 社群标签 */
        .community-tabs { display: flex; gap: 8px; margin-bottom: 1.5rem; background: var(--white); border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow); }
        .comm-tab { flex: 1; padding: 0.7rem 1rem; border-radius: 10px; text-align: center; cursor: pointer; font-weight: 600; font-size: 0.92rem; transition: all 0.3s; color: var(--text); border: none; background: transparent; }
        .comm-tab:hover { background: var(--primary-light); color: var(--primary); }
        .comm-tab.active { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(45,138,110,0.25); }

        /* 发布框 */
        .post-input { background: var(--white); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
        .post-input .input-row { display: flex; gap: 10px; align-items: center; }
        .post-avatar { width: 40px; height: 40px; background: linear-gradient(135deg,var(--primary),#5bc8a4); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; flex-shrink: 0; }
        .post-textarea { flex: 1; border: 2px solid #e0ebe7; border-radius: 12px; padding: 0.7rem 1rem; font-size: 0.95rem; resize: none; outline: none; font-family: inherit; min-height: 60px; }
        .post-textarea:focus { border-color: var(--primary); }
        .post-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 0.8rem; }
        .post-tools { display: flex; gap: 12px; }
        .post-tool { display: flex; align-items: center; gap: 6px; padding: 0.4rem 0.8rem; border-radius: 8px; cursor: pointer; font-size: 0.85rem; color: var(--text); transition: all 0.2s; border: 1.5px solid transparent; }
        .post-tool:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
        .btn-post { background: var(--primary); color: white; border: none; border-radius: 10px; padding: 0.6rem 1.5rem; font-weight: 600; cursor: pointer; font-size: 0.9rem; }

        /* 帖子列表 */
        .post-list { display: flex; flex-direction: column; gap: 1rem; }
        .post-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border: 1.5px solid transparent; transition: all 0.3s; }
        .post-card:hover { border-color: var(--primary); }
        .post-header { display: flex; gap: 10px; margin-bottom: 0.8rem; }
        .post-avatar-lg { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; flex-shrink: 0; }
        .post-author { flex: 1; }
        .post-author .name { font-weight: 700; color: var(--dark); font-size: 0.95rem; }
        .post-author .meta { font-size: 0.8rem; color: var(--text); display: flex; gap: 8px; }
        .post-author .meta .tag { background: var(--primary-light); color: var(--primary); padding: 1px 8px; border-radius: 6px; }
        .post-content { font-size: 0.95rem; color: var(--dark); line-height: 1.8; margin-bottom: 0.8rem; }
        .post-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 0.8rem; }
        .post-images .img { height: 120px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 2rem; overflow: hidden; }
        .post-images .img.single { grid-column: span 3; height: 200px; }
        .post-stats { display: flex; gap: 1.5rem; padding: 0.8rem 0; border-top: 1px solid #f0f4f8; border-bottom: 1px solid #f0f4f8; margin-bottom: 0.8rem; }
        .post-stat { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text); cursor: pointer; transition: color 0.2s; }
        .post-stat:hover { color: var(--primary); }
        .post-replies { background: var(--bg); border-radius: 12px; padding: 1rem; }
        .post-reply { display: flex; gap: 8px; margin-bottom: 0.8rem; }
        .post-reply:last-child { margin-bottom: 0; }
        .reply-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),#5bc8a4); display: flex; align-items: center; justify-content: center; color: white; font-size: 0.7rem; flex-shrink: 0; }
        .reply-content { flex: 1; }
        .reply-name { font-weight: 600; color: var(--dark); font-size: 0.88rem; }
        .reply-text { font-size: 0.88rem; color: var(--text); margin-top: 2px; }
        .reply-time { font-size: 0.78rem; color: #aab0b8; margin-top: 2px; }

        /* 富文本编辑器 */
        .rte-toolbar { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
        .rte-btn { border: 1.5px solid #e0ebe7; background: var(--white); border-radius: 8px; padding: 4px 10px; cursor: pointer; font-size: 0.85rem; color: var(--text); }
        .rte-btn:hover { border-color: var(--primary); color: var(--primary); }
        .rte-editor { border: 2px solid #e0ebe7; border-radius: 12px; padding: 0.7rem 1rem; min-height: 80px; font-size: 0.95rem; outline: none; font-family: inherit; line-height: 1.7; }
        .rte-editor:focus { border-color: var(--primary); }
        .rte-editor[data-placeholder]:empty:before { content: attr(data-placeholder); color: #aab0b8; }
        .comment-box { margin-top: 0.6rem; border-top: 1px dashed #eef2f5; padding-top: 0.6rem; }
        .comment-item { display: flex; gap: 8px; margin-bottom: 0.6rem; }
        .comment-item .reply-avatar { width: 30px; height: 30px; }
        .comment-item .reply-content { flex: 1; }
        .comment-actions { font-size: 0.78rem; color: #aab0b8; display: flex; gap: 12px; margin-top: 2px; }
        .comment-actions span { cursor: pointer; }
        .comment-actions span:hover { color: var(--primary); }
        .comment-compose { display: flex; gap: 8px; margin-bottom: 0.8rem; align-items: flex-start; }
        .comment-compose .rte-editor { min-height: 44px; flex: 1; }

        /* 打卡区域 */
        .checkin-section { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 2rem; }
        .checkin-section h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 1.2rem; }
        .checkin-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
        .checkin-day { text-align: center; padding: 0.8rem 0.5rem; border-radius: 10px; font-size: 0.88rem; }
        .checkin-day .day { font-weight: 600; color: var(--dark); }
        .checkin-day.checked { background: var(--primary); color: white; }
        .checkin-day.checked .day { color: white; }
        .checkin-day.today { border: 2px solid var(--primary); }

        /* 资讯卡片 */
        .info-card { background: var(--white); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); margin-bottom: 1rem; cursor: pointer; transition: all 0.3s; border-left: 4px solid var(--primary); }
        .info-card:hover { transform: translateX(4px); }
        .info-card .info-title { font-size: 0.95rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
        .info-card .info-meta { font-size: 0.82rem; color: var(--text); display: flex; gap: 10px; }

        .row-main { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
        @media (max-width: 992px) { .row-main { grid-template-columns: 1fr; } }
    .nav-mobile {
                padding: 1rem 0;
                border-top: 1px solid #e0ebe7;
                margin-top: 0.8rem;
            }
    @media (max-width: 768px) {
            /* 导航栏手机端 */
            .nav-mobile {
                padding: 1rem 0;
                border-top: 1px solid #e0ebe7;
                margin-top: 0.8rem;
            }/* 手机端补充 */
            .page-header { padding: 2rem 0 1.5rem; }
            .page-title { font-size: 1.5rem; }
            .row-main { grid-template-columns: 1fr; }
        }
    


.skip-link{position:absolute;left:-9999px;top:0;z-index:9999;padding:.6rem 1rem;background:#2d8a6e;color:#fff;border-radius:0 0 .5rem 0;text-decoration:none;font-size:.9rem}
.skip-link:focus{left:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #2d8a6e;outline-offset:2px}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
