/* Discuz-style forum list — independent of home-zhihu */
.ls-forum-list {
    --fl-width: 1180px;
    --fl-sidebar: 200px;
    --fl-aside: 260px;
    --fl-primary: var(--ls-primary-hover, #3b82f6);
    --fl-font: 14px;
    --fl-row-h: 42px;
    --fl-today: #e53935;
    --fl-border: #e5e5e5;
    --fl-muted: #999;
    --fl-text: #333;
    --fl-bg: #fff;
    --fl-hover: #f7f9fb;
    box-sizing: border-box;
    width: min(100%, var(--fl-width));
    margin: 16px auto 40px;
    padding: 0 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;

}

.ls-forum-list *,
.ls-forum-list *::before,
.ls-forum-list *::after {
    box-sizing: border-box;
}

.fl-nav-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--fl-border);
    background: var(--fl-bg);
    color: var(--fl-text);
    border-radius: var(--ls-border-radius-btn, 6px);
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
}

.fl-nav-mask {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 998;
}

.fl-sidebar {
    width: var(--fl-sidebar);
    flex: 0 0 var(--fl-sidebar);
    background: var(--fl-bg);
    /* border: 1px solid var(--fl-border); */
    border-radius: var(--ls-border-radius, 8px);
    font-size: 14px;
    line-height: 1.45;
    position: sticky;
    top: calc(var(--ls-header-height, 64px) + 12px);
    z-index: 20;
    max-height: calc(100vh - var(--ls-header-height, 64px) - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    align-self: flex-start;
    scrollbar-width: thin;
}

.fl-sidebar-inner {
    padding: 10px 0 12px;
}

.fl-nav-list {
    list-style: none;
    margin: 0;
    padding: 0 8px;
}

/* 固定区（全部/关注）与自定义版块之间的分隔 */
.fl-nav-list.is-fixed {
    border-bottom: 1px solid #eee;
    margin-bottom: 6px;
    padding-bottom: 6px;
}

.fl-nav-item {
    display: flex;
    align-items: center;
    gap: 12px; /* 掘金：图标 margin-right 12px */
    padding: 10px 17px; /* 掘金：10px 17px */
    margin: 0;
    font-size: 16px; /* 掘金：16px */
    font-weight: 400;
    color: #515767; /* 掘金：--juejin-font-2 */
    text-decoration: none;
    line-height: 24px; /* 掘金：24px */
    border-radius: 4px; /* 掘金：4px */
    transition: background 0.2s ease, color 0.2s ease;
}

.fl-nav-item .remix-icon {
    font-size: 16px; /* 掘金：svg 16×16 */
    color: #8a919f; /* 掘金：--juejin-font-3 */
    flex: 0 0 auto;
    transition: color 0.2s ease;
}

.fl-nav-item span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl-nav-item:hover .remix-icon {
    color: #1e80ff;
}

.fl-nav-item.is-active .remix-icon {
    color: #1e80ff;
}

.fl-nav-item:hover {
    background: #f7f8fa; /* 掘金：--juejin-gray-3 */
    color: #1e80ff; /* 掘金：hover 文字/图标同变品牌色 */
}

.fl-nav-item.is-active {
    background: #eaf2ff; /* 掘金：--juejin-brand-5-light */
    color: #1e80ff;
    font-weight: 500; /* 掘金：激活态 500 */
}

.fl-nav-empty {
    padding: 16px 12px;
    color: var(--fl-muted);
    font-size: 13px;
}

.fl-main {
    flex: 1 1 auto;
    min-width: 0;
    background-color: #fff;
    border-radius: 4px;
}

/* 默认 = 紧凑头图（对齐系统 compact） */
.fl-header {
    position: relative;
    height: 88px;
    overflow: hidden;
    border-bottom: 1px solid var(--fl-border);
    background: #2f5478;
    transition: height 0.2s ease;
}

.fl-header-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.45) saturate(1.2);
    opacity: 0;
    transition: filter 0.2s ease;
}

.fl-header.has-bg .fl-header-bg {
    opacity: 1;
}

.fl-header-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
    /* 列表样式切换（discuz/card）时 overlay 渐变的过渡，见 applyListStyle */
    transition: background 0.2s ease;
}

.fl-header.is-hub {
    height: auto;
    min-height: 56px;
    background: #fff;
}

/* 收起态：替代 hidden 切换（display 突变不触发过渡），
   高度 0↔88/180 走已有的 height 过渡，切换「全部/版块」时头部平滑收放、列表不再瞬间跳动 */
.fl-header.is-collapsed {
    height: 0 !important;
    min-height: 0 !important;
    border-bottom-width: 0;
    overflow: hidden;
}

.fl-header.is-hub .fl-header-bg,
.fl-header.is-hub .fl-header-overlay {
    display: none;
}

.fl-header-content {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    transition: padding 0.2s ease;
}

.fl-header.is-hub .fl-header-content {
    padding: 12px 16px;
}

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

.fl-bbs-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--ls-border-radius, 8px);
    object-fit: cover;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.28);
    transition: width 0.2s ease, height 0.2s ease, border-radius 0.2s ease;
}

.fl-header.is-hub .fl-bbs-avatar {
    background: #eee;
    border-color: var(--fl-border);
}

.fl-header-text {
    min-width: 0;
    flex: 1;
    color: #fff;
}

.fl-header.is-hub .fl-header-text {
    color: var(--fl-text);
}

.fl-header-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.fl-bbs-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: font-size 0.2s ease;
}

.fl-header.is-hub .fl-bbs-title {
    color: var(--fl-text);
    text-shadow: none;
}

.fl-bbs-desc {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fl-header.is-hub .fl-bbs-desc {
    color: #888;
}

.fl-bbs-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fl-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    white-space: nowrap;
}

.fl-header.is-hub .fl-stat {
    color: #888;
}

.fl-stat em {
    font-style: normal;
    font-weight: 700;
    color: #fff;
}

.fl-header.is-hub .fl-stat em {
    color: var(--fl-text);
}

.fl-stat span {
    opacity: 0.9;
}

/* 卡片列表 = 经典头图（对齐系统 classic） */
.ls-forum-list.is-style-card .fl-header:not(.is-hub) {
    height: 180px;
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-header-bg {
    filter: brightness(0.7);
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-header-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-header-content {
    align-items: flex-end;
    padding: 20px 24px;
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-header-left {
    align-items: flex-end;
    gap: 16px;
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-bbs-avatar {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border-width: 3px;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-bbs-title {
    font-size: 22px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-bbs-desc {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.92;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: unset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-header-top {
    align-items: flex-end;
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-bbs-stats {
    gap: 20px;
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-stat {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 12px;
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-stat em {
    font-size: 18px;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-stat span {
    opacity: 0.85;
}

/* 紧凑列表 = 明确锁紧凑头图 */
.ls-forum-list.is-style-discuz .fl-header:not(.is-hub) {
    height: 88px;
}

.ls-forum-list.is-style-discuz .fl-header:not(.is-hub) .fl-header-bg {
    filter: brightness(0.45) saturate(1.2);
}

.ls-forum-list.is-style-discuz .fl-header:not(.is-hub) .fl-header-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.fl-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    /* 掘金 list-header 自适应高度：padding 撑开（≈12px 20px），不固定 min-height */
    padding: 10px 12px;
    border-bottom: 1px solid var(--fl-border);
    background: #fff;
}

.fl-toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 4px;
}

.fl-style-switch {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 2px;
    border: 1px solid #f3f4f6;
    border-radius: var(--ls-border-radius-btn, 6px);
    background: #f8f9fb;
}

.fl-style-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 28px;
    border: none;
    border-radius: var(--ls-border-radius-btn, 4px);
    background: transparent;
    color: #667085;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.fl-style-btn:hover {
    color: var(--fl-primary);
}

.fl-style-btn.is-active {
    background: #fff;
    color: var(--fl-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.fl-style-btn i {
    font-size: 16px;
}

.ls-forum-list.is-style-card .fl-list-head {
    display: none;
}

.ls-forum-list.is-style-card.is-music-list .fl-list-head {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) 108px;
    gap: 12px;
    align-items: center;
    padding: 10px 16px;
    background: transparent;
    border-bottom: 1px solid #eceef2;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 500;
}

.ls-forum-list.is-style-card.is-music-list .fl-col-duration {
    text-align: right;
    padding-right: 4px;
}

.fl-search {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 220px;
    min-width: 160px;
    max-width: 240px;
    /* padding: 6px 0; */
}

.fl-search-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    padding: 4px 8px;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: var(--ls-border-radius-btn, 6px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fl-search-inner:focus-within {
    border-color: var(--fl-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fl-primary) 18%, transparent);
}

.fl-search-inner > .remix-icon {
    font-size: 15px;
    color: var(--fl-primary);
    flex-shrink: 0;
    opacity: 0.75;
}

.fl-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: var(--fl-text);
    height: 22px;
    line-height: 22px;
}

.fl-search-input::placeholder {
    color: #98a2b3;
}

.fl-search-clear {
    border: none;
    background: transparent;
    color: var(--fl-muted);
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: var(--ls-border-radius-btn, 6px);
}

.fl-search-clear:hover {
    color: var(--fl-text);
}

.fl-publish-wrap {
    position: relative;
    flex: 0 0 auto;
}

.fl-publish-wrap[hidden] {
    display: none !important;
}

.fl-publish-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 34px;
    padding: 0 14px;
    border: none;
    border-radius: var(--ls-border-radius-btn, 6px);
    /* background: var(--fl-primary); */
    background: #ef4444;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s ease, filter 0.15s ease;
}

.fl-publish-btn:hover {
    filter: brightness(1.05);
}

.fl-publish-btn i {
    font-size: 14px;
}

.fl-publish-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 40;
    min-width: 140px;
    padding: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--ls-border-radius-btn, 8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.fl-publish-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--ls-border-radius-btn, 6px);
    font-size: 13px;
    color: var(--fl-text);
    cursor: pointer;
    white-space: nowrap;
}

.fl-publish-menu-item:hover {
    background: #f5f6f7;
}

.fl-publish-menu-item i {
    font-size: 16px;
    color: #667085;
}

.fl-post-link .search-hl,
.fl-row-title .search-hl {
    background: #fef08a;
    padding: 0 2px;
    border-radius: var(--ls-border-radius-btn, 4px);
    font-style: normal;
    color: inherit;
}

.fl-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    /* border-bottom: 1px solid #f0f0f0; */
    /* background: #fffbf0; */
    font-size: 13px;
}

.fl-notice-icon {
    color: #e6a23c;
    font-size: 16px;
    margin-top: 1px;
}

.fl-notice-tag {
    flex: 0 0 auto;
    padding: 0 6px;
    height: 20px;
    line-height: 20px;
    border-radius: var(--ls-border-radius-btn, 4px);
    background: #e6a23c;
    color: #fff;
    font-size: 12px;
}

.fl-notice-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.fl-notice-item {
    color: #664d03;
    text-decoration: none;
    line-height: 1.45;
}

.fl-notice-item:hover {
    color: var(--fl-primary);
}

.fl-notice-item.is-plain {
    cursor: default;
    pointer-events: none;
}

/* 多条公告轮播：固定单行高度，纵向滚动切换 */
.fl-notice-list.has-rotation {
    display: block;
    height: 20px;
    overflow: hidden;
}

.fl-notice-list.has-rotation .fl-notice-item {
    display: block;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fl-power {
    padding: 48px 16px;
    text-align: center;
}

.fl-power-card {
    max-width: 360px;
    margin: 0 auto;
    padding: 28px 20px;
    border: 1px solid var(--fl-border);
    border-radius: var(--ls-border-radius, 8px);
    background: #fff;
}

.fl-power-icon {
    font-size: 42px;
    color: #bbb;
    margin-bottom: 12px;
}

.fl-power-title {
    margin: 0 0 8px;
    font-size: 18px;
}

.fl-power-msg {
    margin: 0 0 18px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.fl-power-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fl-power-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 140px;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: var(--ls-border-radius-btn, 6px);
    background: var(--ls-primary, var(--fl-primary));
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.fl-power-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fl-power-input {
    width: 100%;
    max-width: 240px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--fl-border);
    border-radius: var(--ls-border-radius-btn, 6px);
    font-size: 14px;
}

.fl-notice[hidden] {
    display: none !important;
}

.fl-bbs-avatar[hidden],
.fl-bbs-desc[hidden],
.fl-bbs-stats[hidden],
.fl-power[hidden],
.fl-content[hidden],
.fl-filters[hidden] {
    display: none !important;
}

.fl-filters {
    padding: 10px 16px 4px;
    border-bottom: 1px solid #f0f0f0;
}

.fl-filter-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.fl-filter-label {
    flex: 0 0 auto;
    color: #666;
    padding-top: 4px;
    white-space: nowrap;
}

.fl-filter-items {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 2px;
}

.fl-filter-item {
    display: inline-block;
    padding: 3px 8px;
    color: var(--fl-text);
    text-decoration: none;
    border-radius: var(--ls-border-radius-btn, 4px);
}

.fl-filter-item:hover {
    color: var(--fl-primary);
}

.fl-filter-item.is-active {
    background: var(--ls-primary, var(--fl-primary));
    color: #fff;
}

/* ===== 全部标签筛选模式（免分类）：Top N + 展开其余，视觉降级 ===== */
.fl-filter-row--alltags {
    position: relative;
    padding-right: 86px; /* 给「全部 N 个」按钮留位 */
}

/* 折叠时严格两行（行高固定 24px × 2 + 行距 4px），第三行整体裁掉、不会切到半个标签 */
.fl-filter-row--alltags .fl-filter-items.is-collapsed {
    max-height: 52px;
    overflow: hidden;
}

/* 二级筛选视觉降级：比排序 Tab 小一号、淡一号，把首屏层级还给内容 */
.fl-filter-row--alltags .fl-filter-item {
    font-size: 13px;
    color: #999;
    padding: 2px 7px;
    line-height: 20px; /* 固定行高 24px，配合两行折叠精确裁切 */
}

.fl-filter-row--alltags .fl-filter-item:hover {
    color: var(--fl-primary);
}

.fl-filter-row--alltags .fl-filter-item.is-active {
    color: #fff;
}

.fl-filter-row--alltags .fl-filter-item em {
    font-style: normal;
    font-size: 11px;
    color: #ccc;
    margin-left: 3px;
}

.fl-filter-row--alltags .fl-filter-item:hover em {
    color: var(--fl-primary);
    opacity: .6;
}

.fl-filter-row--alltags .fl-filter-item.is-active em {
    color: rgba(255, 255, 255, .75);
}

.fl-filter-toggle {
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    background: none;
    padding: 2px 0;
    font-size: 13px;
    color: #999;
    cursor: pointer;
    white-space: nowrap;
}

.fl-filter-toggle i {
    font-style: normal;
    font-size: 10px;
}

.fl-filter-toggle:hover {
    color: var(--fl-primary);
}

.fl-tabs {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border-bottom: none;
    background: transparent;
}

.fl-tabs .nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fl-tabs .nav-item {
    display: flex;
}

/* 掘金 list-nav 风格：激活项深色文字 + 文字下方居中蓝色小圆条 */
.fl-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #86909c;
    text-decoration: none;
    font-size: 14px;
    transition: color .15s ease;
}

.fl-tab:hover {
    color: #1e2126;
}

.fl-tab.is-active {
    color: #1e2126;
    font-weight: 500;
    background: transparent;
}

.fl-tab.is-active::after {
    display: block;
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 40%;
    width: 22%;
    height: 3px;
    background-color: var(--fl-primary, #1e80ff);
    border-radius: 2px;
}

/* Discuz 表头默认不显示：行内已有作者/回复/时间，表头占高且易显乱 */
.fl-list-head {
    display: none;
    grid-template-columns: minmax(0, 1fr) 120px 72px 110px;
    gap: 8px;
    align-items: center;
    padding: 8px 16px;
    background: #f5f6f8;
    border-bottom: 1px solid var(--fl-border);
    color: #666;
    font-size: 12px;
}

.fl-col-author,
.fl-col-stats,
.fl-col-last {
    text-align: right;
}

/* ===== 掘金同款骨架屏（xitu-skeleton 1:1：单块 4 线 + shimmer 扫光） ===== */
@keyframes fl-skel-sweep {
    0% { background-position: 0 0; }
    100% { background-position: 480px 0; }
}

.fl-skel {
    grid-column: 1 / -1; /* 视频/商品网格容器下占满整行 */
}

.fl-skel-content {
    overflow: hidden;
    padding: 20px;
}

.fl-skel-line {
    width: 100%;
    margin-bottom: 16px;
    height: 14px;
    background: linear-gradient(90deg, #e4e6eb, rgba(228, 230, 235, 0.5), #e4e6eb);
    background-size: 480px 480px;
    animation: fl-skel-sweep 0.6s linear infinite;
}

/* 掘金同款错落宽度：40% / 100% / 80% / 60% */
.fl-skel-line:first-child {
    width: 40%;
    margin-top: 8px;
}

.fl-skel-line:nth-child(3) {
    width: 80%;
}

.fl-skel-line:last-child {
    width: 60%;
    margin-bottom: 0;
}

/* ===== 阅读流卡片（对齐掘金结构：entry 12/20/0 + content-wrapper 0/0/12） ===== */
.fl-card-row {
    cursor: pointer;
    position: relative;
    background: #fff;
    padding: 12px 20px 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.fl-card-row:hover {
    background: #fafafa;
}

/* 对应掘金的 .content-wrapper：flex 容器，底部 12px 内边距撑开分割间距 */
.fl-card-wrap {
    display: flex;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(228, 230, 235, 0.5);
    width: 100%;
}

.fl-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fl-card-title-line {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
}

.fl-card-title {
    /* flex: 1; */
    /* min-width: 0; */
    /* font-size: 16px; */
    /* font-weight: 600; */
    /* line-height: 24px; */
    color: #252933;
    /* text-decoration: none !important; */
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    /* color: var(--juejin-font-1); */
    width: 100%;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.fl-card-title:hover {
    /* color: var(--fl-primary); */
}

.fl-card-row.is-today .fl-card-title {
    color: var(--fl-today);
}

/* 掘金式单行摘要，保证每行卡片高度一致 */
.fl-card-excerpt {
    color: #86909c;
    font-size: 13px;
    line-height: 22px;
    height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fl-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
    margin-top: auto;
}

.fl-card-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    color: #86909c;
    font-size: 13px;
    line-height: 22px;
    min-width: 0;
}

.fl-card-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4e5969;
    text-decoration: none !important;
    max-width: 160px;
}

.fl-card-author:hover {
    color: var(--fl-primary);
}

.fl-card-author span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl-card-avatar {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f2f3f5;
    display: none;
}

.fl-card-avatar.is-empty {
    display: inline-block;
}

.fl-card-time.is-fresh {
    color: var(--fl-today);
}

.fl-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fl-card-stat i {
    font-size: 14px;
}

/* 掘金同款浏览/点赞 SVG 图标 */
.fl-view-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.fl-like-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* 已点赞：显示实心拇指，隐藏线框拇指（掘金同款双图标切换） */
.fl-liked-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: none;
}

button.fl-card-like.is-liked .fl-like-icon {
    display: none;
}

button.fl-card-like.is-liked .fl-liked-icon {
    display: block;
}

button.fl-card-like {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.12s ease;
}

button.fl-card-like:hover {
    color: var(--fl-primary);
}

button.fl-card-like.is-liked {
    color: var(--fl-primary);
}

button.fl-card-like:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--fl-primary) 45%, transparent);
    outline-offset: 2px;
}

/* 三点「更多」（掘金同款：仅鼠标悬停卡片时显示，点击由全站 post-list.js 接管） */
button.fl-card-more {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #8a919f;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, color 0.12s ease;
}

button.fl-card-more .fl-more-icon {
    display: block;
}

.fl-card-row:hover button.fl-card-more,
button.fl-card-more:focus-visible {
    opacity: 1;
    visibility: visible;
}

button.fl-card-more:hover {
    color: var(--fl-primary);
}

.fl-card-tags {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.fl-card-tag {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 2px;
    background: #f2f3f5;
    color: #86909c;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.12s ease, background 0.12s ease;
}

a.fl-card-tag:hover {
    color: var(--fl-primary);
    background: color-mix(in srgb, var(--fl-primary) 12%, #f2f3f5);
}

.fl-card-cover {
    flex: 0 0 108px;
    width: 108px;
    height: 72px;
    overflow: hidden;
    align-self: center;
    display: block;
    position: relative;
    background: #f2f3f5 center / cover no-repeat;
    border-radius: 4px;
    font-size: 0;
    margin-left: 24px;
}

.fl-list-loading,
.fl-list-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 40px 16px;
    text-align: center;
    color: var(--fl-muted);
    box-sizing: border-box;
    grid-column: 1 / -1; /* 网格容器下占满整行 */
}

/* ===== 音乐歌单行（Apple Music 风格） ===== */
.fl-music-row {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) 108px;
    gap: 12px;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f2f5;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.fl-music-row:hover:not(.is-playing) {
    background: #f7f8fa;
}

.fl-music-row.is-current:not(.is-playing) {
    background: rgba(51, 102, 153, 0.08);
    background: color-mix(in srgb, var(--fl-primary) 8%, #fff);
}

.fl-music-row.is-playing {
    background: var(--ls-primary, var(--fl-primary)) !important;
    border-bottom-color: transparent;
}

.fl-music-row.is-playing:hover {
    background: var(--ls-primary-hover, var(--ls-primary, var(--fl-primary))) !important;
    border-bottom-color: transparent;
    filter: brightness(0.94);
}

.fl-music-row.is-playing .fl-music-name,
.fl-music-row.is-playing .fl-music-artist,
.fl-music-row.is-playing .fl-music-sharer,
.fl-music-row.is-playing .fl-music-author,
.fl-music-row.is-playing .fl-music-time,
.fl-music-row.is-playing .fl-music-listen,
.fl-music-row.is-playing .fl-music-more,
.fl-music-row.is-playing .fl-music-artist-mobile,
.fl-music-row.is-playing:hover .fl-music-name,
.fl-music-row.is-playing:hover .fl-music-artist,
.fl-music-row.is-playing:hover .fl-music-sharer,
.fl-music-row.is-playing:hover .fl-music-author,
.fl-music-row.is-playing:hover .fl-music-time,
.fl-music-row.is-playing:hover .fl-music-listen,
.fl-music-row.is-playing:hover .fl-music-more,
.fl-music-row.is-playing:hover .fl-music-artist-mobile,
.fl-music-row.is-playing .fl-music-name:hover,
.fl-music-row.is-playing .fl-music-author:hover,
.fl-music-row.is-playing .fl-music-listen:hover,
.fl-music-row.is-playing .fl-music-more:hover {
    color: #fff !important;
}

.fl-music-row.is-playing .fl-music-more:hover {
    background: rgba(255, 255, 255, 0.18);
}

.fl-music-row.is-current:not(.is-playing) .fl-music-name,
.fl-music-row.is-today:not(.is-playing) .fl-music-name {
    color: var(--fl-primary);
}

.fl-music-song {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
}

.fl-music-cover {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #eef0f3;
    cursor: pointer;
}

.fl-music-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #eef0f3;
    transition: filter 0.15s ease;
}

.fl-music-row.is-playing .fl-music-cover img {
    filter: brightness(0.45);
}

.fl-music-row.is-playing .fl-music-cover::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
    z-index: 1;
}

.fl-music-play-icon {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    opacity: 0;
    transition: opacity 0.12s ease;
    z-index: 3;
}

.fl-music-play-icon i {
    font-size: 18px;
}

.fl-music-row:hover .fl-music-play-icon,
.fl-music-row.is-locked .fl-music-play-icon,
.fl-music-row.is-current:not(.is-playing) .fl-music-play-icon {
    opacity: 1;
}

.fl-music-row.is-playing .fl-music-play-icon {
    opacity: 0;
    background: rgba(0, 0, 0, 0.45);
}

.fl-music-row.is-playing:hover .fl-music-play-icon {
    opacity: 1;
}

.fl-music-eq {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.fl-music-eq i {
    display: block;
    width: 3px;
    height: 14px;
    border-radius: 1px;
    background: #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);
    transform-origin: bottom center;
    animation: fl-music-eq 0.85s ease-in-out infinite;
}

.fl-music-eq i:nth-child(1) { animation-delay: 0s; }
.fl-music-eq i:nth-child(2) { animation-delay: 0.15s; }
.fl-music-eq i:nth-child(3) { animation-delay: 0.3s; }
.fl-music-eq i:nth-child(4) { animation-delay: 0.45s; }

.fl-music-row.is-playing .fl-music-eq {
    display: flex;
}

.fl-music-row.is-playing:hover .fl-music-eq {
    opacity: 0;
}

@keyframes fl-music-eq {
    0%, 100% { transform: scaleY(0.35); }
    50% { transform: scaleY(1); }
}

.fl-music-song-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fl-music-artist-mobile {
    display: none;
}

.fl-music-badges {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.fl-music-name {
    display: block;
    max-width: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #1f2937;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.fl-music-name:hover {
    color: var(--fl-primary);
}

.fl-music-artist,
.fl-music-sharer {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    color: #667085;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fl-music-author {
    display: block;
    max-width: 100%;
    color: inherit;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fl-music-author:hover {
    color: var(--fl-primary);
}

.fl-music-duration {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    color: #98a2b3;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.fl-music-time {
    min-width: 36px;
    text-align: right;
}

.fl-music-listen {
    display: none;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: var(--fl-primary, #336699);
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .fl-music-row:hover .fl-music-time {
        display: none;
    }

    .fl-music-row:hover .fl-music-listen {
        display: inline-flex;
    }
}

.fl-music-listen:hover {
    text-decoration: underline;
}

.fl-music-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #98a2b3;
    text-decoration: none !important;
    opacity: 0;
    transition: opacity 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.fl-music-row:hover .fl-music-more {
    opacity: 1;
}

.fl-music-more:hover {
    background: #eef0f3;
    color: #475467;
}

.fl-music-row.is-locked .fl-music-name {
    color: #98a2b3;
}

/* ===== 视频封面网格（B 站式） ===== */
.ls-forum-list.is-style-card.is-video-list .fl-list-head {
    display: none;
}

.ls-forum-list.is-style-card.is-video-list .fl-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 14px;
    padding: 12px 20px 8px;
    align-content: start;
}

.ls-forum-list.is-style-card.is-video-list .fl-list-loading,
.ls-forum-list.is-style-card.is-video-list .fl-list-empty {
    grid-column: 1 / -1;
}

.fl-video-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    cursor: pointer;
}

.fl-video-cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #1a1a1e;
    text-decoration: none;
}

.fl-video-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #1a1a1e;
    transition: transform 0.25s ease;
}

.fl-video-cover-empty {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2d35 0%, #1a1a1e 100%);
}

.fl-video-card:hover .fl-video-cover img {
    transform: scale(1.04);
}

.fl-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
    pointer-events: none;
}

.fl-video-play i {
    margin-left: 1px;
}

.fl-video-card:hover .fl-video-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: var(--ls-primary, var(--fl-primary));
}

.fl-video-card.is-locked .fl-video-play {
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.55);
}

.fl-video-duration {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 1px 5px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 11px;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.fl-video-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 2px 2px;
    min-width: 0;
}

.fl-video-title-line {
    display: flex;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
    min-height: calc(13px * 1.4 * 2);
}

.fl-video-title {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--fl-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fl-video-title:hover {
    color: var(--fl-primary);
}

.fl-video-card.is-today .fl-video-title {
    color: var(--fl-today, #e53935);
}

.fl-video-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--fl-muted);
    font-size: 11px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.fl-video-author {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
    color: inherit;
    text-decoration: none;
}

.fl-video-author:hover {
    color: var(--fl-primary);
}

.fl-video-author span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 72px;
}

.fl-video-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.fl-video-avatar.is-empty {
    background: #e8eaef;
}

.fl-video-time {
    flex-shrink: 0;
    white-space: nowrap;
}

.fl-video-time.is-fresh {
    color: var(--fl-today, #e53935);
}

.fl-video-stat {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: inherit;
    flex-shrink: 0;
    white-space: nowrap;
}

.fl-video-stat i {
    font-size: 12px;
}

button.fl-video-stat.fl-card-like {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

button.fl-video-stat.fl-card-like:hover,
button.fl-video-stat.fl-card-like.is-liked {
    color: var(--fl-primary);
}

.fl-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 72px 110px;
    gap: 8px;
    align-items: center;
    min-height: var(--fl-row-h);
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: background 0.1s ease;
}

.fl-row:hover {
    background: var(--fl-hover);
}

.fl-row-title {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex-wrap: nowrap;
}

.fl-row-title .fl-post-link {
    color: var(--fl-text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.fl-row-title .fl-post-link:hover {
    color: var(--fl-primary);
}

.fl-row.is-today .fl-row-title .fl-post-link {
    color: var(--fl-today);
}

.fl-title-icon {
    flex: 0 0 auto;
    font-size: 14px;
    color: #43a047;
    line-height: 1;
}

.fl-title-icon.ri-attachment-2 {
    color: #757575;
}

.fl-page-jump {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 4px;
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

.fl-page-jump .fl-page-num {
    color: #666;
    text-decoration: none;
    padding: 0 2px;
}

.fl-page-jump .fl-page-num:hover {
    color: var(--fl-primary);
}

@media (max-width: 1100px) {
    .ls-forum-list.is-style-card.is-video-list .fl-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 12px;
    }
}

/* 紧凑型标签（对齐系统 bbs compact） */
.ls-forum-list .ls-bbs-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    /* padding: 1px 5px; */
    border-radius: var(--ls-border-radius-btn, 3px);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.4;
}

.ls-forum-list .ls-bbs-tag.ls-tag-pin {
    background: rgba(var(--ls-primary-rgb, 51, 102, 153), 0.12);
    color: var(--fl-primary);
}

.ls-forum-list .ls-bbs-tag.ls-tag-pin i {
    font-size: 10px;
}

.ls-forum-list .ls-bbs-tag.ls-tag-nice {
    background: #fff3e0;
    color: #e65100;
}

.fl-row-author,
.fl-row-stats,
.fl-row-last {
    text-align: right;
    font-size: 12px;
    color: #666;
    line-height: 1.35;
}

.fl-row-author .fl-author-name,
.fl-row-last .fl-last-user {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.fl-row-author .fl-author-name:hover,
.fl-row-last .fl-last-user:hover {
    text-decoration: underline;
}

.fl-row-author .fl-author-time,
.fl-row-last .fl-last-time {
    display: block;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl-row-author .fl-author-time.is-fresh,
.fl-row-last .fl-last-time.is-fresh {
    color: var(--fl-today, #e53935);
}

.fl-row-stats .fl-stat-reply,
.fl-row-stats .fl-stat-view {
    display: block;
}

.fl-row-stats .fl-stat-reply {
    color: var(--fl-primary);
    font-weight: 600;
}

.fl-row-stats .fl-stat-view {
    color: var(--fl-muted);
}

.fl-row-meta {
    display: none;
}

.fl-pager {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px 18px;
    border-top: 1px solid #f0f0f0;
    background: #fafbfc;
}

.fl-pager-more-wrap {
    display: flex;
    justify-content: center;
}

.fl-pager-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 220px;
    height: 36px;
    padding: 0 20px;
    /* border: 1px solid #d8dee6; */
    border-radius: 2px;
    background: #fff;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}

.fl-pager-more i {
    font-size: 15px;
}

.fl-pager-more:hover:not(.is-disabled):not(:disabled) {
    border-color: var(--fl-primary, #3b82f6);
    color: var(--fl-primary, #3b82f6);
}

.fl-pager-more.is-loading {
    opacity: 0.75;
    cursor: wait;
}

.fl-pager-more.is-disabled,
.fl-pager-more:disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.fl-pager-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.fl-pager-btn,
.fl-pager-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 32px;
    padding: 0 10px;
    /* border: 1px solid #d8dee6; */
    background: #fff;
    color: #444;
    text-decoration: none;
    border-radius: var(--ls-border-radius-btn, 6px);
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.fl-pager-btn:hover,
.fl-pager-num:hover {
    border-color: var(--fl-primary);
    color: var(--fl-primary);
}

.fl-pager-num.is-active {
    background: var(--ls-primary, var(--fl-primary));
    border-color: transparent;
    color: #fff;
    box-shadow: none;
    font-weight: 600;
}

.fl-pager-btn.fl-pager-next:not(.is-disabled) {
    background: var(--ls-primary, var(--fl-primary));
    border-color: transparent;
    color: #fff;
    min-width: 64px;
    font-weight: 500;
}

.fl-pager-btn.fl-pager-next:not(.is-disabled):hover {
    filter: brightness(1.05);
    color: #fff;
}

.fl-pager-btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.fl-pager-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 32px;
    color: #98a2b3;
    font-size: 13px;
    user-select: none;
}

.fl-pager-jump {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 2px;
}

.fl-pager-input {
    width: 52px;
    height: 32px;
    padding: 0 6px;
    border: 1px solid #d8dee6;
    border-radius: var(--ls-border-radius-btn, 6px);
    background: #fff;
    color: #333;
    font-size: 13px;
    text-align: center;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    -moz-appearance: textfield;
}

.fl-pager-input::-webkit-outer-spin-button,
.fl-pager-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fl-pager-input:focus {
    border-color: var(--fl-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fl-primary) 16%, transparent);
}

.fl-pager-total {
    color: #667085;
    font-size: 13px;
    white-space: nowrap;
}

/* ===== Mobile ===== */
@media (max-width: 860px) {
    .ls-forum-list {
        flex-direction: column;
        margin: 10px auto 28px;
        gap: 10px;
    }

    .fl-nav-toggle {
        display: inline-flex;
        width: fit-content;
    }

    .fl-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(80vw, 280px);
        z-index: 999;
        overflow: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
        border: 0;
        border-right: 1px solid var(--fl-border);
    }

    .ls-forum-list.is-nav-open .fl-sidebar {
        display: block;
    }

    .ls-forum-list.is-nav-open .fl-nav-mask {
        display: block;
    }

    .fl-main {
        width: 100%;
    }

    .fl-header {
        height: auto;
        min-height: 72px;
    }

    .ls-forum-list.is-style-card .fl-header:not(.is-hub) {
        height: 140px;
        min-height: 140px;
    }

    .ls-forum-list.is-style-discuz .fl-header:not(.is-hub) {
        height: 72px;
        min-height: 72px;
    }

    .fl-header.is-hub {
        min-height: 52px;
    }

    .fl-header-content {
        padding: 10px 12px;
    }

    .ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-header-content {
        padding: 14px 12px;
    }

    .fl-bbs-avatar {
        width: 40px;
        height: 40px;
    }

    .ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-bbs-avatar {
        width: 52px;
        height: 52px;
    }

    .fl-bbs-title {
        font-size: 16px;
    }

    .ls-forum-list.is-style-card .fl-header:not(.is-hub) .fl-bbs-title {
        font-size: 18px;
    }

    .fl-bbs-desc {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .fl-toolbar {
        flex-wrap: wrap;
        padding: 6px 12px;
        gap: 6px;
    }

    .fl-tabs {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .fl-toolbar-right {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        flex-wrap: wrap;
    }

    .fl-style-switch {
        order: 3;
    }

    .fl-search {
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
        padding: 0;
        order: 1;
    }

    .fl-publish-wrap {
        flex: 0 0 auto;
        order: 2;
    }

    .fl-card-row {
        padding: 12px 14px 0;
    }

    .fl-card-wrap {
        gap: 12px;
        padding-bottom: 12px;
    }

    .fl-card-title {
        font-size: 15px;
        line-height: 22px;
    }

    .fl-card-cover {
        flex: 0 0 96px;
        width: 96px;
        height: 64px;
    }

    .fl-card-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .fl-card-tags {
        justify-content: flex-start;
    }

    .fl-list-head {
        display: none;
    }

    .ls-forum-list.is-style-card.is-music-list .fl-list-head {
        display: none;
    }

    .fl-music-row {
        grid-template-columns: minmax(0, 1fr) 64px;
        gap: 10px;
        padding: 10px 12px;
    }

    .fl-music-artist,
    .fl-music-sharer {
        display: none;
    }

    .fl-music-song-text .fl-music-artist-mobile {
        display: block;
        font-size: 12px;
        color: #98a2b3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .fl-music-more {
        opacity: 1;
    }

    .ls-forum-list.is-style-card.is-video-list .fl-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 12px;
        padding: 10px 0 6px;
    }

    .fl-video-play {
        width: 28px;
        height: 28px;
        font-size: 14px;
        opacity: 0.75;
    }

    .fl-video-title {
        font-size: 13px;
        min-height: calc(13px * 1.4 * 2);
    }

    .fl-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        min-height: 0;
    }

    .fl-row-title a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .fl-row-author,
    .fl-row-stats,
    .fl-row-last {
        display: none;
    }

    .fl-row-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        font-size: 12px;
        color: #888;
    }

    .fl-pager {
        justify-content: center;
        padding: 12px 8px 16px;
    }

    .fl-pager-inner {
        justify-content: center;
    }

    .fl-filter-row {
        flex-direction: column;
        gap: 4px;
    }
}

/* ===== 公告 Changelog 布局 ===== */
.ls-forum-list.is-announce-list .fl-list-head,
.ls-forum-list.is-announce-list #fl-style-switch {
    display: none !important;
}

.ls-forum-list.is-announce-list .fl-list {
    padding: 16px 20px 28px;
    background: #fafafa;
}

.fl-announce-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fl-announce-hero {
    display: block;
    padding: 22px 24px 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, background .15s ease;
}

.fl-announce-hero:hover {
    border-color: var(--fl-primary, #3b82f6);
    background: #fff;
}

.fl-announce-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.fl-announce-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fl-primary, #3b82f6);
}

.fl-announce-hero-date {
    font-size: 12px;
    color: #8a8a8a;
    font-variant-numeric: tabular-nums;
}

.fl-announce-hero-title-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.fl-announce-hero-title {
    flex: 1;
    min-width: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
}

.fl-announce-hero-excerpt {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fl-announce-hero-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fl-primary, #3b82f6);
}

.fl-announce-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}

.fl-announce-item {
    display: grid;
    grid-template-columns: 108px 18px auto minmax(0, 1fr) 18px;
    align-items: center;
    column-gap: 10px;
    padding: 14px 18px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    transition: background .12s ease;
}

.fl-announce-item:last-child {
    border-bottom: 0;
}

.fl-announce-item:hover {
    background: #f7f8fa;
}

.fl-announce-item:hover .fl-announce-title {
    color: var(--fl-primary, #3b82f6);
}

.fl-announce-date {
    font-size: 12px;
    color: #8a8a8a;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.fl-announce-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    justify-self: center;
    outline: 3px solid #fff;
    position: relative;
    z-index: 1;
}

.fl-announce-item:hover .fl-announce-dot {
    background: var(--fl-primary, #3b82f6);
}

.fl-announce-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
    background: #f0f0f0;
    color: #555;
}

.fl-announce-badge.is-notice {
    background: #fff1f0;
    color: #cf1322;
}

.fl-announce-badge.is-update {
    background: #e6f4ff;
    color: #0958d9;
}

.fl-announce-badge.is-coop {
    background: #f6ffed;
    color: #389e0d;
}

.fl-announce-badge.is-tip {
    background: #fff7e6;
    color: #d46b08;
}

.fl-announce-title {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.fl-announce-arrow {
    color: #c0c0c0;
    font-size: 16px;
    justify-self: end;
}

.fl-announce-item:hover .fl-announce-arrow {
    color: var(--fl-primary, #3b82f6);
}

.fl-announce-pins {
    padding-top: 4px;
}

.fl-announce-pins-label {
    font-size: 12px;
    font-weight: 600;
    color: #8a8a8a;
    margin-bottom: 10px;
    letter-spacing: .02em;
}

.fl-announce-pins-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fl-announce-pin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e8e8e8;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: border-color .12s ease, color .12s ease;
}

.fl-announce-pin i {
    color: #b0b0b0;
    font-size: 14px;
    flex-shrink: 0;
}

.fl-announce-pin span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl-announce-pin:hover {
    border-color: var(--fl-primary, #3b82f6);
    color: var(--fl-primary, #3b82f6);
}

.fl-announce-pin:hover i {
    color: var(--fl-primary, #3b82f6);
}

/* ===== 工单式反馈布局 ===== */
.ls-forum-list.is-ticket-list .fl-list-head,
.ls-forum-list.is-ticket-list #fl-style-switch {
    display: none !important;
}

.ls-forum-list.is-ticket-list .fl-list {
    padding: 12px 16px 24px;
    background: #fafafa;
}

.fl-ticket-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl-ticket-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e8e8e8;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.fl-ticket-tip i {
    color: var(--fl-primary, #3b82f6);
    font-size: 16px;
    margin-top: 1px;
    flex-shrink: 0;
}

.fl-ticket-list {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
}

.fl-ticket-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 96px 56px 118px;
    align-items: center;
    column-gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background .12s ease;
}

.fl-ticket-item:last-child {
    border-bottom: 0;
}

.fl-ticket-item:hover {
    background: #f7f8fa;
}

.fl-ticket-item.is-sticky {
    background: #fffdf8;
}

.fl-ticket-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    justify-self: start;
}

.fl-ticket-status.is-pending {
    background: #fff7e6;
    color: #d46b08;
}

.fl-ticket-status.is-replied {
    background: #e6f4ff;
    color: #0958d9;
}

.fl-ticket-status.is-watch {
    background: #f6ffed;
    color: #389e0d;
}

.fl-ticket-title {
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl-ticket-item:hover .fl-ticket-title {
    color: var(--fl-primary, #3b82f6);
}

.fl-ticket-author {
    font-size: 12px;
    color: #8a8a8a;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl-ticket-author:hover {
    color: var(--fl-primary, #3b82f6);
}

.fl-ticket-replies {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: #8a8a8a;
    font-variant-numeric: tabular-nums;
}

.fl-ticket-replies i {
    font-size: 13px;
}

.fl-ticket-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 12px;
    color: #8a8a8a;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}

.fl-ticket-time em {
    font-style: normal;
    color: #666;
}

.fl-ticket-time i {
    font-style: normal;
    font-size: 11px;
    color: #a0a0a0;
}

/* ===== 骗子曝光布局（仅用标题/有图/回复/日期） ===== */
.ls-forum-list.is-expose-list .fl-list-head,
.ls-forum-list.is-expose-list #fl-style-switch {
    display: none !important;
}

.ls-forum-list.is-expose-list .fl-list {
    padding: 12px 16px 24px;
    background: #fafafa;
}

.fl-expose-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl-expose-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff7e6;
    border: 1px solid #ffe58f;
    font-size: 13px;
    line-height: 1.5;
    color: #874d00;
}

.fl-expose-tip i {
    color: #d48806;
    font-size: 16px;
    margin-top: 1px;
    flex-shrink: 0;
}

.fl-expose-list {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
}

.fl-expose-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background .12s ease;
}

.fl-expose-item:last-child {
    border-bottom: 0;
}

.fl-expose-item:hover {
    background: #fffbf0;
}

.fl-expose-item.is-sticky {
    background: #fffdf8;
}

.fl-expose-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: #fff1f0;
    color: #cf1322;
    white-space: nowrap;
}

.fl-expose-title {
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl-expose-item:hover .fl-expose-title {
    color: #cf1322;
}

.fl-expose-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    font-size: 12px;
    color: #8a8a8a;
    font-variant-numeric: tabular-nums;
}

.fl-expose-flag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.fl-expose-flag i {
    font-size: 13px;
}

.fl-expose-date {
    color: #666;
    white-space: nowrap;
}

/* ===== 商品卡隐私布局（无卖家） ===== */
.ls-forum-list.is-market-list .fl-list-head,
.ls-forum-list.is-market-list #fl-style-switch {
    display: none !important;
}

.ls-forum-list.is-market-list .fl-list {
    padding: 4px 16px 28px;
    background: #fff;
}

.fl-market-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 14px;
}

.fl-market-grid > .fl-list-empty {
    grid-column: 1 / -1;
    padding: 48px 16px;
}

.fl-market-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.fl-market-card.is-sticky .fl-market-cover {
    outline: 1px solid rgba(250, 173, 20, 0.55);
    outline-offset: -1px;
}

.fl-market-cover {
    display: block;
    position: relative;
    aspect-ratio: 3 / 2;
    border-radius: 6px;
    background: #f0f2f5;
    overflow: hidden;
}

.fl-market-cover::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: inherit;
    pointer-events: none;
}

.fl-market-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #f0f2f5;
    transition: transform .25s ease;
}

.fl-market-card:hover .fl-market-cover img {
    transform: scale(1.04);
}

.fl-market-cover-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #bfc5cf;
    font-size: 28px;
    background: #f0f2f5;
}

.fl-market-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 2px 0;
}

.fl-market-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: #1f2329;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.45em * 2);
    word-break: break-word;
}

.fl-market-card:hover .fl-market-title {
    color: var(--fl-primary, #3b82f6);
}

.fl-market-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1;
    color: #8f959e;
    font-variant-numeric: tabular-nums;
}

.fl-market-flag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.fl-market-flag i {
    font-size: 13px;
    opacity: 0.85;
}

.fl-market-date {
    white-space: nowrap;
    letter-spacing: 0.01em;
}

@media (max-width: 1100px) {
    .fl-market-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ls-forum-list.is-announce-list .fl-list {
        padding: 12px 12px 20px;
    }

    .fl-announce-hero {
        padding: 16px 16px 14px;
        border-radius: 10px;
    }

    .fl-announce-hero-title {
        font-size: 17px;
    }

    .fl-announce-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 8px;
        row-gap: 6px;
        padding: 12px;
    }

    .fl-announce-date {
        order: 1;
    }

    .fl-announce-badge {
        order: 2;
    }

    .fl-announce-dot,
    .fl-announce-arrow {
        display: none;
    }

    .fl-announce-title {
        order: 3;
        flex: 1 1 100%;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .ls-forum-list.is-ticket-list .fl-list {
        padding: 10px 10px 16px;
    }

    .fl-ticket-item {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "status replies"
            "title title"
            "author time";
        row-gap: 6px;
        column-gap: 8px;
        padding: 12px;
    }

    .fl-ticket-status { grid-area: status; }
    .fl-ticket-replies { grid-area: replies; justify-self: end; }
    .fl-ticket-title {
        grid-area: title;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .fl-ticket-author { grid-area: author; }
    .fl-ticket-time {
        grid-area: time;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .ls-forum-list.is-expose-list .fl-list {
        padding: 10px 10px 16px;
    }

    .fl-expose-item {
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-rows: auto auto;
        row-gap: 6px;
        padding: 12px;
    }

    .fl-expose-title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .fl-expose-meta {
        grid-column: 1 / -1;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .ls-forum-list.is-market-list .fl-list {
        padding: 4px 12px 20px;
    }

    .fl-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .fl-market-title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fl-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 8px;
    }

    .fl-market-title {
        font-size: 12px;
        min-height: calc(1.4em * 2);
    }

    .fl-market-meta {
        font-size: 11px;
    }
}

/* ===== 横版商品行（market_style=row） ===== */
.fl-market-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fl-market-rows > .fl-list-empty {
    padding: 48px 16px;
}

.fl-market-row {
    display: flex;
    align-items: stretch;
    gap: 14px;
    padding: 12px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.fl-market-row:hover {
    border-color: var(--fl-primary, #3b82f6);
    box-shadow: 0 4px 14px rgba(31, 35, 41, 0.08);
    transform: translateY(-1px);
}

.fl-market-row.is-sticky {
    border-color: rgba(250, 173, 20, 0.55);
    background: linear-gradient(0deg, rgba(250, 173, 20, 0.05), rgba(250, 173, 20, 0.05)), #fff;
}

.fl-market-row-cover {
    display: block;
    position: relative;
    flex: 0 0 120px;
    width: 120px;
    height: 90px;
    border-radius: 8px;
    background: #f0f2f5;
    overflow: hidden;
}

.fl-market-row-cover::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: inherit;
    pointer-events: none;
}

.fl-market-row-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #f0f2f5;
}

.fl-market-row-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 0;
}

.fl-market-row .fl-market-title {
    font-size: 14px;
    min-height: 0;
}

.fl-market-row:hover .fl-market-title {
    color: var(--fl-primary, #3b82f6);
}

.fl-market-row .fl-market-meta {
    justify-content: flex-start;
    gap: 14px;
}

@media (max-width: 768px) {
    .fl-market-row {
        gap: 10px;
        padding: 10px;
        border-radius: 8px;
    }

    .fl-market-row-cover {
        flex-basis: 96px;
        width: 96px;
        height: 72px;
        border-radius: 6px;
    }

    .fl-market-row .fl-market-title {
        font-size: 13px;
    }

    .fl-market-row .fl-market-meta {
        font-size: 11px;
        gap: 10px;
    }
}

/* ===== 精修商品卡（market_style=card_pro） ===== */
.fl-market-pro-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 14px;
}

.fl-market-pro-grid > .fl-list-empty {
    grid-column: 1 / -1;
    padding: 48px 16px;
}

.fl-market-pro-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fl-market-pro-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 20px rgba(31, 35, 41, 0.10);
}

.fl-market-pro-card.is-sticky {
    border-color: rgba(250, 173, 20, 0.55);
}

.fl-market-pro-cover {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f0f2f5;
    overflow: hidden;
}

.fl-market-pro-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #f0f2f5;
    transition: transform .25s ease;
}

.fl-market-pro-card:hover .fl-market-pro-cover img {
    transform: scale(1.03);
}

.fl-market-pro-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px 12px;
}

.fl-market-pro-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: #1f2329;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fl-market-pro-card:hover .fl-market-pro-title {
    color: var(--fl-primary, #3b82f6);
}

.fl-market-pro-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    line-height: 1;
    color: #8f959e;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
    .fl-market-pro-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .fl-market-pro-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .fl-market-pro-body {
        padding: 8px 10px 10px;
    }
}

/* ========================================
   右侧栏（小工具容器，复用全局 .ls-sidebar-right 卡片/间距/末位悬浮样式）
   ======================================== */
.ls-forum-list .fl-aside {
    width: var(--fl-aside);
    flex: 0 0 var(--fl-aside);
    /* 必须 stretch 撑满整行高度，全局「最后一个小工具 sticky 悬浮」才有滑动空间 */
    align-self: stretch;
    min-width: 0;
}

/* 中屏收起右栏，保留左导航 + 主列表两栏 */
@media (max-width: 1100px) {
    .ls-forum-list .fl-aside {
        display: none;
    }
}

/* ========================================
   掘金同款作者悬浮卡（挂载在 body 下，fixed 定位）
   ======================================== */
.fl-user-card {
    position: fixed;
    z-index: 99999;
    width: 300px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    padding: 16px 16px 0;
    /* 默认在名字上方弹出，从下往上浮现 */
    animation: fl-uc-fade-above 0.15s ease;
}

.fl-user-card.is-below {
    /* 名字贴近屏幕顶部 → 卡片在名字下方，从上往下浮现 */
    animation: fl-uc-fade-below 0.15s ease;
}

@keyframes fl-uc-fade-above {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fl-uc-fade-below {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 指向名字的箭头：默认在卡片底部朝下（卡片在名字上方） */
.fl-user-card::before,
.fl-user-card::after {
    content: '';
    position: absolute;
    left: var(--fl-uc-arrow-x, 50%);
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    transform: translateX(-50%) rotate(45deg);
    pointer-events: none;
}

/* 底层：描边 + 阴影，与卡片边缘衔接 */
.fl-user-card::before {
    bottom: -7px;
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.06);
}

/* 面层：纯白色块盖住底层与卡片接缝处多余边线 */
.fl-user-card::after {
    bottom: -5px;
    background: #fff;
}

/* 卡片在名字下方时：箭头翻到卡片顶部朝上 */
.fl-user-card.is-below::before {
    bottom: auto;
    top: -7px;
    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: -6px -6px 12px rgba(0, 0, 0, 0.05);
}

.fl-user-card.is-below::after {
    bottom: auto;
    top: -5px;
}

/* 头部：头像 + 昵称/徽章/简介 */
.fl-user-card .fl-uc-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.fl-user-card .fl-uc-avatar {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    background: #f2f3f5;
}

.fl-user-card .fl-uc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fl-user-card .fl-uc-avatar-empty {
    display: block;
    width: 100%;
    height: 100%;
    background: #e4e6eb;
}

.fl-user-card .fl-uc-main {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.fl-user-card .fl-uc-name-line {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex-wrap: wrap;
}

.fl-user-card .fl-uc-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #252933;
    text-decoration: none;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl-user-card .fl-uc-name:hover {
    color: var(--ls-primary-hover, #1e80ff);
}

/* 昵称 HTML（VIP 变色 font 标签）继承字号字重 */
.fl-user-card .fl-uc-name font,
.fl-user-card .fl-uc-name .nickname {
    font-size: inherit;
    font-weight: inherit;
}

.fl-user-card .fl-uc-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.fl-user-card .fl-uc-badges .ls-mark {
    margin: 0;
    transform: scale(0.92);
    transform-origin: left center;
}

.fl-user-card .fl-uc-desc {
    margin-top: 4px;
    font-size: 13px;
    line-height: 20px;
    color: #8a919f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 关注 / 私信按钮 */
.fl-user-card .fl-uc-actions {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.fl-user-card .fl-uc-btn {
    flex: 1;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.fl-user-card .fl-uc-follow {
    border: 1px solid var(--ls-primary-hover, #1e80ff);
    background: var(--ls-primary-hover, #1e80ff);
    color: #fff;
    padding: 0;
}

.fl-user-card .fl-uc-follow:hover {
    opacity: 0.88;
}

.fl-user-card .fl-uc-follow.is-followed {
    background: #f2f3f5;
    border-color: #f2f3f5;
    color: #8a919f;
}

.fl-user-card .fl-uc-follow[disabled] {
    opacity: 0.6;
    cursor: default;
}

.fl-user-card .fl-uc-chat {
    border: 1px solid rgba(30, 128, 255, 0.35);
    background: #fff;
    color: var(--ls-primary-hover, #1e80ff);
}

.fl-user-card .fl-uc-chat:hover {
    border-color: var(--ls-primary-hover, #1e80ff);
    background: rgba(30, 128, 255, 0.06);
}

/* 关注 / 粉丝统计 */
.fl-user-card .fl-uc-stats {
    display: flex;
    margin-top: 14px;
    padding: 10px 0;
    border-top: 1px solid #f1f2f4;
}

.fl-user-card .fl-uc-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
}

.fl-user-card .fl-uc-stat b {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #252933;
    font-variant-numeric: tabular-nums;
}

.fl-user-card .fl-uc-stat span {
    font-size: 13px;
    line-height: 18px;
    color: #8a919f;
}

.fl-user-card .fl-uc-stat:hover b {
    color: var(--ls-primary-hover, #1e80ff);
}

/* 骨架屏（首次加载） */
.fl-user-card .fl-uc-skel {
    position: relative;
    overflow: hidden;
    background: #f2f3f5;
}

.fl-user-card .fl-uc-skel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: fl-uc-shimmer 1.2s infinite;
}

@keyframes fl-uc-shimmer {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.fl-user-card .fl-uc-skel-line {
    display: block;
    height: 14px;
    border-radius: 4px;
    margin: 4px 0;
}

.fl-user-card .fl-uc-btn.fl-uc-skel {
    border: none;
    cursor: default;
}

/* ===================== 实时推送：火热徽章 / new 徽章 / 动画 ===================== */

/* 推送新帖的 new 徽章（小号红底，仅本次会话内展示，刷新后由服务端重渲染） */
.ls-forum-list .ls-bbs-tag.ls-tag-new {
    color: #4f46e5;
    /* color: #fff; */
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* 火热徽章：与置顶/精华同基类，分级变色（颜色支持后台配置，经 CSS 变量注入） */
.ls-forum-list .ls-bbs-tag.ls-tag-hot {
    color: #ef4444;
}

.ls-forum-list .ls-bbs-tag.ls-tag-hot i {
    font-size: 14px;
}

.ls-forum-list .ls-bbs-tag.ls-tag-hot.is-lv1 {
    /* background: var(--fl-hot-lv1, #fb8c00); */
}

.ls-forum-list .ls-bbs-tag.ls-tag-hot.is-lv2 {
    /* background: var(--fl-hot-lv2, #ff6b35); */
}

.ls-forum-list .ls-bbs-tag.ls-tag-hot.is-lv3 {
    /* background: linear-gradient(135deg, var(--fl-hot-lv3, #ff3d2e), #ff7a18);
    animation: flHotPulse 1.6s ease-in-out infinite; */
}

@keyframes flHotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 61, 46, 0.45); }
    50% { box-shadow: 0 0 6px 2px rgba(255, 61, 46, 0.35); }
}

/* 推送行淡入（淡蓝背景渐隐，与吾爱首页 is-live-new 一致） */
.ls-forum-list .fl-row.is-live-new,
.ls-forum-list .fl-card-row.is-live-new {
    animation: flLiveIn 0.9s ease;
}

@keyframes flLiveIn {
    0% { background-color: rgba(30, 136, 229, 0.16); }
    100% { background-color: transparent; }
}

/* 隐藏底部模式：滚动自动加载到底后的结束文案（分页器整体隐藏时替代） */
.fl-pager-auto-end {
    padding: 16px 0 20px;
    text-align: center;
    font-size: 13px;
    color: #8a919f;
}
