/* 初映主题 · 原创设计（靛紫渐变 + 圆角卡片） */
:root {
  --lx-primary: #6c5ce7;
  --lx-primary-2: #a29bfe;
  --lx-gradient: linear-gradient(135deg, #6c5ce7, #0984e3);
  --lx-bg: #f5f6fa;
  --lx-card: #fff;
  --lx-text: #2d3436;
  --lx-muted: #8395a7;
  --lx-radius: 14px;
  --lx-shadow: 0 4px 18px rgba(45, 52, 54, .07);
}
* { box-sizing: border-box; }
body.lx-body { margin: 0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--lx-bg); color: var(--lx-text); font-size: 15px; line-height: 1.7; }
a { color: var(--lx-primary); text-decoration: none; }
img { max-width: 100%; }
.lx-container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* 头部 */
.lx-header { position: sticky; top: 0; z-index: 99; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.lx-header-inner { display: flex; align-items: center; gap: 18px; height: 62px; }
.lx-logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--lx-text); }
.lx-logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--lx-gradient); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.lx-logo-img { max-height: 40px; max-width: 200px; display: block; }
.lx-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.lx-menu a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--lx-text); font-weight: 500; }
.lx-menu a:hover, .current-menu-item .lx-menu a, .lx-menu li.current-menu-item > a { background: #eee9ff; color: var(--lx-primary); }
.lx-menu .lx-nav-emoji { margin-right: 5px; }
.lx-header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lx-search input { border: 1px solid #e4e6ef; background: #f5f6fa; border-radius: 20px; padding: 7px 14px; width: 150px; outline: none; transition: .2s; }
.lx-search input:focus { width: 210px; border-color: var(--lx-primary-2); background: #fff; }
.lx-userbox { display: flex; align-items: center; gap: 10px; }
.lx-userlink { display: flex; align-items: center; gap: 6px; }
.lx-avatar { width: 34px; height: 34px; border-radius: 50%; }
.lx-avatar-sm { width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.lx-avatar-lg { width: 84px; height: 84px; }
.lx-msgicon { position: relative; color: var(--lx-muted); }
.lx-badge { position: absolute; top: -6px; right: -8px; background: #e74c3c; color: #fff; font-size: 10px; border-radius: 10px; padding: 1px 5px; }
.lx-vip-badge { display: inline-block; color: #fff; font-size: 11px; border-radius: 8px; padding: 1px 7px; vertical-align: middle; }
.lx-mobile-toggle { display: none; background: none; border: 0; cursor: pointer; }
.lx-mobile-toggle span { display: block; width: 20px; height: 2px; background: var(--lx-text); margin: 4px 0; }
.lx-mobile-nav { display: none; background: #fff; border-top: 1px solid #eee; }
.lx-mobile-nav .lx-menu { flex-direction: column; padding: 8px 16px; }

/* 按钮 */
.lx-btn { display: inline-block; border: 0; cursor: pointer; border-radius: 10px; padding: 8px 18px; font-size: 14px; background: #eef0f6; color: var(--lx-text); transition: .2s; }
.lx-btn:hover { transform: translateY(-1px); }
.lx-btn-primary { background: var(--lx-gradient); color: #fff; }
.lx-btn-block { display: block; width: 100%; text-align: center; }
.lx-btn-mini { padding: 4px 12px; font-size: 13px; }
.lx-btn-checkin { background: #ffeaa7; color: #6d5b00; }
.lx-btn-pay { background: #0984e3; color: #fff; }
.lx-btn-points { background: #e17055; color: #fff; }
.lx-logout { color: var(--lx-muted); font-size: 13px; }

/* 布局 */
.lx-main { padding-top: 22px; padding-bottom: 40px; min-height: 60vh; }
.lx-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.lx-content { min-width: 0; }
.lx-page-title { font-size: 22px; margin: 0 0 16px; }

/* 卡片列表 */
.lx-cards { display: grid; gap: 16px; }
.lx-card { display: flex; gap: 14px; background: var(--lx-card); border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); padding: 14px; transition: .2s; }
.lx-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(108,92,231,.12); }
.lx-card-thumb { flex: 0 0 150px; height: 100px; border-radius: 10px; overflow: hidden; }
.lx-card-thumb img, .lx-noimg { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-noimg { color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lx-card-body { flex: 1; min-width: 0; }
.lx-card-title { font-size: 17px; margin: 0 0 6px; }
.lx-card-title a { color: var(--lx-text); }
.lx-card-title a:hover { color: var(--lx-primary); }
.lx-card-excerpt { color: var(--lx-muted); font-size: 13px; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-card-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--lx-muted); }
.lx-meta-right { margin-left: auto; display: flex; gap: 10px; }
.lx-price { color: #e17055; font-weight: 700; }

/* 侧栏 */
.lx-widget { background: var(--lx-card); border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); padding: 16px; margin-bottom: 16px; }
.lx-widget h3 { margin: 0 0 10px; font-size: 15px; }
.lx-widget-login p { color: var(--lx-muted); font-size: 13px; }
.lx-widget-user { text-align: center; }
.lx-widget-user .lx-avatar { width: 56px; height: 56px; margin-bottom: 8px; }
.lx-widget-user-info b { display: block; }
.lx-widget-stats { display: flex; justify-content: space-around; margin-top: 10px; font-size: 13px; color: var(--lx-muted); }
.lx-hot { list-style: none; margin: 0; padding: 0; }
.lx-hot li { padding: 6px 0; border-bottom: 1px dashed #eef0f6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-hot li:last-child { border: 0; }
.lx-hot a { color: var(--lx-text); font-size: 13px; }
.lx-hot a:hover { color: var(--lx-primary); }

/* 文章 */
.lx-article { background: var(--lx-card); border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); padding: 26px; }
.lx-article-title { font-size: 26px; margin: 0 0 12px; }
.lx-article-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--lx-muted); padding-bottom: 14px; border-bottom: 1px solid #f0f1f6; margin-bottom: 18px; flex-wrap: wrap; }
.lx-cats { margin-left: auto; }
.lx-post-menu { position: relative; margin-left: 4px; }
.lx-post-menu-btn { border: 0; background: transparent; font-size: 17px; font-weight: 700; letter-spacing: 1px; cursor: pointer; color: var(--lx-muted); padding: 2px 10px; border-radius: 8px; line-height: 1; }
.lx-post-menu-btn:hover { background: rgba(108, 92, 231, .1); color: var(--lx-text); }
.lx-post-menu-drop { display: none; position: absolute; right: 0; top: 120%; background: var(--lx-card, #fff); border: 1px solid var(--lx-border, #e3e5e8); border-radius: 10px; box-shadow: 0 8px 24px rgba(30, 30, 60, .14); padding: 6px; min-width: 128px; z-index: 60; }
.lx-post-menu.open .lx-post-menu-drop { display: block; }
.lx-post-menu-drop a { display: flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 13px; color: var(--lx-text, #333); border-radius: 7px; white-space: nowrap; }
.lx-post-menu-drop a:hover { background: rgba(108, 92, 231, .08); }
.lx-post-menu-drop a.danger { color: #e74c3c; }
.lx-post-menu-drop a.danger:hover { background: rgba(231, 76, 60, .08); }
html.lx-dark .lx-post-menu-drop { background: #262837; border-color: #34364a; }
html.lx-dark .lx-post-menu-drop a { color: var(--lx-text); }
.lx-cats a { color: var(--lx-primary); background: #eee9ff; border-radius: 8px; padding: 2px 10px; margin-left: 4px; }
.lx-featured { border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.lx-product-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 18px; }
.lx-product-gallery img { width: 100%; height: auto; border-radius: 10px; }
.lx-article-body { font-size: 16px; }
.lx-article-body img { border-radius: 10px; }
.lx-article-body pre { background: #2d3436; color: #dfe6e9; padding: 14px; border-radius: 10px; overflow: auto; }
.lx-author-card { display: flex; gap: 14px; align-items: center; background: var(--lx-card); border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); padding: 16px; margin: 16px 0; }
.lx-author-card p { margin: 4px 0 0; color: var(--lx-muted); font-size: 13px; }

/* 下载/购买盒 */
.lx-dl-box { background: linear-gradient(135deg, #eef7f2, #e8f4fd); border: 1px solid #cde9dc; border-radius: var(--lx-radius); padding: 16px; margin: 18px 0; }
.lx-dl-box h4 { margin: 0 0 10px; }
.lx-dl-btn { display: block; background: #fff; border: 1px solid var(--lx-primary-2); color: var(--lx-primary); border-radius: 10px; padding: 9px 14px; margin-bottom: 8px; }
.lx-dl-btn:hover { background: var(--lx-primary); color: #fff; }
.lx-pay-box { background: #fff8e6; border: 1px dashed #f6c344; border-radius: var(--lx-radius); padding: 20px; margin: 18px 0; text-align: center; }
.lx-pay-info { font-size: 16px; font-weight: 600; color: #b7791f; margin-bottom: 12px; }
.lx-pay-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* 评论 */
.lx-comments { background: var(--lx-card); border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); padding: 20px; margin-top: 16px; }
.lx-comments-title { margin-top: 0; }
.lx-comment-list { list-style: none; padding: 0; }
.lx-comment { margin-bottom: 14px; }
.lx-comment-inner { display: flex; gap: 10px; }
.lx-comment-main { flex: 1; background: #f7f8fc; border-radius: 10px; padding: 10px 14px; }
.lx-comment-head { font-size: 12px; color: var(--lx-muted); display: flex; gap: 8px; align-items: center; }
.lx-comment-head b { color: var(--lx-text); }
.lx-pending { color: #e17055; }
.lx-comment-text { margin: 6px 0; }
.lx-ip { font-size: 12px; color: var(--lx-muted); }
.lx-iploc { display: inline-block; font-size: 12px; line-height: 1.6; color: var(--lx-muted); background: rgba(131, 149, 167, .14); border-radius: 10px; padding: 0 8px; vertical-align: middle; }
html.lx-dark .lx-iploc { color: var(--lx-muted); background: rgba(143, 145, 162, .18); }
.lx-comment-actions .comment-reply-link { font-size: 12px; color: var(--lx-primary-2); text-decoration: none; }
.lx-comment-actions .comment-reply-link:hover { text-decoration: underline; }
.lx-comments .comment-form { margin-top: 4px; }
.lx-comments .comment-form p { margin: 0 0 10px; }
.lx-comments textarea, .lx-comments input[type=text], .lx-comments input[type=email] { width: 100%; border: 1px solid #e4e6ef; border-radius: 10px; padding: 9px 12px; margin-bottom: 10px; outline: none; font-family: inherit; }
.lx-comments textarea:focus, .lx-comments input:focus { border-color: var(--lx-primary-2); }
.lx-comments .submit { background: var(--lx-gradient); color: #fff; border: 0; border-radius: 10px; padding: 9px 22px; cursor: pointer; }

/* 分页 */
.lx-pager { margin: 20px 0; text-align: center; }
.lx-pager .page-numbers { display: inline-block; padding: 6px 13px; border-radius: 9px; background: #fff; margin: 0 3px; color: var(--lx-text); }
.lx-pager .current, .lx-pager .page-numbers:hover { background: var(--lx-primary); color: #fff; }
.lx-empty { color: var(--lx-muted); text-align: center; padding: 24px; }

/* 登录注册 */
.lx-auth-wrap { display: flex; justify-content: center; padding: 40px 0; }
.lx-auth-card { width: 400px; max-width: 94vw; background: var(--lx-card); border-radius: 18px; box-shadow: var(--lx-shadow); padding: 26px; }
.lx-auth-tabs { display: flex; margin-bottom: 18px; border-bottom: 2px solid #f0f1f6; }
.lx-auth-tabs button { flex: 1; background: none; border: 0; padding: 10px; font-size: 15px; cursor: pointer; color: var(--lx-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.lx-auth-tabs button.active { color: var(--lx-primary); border-color: var(--lx-primary); font-weight: 600; }
.lx-auth-pane { display: none; }
.lx-auth-pane.active { display: block; }
.lx-auth-pane input[type=text], .lx-auth-pane input[type=password], .lx-auth-pane input[type=email] { width: 100%; border: 1px solid #e4e6ef; border-radius: 10px; padding: 10px 13px; font-size: 14px; outline: none; }
.lx-auth-pane input:focus { border-color: var(--lx-primary-2); }
.lx-auth-pane p { margin: 0 0 12px; position: relative; }
.lx-auth-pane p label { font-size: 13px; color: var(--lx-muted); }
.lx-code-btn { position: absolute; right: 4px; top: 4px; bottom: 4px; border: 0; background: #eee9ff; color: var(--lx-primary); border-radius: 8px; padding: 0 12px; cursor: pointer; font-size: 13px; white-space: nowrap; }
.lx-code-btn:disabled { color: var(--lx-muted); background: #f0f1f6; cursor: not-allowed; }
.lx-auth-msg { min-height: 22px; font-size: 13px; margin-top: 8px; text-align: center; }
.lx-auth-msg.err { color: #e74c3c; }
.lx-auth-msg.ok { color: #00b894; }
.lx-auth-tip { font-size: 13px; }

/* 用户中心 */
.lx-uc { background: var(--lx-card); border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); overflow: hidden; }
.lx-uc-head { display: flex; gap: 18px; padding: 26px; background: var(--lx-gradient); color: #fff; }
.lx-uc-head a { color: #fff; text-decoration: underline; }
.lx-uc-info h1 { margin: 0; font-size: 20px; color: #fff; }
.lx-uc-info p { margin: 4px 0 8px; opacity: .85; font-size: 13px; }
.lx-uc-stats { display: flex; gap: 14px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.lx-uc-stats b { font-size: 15px; }
.lx-uc-tabs { display: flex; border-bottom: 1px solid #f0f1f6; overflow-x: auto; }
.lx-uc-tabs button { background: none; border: 0; padding: 13px 20px; cursor: pointer; color: var(--lx-muted); font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.lx-uc-tabs button.active { color: var(--lx-primary); border-color: var(--lx-primary); font-weight: 600; }
.lx-uc-pane { display: none; padding: 20px; }
.lx-uc-pane.active { display: block; }
.lx-profile-form input, .lx-profile-form textarea { width: 100%; border: 1px solid #e4e6ef; border-radius: 10px; padding: 9px 12px; margin-top: 4px; outline: none; }
.lx-profile-form label { font-size: 13px; color: var(--lx-muted); }
.lx-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lx-table th, .lx-table td { padding: 9px 10px; border-bottom: 1px solid #f0f1f6; text-align: left; }
.lx-table th { color: var(--lx-muted); font-weight: 500; background: #f7f8fc; }
.lx-up { color: #00b894; font-weight: 700; }
.lx-down { color: #e17055; font-weight: 700; }
.lx-paid { color: #00b894; }
.lx-unpaid { color: #e17055; }
.lx-msg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.lx-msg-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid #eef0f6; }
.lx-msg-tabs button { border: 0; background: none; padding: 8px 14px; font-size: 14px; color: var(--lx-muted); cursor: pointer; border-radius: 8px 8px 0 0; position: relative; }
.lx-msg-tabs button.active { color: var(--lx-primary); font-weight: 700; }
.lx-msg-tabs button.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--lx-gradient, var(--lx-primary)); border-radius: 2px; }
.lx-msg-actions { display: flex; gap: 8px; }
.lx-msg-item { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #eef0f6; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; font-size: 13px; cursor: pointer; transition: box-shadow .15s, border-color .15s; background: #fff; }
.lx-msg-item:hover { border-color: var(--lx-primary); box-shadow: 0 4px 14px rgba(99,102,241,.08); }
.lx-msg-ic { font-style: normal; font-size: 20px; line-height: 1.3; width: 38px; height: 38px; flex: none; display: flex; align-items: center; justify-content: center; background: #f3f4fb; border-radius: 10px; }
.lx-msg-body { flex: 1; min-width: 0; }
.lx-msg-item b { display: block; font-size: 14px; }
.lx-msg-dot { display: none; width: 7px; height: 7px; border-radius: 50%; background: #e74c3c; margin-left: 6px; vertical-align: middle; }
.lx-msg-item.unread .lx-msg-dot { display: inline-block; }
.lx-msg-item p { margin: 4px 0; color: var(--lx-muted); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }
.lx-msg-time { color: var(--lx-muted); font-size: 12px; }
.lx-msg-more { text-align: center; margin-top: 6px; }
html.lx-dark .lx-msg-tabs { border-color: #34364a; }
html.lx-dark .lx-msg-item { background: #262837; border-color: #34364a; }
html.lx-dark .lx-msg-item:hover { box-shadow: none; }
html.lx-dark .lx-msg-ic { background: #2e2a49; }
.lx-mine-list { list-style: none; padding: 0; }
.lx-mine-list li { padding: 8px 0; border-bottom: 1px dashed #eef0f6; }
.lx-status-pending { color: #e17055; font-size: 12px; margin-left: 8px; }
.lx-status-publish { color: #00b894; font-size: 12px; margin-left: 8px; }

/* VIP 页 */
.lx-vip-page { text-align: center; padding: 20px 0; }
.lx-vip-title { font-size: 30px; background: var(--lx-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-vip-sub { color: var(--lx-muted); margin-bottom: 26px; }
.lx-vip-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.lx-vip-card { width: 260px; background: var(--lx-card); border-radius: 18px; box-shadow: var(--lx-shadow); padding: 24px; border-top: 4px solid var(--vip-color, var(--lx-primary)); }
.lx-vip-name { font-size: 18px; font-weight: 700; color: var(--vip-color); }
.lx-vip-price { font-size: 32px; font-weight: 800; margin: 10px 0; }
.lx-vip-price span { font-size: 13px; color: var(--lx-muted); font-weight: 400; }
.lx-vip-head { display: flex; align-items: center; gap: 8px; }
.lx-vip-icon { font-size: 24px; }
.lx-vip-tag { margin-left: auto; color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 10px; opacity: .9; }
.lx-vip-desc { margin: 8px 0 12px; font-size: 13px; color: var(--lx-muted); }
.lx-vip-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.lx-vip-tab { position: relative; flex: 1; min-width: 64px; padding: 8px 6px; border: 1px solid var(--lx-border, #e5e7eb); background: transparent; border-radius: 10px; font-size: 13px; cursor: pointer; color: var(--lx-text); transition: .2s; }
.lx-vip-tab.active { border-color: var(--vip-color); color: var(--vip-color); font-weight: 700; background: color-mix(in srgb, var(--vip-color) 8%, transparent); }
.lx-vip-save { position: absolute; top: -9px; right: -6px; background: linear-gradient(90deg, #ff7e5f, #feb47b); color: #fff; font-size: 10px; font-style: normal; padding: 1px 7px; border-radius: 9px; box-shadow: 0 3px 8px rgba(255,126,95,.35); }
.lx-vip-price b { font-size: 32px; }
.lx-vip-days { font-size: 13px; color: var(--lx-muted); margin-bottom: 12px; }
.lx-vip-benefits { list-style: none; padding: 0; text-align: left; font-size: 14px; color: var(--lx-muted); min-height: 90px; }
.lx-vip-benefits li { padding: 3px 0; }
.lx-btn-vip { background: var(--vip-color, var(--lx-gradient)); color: #fff; }
.lx-vip-tip { margin-top: 20px; color: var(--lx-muted); }

/* 弹窗 */
.lx-modal { position: fixed; inset: 0; background: rgba(20,20,40,.5); z-index: 999; display: flex; align-items: center; justify-content: center; }
.lx-modal-box { width: 420px; max-width: 94vw; background: #fff; border-radius: 18px; padding: 24px; position: relative; max-height: 88vh; overflow: auto; }
.lx-modal-close { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--lx-muted); }
.lx-pay-amount { margin: 10px 0; }
.lx-pay-channels { display: flex; gap: 12px; margin: 14px 0; }
.lx-pay-channel { flex: 1; border: 2px solid #eef0f6; border-radius: 12px; padding: 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lx-pay-channel input { accent-color: var(--lx-primary); }
.lx-pay-channel.checked { border-color: var(--primary, var(--lx-primary)); background: #f8f6ff; }
.lx-ch-icon { width: 28px; height: 28px; border-radius: 8px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.lx-ch-alipay { background: #1677ff; }
.lx-ch-wechat { background: #07c160; }
.lx-pay-body { text-align: center; margin: 10px 0; }
.lx-pay-body img { border-radius: 10px; }
.lx-pay-body .lx-qr-tip { font-size: 13px; color: var(--lx-muted); }

.lx-404 { text-align: center; padding: 80px 0; }
.lx-404 h1 { font-size: 90px; margin: 0; background: var(--lx-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 提示条 */
#lx-toast { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); background: rgba(45,52,54,.92); color: #fff; padding: 9px 22px; border-radius: 30px; z-index: 1000; font-size: 14px; display: none; }
#lx-toast[style*="block"] { animation: lxToastIn .32s cubic-bezier(.34, 1.56, .64, 1); }

/* 响应式 */
@media (max-width: 960px) {
  .lx-layout { grid-template-columns: 1fr; }
  .lx-sidebar { order: 2; }
  .lx-nav { display: none; }
  .lx-mobile-toggle { display: block; }
  .lx-search input { width: 100px; }
  .lx-btn-checkin { display: none; }
}
@media (max-width: 560px) {
  .lx-card { flex-direction: column; }
  .lx-card-thumb { flex: none; width: 100%; height: 150px; }
  .lx-uc-head { flex-direction: column; align-items: center; text-align: center; }
  .lx-header-inner { gap: 8px; }
}

/* ================= 视觉增强 ================= */
@keyframes lxFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lx-card, .lx-widget, .lx-article, .lx-hero { animation: lxFadeUp .45s ease both; }

/* 首页横幅 */
.lx-hero { position: relative; overflow: hidden; border-radius: 20px; background: linear-gradient(120deg, #5b4bd6 0%, #7b5ce7 35%, #3f8ae0 70%, #12b4c9 100%); color: #fff; padding: 46px 34px; margin-bottom: 18px; box-shadow: 0 14px 34px rgba(91,75,214,.32); }
.lx-hero-deco { position: absolute; border-radius: 50%; filter: blur(2px); }
.lx-hero-deco.d1 { width: 260px; height: 260px; right: -60px; top: -90px; background: rgba(255,255,255,.14); }
.lx-hero-deco.d2 { width: 180px; height: 180px; left: -50px; bottom: -70px; background: rgba(255,255,255,.1); }
.lx-hero-inner { position: relative; text-align: center; }
.lx-hero h1 { margin: 0 0 6px; font-size: 32px; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.lx-hero p { margin: 0 0 18px; opacity: .92; font-size: 15px; }
.lx-hero-search { display: flex; max-width: 480px; margin: 0 auto 16px; background: #fff; border-radius: 30px; padding: 5px 5px 5px 18px; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.lx-hero-search input { flex: 1; border: 0; outline: none; font-size: 14px; color: var(--lx-text); background: none; }
.lx-hero-search button { border: 0; border-radius: 26px; padding: 9px 26px; background: var(--lx-gradient); color: #fff; cursor: pointer; font-size: 14px; }
.lx-hero-stats { display: flex; gap: 26px; justify-content: center; font-size: 13px; opacity: .95; }
.lx-hero-stats b { font-size: 18px; margin-right: 4px; }

/* 快捷入口 */
.lx-quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 22px; }
.lx-quick a { background: var(--lx-card); border-radius: 16px; padding: 18px 8px; text-align: center; color: var(--lx-text); box-shadow: var(--lx-shadow); transition: .25s; cursor: pointer; }
.lx-quick a:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(108,92,231,.18); }
.lx-quick .qi { display: flex; width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 14px; font-size: 22px; align-items: center; justify-content: center; font-style: normal; }
.qi-1 { background: #e8f0ff; } .qi-2 { background: #e6f9f0; } .qi-3 { background: #fff2e8; } .qi-4 { background: #fff6dd; } .qi-5 { background: #f3e8ff; }
.lx-quick span { font-size: 13px; }
.lx-quick .qd { display: block; font-style: normal; font-size: 11px; color: var(--lx-muted); margin-top: 2px; line-height: 1.4; }
.lx-quick .qi img { max-width: 26px; max-height: 26px; vertical-align: middle; }

/* 区块标题 */
.lx-section-title { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 0 0 14px; }
.lx-section-title i { width: 5px; height: 20px; border-radius: 3px; background: var(--lx-gradient); }

/* 卡片升级 */
.lx-card-thumb { position: relative; }
.lx-ribbon { position: absolute; top: 10px; right: -6px; padding: 3px 12px 3px 10px; font-size: 12px; font-weight: 700; color: #fff; border-radius: 20px 0 0 20px; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.lx-ribbon.paid { background: linear-gradient(90deg, #ff7e5f, #feb47b); }
.lx-ribbon.free { background: linear-gradient(90deg, #43e97b, #38f9d7); }
.lx-chip { background: #eee9ff; color: var(--lx-primary); border-radius: 8px; padding: 1px 9px; font-size: 12px; }
.lx-card:hover .lx-card-thumb img, .lx-card:hover .lx-noimg { transform: scale(1.05); }
.lx-card-thumb img, .lx-noimg { transition: transform .35s ease; }

/* 侧栏升级 */
.lx-widget h3 { position: relative; padding-left: 12px; }
.lx-widget h3::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 4px; border-radius: 2px; background: var(--lx-gradient); }
.lx-widget-login { background: linear-gradient(150deg, #6c5ce7, #0984e3); color: #fff; }
.lx-widget-login h3, .lx-widget-login p { color: #fff; }
.lx-widget-login .lx-btn { background: #fff; color: var(--lx-primary); }
.lx-hot li a::before { content: "▸ "; color: var(--lx-primary-2); }

/* 文章头 */
.lx-article-title { background: linear-gradient(120deg, #4834d4, #686de0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-article-body blockquote { border-left: 4px solid var(--lx-primary-2); background: #f5f2ff; margin: 14px 0; padding: 10px 16px; border-radius: 0 10px 10px 0; color: #555; }

/* VIP 卡片角标（文字改由后台等级 badge 字段驱动，见 .lx-vip-corner） */
.lx-vip-card { position: relative; transition: .25s; }
.lx-vip-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(108,92,231,.2); }

/* 页脚 */
.lx-footer { background: #23212e; color: #9a95ad; margin-top: 30px; padding: 26px 0; position: relative; }
.lx-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--lx-gradient); }
.lx-footer a { color: #b9b3d1; margin-right: 14px; }
.lx-footer-links { text-align: center; margin-bottom: 10px; }
.lx-footer-copy { text-align: center; font-size: 13px; }
/* 底部卡片（后台「底部内容」配置，前台渲染） */
.lx-fcards { padding: 4px 0 22px; }
.lx-fcards-title { text-align: center; color: #d6d1e6; font-size: 18px; font-weight: 600; margin: 0 0 20px; }
.lx-fcards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lx-fcard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); text-align: center; text-decoration: none; transition: .2s; }
.lx-fcard:hover { transform: translateY(-3px); background: rgba(255,255,255,.09); border-color: rgba(108,92,231,.55); }
.lx-fcard-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; background: linear-gradient(160deg, rgba(108,92,231,.38), rgba(120,160,255,.26)); }
.lx-fcard-t { color: #e6e2f2; font-size: 14px; }
.lx-fcard-s { color: #8f89a6; font-size: 12px; line-height: 1.5; }
@media (max-width: 760px) { .lx-fcards-grid { grid-template-columns: repeat(2, 1fr); } }

/* 移动端 */
@media (max-width: 760px) {
  .lx-quick { grid-template-columns: repeat(3, 1fr); }
  .lx-hero { padding: 30px 18px; }
  .lx-hero h1 { font-size: 24px; }
}

/* 移动端头部防换行 */
.lx-logo { white-space: nowrap; flex-shrink: 0; overflow: hidden; }
.lx-logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 10em; }
.lx-header-right .lx-btn { white-space: nowrap; padding: 8px 14px; }
.lx-userbox { white-space: nowrap; }
@media (max-width: 560px) {
  .lx-header-inner { height: 54px; gap: 8px; }
  .lx-header-right { gap: 8px; }
  .lx-header-right .lx-search { display: none; }
  .lx-header-right .lx-btn-primary { white-space: nowrap; padding: 7px 12px; font-size: 13px; }
  .lx-logo-text { font-size: 18px; max-width: 8em; }
  .lx-logo-mark { width: 30px; height: 30px; font-size: 15px; flex-shrink: 0; }
  .lx-logo-img { max-height: 32px; max-width: 130px; }
}

/* ================= 双栏大图轮播 ================= */
.lx-slider { display: grid; grid-template-columns: 1fr 300px; gap: 14px; margin-bottom: 22px; }
.lx-slider-main { position: relative; border-radius: 18px; overflow: hidden; height: 300px; box-shadow: var(--lx-shadow); background: #1e1e2e; }
.lx-slider-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.lx-slide { position: relative; flex: 0 0 100%; height: 100%; }
.lx-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 14px; background: linear-gradient(transparent, rgba(10,10,25,.85)); color: #fff; font-size: 16px; font-weight: 600; }
.lx-sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(20,20,40,.4); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; opacity: 0; transition: .25s; z-index: 2; }
.lx-slider-main:hover .lx-sl-arrow { opacity: 1; }
.lx-sl-arrow:hover { background: var(--lx-primary); }
.lx-sl-arrow.prev { left: 12px; } .lx-sl-arrow.next { right: 12px; }
.lx-sl-dots { position: absolute; bottom: 10px; right: 14px; display: flex; gap: 6px; z-index: 2; }
.lx-sl-dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.5); cursor: pointer; transition: .25s; }
.lx-sl-dots i.on { width: 20px; background: #fff; }
.lx-slider-side { display: flex; flex-direction: column; gap: 14px; }
.lx-slide-side { position: relative; flex: 1; border-radius: 16px; overflow: hidden; box-shadow: var(--lx-shadow); }
.lx-slide-side img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.lx-slide-side:hover img { transform: scale(1.06); }
.lx-slide-side span { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; background: linear-gradient(transparent, rgba(10,10,25,.82)); color: #fff; font-size: 13px; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 960px) {
  .lx-slider { grid-template-columns: 1fr; }
  .lx-slider-main { height: 220px; }
  .lx-slider-side { flex-direction: row; }
  .lx-slide-side { height: 120px; flex: 1; }
  .lx-slide-side img { height: 120px; }
}

/* ================= 深色模式 ================= */
html.lx-dark {
  --lx-bg: #16171f;
  --lx-card: #22232e;
  --lx-text: #dcdde6;
  --lx-muted: #8f91a2;
  --lx-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}
html.lx-dark body.lx-body { background: var(--lx-bg); color: var(--lx-text); }
html.lx-dark .lx-header { background: rgba(30,31,42,.92); }
html.lx-dark .lx-logo, html.lx-dark .lx-menu a { color: var(--lx-text); }
html.lx-dark .lx-menu a:hover, html.lx-dark .current-menu-item .lx-menu a, html.lx-dark .lx-menu li.current-menu-item > a { background: #2e2a49; color: var(--lx-primary-2); }
html.lx-dark .lx-search input { background: #191a23; border-color: #34364a; color: var(--lx-text); }
html.lx-dark .lx-mobile-nav { background: #1e1f2a; border-color: #34364a; }
html.lx-dark .lx-btn { background: #2e3040; color: var(--lx-text); }
html.lx-dark .lx-btn-checkin { background: #4a4422; color: #ffeaa7; }
html.lx-dark .lx-quick a, html.lx-dark .lx-widget, html.lx-dark .lx-card, html.lx-dark .lx-article, html.lx-dark .lx-comments, html.lx-dark .lx-uc, html.lx-dark .lx-modal-box, html.lx-dark .lx-auth-card, html.lx-dark .lx-vip-card { background: var(--lx-card); color: var(--lx-text); }
html.lx-dark .qi { background: #2b2d3d; }
html.lx-dark .lx-card-title a, html.lx-dark .lx-hot a { color: var(--lx-text); }
html.lx-dark .lx-chip { background: #2e2a49; color: var(--lx-primary-2); }
html.lx-dark .lx-article-meta, html.lx-dark .lx-comment-main, html.lx-dark .lx-table th { color: var(--lx-muted); background: #262837; }
html.lx-dark .lx-table th, html.lx-dark .lx-table td { border-color: #34364a; }
html.lx-dark .lx-article-meta { background: none; }
html.lx-dark .lx-article-meta span { color: var(--lx-muted); }
html.lx-dark .lx-comments textarea, html.lx-dark .lx-comments input, html.lx-dark .lx-auth-pane input, html.lx-dark .lx-profile-form input, html.lx-dark .lx-profile-form textarea, html.lx-dark .lx-submit-form input, html.lx-dark .lx-submit-form textarea, html.lx-dark .lx-submit-form select { background: #191a23; border-color: #34364a; color: var(--lx-text); }
html.lx-dark .lx-dl-box { background: #232b33; border-color: #33475a; }
html.lx-dark .lx-dl-btn { background: #1d2530; border-color: #3a5b7a; }
html.lx-dark .lx-pay-box { background: #33290f; border-color: #6b5420; }
html.lx-dark .lx-pay-channel { border-color: #34364a; }
html.lx-dark .lx-pay-channel.checked { background: #2e2a49; border-color: var(--lx-primary); }
html.lx-dark .lx-code-btn { background: #2e2a49; color: var(--lx-primary-2); }
html.lx-dark .lx-pager .page-numbers { background: var(--lx-card); color: var(--lx-text); }
html.lx-dark .lx-footer { background: #101118; }
html.lx-dark .lx-slider-main { background: #101118; }
html.lx-dark .lx-msg-item, html.lx-dark .lx-mine-list li, html.lx-dark .lx-hot li { border-color: #34364a; }
html.lx-dark .lx-uc-tabs, html.lx-dark .lx-auth-tabs { border-color: #34364a; }

/* 深色切换按钮 */
.lx-dark-toggle { border: 0; background: none; cursor: pointer; font-size: 17px; padding: 4px; line-height: 1; }
.lx-dark-toggle .ico-sun { display: none; }
html.lx-dark .lx-dark-toggle .ico-moon { display: none; }
html.lx-dark .lx-dark-toggle .ico-sun { display: inline; }

/* ================= UI 精修 v1.0.5 ================= */
/* 头像：渐变描边光环 */
.lx-avatar, .lx-avatar-sm { border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(108,92,231,.35); object-fit: cover; }
.lx-avatar-wrap { position: relative; display: inline-block; cursor: pointer; border-radius: 50%; }
.lx-avatar-wrap .lx-avatar-mask { position: absolute; inset: 0; border-radius: 50%; background: rgba(20,18,40,.55); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: .25s; }
.lx-avatar-wrap:hover .lx-avatar-mask { opacity: 1; }

/* 卡片与按钮动效 */
.lx-card { transition: transform .25s ease, box-shadow .25s ease; }
.lx-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(108,92,231,.15); }
.lx-card-title a { transition: color .2s; }
.lx-card-title a:hover { color: var(--lx-primary); }
.lx-btn-primary { box-shadow: 0 4px 14px rgba(108,92,231,.35); transition: .22s; }
.lx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(108,92,231,.45); filter: brightness(1.06); }

/* 区块标题：查看全部 */
.lx-section-title { justify-content: space-between; }
.lx-section-title .lx-st-left { display: flex; align-items: center; gap: 8px; }
.lx-more { font-size: 13px; font-weight: 400; color: var(--lx-muted); transition: .2s; }
.lx-more:hover { color: var(--lx-primary); transform: translateX(2px); }

/* 全局质感 */
::selection { background: var(--lx-primary); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(#8e7cf3, #5b8def); border-radius: 6px; border: 2px solid transparent; background-clip: content-box; }
html.lx-dark ::-webkit-scrollbar-thumb { background: linear-gradient(#4a4470, #33507a); border-radius: 6px; border: 2px solid transparent; background-clip: content-box; }
.lx-vip-badge { border-radius: 10px; padding: 1px 9px; color: #fff; font-size: 11px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.lx-quick a { border: 1px solid rgba(108,92,231,.06); }
html.lx-dark .lx-quick a { border-color: #34364a; }

/* ================= 用户中心 v2（子比式仪表盘） ================= */
.lx-uc.lx-uc3 { display: block; background: none; box-shadow: none; padding: 0; border-radius: 0; }
.lx-uc-hero { background: var(--lx-card); border-radius: 18px; box-shadow: var(--lx-shadow); margin-bottom: 16px; }
.lx-uc-hero-in { display: flex; align-items: center; gap: 20px; padding: 22px 26px; }
.lx-uc-hero .lx-avatar-wrap { position: relative; flex: none; border: 3px solid #f0edfb; border-radius: 50%; box-shadow: 0 4px 14px rgba(108,92,231,.18); }
.lx-uc-meta { flex: 1; min-width: 0; }
.lx-uc-meta h2 { margin: 0 0 2px; font-size: 19px; color: var(--lx-text); }
.lx-uc-meta p { font-size: 12px; color: var(--lx-muted); margin: 0 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-uc-hero-stats { display: flex; gap: 28px; flex: none; }
.lx-uc-hero-stats span { text-align: center; min-width: 46px; }
.lx-uc-hero-stats i { display: block; font-style: normal; font-size: 12px; color: var(--lx-muted); margin-bottom: 3px; white-space: nowrap; }
.lx-uc-hero-stats b { display: block; font-size: 18px; color: var(--lx-text); line-height: 1.2; font-weight: 700; }
/* 用户设置：封面背景 / 加入天数 / 打赏 */
.lx-uc-hero { position: relative; background-size: cover; background-position: center; }
.lx-uc-hero.has-cover { min-height: 150px; }
.lx-uc-hero.has-cover .lx-uc-hero-in { background: rgba(255,255,255,.78); border-radius: 18px; backdrop-filter: blur(6px); }
.lx-cover-btn { position: absolute; right: 14px; top: 12px; z-index: 2; font-size: 12px; color: #fff; background: rgba(20,18,40,.45); border-radius: 20px; padding: 5px 12px; cursor: pointer; transition: .2s; }
.lx-cover-btn:hover { background: rgba(20,18,40,.68); }
.lx-uc-join { display: flex; align-items: center; gap: 10px; }
.lx-uc-loc { color: var(--lx-primary); }
.lx-act-reward { color: #f59f00; }
.lx-rw-mask { display: none; position: fixed; inset: 0; background: rgba(15,13,35,.55); z-index: 9999; }
.lx-rw-box { width: 340px; max-width: 92vw; margin: 12vh auto; background: var(--lx-card, #fff); border-radius: 16px; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.lx-rw-box h4 { margin: 0 0 14px; font-size: 16px; color: var(--lx-text); }
.lx-rw-amts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.lx-rw-amt { flex: 1; border: 1px solid var(--lx-border, #e5e6eb); background: var(--lx-bg, #f7f8fa); color: var(--lx-text); border-radius: 8px; padding: 7px 0; cursor: pointer; font-size: 13px; }
.lx-rw-amt.on { border-color: #f59f00; color: #f59f00; background: #fff8ec; font-weight: 700; }
.lx-rw-custom { font-size: 13px; color: var(--lx-text); margin: 0 0 6px; }
.lx-rw-custom input { width: 90px; padding: 6px 8px; border: 1px solid var(--lx-border, #e5e6eb); border-radius: 6px; background: var(--lx-bg, #f7f8fa); color: inherit; }
.lx-rw-tip { font-size: 12px; color: var(--lx-muted); margin: 0 0 14px; }
.lx-rw-btns { display: flex; gap: 10px; justify-content: flex-end; }
.lx-uc3 .lx-uc-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: var(--lx-card); border: 0; border-radius: 16px; padding: 10px 12px; box-shadow: var(--lx-shadow); margin-bottom: 16px; overflow: visible; }
.lx-uc3 .lx-uc-tabs button { border: 0; background: none; padding: 9px 16px; border-radius: 10px; font-size: 14px; color: var(--lx-text); cursor: pointer; transition: .2s; white-space: nowrap; }
.lx-uc3 .lx-uc-tabs button:hover { background: #f2efff; }
.lx-uc3 .lx-uc-tabs button.active { background: var(--lx-gradient); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(108,92,231,.35); }
.lx-tab-badge { background: #ff5b5b; color: #fff; font-size: 11px; font-style: normal; border-radius: 10px; padding: 0 7px; margin-left: 6px; line-height: 18px; display: inline-block; }
.lx-uc-tab-vip { margin-left: auto; padding: 8px 18px; border-radius: 10px; background: linear-gradient(90deg, #f6d365, #fda085); color: #5b3a00; font-weight: 700; font-size: 14px; text-decoration: none; transition: .2s; white-space: nowrap; }
.lx-uc-tab-vip:hover { filter: brightness(1.05); transform: translateY(-1px); }
.lx-uc-main { background: var(--lx-card); border-radius: 18px; padding: 24px; box-shadow: var(--lx-shadow); min-height: 500px; }
.lx-uc-h3 { position: relative; padding-left: 12px; margin: 0 0 14px; font-size: 16px; }
.lx-uc-h3::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 4px; border-radius: 2px; background: var(--lx-gradient); }
.lx-pts-act { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }
.lx-pts-act-item { flex: 1 1 320px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: var(--lx-bg-card, #fff); border: 1px dashed var(--lx-border, #e5e6eb); border-radius: var(--lx-radius, 10px); padding: 12px 14px; font-size: 13px; }
.lx-pts-act-item b { font-size: 14px; }
.lx-pts-act-item input { width: 120px; padding: 6px 10px; border: 1px solid var(--lx-border, #e5e6eb); border-radius: 6px; background: var(--lx-bg, #f7f8fa); color: inherit; font-size: 13px; }
.lx-pts-act-item em { font-style: normal; color: var(--lx-primary); font-weight: 600; }
.lx-uc-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px; }
.lx-uc-card { transition: .2s; }
.lx-uc-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(108,92,231,.14); }
.lx-uc-card { border-radius: 14px; padding: 16px 10px; text-align: center; background: linear-gradient(160deg, #f5f3ff, #eef4ff); }
.lx-uc-card:nth-child(2) { background: linear-gradient(160deg, #fff4ec, #ffeef6); }
.lx-uc-card:nth-child(3) { background: linear-gradient(160deg, #e9fbf3, #eef9ff); }
.lx-uc-card:nth-child(4) { background: linear-gradient(160deg, #fffbe8, #fff2e0); }
.lx-uc-card:nth-child(5) { background: linear-gradient(160deg, #eef7ff, #e6f9f4); }
.lx-uc-card i { font-size: 22px; font-style: normal; display: block; }
.lx-uc-card b { font-size: 22px; display: block; margin: 2px 0; }
.lx-uc-card span { font-size: 12px; color: var(--lx-muted); }
.lx-uc-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.lx-uc-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: 14px; color: #fff; }
.lx-uc-banner.b-checkin { background: linear-gradient(120deg, #11998e, #38ef7d); }
.lx-uc-banner.b-vip { background: linear-gradient(120deg, #8e54e9, #4776e6); }
.lx-uc-banner h4 { margin: 0 0 3px; font-size: 15px; }
.lx-uc-banner p { margin: 0; font-size: 12px; opacity: .92; }
.lx-uc-banner > div { flex: 1; min-width: 0; }
.lx-uc-banner .lx-btn { background: #fff; color: var(--lx-text); flex-shrink: 0; white-space: nowrap; }
.lx-uc-svc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 24px; }
.lx-uc-svc a, .lx-uc-svc button { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 15px 6px 13px; border: 0; border-radius: 14px; background: var(--lx-card, #fff); box-shadow: 0 2px 8px rgba(30,30,60,.06); cursor: pointer; font-size: 12px; color: var(--lx-text, #333); text-decoration: none; transition: .2s; }
.lx-uc-svc a:hover, .lx-uc-svc button:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(108,92,231,.16); color: var(--lx-primary, #6a5bd0); }
.lx-uc-svc i { font-style: normal; font-size: 21px; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #f3f0ff, #e8f1ff); }
.lx-uc-svc span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-uc-recent { list-style: none; margin: 0; padding: 0; }
.lx-uc-recent li { display: grid; grid-template-columns: 1fr 70px 70px 90px; gap: 8px; padding: 10px 0; border-bottom: 1px dashed #e8e6f2; font-size: 13px; align-items: center; }
.lx-uc-recent em { font-style: normal; }
.lx-muted { color: var(--lx-muted); font-size: 14px; }
html.lx-dark .lx-uc3 .lx-uc-tabs button:hover { background: #2e2a49; }
html.lx-dark .lx-uc-card { background: #262837; }
html.lx-dark .lx-uc-recent li { border-color: #34364a; }
html.lx-dark .lx-uc-svc a, html.lx-dark .lx-uc-svc button { background: #262837; box-shadow: none; }
html.lx-dark .lx-uc-svc i { background: #2e2a49; }
@media (max-width: 960px) {
  .lx-uc-hero-in { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .lx-uc-hero .lx-avatar-lg { width: 64px; height: 64px; }
  .lx-uc-meta { flex-basis: calc(100% - 92px); }
  .lx-uc-meta h2 { font-size: 17px; }
  .lx-uc-hero-stats { width: 100%; justify-content: space-between; gap: 0; background: rgba(108,92,231,.06); border-radius: 12px; padding: 12px 8px; }
  .lx-uc-hero-stats span { min-width: 0; }
  .lx-uc-hero-stats i { font-size: 11px; }
  .lx-uc-hero-stats b { font-size: 15px; }
  html.lx-dark .lx-uc-hero-stats { background: rgba(168,160,255,.08); }
  .lx-uc3 .lx-uc-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
  .lx-uc3 .lx-uc-tabs::-webkit-scrollbar { display: none; }
  .lx-uc-tab-vip { margin-left: 6px; }
  .lx-uc-cards { grid-template-columns: repeat(2, 1fr); }
  .lx-uc-svc { grid-template-columns: repeat(4, 1fr); }
  .lx-uc-banners { grid-template-columns: 1fr; }
  .lx-uc-banner { flex-wrap: wrap; }
  .lx-uc-recent { overflow-x: auto; }
  .lx-uc-recent li { min-width: 320px; }
  .lx-uc-main { padding: 16px; min-height: 0; }
}
@media (max-width: 400px) {
  .lx-uc-svc { grid-template-columns: repeat(3, 1fr); }
}

/* ================= 移动端底部导航与适配 ================= */
.lx-bottom-nav { display: none; }
@media (max-width: 760px) {
  .lx-bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
    border-top: 1px solid #eee9f7; padding: 6px 0 max(6px, env(safe-area-inset-bottom));
  }
  html.lx-dark .lx-bottom-nav { background: rgba(30,31,42,.96); border-color: #34364a; }
  .lx-bottom-nav a { flex: 1; text-align: center; color: var(--lx-muted); }
  .lx-bottom-nav a:hover, .lx-bottom-nav a:active { color: var(--lx-primary); }
  .lx-bottom-nav i { display: block; font-size: 20px; font-style: normal; line-height: 1.2; }
  .lx-bottom-nav span { font-size: 11px; }
  .lx-footer { padding-bottom: 76px; }
  /* 表格横向滚动 */
  .lx-uc-pane, .lx-article { overflow-x: auto; }
  .lx-table { min-width: 560px; }
  /* 弹窗全屏化 */
  .lx-modal-box { width: 92vw; max-width: 92vw; padding: 18px; }
  /* 首页与文章 */
  .lx-hero-stats { gap: 14px; }
  .lx-hero-search button { padding: 9px 16px; }
  .lx-article h1, .lx-article-title { font-size: 20px; }
  .lx-card-thumb { height: 130px; }
  .lx-quick { gap: 8px; }
  .lx-vip-cards { grid-template-columns: 1fr 1fr; }
  .lx-vip-card { padding: 18px 12px; }
}
@media (max-width: 400px) {
  .lx-vip-cards { grid-template-columns: 1fr; }
}

/* ================= 动效增强 v1.1.0 ================= */
html { scroll-behavior: smooth; }
.lx-btn, .lx-quick a, .lx-card a, .lx-bottom-nav a { -webkit-tap-highlight-color: transparent; }
.lx-btn:active, .lx-quick a:active, .lx-bottom-nav a:active { transform: scale(.94); transition: transform .08s; }

/* 卡片/侧栏滚动入场（仅在 JS 可用时隐藏，防止 JS 失败内容不可见） */
.lx-js .lx-cards .lx-card, .lx-js .lx-sidebar .lx-widget { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.lx-js .lx-cards .lx-card.lx-in, .lx-js .lx-sidebar .lx-widget.lx-in { opacity: 1; transform: none; }

/* 标签页切换动画 */
@keyframes lxPaneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lx-uc-pane.active, .lx-auth-pane.active { animation: lxPaneIn .28s ease; }

/* 点击波纹 */
.lx-ripple { position: relative; overflow: hidden; }
.lx-ripple-wave { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: lxWave .55s ease-out forwards; pointer-events: none; }
.lx-ripple-dark .lx-ripple-wave { background: rgba(108,92,231,.25); }
@keyframes lxWave { to { transform: scale(3); opacity: 0; } }

/* 快捷入口图标弹跳 */
.lx-quick a:hover .qi { animation: lxBounce .55s ease; }
@keyframes lxBounce { 30% { transform: translateY(-7px) scale(1.15); } 55% { transform: translateY(0) scale(.95); } 75% { transform: translateY(-3px); } 100% { transform: none; } }

/* 按钮加载态 */
.lx-loading { pointer-events: none; opacity: .7; }
.lx-loading::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 6px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: lxSpin .6s linear infinite; vertical-align: -2px; }
@keyframes lxSpin { to { transform: rotate(360deg); } }

/* Toast 弹入 */
@keyframes lxToastIn { from { opacity: 0; transform: translate(-50%, 16px) scale(.85); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }

/* ================= 美化登录页 ================= */
body.page-template-login .lx-header, body.page-template-login .lx-footer, body.page-template-login .lx-bottom-nav { display: none; }
body.page-template-login .lx-main { max-width: none; padding: 0; margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef0ff 0%, #f7f3ff 50%, #eaf6ff 100%); }
html.lx-dark body.page-template-login .lx-main { background: linear-gradient(135deg, #171822, #1d1b2e 55%, #14202e); }
.lx-login-hero { display: grid; grid-template-columns: 1.1fr 1fr; width: min(980px, 94vw); background: var(--lx-card); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 70px rgba(80, 70, 180, .22); animation: lxHeroIn .55s cubic-bezier(.22, 1, .36, 1); }
@keyframes lxHeroIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.lx-login-brand { position: relative; background: linear-gradient(150deg, #6c5ce7, #5f4fd8 45%, #0984e3); color: #fff; padding: 46px 40px; display: flex; align-items: center; overflow: hidden; }
.lx-login-deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.lx-login-deco.d1 { width: 260px; height: 260px; right: -80px; top: -80px; animation: lxFloat 7s ease-in-out infinite; }
.lx-login-deco.d2 { width: 180px; height: 180px; left: -60px; bottom: -60px; background: rgba(255,255,255,.08); animation: lxFloat 9s ease-in-out infinite reverse; }
@keyframes lxFloat { 50% { transform: translateY(-14px); } }
.lx-login-brand-in { position: relative; z-index: 1; }
.lx-login-logo { height: 46px; margin-bottom: 14px; }
.lx-login-logo-txt { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 4px; border: 2px solid rgba(255,255,255,.7); border-radius: 12px; padding: 6px 16px; margin-bottom: 14px; }
.lx-login-brand h2 { margin: 0 0 6px; font-size: 24px; }
.lx-login-slogan { margin: 0 0 22px; opacity: .85; font-size: 14px; }
.lx-login-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lx-login-feats li { font-size: 14px; display: flex; align-items: center; gap: 10px; opacity: .95; }
.lx-login-feats i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; }
.lx-login-card { padding: 40px 42px; display: flex; align-items: center; }
.lx-auth-card-naked { box-shadow: none; border-radius: 0; padding: 0; width: 100%; background: transparent; }
.lx-login-welcome { margin: 0 0 18px; font-size: 22px; }
.lx-login-welcome span { display: inline-block; animation: lxBounce 1.6s ease infinite; }
.lx-login-card .lx-fi { position: relative; margin: 0 0 14px; }
.lx-login-card .lx-fi i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 15px; opacity: .55; z-index: 1; }
.lx-login-card .lx-fi input { width: 100%; padding: 12px 14px 12px 40px; border: 1.5px solid #e5e1f5; border-radius: 12px; font-size: 14px; background: #faf9ff; transition: .2s; box-sizing: border-box; }
.lx-login-card .lx-fi input:focus { outline: none; border-color: var(--lx-primary); background: #fff; box-shadow: 0 0 0 3px rgba(108,92,231,.14); }
.lx-login-card .lx-fi .lx-code-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--lx-primary); font-size: 13px; padding: 8px 10px; cursor: pointer; }
.lx-login-card .lx-fi:has(.lx-code-btn) input { padding-right: 108px; }
html.lx-dark .lx-login-card .lx-fi input { background: #22232f; border-color: #3a3c52; color: var(--lx-text); }
html.lx-dark .lx-login-card .lx-fi input:focus { background: #262837; }
.lx-login-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin: 0 0 14px; color: var(--lx-muted); }
.lx-login-row a { color: var(--lx-primary); }
.lx-login-btn { margin-top: 4px; padding: 12px; font-size: 15px; border-radius: 12px; }
.lx-login-card .lx-auth-msg { margin-top: 12px; }
@media (max-width: 760px) {
  .lx-login-hero { grid-template-columns: 1fr; width: min(420px, 92vw); }
  .lx-login-brand { display: none; }
  .lx-login-card { padding: 28px 22px; }
}

/* 图片渐显 */
.lx-slide, .lx-slide-side { opacity: 1; }
.lx-card-thumb img { opacity: 0; transition: opacity .4s; }
.lx-card-thumb img[src] { opacity: 1; }

/* ================= v1.2.0 钱包 / 商城 / 优惠券 / 签到日历 / 互动 ================= */
.lx-btn-ghost { background: rgba(255,255,255,.22); color: #fff; }
.lx-btn-ghost:hover { background: rgba(255,255,255,.34); }
.lx-uc-h4 { margin: 22px 0 10px; font-size: 15px; color: var(--lx-text); }

/* ---- 钱包 ---- */
.lx-wallet-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--lx-gradient); color: #fff; border-radius: var(--lx-radius); padding: 20px 22px; box-shadow: var(--lx-shadow); }
.lx-wallet-bal span { display: block; font-size: 13px; opacity: .85; }
.lx-wallet-bal b { font-size: 30px; font-weight: 800; letter-spacing: 1px; }
.lx-wallet-top .lx-btn-primary { background: #fff; color: var(--lx-primary); }
.lx-withdraw-form { margin-top: 16px; }
.lx-wd-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lx-wd-row input { flex: 1; min-width: 160px; padding: 10px 12px; border: 1.5px solid #e5e1f5; border-radius: 10px; font-size: 14px; background: var(--lx-card); color: var(--lx-text); box-sizing: border-box; }
.lx-wd-row input:focus { outline: none; border-color: var(--lx-primary); }
.lx-wd-tip { font-size: 12px; margin: 8px 0 0; }
.lx-wd-pending { color: #e67e22; font-style: normal; }
.lx-wd-paid { color: #27ae60; font-style: normal; }
.lx-wd-rejected { color: #e74c3c; font-style: normal; }

/* ---- 充值弹窗 ---- */
.lx-rc-quick { display: flex; gap: 8px; margin: 6px 0 12px; flex-wrap: wrap; }
.lx-rc-quick .lx-btn { background: #f1eefe; color: var(--lx-primary); }
.lx-rc-input input { width: 100%; padding: 11px 14px; border: 1.5px solid #e5e1f5; border-radius: 10px; font-size: 15px; box-sizing: border-box; background: var(--lx-card); color: var(--lx-text); }
.lx-rc-note { font-size: 13px; color: var(--lx-muted); margin: 6px 0 4px; }
.lx-rc-rules { display: flex; gap: 8px; margin: -2px 0 10px; flex-wrap: wrap; }
.lx-rc-rule { border: 1.5px solid #e5e1f5; background: #f1eefe; color: var(--lx-primary); border-radius: 8px; padding: 6px 12px; font-size: 13px; cursor: pointer; transition: .2s; }
.lx-rc-rule:hover { border-color: var(--lx-primary); }
.lx-rc-rule.on { border-color: var(--lx-primary); box-shadow: inset 0 0 0 1.5px var(--lx-primary); font-weight: 600; }
.lx-rc-gift-hint { color: #e67e22; font-size: 13px; margin: -4px 0 10px; }
.lx-rc-gift-note { font-size: 12px; color: var(--lx-muted); margin: 10px 0 0; }
.lx-wallet-gift { font-style: normal; font-size: 13px; opacity: .9; margin-left: 6px; }
html.lx-dark .lx-rc-rule { background: #2e2a49; color: var(--lx-primary-2); border-color: #34364a; }
html.lx-dark .lx-rc-rule.on { border-color: var(--lx-primary-2); box-shadow: inset 0 0 0 1.5px var(--lx-primary-2); }

/* ---- 积分商城 ---- */
.lx-mall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.lx-mall-item { background: var(--lx-card); border: 1px solid #efeaff; border-radius: var(--lx-radius); padding: 16px 14px; text-align: center; transition: .2s; }
.lx-mall-item:hover { transform: translateY(-3px); box-shadow: var(--lx-shadow); }
.lx-mall-item h4 { margin: 0 0 8px; font-size: 15px; }
.lx-mall-cost b { font-size: 22px; color: #f39c12; font-weight: 800; }
.lx-mall-type { font-size: 12px; color: var(--lx-muted); margin: 4px 0 12px; }

/* ---- 优惠券 ---- */
.lx-coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.lx-coupon { display: flex; align-items: center; gap: 12px; background: var(--lx-card); border: 1px dashed var(--lx-primary-2); border-radius: var(--lx-radius); padding: 14px 16px; position: relative; overflow: hidden; }
.lx-coupon::before { content: ""; position: absolute; left: 84px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--lx-bg); box-shadow: 0 58px 0 var(--lx-bg); }
.lx-coupon.off { border-color: #d5d9e0; filter: grayscale(.6); opacity: .75; }
.lx-cp-val { font-size: 13px; color: var(--lx-primary); font-weight: 700; min-width: 58px; text-align: center; }
.lx-cp-val b { font-size: 26px; }
.lx-cp-info { flex: 1; font-size: 12px; color: var(--lx-muted); }
.lx-cp-info p { margin: 0 0 2px; font-size: 13px; color: var(--lx-text); }
.lx-cp-act .lx-btn-mini { background: var(--lx-gradient); color: #fff; }
.lx-cp-act .lx-btn.disabled { background: #d5d9e0; color: #8395a7; cursor: not-allowed; }
.lx-cp-code { font-style: normal; font-size: 12px; background: #f1eefe; color: var(--lx-primary); border-radius: 6px; padding: 4px 8px; }

/* ---- 签到日历 ---- */
.lx-modal-narrow { max-width: 340px; }
.lx-cal-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; }
.lx-cal-head b { font-size: 16px; }
.lx-cal-stats { display: flex; gap: 14px; font-size: 12px; color: var(--lx-muted); margin-bottom: 10px; flex-wrap: wrap; }
.lx-cal-stats b { color: var(--lx-primary); }
.lx-cal-week, .lx-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.lx-cal-week span { text-align: center; font-size: 12px; color: var(--lx-muted); padding: 4px 0; }
.lx-cal-day { text-align: center; padding: 7px 0; border-radius: 8px; font-size: 13px; color: var(--lx-text); }
.lx-cal-day.on { background: var(--lx-gradient); color: #fff; font-weight: 700; }
.lx-cal-day.today { outline: 2px solid var(--lx-primary-2); }
.lx-cal-blank { display: block; }

/* ---- 文章互动条 ---- */
.lx-post-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding: 16px; background: var(--lx-bg); border-radius: var(--lx-radius); }
.lx-act { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #e5e1f5; background: var(--lx-card); color: var(--lx-text); border-radius: 999px; padding: 8px 18px; font-size: 14px; cursor: pointer; transition: .2s; }
.lx-act:hover { border-color: var(--lx-primary); color: var(--lx-primary); transform: translateY(-2px); }
.lx-act.active { background: var(--lx-gradient); border-color: transparent; color: #fff; }
.lx-act-rate { cursor: default; gap: 8px; }
.lx-act-rate:hover { transform: none; border-color: #e5e1f5; color: var(--lx-text); }
.lx-stars { display: inline-flex; cursor: pointer; }
.lx-stars i { font-style: normal; font-size: 20px; color: #d9dbe3; transition: color .12s; }
.lx-stars i.on { color: #f9a825; }
.lx-stars:hover i { color: #f9a825; }
.lx-stars i:hover ~ i { color: #d9dbe3; }
.lx-rate-avg { color: #f39c12; font-size: 15px; }
.lx-rate-votes { font-size: 12px; color: var(--lx-muted); }
@keyframes lxPop { 40% { transform: scale(1.25); } }
.lx-act.active b { animation: lxPop .35s ease; }

/* ---- 侧栏热榜 ---- */
.lx-hot-rank li { display: flex; align-items: center; gap: 8px; }
.lx-hot-rank a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-hot-rank span { font-size: 12px; color: var(--lx-muted); flex-shrink: 0; }
.lx-rank { font-style: normal; width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 6px; font-size: 12px; background: #eef0f6; color: var(--lx-muted); flex-shrink: 0; }
.lx-rank.r1 { background: #ff6b6b; color: #fff; }
.lx-rank.r2 { background: #ffa502; color: #fff; }
.lx-rank.r3 { background: #feca57; color: #7a5c00; }

/* ---- 深色模式 ---- */
html.lx-dark .lx-wd-row input, html.lx-dark .lx-rc-input input { background: #22232f; border-color: #3a3c52; color: var(--lx-text); }
html.lx-dark .lx-mall-item, html.lx-dark .lx-coupon, html.lx-dark .lx-act { background: var(--lx-card); border-color: #3a3c52; }
html.lx-dark .lx-coupon::before { background: var(--lx-card); }
html.lx-dark .lx-post-actions { background: #22232f; }
html.lx-dark .lx-act:hover { color: var(--lx-primary-2); border-color: var(--lx-primary-2); }
html.lx-dark .lx-rank { background: #2c2e3e; color: #aab; }
html.lx-dark .lx-stars i { color: #4a4c5e; }
html.lx-dark .lx-stars i.on, html.lx-dark .lx-stars:hover i { color: #f9a825; }
html.lx-dark .lx-stars i:hover ~ i { color: #4a4c5e; }
html.lx-dark .lx-rc-quick .lx-btn { background: #2c2e3e; }

/* ---- 移动端 ---- */
@media (max-width: 760px) {
  .lx-wallet-top { padding: 16px; }
  .lx-wallet-bal b { font-size: 24px; }
  .lx-mall-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lx-coupon-grid { grid-template-columns: 1fr; }
  .lx-post-actions { gap: 8px; padding: 12px; }
  .lx-act { padding: 7px 14px; font-size: 13px; }
  .lx-modal-narrow { max-width: 94vw; }
}

/* ================= Wave D2：搜索多类型 / 新模板 / 小工具 / 底部Tab角标 ================= */
/* ---- 搜索类型 Tab ---- */
.lx-sx-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 16px; }
.lx-sx-tab { padding: 6px 16px; border-radius: 999px; background: var(--lx-card); color: var(--lx-muted); font-size: 13px; box-shadow: var(--lx-shadow); transition: .2s; }
.lx-sx-tab:hover { color: var(--lx-primary); transform: translateY(-1px); }
.lx-sx-tab.on { background: var(--lx-gradient); color: #fff; }
/* ---- 搜索结果行 ---- */
.lx-sres-list { display: grid; gap: 12px; }
.lx-sres { display: flex; gap: 14px; background: var(--lx-card); border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); padding: 12px; transition: transform .2s; }
.lx-sres:hover { transform: translateY(-2px); }
.lx-sres-thumb { flex: none; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; }
.lx-sres-thumb img, .lx-sres-thumb .lx-noimg { width: 100%; height: 100%; object-fit: cover; font-size: 16px; }
.lx-sres-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lx-sres-title { font-size: 15px; font-weight: 600; color: var(--lx-text); }
.lx-sres:hover .lx-sres-title { color: var(--lx-primary); }
.lx-sres-ex { font-size: 13px; color: var(--lx-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-sres-meta { font-size: 12px; color: var(--lx-muted); display: flex; gap: 14px; }
/* ---- 类型徽章（搜索/时间线共用） ---- */
.lx-type-badge { font-style: normal; font-size: 11px; border-radius: 6px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; background: #eee9ff; color: var(--lx-primary); }
.lx-type-badge.t-post { background: #eee9ff; color: #6c5ce7; }
.lx-type-badge.t-lx_resource { background: #e1f7ee; color: #00a876; }
.lx-type-badge.t-lx_topic { background: #e3f1ff; color: #0984e3; }
.lx-type-badge.t-lx_bbs { background: #fff3e0; color: #e17055; }
.lx-type-badge.t-lx_product { background: #ffe9ec; color: #e74c3c; }
/* ---- 最新文章时间线 ---- */
.lx-tl { position: relative; padding-left: 18px; }
.lx-tl::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--lx-primary-2), #e3f1ff); border-radius: 2px; }
.lx-tl-day { position: relative; margin-bottom: 22px; }
.lx-tl-day::before { content: ""; position: absolute; left: -17px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--lx-card); border: 3px solid var(--lx-primary); }
.lx-tl-date { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 8px; }
.lx-tl-date i { display: none; }
.lx-tl-count { font-size: 12px; color: var(--lx-muted); font-weight: 400; }
.lx-tl-list { list-style: none; margin: 0; padding: 0; background: var(--lx-card); border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); padding: 6px 16px; }
.lx-tl-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #eef0f6; font-size: 14px; }
.lx-tl-list li:last-child { border-bottom: 0; }
.lx-tl-list a { color: var(--lx-text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-tl-list a:hover { color: var(--lx-primary); }
.lx-tl-time { font-size: 12px; color: var(--lx-muted); flex: none; font-variant-numeric: tabular-nums; }
.lx-tl-meta { font-size: 12px; color: var(--lx-muted); flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* ---- 站点档案 ---- */
.lx-arch-year { border-bottom: 1px dashed #eef0f6; }
.lx-arch-year:last-child { border-bottom: 0; }
.lx-arch-year summary { display: flex; align-items: center; cursor: pointer; padding: 8px 0; font-size: 15px; list-style: none; }
.lx-arch-year summary::-webkit-details-marker { display: none; }
.lx-arch-year summary i { margin-left: auto; font-style: normal; color: var(--lx-muted); transition: transform .2s; }
.lx-arch-year[open] summary i { transform: rotate(180deg); }
.lx-arch-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; padding: 4px 0 12px; }
.lx-arch-m { display: flex; justify-content: space-between; align-items: center; background: var(--lx-bg); border-radius: 9px; padding: 7px 12px; font-size: 13px; color: var(--lx-text); transition: .2s; }
.lx-arch-m:hover { background: #eee9ff; color: var(--lx-primary); }
.lx-arch-m span { font-size: 12px; color: var(--lx-muted); }
/* ---- 友情链接 ---- */
.lx-linkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.lx-linkcard { display: flex; align-items: center; gap: 12px; background: var(--lx-card); border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); padding: 14px 16px; transition: .2s; }
.lx-linkcard:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(108,92,231,.18); }
.lx-linkcard img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; }
.lx-linkmark { width: 40px; height: 40px; border-radius: 10px; background: var(--lx-gradient); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-style: normal; flex: none; }
.lx-linkcard-in { min-width: 0; }
.lx-linkcard-in b { display: block; font-size: 14px; color: var(--lx-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-linkcard-in em { display: block; font-style: normal; font-size: 12px; color: var(--lx-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-linkform .lx-lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.lx-linkform label { font-size: 13px; color: var(--lx-muted); display: block; }
.lx-linkform input { width: 100%; margin-top: 4px; padding: 9px 12px; border: 1.5px solid #e5e1f5; border-radius: 10px; font-size: 14px; background: var(--lx-card); color: var(--lx-text); box-sizing: border-box; }
.lx-linkform input:focus { outline: none; border-color: var(--lx-primary); }
/* ---- 外链跳转中转页 ---- */
.lx-go { display: flex; justify-content: center; padding: 40px 0; }
.lx-go-box { max-width: 560px; width: 100%; background: var(--lx-card); border-radius: 18px; box-shadow: var(--lx-shadow); padding: 34px 30px; text-align: center; }
.lx-go-ico { font-size: 42px; margin-bottom: 6px; }
.lx-go-box h2 { margin: 0 0 8px; }
.lx-go-url { font-size: 13px; color: var(--lx-muted); background: var(--lx-bg); border-radius: 9px; padding: 9px 12px; word-break: break-all; margin: 12px 0; }
.lx-go-cd b { color: var(--lx-primary); font-size: 18px; }
.lx-go-box .lx-btn { margin: 4px 6px; }
/* ---- 标签云小工具 ---- */
.lx-tagcloud { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.lx-tagcloud a { color: var(--lx-muted); transition: .2s; }
.lx-tagcloud a:hover { color: var(--lx-primary); }
/* ---- 移动端底部 Tab 消息角标 ---- */
.lx-bottom-nav i { position: relative; }
.lx-bnav-badge { position: absolute; top: -4px; right: -12px; font-style: normal; background: #e74c3c; color: #fff; font-size: 10px; line-height: 1; border-radius: 9px; padding: 2px 5px; min-width: 15px; text-align: center; }
/* ---- 深色模式（Wave D2 新增组件） ---- */
html.lx-dark .lx-sx-tab { background: var(--lx-card); }
html.lx-dark .lx-sres, html.lx-dark .lx-tl-list, html.lx-dark .lx-linkcard, html.lx-dark .lx-go-box { background: var(--lx-card); }
html.lx-dark .lx-tl-list li, html.lx-dark .lx-arch-year { border-color: #34364a; }
html.lx-dark .lx-arch-m { background: #262837; }
html.lx-dark .lx-arch-m:hover { background: #2e2a49; color: var(--lx-primary-2); }
html.lx-dark .lx-type-badge.t-post { background: #2e2a49; color: var(--lx-primary-2); }
html.lx-dark .lx-type-badge.t-lx_resource { background: #17352c; color: #63d9a6; }
html.lx-dark .lx-type-badge.t-lx_topic { background: #17304a; color: #74c0fc; }
html.lx-dark .lx-type-badge.t-lx_bbs { background: #4a3417; color: #ffc078; }
html.lx-dark .lx-type-badge.t-lx_product { background: #4a2230; color: #ffa8c5; }
html.lx-dark .lx-linkform input { background: #191a23; border-color: #34364a; color: var(--lx-text); }
html.lx-dark .lx-go-url { background: #191a23; }
html.lx-dark .lx-tl::before { background: linear-gradient(var(--lx-primary-2), #262837); }
@media (max-width: 760px) {
  .lx-sres-thumb { width: 76px; height: 58px; }
  .lx-tl-meta { display: none; }
  .lx-linkform .lx-lf-row { grid-template-columns: 1fr; }
  .lx-go-box { padding: 24px 18px; }
}

/* ================= 独立投稿页（子比式 /submit/） ================= */
.lx-sub { padding-bottom: 40px; }
.lx-sub-topbar { position: sticky; top: 62px; z-index: 90; background: var(--lx-card); box-shadow: 0 2px 10px rgba(45,52,54,.08); margin-bottom: 18px; }
.lx-sub-topbar-in { display: flex; align-items: center; gap: 14px; height: 52px; }
.lx-sub-back { color: var(--lx-muted); font-size: 14px; flex: none; }
.lx-sub-back:hover { color: var(--lx-primary); }
.lx-sub-t { font-size: 16px; color: var(--lx-text); flex: none; }
.lx-sub-top-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lx-sub-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; align-items: start; }
.lx-sub-main { min-width: 0; }
.lx-sub-side { display: grid; gap: 14px; position: sticky; top: 130px; }
.lx-sub-card { background: var(--lx-card); border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); padding: 14px 16px; }
.lx-sub-card h4 { margin: 0 0 10px; font-size: 14px; color: var(--lx-text); }
.lx-sub-card h4 i { font-style: normal; color: var(--lx-primary); margin-right: 2px; }
.lx-sub-editor { display: flex; flex-direction: column; }
.lx-sub-title { border: 0; outline: none; background: none; font-size: 24px; font-weight: 700; color: var(--lx-text); padding: 10px 4px; width: 100%; }
.lx-sub-title::placeholder { color: #b6bcc9; }
.lx-sub-divider { height: 1px; background: #eef0f6; margin: 2px 0 8px; }
/* 富文本工具栏 */
.lx-sub-tools { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; padding: 5px 2px 7px; border-bottom: 1px solid #eef0f6; margin-bottom: 6px; }
.lx-sub-tools button { border: 0; background: none; cursor: pointer; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 7px; font-size: 13px; color: var(--lx-text); line-height: 1; }
.lx-sub-tools button:hover { background: var(--lx-bg); color: var(--lx-primary); }
.lx-sub-tool-sep { width: 1px; height: 18px; background: #e5e1f5; margin: 0 6px; flex: none; }
.lx-sub-editor.lx-fs { position: fixed; inset: 0; z-index: 9999; border-radius: 0; overflow: auto; }
.lx-sub-editor.lx-fs .lx-sub-content { min-height: calc(100vh - 190px); }
.lx-sub-content { border: 0; outline: none; background: none; resize: vertical; min-height: 480px; font-size: 15px; line-height: 1.9; color: var(--lx-text); font-family: inherit; width: 100%; }
.lx-sub-foot { border-top: 1px dashed #eef0f6; padding-top: 8px; font-size: 12px; text-align: right; }
.lx-sub-input, .lx-sub-select { width: 100%; padding: 9px 12px; border: 1.5px solid #e5e1f5; border-radius: 10px; font-size: 14px; background: var(--lx-bg); color: var(--lx-text); outline: none; font-family: inherit; }
.lx-sub-input:focus, .lx-sub-select:focus { border-color: var(--lx-primary); background: var(--lx-card); }
.lx-sub-catbox { max-height: 160px; overflow-y: auto; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.lx-sub-catbox label { font-size: 13px; color: var(--lx-text); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.lx-sub-hint { font-size: 12px; margin: 0 0 10px; }
.lx-sub-btns { display: flex; gap: 10px; margin: 0; }
.lx-sub-btns .lx-btn { flex: 1; text-align: center; }
.lx-sub-draft { background: #e1f7ee; color: #00a876; }
.lx-sub-draft:hover { background: #cdefe0; }
/* 草稿箱列表 */
.lx-draft-list { max-height: 55vh; overflow-y: auto; display: grid; gap: 8px; }
.lx-draft-item { display: flex; align-items: center; gap: 8px; background: var(--lx-bg); border-radius: 10px; padding: 9px 12px; font-size: 13px; }
.lx-draft-item b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--lx-text); }
.lx-draft-item em { font-style: normal; color: var(--lx-muted); font-size: 12px; flex: none; }
.lx-draft-item a { flex: none; }
.lx-draft-del { border: 0; background: none; color: #e74c3c; cursor: pointer; font-size: 13px; flex: none; }
/* 深色模式 */
html.lx-dark .lx-sub-topbar { background: var(--lx-card); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
html.lx-dark .lx-sub-divider, html.lx-dark .lx-sub-foot { border-color: #34364a; }
html.lx-dark .lx-sub-tools { border-color: #34364a; }
html.lx-dark .lx-sub-tools button:hover { background: #22232f; }
html.lx-dark .lx-sub-tool-sep { background: #34364a; }
html.lx-dark .lx-sub-input, html.lx-dark .lx-sub-select { background: #191a23; border-color: #34364a; color: var(--lx-text); }
html.lx-dark .lx-sub-input:focus, html.lx-dark .lx-sub-select:focus { background: #22232f; border-color: var(--lx-primary); }
html.lx-dark .lx-sub-draft { background: #17352c; color: #63d9a6; }
html.lx-dark .lx-draft-item { background: #191a23; }
/* 平板/手机 */
@media (max-width: 900px) {
  .lx-sub-grid { grid-template-columns: 1fr; }
  .lx-sub-side { position: static; grid-template-columns: 1fr 1fr; }
  .lx-sub-content { min-height: 320px; }
}
@media (max-width: 760px) {
  .lx-sub-topbar { top: 56px; }
  .lx-sub-topbar-in { height: auto; flex-wrap: wrap; padding: 8px 16px; gap: 8px; }
  .lx-sub-top-acts { margin-left: 0; width: 100%; }
  .lx-sub-top-acts .lx-btn { flex: 1; }
  .lx-sub-side { grid-template-columns: 1fr; }
  .lx-sub-title { font-size: 19px; }
  .lx-sub-content { min-height: 260px; }
}
/* ---------- 投稿页新组件（子比式重构：标题计数/表情/封面/标签chips/阅读权限/付费区/侧栏/指南） ---------- */
.lx-title-row { display: flex; align-items: center; gap: 10px; }
.lx-title-row .lx-sub-title { flex: 1; min-width: 0; }
#lx-title-count { flex: none; font-size: 12px; white-space: nowrap; }
.lx-count-bad { color: #e35b5b; }
.lx-sub-edhead { display: flex; align-items: center; gap: 10px; padding: 2px 0 8px; border-bottom: 1px solid #eef0f6; margin-bottom: 6px; font-size: 12px; }
.lx-cover-row { display: flex; gap: 8px; align-items: center; }
.lx-cover-row .lx-btn { flex: none; white-space: nowrap; }
.lx-cover-row .lx-sub-input { flex: 1; min-width: 0; }
.lx-tag-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-tag-chips:empty { display: none; }
.lx-tag-chip { display: inline-flex; align-items: center; gap: 6px; background: #f0edfb; color: var(--lx-primary); border-radius: 16px; padding: 4px 6px 4px 12px; font-size: 13px; }
.lx-tag-chip button { border: 0; background: rgba(45,52,54,.08); color: inherit; width: 18px; height: 18px; border-radius: 50%; cursor: pointer; font-size: 13px; line-height: 1; padding: 0; }
.lx-tag-chip button:hover { background: #e35b5b; color: #fff; }
.lx-tag-add { display: flex; gap: 8px; margin-top: 10px; }
.lx-tag-add .lx-sub-input { flex: 1; min-width: 0; }
.lx-tag-add .lx-btn { flex: none; }
.lx-tag-quick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.lx-tag-quick-i { border: 1px dashed #d9d4ef; background: none; color: var(--lx-muted); border-radius: 12px; font-size: 12px; padding: 2px 9px; cursor: pointer; }
.lx-tag-quick-i:hover { border-color: var(--lx-primary); color: var(--lx-primary); }
.lx-side-search { margin-bottom: 8px; }
.lx-tag-list { max-height: 200px; }
.lx-perm-radios { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lx-perm-radios label { font-size: 13px; color: var(--lx-text); display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.lx-perm-radios input { accent-color: var(--lx-primary); }
.lx-paid-set { border: 1px dashed #d9d4ef; border-radius: 10px; padding: 10px 12px; margin-top: 10px; display: grid; gap: 8px; background: var(--lx-bg); }
.lx-paid-row { display: flex; align-items: center; gap: 6px; }
.lx-paid-cur { flex: none; color: var(--lx-muted); font-size: 14px; font-weight: 700; }
.lx-sw-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lx-text); cursor: pointer; }
.lx-sw-row input { accent-color: var(--lx-primary); flex: none; }
.lx-sw-row select { width: auto; margin-left: auto; }
.lx-opts-label { display: block; font-size: 12px; color: var(--lx-muted); margin: 10px 0 4px; }
.lx-emoji-panel { position: fixed; z-index: 1001; width: 260px; background: var(--lx-card); border: 1px solid #e5e1f5; border-radius: 12px; box-shadow: 0 8px 24px rgba(45,52,54,.18); padding: 8px; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.lx-emoji-panel button { border: 0; background: none; font-size: 18px; cursor: pointer; border-radius: 6px; padding: 3px 0; }
.lx-emoji-panel button:hover { background: var(--lx-bg); }
.lx-guide-box { width: 560px; }
.lx-guide-body { font-size: 13px; color: var(--lx-text); line-height: 2; }
/* 付费盒划线原价（inc/paid.php 文章 + inc/content.php 资源） */
.lx-pay-orig { display: inline-block; margin-left: 6px; color: var(--lx-muted); font-size: 12px; text-decoration: line-through; vertical-align: middle; }
/* 深色模式 */
html.lx-dark .lx-sub-edhead { border-color: #34364a; }
html.lx-dark .lx-tag-chip { background: #2a2740; color: var(--lx-primary-2); }
html.lx-dark .lx-tag-chip button { background: rgba(255,255,255,.08); }
html.lx-dark .lx-tag-quick-i { border-color: #34364a; }
html.lx-dark .lx-paid-set { background: #191a23; border-color: #34364a; }
html.lx-dark .lx-emoji-panel { background: #22232f; border-color: #34364a; }
html.lx-dark .lx-emoji-panel button:hover { background: #2c2d3d; }

/* ================= VIP 会员前台扩展（购买页/徽章/角标/对比表/FAQ） ================= */
.lx-vip-intro { max-width: 760px; margin: -12px auto 24px; color: var(--lx-muted); font-size: 14px; line-height: 1.8; }
.lx-vip-corner { position: absolute; top: -12px; right: 16px; background: linear-gradient(90deg, #ff7e5f, #feb47b); color: #fff; font-size: 12px; padding: 3px 14px; border-radius: 14px; box-shadow: 0 4px 10px rgba(255,126,95,.4); z-index: 1; }
.lx-vip-orig { font-size: 14px; color: var(--lx-muted); font-weight: 400; margin-left: 6px; }
/* 徽章：图片徽章 / 列表彩色文字徽章 */
.lx-vip-badge-img { display: inline-block; height: 18px; width: auto; vertical-align: middle; }
.lx-vip-badge-text { background: none; box-shadow: none; padding: 1px 4px; font-weight: 700; }
/* 付费内容「VIP免费」角标（资源卡片缩略图） */
.lx-vip-free-badge { position: absolute; z-index: 2; background: linear-gradient(90deg, #f6d365, #fda085); color: #5b3a00; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 8px; box-shadow: 0 3px 8px rgba(0,0,0,.18); line-height: 1.7; }
.lx-vip-free-badge img { display: block; max-height: 36px; max-width: 92px; border-radius: 6px; }
.lx-vip-free-badge.pos-top_left { top: 8px; left: 8px; }
.lx-vip-free-badge.pos-top_right { top: 34px; right: 8px; } /* 下移避开价格 ribbon（top:10px） */
.lx-vip-free-badge.pos-bottom_left { bottom: 8px; left: 8px; }
.lx-vip-free-badge.pos-bottom_right { bottom: 8px; right: 8px; }
/* 会员特权对比表 */
.lx-vip-cmp-title, .lx-vip-faq-title { font-size: 20px; margin: 36px 0 14px; color: var(--lx-text); }
.lx-vip-cmp-wrap { overflow-x: auto; }
.lx-vip-compare { min-width: 460px; max-width: 860px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: var(--lx-card); border-radius: 14px; box-shadow: var(--lx-shadow); overflow: hidden; }
.lx-vip-compare th, .lx-vip-compare td { padding: 11px 16px; font-size: 13px; text-align: center; border-bottom: 1px solid #f0f0f4; }
.lx-vip-compare th { background: var(--lx-bg); font-weight: 700; }
.lx-vip-compare td.lx-cmp-feat, .lx-vip-compare th.lx-cmp-feat { text-align: left; color: var(--lx-text); }
.lx-vip-compare tr:last-child td { border-bottom: 0; }
.lx-cmp-yes { color: #2bc386; }
.lx-cmp-no { color: var(--lx-muted); }
/* FAQ 手风琴（details/summary 纯 CSS，无 JS） */
.lx-vip-faq { max-width: 760px; margin: 0 auto; text-align: left; }
.lx-faq-item { background: var(--lx-card); border-radius: 12px; box-shadow: var(--lx-shadow); margin-bottom: 10px; overflow: hidden; }
.lx-faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--lx-text); display: flex; align-items: center; }
.lx-faq-item summary::-webkit-details-marker { display: none; }
.lx-faq-arrow { margin-left: auto; font-style: normal; color: var(--lx-muted); transition: transform .2s; }
.lx-faq-item[open] .lx-faq-arrow { transform: rotate(180deg); }
.lx-faq-item p { margin: 0; padding: 0 18px 14px; font-size: 13px; color: var(--lx-muted); line-height: 1.8; }
/* 侧栏用户卡片背景图（uc_side_bg 非空时模板输出 inline background-image） */
.lx-widget-user { background-size: cover; background-position: center; }
/* 深色模式 */
html.lx-dark .lx-vip-compare th { background: #22232f; }
html.lx-dark .lx-vip-compare th, html.lx-dark .lx-vip-compare td { border-color: #34364a; }
html.lx-dark .lx-vip-corner { color: #fff; }
/* 用户身份认证（inc/user-auth.php）：徽章 + 申请弹窗 */
.lx-auth-badge { display: inline-flex; align-items: center; gap: 2px; background: #1e80ff; color: #fff; font-size: 11px; line-height: 1; border-radius: 9px; padding: 3px 8px; vertical-align: middle; white-space: nowrap; }
.lx-auth-badge i { font-style: normal; font-weight: 700; }
.lx-auth-badge b { font-weight: 500; opacity: .92; margin-left: 3px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.lx-auth-modal-box { width: 520px; }
.lx-auth-modal-box h3 { margin: 0 0 14px; }
.lx-auth-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.lx-auth-type { display: flex; align-items: center; gap: 8px; border: 1.5px solid #e4e6ef; border-radius: 12px; padding: 11px 14px; cursor: pointer; font-size: 14px; transition: .15s; }
.lx-auth-type input { accent-color: #1e80ff; }
.lx-auth-type.on { border-color: #1e80ff; background: #f0f6ff; color: #1e80ff; font-weight: 600; }
.lx-auth-fs p { margin: 0 0 12px; }
.lx-auth-fs label { display: block; font-size: 13px; color: var(--lx-muted, #888); margin-bottom: 5px; }
.lx-auth-fs input[type=text] { width: 100%; border: 1px solid #e4e6ef; border-radius: 10px; padding: 9px 13px; font-size: 14px; outline: none; box-sizing: border-box; }
.lx-auth-fs input[type=text]:focus { border-color: #1e80ff; }
.lx-auth-desc { background: #f8f8fc; border-radius: 10px; padding: 10px 14px; font-size: 12px; color: #777; line-height: 1.9; margin-bottom: 12px; }
.lx-auth-up { margin-bottom: 14px; }
.lx-auth-up p { margin: 8px 0 0; display: flex; align-items: center; gap: 10px; }
.lx-auth-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-auth-thumb { position: relative; display: inline-block; }
.lx-auth-thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid #e4e6ef; display: block; }
.lx-auth-thumb button { position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #ff6b6b; color: #fff; font-size: 13px; line-height: 1; cursor: pointer; }
.lx-auth-status-box { background: #f0f6ff; color: #1e5bb8; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin: 0 0 10px; }
.lx-auth-status-box.warn { background: #fff1f0; color: #d4380d; }
.lx-auth-status-box.ok { background: #f0fff4; color: #237804; }
html.lx-dark .lx-auth-type { border-color: #34364a; }
html.lx-dark .lx-auth-type.on { background: #20263b; }
html.lx-dark .lx-auth-fs input[type=text] { background: #191a23; border-color: #34364a; color: var(--lx-text, #ddd); }
html.lx-dark .lx-auth-desc { background: #1d1f2b; color: #9aa; }
html.lx-dark .lx-auth-status-box { background: #20263b; }
html.lx-dark .lx-auth-status-box.warn { background: #3b2222; color: #ff9c8e; }
html.lx-dark .lx-auth-status-box.ok { background: #1d3325; color: #8ce8a8; }

/* ---------- 评论设置（inc/commentset.php）：列表折叠 / Markdown 预览 / 编辑器 ---------- */
.lx-cmt-collapse { position: relative; }
.lx-cmt-collapse.is-collapsed { max-height: 340px; overflow: hidden; }
.lx-cmt-collapse.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92)); pointer-events: none; }
html.lx-dark .lx-cmt-collapse.is-collapsed::after { background: linear-gradient(rgba(25, 26, 35, 0), rgba(25, 26, 35, 0.92)); }
.lx-cmt-expand-wrap { text-align: center; margin: 10px 0 0; }
.lx-cmt-note { text-align: center; color: #888; font-size: 14px; margin: 14px 0; }
.lx-md-bar { margin: 8px 0 0; }
.lx-md-preview { border: 1px dashed #d5d9e4; border-radius: 10px; padding: 10px 14px; margin: 8px 0 0; background: #fafbfd; min-height: 40px; line-height: 1.8; font-size: 14px; word-break: break-all; }
html.lx-dark .lx-md-preview { background: #1d1f2b; border-color: #34364a; color: var(--lx-text, #ddd); }
.lx-cmt-editor textarea { width: 100%; box-sizing: border-box; }
