/**
 * gwye-sns.css
 * 赶蛙教育 SNS 化样式（Discuz!Q 风格）
 * 在 AIO 主题 Bootstrap 5.3.2 基础上叠加，不覆盖原有样式
 * 仅通过 .gwye- 前缀类名生效，避免污染 AIO
 * 兼容 PHP 7.4 / 现代浏览器 / 移动端
 * Version: 1.0.0
 * Author: gwye dev
 */

:root {
    /* 主色调：暖橙（契合教育温度，区别于 Discuz 蓝） */
    --gwye-primary: #FF6B35;
    --gwye-primary-dark: #E55100;
    --gwye-primary-light: #FFE0B2;
    --gwye-primary-rgb: 255, 107, 53;
    /* 强调色：青色（知识感） */
    --gwye-accent: #00B8A9;
    --gwye-accent-dark: #00897B;
    /* 功能色 */
    --gwye-success: #00C853;
    --gwye-warning: #FFB300;
    --gwye-danger: #F44336;
    --gwye-info: #2196F3;
    /* 背景 */
    --gwye-bg: #F5F6F8;
    --gwye-surface: #FFFFFF;
    --gwye-surface-alt: #FAFBFC;
    /* 文字 */
    --gwye-text: #1A1A1A;
    --gwye-text-secondary: #6B7280;
    --gwye-text-tertiary: #9CA3AF;
    /* 边框与阴影 */
    --gwye-border: rgba(0, 0, 0, 0.06);
    --gwye-border-strong: rgba(0, 0, 0, 0.12);
    --gwye-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --gwye-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --gwye-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --gwye-shadow-hover: 0 8px 24px rgba(var(--gwye-primary-rgb), 0.15);
    /* 圆角 */
    --gwye-radius-sm: 8px;
    --gwye-radius: 12px;
    --gwye-radius-lg: 16px;
    --gwye-radius-xl: 20px;
    --gwye-radius-full: 9999px;
    /* 间距 */
    --gwye-space-xs: 4px;
    --gwye-space-sm: 8px;
    --gwye-space-md: 12px;
    --gwye-space-lg: 16px;
    --gwye-space-xl: 24px;
    --gwye-space-2xl: 32px;
    /* 触摸目标（iOS HIG） */
    --gwye-touch: 44px;
    /* 动画 */
    --gwye-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --gwye-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    /* 字体 */
    --gwye-font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --gwye-font-serif: "Noto Serif SC", "STSong", "Source Han Serif SC", serif;
}

/* 深色模式：跟随系统或 AIO 的 data-bs-theme="dark" */
[data-bs-theme="dark"] {
    --gwye-bg: #0F1115;
    --gwye-surface: #1A1D23;
    --gwye-surface-alt: #21252C;
    --gwye-text: #E8EAED;
    --gwye-text-secondary: #9CA3AF;
    --gwye-text-tertiary: #6B7280;
    --gwye-border: rgba(255, 255, 255, 0.08);
    --gwye-border-strong: rgba(255, 255, 255, 0.15);
    --gwye-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    --gwye-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --gwye-shadow-hover: 0 8px 24px rgba(var(--gwye-primary-rgb), 0.25);
}

/* ============================================================
 *  1. 文章列表卡片（Discuz!Q 卡片流）
 * ============================================================ */

.gwye-feed {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gwye-space-md);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 992px) {
    .gwye-feed {
        grid-template-columns: 1fr 1fr;
    }
}

.gwye-card {
    display: flex;
    flex-direction: column;
    background: var(--gwye-surface);
    border: 1px solid var(--gwye-border);
    border-radius: var(--gwye-radius);
    box-shadow: var(--gwye-shadow-sm);
    padding: var(--gwye-space-lg);
    transition: transform var(--gwye-transition), box-shadow var(--gwye-transition),
        border-color var(--gwye-transition);
    overflow: hidden;
    position: relative;
    min-height: 220px;
}

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

.gwye-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--gwye-primary), var(--gwye-accent));
    opacity: 0;
    transition: opacity var(--gwye-transition);
}

.gwye-card:hover::before {
    opacity: 1;
}

/* 卡片头部：作者区 */
.gwye-card-head {
    display: flex;
    align-items: center;
    gap: var(--gwye-space-md);
    margin-bottom: var(--gwye-space-md);
}

.gwye-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--gwye-radius-full);
    object-fit: cover;
    border: 2px solid var(--gwye-surface);
    box-shadow: var(--gwye-shadow-sm);
    background: var(--gwye-surface-alt);
    flex-shrink: 0;
}

.gwye-avatar-sm {
    width: 32px;
    height: 32px;
}

.gwye-avatar-lg {
    width: 64px;
    height: 64px;
}

.gwye-author {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.gwye-author-name {
    font-weight: 600;
    color: var(--gwye-text);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gwye-author-name:hover {
    color: var(--gwye-primary);
}

.gwye-author-meta {
    font-size: 12px;
    color: var(--gwye-text-tertiary);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* 角色徽章 */
.gwye-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    border-radius: var(--gwye-radius-full);
    line-height: 1.4;
}

.gwye-badge-admin {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
}

.gwye-badge-writer {
    background: var(--gwye-primary-light);
    color: var(--gwye-primary-dark);
}

.gwye-badge-vip {
    background: linear-gradient(135deg, #9C27B0, #673AB7);
    color: #fff;
}

/* 关注按钮 */
.gwye-btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    min-height: 32px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gwye-primary);
    background: var(--gwye-primary-light);
    border: 1px solid transparent;
    border-radius: var(--gwye-radius-full);
    cursor: pointer;
    transition: all var(--gwye-transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.gwye-btn-follow:hover {
    background: var(--gwye-primary);
    color: #fff;
    transform: scale(1.02);
}

.gwye-btn-follow.is-following {
    color: var(--gwye-text-secondary);
    background: var(--gwye-surface-alt);
    border-color: var(--gwye-border-strong);
}

.gwye-btn-follow.is-following:hover {
    color: var(--gwye-danger);
    background: rgba(244, 67, 54, 0.08);
    border-color: var(--gwye-danger);
}

.gwye-btn-follow.is-following:hover .gwye-follow-text::before {
    content: "取消关注";
}

.gwye-btn-follow.is-following:hover .gwye-follow-text-default {
    display: none;
}

/* 卡片封面图 */
.gwye-card-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--gwye-radius);
    margin-bottom: var(--gwye-space-md);
    background: var(--gwye-surface-alt);
    transition: transform var(--gwye-transition);
}

.gwye-card:hover .gwye-card-cover {
    transform: scale(1.02);
}

.gwye-card-cover-wrap {
    overflow: hidden;
    border-radius: var(--gwye-radius);
    margin-bottom: var(--gwye-space-md);
    position: relative;
}

.gwye-card-cover-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity var(--gwye-transition);
    pointer-events: none;
}

.gwye-card:hover .gwye-card-cover-wrap::after {
    opacity: 1;
}

/* 话题页 / 圈子页 文章卡片缩略图（与首页统一比例） */
.gwye-article-cover {
    display: block;
    overflow: hidden;
    border-radius: var(--gwye-radius);
    margin-bottom: var(--gwye-space-sm);
    background: var(--gwye-surface-alt);
}
.gwye-article-cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: var(--gwye-surface-alt);
    transition: transform var(--gwye-transition);
}
.gwye-article-card:hover .gwye-article-cover img,
.gwye-feed-card:hover .gwye-article-cover img {
    transform: scale(1.03);
}

/* 卡片标题 */
.gwye-card-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gwye-text);
    margin: 0 0 var(--gwye-space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gwye-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--gwye-transition-fast);
}

.gwye-card-title a:hover {
    color: var(--gwye-primary);
}

.gwye-card-top-flag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, var(--gwye-primary), var(--gwye-primary-dark));
    border-radius: var(--gwye-radius-full);
    margin-right: 6px;
    vertical-align: middle;
}

/* 卡片摘要 */
.gwye-card-excerpt {
    color: var(--gwye-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 var(--gwye-space-md);
    flex: 1;
}

/* 卡片底部：互动按钮 */
.gwye-card-foot {
    display: flex;
    align-items: center;
    gap: var(--gwye-space-lg);
    padding-top: var(--gwye-space-md);
    border-top: 1px solid var(--gwye-border);
    margin-top: auto;
}

.gwye-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--gwye-text-secondary);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: var(--gwye-radius-sm);
    transition: all var(--gwye-transition-fast);
    cursor: pointer;
    background: transparent;
    border: none;
    line-height: 1;
    min-height: 32px;
}

.gwye-stat:hover {
    color: var(--gwye-primary);
    background: var(--gwye-primary-light);
}

.gwye-stat i {
    font-size: 16px;
}

.gwye-stat.is-active {
    color: var(--gwye-primary);
}

.gwye-stat.is-active.like {
    color: var(--gwye-danger);
}

.gwye-stat.is-active.favorite {
    color: var(--gwye-warning);
}

.gwye-stat .gwye-stat-count {
    font-variant-numeric: tabular-nums;
    min-width: 1em;
    text-align: center;
}

/* 卡片底部统计项的文字标签（阅读/评论/赞），让人一眼看懂数据含义 */
.gwye-stat .gwye-stat-label {
    font-style: normal;
    display: inline;
    font-size: 12px;
    color: var(--gwye-text-muted, #9aa0a6);
    margin-left: 1px;
    line-height: 1;
    white-space: nowrap;
}

/* 文章卡片底部的统计项轻量胶囊样式（话题页/圈子页/文章列表复用） */
.gwye-article-meta .gwye-stat,
    .gwye-card-foot .gwye-stat {
    padding: 3px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.gwye-article-meta .gwye-stat:hover,
    .gwye-card-foot .gwye-stat:hover {
    background: var(--gwye-primary-light, rgba(255, 107, 53, 0.08));
    color: var(--gwye-primary);
}

.gwye-article-meta .gwye-stat:hover .gwye-stat-label,
    .gwye-card-foot .gwye-stat:hover .gwye-stat-label {
    color: var(--gwye-primary);
}

/* 暗色主题适配 */
@media (prefers-color-scheme: dark) {
    .gwye-article-meta .gwye-stat,
    .gwye-card-foot .gwye-stat {
        background: rgba(255, 255, 255, 0.04);
    }
}

/* 移动端：数字+标签紧凑显示 */
@media (max-width: 575.98px) {
    .gwye-article-meta {
        gap: 6px;
    }
    .gwye-article-meta .gwye-stat,
    .gwye-card-foot .gwye-stat {
        padding: 2px 6px;
    }
    .gwye-stat .gwye-stat-label {
        font-size: 11px;
    }
}

.gwye-stat-spacer {
    flex: 1;
}

/* 分类标签（在卡片底部显示） */
.gwye-sort-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--gwye-accent-dark);
    background: rgba(0, 184, 169, 0.1);
    border-radius: var(--gwye-radius-full);
    text-decoration: none;
    transition: all var(--gwye-transition-fast);
}

.gwye-sort-tag:hover {
    background: var(--gwye-accent);
    color: #fff;
}

[data-bs-theme="dark"] .gwye-sort-tag {
    color: var(--gwye-accent);
}

/* ============================================================
 *  2. 文章详情页（帖子样式）
 * ============================================================ */

.gwye-article {
    background: var(--gwye-surface);
    border-radius: var(--gwye-radius-lg);
    padding: var(--gwye-space-xl);
    box-shadow: var(--gwye-shadow);
}

@media (max-width: 768px) {
    .gwye-article {
        padding: var(--gwye-space-lg);
        border-radius: 0;
    }
}

.gwye-article-head {
    margin-bottom: var(--gwye-space-xl);
    padding-bottom: var(--gwye-space-lg);
    border-bottom: 1px solid var(--gwye-border);
}

.gwye-article-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gwye-text);
    margin: var(--gwye-space-md) 0;
}

@media (max-width: 768px) {
    .gwye-article-title {
        font-size: 20px;
    }
}

.gwye-article-meta {
    display: flex;
    align-items: center;
    gap: var(--gwye-space-lg);
    flex-wrap: wrap;
    color: var(--gwye-text-secondary);
    font-size: 13px;
}

.gwye-article-meta .gwye-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 文章作者卡片（详情页突出展示） */
.gwye-author-card {
    display: flex;
    align-items: center;
    gap: var(--gwye-space-md);
    padding: var(--gwye-space-lg);
    background: var(--gwye-surface-alt);
    border-radius: var(--gwye-radius);
    margin: var(--gwye-space-xl) 0;
}

.gwye-author-card .gwye-author {
    flex: 1;
}

.gwye-author-card .gwye-author-name {
    font-size: 16px;
}

.gwye-author-stats {
    display: flex;
    gap: var(--gwye-space-lg);
    margin-top: 4px;
    font-size: 12px;
    color: var(--gwye-text-tertiary);
}

.gwye-author-stats strong {
    color: var(--gwye-text);
    font-weight: 600;
}

/* 文章正文 */
.gwye-article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gwye-text);
}

.gwye-article-body p {
    margin: var(--gwye-space-md) 0;
}

.gwye-article-body h2,
.gwye-article-body h3,
.gwye-article-body h4 {
    margin-top: var(--gwye-space-xl);
    margin-bottom: var(--gwye-space-md);
    font-weight: 600;
}

.gwye-article-body img {
    max-width: 100%;
    border-radius: var(--gwye-radius);
    margin: var(--gwye-space-md) 0;
}

.gwye-article-body a {
    color: var(--gwye-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--gwye-primary);
}

.gwye-article-body a:hover {
    background: var(--gwye-primary-light);
}

.gwye-article-body blockquote {
    border-left: 4px solid var(--gwye-primary);
    padding: var(--gwye-space-md) var(--gwye-space-lg);
    background: var(--gwye-surface-alt);
    border-radius: 0 var(--gwye-radius) var(--gwye-radius) 0;
    margin: var(--gwye-space-lg) 0;
    color: var(--gwye-text-secondary);
}

.gwye-article-body code {
    background: rgba(var(--gwye-primary-rgb), 0.08);
    color: var(--gwye-primary-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.gwye-article-body pre {
    background: var(--gwye-surface-alt);
    padding: var(--gwye-space-md);
    border-radius: var(--gwye-radius);
    overflow-x: auto;
}

[data-bs-theme="dark"] .gwye-article-body code {
    color: var(--gwye-primary-light);
}

/* 文章底部互动条 */
.gwye-action-bar {
    display: flex;
    justify-content: center;
    gap: var(--gwye-space-md);
    padding: var(--gwye-space-lg) 0;
    margin-top: var(--gwye-space-xl);
    border-top: 1px solid var(--gwye-border);
}

.gwye-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    min-height: var(--gwye-touch);
    font-size: 14px;
    font-weight: 500;
    color: var(--gwye-text-secondary);
    background: var(--gwye-surface-alt);
    border: 1px solid var(--gwye-border);
    border-radius: var(--gwye-radius-full);
    cursor: pointer;
    transition: all var(--gwye-transition);
    text-decoration: none;
    line-height: 1;
}

.gwye-action-btn:hover {
    color: var(--gwye-primary);
    background: var(--gwye-primary-light);
    border-color: var(--gwye-primary-light);
    transform: translateY(-1px);
}

.gwye-action-btn.is-active {
    color: var(--gwye-primary);
    background: var(--gwye-primary-light);
    border-color: var(--gwye-primary-light);
}

.gwye-action-btn.is-active.like {
    color: var(--gwye-danger);
    background: rgba(244, 67, 54, 0.08);
    border-color: rgba(244, 67, 54, 0.2);
}

.gwye-action-btn.is-active.favorite {
    color: var(--gwye-warning);
    background: rgba(255, 179, 0, 0.08);
    border-color: rgba(255, 179, 0, 0.2);
}

.gwye-action-btn i {
    font-size: 18px;
}

/* ============================================================
 *  3. 评论（Discuz!Q 楼中楼增强）
 * ============================================================ */

.gwye-comment-list {
    margin-top: var(--gwye-space-xl);
}

.gwye-comment-item {
    display: flex;
    gap: var(--gwye-space-md);
    padding: var(--gwye-space-md) 0;
    border-bottom: 1px solid var(--gwye-border);
}

.gwye-comment-item:last-child {
    border-bottom: none;
}

.gwye-comment-body {
    flex: 1;
    min-width: 0;
}

.gwye-comment-head {
    display: flex;
    align-items: center;
    gap: var(--gwye-space-sm);
    margin-bottom: var(--gwye-space-sm);
}

.gwye-comment-name {
    font-weight: 500;
    color: var(--gwye-text);
    font-size: 14px;
    text-decoration: none;
}

.gwye-comment-name:hover {
    color: var(--gwye-primary);
}

.gwye-comment-floor {
    font-size: 12px;
    color: var(--gwye-text-tertiary);
    background: var(--gwye-surface-alt);
    padding: 2px 8px;
    border-radius: var(--gwye-radius-full);
}

.gwye-comment-content {
    color: var(--gwye-text);
    font-size: 14px;
    line-height: 1.6;
    padding: var(--gwye-space-sm) 0;
    word-break: break-word;
}

/* @提及高亮 */
.gwye-mention {
    color: var(--gwye-accent);
    background: rgba(0, 184, 169, 0.1);
    padding: 1px 6px;
    border-radius: var(--gwye-radius-full);
    font-weight: 500;
    text-decoration: none;
}

.gwye-mention:hover {
    background: var(--gwye-accent);
    color: #fff;
}

.gwye-comment-foot {
    display: flex;
    align-items: center;
    gap: var(--gwye-space-lg);
    font-size: 12px;
    color: var(--gwye-text-tertiary);
    margin-top: var(--gwye-space-sm);
}

.gwye-comment-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--gwye-text-tertiary);
    text-decoration: none;
    padding: 4px 6px;
    border-radius: var(--gwye-radius-sm);
    transition: all var(--gwye-transition-fast);
    cursor: pointer;
    background: transparent;
    border: none;
    line-height: 1;
}

.gwye-comment-action:hover {
    color: var(--gwye-primary);
    background: var(--gwye-primary-light);
}

.gwye-comment-action.is-active {
    color: var(--gwye-danger);
}

.gwye-comment-children {
    margin-top: var(--gwye-space-sm);
    margin-left: 52px;
    padding-left: var(--gwye-space-md);
    border-left: 2px solid var(--gwye-border);
}

.gwye-comment-children .gwye-comment-item {
    padding: var(--gwye-space-sm) 0;
    border-bottom: none;
}

.gwye-comment-children .gwye-avatar {
    width: 28px;
    height: 28px;
}

/* 评论框 */
.gwye-comment-form {
    background: var(--gwye-surface);
    border: 1px solid var(--gwye-border);
    border-radius: var(--gwye-radius);
    padding: var(--gwye-space-md);
    margin-top: var(--gwye-space-lg);
    transition: border-color var(--gwye-transition-fast);
}

.gwye-comment-form:focus-within {
    border-color: var(--gwye-primary);
    box-shadow: 0 0 0 3px rgba(var(--gwye-primary-rgb), 0.1);
}

.gwye-comment-form textarea {
    width: 100%;
    min-height: 80px;
    border: none;
    background: transparent;
    resize: vertical;
    color: var(--gwye-text);
    font-size: 14px;
    font-family: var(--gwye-font-sans);
    line-height: 1.6;
    padding: var(--gwye-space-sm);
    outline: none;
}

.gwye-comment-form textarea::placeholder {
    color: var(--gwye-text-tertiary);
}

.gwye-comment-form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--gwye-space-sm);
    border-top: 1px solid var(--gwye-border);
}

.gwye-comment-tools {
    display: flex;
    gap: var(--gwye-space-sm);
}

.gwye-comment-tool {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gwye-text-tertiary);
    background: transparent;
    border: none;
    border-radius: var(--gwye-radius-sm);
    cursor: pointer;
    transition: all var(--gwye-transition-fast);
}

.gwye-comment-tool:hover {
    color: var(--gwye-primary);
    background: var(--gwye-primary-light);
}

.gwye-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    min-height: 36px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: var(--gwye-primary);
    border: none;
    border-radius: var(--gwye-radius-full);
    cursor: pointer;
    transition: all var(--gwye-transition);
    line-height: 1;
}

.gwye-btn-submit:hover {
    background: var(--gwye-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--gwye-shadow);
}

.gwye-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================================
 *  4. 顶部用户菜单（头像下拉 + 未读红点）
 * ============================================================ */

.gwye-user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--gwye-space-sm);
}

.gwye-user-trigger {
    display: flex;
    align-items: center;
    gap: var(--gwye-space-sm);
    padding: 4px 12px 4px 4px;
    background: var(--gwye-surface-alt);
    border: 1px solid var(--gwye-border);
    border-radius: var(--gwye-radius-full);
    cursor: pointer;
    transition: all var(--gwye-transition-fast);
    text-decoration: none;
    color: var(--gwye-text);
}

.gwye-user-trigger:hover {
    background: var(--gwye-primary-light);
    border-color: var(--gwye-primary-light);
}

.gwye-user-trigger .gwye-avatar {
    width: 32px;
    height: 32px;
    margin: 0;
    border-width: 1px;
}

.gwye-user-name {
    font-size: 13px;
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .gwye-user-name {
        display: none;
    }
}

.gwye-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: var(--gwye-surface);
    border: 1px solid var(--gwye-border);
    border-radius: var(--gwye-radius);
    box-shadow: var(--gwye-shadow-lg);
    padding: var(--gwye-space-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--gwye-transition);
    z-index: 1100;
}

.gwye-user-menu:hover .gwye-user-dropdown,
.gwye-user-menu:focus-within .gwye-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gwye-dropdown-header {
    display: flex;
    align-items: center;
    gap: var(--gwye-space-md);
    padding: var(--gwye-space-md);
    border-bottom: 1px solid var(--gwye-border);
    margin-bottom: var(--gwye-space-xs);
}

.gwye-dropdown-header .gwye-author-name {
    font-size: 14px;
}

.gwye-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--gwye-space-md);
    padding: 10px 12px;
    color: var(--gwye-text);
    font-size: 14px;
    text-decoration: none;
    border-radius: var(--gwye-radius-sm);
    transition: all var(--gwye-transition-fast);
    cursor: pointer;
    min-height: 40px;
}

.gwye-dropdown-item:hover {
    background: var(--gwye-primary-light);
    color: var(--gwye-primary);
}

.gwye-dropdown-item i {
    font-size: 16px;
    color: var(--gwye-text-secondary);
}

.gwye-dropdown-item:hover i {
    color: var(--gwye-primary);
}

.gwye-dropdown-divider {
    height: 1px;
    background: var(--gwye-border);
    margin: var(--gwye-space-xs) 0;
}

/* 未读消息红点 */
.gwye-badge-dot {
    display: inline-flex;
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: var(--gwye-danger);
    border-radius: var(--gwye-radius-full);
    margin-left: auto;
    line-height: 1;
}

.gwye-badge-dot:empty {
    display: none;
}

.gwye-badge-dot.pulse {
    animation: gwye-pulse 2s infinite;
}

@keyframes gwye-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(244, 67, 54, 0); }
}

/* ============================================================
 *  5. 用户主页
 * ============================================================ */

.gwye-profile {
    background: var(--gwye-surface);
    border-radius: var(--gwye-radius-lg);
    overflow: hidden;
    box-shadow: var(--gwye-shadow);
}

.gwye-profile-cover {
    height: 180px;
    background: linear-gradient(135deg, var(--gwye-primary), var(--gwye-accent));
    position: relative;
}

@media (max-width: 576px) {
    .gwye-profile-cover {
        height: 120px;
    }
}

.gwye-profile-main {
    padding: 0 var(--gwye-space-xl) var(--gwye-space-xl);
    margin-top: -48px;
    position: relative;
}

@media (max-width: 576px) {
    .gwye-profile-main {
        padding: 0 var(--gwye-space-lg) var(--gwye-space-lg);
        margin-top: -32px;
    }
}

.gwye-profile-head {
    display: flex;
    align-items: flex-end;
    gap: var(--gwye-space-lg);
    margin-bottom: var(--gwye-space-lg);
}

.gwye-profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: var(--gwye-radius-full);
    border: 4px solid var(--gwye-surface);
    box-shadow: var(--gwye-shadow);
    background: var(--gwye-surface);
    object-fit: cover;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .gwye-profile-avatar {
        width: 72px;
        height: 72px;
    }
}

.gwye-profile-info {
    flex: 1;
    padding-bottom: var(--gwye-space-sm);
}

.gwye-profile-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--gwye-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--gwye-space-sm);
}

.gwye-profile-bio {
    color: var(--gwye-text-secondary);
    margin-top: var(--gwye-space-xs);
    font-size: 14px;
}

.gwye-profile-stats {
    display: flex;
    gap: var(--gwye-space-xl);
    padding: var(--gwye-space-lg) 0;
    border-top: 1px solid var(--gwye-border);
    border-bottom: 1px solid var(--gwye-border);
    margin-bottom: var(--gwye-space-lg);
}

.gwye-profile-stat {
    text-align: center;
}

.gwye-profile-stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--gwye-text);
    font-variant-numeric: tabular-nums;
}

.gwye-profile-stat-label {
    font-size: 12px;
    color: var(--gwye-text-tertiary);
    margin-top: 2px;
}

.gwye-profile-tabs {
    display: flex;
    gap: var(--gwye-space-sm);
    border-bottom: 1px solid var(--gwye-border);
    margin-bottom: var(--gwye-space-lg);
    overflow-x: auto;
}

.gwye-tab {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--gwye-text-secondary);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all var(--gwye-transition-fast);
    white-space: nowrap;
    margin-bottom: -1px;
}

.gwye-tab:hover {
    color: var(--gwye-primary);
}

.gwye-tab.is-active {
    color: var(--gwye-primary);
    border-bottom-color: var(--gwye-primary);
    font-weight: 500;
}

/* ============================================================
 *  6. 通用工具类
 * ============================================================ */

.gwye-empty {
    text-align: center;
    padding: var(--gwye-space-2xl) var(--gwye-space-lg);
    color: var(--gwye-text-tertiary);
}

.gwye-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--gwye-border-strong);
    border-top-color: var(--gwye-primary);
    border-radius: 50%;
    animation: gwye-spin 0.8s linear infinite;
}

@keyframes gwye-spin {
    to { transform: rotate(360deg); }
}

.gwye-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--gwye-text);
    color: var(--gwye-surface);
    padding: 10px 20px;
    border-radius: var(--gwye-radius-full);
    font-size: 14px;
    box-shadow: var(--gwye-shadow-lg);
    opacity: 0;
    transition: all var(--gwye-transition);
    z-index: 2000;
    pointer-events: none;
}

.gwye-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 移动端调整 */
@media (max-width: 768px) {
    .gwye-feed {
        gap: var(--gwye-space-sm);
    }
    .gwye-card {
        padding: var(--gwye-space-md);
        min-height: auto;
    }
    .gwye-card-title {
        font-size: 15px;
    }
    .gwye-card-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .gwye-card-foot {
        gap: var(--gwye-space-sm);
        flex-wrap: wrap;
    }
    .gwye-author-meta {
        font-size: 11px;
    }
}

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
 * SNS 扩展页面样式 v1.1.0
 * 用户主页 / 话题 / 圈子 / 私信 / 通知
 * ============================================================ */

/* ---------- 通用：空状态 / 加载 / 徽章 ---------- */
.gwye-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gwye-text-muted);
}
.gwye-empty-state i.bi {
    font-size: 48px;
    color: var(--gwye-border);
    display: block;
    margin-bottom: 16px;
}
.gwye-empty-state h2,
.gwye-empty-state h3 {
    color: var(--gwye-text);
    margin-bottom: 8px;
}
.gwye-empty-state p {
    color: var(--gwye-text-muted);
    margin-bottom: 16px;
}
.gwye-empty-state-sm {
    text-align: center;
    padding: 30px 16px;
    color: var(--gwye-text-muted);
}
.gwye-empty-state-sm i.bi {
    font-size: 32px;
    color: var(--gwye-border);
    display: block;
    margin-bottom: 8px;
}
.gwye-loading {
    text-align: center;
    padding: 40px 16px;
    color: var(--gwye-text-muted);
}
.gwye-loading .spinner-border {
    margin-bottom: 12px;
}
.gwye-badge-admin,
.gwye-badge-owner,
.gwye-badge-author,
.gwye-badge-role {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    margin-left: 6px;
    vertical-align: middle;
}
.gwye-badge-admin { background: var(--gwye-primary); color: #fff; }
.gwye-badge-owner { background: var(--gwye-accent); color: #fff; }
.gwye-badge-author { background: var(--gwye-warning); color: #fff; }
.gwye-badge-role { background: var(--gwye-info); color: #fff; }

/* ---------- 用户主页 ---------- */
.gwye-page-user-home {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 0 40px;
}
.gwye-cover {
    height: 240px;
    background: linear-gradient(135deg, var(--gwye-primary), var(--gwye-accent));
    background-size: cover;
    background-position: center;
    border-radius: 0 0 16px 16px;
    position: relative;
    overflow: hidden;
}
.gwye-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}
.gwye-user-card-large {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 0 24px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}
.gwye-user-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.gwye-user-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--gwye-surface);
    background: var(--gwye-surface);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.gwye-user-avatar-wrap .gwye-badge-admin {
    position: absolute;
    bottom: 8px;
    right: 8px;
    margin: 0;
}
.gwye-user-info {
    flex: 1;
    min-width: 200px;
    padding-bottom: 8px;
}
.gwye-user-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--gwye-text);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.gwye-uid-tag {
    font-size: 12px;
    font-weight: 400;
    color: var(--gwye-text-muted);
    background: var(--gwye-bg);
    padding: 2px 8px;
    border-radius: 8px;
}
.gwye-user-bio {
    color: var(--gwye-text-secondary);
    font-size: 14px;
    margin: 0 0 6px;
    line-height: 1.6;
}
.gwye-user-meta {
    color: var(--gwye-text-muted);
    font-size: 12px;
    margin: 0;
}
.gwye-user-actions {
    display: flex;
    gap: 10px;
    padding-bottom: 8px;
    flex-wrap: wrap;
}
.gwye-btn-message,
.gwye-btn-join-circle,
.gwye-share-btn {
    background: var(--gwye-surface);
    color: var(--gwye-text);
    border: 1px solid var(--gwye-border);
}
.gwye-btn-message:hover,
.gwye-btn-join-circle:hover,
.gwye-share-btn:hover {
    background: var(--gwye-bg);
    border-color: var(--gwye-primary);
    color: var(--gwye-primary);
}

/* 统计栏 */
.gwye-stats-bar {
    display: flex;
    gap: 0;
    padding: 20px 24px;
    margin-top: 20px;
    background: var(--gwye-surface);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gwye-stat-item {
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s;
}
.gwye-stat-item:hover { opacity: 0.7; }
.gwye-stat-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--gwye-text);
    line-height: 1.2;
}
.gwye-stat-item .gwye-stat-label {
    display: block;
    font-size: 12px;
    color: var(--gwye-text-muted);
    margin-top: 4px;
}

/* Tab 导航 */
.gwye-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gwye-border);
    margin: 20px 0 0;
    padding: 0 24px;
    overflow-x: auto;
}
.gwye-tab {
    padding: 12px 20px;
    color: var(--gwye-text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all 0.2s;
}
.gwye-tab:hover { color: var(--gwye-primary); }
.gwye-tab.active {
    color: var(--gwye-primary);
    border-bottom-color: var(--gwye-primary);
}
.gwye-tab i.bi { margin-right: 6px; }

/* Tab 内容 */
.gwye-tab-content {
    padding: 20px 24px;
}
.gwye-tab-pane { display: none; }
.gwye-tab-pane.active { display: block; }

/* 用户行（关注/粉丝列表） */
.gwye-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}
.gwye-user-row:hover { background: var(--gwye-bg); }
.gwye-user-row-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.gwye-user-row-info { flex: 1; min-width: 0; }
.gwye-user-row-name {
    font-weight: 600;
    color: var(--gwye-text);
    margin-bottom: 2px;
}
.gwye-user-row-bio {
    font-size: 12px;
    color: var(--gwye-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 动态/微语列表 */
.gwye-twitter-list { display: flex; flex-direction: column; gap: 12px; }
.gwye-twitter-card {
    background: var(--gwye-surface);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gwye-twitter-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gwye-text);
    margin-bottom: 8px;
    word-break: break-word;
}
.gwye-twitter-img img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 8px;
}
.gwye-twitter-meta {
    display: flex;
    gap: 16px;
    color: var(--gwye-text-muted);
    font-size: 12px;
    margin-top: 8px;
}
.gwye-twitter-meta i.bi { margin-right: 4px; }

/* ---------- 话题页 ---------- */
.gwye-page-topic {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
.gwye-topic-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, var(--gwye-primary-light), var(--gwye-surface));
    border-radius: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.gwye-topic-icon-lg {
    width: 80px;
    height: 80px;
    background: var(--gwye-primary);
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    flex-shrink: 0;
}
.gwye-topic-info { flex: 1; min-width: 200px; }
.gwye-topic-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gwye-text);
    margin: 0 0 8px;
}
.gwye-topic-desc {
    color: var(--gwye-text-secondary);
    font-size: 14px;
    margin: 0 0 8px;
}
.gwye-topic-stats {
    display: flex;
    gap: 16px;
    color: var(--gwye-text-muted);
    font-size: 12px;
}
.gwye-topic-stats i.bi { margin-right: 4px; }
.gwye-layout-topic {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
}
.gwye-topic-main { min-width: 0; }
.gwye-topic-side { display: flex; flex-direction: column; gap: 16px; }

/* 侧栏卡片 */
.gwye-side-card {
    background: var(--gwye-surface);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gwye-side-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gwye-text);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gwye-side-count {
    background: var(--gwye-bg);
    color: var(--gwye-text-muted);
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 8px;
    font-weight: 400;
}

/* 话题标签云 */
.gwye-topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gwye-topic-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--gwye-bg);
    border-radius: 16px;
    font-size: 13px;
    color: var(--gwye-text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}
.gwye-topic-tag:hover {
    background: var(--gwye-primary);
    color: #fff;
}
.gwye-topic-count {
    margin-left: 4px;
    color: var(--gwye-text-muted);
    font-size: 11px;
}
.gwye-topic-tag:hover .gwye-topic-count { color: rgba(255,255,255,0.8); }

/* ---------- 圈子页 ---------- */
.gwye-page-circle {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
.gwye-circle-header {
    position: relative;
    background: linear-gradient(135deg, var(--gwye-accent), var(--gwye-primary));
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 32px 24px;
    margin-bottom: 24px;
    color: #fff;
    overflow: hidden;
}
.gwye-circle-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}
.gwye-circle-info {
    position: relative;
    z-index: 2;
    max-width: 600px;
}
.gwye-circle-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}
.gwye-circle-desc {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 12px;
    line-height: 1.6;
}
.gwye-circle-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.gwye-circle-stats i.bi { margin-right: 4px; }
.gwye-layout-circle {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}
.gwye-circle-main { min-width: 0; }

/* 成员网格 */
.gwye-member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 12px;
}
.gwye-member-item {
    text-align: center;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: 8px 4px;
    border-radius: 8px;
    transition: background 0.2s;
}
.gwye-member-item:hover { background: var(--gwye-bg); }
.gwye-member-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
}
.gwye-member-name {
    display: block;
    font-size: 12px;
    color: var(--gwye-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gwye-badge-owner {
    position: absolute;
    top: 4px;
    right: 4px;
    margin: 0;
    font-size: 10px;
    padding: 0 6px;
    line-height: 16px;
}

/* 推荐圈子迷你列表 */
.gwye-circle-list-mini { display: flex; flex-direction: column; gap: 8px; }
.gwye-circle-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}
.gwye-circle-mini:hover { background: var(--gwye-bg); }
.gwye-circle-mini-cover {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gwye-primary-light);
    color: var(--gwye-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.gwye-circle-mini-info { flex: 1; min-width: 0; }
.gwye-circle-mini-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gwye-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gwye-circle-mini-meta {
    font-size: 11px;
    color: var(--gwye-text-muted);
}

/* ---------- 私信中心 ---------- */
.gwye-page-message {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
.gwye-message-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: var(--gwye-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    height: calc(100vh - 140px);
    min-height: 500px;
}
.gwye-message-sessions {
    border-right: 1px solid var(--gwye-border);
    display: flex;
    flex-direction: column;
}
.gwye-message-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gwye-border);
}
.gwye-message-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--gwye-text);
}
.gwye-message-header i.bi { margin-right: 8px; color: var(--gwye-primary); }
.gwye-session-list {
    flex: 1;
    overflow-y: auto;
}
.gwye-session-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gwye-border-light);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    cursor: pointer;
}
.gwye-session-item:hover { background: var(--gwye-bg); }
.gwye-session-item.active { background: var(--gwye-primary-light); }
.gwye-session-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.gwye-session-info { flex: 1; min-width: 0; }
.gwye-session-name {
    font-weight: 600;
    color: var(--gwye-text);
    font-size: 14px;
    margin-bottom: 2px;
}
.gwye-session-preview {
    font-size: 12px;
    color: var(--gwye-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gwye-session-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.gwye-session-time {
    font-size: 11px;
    color: var(--gwye-text-muted);
}
.gwye-session-badge {
    background: var(--gwye-danger);
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
}

/* 对话区 */
.gwye-message-thread {
    display: flex;
    flex-direction: column;
    background: var(--gwye-surface-alt);
}
.gwye-thread-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gwye-border);
    background: var(--gwye-surface);
}
.gwye-thread-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.gwye-thread-name {
    font-weight: 600;
    color: var(--gwye-text);
}
.gwye-thread-link {
    font-size: 12px;
    color: var(--gwye-primary);
    text-decoration: none;
}
.gwye-thread-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gwye-message-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}
.gwye-message-bubble.mine {
    align-self: flex-end;
    background: var(--gwye-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.gwye-message-bubble.theirs {
    align-self: flex-start;
    background: var(--gwye-surface);
    color: var(--gwye-text);
    border: 1px solid var(--gwye-border);
    border-bottom-left-radius: 4px;
}
.gwye-message-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 4px;
}
.gwye-thread-input {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--gwye-border);
    background: var(--gwye-surface);
}
.gwye-thread-input textarea {
    flex: 1;
    border: 1px solid var(--gwye-border);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    resize: none;
    font-family: inherit;
}
.gwye-thread-input textarea:focus {
    outline: none;
    border-color: var(--gwye-primary);
}

/* ---------- 通知中心 ---------- */
.gwye-page-notification {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.gwye-notif-header {
    margin-bottom: 16px;
}
.gwye-notif-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gwye-text);
    margin: 0;
}
.gwye-notif-header i.bi { color: var(--gwye-primary); margin-right: 8px; }

.gwye-notif-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--gwye-border);
    margin-bottom: 16px;
    overflow-x: auto;
}
.gwye-notif-tab {
    padding: 10px 16px;
    color: var(--gwye-text-secondary);
    text-decoration: none;
    font-size: 13px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    position: relative;
    transition: all 0.2s;
}
.gwye-notif-tab:hover { color: var(--gwye-primary); }
.gwye-notif-tab.active {
    color: var(--gwye-primary);
    border-bottom-color: var(--gwye-primary);
}
.gwye-notif-badge {
    display: inline-block;
    background: var(--gwye-danger);
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 4px;
    min-width: 16px;
    text-align: center;
}

.gwye-notif-list {
    background: var(--gwye-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gwye-notif-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--gwye-border-light);
    transition: background 0.2s;
}
.gwye-notif-item:last-child { border-bottom: none; }
.gwye-notif-item:hover { background: var(--gwye-bg); }
.gwye-notif-item.unread { background: rgba(var(--gwye-primary-rgb), 0.04); }
.gwye-notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.gwye-notif-icon-comment { background: rgba(33,150,243,0.1); color: #2196F3; }
.gwye-notif-icon-like { background: rgba(244,67,54,0.1); color: #F44336; }
.gwye-notif-icon-favorite { background: rgba(255,179,0,0.1); color: #FFB300; }
.gwye-notif-icon-follow { background: rgba(0,184,169,0.1); color: #00B8A9; }
.gwye-notif-icon-mention { background: rgba(156,39,176,0.1); color: #9C27B0; }
.gwye-notif-icon-message { background: rgba(0,200,83,0.1); color: #00C853; }
.gwye-notif-icon-system { background: rgba(158,158,158,0.1); color: #9E9E9E; }

.gwye-notif-body { flex: 1; min-width: 0; }
.gwye-notif-title {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--gwye-text);
}
.gwye-notif-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}
.gwye-notif-title strong { font-weight: 600; }
.gwye-notif-action { color: var(--gwye-text-secondary); }
.gwye-notif-content {
    font-size: 13px;
    color: var(--gwye-text-secondary);
    margin-top: 4px;
    line-height: 1.5;
}
.gwye-notif-time {
    font-size: 11px;
    color: var(--gwye-text-muted);
    margin-top: 4px;
}
.gwye-notif-link {
    color: var(--gwye-text-muted);
    text-decoration: none;
    padding: 8px;
    flex-shrink: 0;
}
.gwye-notif-link:hover { color: var(--gwye-primary); }

/* ---------- 文章详情页 SNS 改造 ---------- */
.gwye-log-author-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gwye-surface);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gwye-log-author-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.gwye-log-author-info { flex: 1; min-width: 0; }
.gwye-log-author-name {
    font-weight: 600;
    color: var(--gwye-text);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.gwye-log-author-meta {
    font-size: 12px;
    color: var(--gwye-text-muted);
    margin-top: 2px;
}

/* 文章底部点赞收藏条 */
.gwye-log-actions-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    margin: 24px 0;
    background: var(--gwye-surface);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    flex-wrap: wrap;
}
.gwye-log-actions-bar .gwye-btn {
    min-width: 100px;
}

/* Discuz!Q 风格楼中楼评论（增强版） */
.gwye-comments-discuz {
    margin-top: 24px;
}

/* 评论头部 */
.gwye-comments-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gwye-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gwye-comments-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gwye-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gwye-comments-header i.bi {
    color: var(--gwye-primary);
    font-size: 20px;
}
.gwye-comments-count {
    background: linear-gradient(135deg, var(--gwye-primary), #ff8a5b);
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    line-height: 1.5;
}

/* 空状态 */
.gwye-comments-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--gwye-text-muted);
    font-size: 14px;
}
.gwye-comments-empty i.bi {
    display: block;
    font-size: 48px;
    color: var(--gwye-border);
    margin-bottom: 12px;
}

/* 评论列表 */
.gwye-comments-list {
    display: flex;
    flex-direction: column;
}

/* 单条评论 */
.gwye-comment-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gwye-border-light);
    transition: background-color 0.2s;
    border-radius: 8px;
}
.gwye-comment-item:last-child {
    border-bottom: none;
}
.gwye-comment-item:hover {
    background: rgba(255, 107, 53, 0.02);
}

/* 头像 */
.gwye-comment-avatar {
    flex-shrink: 0;
}
.gwye-comment-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gwye-border-light);
    transition: all 0.2s;
}
.gwye-comment-item:hover .gwye-comment-avatar img {
    border-color: var(--gwye-primary);
    transform: scale(1.05);
}

/* 评论主体 */
.gwye-comment-body {
    flex: 1;
    min-width: 0;
}

/* 元信息行 */
.gwye-comment-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

/* 用户名 */
.gwye-comment-name {
    font-weight: 600;
    color: var(--gwye-text);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}
.gwye-comment-name:hover {
    color: var(--gwye-primary);
}

/* 楼层号 */
.gwye-comment-floor {
    font-size: 11px;
    color: var(--gwye-text-muted);
    background: var(--gwye-bg);
    padding: 1px 8px;
    border-radius: 10px;
    font-weight: 500;
    line-height: 1.6;
}

/* 作者/管理员/角色徽章 */
.gwye-badge-author,
.gwye-badge-admin,
.gwye-badge-role {
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 10px;
    font-weight: 500;
    line-height: 1.6;
    display: inline-block;
}
.gwye-badge-author {
    background: linear-gradient(135deg, #FF6B35, #ff8a5b);
    color: #fff;
}
.gwye-badge-admin {
    background: linear-gradient(135deg, #e74c3c, #ff6b6b);
    color: #fff;
}
.gwye-badge-role {
    background: rgba(255, 107, 53, 0.1);
    color: var(--gwye-primary);
}

/* 时间 */
.gwye-comment-time {
    font-size: 12px;
    color: var(--gwye-text-muted);
    margin-left: auto;
}

/* 评论内容 */
.gwye-comment-content {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gwye-text);
    word-break: break-word;
    padding: 4px 0;
}
.gwye-comment-content img {
    max-width: 100%;
    border-radius: 6px;
}
.gwye-comment-content a {
    color: var(--gwye-primary);
    text-decoration: none;
}
.gwye-comment-content a:hover {
    text-decoration: underline;
}

/* 操作按钮 */
.gwye-comment-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}
.gwye-comment-item:hover .gwye-comment-actions {
    opacity: 1;
}
.gwye-comment-actions .gwye-btn-link {
    background: none;
    border: none;
    color: var(--gwye-text-muted);
    font-size: 12px;
    padding: 2px 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.gwye-comment-actions .gwye-btn-link:hover {
    color: var(--gwye-primary);
}
.gwye-comment-actions .gwye-comment-like.is-active {
    color: var(--gwye-danger);
}
.gwye-comment-actions .gwye-comment-like.is-active i.bi::before {
    content: "\F5E1"; /* bi-heart-fill */
}

/* 子评论（楼中楼） */
.gwye-comment-children {
    margin-top: 12px;
    padding-left: 16px;
    margin-left: 12px;
    border-left: 2px solid var(--gwye-border-light);
    display: flex;
    flex-direction: column;
    gap: 0;
}
.gwye-comment-children .gwye-comment-item {
    padding: 10px 0;
    border-bottom: none;
}
.gwye-comment-children .gwye-comment-avatar img {
    width: 32px;
    height: 32px;
}
.gwye-comment-children .gwye-comment-name {
    font-size: 13px;
}
.gwye-comment-children .gwye-comment-content {
    font-size: 13px;
}
.gwye-comment-children .gwye-comment-actions {
    gap: 12px;
}

/* 分页 */
.gwye-comments-pagination {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gwye-border-light);
    display: flex;
    justify-content: center;
}
.gwye-comments-pagination .pagination a,
.gwye-comments-pagination a {
    color: var(--gwye-text-muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 13px;
}
.gwye-comments-pagination .pagination a:hover,
.gwye-comments-pagination a:hover {
    background: var(--gwye-primary-light);
    color: var(--gwye-primary);
}

/* === 评论输入框 SNS 风格美化 === */
.article-comment .comment-post-box > .text-center.aio-h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gwye-text);
    margin-bottom: 16px;
}
.article-comment .comment-post {
    background: var(--gwye-surface, #fff);
    border: 1px solid var(--gwye-border-light, #e8e8e8);
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.article-comment .comment-post:focus-within {
    border-color: var(--gwye-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}
.article-comment .comment-form {
    width: 100%;
}
.article-comment .comment-form-head {
    gap: 8px;
    margin-bottom: 10px;
}
.article-comment .input-box {
    flex: 1;
    border: 1px solid var(--gwye-border-light, #e8e8e8);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.article-comment .input-box:focus-within {
    border-color: var(--gwye-primary);
}
.article-comment .input-box input {
    width: 100%;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    background: transparent;
    outline: none;
    color: var(--gwye-text, #333);
}
.article-comment .input-box input::placeholder {
    color: var(--gwye-text-muted, #999);
}
.article-comment .comment-form-body {
    position: relative;
}
.article-comment .comment-form-body textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid var(--gwye-border-light, #e8e8e8);
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--gwye-text, #333);
    background: transparent;
    font-family: inherit;
}
.article-comment .comment-form-body textarea:focus {
    border-color: var(--gwye-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}
.article-comment .comment-form-body textarea::placeholder {
    color: var(--gwye-text-muted, #999);
}
.article-comment .comment-form-body-foot {
    margin-top: 10px;
    align-items: center;
}
.article-comment .comment-submit {
    background: linear-gradient(135deg, var(--gwye-primary), #ff8a5b);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.article-comment .comment-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.article-comment .comment-cancle {
    color: var(--gwye-text-muted, #999);
    text-decoration: none;
    font-size: 13px;
}
.article-comment .comment-post-code {
    border-radius: 8px;
    overflow: hidden;
}
.article-comment .comment-post-code input {
    padding: 6px 10px;
    font-size: 14px;
    border: none;
    outline: none;
}
.article-comment .comment-post-code img {
    height: 36px;
}


/* ---------- 评论区补充：移动端操作按钮可见 + 登录提示美化 ---------- */
@media (max-width: 768px) {
    .gwye-comment-actions {
        opacity: 1;
    }
    .gwye-comment-children {
        padding-left: 10px;
        margin-left: 8px;
    }
    .gwye-comment-avatar img {
        width: 36px;
        height: 36px;
    }
    .gwye-comment-children .gwye-comment-avatar img {
        width: 28px;
        height: 28px;
    }
}

/* 未登录评论提示 */
.article-comment .comment-post-box {
    margin-bottom: 20px;
}
.article-comment .comment-post-box > .text-center.text-muted {
    padding: 24px;
    background: var(--gwye-surface, #fff);
    border-radius: 12px;
    color: var(--gwye-text-muted, #999);
}
.article-comment .comment-post-box > .text-center.text-muted a {
    color: var(--gwye-primary);
    text-decoration: none;
    font-weight: 500;
}
.article-comment .comment-post-box > .text-center.text-muted a:hover {
    text-decoration: underline;
}

/* 评论表单响应式 */
@media (max-width: 768px) {
    .article-comment .comment-form-head {
        flex-direction: column !important;
    }
    .article-comment .input-box {
        width: 100%;
    }
}

/* ---------- 顶部导航图标按钮（铃铛/私信） ---------- */
.gwye-nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--gwye-text-secondary);
    text-decoration: none;
    position: relative;
    transition: all 0.2s;
    margin-right: 4px;
}
.gwye-nav-icon-btn:hover {
    background: var(--gwye-bg);
    color: var(--gwye-primary);
}
.gwye-nav-icon-btn i.bi {
    font-size: 18px;
}
.gwye-nav-notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--gwye-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1.5px solid var(--gwye-surface);
}
.gwye-nav-notif-badge:empty { display: none; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 768px) {
    .gwye-cover { height: 160px; }
    .gwye-user-card-large {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px;
        margin-top: -50px;
    }
    .gwye-user-avatar-lg { width: 90px; height: 90px; }
    .gwye-user-actions { width: 100%; }
    .gwye-stats-bar { padding: 16px; flex-wrap: wrap; }
    .gwye-stat-item { flex-basis: 50%; }
    .gwye-tabs { padding: 0 16px; }
    .gwye-tab-content { padding: 16px; }

    .gwye-layout-topic,
    .gwye-layout-circle {
        grid-template-columns: 1fr;
    }
    .gwye-topic-side,
    .gwye-circle-side {
        order: 2;
    }

    .gwye-message-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    .gwye-message-sessions {
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--gwye-border);
    }
    .gwye-message-thread {
        min-height: 400px;
    }
    .gwye-message-bubble { max-width: 85%; }

    .gwye-log-actions-bar {
        flex-direction: column;
        gap: 8px;
    }
    .gwye-log-actions-bar .gwye-btn { width: 100%; }
}

/* ============================================================
 * v1.2.0 认证徽章体系（借鉴 Discuz!Q 认证 + 微博认证）
 * 4 种类型：personal(蓝V) / org(金V) / expert(紫V) / vip(橙V)
 * ============================================================ */
.gwye-verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    vertical-align: middle;
    margin-left: 4px;
    padding: 1px 5px;
    border-radius: var(--gwye-radius-full);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    cursor: help;
    transition: transform .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}
.gwye-verify-badge i {
    font-size: 13px;
}
.gwye-verify-badge:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.gwye-verify-badge .gwye-verify-name {
    font-size: 11px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gwye-verify-personal { background: linear-gradient(135deg, #2196F3, #1976D2); }
.gwye-verify-org      { background: linear-gradient(135deg, #FF9800, #F57C00); }
.gwye-verify-expert   { background: linear-gradient(135deg, #9C27B0, #7B1FA2); }
.gwye-verify-vip      { background: linear-gradient(135deg, #FF6B35, #E55100); }

/* 认证徽章在大标题里的适配 */
.gwye-user-name .gwye-verify-badge {
    font-size: 12px;
    padding: 2px 7px;
}
.gwye-user-name .gwye-verify-badge i { font-size: 14px; }

/* ============================================================
 * 圈子公告卡 + 成员动态流样式
 * ============================================================ */
.gwye-circle-notice {
    background: var(--gwye-surface);
    border-radius: var(--gwye-radius);
    box-shadow: var(--gwye-shadow-sm);
    margin-bottom: var(--gwye-space-lg);
    overflow: hidden;
    border: 1px solid var(--gwye-border);
}
.gwye-circle-notice-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--gwye-primary-light), #FFF3E0);
    border-bottom: 1px solid var(--gwye-border);
    font-weight: 600;
    font-size: 14px;
    color: var(--gwye-primary-dark);
}
.gwye-circle-notice-head i { font-size: 16px; }
.gwye-circle-notice-body { padding: 14px 16px; }
.gwye-circle-owner {
    display: flex;
    align-items: center;
    gap: 12px;
}
.gwye-circle-owner img {
    width: 44px;
    height: 44px;
    border-radius: var(--gwye-radius-full);
    object-fit: cover;
    border: 2px solid var(--gwye-primary-light);
}
.gwye-circle-owner-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--gwye-text);
    display: flex;
    align-items: center;
    gap: 2px;
}
.gwye-circle-owner-meta {
    font-size: 12px;
    color: var(--gwye-text-secondary);
    margin-top: 2px;
}

.gwye-feed-section { margin-bottom: var(--gwye-space-lg); }
.gwye-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gwye-text);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gwye-primary-light);
}
.gwye-section-title i { color: var(--gwye-primary); font-size: 18px; }

/* ============================================================
 * 骨架屏加载（AJAX 加载时的占位）
 * ============================================================ */
.gwye-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: gwye-skeleton-loading 1.4s ease infinite;
    border-radius: var(--gwye-radius-sm);
}
@keyframes gwye-skeleton-loading {
    0%   { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}
.gwye-skeleton-card {
    padding: 16px;
    background: var(--gwye-surface);
    border-radius: var(--gwye-radius);
    margin-bottom: 12px;
    box-shadow: var(--gwye-shadow-sm);
}
.gwye-skeleton-line {
    height: 14px;
    margin-bottom: 8px;
}
.gwye-skeleton-line:last-child { width: 60%; }
.gwye-skeleton-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--gwye-radius-full);
    margin-bottom: 12px;
}

/* ============================================================
 * 空状态增强
 * ============================================================ */
.gwye-empty-soft {
    padding: 48px 24px;
    text-align: center;
}
.gwye-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: var(--gwye-radius-full);
    background: var(--gwye-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gwye-empty-icon i {
    font-size: 32px;
    color: var(--gwye-primary);
}
.gwye-empty-soft h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gwye-text);
    margin: 0 0 6px;
}
.gwye-empty-soft p {
    font-size: 13px;
    color: var(--gwye-text-secondary);
    margin: 0;
}

/* ============================================================
 * 微交互增强：卡片 hover / 按钮交互
 * ============================================================ */
.gwye-article-card,
.gwye-feed-card {
    transition: transform .2s ease, box-shadow .2s ease;
}
.gwye-article-card:hover,
.gwye-feed-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--gwye-shadow-lg);
}
.gwye-article-card:hover .gwye-article-title a,
.gwye-feed-card:hover .gwye-article-title a {
    color: var(--gwye-primary);
}

.gwye-btn {
    transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.gwye-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}
.gwye-btn:active:not(:disabled) {
    transform: translateY(0);
}
.gwye-btn-primary:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(var(--gwye-primary-rgb), .35);
}
.gwye-btn.is-active .action-text,
.gwye-btn-like.is-active i,
.gwye-btn-favorite.is-active i {
    color: var(--gwye-primary);
}
.gwye-btn-like.is-active,
.gwye-btn-favorite.is-active {
    background: var(--gwye-primary-light);
    border-color: var(--gwye-primary);
}

/* 点赞心跳动画 */
.gwye-btn-like.is-active i {
    animation: gwye-heart-pop .35s ease;
}
@keyframes gwye-heart-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.3); }
    70%  { transform: scale(.95); }
    100% { transform: scale(1); }
}

/* ============================================================
 * 成员网格美化
 * ============================================================ */
.gwye-member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.gwye-member-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 6px;
    border-radius: var(--gwye-radius-sm);
    transition: background .15s ease;
    position: relative;
}
.gwye-member-item:hover {
    background: var(--gwye-surface-alt);
}
.gwye-member-item img {
    width: 44px;
    height: 44px;
    border-radius: var(--gwye-radius-full);
    object-fit: cover;
    border: 2px solid var(--gwye-border);
    margin-bottom: 6px;
}
.gwye-member-name {
    font-size: 12px;
    color: var(--gwye-text);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gwye-badge-owner {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: var(--gwye-radius-full);
    background: var(--gwye-accent);
    color: #fff;
}

/* ============================================================
 * 话题页美化增强
 * ============================================================ */
.gwye-topic-header {
    position: relative;
    overflow: hidden;
}
.gwye-topic-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--gwye-primary-light), transparent 70%);
    opacity: .5;
    pointer-events: none;
}
.gwye-topic-icon-lg {
    background: linear-gradient(135deg, var(--gwye-primary), var(--gwye-primary-dark));
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: var(--gwye-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(var(--gwye-primary-rgb), .3);
}
.gwye-topic-tag {
    transition: transform .15s ease, background .15s ease;
}
.gwye-topic-tag:hover {
    transform: translateY(-1px);
    background: var(--gwye-primary-light);
    color: var(--gwye-primary-dark);
}



/* 传统列表卡片（首页大图/侧边栏/文章列表）的统计项也加胶囊样式，与 SNS 卡片统一 */
.aio-list-split-dot li .gwye-stat,
.box-information .gwye-stat,
.field-views .gwye-stat,
.field-comnum .gwye-stat {
    padding: 3px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.aio-list-split-dot li .gwye-stat:hover,
.box-information .gwye-stat:hover,
.field-views .gwye-stat:hover,
.field-comnum .gwye-stat:hover {
    background: var(--gwye-primary-light, rgba(255, 107, 53, 0.08));
    color: var(--gwye-primary);
}

.aio-list-split-dot li .gwye-stat:hover .gwye-stat-label,
.box-information .gwye-stat:hover .gwye-stat-label,
.field-views .gwye-stat:hover .gwye-stat-label,
.field-comnum .gwye-stat:hover .gwye-stat-label {
    color: var(--gwye-primary);
}

/* 移动端紧凑 */
@media (max-width: 575.98px) {
    .aio-list-split-dot li .gwye-stat,
    .box-information .gwye-stat,
    .field-views .gwye-stat,
    .field-comnum .gwye-stat {
        padding: 2px 6px;
    }
}

/* === 文章内容页：段落首行缩进4字符（符合中文阅读习惯） === */
.article-content > p {
    text-indent: 2em;
}
/* 不缩进：嵌套在引用块、列表项中的段落 */
.article-content blockquote > p,
.article-content li > p,
.article-content td > p {
    text-indent: 0;
}


/* ============================================================
   圈子模块样式（赶蛙教育 SNS 增强 - Discuz!Q 风格）
   ============================================================ */

/* --- 通用按钮 --- */
.gwye-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border: none; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; transition: all .2s; line-height: 1.5; }
.gwye-btn-primary { background: #FF6B35; color: #fff; }
.gwye-btn-primary:hover { background: #e55a2b; color: #fff; }
.gwye-btn-outline { background: transparent; color: #FF6B35; border: 1px solid #FF6B35; }
.gwye-btn-outline:hover { background: #FF6B35; color: #fff; }
.gwye-btn-danger { background: #fee; color: #e74c3c; border: 1px solid #fcc; }
.gwye-btn-danger:hover { background: #e74c3c; color: #fff; }
.gwye-btn-sm { padding: 4px 10px; font-size: 12px; }
.gwye-btn-disabled { background: #e0e0e0; color: #999; cursor: not-allowed; }
.gwye-badge-num { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; padding: 0 6px; background: #e74c3c; color: #fff; border-radius: 9px; font-size: 11px; font-weight: 700; text-align: center; }

/* --- 面包屑 --- */
.gwye-breadcrumb { display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 14px; color: #999; flex-wrap: wrap; }
.gwye-breadcrumb a { color: #FF6B35; text-decoration: none; }
.gwye-breadcrumb a:hover { text-decoration: underline; }
.gwye-breadcrumb .bi { font-size: 12px; }

/* --- 分页 --- */
.gwye-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }
.gwye-page-btn { padding: 8px 20px; border: 1px solid #FF6B35; color: #FF6B35; border-radius: 8px; text-decoration: none; font-size: 14px; transition: all .2s; }
.gwye-page-btn:hover { background: #FF6B35; color: #fff; }
.gwye-page-current { color: #666; font-size: 14px; }

/* --- 模态框 --- */
.gwye-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.gwye-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.gwye-modal-box { position: relative; background: #fff; border-radius: 12px; width: 90%; max-width: 480px; max-height: 85vh; overflow-y: auto; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.gwye-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #f0f0f0; }
.gwye-modal-head h3 { margin: 0; font-size: 18px; font-weight: 600; }
.gwye-modal-close { background: none; border: none; font-size: 20px; color: #999; cursor: pointer; padding: 4px; }
.gwye-modal-close:hover { color: #333; }
.gwye-modal-body { padding: 20px 24px; }
.gwye-modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }

/* --- 表单 --- */
.gwye-form-group { margin-bottom: 16px; }
.gwye-form-group label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: #333; }
.gwye-required { color: #e74c3c; }
.gwye-form-group input[type="text"], .gwye-form-group textarea, .gwye-form-group select { width: 100%; padding: 10px 12px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 14px; font-family: inherit; transition: border-color .2s; box-sizing: border-box; }
.gwye-form-group input:focus, .gwye-form-group textarea:focus, .gwye-form-group select:focus { border-color: #FF6B35; outline: none; }
.gwye-form-actions { display: flex; align-items: center; gap: 12px; }
.gwye-form-msg { font-size: 13px; color: #27ae60; }
.gwye-form-msg.error { color: #e74c3c; }

/* --- 圈子广场页 --- */
.gwye-page-circle-list { max-width: 1100px; margin: 0 auto; padding: 20px 16px 60px; }
.gwye-circle-list-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.gwye-page-title { font-size: 24px; font-weight: 700; margin: 0; color: #222; }
.gwye-page-subtitle { color: #999; margin: 6px 0 0; font-size: 14px; }
.gwye-category-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.gwye-category-tab { padding: 6px 16px; border-radius: 20px; background: #f5f5f5; color: #666; font-size: 14px; text-decoration: none; transition: all .2s; }
.gwye-category-tab.active, .gwye-category-tab:hover { background: #FF6B35; color: #fff; }
.gwye-circle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gwye-circle-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; text-decoration: none; color: inherit; display: block; }
.gwye-circle-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.gwye-circle-card-cover { height: 100px; background: linear-gradient(135deg, #FF6B35, #f7931e); background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.gwye-circle-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.15); }
.gwye-circle-card-icon { font-size: 40px; color: #fff; font-weight: 700; z-index: 1; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.gwye-circle-card-body { padding: 16px; }
.gwye-circle-card-name { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: #222; }
.gwye-circle-card-desc { font-size: 13px; color: #999; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gwye-circle-card-meta { display: flex; gap: 12px; font-size: 13px; color: #999; }
.gwye-circle-card-meta i { margin-right: 4px; }
.gwye-circle-card-tag { display: inline-block; padding: 2px 10px; background: #fff5f0; color: #FF6B35; border-radius: 10px; font-size: 12px; margin-top: 8px; }

/* --- 圈子详情页 --- */
.gwye-page-circle { max-width: 1100px; margin: 0 auto; padding: 0 16px 60px; }
.gwye-circle-header { position: relative; background: linear-gradient(135deg, #FF6B35, #f7931e); background-size: cover; background-position: center; border-radius: 0 0 16px 16px; padding: 40px 24px 24px; margin: 0 -16px 24px; }
.gwye-circle-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.25); border-radius: 0 0 16px 16px; }
.gwye-circle-info { position: relative; z-index: 1; color: #fff; }
.gwye-circle-name { font-size: 28px; font-weight: 700; margin: 0 0 8px; text-shadow: 0 2px 4px rgba(0,0,0,.3); }
.gwye-circle-desc { font-size: 14px; opacity: .9; margin: 0 0 16px; max-width: 600px; }
.gwye-circle-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; font-size: 14px; }
.gwye-circle-stats span { display: inline-flex; align-items: center; gap: 4px; }
.gwye-circle-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gwye-circle-actions .gwye-btn-primary { background: #fff; color: #FF6B35; }
.gwye-circle-actions .gwye-btn-primary:hover { background: #f5f5f5; }
.gwye-circle-actions .gwye-btn-outline { background: rgba(255,255,255,.2); color: #fff; border-color: #fff; }
.gwye-circle-actions .gwye-btn-outline:hover { background: #fff; color: #FF6B35; }

.gwye-layout-circle { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.gwye-circle-main { min-width: 0; }
.gwye-circle-side { display: flex; flex-direction: column; gap: 16px; }
.gwye-side-card { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.gwye-side-title { font-size: 15px; font-weight: 600; margin: 0 0 12px; color: #333; display: flex; align-items: center; gap: 6px; }
.gwye-side-count { background: #fff5f0; color: #FF6B35; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 500; }
.gwye-side-more { display: block; text-align: center; margin-top: 12px; color: #FF6B35; font-size: 13px; text-decoration: none; }
.gwye-side-more:hover { text-decoration: underline; }

.gwye-circle-owner-box { display: flex; align-items: center; gap: 12px; }
.gwye-circle-owner-box img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.gwye-circle-owner-name { font-weight: 600; color: #333; text-decoration: none; font-size: 14px; }
.gwye-circle-owner-name:hover { color: #FF6B35; }
.gwye-circle-owner-meta { font-size: 12px; color: #999; margin-top: 2px; }

.gwye-member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gwye-member-item { text-align: center; text-decoration: none; color: inherit; position: relative; }
.gwye-member-item img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-bottom: 4px; }
.gwye-member-name { display: block; font-size: 12px; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gwye-badge-owner, .gwye-badge-admin { position: absolute; top: -2px; right: 50%; transform: translateX(20px); background: #FF6B35; color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 8px; white-space: nowrap; }
.gwye-badge-admin { background: #9C27B0; }

.gwye-circle-list-mini { display: flex; flex-direction: column; gap: 10px; }
.gwye-circle-mini { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; padding: 8px; border-radius: 8px; transition: background .2s; }
.gwye-circle-mini:hover { background: #f9f9f9; }
.gwye-circle-mini-cover { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, #FF6B35, #f7931e); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.gwye-circle-mini-name { font-size: 14px; font-weight: 500; color: #333; }
.gwye-circle-mini-meta { font-size: 12px; color: #999; }

/* --- 发帖表单 --- */
.gwye-circle-post-form-wrap { margin-bottom: 20px; }
.gwye-circle-post-form { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); border: 1px solid #FF6B35; }
.gwye-circle-post-form h4 { margin: 0 0 16px; font-size: 16px; color: #FF6B35; }
.gwye-post-input { width: 100%; padding: 10px 12px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 15px; margin-bottom: 12px; box-sizing: border-box; font-family: inherit; }
.gwye-post-input:focus { border-color: #FF6B35; outline: none; }
.gwye-post-textarea { width: 100%; padding: 10px 12px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 14px; resize: vertical; min-height: 100px; box-sizing: border-box; font-family: inherit; }
.gwye-post-textarea:focus { border-color: #FF6B35; outline: none; }
.gwye-post-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }

/* --- 帖子卡片 --- */
.gwye-feed-section { margin-bottom: 24px; }
.gwye-section-title { font-size: 16px; font-weight: 600; margin: 0 0 16px; color: #333; display: flex; align-items: center; gap: 6px; }
.gwye-circle-posts { display: flex; flex-direction: column; gap: 16px; }
.gwye-circle-post-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: box-shadow .2s; }
.gwye-circle-post-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.gwye-circle-post-head { margin-bottom: 12px; }
.gwye-circle-post-author { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.gwye-avatar-sm { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.gwye-avatar-md { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.gwye-circle-post-name { font-weight: 600; font-size: 14px; color: #333; display: flex; align-items: center; gap: 4px; }
.gwye-circle-post-meta { display: flex; gap: 12px; font-size: 12px; color: #999; margin-top: 2px; }
.gwye-time { color: #999; font-size: 12px; }
.gwye-circle-post-title { font-size: 16px; font-weight: 600; margin: 8px 0 12px; }
.gwye-circle-post-title a { color: #333; text-decoration: none; }
.gwye-circle-post-title a:hover { color: #FF6B35; }
.gwye-circle-post-images { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.gwye-circle-post-images img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; }
.gwye-circle-post-meta { display: flex; gap: 16px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.gwye-circle-post-meta .gwye-stat { text-decoration: none; color: #999; font-size: 13px; display: inline-flex; align-items: center; gap: 3px; }
.gwye-circle-post-meta .gwye-stat:hover { color: #FF6B35; }

/* --- 帖子详情页 --- */
.gwye-page-circle-post { max-width: 800px; margin: 0 auto; padding: 0 16px 60px; }
.gwye-circle-post-detail { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.06); margin-bottom: 24px; }
.gwye-circle-post-detail-head { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.gwye-circle-post-detail-title { font-size: 22px; font-weight: 700; margin: 0 0 16px; color: #222; line-height: 1.4; }
.gwye-circle-post-detail-content { font-size: 15px; line-height: 1.8; color: #333; white-space: pre-wrap; word-break: break-word; }
.gwye-circle-post-detail-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.gwye-post-image-item { display: block; border-radius: 8px; overflow: hidden; }
.gwye-post-image-item img { width: 100%; height: 200px; object-fit: cover; transition: transform .2s; }
.gwye-post-image-item:hover img { transform: scale(1.05); }
.gwye-circle-post-actions { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.gwye-btn-like { background: none; border: 1px solid #e0e0e0; padding: 8px 20px; border-radius: 20px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: #666; font-size: 14px; transition: all .2s; }
.gwye-btn-like:hover { border-color: #FF6B35; color: #FF6B35; }
.gwye-btn-like.active { background: #fff0eb; border-color: #FF6B35; color: #FF6B35; }
.gwye-btn-like.active .bi { color: #FF6B35; }
.gwye-btn-comment-jump { color: #666; text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.gwye-btn-comment-jump:hover { color: #FF6B35; }

/* --- 评论区 --- */
.gwye-circle-comments { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.gwye-circle-comment-form { margin-bottom: 24px; }
.gwye-circle-comment-form-inner { background: #f9f9f9; border-radius: 8px; padding: 12px; }
.gwye-circle-comment-form-inner textarea { width: 100%; border: 1px solid #e0e0e0; border-radius: 8px; padding: 10px; font-size: 14px; resize: vertical; min-height: 60px; box-sizing: border-box; font-family: inherit; }
.gwye-circle-comment-form-inner textarea:focus { border-color: #FF6B35; outline: none; }
.gwye-circle-comment-form-hint { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #999; margin: 8px 0; }
.gwye-circle-comment-form-hint button { background: none; border: none; color: #999; cursor: pointer; padding: 0; }
.gwye-circle-comment-form-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.gwye-circle-comment-login-hint { text-align: center; padding: 20px; color: #999; background: #f9f9f9; border-radius: 8px; margin-bottom: 16px; }
.gwye-circle-comment-login-hint a { color: #FF6B35; }

.gwye-circle-comment-list { display: flex; flex-direction: column; gap: 0; }
.gwye-circle-comment-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f5f5f5; }
.gwye-circle-comment-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.gwye-circle-comment-body { flex: 1; min-width: 0; }
.gwye-circle-comment-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.gwye-circle-comment-name { font-weight: 600; font-size: 14px; color: #333; text-decoration: none; }
.gwye-circle-comment-name:hover { color: #FF6B35; }
.gwye-comment-role { font-size: 11px; padding: 1px 6px; border-radius: 8px; font-weight: 500; }
.gwye-comment-role.admin { background: #FF6B35; color: #fff; }
.gwye-comment-role.editor { background: #9C27B0; color: #fff; }
.gwye-circle-comment-time { color: #bbb; font-size: 12px; }
.gwye-circle-comment-content { font-size: 14px; line-height: 1.6; color: #333; word-break: break-word; }
.gwye-circle-comment-actions { margin-top: 6px; }
.gwye-comment-reply-btn { background: none; border: none; color: #999; font-size: 13px; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 4px; }
.gwye-comment-reply-btn:hover { color: #FF6B35; }
.gwye-circle-comment-children { margin-top: 12px; margin-left: 24px; padding-left: 16px; border-left: 2px solid #f0f0f0; }
.gwye-circle-comment-children .gwye-circle-comment-item { padding: 12px 0; }
.gwye-circle-comment-children .gwye-circle-comment-avatar img { width: 32px; height: 32px; }

/* --- 管理后台 --- */
.gwye-page-circle-admin { max-width: 900px; margin: 0 auto; padding: 0 16px 60px; }
.gwye-admin-section { background: #fff; border-radius: 12px; padding: 20px 24px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.gwye-admin-section-title { font-size: 16px; font-weight: 600; margin: 0 0 16px; color: #333; display: flex; align-items: center; gap: 8px; }
.gwye-admin-list { display: flex; flex-direction: column; gap: 0; }
.gwye-admin-pending-item, .gwye-admin-member-item, .gwye-admin-post-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f5f5f5; gap: 12px; flex-wrap: wrap; }
.gwye-admin-pending-item:last-child, .gwye-admin-member-item:last-child, .gwye-admin-post-item:last-child { border-bottom: none; }
.gwye-admin-member-info { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.gwye-admin-member-info img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.gwye-admin-member-name { font-weight: 500; font-size: 14px; color: #333; display: block; }
.gwye-admin-pending-actions, .gwye-admin-member-actions, .gwye-admin-post-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gwye-admin-post-info { display: flex; flex-direction: column; gap: 4px; }
.gwye-admin-post-info a { color: #333; text-decoration: none; font-size: 14px; }
.gwye-admin-post-info a:hover { color: #FF6B35; }
.gwye-empty-soft-text { padding: 24px; text-align: center; color: #999; }
.gwye-empty-soft-text i { margin-right: 4px; }
.gwye-admin-settings { max-width: 500px; }

/* --- 空状态 --- */
.gwye-empty-state { text-align: center; padding: 60px 20px; color: #999; }
.gwye-empty-state .gwye-empty-icon { font-size: 48px; margin-bottom: 16px; color: #ddd; }
.gwye-empty-state h4, .gwye-empty-state h2 { margin: 0 0 8px; color: #666; }
.gwye-empty-state p { margin: 0 0 16px; font-size: 14px; }
.gwye-empty-soft { padding: 40px 20px; }
.gwye-empty-soft .gwye-empty-icon { font-size: 36px; margin-bottom: 12px; }
.gwye-empty-soft p { margin: 0; }

/* --- 响应式 --- */
@media (max-width: 768px) {
    .gwye-layout-circle { grid-template-columns: 1fr; }
    .gwye-circle-side { order: -1; }
    .gwye-member-grid { grid-template-columns: repeat(5, 1fr); }
    .gwye-circle-grid { grid-template-columns: 1fr; }
    .gwye-circle-name { font-size: 22px; }
    .gwye-circle-stats { gap: 12px; font-size: 13px; }
    .gwye-circle-post-detail-images { grid-template-columns: 1fr 1fr; }
    .gwye-circle-post-images img { width: 100px; height: 100px; }
    .gwye-admin-pending-item, .gwye-admin-member-item, .gwye-admin-post-item { flex-direction: column; align-items: flex-start; }
    .gwye-modal-box { width: 95%; }
}

/* === 成员私信按钮 === */
.gwye-member-item > a { display: block; text-decoration: none; color: inherit; }
.gwye-member-message-btn {
    position: absolute; top: -2px; right: -2px;
    width: 22px; height: 22px;
    border: none; border-radius: 50%;
    background: #FF6B35; color: #fff;
    font-size: 11px; line-height: 22px;
    text-align: center; cursor: pointer;
    opacity: 0; transition: opacity 0.2s;
    z-index: 3; padding: 0;
}
.gwye-member-item:hover .gwye-member-message-btn { opacity: 1; }
@media (max-width: 768px) {
    .gwye-member-message-btn { opacity: 1; }
}

/* === 圈子活动样式 === */
.gwye-event-list { display: flex; flex-direction: column; gap: 12px; }
.gwye-event-card { display: block; background: #fff; border-radius: 12px; padding: 16px; border: 1px solid #eee; transition: box-shadow .2s, transform .2s; text-decoration: none; color: inherit; }
.gwye-event-card:hover { box-shadow: 0 4px 12px rgba(255,107,53,.12); transform: translateY(-2px); border-color: #FF6B35; }
.gwye-event-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.gwye-event-card-head h4 { font-size: 16px; font-weight: 600; margin: 0; flex: 1; color: #333; }
.gwye-event-card-info { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #888; margin-bottom: 8px; }
.gwye-event-card-info i { color: #FF6B35; }
.gwye-event-card-progress { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; }
.gwye-event-card-progress i { color: #FF6B35; }
.gwye-event-progress-mini { flex: 1; height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden; max-width: 120px; }
.gwye-event-progress-bar-mini { height: 100%; background: linear-gradient(90deg, #FF6B35, #ff9558); border-radius: 3px; transition: width .3s; }

/* 活动标签 */
.gwye-event-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.gwye-event-mini-tag { font-size: 11px; padding: 2px 8px; border-radius: 12px; }
.gwye-event-tag-open, .gwye-event-tag-open { background: #e8f5e9; color: #4CAF50; }
.gwye-event-tag-upcoming { background: #fff3e0; color: #FF9800; }
.gwye-event-tag-ended { background: #f5f5f5; color: #999; }

/* 活动详情页 */
.gwye-page-event { max-width: 800px; margin: 0 auto; padding: 16px; }
.gwye-event-header { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 16px; border: 1px solid #eee; }
.gwye-event-status-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.gwye-event-title { font-size: 24px; font-weight: 700; color: #222; margin: 0 0 12px; line-height: 1.4; }
.gwye-event-author { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.gwye-event-author a { display: flex; align-items: center; gap: 6px; text-decoration: none; color: #555; font-size: 14px; }
.gwye-event-author a:hover { color: #FF6B35; }
.gwye-event-author .gwye-avatar-sm { width: 32px; height: 32px; border-radius: 50%; }
.gwye-event-author .gwye-time { color: #aaa; font-size: 12px; }

/* 活动信息网格 */
.gwye-event-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.gwye-event-info-item { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: #f8f9fa; border-radius: 8px; }
.gwye-event-info-item i { font-size: 20px; color: #FF6B35; margin-top: 2px; }
.gwye-event-info-item label { display: block; font-size: 12px; color: #999; margin-bottom: 2px; }
.gwye-event-info-item span { font-size: 14px; color: #333; }

/* 报名进度条 */
.gwye-event-progress-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.gwye-event-progress { flex: 1; height: 10px; background: #f0f0f0; border-radius: 5px; overflow: hidden; }
.gwye-event-progress-bar { height: 100%; background: linear-gradient(90deg, #FF6B35, #ff9558); border-radius: 5px; transition: width .5s; }
.gwye-event-progress-text { font-size: 14px; font-weight: 600; color: #FF6B35; min-width: 40px; }

/* 活动内容 */
.gwye-event-content { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 16px; border: 1px solid #eee; line-height: 1.8; }
.gwye-event-images { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.gwye-event-images img { width: calc(33% - 6px); border-radius: 8px; border: 1px solid #eee; }

/* 报名人员列表 */
.gwye-event-signups { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #eee; }
.gwye-signup-list { display: flex; flex-direction: column; gap: 12px; }
.gwye-signup-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-radius: 8px; transition: background .2s; }
.gwye-signup-item:hover { background: #f8f9fa; }
.gwye-signup-item .gwye-avatar-sm { width: 36px; height: 36px; border-radius: 50%; }
.gwye-signup-info { flex: 1; }
.gwye-signup-name { font-weight: 500; color: #333; text-decoration: none; font-size: 14px; }
.gwye-signup-name:hover { color: #FF6B35; }
.gwye-signup-remark { display: block; font-size: 13px; color: #666; margin: 2px 0; }
.gwye-signup-time { font-size: 12px; color: #aaa; }

/* 活动表单行 */
.gwye-event-form-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.gwye-event-form-row label { font-size: 13px; color: #666; min-width: 70px; }
.gwye-event-form-row input { flex: 1; }
.gwye-event-form-row span { color: #999; font-size: 13px; }

/* 按钮 */
.gwye-btn-danger-outline { color: #dc3545; border: 1px solid #dc3545; background: #fff; }
.gwye-btn-danger-outline:hover { background: #dc3545; color: #fff; }
.gwye-btn-sm { padding: 4px 10px; font-size: 12px; border-radius: 6px; }

/* 响应式 */
@media (max-width: 768px) {
    .gwye-event-info-grid { grid-template-columns: 1fr; }
    .gwye-event-images img { width: calc(50% - 4px); }
    .gwye-event-form-row { flex-wrap: wrap; }
    .gwye-event-form-row input { min-width: 140px; }
}

/* 圈子权限标识 */
.gwye-circle-priv-badge { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; padding: 2px 7px; border-radius: 10px; font-weight: 500; vertical-align: middle; margin-left: 6px; }
.gwye-priv-open { background: #e8f5e9; color: #2e7d32; }
.gwye-priv-private { background: #fff3e0; color: #e65100; }

/* 侧边栏高度与主内容区保持一致（首页、列表页、内容页） */
@media (min-width: 992px) {
    .aio-mainstay > .aio-aside {
        display: flex;
        flex-direction: column;
        align-self: stretch;
    }

    .aio-mainstay > .aio-aside > .offcanvas-body {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .aio-mainstay > .aio-aside .aside-items-box {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .aio-mainstay > .aio-aside .aside-box {
        flex: 0 0 auto;
    }

    /* 微语栏（最新微语）自动填充剩余高度 */
    .aio-mainstay > .aio-aside .aside-box-twitter {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .aio-mainstay > .aio-aside .aside-box-twitter .aside-body {
        flex: 1 1 auto;
        overflow-y: auto;
        min-height: 0;
    }

    .aio-mainstay > .aio-aside .aside-box-twitter .aside-list-comment {
        max-height: 100%;
        margin-bottom: 0;
    }
}
