/* 初映主题 · 公开个人主页（/uid/{id}/） */
.lx-uh-wrap { padding-bottom: 10px; }

/* 封面 + 资料头 */
.lx-uh-hero { position: relative; border-radius: var(--lx-radius); background: var(--lx-gradient); background-size: cover; background-position: center; box-shadow: var(--lx-shadow); overflow: hidden; }
.lx-uh-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.28)); pointer-events: none; }
.lx-uh-hero-in { position: relative; display: flex; align-items: flex-end; gap: 18px; padding: 26px 22px 20px; flex-wrap: wrap; }
.lx-uh-avatar { width: 92px; height: 92px; border-radius: 50%; border: 4px solid rgba(255,255,255,.85); background: #fff; object-fit: cover; flex: none; }
.lx-uh-id { flex: 1; min-width: 220px; color: #fff; }
.lx-uh-name { margin: 0; font-size: 22px; color: #fff; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.lx-uh-desc { margin: 4px 0 0; font-size: 14px; opacity: .92; }
.lx-uh-sub { margin: 4px 0 0; font-size: 12px; opacity: .8; }
.lx-uh-sub .lx-iploc { background: rgba(255,255,255,.22); color: #fff; }
.lx-uh-medals { margin: 6px 0 0; }
.lx-uh-medals .lx-medal-badge { box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.lx-uh-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lx-uh-actions .lx-btn { box-shadow: 0 2px 8px rgba(0,0,0,.15); }

/* 统计条 */
.lx-uh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin: 14px 0; }
.lx-uh-stats > span { background: var(--lx-card); border-radius: 12px; box-shadow: var(--lx-shadow); padding: 10px 6px; text-align: center; }
.lx-uh-stats i { display: block; font-style: normal; font-size: 12px; color: var(--lx-muted); }
.lx-uh-stats b { display: block; font-size: 18px; margin-top: 2px; }
.lx-uh-clickable { cursor: pointer; }
.lx-uh-clickable:hover b { color: var(--lx-primary); }

/* 签到卡（本人） */
.lx-uh-checkin { display: flex; align-items: center; gap: 12px; background: var(--lx-card); border-radius: 12px; box-shadow: var(--lx-shadow); padding: 12px 16px; margin-bottom: 14px; }
.lx-uh-checkin-ic { font-size: 24px; }
.lx-uh-checkin-txt { flex: 1; min-width: 0; }
.lx-uh-checkin-txt p { margin: 0; font-size: 12px; color: var(--lx-muted); }

/* Tab 栏 */
.lx-uh-tabs { display: flex; gap: 4px; border-bottom: 2px solid #eceef3; margin-bottom: 14px; overflow-x: auto; }
.lx-uh-tab { border: 0; background: none; cursor: pointer; padding: 10px 14px; font-size: 14px; color: var(--lx-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.lx-uh-tab:hover { color: var(--lx-primary); }
.lx-uh-tab.active { color: var(--lx-primary); font-weight: 600; border-bottom-color: var(--lx-primary); }

/* 面板 */
.lx-uh-panel.is-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.lx-uh-panel.is-cards > .lx-uh-empty { grid-column: 1 / -1; }
.lx-uh-empty { text-align: center; color: var(--lx-muted); padding: 26px 0; margin: 0; }
.lx-uh-more-wrap { text-align: center; margin: 16px 0 4px; }

/* 关注/粉丝行 */
.lx-uh-urow { display: flex; align-items: center; gap: 12px; background: var(--lx-card); border-radius: 12px; box-shadow: var(--lx-shadow); padding: 12px 14px; margin-bottom: 10px; }
.lx-uh-urow .lx-avatar { width: 46px; height: 46px; flex: none; }
.lx-uh-uinfo { flex: 1; min-width: 0; }
.lx-uh-uname { display: flex; align-items: center; gap: 6px; }
.lx-uh-uname b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-uh-uinfo p { margin: 2px 0 0; font-size: 12px; color: var(--lx-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-uh-uact { display: flex; gap: 6px; align-items: center; flex: none; }

/* 评论行 / 积分行 / 勋章格 */
.lx-uh-crow { background: var(--lx-card); border-radius: 12px; box-shadow: var(--lx-shadow); padding: 12px 14px; margin-bottom: 10px; }
.lx-uh-crow p { margin: 4px 0 0; font-size: 12px; }
.lx-uh-prow { display: flex; align-items: center; gap: 10px; background: var(--lx-card); border-radius: 10px; box-shadow: var(--lx-shadow); padding: 10px 14px; margin-bottom: 8px; font-size: 13px; }
.lx-uh-prow span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-uh-prow b.up { color: #2bc386; }
.lx-uh-prow b.down { color: #e74c3c; }
.lx-uh-medal { display: inline-flex; align-items: center; gap: 6px; background: #fdf6ec; border: 1px solid #f3d19e; border-radius: 10px; padding: 8px 14px; margin: 0 8px 8px 0; }
.lx-uh-medal i { font-style: normal; font-size: 20px; }
.lx-uh-medal b { font-size: 13px; color: #b8860b; }
.lx-uh-medal span { font-size: 11px; color: #999; }

/* 右侧栏 */
.lx-uh-side { display: flex; flex-direction: column; gap: 16px; }
.lx-uh-side .lx-widget { margin: 0; }
.lx-uh-side-h { margin: 0 0 10px; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.lx-uh-info { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.lx-uh-info li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #eceef3; }
.lx-uh-info li:last-child { border-bottom: 0; }
.lx-uh-info span { color: var(--lx-muted); flex: none; }
.lx-uh-info b { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.lx-uh-fansgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 10px; }
.lx-uh-fansgrid img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.lx-uh-fansgrid a:hover img { outline: 2px solid var(--lx-primary-2); }

/* 作者名链接 */
.lx-uauthor { color: inherit; }
.lx-uauthor:hover { color: var(--lx-primary); }

/* 深色模式 */
html.lx-dark .lx-uh-stats > span,
html.lx-dark .lx-uh-checkin,
html.lx-dark .lx-uh-urow,
html.lx-dark .lx-uh-crow,
html.lx-dark .lx-uh-prow { background: #262837; }
html.lx-dark .lx-uh-tabs { border-bottom-color: #34364a; }
html.lx-dark .lx-uh-info li { border-bottom-color: #34364a; }
html.lx-dark .lx-uh-medal { background: #2e2a49; border-color: #4a4422; }
html.lx-dark .lx-uh-medal b { color: #ffeaa7; }
html.lx-dark .lx-uh-panel.is-cards .lx-card { background: #262837; }

/* 移动端 */
@media (max-width: 560px) {
  .lx-uh-hero-in { padding: 18px 14px 14px; }
  .lx-uh-avatar { width: 72px; height: 72px; }
  .lx-uh-name { font-size: 18px; }
  .lx-uh-stats { grid-template-columns: repeat(3, 1fr); }
  .lx-uh-panel.is-cards { grid-template-columns: 1fr; }
}
