/* 网页端社交层：用户主页 / 关注 / 私信 弹层 */
.jh-sheet-host{position:fixed;inset:0;z-index:900;display:flex;align-items:flex-end;justify-content:center;}
.jh-sheet-host.is-hidden{display:none;}
.jh-sheet-mask{position:absolute;inset:0;background:rgba(4,8,20,.62);backdrop-filter:blur(2px);}
.jh-sheet-card{
  position:relative;width:100%;max-width:520px;max-height:86vh;display:flex;flex-direction:column;
  background:var(--color-surface,#141a2e);border-radius:26px 26px 0 0;
  border:1px solid rgba(86,100,140,.42);border-bottom:none;overflow:hidden;
}
@media (min-width:721px){
  .jh-sheet-host{align-items:center;}
  .jh-sheet-card{border-radius:22px;border-bottom:1px solid rgba(86,100,140,.42);}
}
.jh-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 12px;border-bottom:1px solid rgba(86,100,140,.3);}
.jh-sheet-head b{font-size:16px;font-weight:700;color:var(--color-foreground,#edf1ff);}
.jh-sheet-close{border:none;background:none;font-size:22px;line-height:1;color:var(--color-muted-foreground,#a6aec8);cursor:pointer;padding:0 4px;}
.jh-sheet-body{padding:14px 16px 20px;overflow-y:auto;}

.jh-loading,.jh-empty{padding:28px 0;text-align:center;color:var(--color-muted-foreground,#a6aec8);font-size:13px;}

/* 用户主页 */
.jh-profile-top{display:flex;align-items:center;gap:14px;}
.jh-avatar{width:68px;height:68px;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;
  font-size:24px;font-weight:700;color:#0b1020;background-size:cover;background-position:center;}
.jh-avatar.sm{width:44px;height:44px;font-size:17px;}
.jh-profile-main{min-width:0;}
.jh-name{font-size:19px;font-weight:700;color:var(--color-foreground,#edf1ff);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.jh-uid{margin-top:3px;font-size:11.5px;color:var(--color-muted-foreground,#a6aec8);}
.jh-stats{display:flex;justify-content:space-around;margin-top:16px;}
.jh-stat{display:flex;flex-direction:column;align-items:center;gap:2px;}
.jh-stat b{font-size:17px;font-weight:700;color:var(--color-foreground,#edf1ff);}
.jh-stat span{font-size:11.5px;color:var(--color-muted-foreground,#a6aec8);}
.jh-actions{display:flex;gap:10px;margin-top:14px;}
.jh-btn{flex:1;height:40px;border-radius:20px;border:none;font-size:13.5px;font-weight:600;cursor:pointer;}
.jh-btn-primary{background:var(--color-primary,#9db2ff);color:#0b1020;}
.jh-btn-ghost{background:rgba(157,178,255,.14);color:var(--color-foreground,#edf1ff);}
.jh-btn:disabled{opacity:.55;cursor:default;}
.jh-section-title{margin:18px 0 10px;font-size:12.5px;font-weight:600;color:var(--color-muted-foreground,#a6aec8);}
.jh-works{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.jh-work{display:flex;flex-direction:column;gap:4px;padding:0;border:none;background:none;text-align:left;cursor:pointer;}
.jh-work-cover{width:100%;aspect-ratio:.82;border-radius:14px;display:grid;place-items:center;
  font-size:26px;font-weight:700;color:#0b1020;}
.jh-work-name{font-size:12.5px;font-weight:600;color:var(--color-foreground,#edf1ff);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.jh-work-meta{font-size:11px;color:var(--color-muted-foreground,#a6aec8);}

/* 私信 */
.jh-threads{display:flex;flex-direction:column;}
.jh-thread{display:flex;align-items:center;gap:12px;padding:11px 4px;border:none;background:none;
  border-bottom:1px solid rgba(86,100,140,.22);cursor:pointer;text-align:left;width:100%;}
.jh-thread-main{flex:1;min-width:0;}
.jh-thread-name{font-size:14px;font-weight:600;color:var(--color-foreground,#edf1ff);}
.jh-thread-last{margin-top:2px;font-size:11.5px;color:var(--color-muted-foreground,#a6aec8);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.jh-thread-side{display:flex;flex-direction:column;align-items:flex-end;gap:4px;
  font-size:11px;color:var(--color-muted-foreground,#a6aec8);}
.jh-badge{background:#ff6b6b;color:#fff;border-radius:9px;padding:1px 6px;font-size:10.5px;}

.jh-dm{display:flex;flex-direction:column;gap:12px;}
.jh-dm-list{max-height:46vh;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:4px 2px;}
.jh-msg{display:flex;}
.jh-msg.me{justify-content:flex-end;}
.jh-bubble{max-width:78%;padding:9px 12px;border-radius:16px;background:rgba(157,178,255,.14);
  color:var(--color-foreground,#edf1ff);font-size:13.5px;line-height:1.5;word-break:break-word;}
.jh-msg.me .jh-bubble{background:var(--color-primary,#9db2ff);color:#0b1020;}
.jh-msg-time{display:block;margin-top:4px;font-size:10px;opacity:.6;}
.jh-dm-input{display:flex;gap:8px;align-items:flex-end;}
.jh-dm-input textarea{flex:1;resize:none;min-height:40px;max-height:110px;padding:10px 12px;border-radius:16px;
  border:1px solid rgba(86,100,140,.42);background:rgba(27,35,64,.9);color:var(--color-foreground,#edf1ff);
  font-size:13.5px;font-family:inherit;}
.jh-dm-input .jh-btn{flex:0 0 76px;height:40px;}
body.jh-sheet-open{overflow:hidden;}

/* 作者可点击 */
.jh-user-link{cursor:pointer;}
.jh-user-link:hover{text-decoration:underline;}
/* 粉丝/关注列表里的小标签 */
.jh-pill{flex:0 0 auto;padding:3px 9px;border-radius:11px;background:rgba(157,178,255,.16);
  color:var(--color-foreground,#edf1ff);font-size:11px;}

/* 本人主页：封面 + 头像 + 数据 + 操作 + 切换 */
.jh-own-cover{height:96px;margin:-14px -16px 0;border-radius:0;}
.jh-own-head{display:flex;align-items:flex-end;gap:14px;margin-top:-34px;position:relative;}
.jh-avatar.lg{width:76px;height:76px;font-size:26px;border:3px solid var(--color-background,#0b1020);}
.jh-own-id{min-width:0;padding-bottom:4px;}
.jh-tabs{display:flex;gap:10px;margin:16px 0 12px;}
.jh-tab{border:none;cursor:pointer;padding:7px 15px;border-radius:14px;font-size:12.5px;font-weight:600;
  background:rgba(157,178,255,.10);color:var(--color-muted-foreground,#a6aec8);}
.jh-tab.is-on{background:rgba(157,178,255,.24);color:var(--color-primary,#9db2ff);}
.jh-works .jh-empty{grid-column:1/-1;}

/* 举报 */
.jh-report{display:flex;flex-direction:column;gap:10px;}
.jh-report-hint{font-size:12px;line-height:1.6;color:var(--color-muted-foreground,#a6aec8);}
.jh-report-list{max-height:38vh;overflow-y:auto;display:flex;flex-direction:column;gap:2px;}
.jh-report-row{display:flex;align-items:flex-start;gap:8px;padding:6px 4px;border-radius:10px;cursor:pointer;}
.jh-report-row:hover{background:rgba(157,178,255,.10);}
.jh-report-row input{margin-top:3px;}
.jh-report-text{font-size:12.5px;line-height:1.5;color:var(--color-foreground,#edf1ff);word-break:break-word;}
.jh-report-reason{width:100%;box-sizing:border-box;padding:10px 12px;border-radius:14px;resize:none;
  border:1px solid rgba(86,100,140,.42);background:rgba(27,35,64,.9);color:var(--color-foreground,#edf1ff);
  font-size:13px;font-family:inherit;}
.jh-report-tip{font-size:12px;color:#ff9b9b;min-height:16px;}

/* 私信页对方信息条 */
.jh-dm-peer{display:flex;align-items:center;gap:10px;width:100%;padding:8px 4px;border:none;background:none;
  border-bottom:1px solid rgba(86,100,140,.22);cursor:pointer;text-align:left;}
.jh-dm-peer-name{font-size:13.5px;font-weight:600;color:var(--color-foreground,#edf1ff);}
.jh-dm-peer-hint{margin-left:auto;font-size:11.5px;color:var(--color-primary,#9db2ff);}
