    .main-content {
      max-width: 900px;
      margin: 0 auto;
      padding: 20px 16px 48px;
      overflow-x: hidden;
      width: 100%;
      max-width: min(900px, 100vw);
    }

    /* 分类标签栏 + 提示整体容器 */
    .tabs-wrap {
      margin-bottom: 24px;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 16px;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
      overflow: hidden;
      position: relative;
      animation: tabsWrapIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    /* 滚动提示遮罩：覆盖在 .tabs-scroll 区域上，pointer-events: none 不阻塞触摸 */
    .tabs-fade-left,
    .tabs-fade-right {
      position: absolute;
      top: 12px;
      bottom: 12px;
      width: 28px;
      pointer-events: none;
      z-index: 5;
      transition: opacity 0.25s ease;
      opacity: 0;
    }
    .tabs-fade-left {
      left: 0;
      background: linear-gradient(to right, rgba(255, 255, 255, 0.95), transparent);
    }
    .tabs-fade-right {
      /* 默认位置：紧贴 tabs-actions 左侧 */
      right: 130px;
      background: linear-gradient(to left, rgba(255, 255, 255, 0.95), transparent);
    }
    @media (max-width: 640px) {
      .tabs-fade-right {
        right: 100px;  /* 移动端 tabs-actions 更窄 */
        width: 32px;
      }
    }
    /* 滚动到右端时隐藏右遮罩；非左端时显示左遮罩 */
    .tabs-wrap.at-end .tabs-fade-right { opacity: 0; }
    .tabs-wrap.at-end .tabs-fade-left  { opacity: 1; }
    .tabs-wrap.at-start .tabs-fade-left { opacity: 0; }
    .tabs-wrap:not(.at-start) .tabs-fade-left { opacity: 1; }
    @keyframes tabsWrapIn {
      from { opacity: 0; transform: translateY(-8px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .tabs {
      display: flex;
      gap: 4px;
      padding: 12px 12px;
      align-items: center;
      position: relative;
      flex-wrap: nowrap;
      background: transparent;
    }
    .tabs .tab {
      line-height: 1.2;
    }
    /* 可滚动的分区标签区 */
    .tabs-scroll {
      flex: 1 1 0;
      min-width: 50px;
      max-width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      display: flex;
      gap: 4px;
      align-items: center;
      /* iOS 惯性滚动 */
      -webkit-overflow-scrolling: touch;
      /* 隐藏滚动条（Chrome/Firefox/IE） */
      scrollbar-width: none;
      -ms-overflow-style: none;
      /* 桌面端 smooth，移动端会被 @media 覆盖为 auto */
      scroll-behavior: smooth;
      /* GPU 加速滚动 —— 只声明 scroll-position，不创建独立合成层 */
      will-change: scroll-position;
      /* 防止 iOS 橡皮筋效果在边界处的页面弹跳 */
      -webkit-overflow-scrolling: touch;
      /* Android 平滑滚动优化 */
      -webkit-transform: translateZ(0);
    }
    /* 滚动到边界时取消对应的遮罩 */
    .tabs-scroll.at-start {
      mask-image: linear-gradient(to right, #000 0px, #000 calc(100% - 36px), transparent 100%);
      -webkit-mask-image: linear-gradient(to right, #000 0px, #000 calc(100% - 36px), transparent 100%);
    }
    .tabs-scroll.at-end {
      mask-image: linear-gradient(to right, transparent 0px, #000 24px, #000 100%);
      -webkit-mask-image: linear-gradient(to right, transparent 0px, #000 24px, #000 100%);
    }
    .tabs-scroll.at-both {
      mask-image: none;
      -webkit-mask-image: none;
    }
    .tabs-scroll::-webkit-scrollbar {
      display: none;
    }
    /* 滚轮提示 — 复用 .tabs-wrap 的背景 */
    .tabs-scroll-hint {
      display: none;
      text-align: center;
      font-size: 10px;
      color: #9ca3af;
      padding: 0 12px 8px;
      user-select: none;
      cursor: default;
    }
    @media (hover: hover) and (pointer: fine) {
      .tabs-scroll-hint { display: block; }
    }
    /* 展开分区按钮 — 现代极简居中设计，下划线箭头风格 */
    .tab-expand-drawer {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin: 12px auto 6px;
      padding: 10px 0;
      width: 100%;
      max-width: 260px;
      border: none;
      border-bottom: 2px solid #e5e7eb;
      border-radius: 0;
      background: transparent;
      color: #9ca3af;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
      letter-spacing: 0.5px;
      box-shadow: none;
      text-transform: uppercase;
    }
    .tab-expand-drawer svg {
      transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .tab-expand-drawer:hover {
      background: transparent;
      color: #0ea5e9;
      border-bottom-color: #0ea5e9;
      box-shadow: none;
    }
    .tab-expand-drawer:hover svg {
      transform: translateY(3px);
    }
    .tab-expand-drawer:active {
      transform: scaleY(0.96);
      background: transparent;
    }
    /* 固定右侧的管理按钮区 */
    .tabs-actions {
      display: flex;
      gap: 4px;
      align-items: center;
      flex-shrink: 0;
      padding-left: 6px;
      border-left: 1px solid #e5e7eb;
    }
    .tabs-actions-label {
      margin-left: 2px;
    }

    .tab {
      padding: 6px 16px;
      font-size: 14px;
      font-weight: 500;
      color: #4b5563; /* 对比度 7.1:1 → WCAG AA 通过 */
      border-radius: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
      background: none;
      border: none;
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      user-select: none;
      touch-action: manipulation;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .tab:hover {
      color: #374151;
      background: #f3f4f6;
    }

    .tab.active {
      color: #0369a1; /* 对比度 5.1:1 → WCAG AA 通过 */
      background: rgba(14, 165, 233, 0.08);
    }

    .tab-channel {
      font-weight: 600;
      max-width: 160px;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .tab-channel.active {
      color: #1d4ed8; /* 对比度 5.8:1 → WCAG AA 通过 */
      background: rgba(37, 99, 235, 0.08);
    }

    .tabs-divider {
      width: 1px;
      height: 20px;
      background: #d1d5db;
      margin: 0 6px;
      flex-shrink: 0;
    }

    /* 公开/私有分区组：作为 .tabs-scroll 的子项参与 flex 布局 */
    .tab-public-group,
    .tab-private-group {
      display: flex;
      gap: 4px;
      align-items: center;
      flex-shrink: 0;
      min-width: max-content;
    }

    /* 管理分区按钮（桌面端） */
    .tab-manage {
      flex-shrink: 0;
      margin-left: auto;
    }
    .tab-manage:hover {
      border-color: #0ea5e9 !important;
      color: #0ea5e9 !important;
      background: rgba(14,165,233,0.05) !important;
    }

    /* 加入分区按钮 — 全局分隔 */
    .tab-join {
      flex-shrink: 0;
      white-space: nowrap;
    }

    /* ===== 子分区样式（父分区下方独立行） ===== */
    /* 父分区有子分区时加一个小三角标识 */
    .tab-channel-parent[data-has-subs="1"]::after {
      content: '';
      display: inline-block;
      width: 0;
      height: 0;
      border-left: 3px solid transparent;
      border-right: 3px solid transparent;
      border-top: 4px solid #9ca3af;
      margin-left: 4px;
      vertical-align: middle;
      transition: border-color 0.2s;
    }
    .tab-channel-parent.active[data-has-subs="1"]::after {
      border-top-color: #0ea5e9;
    }

    /* 子分区独立行：在 tabs 下方，水平排列 */
    .subchannel-row {
      padding: 5px 16px 7px;
      border-top: 1px solid #f3f4f6;
      background: rgba(249,250,251,0.85);
      animation: subRowIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
      overflow: hidden;
    }
    @keyframes subRowIn {
      from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
      to   { opacity: 1; max-height: 60px; padding-top: 5px; padding-bottom: 7px; }
    }
    .subchannel-row-inner {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .subchannel-row-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
    }

    /* 子分区按钮 */
    .tab-subchannel {
      padding: 5px 14px;
      font-size: 13px;
      font-weight: 500;
      color: #6b7280;
      border-radius: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
      background: #fff;
      border: 1px solid #e5e7eb;
      white-space: nowrap;
      flex-shrink: 0;
      line-height: 1.3;
    }
    .tab-subchannel:hover {
      color: #0ea5e9;
      background: #f0f9ff;
      border-color: #0ea5e9;
    }
    .tab-subchannel.active {
      color: #fff;
      background: #0ea5e9;
      border-color: #0ea5e9;
      font-weight: 600;
    }

    /* 父分区 active 时子分区行视觉衔接 */
    .tab-channel-parent.active[data-has-subs="1"] {
      position: relative;
    }
    .tab-channel-parent.active[data-has-subs="1"]::before {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
      border-top: 5px solid #e5e7eb;
    }

    /* 自定义背景下子分区按钮半透明 */
    body.custom-bg .tab-subchannel {
      background: rgba(255, 255, 255, 0.3);
      border-color: rgba(255, 255, 255, 0.25);
      color: inherit;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    body.custom-bg .tab-subchannel:hover {
      background: rgba(255, 255, 255, 0.5);
      border-color: rgba(255, 255, 255, 0.5);
      color: inherit;
    }
    body.custom-bg .tab-subchannel.active {
      background: #0ea5e9;
      border-color: #0ea5e9;
      color: #fff;
      text-shadow: none;
    }

    /* 移动端 */
    @media (max-width: 640px) {
      .subchannel-row {
        padding: 4px 10px 6px;
      }
      .subchannel-row-inner { gap: 4px; }
      .subchannel-row-label { font-size: 10px; }
      .tab-subchannel {
        font-size: 11px;
        padding: 4px 10px;
      }
      .tab-channel-parent[data-has-subs="1"]::after {
        border-left-width: 2.5px;
        border-right-width: 2.5px;
        border-top-width: 3.5px;
      }
    }

    /* 管理菜单下拉 */
    .manage-dropdown {
      position: absolute;
      top: 0;
      left: calc(100% + 8px);
      min-width: 200px;
      background: #fff;
      border: 1px solid rgba(0,0,0,0.06);
      border-radius: 16px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.1);
      padding: 6px;
      z-index: 100;
      opacity: 0;
      transform: translateX(-8px) scale(0.92);
      transform-origin: left center;
      pointer-events: none;
      transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    }
    .manage-dropdown.show {
      opacity: 1;
      transform: translateX(0) scale(1);
      pointer-events: auto;
    }
    .manage-dropdown .manage-title {
      font-size: 11px;
      color: #9ca3af;
      font-weight: 600;
      padding: 6px 12px 4px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .manage-dropdown .manage-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px;
      border-radius: 10px;
      font-size: 13px;
      color: #374151;
      cursor: default;
      transition: background 0.15s;
    }
    .manage-dropdown .manage-item:hover {
      background: #f9fafb;
    }
    .manage-dropdown .manage-item-name {
      font-weight: 500;
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .manage-dropdown .manage-item-leave {
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      border: none;
      background: transparent;
      color: #d1d5db;
      transition: all 0.2s;
      flex-shrink: 0;
      margin-left: 8px;
    }
    .manage-dropdown .manage-item-leave:hover {
      background: #fef2f2;
      color: #ef4444;
    }
    .manage-dropdown .manage-empty {
      text-align: center;
      padding: 16px;
      font-size: 12px;
      color: #9ca3af;
    }

    /* ===== 分区管理快捷面板 ===== */
    .channel-manage-btn {
      flex-shrink: 0;
      padding: 5px 10px;
      border-radius: 16px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      border: 1px dashed #d1d5db;
      background: transparent;
      color: #6b7280;
      transition: all 0.2s;
      white-space: nowrap;
      display: none;
    }
    .channel-manage-btn.show { display: inline-flex; align-items: center; gap: 4px; }
    .channel-manage-btn:hover { border-color: #0ea5e9; color: #0ea5e9; background: rgba(14,165,233,0.05); }
    .channel-manage-btn:active { transform: scale(0.96); }

    .channel-manage-overlay {
      position: fixed; top: 0; right: 0; bottom: 0; left: 0;
      background: rgba(15,23,42,0.4);
      z-index: 250;
      display: flex; align-items: flex-end; justify-content: center;
      opacity: 0; pointer-events: none;
      transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1);
    }
    .channel-manage-overlay.show { opacity: 1; pointer-events: auto; }

    .channel-manage-panel {
      background: #fff;
      border-radius: 20px 20px 0 0;
      width: 100%;
      max-width: 420px;
      padding: 12px 20px max(20px, env(safe-area-inset-bottom));
      box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
      transform: translateY(100%);
      transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
      /* 移动端内容溢出时支持垂直滚动 */
      max-height: 85vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
    }
    .channel-manage-overlay.show .channel-manage-panel { transform: translateY(0); }

    .channel-manage-panel .cmp-handle {
      width: 32px; height: 4px;
      background: #e5e7eb; border-radius: 2px;
      margin: 6px auto 16px;
    }
    .channel-manage-panel .cmp-title {
      font-size: 17px; font-weight: 700; color: #111827;
      margin-bottom: 4px;
    }
    .channel-manage-panel .cmp-id-row {
      display: flex; align-items: center; gap: 8px;
      margin-bottom: 16px; padding: 8px 12px;
      background: #f9fafb; border-radius: 10px;
      font-size: 13px; color: #6b7280;
    }
    .channel-manage-panel .cmp-id-row code {
      flex: 1; font-size: 13px; color: #0ea5e9;
      background: #f0f9ff; padding: 3px 8px; border-radius: 5px;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .channel-manage-panel .cmp-id-row .cmp-copy {
      padding: 4px 10px; border-radius: 6px; font-size: 11px;
      font-weight: 600; cursor: pointer; border: none;
      background: #0ea5e9; color: #fff; flex-shrink: 0;
      transition: all 0.2s;
    }
    .channel-manage-panel .cmp-id-row .cmp-copy:active { transform: scale(0.94); }
    .channel-manage-panel .cmp-info {
      display: flex; gap: 8px; margin-bottom: 16px;
      font-size: 12px; color: #9ca3af;
    }
    .channel-manage-panel .cmp-info span {
      background: #f3f4f6; padding: 3px 8px; border-radius: 5px;
    }
    .channel-manage-panel .cmp-actions {
      display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px;
    }
    .channel-manage-panel .cmp-btn {
      display: flex; align-items: center; gap: 10px;
      width: 100%; padding: 12px 16px; border-radius: 12px;
      font-size: 14px; font-weight: 600; cursor: pointer; border: none;
      background: #f9fafb; color: #374151;
      transition: all 0.2s; text-align: left;
    }
    .channel-manage-panel .cmp-btn:active { transform: scale(0.98); }
    .channel-manage-panel .cmp-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
    .channel-manage-panel .cmp-btn.toggle-post.on { background: #f0fdf4; color: #16a34a; }
    .channel-manage-panel .cmp-btn.toggle-post.off { background: #fef2f2; color: #dc2626; }
    .channel-manage-panel .cmp-btn.danger { color: #dc2626; }
    .channel-manage-panel .cmp-btn.danger:active { background: #fef2f2; }
    .channel-manage-panel .cmp-cancel {
      display: block; width: 100%; padding: 12px;
      border: none; border-radius: 12px; font-size: 14px;
      font-weight: 600; cursor: pointer; background: #f3f4f6; color: #6b7280;
      transition: all 0.2s;
    }
    .channel-manage-panel .cmp-cancel:active { background: #e5e7eb; transform: scale(0.98); }

    /* ===== 快捷面板子分区管理区域 ===== */
    .cmp-sub-section {
      margin-top: 4px;
      padding: 12px;
      background: #f9fafb;
      border-radius: 12px;
      border: 1px solid #f3f4f6;
    }
    .cmp-sub-title {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 700;
      color: #6b7280;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .cmp-sub-title svg { width: 14px; height: 14px; color: #9ca3af; }
    .cmp-sub-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 8px;
      max-height: 160px;
      overflow-y: auto;
    }
    .cmp-sub-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 6px 10px;
      background: #fff;
      border-radius: 8px;
      border: 1px solid #f3f4f6;
      gap: 8px;
      cursor: default;
      transition: all 0.2s;
    }
    .cmp-sub-item.dragging {
      opacity: 0.4;
      border-style: dashed;
      border-color: #0ea5e9;
    }
    .cmp-sub-item.drag-over {
      border-color: #0ea5e9;
      background: #f0f9ff;
      box-shadow: inset 0 0 0 1px #0ea5e9;
    }
    .cmp-sub-drag-handle {
      font-size: 14px;
      color: #d1d5db;
      cursor: grab;
      flex-shrink: 0;
      padding: 0 2px;
      user-select: none;
      line-height: 1;
      letter-spacing: -2px;
    }
    .cmp-sub-drag-handle:active { cursor: grabbing; color: #0ea5e9; }
    .cmp-sub-item-name {
      font-size: 13px;
      font-weight: 500;
      color: #374151;
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .cmp-sub-item-name code {
      font-size: 10px;
      color: #9ca3af;
      background: #f3f4f6;
      padding: 1px 4px;
      border-radius: 3px;
      margin-left: 4px;
    }
    .cmp-sub-item-actions {
      display: flex;
      gap: 2px;
      flex-shrink: 0;
    }
    .cmp-sub-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      background: transparent;
      color: #9ca3af;
      transition: all 0.15s;
    }
    .cmp-sub-btn:hover { background: #f3f4f6; color: #374151; }
    .cmp-sub-btn.toggle.on { color: #16a34a; background: #f0fdf4; }
    .cmp-sub-btn.toggle.off { color: #dc2626; background: #fef2f2; }
    .cmp-sub-btn.del:hover { color: #dc2626; background: #fef2f2; }
    .cmp-sub-btn.edit:hover { color: #0ea5e9; background: #f0f9ff; }
    .cmp-sub-create {
      display: flex;
      gap: 6px;
    }
    .cmp-sub-create input {
      flex: 1;
      padding: 7px 10px;
      border: 1px dashed #d1d5db;
      border-radius: 8px;
      font-size: 12px;
      outline: none;
      background: #fff;
      min-width: 0;
    }
    .cmp-sub-create input:focus { border-color: #0ea5e9; border-style: solid; }
    .cmp-sub-create .cmp-copy {
      padding: 6px 12px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      border: none;
      color: #fff;
      flex-shrink: 0;
      transition: all 0.15s;
    }
    .cmp-sub-create .cmp-copy:active { transform: scale(0.94); }

    @media (max-width: 640px) {
      .tab-manage {
        display: none !important;
      }
      .tabs-actions { padding-left: 4px; gap: 2px; }
      .tabs-actions-label { display: none; }
      .channel-manage-btn { padding: 5px 8px; font-size: 11px; }
      /* 移动端关闭 mask（iOS 会阻止 touch scroll），用伪元素替代边缘渐变 */
      .tabs-scroll,
      .tabs-scroll.at-start,
      .tabs-scroll.at-end {
        mask-image: none;
        -webkit-mask-image: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        /* pan-x：明确告诉浏览器"只处理横向滑动"，纵向滑动穿透给页面
           相比 auto，pan-x 消除了浏览器判断滑动方向的决策延迟（~80ms） */
        touch-action: pan-x;
        -ms-touch-action: pan-x;
        overscroll-behavior-x: contain;
        overscroll-behavior: contain;
        flex-wrap: nowrap;
        position: relative;
        z-index: 0;
        /* 关闭平滑动画：scroll-behavior: smooth 在移动端会额外引入 ~100ms 的
           插值过渡，导致滑动跟随不跟手。移动端需要即时响应 */
        scroll-behavior: auto;
      }
      /* 分区标签内部按钮：取消操作延迟，触摸事件立即交付滚动容器 */
      .tabs-scroll .tab {
        touch-action: pan-x;
        -ms-touch-action: pan-x;
      }
      /* 防止分区标签在移动端重叠：所有 flex 子项禁止收缩 */
      .tabs-scroll > * {
        flex-shrink: 0;
        -webkit-tap-highlight-color: transparent;
      }
      /* 移动端分区分隔线紧凑化，释放横向空间 */
      .tabs-divider {
        margin: 0 4px;
      }
    }

    /* 帖子卡片 */
    .post-list,
    #pendingPostList {
      display: flex;
      flex-direction: column;
    }

        .tmp-error {
      text-align: center;
      padding: 40px 20px;
      color: #94a3b8;
      font-size: 13px;
    }
    .tmp-error a {
      color: #0ea5e9;
      text-decoration: none;
      font-weight: 600;
    }
    .tmp-error a:hover { text-decoration: underline; }

    /* 移动端 */
    @media (max-width: 768px) {
      .tmp-wrap {
        border-radius: 12px; margin-bottom: 16px;
      }
      .tmp-top {
        padding: 12px 14px;
        flex-wrap: wrap; gap: 8px;
      }
      .tmp-top-right {
        width: 100%; justify-content: space-between;
      }
      .tmp-logo {
        width: 34px; height: 34px; border-radius: 10px;
      }
      .tmp-logo svg { width: 18px; height: 18px; }
      .tmp-top-title { font-size: 14px; }
      .tmp-stats-bar {
        grid-template-columns: repeat(3, 1fr);
      }
      .tmp-stat-cell { padding: 10px 8px; }
      .tmp-stat-cell .tmp-stat-val { font-size: 17px; }
      .tmp-body { padding: 10px 12px; }
      .tmp-grid {
        grid-template-columns: 1fr; gap: 6px;
      }
      .tmp-card {
        padding: 10px 12px; gap: 10px;
      }
      .tmp-card-flag {
        width: 30px; height: 20px; font-size: 15px;
      }
      .tmp-card-name { font-size: 12px; }
      .tmp-card-meta { font-size: 10px; }
      .tmp-card-num { font-size: 17px; }
      .tmp-stat-badge {
        font-size: 11px; padding: 4px 10px;
      }
      .tmp-refresh-btn {
        font-size: 11px; padding: 5px 10px;
      }
    }
    @media (max-width: 400px) {
      .tmp-top { padding: 10px 10px; }
      .tmp-body { padding: 8px 8px; }
      .tmp-card { padding: 8px 10px; gap: 8px; }
      .tmp-card-flag {
        width: 26px; height: 18px; font-size: 13px;
      }
      .tmp-card-name { font-size: 11px; }
      .tmp-card-num { font-size: 15px; }
      .tmp-card-right { min-width: 50px; }
      .tmp-stats-bar {
        grid-template-columns: repeat(3, 1fr);
      }
      .tmp-stat-cell .tmp-stat-val { font-size: 15px; }
      .tmp-stat-cell .tmp-stat-label { font-size: 10px; }
    }

    .post-card {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 18px 0;
      border-bottom: 1px solid #f3f4f6;
      cursor: pointer;
      transition: background 0.15s ease;
      animation: postFadeIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    }

    .post-card:nth-child(1) { animation-delay: 0s; }
    .post-card:nth-child(2) { animation-delay: 0.05s; }
    .post-card:nth-child(3) { animation-delay: 0.1s; }
    .post-card:nth-child(4) { animation-delay: 0.15s; }
    .post-card:nth-child(5) { animation-delay: 0.2s; }
    .post-card:nth-child(6) { animation-delay: 0.25s; }
    .post-card:nth-child(7) { animation-delay: 0.3s; }
    .post-card:nth-child(8) { animation-delay: 0.35s; }
    .post-card:nth-child(9) { animation-delay: 0.4s; }
    .post-card:nth-child(10) { animation-delay: 0.45s; }

    @keyframes postFadeIn {
      from {
        opacity: 0;
        transform: translateY(16px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ===== 上传中帖子卡片（占位/骨架屏） ===== */
