/**
 * SNS 首页样式
 * 扁平化设计，无边框，简洁
 */

/* ==================== 变量定义 ==================== */
:root {
    --ls-sidebar-left: 240px;
    --ls-sidebar-right: 300px;
    --ls-gap: 12px;
    --ls-radius: var(--jinsom-border-radius, 12px);
    --ls-bg: #f5f6f7;
    --ls-card-bg: #fff;
    --ls-text: #1f1f1f;
    --ls-text-secondary: #606060;
    --ls-text-muted: #909090;
    --ls-warning: #f9ab00;
    --ls-danger: #d93025;
}

/* ==================== 主布局 ==================== */
.ls-sns-page {
    display: flex;
    gap: var(--ls-gap);
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px;
}

.ls-sns-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ls-gap);
}

.ls-sns-page.ls-hide-left .ls-sidebar-left { display: none; }
.ls-sns-page.ls-hide-right .ls-sidebar-right { display: none; }
.ls-sns-modules {
    display: flex;
    flex-direction: column;
    gap: var(--ls-gap);
}

.ls-sns-page.ls-hide-modules .ls-sns-modules { display: none; }

/* ==================== 通用卡片 ==================== */
.ls-card {
    background: var(--ls-card-bg);
    border-radius: var(--ls-radius);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ls-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
}

.ls-card-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ls-text);
    margin: 0;
}

.ls-card-header .ls-more {
    font-size: 12px;
    color: var(--ls-text-muted);
    cursor: pointer;
}

.ls-card-header .ls-more:hover {
    color: var(--ls-primary);
}

.ls-card-body {
    padding: 0 16px 14px;
}

/* ==================== 用户卡片 ==================== */
.ls-user-card {
    padding: 20px 16px;
    text-align: center;
}

.ls-user-card .ls-user-header {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.ls-user-card .ls-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--jinsom-border-radius-avatar, 50%);
    object-fit: cover;
}

.ls-user-card .ls-user-badges {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.ls-user-card .ls-badge {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 6px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 600;
}

.ls-user-card .ls-badge.ls-vip {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #7a5c00;
}

.ls-user-card .ls-badge.ls-level {
    background: var(--ls-primary);
    color: #fff;
}

.ls-user-card .ls-user-body {
    margin-bottom: 16px;
}

.ls-user-card .ls-nickname {
    font-size: 16px;
    font-weight: 600;
    color: var(--ls-text);
    margin-bottom: 4px;
}

.ls-user-card .ls-bio {
    font-size: 13px;
    color: var(--ls-text-muted);
}

.ls-user-card .ls-user-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--ls-bg);
}

.ls-user-card .ls-stat-item {
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.ls-user-card .ls-stat-item .ls-num {
    font-size: 16px;
    font-weight: 700;
    color: var(--ls-text);
    display: block;
}

.ls-user-card .ls-stat-item .ls-label {
    font-size: 12px;
    color: var(--ls-text-muted);
}

.ls-user-card .ls-stat-item:hover .ls-num {
    color: var(--ls-primary);
}

/* ==================== 内容导航菜单 - 基础 ==================== */
.ls-content-nav {
    padding: 8px;
    position: sticky;
    top: 76px;
}

.ls-content-nav-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
    text-decoration: none;
}

.ls-content-nav-item:last-child {
    margin-bottom: 0;
}

/* 菜单新内容角标 */
.ls-menu-nav-badge {
    position: absolute;
    top: 4px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #ef4444;
    border-radius: var(--ls-radius-full);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s ease;
    pointer-events: none;
}

.ls-menu-nav-badge-show {
    opacity: 1;
    transform: scale(1);
}

.ls-content-nav-item .ls-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.ls-content-nav-item .ls-nav-icon i {
    font-size: 18px;
}

.ls-content-nav-item .ls-nav-info {
    flex: 1;
    min-width: 0;
}

.ls-content-nav-item .ls-nav-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ls-text-primary, var(--ls-text));
    transition: all 0.18s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ls-content-nav-item .ls-nav-desc {
    display: none;
    font-size: 12px;
    color: var(--ls-text-muted);
    transition: all 0.18s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ====================================================================
   风格 1: compact - YouTube/Bilibili 风格
   紧凑列表，圆角图标 + 标题，激活态背景高亮
   侧栏宽度: 200px
   ==================================================================== */
.ls-nav-style-compact .ls-content-nav-item {
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 2px;
}

.ls-nav-style-compact .ls-content-nav-item .ls-nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--ls-text-secondary);
}

.ls-nav-style-compact .ls-content-nav-item .ls-nav-icon i {
    font-size: 18px;
}

.ls-nav-style-compact .ls-content-nav-item .ls-nav-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ls-text-primary);
}

.ls-nav-style-compact .ls-content-nav-item:hover {
    background: var(--ls-bg-hover);
}

.ls-nav-style-compact .ls-content-nav-item.ls-active {
    background: var(--ls-bg-hover);
}

.ls-nav-style-compact .ls-content-nav-item.ls-active .ls-nav-icon {
    color: var(--ls-primary);
}

.ls-nav-style-compact .ls-content-nav-item.ls-active .ls-nav-title {
    font-weight: 600;
    color: var(--ls-text-primary);
}

/* ====================================================================
   风格 3: icon_text - Notion/Linear 风格
   精致图标方块 + 标题 + 描述，激活态整行浅色背景
   侧栏宽度: 260px
   ==================================================================== */
.ls-nav-style-icon_text .ls-content-nav-item {
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 2px;
}

.ls-nav-style-icon_text .ls-content-nav-item .ls-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--ls-bg-hover);
    color: var(--ls-text-secondary);
}

.ls-nav-style-icon_text .ls-content-nav-item .ls-nav-icon i {
    font-size: 17px;
}

.ls-nav-style-icon_text .ls-content-nav-item .ls-nav-desc {
    display: block;
    margin-top: 1px;
    font-size: 11.5px;
    color: var(--ls-text-muted);
}

.ls-nav-style-icon_text .ls-content-nav-item .ls-nav-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ls-text-primary);
}

.ls-nav-style-icon_text .ls-content-nav-item:hover {
    background: var(--ls-bg-light);
}

.ls-nav-style-icon_text .ls-content-nav-item:hover .ls-nav-icon {
    background: var(--ls-primary-light);
    color: var(--ls-primary);
}

.ls-nav-style-icon_text .ls-content-nav-item.ls-active {
    background: var(--ls-primary-light);
}

.ls-nav-style-icon_text .ls-content-nav-item.ls-active .ls-nav-icon {
    background: var(--ls-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(var(--ls-primary-rgb), 0.3);
}

.ls-nav-style-icon_text .ls-content-nav-item.ls-active .ls-nav-title {
    color: var(--ls-primary);
    font-weight: 600;
}

.ls-nav-style-icon_text .ls-content-nav-item.ls-active .ls-nav-desc {
    color: var(--ls-primary);
    opacity: 0.7;
}

/* ====================================================================
   风格 4: stripe - 条纹分隔风格
   交替底色 + 左侧粗色条 + 图标 + 标题描述，层次分明
   ==================================================================== */
.ls-nav-style-stripe .ls-content-nav {
    padding: 4px 0;
    overflow: hidden;
}

.ls-nav-style-stripe .ls-content-nav-item {
    gap: 12px;
    padding: 11px 14px 11px 16px;
    margin-bottom: 0;
    border-radius: 0;
    border-left: 4px solid transparent;
}

.ls-nav-style-stripe .ls-content-nav-item:nth-child(odd) {
    background: var(--ls-bg-light);
}

.ls-nav-style-stripe .ls-content-nav-item .ls-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: var(--ls-text-muted);
}

.ls-nav-style-stripe .ls-content-nav-item .ls-nav-icon i {
    font-size: 18px;
}

.ls-nav-style-stripe .ls-content-nav-item .ls-nav-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ls-text-primary);
}

.ls-nav-style-stripe .ls-content-nav-item .ls-nav-desc {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--ls-text-muted);
}

.ls-nav-style-stripe .ls-content-nav-item:hover {
    background: var(--ls-bg-hover);
}

.ls-nav-style-stripe .ls-content-nav-item:hover .ls-nav-icon {
    color: var(--ls-text-secondary);
}

.ls-nav-style-stripe .ls-content-nav-item.ls-active {
    border-left-color: var(--ls-primary);
    background: var(--ls-primary-light);
}

.ls-nav-style-stripe .ls-content-nav-item.ls-active .ls-nav-icon {
    color: var(--ls-primary);
}

.ls-nav-style-stripe .ls-content-nav-item.ls-active .ls-nav-title {
    color: var(--ls-primary);
    font-weight: 600;
}

.ls-nav-style-stripe .ls-content-nav-item.ls-active .ls-nav-desc {
    color: var(--ls-primary);
    opacity: 0.7;
}

/* ====================================================================
   风格 5: glassmorphism - 毛玻璃风格
   半透明磨砂质感，悬浮感，激活态发光边框
   侧栏宽度: 230px
   ==================================================================== */
.ls-nav-style-glass .ls-content-nav-item {
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 4px;
    border: 1px solid transparent;
    backdrop-filter: blur(8px);
}

.ls-nav-style-glass .ls-content-nav-item .ls-nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--ls-text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ls-nav-style-glass .ls-content-nav-item .ls-nav-icon i {
    font-size: 16px;
}

.ls-nav-style-glass .ls-content-nav-item .ls-nav-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ls-text-primary);
}

.ls-nav-style-glass .ls-content-nav-item:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--ls-border-light);
}

.ls-nav-style-glass .ls-content-nav-item:hover .ls-nav-icon {
    color: var(--ls-primary);
    background: rgba(var(--ls-primary-rgb), 0.1);
}

.ls-nav-style-glass .ls-content-nav-item.ls-active {
    background: rgba(var(--ls-primary-rgb), 0.08);
    border-color: rgba(var(--ls-primary-rgb), 0.2);
    box-shadow: 0 0 0 1px rgba(var(--ls-primary-rgb), 0.05), 0 2px 8px rgba(var(--ls-primary-rgb), 0.08);
}

.ls-nav-style-glass .ls-content-nav-item.ls-active .ls-nav-icon {
    background: var(--ls-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(var(--ls-primary-rgb), 0.35);
}

.ls-nav-style-glass .ls-content-nav-item.ls-active .ls-nav-title {
    color: var(--ls-primary);
    font-weight: 600;
}

/* ====================================================================
   风格 6: rounded - 小红书/Instagram 风格
   彩色圆形图标 + 标题，激活态圆形图标填充
   侧栏宽度: 210px
   ==================================================================== */
.ls-nav-style-rounded .ls-content-nav-item {
    gap: 12px;
    padding: 8px 10px;
    border-radius: 14px;
    margin-bottom: 2px;
}

.ls-nav-style-rounded .ls-content-nav-item .ls-nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ls-primary-light);
    color: var(--ls-primary);
}

.ls-nav-style-rounded .ls-content-nav-item .ls-nav-icon i {
    font-size: 17px;
}

.ls-nav-style-rounded .ls-content-nav-item .ls-nav-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ls-text-primary);
}

.ls-nav-style-rounded .ls-content-nav-item:hover {
    background: var(--ls-primary-light);
}

.ls-nav-style-rounded .ls-content-nav-item:hover .ls-nav-icon {
    background: rgba(var(--ls-primary-rgb), 0.15);
    color: var(--ls-primary);
    transform: scale(1.05);
}

.ls-nav-style-rounded .ls-content-nav-item.ls-active {
    background: var(--ls-primary-light);
}

.ls-nav-style-rounded .ls-content-nav-item.ls-active .ls-nav-icon {
    background: var(--ls-primary);
    color: #fff;
    box-shadow: 0 3px 10px rgba(var(--ls-primary-rgb), 0.3);
}

.ls-nav-style-rounded .ls-content-nav-item.ls-active .ls-nav-title {
    color: var(--ls-primary);
    font-weight: 600;
}

/* ====================================================================
   风格 7: grid - 网格宫格风格
   图标在上文字在下，纵向居中排列，两列网格布局
   ==================================================================== */
.ls-nav-style-grid .ls-content-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px;
}

.ls-nav-style-grid .ls-content-nav-item {
    flex-direction: column;
    gap: 6px;
    padding: 14px 8px 12px;
    border-radius: 12px;
    margin-bottom: 0;
    text-align: center;
    background: var(--ls-bg-light);
    border: 1px solid var(--ls-border-light);
}

.ls-nav-style-grid .ls-content-nav-item .ls-nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ls-bg-white);
    color: var(--ls-text-secondary);
    margin: 0 auto;
    border: 1px solid var(--ls-border-light);
}

.ls-nav-style-grid .ls-content-nav-item .ls-nav-icon i {
    font-size: 18px;
}

.ls-nav-style-grid .ls-content-nav-item .ls-nav-info {
    text-align: center;
}

.ls-nav-style-grid .ls-content-nav-item .ls-nav-title {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ls-text-primary);
    white-space: normal;
    line-height: 1.3;
}

.ls-nav-style-grid .ls-content-nav-item .ls-nav-desc {
    display: block;
    margin-top: 2px;
    font-size: 10.5px;
    color: var(--ls-text-muted);
    white-space: normal;
    line-height: 1.3;
}

.ls-nav-style-grid .ls-content-nav-item:hover {
    background: var(--ls-bg-hover);
    border-color: var(--ls-border);
}

.ls-nav-style-grid .ls-content-nav-item:hover .ls-nav-icon {
    color: var(--ls-primary);
    border-color: rgba(var(--ls-primary-rgb), 0.2);
}

.ls-nav-style-grid .ls-content-nav-item.ls-active {
    background: var(--ls-primary-light);
    border-color: rgba(var(--ls-primary-rgb), 0.25);
}

.ls-nav-style-grid .ls-content-nav-item.ls-active .ls-nav-icon {
    background: var(--ls-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(var(--ls-primary-rgb), 0.3);
}

.ls-nav-style-grid .ls-content-nav-item.ls-active .ls-nav-title {
    color: var(--ls-primary);
    font-weight: 600;
}

.ls-nav-style-grid .ls-content-nav-item.ls-active .ls-nav-desc {
    color: var(--ls-primary);
    opacity: 0.7;
}

/* ====================================================================
   风格 8: outline - 描边轮廓风格
   虚线描边卡片 + 图标 + 标题描述，激活态实线+填色
   ==================================================================== */
.ls-nav-style-outline .ls-content-nav-item {
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 4px;
    border: 1.5px dashed var(--ls-border);
}

.ls-nav-style-outline .ls-content-nav-item .ls-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--ls-text-muted);
    border: 1.5px solid var(--ls-border);
}

.ls-nav-style-outline .ls-content-nav-item .ls-nav-icon i {
    font-size: 16px;
}

.ls-nav-style-outline .ls-content-nav-item .ls-nav-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ls-text-primary);
}

.ls-nav-style-outline .ls-content-nav-item .ls-nav-desc {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--ls-text-muted);
}

.ls-nav-style-outline .ls-content-nav-item:hover {
    border-style: solid;
    border-color: var(--ls-border);
    background: var(--ls-bg-light);
}

.ls-nav-style-outline .ls-content-nav-item:hover .ls-nav-icon {
    color: var(--ls-primary);
    border-color: rgba(var(--ls-primary-rgb), 0.3);
}

.ls-nav-style-outline .ls-content-nav-item.ls-active {
    border-style: solid;
    border-color: var(--ls-primary);
    background: var(--ls-primary-light);
    box-shadow: 0 0 0 2px rgba(var(--ls-primary-rgb), 0.08);
}

.ls-nav-style-outline .ls-content-nav-item.ls-active .ls-nav-icon {
    background: var(--ls-primary);
    color: #fff;
    border-color: transparent;
}

.ls-nav-style-outline .ls-content-nav-item.ls-active .ls-nav-title {
    color: var(--ls-primary);
    font-weight: 600;
}

.ls-nav-style-outline .ls-content-nav-item.ls-active .ls-nav-desc {
    color: var(--ls-primary);
    opacity: 0.7;
}

/* ====================================================================
   风格 10: bubble - 气泡卡片风格
   独立气泡卡片 + 圆形图标 + 标题描述，激活态浮起 + 阴影
   信息丰富：圆形图标 + 双行文字 + 卡片边框 + 浮起阴影
   侧栏宽度: 250px
   ==================================================================== */
.ls-nav-style-bubble .ls-content-nav {
    padding: 6px;
    background: transparent;
    box-shadow: none;
}

.ls-nav-style-bubble .ls-content-nav-item {
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 6px;
    background: var(--ls-bg-white);
    border: 1px solid var(--ls-border-light);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.ls-nav-style-bubble .ls-content-nav-item .ls-nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ls-bg-hover);
    color: var(--ls-text-secondary);
}

.ls-nav-style-bubble .ls-content-nav-item .ls-nav-icon i {
    font-size: 17px;
}

.ls-nav-style-bubble .ls-content-nav-item .ls-nav-desc {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--ls-text-muted);
}

.ls-nav-style-bubble .ls-content-nav-item .ls-nav-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ls-text-primary);
}

.ls-nav-style-bubble .ls-content-nav-item:hover {
    border-color: var(--ls-border);
    box-shadow: var(--ls-shadow-sm);
    transform: translateY(-1px);
}

.ls-nav-style-bubble .ls-content-nav-item:hover .ls-nav-icon {
    background: var(--ls-primary-light);
    color: var(--ls-primary);
}

.ls-nav-style-bubble .ls-content-nav-item.ls-active {
    border-color: rgba(var(--ls-primary-rgb), 0.3);
    background: var(--ls-bg-white);
    box-shadow: 0 2px 12px rgba(var(--ls-primary-rgb), 0.12), 0 0 0 1px rgba(var(--ls-primary-rgb), 0.08);
    transform: translateY(-1px);
}

.ls-nav-style-bubble .ls-content-nav-item.ls-active .ls-nav-icon {
    background: var(--ls-primary);
    color: #fff;
    box-shadow: 0 3px 10px rgba(var(--ls-primary-rgb), 0.3);
}

.ls-nav-style-bubble .ls-content-nav-item.ls-active .ls-nav-title {
    color: var(--ls-primary);
    font-weight: 600;
}

.ls-nav-style-bubble .ls-content-nav-item.ls-active .ls-nav-desc {
    color: var(--ls-primary);
    opacity: 0.7;
}

/* 空菜单提示 */
.ls-nav-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--ls-text-muted);
}

.ls-nav-empty i {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.5;
}

.ls-nav-empty p {
    margin: 0;
    font-size: 13px;
}

/* ==================== 快捷发布 ==================== */
.ls-publish {
    padding: 12px 16px;
}

/* --- 收起状态：一行式 --- */
.ls-publish-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ls-publish-header .ls-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ls-bg);
    border-radius: 20px;
    padding: 9px 16px;
    cursor: text;
    transition: background 0.2s;
}

.ls-publish-header .ls-input-wrap:hover {
    background: #ecedef;
}

.ls-publish-header .ls-input-wrap > i {
    font-size: 16px;
    color: var(--ls-text-muted);
    flex-shrink: 0;
}

.ls-publish-header .ls-placeholder {
    color: var(--ls-text-muted);
    font-size: 14px;
}

.ls-publish-quick-actions {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.ls-publish-quick-actions .ls-quick-action {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ls-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.ls-publish-quick-actions .ls-quick-action:hover {
    background: var(--ls-primary-light);
    color: var(--ls-primary);
}

.ls-publish-quick-actions .ls-quick-action i {
    font-size: 18px;
}

/* --- 展开状态 --- */
.ls-publish-expanded {
    display: none;
}

.ls-publish.ls-active .ls-publish-header {
    display: none;
}

.ls-publish.ls-active .ls-publish-expanded {
    display: block;
}

.ls-publish-editor-wrap {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ls-publish-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--jinsom-border-radius-avatar, 50%);
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 4px;
}

.ls-publish-editor-body {
    flex: 1;
    min-width: 0;
}

.ls-publish-textarea {
    width: 100%;
    min-height: 80px;
    border: 1px solid var(--ls-border, #e4e6eb);
    border-radius: 12px;
    resize: none;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ls-text);
    background: var(--ls-bg);
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.ls-publish-textarea:focus {
    border-color: var(--ls-primary);
    background: #fff;
}

.ls-publish-textarea::placeholder {
    color: var(--ls-text-muted);
}

.ls-publish-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.ls-publish-actions {
    display: flex;
    gap: 4px;
}

.ls-publish-actions .ls-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ls-text-secondary);
    cursor: pointer;
}

.ls-publish-actions .ls-action-btn:hover {
    background: var(--ls-bg);
    color: var(--ls-primary);
}

.ls-publish-actions .ls-action-btn i {
    font-size: 20px;
}

.ls-publish-submit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ls-publish-submit .ls-submit-btn {
    padding: 8px 24px;
    background: var(--ls-primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.ls-publish-submit .ls-submit-btn:hover {
    background: #1557b0;
}

.ls-publish-submit .ls-submit-btn:disabled {
    background: #dadce0;
    cursor: not-allowed;
}

/* 快捷发布 - 板块选择器 */
.ls-publish-bbs-select {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid var(--ls-border, #e4e6eb);
    border-radius: 20px;
    font-size: 13px;
    color: var(--ls-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    max-width: 140px;
}

.ls-publish-bbs-select:hover {
    border-color: var(--ls-primary);
    color: var(--ls-primary);
}

.ls-publish-bbs-select .ls-bbs-select-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-publish-bbs-select i {
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

/* 快捷发布 - 图片列表（覆盖评论区默认尺寸） */
.ls-publish .ls-publish-img-list {
    padding: 0;
    margin-top: 10px;
}

.ls-publish .ls-publish-img-list li {
    width: 72px;
    height: 72px;
}

/* 快捷发布 - 编辑器 */
.ls-publish .ls-editor {
    min-height: 80px !important;
    max-height: 240px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--ls-text) !important;
    background: var(--ls-bg) !important;
    border: 1px solid var(--ls-border, #e4e6eb) !important;
    border-radius: 12px !important;
}

.ls-publish .ls-editor:focus {
    border-color: var(--ls-primary) !important;
    background: #fff !important;
}

.ls-publish .ls-editor[data-placeholder]:empty:before {
    content: attr(data-placeholder);
    color: var(--ls-text-muted);
    pointer-events: none;
}

.ls-publish .ls-editor.has-content[data-placeholder]:before {
    content: none;
}

/* ==================== 内容菜单 ==================== */
.ls-content-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: var(--ls-card-bg);
    border-radius: var(--ls-radius);
    overflow-x: auto;
}

.ls-content-menu::-webkit-scrollbar {
    display: none;
}

.ls-content-menu .ls-menu-item {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ls-text-secondary);
    white-space: nowrap;
    cursor: pointer;
}

.ls-content-menu .ls-menu-item:hover {
    background: var(--ls-bg);
    color: var(--ls-text);
}

.ls-content-menu .ls-menu-item.ls-active {
    background: var(--ls-text);
    color: #fff;
}

/* ==================== 版权信息 ==================== */
.ls-copyright {
    padding: 16px;
    text-align: center;
}

.ls-copyright p {
    font-size: 12px;
    color: var(--ls-text-muted);
    margin: 0;
    line-height: 1.8;
}

/* ==================== 加载更多 - 已移至 post-list.css ==================== */

/* ==================== 快捷入口 ==================== */
.ls-quick-entry {
    padding: 12px;
}

.ls-quick-entry .ls-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.ls-quick-entry .ls-entry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 10px;
    cursor: pointer;
}

.ls-quick-entry .ls-entry-item:hover {
    background: var(--ls-bg);
}

.ls-quick-entry .ls-entry-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ls-quick-entry .ls-entry-icon.ls-icon-1 { background: #e3f2fd; color: #1a73e8; }
.ls-quick-entry .ls-entry-icon.ls-icon-2 { background: #fce4ec; color: #d81b60; }
.ls-quick-entry .ls-entry-icon.ls-icon-3 { background: #e8f5e9; color: #43a047; }
.ls-quick-entry .ls-entry-icon.ls-icon-4 { background: #fff3e0; color: #ef6c00; }
.ls-quick-entry .ls-entry-icon.ls-icon-5 { background: #f3e5f5; color: #8e24aa; }
.ls-quick-entry .ls-entry-icon.ls-icon-6 { background: #e0f7fa; color: #00acc1; }
.ls-quick-entry .ls-entry-icon.ls-icon-7 { background: #fbe9e7; color: #e64a19; }
.ls-quick-entry .ls-entry-icon.ls-icon-8 { background: #eceff1; color: #546e7a; }

.ls-quick-entry .ls-entry-name {
    font-size: 12px;
    color: var(--ls-text-secondary);
}

/* ==================== Stories 动态条 ==================== */
.ls-stories {
    background: var(--ls-card-bg);
    border-radius: var(--ls-radius);
    padding: 10px 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.ls-stories-list {
    display: flex;
    gap: 16px;
    padding-bottom: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: 5px;
}

.ls-stories-list::-webkit-scrollbar {
    display: none;
}

.ls-story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.ls-story-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 3px;
    background: var(--ls-bg);
}

/* 直播脉冲效果 */
.ls-story-item.ls-has-story .ls-story-avatar {
    background: #ff4757;
    animation: ls-live-border 1.5s ease-in-out infinite;
}

@keyframes ls-live-border {
    0%, 100% { background: #ff4757; }
    50% { background: #ff6b7a; }
}

/* 头像呼吸动画 */
.ls-story-item.ls-has-story .ls-story-avatar img {
    animation: ls-avatar-breath 1.5s ease-in-out infinite;
}

@keyframes ls-avatar-breath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.92); }
}

.ls-story-item.ls-has-story .ls-story-avatar::before,
.ls-story-item.ls-has-story .ls-story-avatar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #ff4757;
    transform: translate(-50%, -50%);
    animation: ls-live-pulse 2s ease-out infinite;
    pointer-events: none;
}

.ls-story-item.ls-has-story .ls-story-avatar::after {
    animation-delay: 1s;
}

@keyframes ls-live-pulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }
    100% {
        width: 115%;
        height: 115%;
        opacity: 0;
    }
}

.ls-story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ls-card-bg);
}

.ls-story-item.ls-story-add .ls-story-avatar {
    background: var(--ls-bg);
}

.ls-story-add-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 22px;
    height: 22px;
    background: var(--ls-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    border: 2px solid var(--ls-card-bg);
}

.ls-story-name {
    font-size: 12px;
    color: var(--ls-text-secondary);
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.ls-story-item:hover .ls-story-name {
    color: var(--ls-text);
}

/* ==================== 公告横幅 ==================== */
.ls-banner {
    background: var(--ls-card-bg);
    border-radius: var(--ls-radius);
    padding: 12px 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.ls-banner-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.ls-banner-content {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ls-banner-tag {
    padding: 2px 8px;
    background: #fff1f0;
    color: #ff4d4f;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    flex-shrink: 0;
}

.ls-banner-slider {
    flex: 1;
    min-width: 0;
    position: relative;
    height: 20px;
    overflow: hidden;
}

.ls-banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.ls-banner-item.ls-active {
    opacity: 1;
    transform: translateY(0);
}

.ls-banner-item.ls-prev {
    opacity: 0;
    transform: translateY(-100%);
}

.ls-banner-text {
    font-size: 13px;
    color: var(--ls-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.ls-banner > i {
    color: var(--ls-text-muted);
    font-size: 18px;
    flex-shrink: 0;
}

/* ==================== 快捷入口 ==================== */
.ls-shortcuts {
    background: var(--ls-card-bg);
    border-radius: var(--ls-radius);
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: flex-start;
    gap: 8px;
}

.ls-shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    width: 72px;
    padding: 8px 4px;
    border-radius: 10px;
    transition: background 0.2s;
}

.ls-shortcut-item:hover {
    background: var(--ls-bg);
}

.ls-shortcut-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.ls-shortcut-icon.ls-icon-checkin {
    background: #e8f5e9;
    color: #43a047;
}

.ls-shortcut-icon.ls-icon-task {
    background: #e3f2fd;
    color: #1e88e5;
}

.ls-shortcut-icon.ls-icon-rank {
    background: #fff8e1;
    color: #ffa000;
}

.ls-shortcut-icon.ls-icon-activity {
    background: #fce4ec;
    color: #e91e63;
}

.ls-shortcut-icon.ls-icon-shop {
    background: #f3e5f5;
    color: #8e24aa;
}

.ls-shortcut-icon.ls-icon-vip {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #7a5c00;
}

.ls-shortcut-name {
    font-size: 12px;
    color: var(--ls-text-secondary);
}

.ls-shortcut-badge {
    position: absolute;
    top: 4px;
    right: 50%;
    transform: translateX(24px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--ls-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-shortcut-badge.ls-new {
    background: #ff4d4f;
}

.ls-shortcut-badge.ls-hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

/* ==================== 热门话题横条 ==================== */
.ls-hot-topics-bar {
    background: var(--ls-card-bg);
    border-radius: var(--ls-radius);
    padding: 12px 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ls-hot-topics-header {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ff4d4f;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.ls-hot-topics-header i {
    font-size: 16px;
}

.ls-hot-topics-list {
    flex: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ls-hot-topics-list::-webkit-scrollbar {
    display: none;
}

.ls-hot-topic-tag {
    padding: 6px 12px;
    background: var(--ls-bg);
    border-radius: 16px;
    font-size: 13px;
    color: var(--ls-text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}

.ls-hot-topic-tag:hover {
    background: var(--ls-primary-light);
    color: var(--ls-primary);
}

/* ==================== 活动轮播 ==================== */
.ls-activity-banner {
    position: relative;
    border-radius: var(--ls-radius);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ls-activity-slide {
    position: relative;
    display: none;
}

.ls-activity-slide.ls-active {
    display: block;
}

.ls-activity-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.ls-activity-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ls-activity-tag {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 10px;
}

.ls-activity-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.ls-activity-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 14px;
}

.ls-activity-btn {
    width: fit-content;
    padding: 8px 20px;
    background: #fff;
    color: var(--ls-text);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.ls-activity-btn:hover {
    transform: scale(1.05);
}

.ls-activity-dots {
    position: absolute;
    bottom: 12px;
    right: 16px;
    display: flex;
    gap: 6px;
}

.ls-activity-dots .ls-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.ls-activity-dots .ls-dot.ls-active {
    width: 20px;
    border-radius: 4px;
    background: #fff;
}

/* ==================== 精选图集 ==================== */
.ls-gallery {
    background: var(--ls-card-bg);
    border-radius: var(--ls-radius);
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

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

.ls-gallery-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ls-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ls-gallery-header h3 i {
    color: var(--ls-primary);
}

.ls-gallery-more {
    font-size: 13px;
    color: var(--ls-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.ls-gallery-more:hover {
    color: var(--ls-primary);
}

.ls-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
}

.ls-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.ls-gallery-item.ls-large {
    grid-row: span 2;
}

.ls-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ls-gallery-item:hover img {
    transform: scale(1.05);
}

.ls-gallery-item .ls-gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ls-gallery-title {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.ls-gallery-count {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 2px;
}

.ls-gallery-count i {
    font-size: 12px;
}

/* ==================== 限时活动卡片 ==================== */
.ls-promo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* 无广告时平铺 */
.ls-promo-cards.ls-promo-full {
    grid-template-columns: 1fr;
}

.ls-promo-card {
    background: var(--ls-card-bg);
    border-radius: var(--ls-radius);
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.ls-promo-card:hover {
    transform: translateY(-2px);
}

.ls-promo-card.ls-promo-event {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
}

/* 活动已结束样式 */
.ls-promo-card.ls-promo-ended {
    background: #fff;
    opacity: 0.7;
    pointer-events: none;
}

.ls-promo-card.ls-promo-ended .ls-promo-badge {
    background: #999;
}

.ls-promo-card.ls-promo-ended .ls-promo-icon {
    background: #ccc;
}

.ls-promo-card.ls-promo-ended .ls-promo-countdown {
    display: none;
}

.ls-promo-card.ls-promo-ended .ls-promo-ended-text {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #999;
    font-size: 13px;
    font-weight: 500;
}

.ls-promo-ended-text {
    display: none;
}

.ls-promo-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.ls-promo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.ls-promo-content {
    flex: 1;
    min-width: 0;
}

.ls-promo-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ls-text);
    margin: 0 0 2px;
}

.ls-promo-content p {
    font-size: 12px;
    color: var(--ls-text-muted);
    margin: 0;
}

.ls-promo-content .ls-promo-label {
    display: inline-block;
    padding: 1px 6px;
    background: var(--ls-bg);
    color: var(--ls-text-muted);
    font-size: 10px;
    border-radius: 3px;
    margin-bottom: 4px;
}

.ls-promo-countdown {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.ls-countdown-item {
    width: 24px;
    height: 24px;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-countdown-sep {
    color: #ff4d4f;
    font-weight: 700;
}

.ls-promo-card.ls-promo-ad {
    padding: 12px;
}

.ls-promo-img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.ls-promo-card.ls-promo-ad > i {
    color: var(--ls-text-muted);
    font-size: 20px;
}

/* ==================== 今日推荐 ==================== */
.ls-recommend {
    background: var(--ls-card-bg);
    border-radius: var(--ls-radius);
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

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

.ls-recommend-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ls-text);
    margin: 0;
}

.ls-recommend-more {
    font-size: 13px;
    color: var(--ls-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ls-recommend-more:hover {
    color: var(--ls-primary);
}

.ls-recommend-more i {
    font-size: 14px;
}

.ls-recommend-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    transition: opacity 0.2s ease;
}

.ls-recommend-list::-webkit-scrollbar {
    display: none;
}

.ls-recommend-card {
    flex: 1;
    width: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ls-bg);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ls-recommend-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ls-recommend-cover {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.ls-recommend-info {
    padding: 10px 12px;
}

.ls-recommend-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--ls-text);
    line-height: 1.4;
    min-height: calc(2em * 1.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.ls-recommend-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ls-recommend-avatar {
    width: 20px;
    height: 20px;
    border-radius: var(--jinsom-border-radius-avatar, 50%);
    object-fit: cover;
}

.ls-recommend-author {
    font-size: 12px;
    color: var(--ls-text-secondary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-recommend-stats {
    font-size: 12px;
    color: var(--ls-text-muted);
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
}

.ls-recommend-stats:hover {
    color: var(--ls-danger, #ff4757);
}

.ls-recommend-stats.ls-liked {
    color: var(--ls-danger, #ff4757);
}

.ls-recommend-stats i {
    font-size: 12px;
}

/* ==================== 简洁动画 ==================== */
.ls-nav-item,
.ls-entry-item,
.ls-submit-btn,
.ls-load-btn {
    transition: background 0.15s, color 0.15s;
}

/* ==================== 顶部菜单栏（列表顶部模式） ==================== */
.ls-top-nav-wrap {
    position: sticky;
    top: var(--jinsom-header-height, 56px);
    z-index: 90;
    background: var(--ls-card-bg);
    border-radius: var(--ls-radius);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, border-radius 0.2s;
}

.ls-top-nav-wrap.ls-sticky {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ls-top-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 8px 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ls-top-nav::-webkit-scrollbar {
    display: none;
}

.ls-top-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--ls-radius);
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
    color: var(--ls-text-secondary);
    transition: all 0.2s ease;
    user-select: none;
}

.ls-top-nav-item:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--ls-text);
}

.ls-top-nav-item.ls-active {
    background: rgba(var(--ls-primary-rgb), 0.08);
    color: var(--ls-primary);
}

.ls-top-nav-item.ls-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: var(--ls-primary);
}

.ls-top-nav-icon {
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 1;
}

.ls-top-nav-icon i {
    font-size: 15px;
}

.ls-top-nav-name {
    font-weight: 500;
    line-height: 1;
}
