/**
 * 长文详情页样式
 * 浅色系 · 文章阅读风格
 */

/* ==================== 页面布局 ==================== */
.ls-article-page {
    display: flex;
    gap: 16px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 16px;
}

.ls-article-main {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 824px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 没有侧边栏时主内容居中 */
.ls-article-page:not(:has(.ls-sidebar-right)) .ls-article-main {
    margin: 0 auto;
}

/* ==================== 通用卡片 ==================== */
.ls-article-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==================== 头部卡片 ==================== */
.ls-article-header-card {
    overflow: hidden;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.ls-article-cover {
    width: 100%;
    max-height: 460px;
    overflow: hidden;
    position: relative;
}

.ls-article-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(250,251,252,0.95), transparent);
    pointer-events: none;
}

.ls-article-cover img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.ls-article-header {
    padding: 32px 40px 28px;
}

/* ==================== 徽章行 ==================== */
.ls-article-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ls-article-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ls-article-label i { font-size: 13px; }
.ls-article-label-sticky { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.ls-article-label-recommend { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* ==================== 标题 ==================== */
.ls-article-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 24px;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ==================== 作者信息 ==================== */
.ls-article-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.ls-article-author-body {
    flex: 1;
    min-width: 0;
}

.ls-article-author-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.ls-article-author-name a {
    color: #0f172a;
    text-decoration: none;
}

.ls-article-author-name a:hover {
    color: var(--jinsom-color, #5b7ff5);
}

.ls-article-author-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.ls-article-author-meta i.remix-icon {
    font-size: 13px;
}

.ls-article-dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #cbd5e1;
    display: inline-block;
}

.ls-article-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.ls-article-header-actions .ls-post-more {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}
.ls-article-header-actions .ls-post-more:hover { background: #f1f5f9; color: #475569; }
.ls-article-header-actions .ls-post-more i { font-size: 18px; }

/* ==================== 关注按钮 ==================== */
.ls-article-follow-btn {
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid var(--jinsom-color, #5b7ff5);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--jinsom-color, #5b7ff5);
    color: #fff;
    white-space: nowrap;
}

.ls-article-follow-btn:hover {
    background: var(--jinsom-color-dark, #4c6fe5);
    border-color: var(--jinsom-color-dark, #4c6fe5);
}

.ls-article-follow-btn.had,
.ls-article-follow-btn.followed {
    background: #fff;
    color: #64748b;
    border-color: #e2e8f0;
}

.ls-article-follow-btn.had:hover,
.ls-article-follow-btn.followed:hover {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

/* ==================== 正文内容卡片 ==================== */
.ls-article-content-card {
    padding: 40px 48px;
    background: #fff;
}

/* ==================== 板块卡片 ==================== */
.ls-article-bbs-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-top: 24px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    transition: all 0.2s;
}
.ls-article-bbs-card:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}
.ls-article-bbs-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.ls-article-bbs-card-avatar-default {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 20px;
}
.ls-article-bbs-card-body { flex: 1; min-width: 0; }
.ls-article-bbs-card-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
}
.ls-article-bbs-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}
.ls-article-bbs-card-arrow {
    font-size: 18px;
    color: #cbd5e1;
    flex-shrink: 0;
    transition: color 0.2s;
}
.ls-article-bbs-card:hover .ls-article-bbs-card-arrow { color: #94a3b8; }

/* ==================== @用户 ==================== */
.ls-article-at-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.ls-article-at-link {
    color: #5b7ff5;
    font-size: 14px;
    text-decoration: none;
}

.ls-article-at-link:hover { text-decoration: underline; }


/* ==================== 富文本正文 ==================== */
.ls-article-body {
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
    word-break: break-word;
    margin-bottom: 24px;
}

.ls-article-body p {
    margin: 0 0 16px;
}

.ls-article-body p:last-child {
    margin-bottom: 0;
}

.ls-article-body h1,
.ls-article-body h2,
.ls-article-body h3,
.ls-article-body h4 {
    color: #1a1a2e;
    font-weight: 600;
    margin: 28px 0 12px;
    line-height: 1.4;
}

.ls-article-body h1 { font-size: 24px; }
.ls-article-body h2 { font-size: 20px; }
.ls-article-body h3 { font-size: 18px; }
.ls-article-body h4 { font-size: 16px; }

.ls-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 8px 0;
    cursor: pointer;
}

.ls-article-body a {
    color: var(--jinsom-color, #5b7ff5);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}

.ls-article-body a:hover {
    border-bottom-color: var(--jinsom-color, #5b7ff5);
}

.ls-article-body blockquote {
    margin: 16px 0;
    padding: 12px 20px;
    border-left: 3px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    color: #64748b;
    font-style: italic;
}

.ls-article-body pre {
    margin: 16px 0;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow-x: auto;
}

.ls-article-body pre code {
    font-size: 13px;
    line-height: 1.7;
    font-family: 'Fira Code', 'SF Mono', Consolas, monospace;
    color: #334155;
    background: none;
    padding: 0;
}

.ls-article-body code {
    padding: 2px 6px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e11d48;
    font-family: 'Fira Code', 'SF Mono', Consolas, monospace;
}

.ls-article-body ul,
.ls-article-body ol {
    margin: 12px 0;
    padding-left: 24px;
}

.ls-article-body li {
    margin-bottom: 6px;
}

/* ========== 任务列表 ========== */
.ls-article-body ul[data-type="taskList"] {
    padding-left: 0;
    list-style: none;
}
.ls-article-body ul[data-type="taskList"] li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    margin-bottom: 2px;
}
.ls-article-body ul[data-type="taskList"] li label {
    flex-shrink: 0;
    margin-top: 5px;
    position: relative;
    width: 18px;
    height: 18px;
}
.ls-article-body ul[data-type="taskList"] li label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    pointer-events: none;
}
.ls-article-body ul[data-type="taskList"] li label span {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ls-border);
    border-radius: 4px;
    background: var(--ls-card-bg);
}
.ls-article-body ul[data-type="taskList"] li[data-checked="true"] label span {
    background: var(--ls-primary);
    border-color: var(--ls-primary);
}
.ls-article-body ul[data-type="taskList"] li[data-checked="true"] label span::after {
    content: "";
    display: block;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin: 1px 0 0 5px;
}
.ls-article-body ul[data-type="taskList"] li[data-checked="true"] > div {
    text-decoration: line-through;
    color: var(--ls-text-4);
}

.ls-article-body hr {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 24px 0;
}

.ls-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.ls-article-body table th,
.ls-article-body table td {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.ls-article-body table th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
}

.ls-article-body table tr:hover td {
    background: #fafbfc;
}

.ls-article-body video {
    max-width: 100%;
    border-radius: 10px;
    margin: 8px 0;
}


/* ==================== 权限遮罩 ==================== */
.ls-article-power {
    padding: 20px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    text-align: center;
    margin-bottom: 24px;
}

.ls-article-power-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #64748b;
}

.ls-article-power-header i { font-size: 16px; }

.ls-article-power-cards {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ls-article-power-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s, box-shadow 0.2s;
    max-width: 280px;
}

.ls-article-power-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 2px 8px rgba(91, 127, 245, 0.08);
}

.ls-article-power-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.ls-article-power-card-text {
    flex: 1;
    font-size: 13px;
    color: #475569;
    text-align: left;
}

.ls-article-power-card-btn {
    flex-shrink: 0;
    padding: 5px 14px;
    border-radius: 16px;
    border: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    color: #fff;
    transition: all 0.15s;
    white-space: nowrap;
}

.ls-article-power-card-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* 权限卡片配色 */
.ls-article-power-pay .ls-article-power-card-icon { background: #fff7ed; color: #ea580c; }
.ls-article-power-pay .ls-article-power-card-btn { background: #ea580c; }
.ls-article-power-follow .ls-article-power-card-icon { background: #fef2f2; color: #dc2626; }
.ls-article-power-follow .ls-article-power-card-btn { background: #dc2626; }
.ls-article-power-vip .ls-article-power-card-icon { background: #fffbeb; color: #d97706; }
.ls-article-power-login .ls-article-power-card-icon { background: #f5f3ff; color: #7c3aed; }
.ls-article-power-comment .ls-article-power-card-icon { background: #ecfeff; color: #0891b2; }
.ls-article-power-comment .ls-article-power-card-btn { background: #0891b2; }
.ls-article-power-password .ls-article-power-card-icon { background: #f8fafc; color: #475569; }
.ls-article-power-password .ls-article-power-card-btn { background: #475569; }
.ls-article-power-exp .ls-article-power-card-icon { background: #f0fdf4; color: #16a34a; }

.ls-article-power-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    font-size: 12px;
    color: #94a3b8;
}

.ls-article-power-footer i { font-size: 14px; }


/* ==================== 隐藏内容 ==================== */
.ls-article-hidden {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.ls-article-hidden-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
}

.ls-article-hidden-bar i { font-size: 15px; }

.ls-article-hidden-bar em {
    font-style: normal;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    margin-left: auto;
}

.ls-article-hidden-unlocked { border: 1px solid #bbf7d0; background: #f0fdf4; }
.ls-article-hidden-unlocked .ls-article-hidden-bar { color: #16a34a; }
.ls-article-hidden-tag-ok { background: #dcfce7; color: #16a34a; }

.ls-article-hidden-body {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #334155;
    border-top: 1px solid #bbf7d0;
}

.ls-article-hidden-locked { border: 1px dashed #cbd5e1; background: #f8fafc; }
.ls-article-hidden-locked .ls-article-hidden-bar { color: #94a3b8; }
.ls-article-hidden-tag-no { background: #f1f5f9; color: #94a3b8; }

.ls-article-hidden-tip {
    padding: 0 16px 10px;
    font-size: 12px;
    color: #94a3b8;
}

/* ==================== 附件 ==================== */
.ls-article-files {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.ls-article-files-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.ls-article-files-header i { font-size: 15px; }

.ls-article-files-header em {
    font-style: normal;
    margin-left: auto;
    color: #94a3b8;
    font-weight: 400;
    font-size: 12px;
}

.ls-article-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #334155;
    transition: background 0.15s;
    border-bottom: 1px solid #f1f5f9;
}

.ls-article-file-item:last-child { border-bottom: none; }
.ls-article-file-item:hover { background: #f8fafc; }

.ls-article-file-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f5f9;
    flex-shrink: 0;
}

.ls-article-file-icon i { font-size: 18px; }

.ls-article-file-info { flex: 1; min-width: 0; }

.ls-article-file-name {
    display: block;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #334155;
}

.ls-article-file-meta {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.ls-article-file-dl {
    font-size: 17px;
    color: #5b7ff5;
    flex-shrink: 0;
    transition: transform 0.15s;
}

.ls-article-file-item:hover .ls-article-file-dl { transform: translateY(1px); }

.ls-article-file-lock { font-size: 15px; color: #94a3b8; flex-shrink: 0; }
.ls-article-file-locked { opacity: 0.55; cursor: not-allowed; }
.ls-article-file-locked:hover { background: transparent; }


/* ==================== 位置 ==================== */
.ls-article-location-wrap { margin-bottom: 16px; }

.ls-article-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 20px;
    background: #f1f5f9;
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.15s;
}

.ls-article-location:hover { background: #e2e8f0; color: #475569; }
.ls-article-location i { font-size: 14px; color: #ef4444; }

/* ==================== 标签 ==================== */
.ls-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ls-article-tag {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 6px;
    background: #eef2ff;
    color: var(--jinsom-color, #5b7ff5);
    font-size: 12px;
    text-decoration: none;
    transition: all 0.15s;
    font-weight: 500;
}

.ls-article-tag:hover { background: #dbeafe; color: #4f46e5; }

/* ==================== 互动栏卡片 ==================== */
.ls-article-interact-card {
    padding: 0;
    background: #fafbfc;
    border: none;
}

.ls-article-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 24px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.ls-article-act-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

.ls-article-act-btn:hover {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
    transform: translateY(-1px);
}

.ls-article-act-btn i { font-size: 18px; }

/* 喜欢激活 */
.ls-article-act-like.ls-liked {
    color: #ef4444;
    background: #fef2f2;
    border-color: #fecaca;
}

.ls-article-act-like.ls-liked:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.ls-article-act-like.ls-like-bounce {
    animation: ls-like-bounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 收藏激活 */
.ls-article-act-collect.ls-on {
    color: #f59e0b;
    background: #fffbeb;
    border-color: #fde68a;
}

.ls-article-act-collect.ls-on:hover {
    background: #fef3c7;
    border-color: #fcd34d;
}

/* ==================== 互动详情 Tab ==================== */
.ls-article-interact {
    padding: 20px 24px;
}

.ls-article-interact-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}

.ls-article-interact-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 8px 8px 0 0;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    position: relative;
}

.ls-article-interact-tab:hover {
    background: #f8fafc;
    color: #64748b;
}

.ls-article-interact-tab.ls-on {
    background: transparent;
    color: #0f172a;
    font-weight: 600;
}

.ls-article-interact-tab.ls-on::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--jinsom-color, #5b7ff5);
}

.ls-article-interact-tab i { font-size: 15px; }
.ls-article-interact-tab[data-tab="likes"] i { color: #ef4444; }
.ls-article-interact-tab[data-tab="gifts"] i { color: #f59e0b; }

.ls-article-interact-tab em {
    font-style: normal;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.ls-article-interact-tab.ls-on em { color: #64748b; }

.ls-article-interact-panel { display: none; }
.ls-article-interact-panel.ls-on { display: block; }

.ls-article-interact-panel[data-panel="likes"] { display: none; }
.ls-article-interact-panel[data-panel="likes"].ls-on {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* 赞面板 */
.ls-article-likes-faces {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.ls-article-likes-faces a {
    display: inline-block;
    margin-left: -6px;
    transition: transform 0.15s;
}

.ls-article-likes-faces a:first-child { margin-left: 0; }
.ls-article-likes-faces a:hover { transform: scale(1.15); z-index: 1; }

.ls-article-likes-faces img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.ls-article-likes-text {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
}

/* 礼物面板 */
.ls-article-gifts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ls-article-gift-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ls-article-gift-user { flex-shrink: 0; }

.ls-article-gift-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.ls-article-gift-info { flex: 1; min-width: 0; }

.ls-article-gift-name {
    font-size: 12px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.ls-article-gift-name:hover { color: var(--jinsom-color, #5b7ff5); }

.ls-article-gift-time {
    font-size: 11px;
    color: #cbd5e1;
    flex-shrink: 0;
    white-space: nowrap;
}

.ls-article-gift-detail {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    font-size: 11px;
    color: #94a3b8;
}

.ls-article-gift-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ls-article-gift-detail em {
    font-style: normal;
    color: #f59e0b;
    font-weight: 500;
}

.ls-article-gift-svga-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.15s;
}

.ls-article-gift-svga-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.35);
}

.ls-article-gift-svga-btn i { font-size: 14px; }

/* ==================== 评论区 ==================== */
.ls-article-comments {
    min-height: 100px;
    padding: 20px;
}

/* ==================== 状态提示 ==================== */
.ls-article-status-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    margin: 16px auto 0;
    max-width: 1140px;
    border-radius: 12px;
    font-size: 14px;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.ls-article-status-tip i { font-size: 18px; }

/* ==================== 板块权限拦截 ==================== */
.ls-article-bbs-locked-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.ls-article-bbs-locked-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ls-article-bbs-locked-icon i { font-size: 26px; color: #94a3b8; }

.ls-article-bbs-locked-msg {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ls-article-bbs-locked-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--jinsom-color, #5b7ff5);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}

.ls-article-bbs-locked-btn:hover { opacity: 0.88; }
.ls-article-bbs-locked-btn i { font-size: 16px; }

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .ls-article-page > .ls-sidebar-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .ls-article-page { padding: 8px; }
    .ls-article-header { padding: 20px 24px; }
    .ls-article-content-card { padding: 24px 20px; }
    .ls-article-title { font-size: 24px; }
    .ls-article-body { font-size: 15px; }
    .ls-article-actions { flex-wrap: wrap; padding: 16px; }
    .ls-article-act-btn { padding: 8px 16px; font-size: 13px; }
    .ls-article-act-btn i { font-size: 16px; }
    .ls-article-cover { max-height: 280px; }
    .ls-article-cover img { max-height: 280px; }
    .ls-article-interact { padding: 16px; }
}

/* ==================== 文章内嵌视频封面 ==================== */
.ls-article-video-wrapper {
    margin: 4px 2px;
}

.ls-article-video-cover {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.ls-article-video-cover i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    padding-left: 3px;
    transition: all 0.25s;
}

.ls-article-video-wrapper:hover .ls-article-video-cover i {
    background: rgba(0, 0, 0, 0.6);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ==================== 视频弹窗 ==================== */
.ls-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lsVideoModalIn 0.2s ease;
}

@keyframes lsVideoModalIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ls-video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.ls-video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ls-video-modal-close i {
    font-size: 28px;
    color: #fff;
}

.ls-video-modal-body {
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
}

.ls-video-modal-body video {
    width: 100%;
    max-height: 80vh;
    background: #000;
    border-radius: 8px;
    outline: none;
}
