/*
Theme Name: 圈子主题
Theme URI: https://baidu.com/
Author: Li Ruchun
Author URI: https://baidu.com/
Description: 冰川薄荷科技主题 | 轻社区 · 卡片化 · 全端适配
Version: 2.0.0
Text Domain: quanzi
*/

/* ========== Design Tokens (冰川薄荷科技主题) ========== */
:root {
    /* 主色 — 薄荷青，清爽科技 */
    --primary: #3DBCB1;
    --primary-hover: #2A9D94;
    --primary-light: #E8F8F6;
    --primary-dark: #1E8A81;
    --primary-gradient: linear-gradient(135deg, #3DBCB1, #2A9D94);

    /* 品牌强调 — 晴空蓝，科技感 */
    --accent: #5B9BD5;
    --accent-light: #EBF3FA;

    /* 登录/注册主题色 — 嫩芽绿，自然清新 */
    --auth: #88C9A1;
    --auth-hover: #6DB58A;

    /* VIP 极光渐变 */
    --vip-gold: linear-gradient(135deg, #7EE8FA, #3DBCB1);

    /* 灰度 — 冷灰调 */
    --bg: #F4F8F9;
    --bg-card: #ffffff;
    --bg-hover: #EDF4F6;

    /* 文字层级 */
    --text-primary: #2D3748;
    --text-content: #4A5568;
    --text-secondary: #8FA3B8;
    --text-muted: #B0C0D0;
    --text-tertiary: #C8D4E0;

    /* 边框 */
    --border: #E2EAF2;
    --border-light: #EDF2F8;

    /* 圆角 */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-full: 999px;

    /* 阴影 — 冷薄荷调 */
    --shadow: 0 2px 12px rgba(61, 188, 177, 0.07);
    --shadow-md: 0 6px 20px rgba(61, 188, 177, 0.10);
    --shadow-lg: 0 12px 40px rgba(61, 188, 177, 0.13);
    --shadow-btn: 0 4px 12px rgba(61, 188, 177, 0.25);

    /* 字体 */
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;

    /* 间距 */
    --gap: 20px;
    --gap-sm: 12px;
    --padding: 20px;

    --header-height: 64px;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

html {
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text-primary);
    font: 15px/1.65 var(--font);
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--text-content);
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}
a:hover {
    color: var(--primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; }

/* ========== Layout: 三栏布局 ========== */
.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--gap);
}

.content-area {
    margin: var(--gap) auto;
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: var(--gap);
    align-items: flex-start;
}

.widget-area-right {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.widget-area-left {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.site-main {
    min-width: 0;
}

/* 单页详情使用双栏 */
.single-circle .content-area,
.single-post .content-area {
    grid-template-columns: 1fr 300px;
}

/* ========== 头部导航 ========== */
.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: 30px;
}

.site-branding {
    flex-shrink: 0;
}

.site-branding .site-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.site-branding .site-title a {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-navigation {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-menu li a {
    display: block;
    padding: 0 16px;
    height: var(--header-height);
    line-height: var(--header-height);
    color: var(--text-content);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    transition: color 0.25s;
    letter-spacing: 0.3px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    transform: scaleX(0);
}

.nav-menu li a:hover { color: var(--primary); }

.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    color: var(--primary);
}
.nav-menu li.current-menu-item a::after,
.nav-menu li.current_page_item a::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-search {
    background: var(--bg);
    border-radius: var(--radius-full);
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    border: 1px solid transparent;
}
.header-search:focus-within {
    background: #fff;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(61, 188, 177, 0.10);
}

.header-search .search-icon {
    color: var(--text-muted);
    font-size: 15px;
    flex-shrink: 0;
}

.header-search .search-field {
    border: none;
    background: transparent;
    height: 38px;
    outline: none;
    font-size: 13px;
    width: 160px;
    color: var(--text-primary);
}
.header-search .search-field::placeholder {
    color: var(--text-muted);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-user .login-link {
    color: var(--text-content);
    font-weight: 600;
    font-size: 14px;
}
.header-user .login-link:hover { color: var(--primary); }

.header-user .publish-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.header-user .register-link {
    background: var(--primary-gradient);
    color: #fff;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-btn);
    transition: all 0.25s;
}
.header-user .register-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(61, 188, 177, 0.30);
    color: #fff;
}

.user-avatar img {
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.25s, transform 0.25s;
}
.user-avatar:hover img {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Mobile Toggle */
.menu-toggle,
.mobile-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-search-toggle {
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: var(--text-content);
}

.mobile-search-bar {
    display: none;
    padding: 0 var(--gap) 12px;
}
.mobile-search-bar.active { display: block; }

.mobile-search-bar .search-field {
    width: 100%;
    border: none;
    background: var(--bg);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--radius-full);
    font-size: 15px;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}
.mobile-search-bar .search-field::placeholder { color: var(--text-muted); }

/* ========== 页脚 ========== */
.site-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    border-top: 1px solid var(--border);
    padding: 28px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 48px;
}

.site-footer .footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--gap);
}

.site-footer a {
    color: var(--text-secondary);
}
.site-footer a:hover {
    color: var(--primary);
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.site-footer .footer-links a {
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

/* ========== 卡片系统 ========== */
.box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    overflow: hidden;
    margin-bottom: var(--gap);
    transition: box-shadow 0.25s;
}
.box:hover {
    box-shadow: 0 4px 16px rgba(61, 188, 177, 0.08), 0 1px 4px rgba(0, 0, 0, 0.03);
}

/* ========== 话题卡片 ========== */
.topic-card {
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s, border-color 0.25s;
    border-left: 3px solid transparent;
    margin-bottom: 18px;
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(61, 188, 177, 0.10);
    border-color: rgba(61, 188, 177, 0.15);
    border-left-color: var(--primary);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.user-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-block .avatar img {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--border);
    transition: transform 0.25s;
}
.user-block .avatar:hover img {
    transform: scale(1.08);
}

.user-block .meta .name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-block .meta .badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.user-block .meta .time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.card-header .tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    transition: all 0.25s;
    cursor: pointer;
}
.card-header .tag:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(61, 188, 177, 0.25);
}

.card-body .title {
    font-size: 18px;
    font-weight: 800;
    margin: 8px 0 10px;
    line-height: 1.45;
}

.card-body .title a {
    color: var(--text-primary);
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-body .title a:hover { color: var(--primary); }

.essence-label {
    background: linear-gradient(135deg, #5B9BD5, #3A8CCB);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.card-body .excerpt {
    font-size: 14px;
    color: var(--text-content);
    line-height: 1.75;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 卡片底部操作栏 ========== */
.card-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-light);
    margin-top: 4px;
    padding-top: 0;
}
.footer-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    position: relative;
    border-radius: 0;
}
.footer-action:hover {
    background: var(--bg-hover);
    color: var(--primary);
}
.footer-action .count {
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
}
.footer-action .action-icon {
    font-size: 15px;
    line-height: 1;
}
.footer-action.voted {
    color: var(--primary);
}
.footer-action.voted .action-icon { font-weight: 700; }
.footer-action.collected {
    color: var(--primary);
}
.footer-action.collected .action-icon { font-weight: 700; }
.footer-action + .footer-action::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--border-light);
}
.discuss-btn {
    color: var(--primary);
    font-weight: 600;
}
.discuss-btn:hover { color: var(--primary-dark); }

.action-btn {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s;
}
.action-btn:hover { color: var(--primary); }
.action-btn em {
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
}

.join-btn {
    background: var(--primary-gradient);
    color: #fff;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-btn);
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.3px;
}
.join-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(61, 188, 177, 0.30);
    color: #fff;
}
.join-btn.joined {
    background: var(--bg);
    color: var(--text-secondary);
    box-shadow: none;
    border: 1px solid var(--border);
}

.vip-float-tag {
    display: inline-block;
    margin-left: 5px;
    padding: 2px 8px;
    background: var(--vip-gold);
    color: #fff;
    font-size: 10px;
    border-radius: 10px;
    animation: vipFloat 2s ease-in-out infinite;
    font-weight: 700;
}

@keyframes vipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ========== 按钮系统 ========== */
.button,
.btn-primary {
    display: inline-block;
    padding: 10px 26px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    font-family: inherit;
    box-shadow: var(--shadow-btn);
    letter-spacing: 0.3px;
}
.button:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 188, 177, 0.35);
    color: #fff;
}
.button:active,
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    display: inline-block;
    padding: 9px 22px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    font-family: inherit;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(61, 188, 177, 0.25);
}

.btn-ghost {
    background: var(--bg);
    color: var(--text-content);
    border: 1px solid var(--border);
    padding: 9px 22px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}
.btn-ghost:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-light);
}

.btn-auth {
    background: linear-gradient(135deg, var(--auth), var(--auth-hover));
    color: #fff;
    border: none;
}
.btn-auth:hover {
    box-shadow: 0 6px 16px rgba(136, 201, 161, 0.35);
    color: #fff;
}

/* ========== 分类列表 ========== */
.circle-list {
    padding: 16px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.circle-list h3 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.circle-list ul { list-style: none; }

.circle-list li { margin-bottom: 4px; }

.circle-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--text-content);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.circle-list li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateX(3px);
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 28px 0;
    padding: 4px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    background: #fff;
    color: var(--text-content);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.25s;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(61, 188, 177, 0.30);
}

/* ========== 页面标题 ========== */
.page-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: var(--gap);
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========== 媒体网格 ========== */
.topic-media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.topic-media-grid.media-count-1 { grid-template-columns: 1fr; }
.topic-media-grid.media-count-3 { grid-template-columns: repeat(3, 1fr); }
.topic-media-grid.media-count-4,
.topic-media-grid.media-count-5,
.topic-media-grid.media-count-6 { grid-template-columns: repeat(3, 1fr); }
.topic-media-grid.media-count-7,
.topic-media-grid.media-count-8,
.topic-media-grid.media-count-9 { grid-template-columns: repeat(4, 1fr); }

.topic-media-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
}
.topic-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.topic-media-item:hover img { transform: scale(1.06); }

/* ========== 空状态 ========== */
.empty-state {
    padding: 60px 20px;
    text-align: center;
}
.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
}

/* ========== Toast 提示 ========== */
.toasted {
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    position: fixed;
    left: 50%;
    top: 76px;
    transform: translateX(-50%) translateY(-8px);
    background: var(--text-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    z-index: 999999;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
    max-width: 90vw;
}
.toasted.success {
    white-space: normal;
    max-width: min(90vw, 420px);
    text-align: center;
    line-height: 1.5;
}
.toasted.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toasted.error { background: #ef4444; }
.toasted.success { background: #10b981; }

/* ========== 圈子卡片网格 ========== */
.circles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--gap);
    padding: var(--gap) 0;
}

.circle-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
}
.circle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(61, 188, 177, 0.12);
}

.circle-card a {
    display: block;
    padding: 28px 24px;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.circle-card .circle-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 14px;
    box-shadow: 0 4px 12px rgba(61, 188, 177, 0.25);
    transition: transform 0.25s;
}
.circle-card:hover .circle-icon {
    transform: scale(1.08);
}

.circle-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--text-primary);
}

.circle-card p {
    color: var(--text-content);
    font-size: 13px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== 响应式 ========== */

/* PC 大屏 */
@media screen and (max-width: 1200px) {
    .header-search .search-field { width: 120px; }
}

/* 平板及以下：切换到单栏 */
@media screen and (max-width: 900px) {
    .content-area {
        grid-template-columns: 1fr;
        padding: 0;
        max-width: 100%;
    }

    .widget-area-right {
        display: none;
    }

    .widget-area-left {
        display: none;
    }

    .wrapper { padding: 0 16px; }
}

/* ========== 圈子详情页（circle info） ========== */
.circle-info-box {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: var(--gap);
    border: 1px solid var(--border-light);
}

.circle-info-box .circle-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: 0 4px 16px rgba(61, 188, 177, 0.30);
}

.circle-info-box h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: var(--text-primary);
}

.circle-info-box p {
    color: var(--text-content);
    margin: 0 0 15px;
    font-size: 14px;
}

.circle-stats {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 13px;
}

.circle-stats span { margin: 0 12px; }

@media (min-width: 769px) {
    .mobile-search-toggle,
    .mobile-search-bar { display: none !important; }
    .menu-toggle { display: none !important; }
}

/* ========== 户外交友主题增强 ========== */

/* 站点头部底部光影线 */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(61,188,177,0.18), rgba(91,155,213,0.14), transparent);
}

/* 卡片悬浮冷色边框 */
.topic-card:hover {
    border-color: rgba(61,188,177,0.18);
}

/* 页脚 */
.site-footer {
    border-top: none;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, rgba(61,188,177,0.20) 30%, rgba(91,155,213,0.16) 50%, rgba(61,188,177,0.20) 70%, transparent 95%);
}

/* 空状态按钮 */
.empty-state .btn-blue,
.empty-state a.btn-blue {
    background: linear-gradient(135deg, #3DBCB1, #2A9D94);
    box-shadow: 0 4px 12px rgba(61,188,177,0.25);
}

/* 筛选激活态暖阳渐变 */
.filter-tabs a.active {
    background: linear-gradient(135deg, #fff, rgba(61,188,177,0.06));
    box-shadow: 0 1px 6px rgba(61,188,177,0.10);
}

/* 热门徽标 */
.hot-badge {
    color: #5B9BD5;
    animation: hotPulse 1.5s ease-in-out infinite;
}

/* 侧边栏推荐圈子激活态 */
.circle-list-simple a.active {
    background: linear-gradient(135deg, var(--primary-light), rgba(61,188,177,0.08));
}

/* 登录推广区暖阳按钮 */
.login-promo .btn-primary {
    background: linear-gradient(135deg, #3DBCB1, #2A9D94);
}

/* 统计项hover暖色渐变 */
.stats-item:hover {
    background: linear-gradient(135deg, var(--primary-light), rgba(61,188,177,0.06));
}

/* 首页Hero横幅区域 */
.hero-banner {
    background: linear-gradient(135deg, #3DBCB1 0%, #2A9D94 50%, #1E8A81 100%);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--gap);
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.hero-banner h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.hero-banner p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.hero-stats {
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 1;
}
.hero-stat {
    text-align: center;
}
.hero-stat .num {
    font-size: 24px;
    font-weight: 800;
    display: block;
}
.hero-stat .label {
    font-size: 12px;
    opacity: 0.8;
}

/* 首页欢迎卡片 */
.welcome-card {
    background: linear-gradient(135deg, #f0faf7, #e8f4f9);
    border-radius: var(--radius);
    padding: 20px 24px;
    border: 1px solid rgba(61,188,177,0.12);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: var(--gap);
}
.welcome-card .welcome-icon {
    font-size: 36px;
    flex-shrink: 0;
}
.welcome-card h3 {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.welcome-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

* {
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

html {
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg);
    color: var(--text-primary);
    font: 15px/1.6 var(--font);
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--text-content);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; }

/* ========== Layout: 三栏布局 ========== */
.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--gap);
}

.content-area {
    margin: var(--gap) auto;
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    gap: var(--gap);
    align-items: flex-start;
}

.widget-area-right {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.widget-area-left {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.site-main {
    min-width: 0;
}

/* 单页详情使用双栏 */
.single-circle .content-area,
.single-post .content-area {
    grid-template-columns: 1fr 280px;
}

/* ========== 头部导航 ========== */
.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: 30px;
}

.site-branding {
    flex-shrink: 0;
}

.site-branding .site-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-branding .site-title a {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-navigation {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-menu li a {
    display: block;
    padding: 0 16px;
    height: var(--header-height);
    line-height: var(--header-height);
    color: var(--text-content);
    font-size: 15px;
    font-weight: 600;
    position: relative;
    transition: color 0.2s;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.nav-menu li a:hover { color: var(--primary); }

.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    color: var(--primary);
}
.nav-menu li.current-menu-item a::after,
.nav-menu li.current_page_item a::after {
    opacity: 1;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-search {
    background: var(--bg);
    border-radius: var(--radius-full);
    padding: 0 16px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}
.header-search:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px var(--primary-light);
}

.header-search .search-field {
    border: none;
    background: transparent;
    height: 36px;
    outline: none;
    font-size: 13px;
    width: 160px;
    color: var(--text-primary);
}
.header-search .search-field::placeholder {
    color: var(--text-muted);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-user .login-link {
    color: var(--text-content);
    font-weight: 600;
    font-size: 14px;
}
.header-user .login-link:hover { color: var(--primary); }

.header-user .publish-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.header-user .register-link {
    background: var(--primary-gradient);
    color: #fff;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-btn);
    transition: all 0.2s;
}
.header-user .register-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(61, 188, 177, 0.25);
    color: #fff;
}

.user-avatar img {
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.user-avatar:hover img { border-color: var(--primary); }

/* Mobile Toggle */
.menu-toggle,
.mobile-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-search-toggle {
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: var(--text-content);
}

.mobile-search-bar {
    display: none;
    padding: 0 var(--gap) 12px;
}
.mobile-search-bar.active { display: block; }

.mobile-search-bar .search-field {
    width: 100%;
    border: none;
    background: var(--bg);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-size: 15px;
    outline: none;
}
.mobile-search-bar .search-field::placeholder { color: var(--text-muted); }

/* ========== 页脚 ========== */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 40px;
}

/* ========== 卡片系统 ========== */
.box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: var(--gap);
}

/* ========== 话题卡片 ========== */
.topic-card {
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
    margin-bottom: 18px;
}

.topic-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.user-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-block .avatar img {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--border);
}

.user-block .meta .name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-block .meta .badge {
    background: var(--bg);
    color: var(--text-secondary);
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
}

.user-block .meta .time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.card-header .tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.card-body .title {
    font-size: 18px;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1.4;
}

.card-body .title a {
    color: var(--text-primary);
    transition: color 0.2s;
}
.card-body .title a:hover { color: var(--primary); }

.essence-label {
    background: linear-gradient(135deg, #5B9BD5, #3A8CCB);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

.card-body .excerpt {
    font-size: 14px;
    color: var(--text-content);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ========== 卡片底部操作栏 ========== */
.card-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-light);
}
.footer-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 8px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
    position: relative;
}
.footer-action:hover { background: var(--bg-hover); color: var(--primary); }
.footer-action .count { font-style: normal; font-size: 13px; font-weight: 600; }
.footer-action .action-icon { font-size: 16px; line-height: 1; }
.footer-action.voted { color: var(--primary); }
.footer-action.voted .action-icon { font-weight: 700; }
.footer-action.collected { color: var(--primary); }
.footer-action.collected .action-icon { font-weight: 700; }
.footer-action + .footer-action::before {
    content: '';
    position: absolute;
    left: 0;
    top: 30%;
    height: 40%;
    width: 1px;
    background: var(--border-light);
}
.discuss-btn {
    color: var(--primary);
    font-weight: 600;
}
.discuss-btn:hover { color: var(--primary-dark); }

.action-btn {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s;
}
.action-btn:hover { color: var(--primary); }
.action-btn em { font-style: normal; font-weight: 700; }

.join-btn {
    background: var(--primary-gradient);
    color: #fff;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-btn);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.join-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(61, 188, 177, 0.25);
    color: #fff;
}
.join-btn.joined {
    background: var(--bg);
    color: var(--text-secondary);
    box-shadow: none;
}

.vip-float-tag {
    display: inline-block;
    margin-left: 5px;
    padding: 2px 8px;
    background: var(--vip-gold);
    color: #fff;
    font-size: 10px;
    border-radius: 10px;
    animation: vipFloat 2s ease-in-out infinite;
    font-weight: 700;
}

@keyframes vipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ========== 按钮系统 ========== */
.button,
.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
    box-shadow: var(--shadow-btn);
}
.button:hover,
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(61, 188, 177, 0.25);
    color: #fff;
}
.button:active,
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    display: inline-block;
    padding: 9px 22px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-ghost {
    background: var(--bg);
    color: var(--text-content);
    border: 1px solid var(--border);
    padding: 9px 22px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-ghost:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-light);
}

.btn-auth {
    background: linear-gradient(135deg, var(--auth), var(--auth-hover));
    color: #fff;
    border: none;
}
.btn-auth:hover {
    box-shadow: 0 6px 16px rgba(136, 201, 161, 0.35);
    color: #fff;
}

/* ========== 分类列表 ========== */
.circle-list {
    padding: 16px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.circle-list h3 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.circle-list ul { list-style: none; }

.circle-list li { margin-bottom: 6px; }

.circle-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--text-content);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.circle-list li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 24px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    color: var(--text-content);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ========== 页面标题 ========== */
.page-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: var(--gap);
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary);
}

/* ========== 媒体网格 ========== */
.topic-media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 14px;
}
.topic-media-grid.media-count-1 { grid-template-columns: 1fr; }
.topic-media-grid.media-count-3 { grid-template-columns: repeat(3, 1fr); }
.topic-media-grid.media-count-4,
.topic-media-grid.media-count-5,
.topic-media-grid.media-count-6 { grid-template-columns: repeat(3, 1fr); }
.topic-media-grid.media-count-7,
.topic-media-grid.media-count-8,
.topic-media-grid.media-count-9 { grid-template-columns: repeat(4, 1fr); }

.topic-media-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
}
.topic-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.topic-media-item:hover img { transform: scale(1.05); }

/* ========== 空状态 ========== */
.empty-state {
    padding: 60px 20px;
    text-align: center;
}
.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
}

/* ========== Toast 提示 ========== */
.toasted {
    opacity: 0;
    transition: opacity 0.22s, transform 0.22s;
    position: fixed;
    left: 50%;
    top: 76px;
    transform: translateX(-50%) translateY(-8px);
    background: var(--text-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    z-index: 999999;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    white-space: nowrap;
    max-width: 90vw;
}
.toasted.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toasted.error { background: #ef4444; }
.toasted.success { background: #10b981; }
.toasted.success {
    white-space: normal;
    max-width: min(90vw, 420px);
    text-align: center;
    line-height: 1.5;
}

/* ========== 圈子卡片网格 ========== */
.circles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--gap);
    padding: var(--gap) 0;
}

.circle-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.circle-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.circle-card a {
    display: block;
    padding: 24px;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.circle-card .circle-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.circle-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--text-primary);
}

.circle-card p {
    color: var(--text-content);
    font-size: 13px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== 响应式 ========== */

/* PC 大屏 */
@media screen and (max-width: 1200px) {
    .header-search .search-field { width: 120px; }
}

/* 平板及以下：切换到单栏 */
@media screen and (max-width: 900px) {
    .content-area {
        grid-template-columns: 1fr;
        padding: 0;
        max-width: 100%;
    }

    .widget-area-right {
        display: none;
    }

    .widget-area-left {
        display: none;
    }

    .wrapper { padding: 0 16px; }
}

/* ========== 圈子详情页（circle info） ========== */
.circle-info-box {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: var(--gap);
}

.circle-info-box .circle-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.circle-info-box h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: var(--text-primary);
}

.circle-info-box p {
    color: var(--text-content);
    margin: 0 0 15px;
    font-size: 14px;
}

.circle-stats {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 13px;
}

.circle-stats span { margin: 0 12px; }

@media (min-width: 769px) {
    .mobile-search-toggle,
    .mobile-search-bar { display: none !important; }
    .menu-toggle { display: none !important; }
}

/* ========== 户外交友主题增强 ========== */

/* 站点头部底部暖阳渐变线 */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(61,188,177,0.15), rgba(91,155,213,0.12), transparent);
}

/* 卡片悬浮冷色边框 */
.topic-card:hover {
    border-color: rgba(61,188,177,0.12);
}

/* 页脚暖阳渐变分割线 */
.site-footer {
    border-top: none;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, rgba(61,188,177,0.15) 30%, rgba(91,155,213,0.12) 50%, rgba(61,188,177,0.15) 70%, transparent 95%);
}

/* 空状态按钮 */
.empty-state .btn-blue,
.empty-state a.btn-blue {
    background: linear-gradient(135deg, #3DBCB1, #2A9D94);
    box-shadow: 0 4px 12px rgba(61,188,177,0.25);
}

/* 筛选激活态暖阳渐变 */
.filter-tabs a.active {
    background: linear-gradient(135deg, #fff, rgba(61,188,177,0.05));
    box-shadow: 0 1px 4px rgba(61,188,177,0.10);
}

/* 热门徽标 */
.hot-badge {
    color: #5B9BD5;
    animation: hotPulse 1.5s ease-in-out infinite;
}

/* 侧边栏推荐圈子激活态 */
.circle-list-simple a.active {
    background: linear-gradient(135deg, var(--primary-light), rgba(61,188,177,0.06));
}

/* 登录推广区暖阳按钮 */
.login-promo .btn-primary {
    background: linear-gradient(135deg, #3DBCB1, #2A9D94);
}

/* 统计项hover暖色渐变 */
.stats-item:hover {
    background: linear-gradient(135deg, var(--primary-light), rgba(61,188,177,0.05));
}
