/* ============================================
   [B2CHILD] 圈子模块 — Circle
   路径: diy/modules/circle/circle.css
   说明: 圈子相关所有美化样式集中于此
   ============================================ */

/* ============================================
   圈子信息小工具（Circle Info Widget）
   设计：卡片式链接列表 + 全宽渐变创建按钮
   ============================================ */

/* --- 盒子内边距重置 --- */
.b2-widget-circle-info .b2-widget-box {
    padding: 0 !important;
}

/* --- 标题行 --- */
.b2-widget-circle-info .b2-widget-title {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.b2-widget-circle-info .b2-widget-title .widget-title {
    padding: 14px 0 10px 16px !important;
    margin: 0 !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    line-height: 1.3 !important;
    flex: 1;
    min-width: 0;
}

/* --- 链接列表 --- */
.b2-widget-circle-info .user-w-announcement {
    padding: 0 !important;
    margin: 0;
}

.b2-widget-circle-info .user-w-announcement ul {
    margin: 0;
    padding: 0;
}

.b2-widget-circle-info .user-w-announcement li {
    padding: 0 !important;
    margin: 0;
    border: none !important;
    list-style: none;
}

.b2-widget-circle-info .user-w-announcement li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px !important;
    margin: 0;
    font-size: 13px !important;
    font-weight: 500;
    color: #4b5563 !important;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    transition: all 0.25s ease;
    overflow: hidden;
    background: transparent;
    line-height: 1.4;
}

.b2-widget-circle-info .user-w-announcement li:last-child a {
    border-bottom: none;
}

/* hover 微移 */
.b2-widget-circle-info .user-w-announcement li a:hover {
    color: var(--b2color, #009966) !important;
    background: linear-gradient(to right, color-mix(in srgb, var(--b2color, #009966) 4%, transparent), transparent);
    padding-left: 22px !important;
}

/* 彩色圆点指示器（覆盖父主题 ::before 伪元素） */
.b2-widget-circle-info .user-w-announcement li a::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    position: static !important;
    flex-shrink: 0;
    display: inline-block;
    background: var(--b2color, #009966);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* 每行不同颜色（最多支持 3 行，通过 nth-child） */
.b2-widget-circle-info .user-w-announcement li:nth-child(1) a::before {
    background: var(--b2color, #009966);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--b2color, #009966) 20%, transparent);
}
.b2-widget-circle-info .user-w-announcement li:nth-child(2) a::before {
    background: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.b2-widget-circle-info .user-w-announcement li:nth-child(3) a::before {
    background: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

/* hover 时圆点放大 */
.b2-widget-circle-info .user-w-announcement li a:hover::before {
    transform: scale(1.3);
}

/* 箭头图标（hover 时滑入） */
.b2-widget-circle-info .user-w-announcement li a::after {
    content: '→';
    position: absolute;
    right: 16px;
    font-size: 14px;
    color: #d1d5db;
    transition: transform 0.25s ease, color 0.25s ease;
    line-height: 1;
}

.b2-widget-circle-info .user-w-announcement li a:hover::after {
    color: var(--b2color, #009966);
    transform: translateX(4px);
}

/* --- 创建按钮区域 --- */
.b2-widget-circle-info .circle-widget-button {
    padding: 16px !important;
    border-top: 1px solid #f3f4f6 !important;
    text-align: center;
}

.b2-widget-circle-info .circle-widget-button button.text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px !important;
    border: none !important;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--b2color, #009966), color-mix(in srgb, var(--b2color, #009966) 75%, #1a1a2e));
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--b2color, #009966) 25%, transparent);
    letter-spacing: 0.5px;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

/* 按钮光效 */
.b2-widget-circle-info .circle-widget-button button.text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.b2-widget-circle-info .circle-widget-button button.text:hover::before {
    opacity: 1;
}

.b2-widget-circle-info .circle-widget-button button.text:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px color-mix(in srgb, var(--b2color, #009966) 35%, transparent);
    opacity: 0.97;
}

.b2-widget-circle-info .circle-widget-button button.text:active {
    transform: translateY(0);
}

/* 按钮图标（✨ emoji 置于文字前） */
.b2-widget-circle-info .circle-widget-button button.text::after {
    content: '✨';
    font-size: 16px;
    line-height: 1;
}

/* ===== 骨架屏加载占位 ===== */
.b2-widget-circle-info .diy-ci-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: diyShimmer 1.4s ease infinite;
    border-radius: 4px;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .b2-widget-circle-info .user-w-announcement li a {
        padding: 12px 14px !important;
        font-size: 12px !important;
    }

    .b2-widget-circle-info .circle-widget-button {
        padding: 12px !important;
    }

    .b2-widget-circle-info .circle-widget-button button.text {
        padding: 11px 16px !important;
        font-size: 13px;
    }
}

/* ============================================
   热门圈子小工具（Hot Circle Widget）
   设计：药丸式标签切换 + 头像信息左右布局卡片 + 渐变底部链接
   ============================================ */

/* --- 容器：白色背景由通用小工具样式提供，此处不需额外覆盖 --- */
/* 父主题 .b2-widget-hot-circle.box 设了 box-shadow:none; background:none;
   不要用 !important 覆盖它们，让外层通用 widget 样式提供白底白边 */

/* --- 标题标签行（药丸式切换） --- */
.b2-widget-hot-circle .b2-widget-title {
    margin-bottom: 0 !important;
    padding: 14px 16px 0;
}

.b2-widget-hot-circle .b2-widget-title h2 {
    display: flex !important;
    padding: 3px !important;
    margin: 0 !important;
    background: #f3f4f6;
    border-radius: 8px !important;
    gap: 3px;
}

.b2-widget-hot-circle .b2-widget-title h2 button {
    flex: 1;
    text-align: center;
    padding: 5px 6px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280 !important;
    background: transparent !important;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
    white-space: nowrap;
    position: relative;
}

/* 选中态（Vue 动态切换 .picked） */
.b2-widget-hot-circle .b2-widget-title h2 button.picked {
    color: #fff !important;
    background: linear-gradient(135deg, var(--b2color, #009966), color-mix(in srgb, var(--b2color, #009966) 80%, #1a1a2e)) !important;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--b2color, #009966) 25%, transparent);
    font-weight: 600;
}

/* 移除父主题的 ::before 三角装饰 */
.b2-widget-hot-circle .b2-widget-title h2 button.picked::before {
    display: none !important;
}

/* 未选中 hover */
.b2-widget-hot-circle .b2-widget-title h2 button:not(.picked):hover {
    color: #374151 !important;
    background: rgba(0,0,0,0.04) !important;
}

/* --- 盒子内边距重置：只重置 padding，不动背景/阴影（继承通用样式） --- */
.b2-widget-hot-circle .b2-widget-box {
    padding: 0 !important;
}

/* --- 列表项（flex换行布局） --- */
.b2-widget-hot-circle .widget-hot-circle ul {
    margin: 0;
    padding: 0;
}

.b2-widget-hot-circle .widget-hot-circle ul li {
    display: flex !important;
    flex-wrap: wrap !important;       /* 允许 desc 换行到第二行 */
    align-items: flex-start;
    row-gap: 6px;
    column-gap: 14px;
    padding: 16px !important;
    margin: 0 !important;
    position: relative;
    border: 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    transition: background 0.2s ease;
}

/* 覆盖父主题 li + li { margin-top: -8px } */
.b2-widget-hot-circle .widget-hot-circle ul li + li {
    margin-top: 0 !important;
}

.b2-widget-hot-circle .widget-hot-circle ul li:last-child {
    border-bottom: none !important;
}

.b2-widget-hot-circle .widget-hot-circle ul li:hover {
    background: #f9fafb;
}

/* --- 圈子图标（第一行左侧） --- */
.b2-widget-hot-circle .widget-circle-icon {
    position: static !important;
    flex-shrink: 0;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b2-widget-hot-circle .widget-hot-circle ul li:hover .widget-circle-icon {
    transform: scale(1.06);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.b2-widget-hot-circle .widget-circle-icon a,
.b2-widget-hot-circle .widget-circle-icon a picture {
    display: block;
    width: 100%;
    height: 100%;
}

.b2-widget-hot-circle .widget-circle-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* --- 名称+meta（第一行右侧，自动撑满） --- */
.b2-widget-hot-circle .widget-circle-info {
    margin-left: 0 !important;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-self: center;   /* 垂直居中于图标 */
}

/* 圈子名称 */
.b2-widget-hot-circle .widget-circle-info h2 {
    height: auto !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: none !important;
    display: block !important;
    line-height: 1.4 !important;
    margin: 0;
}

.b2-widget-hot-circle .widget-circle-info h2 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.b2-widget-hot-circle .widget-circle-info h2 a:hover {
    color: var(--b2color, #009966);
}

/* Meta 统计行 */
.b2-widget-hot-circle .widget-circle-meta {
    height: auto !important;
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.b2-widget-hot-circle .widget-circle-meta span {
    display: inline-flex !important;
    align-items: center;
    font-size: 11px !important;
    color: #9ca3af !important;
    height: auto !important;
    gap: 2px;
}

.b2-widget-hot-circle .widget-circle-meta b {
    font-weight: 600 !important;
    color: var(--b2color, #009966);
}

.b2-widget-hot-circle .widget-circle-meta i {
    margin: 0 2px !important;
    font-style: normal !important;
    color: #d1d5db !important;
    font-size: 10px;
}

/* --- 描述行（第二行，flex-basis:100% 强制换行 + 缩进对齐文字） --- */
.b2-widget-hot-circle .widget-circle-info-desc {
    flex-basis: 100% !important;     /* 占满整行 */
    margin: 0 !important;
    padding-left: 58px !important;   /* 44px(图标) + 14px(gap) = 缩进对齐文字 */
    background: none !important;
    position: relative !important;
}

/* 移除父主题的三角装饰 */
.b2-widget-hot-circle .widget-circle-info-desc::before {
    display: none !important;
}

.b2-widget-hot-circle .widget-circle-info-desc p {
    height: auto !important;
    font-size: 12px !important;
    color: #9ca3af !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* --- 底部「所有圈子」链接（渐变风格，同积分排行） --- */
.b2-widget-hot-circle .widget-mission-footer {
    border-top: 1px solid #f3f4f6;
    overflow: hidden;
}

.b2-widget-hot-circle .widget-mission-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--b2color, #009966), color-mix(in srgb, var(--b2color, #009966) 75%, #1a1a2e));
    text-decoration: none;
    transition: opacity 0.2s ease;
    letter-spacing: 0.5px;
}

.b2-widget-hot-circle .widget-mission-footer a:hover {
    opacity: 0.9;
    color: #fff;
}

.b2-widget-hot-circle .widget-mission-footer a::after {
    content: "→";
    font-size: 15px;
    transition: transform 0.2s ease;
}

.b2-widget-hot-circle .widget-mission-footer a:hover::after {
    transform: translateX(3px);
}

/* ===== 骨架屏（gujia） ===== */
.b2-widget-hot-circle .widget-gujia-hot-circle {
    width: 100%;
}

.b2-widget-hot-circle .widget-gujia-hot-circle ul {
    margin: 0;
    padding: 0;
}

.b2-widget-hot-circle .widget-gujia-hot-circle li {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
    row-gap: 6px;
    column-gap: 14px;
    padding: 16px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    pointer-events: none;
}

.b2-widget-hot-circle .widget-gujia-hot-circle li:last-child {
    border-bottom: none !important;
}

.b2-widget-hot-circle .widget-gujia-hot-circle .widget-circle-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%) !important;
    background-size: 200% 100% !important;
    animation: diy-gujia-shimmer 1.5s infinite;
}

.b2-widget-hot-circle .widget-gujia-hot-circle .widget-circle-info {
    flex: 1;
    min-width: 0;
    align-self: center;
}

.b2-widget-hot-circle .widget-gujia-hot-circle .widget-circle-info h2 {
    height: 14px !important;
    width: 100px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%) !important;
    background-size: 200% 100% !important;
    animation: diy-gujia-shimmer 1.5s infinite;
    border-radius: 4px;
    margin: 0 0 6px;
}

.b2-widget-hot-circle .widget-gujia-hot-circle .widget-circle-meta {
    margin-top: 0 !important;
}

.b2-widget-hot-circle .widget-gujia-hot-circle .widget-circle-meta span {
    display: inline-block !important;
    height: 12px !important;
    width: 60px !important;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%) !important;
    background-size: 200% 100% !important;
    animation: diy-gujia-shimmer 1.5s infinite;
    border-radius: 3px;
    color: transparent !important;
}

.b2-widget-hot-circle .widget-gujia-hot-circle .widget-circle-meta span + span {
    width: 50px !important;
    margin-left: 8px;
}

.b2-widget-hot-circle .widget-gujia-hot-circle .widget-circle-meta i {
    visibility: hidden;
}

.b2-widget-hot-circle .widget-gujia-hot-circle .widget-circle-info-desc {
    flex-basis: 100% !important;
    padding-left: 58px !important;
}

.b2-widget-hot-circle .widget-gujia-hot-circle .widget-circle-info-desc p {
    height: 12px !important;
    width: 70%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%) !important;
    background-size: 200% 100% !important;
    animation: diy-gujia-shimmer 1.5s infinite;
    border-radius: 3px;
    color: transparent !important;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .b2-widget-hot-circle .b2-widget-title {
        padding: 12px 12px 0;
    }

    .b2-widget-hot-circle .b2-widget-title h2 button {
        font-size: 11px;
        padding: 4px 5px !important;
    }

    .b2-widget-hot-circle .widget-hot-circle ul li {
        padding: 12px !important;
        column-gap: 10px;
        row-gap: 4px;
    }

    .b2-widget-hot-circle .widget-circle-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .b2-widget-hot-circle .widget-circle-info h2 {
        font-size: 13px !important;
    }

    .b2-widget-hot-circle .widget-circle-info-desc {
        padding-left: 50px !important;  /* 40px + 10px */
    }

    .b2-widget-hot-circle .widget-gujia-hot-circle li {
        column-gap: 10px;
        row-gap: 4px;
    }

    .b2-widget-hot-circle .widget-gujia-hot-circle .widget-circle-info-desc {
        padding-left: 50px !important;
    }
}

/* ============================================
   圈子发帖区（Circle Post Area）
   设计：知识星球/小红书风格 — 头像融入输入区、图标化工具栏、轻量化统计
   ============================================ */

/* --- 发帖框折叠/展开（默认折叠，.diy-expanded 展开） --- */
/* 触发条：始终可见，展开时隐藏 */
.diy-post-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    border-radius: var(--b2radius);
    transition: background 0.2s ease;
    user-select: none;
}

.diy-post-trigger:hover {
    background: #f5f7f9;
}

.diy-post-trigger-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
    background: #e5e7eb;
}

.diy-post-trigger-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.diy-post-trigger-text {
    flex: 1;
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.4;
    font-weight: 400;
}

.diy-post-trigger-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--b2color, #009966), color-mix(in srgb, var(--b2color, #009966) 75%, #1a1a2e));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--b2color, #009966) 20%, transparent);
}

.diy-post-trigger:hover .diy-post-trigger-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--b2color, #009966) 30%, transparent);
}

/* 默认折叠态：隐藏 Vue 渲染的发帖内容，只显示触发条 */
.po-form-box .po-topic-top,
.po-form-box .po-topic-textarea,
.po-form-box .po-topic-tools {
    display: none !important;
}

.po-form-box .diy-collapse-btn {
    display: none !important;
}

/* 展开态：显示发帖内容，隐藏触发条 */
.po-form-box.diy-expanded .po-topic-top {
    display: flex !important;
}

.po-form-box.diy-expanded .po-topic-textarea {
    display: block !important;
}

.po-form-box.diy-expanded .po-topic-tools {
    display: flex !important;
}

.po-form-box.diy-expanded .diy-collapse-btn {
    display: flex !important;
}

.po-form-box.diy-expanded .diy-post-trigger {
    display: none !important;
}

/* 表单容器：默认折叠态 */
.po-form-box {
    padding: 0 !important;
    border: var(--diy-border);
    box-shadow: var(--diy-shadow);
    border-radius: var(--b2radius);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.po-form-box:hover {
    border-color: color-mix(in srgb, var(--b2color, #009966) 20%, transparent) !important;
    box-shadow: 0 2px 12px color-mix(in srgb, var(--b2color, #009966) 6%, transparent);
}

/* 展开态：表单容器恢复正常 */
.po-form-box.diy-expanded {
    cursor: default;
    padding: 20px 24px 24px !important;
    border: var(--diy-border) !important;
    box-shadow: var(--diy-shadow) !important;
}

.po-form-box.diy-expanded:hover {
    border: var(--diy-border) !important;
    box-shadow: var(--diy-shadow) !important;
}

/* 展开态右上角折叠按钮（只在展开时显示） */
.diy-collapse-btn {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: #f3f4f6;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
    font-size: 13px;
    line-height: 1;
    opacity: 0.7;
}

.diy-collapse-btn:hover {
    background: #e5e7eb;
    color: #4b5563;
    opacity: 1;
}

/* --- 圈子信息头部 --- */
.circle-info {
    margin-bottom: 16px;
}

.circle-info-in {
    padding: 24px 24px 12px !important;
    background: #fff;
    border-radius: var(--b2radius) var(--b2radius) 0 0;
    border: var(--diy-border);
    box-shadow: var(--diy-shadow);
}

/* 左侧：52px 圆角头像 + 名称 */
.circle-info-left img {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.circle-info-left h1 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a2e;
    line-height: 1.3 !important;
}

.circle-info-left h1 p {
    margin-bottom: 2px;
}

.circle-info-left h1 a {
    font-size: 13px !important;
    color: var(--b2color, #009966) !important;
    font-weight: 500;
    margin-top: 2px !important;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.circle-info-left h1 a:hover {
    opacity: 1;
}

/* --- 统计条：迷你数据卡片（数字在上、标签在下） --- */
.circle-admin-info {
    gap: 10px;
}

.circle-admin-info > div {
    margin-left: 0 !important;
    padding: 8px 16px 6px !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    min-width: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.circle-admin-info > div:hover {
    border-color: color-mix(in srgb, var(--b2color, #009966) 20%, transparent) !important;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--b2color, #009966) 8%, transparent);
}

.circle-admin-info > div b {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--b2color, #009966) !important;
    height: auto !important;
    display: block !important;
    line-height: 1.4;
    font-family: 'DIN-Medium', sans-serif;
}

.circle-admin-info > div span {
    font-size: 11px !important;
    color: #9ca3af !important;
    font-weight: 400 !important;
    line-height: 1.3;
    margin-top: 1px;
}

.circle-admin-info > div i {
    display: none !important;  /* 隐藏装饰性 icon */
}

/* 管理卡片特殊处理（待审为文字而非数字） */
.circle-admin-info > div:last-child b {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    font-family: inherit !important;
}

/* 描述 */
.circle-desc {
    font-size: 13px !important;
    padding: 10px 24px !important;
    color: #6b7280;
    background: #f9fafb !important;
    border: 1px solid #f0f0f0 !important;
    border-top: 0 !important;
    border-radius: 0 0 var(--b2radius) var(--b2radius);
    box-shadow: none !important;
    min-height: auto !important;
    margin: 0 !important;
    line-height: 1.6;
}

/* --- 发帖表单容器 --- */
.po-form-box {
    background: #fff;
    border: var(--diy-border);
    box-shadow: var(--diy-shadow);
    border-radius: var(--b2radius);
    position: relative;
    padding: 0 !important;           /* 覆盖父主题 .po-form-box 的 padding，由 .diy-form-body 接管 */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 表单内容体（可折叠区域，padding 在其上以便动画） */
.diy-form-body {
    padding: 20px 24px 24px !important;
}

/* --- 发帖人信息行（小红书风格：头像 + "在圈名说"）--- */
.po-topic-top {
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.po-topic-top-left {
    gap: 10px;
}

.po-topic-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    overflow: hidden;
    background: #e5e5e5;
    flex-shrink: 0;
    margin-right: 0 !important;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}

.po-topic-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.po-ask {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.po-ask > span {
    color: #9ca3af;
}

.po-ask button {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
    padding: 0 !important;
    color: var(--b2color, #009966) !important;
}

.po-ask button span {
    background: color-mix(in srgb, var(--b2color, #009966) 8%, transparent) !important;
    border-radius: 6px !important;
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 12px !important;
    font-size: 12px;
    font-weight: 600;
}

.po-ask button b {
    font-weight: 600 !important;
}

.po-ask button i {
    font-size: 14px !important;
    color: var(--b2color, #009966);
}

/* --- 话题类型标签（我说/提问/投票/你猜）--- */
.po-topic-top-right {
    gap: 4px;
}

.po-topic-top-right button {
    margin-left: 0 !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500;
    color: #6b7280 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.po-topic-top-right button i {
    font-size: 15px !important;
    margin-right: 4px !important;
}

.po-topic-top-right button:hover {
    background: #f3f4f6 !important;
    color: #374151 !important;
}

.po-topic-top-right button.picked {
    color: #fff !important;
    background: linear-gradient(135deg, var(--b2color, #009966), color-mix(in srgb, var(--b2color, #009966) 80%, #1a1a2e)) !important;
    border-color: transparent !important;
    font-weight: 600;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--b2color, #009966) 20%, transparent);
}

/* --- 文本输入区（一体化卡片） --- */
.po-topic-textarea {
    margin: 0 0 16px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fafafa;
}

.po-topic-textarea:focus-within {
    border-color: var(--b2color, #009966) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--b2color, #009966) 10%, transparent);
    background: #fff;
}

/* 标题输入框（上圆角，隐藏纵向滚动条） */
.po-topic-textarea textarea:first-child {
    height: 44px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    color: #1a1a2e;
    font-weight: 600;
    border-radius: 12px 12px 0 0 !important;
    overflow-y: hidden !important;
}

.po-topic-textarea textarea:first-child::placeholder {
    color: #c4c8cc !important;
    font-weight: 400;
}

/* 内容输入框 */
.po-topic-textarea .topic-content {
    min-height: 100px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    line-height: 1.7;
    color: #374151;
    resize: vertical;
}

.po-topic-textarea .topic-content::placeholder {
    color: #c4c8cc !important;
}

/* --- 输入区底部（表情 + 字数，下圆角） --- */
.po-topic-textarea-footer {
    padding: 6px 12px !important;
    height: auto !important;
    background: #fafafa;
    border-top: 1px solid #f3f4f6;
    border-radius: 0 0 12px 12px;
}

/* 表情切换按钮（父主题中的 .button-sm） */
.po-topic-textarea-footer .button-sm {
    padding: 4px 6px !important;
    border-radius: 6px !important;
    transition: background 0.2s ease;
    line-height: 1;
    background: none !important;
    border: none !important;
}

.po-topic-textarea-footer .button-sm:hover {
    background: #e5e7eb !important;
}

.po-topic-textarea-footer .button-sm i {
    font-size: 20px !important;
    color: #9ca3af !important;
}

/* 修正表情弹出框的尖角位置（对齐表情按钮中心） */
.po-topic-textarea-footer .comment-smile-box::before,
.po-topic-textarea-footer .comment-smile-box::after {
    left: 22px !important;
    right: inherit !important;
}

/* 排除表情弹出框内的按钮（恢复父主题网格布局） */
.po-topic-textarea-footer .comment-smile-box button {
    padding: 0 !important;
    border-radius: 0 !important;
    background: #F5F6F7 !important;
    border: 1px solid #fff !important;
    font-size: 19px !important;
    line-height: 33px !important;
    height: 33px !important;
    width: 14.2857% !important;
    transition: none !important;
    color: inherit !important;
    display: inline-block !important;
    text-align: center !important;
    margin: 0 !important;
    font-weight: normal !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.editor-character {
    width: 22px !important;
    height: 22px !important;
}

/* --- 底部工具栏 --- */
.po-topic-tools {
    margin-top: 16px;
    padding-top: 0;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- 左侧：纯图标工具按钮（小红书风格） --- */
.po-topic-tools-left {
    gap: 2px;
}

.po-topic-tools-left .po-topic-tools-item {
    margin-right: 0 !important;
}

.po-topic-tools-left .po-topic-tools-item .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 8px !important;
    border-radius: 8px !important;
    font-size: 0 !important;        /* 隐藏文字 */
    color: transparent !important;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 36px;
    min-height: 36px;
}

.po-topic-tools-left .po-topic-tools-item .button:hover {
    background: #f3f4f6;
}

.po-topic-tools-left .po-topic-tools-item .button i {
    font-size: 20px !important;
    margin-right: 0 !important;
    vertical-align: middle !important;
}

/* 工具图标保留原色 */
.po-topic-tools-left .po-topic-tools-item:nth-child(1) i { color: #ff3a55; }
.po-topic-tools-left .po-topic-tools-item:nth-child(2) i { color: #71a257; }
.po-topic-tools-left .po-topic-tools-item:nth-child(3) i { color: #9d87d2; }
.po-topic-tools-left .po-topic-tools-item:nth-child(4) i { color: #4db3f6; }

.po-topic-tools-left .po-topic-tools-item .button:hover i {
    opacity: 0.75;
}

/* --- 右侧：权限 + 发布 --- */
.po-topic-tools-right {
    gap: 10px;
}

.po-topic-tools-right .po-topic-role {
    padding: 7px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    background: #f3f4f6 !important;
    transition: background 0.2s ease;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

.po-topic-tools-right .po-topic-role:hover {
    background: #e5e7eb !important;
}

.po-topic-tools-right .po-topic-role i {
    font-size: 14px;
}

.po-topic-tools-right .po-topic-role b {
    font-weight: 500 !important;
}

/* 发布按钮 */
.po-topic-tools-right .po-topic-button {
    margin-left: 0 !important;
    padding: 8px 28px !important;
    border: none !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, var(--b2color, #009966), color-mix(in srgb, var(--b2color, #009966) 75%, #1a1a2e)) !important;
    color: #fff;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    box-shadow: 0 3px 10px color-mix(in srgb, var(--b2color, #009966) 18%, transparent);
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1.4;
}

.po-topic-tools-right .po-topic-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px color-mix(in srgb, var(--b2color, #009966) 28%, transparent);
    opacity: 0.95;
}

.po-topic-tools-right .po-topic-button:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none !important;
}

/* 发布中 → 隐藏文字，显示加载图标 */
.po-topic-tools-right .po-topic-button.b2-loading {
    color: rgba(255, 255, 255, 0) !important;
}

/* 隐藏的按钮容器 */
.hidden-topic-box {
    display: flex;
    gap: 4px;
}

/* --- 移动端适配 --- */
@media (max-width: 768px) {
    .circle-info-in {
        padding: 16px !important;
        flex-wrap: wrap;
        gap: 12px;
    }

    .circle-info-left img {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
    }

    .circle-info-left h1 {
        font-size: 17px !important;
    }

    .circle-admin-info {
        width: 100%;
        gap: 4px;
        flex-wrap: wrap;
    }

    .circle-admin-info > div {
        flex: none;
        padding: 3px 10px !important;
    }

    .circle-desc {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }

	    .diy-form-body {
	        padding: 16px !important;
	    }

	    /* 移动端隐藏自定义折叠按钮 */
	    .diy-collapse-btn {
	        display: none !important;
	    }

	    /* 移动端隐藏多余的"我说"按钮 */
	    .po-topic-top-right > .mobile-show {
	        display: none !important;
	    }

	    .po-topic-top {
        flex-wrap: wrap;
        gap: 8px;
    }

    .po-topic-top-right {
        width: 100%;
        justify-content: flex-start;
    }

    .po-topic-tools {
        flex-wrap: wrap;
        gap: 10px;
    }

    .po-topic-tools-left {
        flex-wrap: wrap;
        gap: 0;
    }

    .po-topic-tools-left .po-topic-tools-item .button {
        padding: 7px !important;
        min-width: 32px;
        min-height: 32px;
    }

    .po-topic-tools-left .po-topic-tools-item .button i {
        font-size: 18px !important;
    }

    .po-topic-tools-right {
        width: 100%;
        justify-content: flex-end;
    }

    .po-topic-tools-right .po-topic-button {
        padding: 7px 20px !important;
        font-size: 12px !important;
    }
}

/* ============================================
   帖子列表区（Topic List）
   设计：导轨式筛选导航 + 白色卡片风格帖子
   ============================================ */

/* ===== 1. 筛选导航：两栏同行 ===== */
#public {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 12px;
    padding: 16px 16px 8px;
}

.my-circle-list {
    flex: 1 1 auto;
    min-width: 200px;
    margin-bottom: 0 !important;
}

.topic-type-menu {
    flex: 1 1 auto;
    min-width: 200px;
    padding-bottom: 0 !important;
}

.circle-topic-list {
    flex-basis: 100%;
}

/* ===== 2. 筛选导轨容器 ===== */
.my-circle-list,
.topic-type-menu ul {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f7f9;
    border-radius: 30px;
    padding: 6px;
    box-shadow: var(--diy-inset-shadow);
}

/* 容器在 #public 内的弹性 */
.my-circle-list {
    flex: 1;
    min-width: 0;
    margin-bottom: 0 !important;
}

/* 隐藏不需要的选项 */
.my-circle-list > div:nth-child(2),
.my-circle-list > div:nth-child(3) {
    display: none !important;
}

/* 隐藏未加入圈子的提示浮层，按钮通过 JS 移到 circle-admin-info */
.po-topic-box-tips {
    display: none !important;
}

/* "加入圈子/已加入"卡片 */
.circle-admin-info > div.diy-join-circle-btn {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    min-width: 56px !important;
    margin-left: 0 !important;
    height: auto !important;
    gap: 1px;
    transition: all 0.2s ease;
}

/* 未加入 → 浅色卡片风格（与已加入一致） */
.circle-admin-info > div.diy-join-circle-btn.is-join {
    border: 1px solid #e0f0e8 !important;
    background: #f6fdf9 !important;
    color: #009966 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 6px 14px !important;
    min-width: 56px !important;
}

.circle-admin-info > div.diy-join-circle-btn.is-join:hover {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    transform: translateY(-1px);
}

.circle-admin-info > div.diy-join-circle-btn.is-join .diy-jcb-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #009966;
}

/* 已加入 → 白色卡片 + 绿色勾 */
.circle-admin-info > div.diy-join-circle-btn.is-member {
    border: 1px solid #e0f0e8 !important;
    background: #f6fdf9 !important;
    color: #009966 !important;
    cursor: default;
}

.circle-admin-info > div.diy-join-circle-btn.is-member .diy-jcb-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #009966;
}

.circle-admin-info > div.diy-join-circle-btn.is-member .diy-jcb-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    color: #6bb89a;
    max-width: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.diy-join-circle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--b2color, #009966) 30%, transparent);
    opacity: 0.95;
}
.topic-type-menu {
    flex: 1;
    min-width: 0;
    padding: 0 !important;
    background: none !important;
    border-top: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
}
.topic-type-menu ul {
    flex: 1;
}

/* 导轨内每个按钮的直接容器 */
.my-circle-list > div {
    flex: 1;
    display: flex;
}

.topic-type-menu li {
    flex: 1;
    margin-right: 0 !important;
}

/* 导轨按钮（完全一致） */
.my-circle-list > div > button,
.topic-type-menu li button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    height: 28px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #666;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    z-index: 1;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
}

/* hover */
.my-circle-list > div > button:hover,
.topic-type-menu li button:hover {
    background: rgba(0, 153, 102, 0.08);
    color: #333;
}

/* 选中态：按钮自身绿色背景，CSS transition 提供平滑切换 */
.my-circle-list > div > button.picked,
.my-circle-list > div > button.picked span,
.topic-type-menu li button.picked {
    color: #fff !important;
    background: linear-gradient(135deg, #00c288, #009966) !important;
    box-shadow: 0 2px 6px rgba(0, 153, 102, 0.25);
}

/* 移除父主题的三角装饰 */
.my-circle-list > div > button.picked::after,
#public .my-circle-list button.picked:after {
    display: none !important;
}

/* 筛选按钮 */
.topic-drop {
    margin-left: 8px;
    flex-shrink: 0;
}

.topic-drop > button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    height: 28px;
    font-size: 12px;
    color: #6b7280;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.topic-drop > button:hover {
    border-color: var(--b2color, #009966);
    color: var(--b2color, #009966);
}

.topic-drop > button i {
    font-size: 14px;
    color: inherit;
}

/* ===== 3. 帖子卡片 ===== */
.circle-topic-list {
    overflow-x: hidden;
}

.circle-list-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.circle-topic-item {
    background: #fff;
    border: var(--diy-border);
    box-shadow: var(--diy-shadow);
    border-radius: var(--b2radius);
    transition: all 0.25s ease;
    position: relative;
    border-top: var(--diy-border) !important;
}

.circle-topic-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* --- 卡片头部 --- */
.topic-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 20px 12px !important;
}

.topic-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.topic-avatar {
    position: static !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}

.topic-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.topic-name {
    margin-left: 0 !important;
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    min-width: 0;
    flex: 1;
}

.topic-name-data {
    display: flex !important;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 14px !important;
}

.topic-name-data a b {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
}

.topic-name-data a:hover b {
    color: var(--b2color, #009966) !important;
}

.circle-is-circle-admin {
    display: inline-flex !important;
    align-items: center;
    padding: 1px 8px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--b2color, #009966) 10%, transparent) !important;
    color: var(--b2color, #009966) !important;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1.6;
}

.topic-user-lv {
    display: flex !important;
    align-items: center;
    gap: 4px;
    margin-top: 1px !important;
    flex-wrap: wrap;
}

.topic-user-lv p {
    margin: 0 !important;
    display: inline-flex !important;
}

.topic-user-lv .lv-icon {
    display: inline-flex !important;
    align-items: center;
    font-size: 11px;
}

.topic-user-lv .lv-icon b {
    font-size: 11px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
}

.topic-user-lv .lv-icon i {
    font-size: 11px !important;
}

/* 右侧圈子标签 */
.topic-header-right {
    flex-shrink: 0;
    margin-left: 12px;
    line-height: 1 !important;
}

span.topic-date.topic-circle {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    height: auto !important;
    line-height: 1.4 !important;
    background: color-mix(in srgb, var(--b2color, #009966) 8%, transparent) !important;
    color: var(--b2color, #009966) !important;
    font-size: 12px !important;
    font-weight: 500;
    transition: background 0.2s ease;
}

span.topic-date.topic-circle:hover {
    background: color-mix(in srgb, var(--b2color, #009966) 15%, transparent) !important;
}

span.topic-date.topic-circle a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: inherit !important;
    text-decoration: none;
}

span.topic-date.topic-circle a b {
    font-weight: 500 !important;
}

.circle-hash svg {
    fill: currentColor !important;
    width: 14px;
    height: 14px;
}

/* --- 卡片内容 --- */
.topic-content {
    padding: 4px 20px 10px !important;
}

.topic-content h2 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.topic-content h2 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.topic-content h2 a:hover {
    color: var(--b2color, #009966);
}

/* 禁止帖子内链接跳转，但不影响交互按钮 */
.circle-topic-item a {
    pointer-events: none;
}
.circle-topic-item button,
.circle-topic-item label,
.circle-topic-item input,
.circle-topic-item textarea {
    pointer-events: auto;
}

/* 置顶标题完整显示 */
.topic-sticky-title h2 {
    -webkit-line-clamp: unset !important;
    display: block !important;
    overflow: visible !important;
}

.topic-content-text {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #6b7280;
    position: relative !important;
}

.topic-content-text p {
    margin: 0;
    display: inline;
}

.topic-content-text button.text {
    font-size: 13px !important;
    color: var(--b2color, #009966) !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    display: inline !important;
    font-weight: 500;
    position: relative !important;
    z-index: 1 !important;
}

.topic-content-text button.text:hover {
    opacity: 0.8;
}

.topic-content-text button.text i {
    font-size: 12px;
    vertical-align: middle;
}

.topic-content p + p {
    margin-top: 0 !important;
}

/* --- 卡片底部 --- */
.topic-footer {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 16px !important;
    border-top: 1px solid #f3f4f6;
}

.topic-footer-left {
    display: flex !important;
    align-items: center;
    gap: 4px;
    position: relative !important;
}

.topic-footer-left button.text {
    display: inline-flex !important;
    align-items: center;
    gap: 3px;
    padding: 4px 10px !important;
    height: 28px;
    border-radius: 20px !important;
    background: #f5f7f9 !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* 选中态（点赞/收藏后恢复父主题颜色） */
.topic-footer-left button.text.picked {
    background: #ffedef !important;
    color: #ff3a55 !important;
}

.topic-footer-left button.text.picked i {
    color: #ff3a55 !important;
}

.topic-footer-left button.text i {
    font-size: 14px !important;
    color: #9ca3af;
}

.topic-footer-left button.text:hover {
    background: color-mix(in srgb, var(--b2color, #009966) 8%, transparent) !important;
    color: var(--b2color, #009966) !important;
}

.topic-footer-left button.text:hover i {
    color: var(--b2color, #009966);
}

.topic-footer-left button.text b {
    font-weight: 500 !important;
}

.topic-footer-left span.topic-date {
    display: inline-flex !important;
    align-items: center;
    background: none !important;
    padding: 0 !important;
    margin-left: 8px !important;
    font-size: 12px;
    color: #9ca3af;
    cursor: auto !important;
    height: auto !important;
    line-height: 1 !important;
}

.topic-footer-left span.topic-date b {
    font-weight: 400 !important;
}

.topic-footer-left span.topic-date time {
    font-size: 12px;
    color: #9ca3af;
}

.topic-meta-more-box {
    margin-left: 4px !important;
    position: relative;
}

.topic-meta-more-box button.topic-date.topic-meta-more {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    color: #9ca3af !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.topic-meta-more-box button.topic-date.topic-meta-more:hover {
    background: #f3f4f6 !important;
}

.topic-meta-more-box button i {
    font-size: 16px !important;
}

.topic-more-menu {
    right: -25px !important;
    top: 5px !important;
}

.topic-more-menu ul {
    border-radius: 8px !important;
    overflow: hidden;
}

.topic-more-menu ul::before {
    right: 20px !important;
}

.topic-more-menu button,
.topic-more-menu a {
    padding: 8px 20px !important;
    font-size: 12px !important;
}

.topic-footer-right button.topic-comment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 20px !important;
    border: none !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, var(--b2color, #009966), color-mix(in srgb, var(--b2color, #009966) 75%, #1a1a2e)) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--b2color, #009966) 15%, transparent);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.topic-footer-right button.topic-comment-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--b2color, #009966) 25%, transparent);
    opacity: 0.95;
}

/* 加载更多 */
.topic-loading-more-button {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #9ca3af;
    font-weight: 400;
}

/* ===== 骨架屏（覆盖在内容区之上，不参与布局） ===== */
.circle-topic-list {
    position: relative;
}

#circle-list-gujia {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

#circle-list-gujia .circle-topic-item.gujia {
    background: #fff;
    border: var(--diy-border);
    border-radius: var(--b2radius);
    overflow: hidden;
    pointer-events: none;
}

#circle-list-gujia .gujia .topic-header {
    padding: 18px 20px 12px !important;
}

#circle-list-gujia .gujia .topic-avatar.bg {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%) !important;
    background-size: 200% 100%;
    animation: diy-gujia-shimmer 1.5s infinite;
    position: static !important;
}

#circle-list-gujia .gujia .topic-name {
    display: block !important;
    margin-left: 0 !important;
}

#circle-list-gujia .gujia .topic-name span.bg {
    display: block;
    width: 80px;
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%) !important;
    background-size: 200% 100%;
    animation: diy-gujia-shimmer 1.5s infinite;
    border-radius: 4px;
}

#circle-list-gujia .gujia .topic-name p.bg {
    display: block;
    width: 120px;
    height: 12px;
    margin-top: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%) !important;
    background-size: 200% 100%;
    animation: diy-gujia-shimmer 1.5s infinite;
    border-radius: 3px;
}

#circle-list-gujia .gujia .topic-content {
    padding: 4px 20px 10px !important;
}

#circle-list-gujia .gujia .topic-content p.bg {
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%) !important;
    background-size: 200% 100%;
    animation: diy-gujia-shimmer 1.5s infinite;
    border-radius: 3px;
    margin: 0 0 8px !important;
}

#circle-list-gujia .gujia .topic-content p.bg:last-child {
    width: 60%;
}

#circle-list-gujia .gujia .topic-footer {
    padding: 10px 20px 16px !important;
}

#circle-list-gujia .gujia .topic-footer-left span.bg {
    display: inline-block;
    width: 50px;
    height: 28px;
    border-radius: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%) !important;
    background-size: 200% 100%;
    animation: diy-gujia-shimmer 1.5s infinite;
}

#circle-list-gujia .gujia .topic-footer-left span.bg + span.bg {
    width: 60px;
}

#circle-list-gujia .gujia .topic-footer-right span.bg {
    display: inline-block;
    width: 80px;
    height: 28px;
    border-radius: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%) !important;
    background-size: 200% 100%;
    animation: diy-gujia-shimmer 1.5s infinite;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    #public {
        gap: 6px;
    }

    .my-circle-list,
    .topic-type-menu {
        flex-basis: 100%;
        min-width: 0;
    }

    .my-circle-list {
        padding: 5px 12px;
        gap: 4px;
    }

    .my-circle-list > div > button {
        padding: 4px 12px !important;
        font-size: 12px;
        height: 26px;
    }

    .topic-type-menu {
        padding: 0 12px;
    }

    .topic-type-menu ul {
        padding: 5px !important;
        gap: 4px;
    }

    .topic-type-menu li button {
        padding: 4px 12px !important;
        font-size: 12px;
        height: 26px;
    }

    .topic-drop > button {
        padding: 4px 10px !important;
        font-size: 11px !important;
        height: 26px;
    }

    .circle-topic-item {
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
    }

    .topic-header {
        padding: 14px 16px 10px !important;
    }

    .topic-avatar {
        width: 34px !important;
        height: 34px !important;
    }

    .topic-content {
        padding: 4px 16px 8px !important;
    }

    .topic-footer {
        padding: 8px 16px 14px !important;
        flex-wrap: wrap;
        gap: 8px;
    }

    .topic-footer-left button.text {
        padding: 3px 8px !important;
        height: 26px;
        font-size: 11px !important;
    }

    .topic-footer-right button.topic-comment-button {
        padding: 5px 14px !important;
        font-size: 11px !important;
    }
}
