@charset "utf-8";
/* ==========================================================================
   老徐·资源站 页头 v3  laoxu-header.css
   设计语言参照：xmyc-liblib（浅色、圆角、克制点缀、大量留白）
   结构：工具条(34px) + 主栏(72px)：Logo ┃ 主导航 ··· 搜索 ··· 登录/注册 ⌘
   原则：全局只保留一个实心主色 CTA（注册），激活态用浅色底 + 主色文字
   ========================================================================== */

/* ---------------- 1. 顶部工具条：与主栏同色，弱化存在感 ---------------- */
#toptb{
  height:36px !important; min-height:36px; line-height:36px !important;
  background:var(--lx-card,#fff) !important;
  border-bottom:1px solid var(--lx-border-light,#f5ede7) !important;
  box-sizing:border-box; position:relative; z-index:1000; overflow:visible !important;
}
#toptb .wp{
  max-width:none; margin:0 26px !important; padding:0 !important; height:36px; box-sizing:border-box;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
#toptb .z, #toptb .y{ float:none !important; display:flex !important; align-items:center; gap:2px; }
#toptb a{
  display:inline-flex !important; align-items:center; height:24px !important; line-height:24px !important;
  padding:0 9px !important; margin:0 !important; border-radius:7px;
  font-size:12.5px !important; color:var(--lx-text3,#94897f) !important; background:none !important;
  transition:color .16s ease,background .16s ease;
}
#toptb a:hover{ color:var(--lx-primary,var(--lx-primary)) !important; background:var(--lx-muted,#faf7f4) !important; }
#toptb .switchblind{ width:24px !important; min-width:24px; padding:0 !important; justify-content:center; }
#toptb .pipe{ color:#ece3dd; padding:0 2px; }

/* ---------------- 2. 主栏：白底、1px 分隔、无重阴影 ---------------- */
#hd{
  background:var(--lx-card,#fff) !important;
  border:0 !important; border-bottom:1px solid var(--lx-border-light,#f5ede7) !important;
  box-shadow:none !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  position:sticky !important; top:0 !important; z-index:900 !important;
  overflow:visible !important;
}
#hd > .wp{
  display:block !important; position:static !important;
  width:100% !important; max-width:none !important; margin:0 !important;
  padding:0 26px !important; box-sizing:border-box !important;
}
#hd .hdc{
  display:flex !important; align-items:center !important; justify-content:flex-start !important; gap:0 !important;
  height:76px !important; min-height:76px; padding:0 !important; margin:0 !important;
  float:none !important; overflow:visible !important;
}

/* 品牌区：字标方块 + 站名，无分隔线，留白呼吸 */
#hd .hdc h2.lx-brand{
  display:flex !important; align-items:center; flex:0 0 auto;
  height:76px; margin:0 34px 0 0 !important; padding:0 !important;
  float:none !important; border:0 !important; background:none !important;
}
#hd .hdc h2.lx-brand > a{
  display:inline-flex !important; align-items:center; gap:10px;
  padding:0 !important; margin:0 !important; text-decoration:none !important;
}
#hd .lx-brand-mark{
  width:32px; height:32px; border-radius:10px; flex:0 0 32px;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(140deg,var(--lx-primary,var(--lx-primary)),#8f1d18);
  color:#fff; font-size:16px; font-weight:700; line-height:1;
  box-shadow:0 3px 10px rgba(200,51,43,.22); letter-spacing:0;
}
#hd .lx-brand-name{
  font-size:17.5px; font-weight:700; line-height:1; letter-spacing:.4px;
  color:var(--lx-text,#1f1a17); white-space:nowrap;
}
#hd .hdc h2 img, #hd .hdc h2#logo img{
  height:28px !important; width:auto !important; max-width:190px; display:block;
}

/* ---------------- 3. 主导航：文字 + 浅底激活，不用实心块 ---------------- */
#hd #nv{
  flex:1 1 auto !important; min-width:0 !important;
  display:flex !important; align-items:center !important; gap:0 !important;
  background:transparent !important; border:0 !important; height:auto !important;
  margin:0 !important; padding:0 !important; float:none !important; overflow:visible !important;
}
#hd #nv > ul{
  display:flex !important; align-items:center !important; gap:2px !important;
  float:none !important; flex-wrap:nowrap; overflow:visible; height:auto !important;
  margin:0 !important; padding:0 !important; background:none !important; border:0 !important;
}
#hd #nv li{
  float:none !important; height:38px !important; line-height:38px !important;
  padding:0 14px !important; margin:0 !important; border-radius:9px !important;
  background:none !important; font-size:14px !important; box-shadow:none !important;
  transition:background .16s ease;
}
#hd #nv li a{
  display:block !important; padding:0 !important; line-height:40px !important;
  font-size:14px !important; font-weight:500 !important; color:var(--lx-text2,#57504a) !important;
  letter-spacing:.1px;
}
#hd #nv li:hover{ background:var(--lx-muted,#faf7f4) !important; }
#hd #nv li:hover a{ color:var(--lx-text,#1f1a17) !important; }
#hd #nv li.a{ background:var(--lx-primary-soft,rgba(200,51,43,.1)) !important; }
#hd #nv li.a a, #hd #nv li.a a:hover{
  color:var(--lx-primary,var(--lx-primary)) !important; font-weight:600 !important;
}
#hd #nv .nvhm{ display:none !important; }

/* 快捷导航：降为辅助项 */
#hd #nv #qmenu{
  display:inline-flex !important; align-items:center; justify-content:center;
  height:34px !important; line-height:34px !important; padding:0 11px !important; margin:0 0 0 10px !important;
  border-radius:9px !important; background:transparent !important;
  color:var(--lx-text3,#94897f) !important; font-size:12.5px !important; font-weight:400;
  border:1px solid var(--lx-border-light,#e8eeea) !important;
}
#hd #nv #qmenu:hover{
  background:var(--lx-muted,#faf7f4) !important; color:var(--lx-primary,var(--lx-primary)) !important;
  border-color:var(--lx-border,#ece3dd) !important;
}

/* 导航二级下拉 */
#hd #nv li > ul{
  top:44px !important; padding:6px !important; min-width:156px;
  background:var(--lx-card,#fff) !important; border:1px solid var(--lx-border,#f5ede7) !important;
  border-radius:12px !important; box-shadow:0 18px 40px -22px rgba(22,33,27,.4) !important;
  z-index:1200 !important;
}
#hd #nv li > ul li{ height:34px !important; line-height:34px !important; border-radius:8px !important; padding:0 12px !important; }
#hd #nv li > ul li a{ font-size:13px !important; line-height:34px !important; color:var(--lx-text2,#5e534c) !important; }

/* ---------------- 4. 搜索：白底细框，聚焦主色光晕 ---------------- */
#hd #scbar{
  flex:0 0 352px !important; width:352px !important; max-width:352px !important; min-width:0 !important;
  margin:0 0 0 auto !important; padding:0 !important; height:auto !important;
  background:transparent !important; border:0 !important; float:none !important;
  position:relative !important; box-sizing:border-box !important;
}
#hd #scbar *{ box-sizing:border-box; }
#hd #scbar_form{
  display:flex !important; align-items:center !important;
  width:100% !important; height:42px !important; margin:0 !important;
  padding:0 4px 0 14px !important;
  background:var(--lx-card,#fff) !important;
  border:1px solid var(--lx-border,#ece3dd) !important;
  border-radius:11px !important; box-shadow:none !important;
  transition:border-color .18s ease,box-shadow .18s ease;
}
#hd #scbar_form:hover{ border-color:#cfded5 !important; }
#hd #scbar_form:focus-within{
  border-color:var(--lx-primary,var(--lx-primary)) !important;
  box-shadow:0 0 0 3px var(--lx-primary-soft,rgba(200,51,43,.1)) !important;
}
#hd #scbar_form table, #hd #scbar_form tbody, #hd #scbar_form tr{
  display:flex !important; align-items:center !important; width:100% !important; min-width:0 !important; overflow:hidden !important;
  margin:0 !important; padding:0 !important; border:0 !important; background:none !important; height:auto !important;
}
#hd #scbar_form td{ display:flex !important; align-items:center; min-width:0 !important; padding:0 !important; border:0 !important; background:none !important; }
#hd #scbar_form td:has(#scbar_txt){ flex:1 1 auto !important; min-width:0 !important; }
#hd #scbar_form td:has(#scbar_btn){ flex:0 0 auto !important; }
#hd #scbar_txt{
  flex:1 1 0 !important; width:0 !important; min-width:0 !important; height:34px !important; line-height:34px !important;
  font-size:13.5px !important; color:var(--lx-text,#1f1a17) !important;
  border:0 !important; background:transparent !important;
  padding:0 8px 0 0 !important; box-shadow:none !important; outline:none !important;
}
#hd #scbar_txt::placeholder{ color:#9aa8a0 !important; font-size:13.5px; }
#hd #scbar_btn{
  position:absolute !important; right:4px !important; top:4px !important;
  height:32px !important; line-height:32px !important; min-width:64px !important;
  padding:0 15px !important; margin:0 !important;
  border:0 !important; border-radius:8px !important;
  background:var(--lx-primary,var(--lx-primary)) !important; color:#fff !important;
  font-size:12.5px !important; letter-spacing:.5px; cursor:pointer;
  transition:background .16s ease;
}
#hd #scbar_btn:hover{ background:var(--lx-primary-hover,var(--lx-primary-hover)) !important; }
#hd #scbar_btn em, #hd #scbar_btn strong{ color:#fff !important; font-size:12.5px !important; font-style:normal; }
#hd #scbar_type, #hd #scbar_form .scbar_type_td{ display:none !important; }

/* 热门搜索：浮层 */
#hd #scbar_hot{
  display:none !important; position:absolute !important;
  top:calc(100% + 8px) !important; right:0 !important; left:auto !important; bottom:auto !important;
  width:320px !important; max-width:320px !important; box-sizing:border-box;
  padding:12px 14px !important; text-align:left !important;
  background:var(--lx-card,#fff) !important; border:1px solid var(--lx-border,#f5ede7) !important;
  border-radius:14px !important; box-shadow:0 18px 40px -22px rgba(22,33,27,.4) !important;
  z-index:1200 !important; font-size:12px !important; line-height:1.9 !important;
}
#hd #scbar:hover #scbar_hot, #hd #scbar:focus-within #scbar_hot{ display:block !important; }
#hd #scbar_hot strong{
  display:block !important; float:none !important; margin:0 0 6px !important;
  font-size:12px !important; font-weight:600; color:var(--lx-text2,#57504a);
}
#hd #scbar_hot a{
  display:inline-block !important; padding:2px 9px !important; margin:0 4px 4px 0 !important;
  border-radius:999px !important; background:var(--lx-muted,#faf7f4) !important;
  color:var(--lx-text2,#5c6b62) !important; font-size:12px !important; line-height:1.9 !important;
}
#hd #scbar_hot a:hover{ background:var(--lx-primary-soft,rgba(200,51,43,.12)) !important; color:var(--lx-primary,var(--lx-primary)) !important; }

/* ---------------- 5. 用户区：仅注册为实心 CTA ---------------- */
#hd .lx-hd-user{ flex:0 0 auto; display:flex; align-items:center; margin-left:18px; }
#hd .lx-auth{ display:flex; align-items:center; gap:6px; }
#hd .lx-auth a{
  display:inline-flex; align-items:center; justify-content:center;
  height:36px; padding:0 14px; border-radius:9px;
  font-size:13.5px; font-weight:500; line-height:1; text-decoration:none;
  transition:background .16s ease,color .16s ease;
}
#hd .lx-auth .lx-btn-ghost{ color:var(--lx-text2,#57504a) !important; background:transparent; }
#hd .lx-auth .lx-btn-ghost:hover{ background:var(--lx-muted,#faf7f4); color:var(--lx-text,#1f1a17) !important; }
#hd .lx-auth .lx-btn-primary{
  color:#fff !important; background:var(--lx-primary,var(--lx-primary)); padding:0 18px;
}
#hd .lx-auth .lx-btn-primary:hover{ background:var(--lx-primary-hover,var(--lx-primary-hover)); }

/* 已登录 */
#hd #um{
  display:flex !important; align-items:center; gap:12px;
  float:none !important; height:auto !important; margin:0 !important; padding:0 !important;
}
#hd #um > p{
  display:flex !important; align-items:center; gap:2px;
  float:none !important; margin:0 !important; padding:0 !important; height:auto !important; min-height:0 !important;
}
#hd #um > p:last-child{ display:none !important; }
#hd #um > p > .pipe{ display:none !important; }
#hd #um > p > a{ display:none !important; }
#hd #um > p > a#myitem, #hd #um > p > a#myprompt, #hd #um > p > a[href*="action=logout"]{
  display:inline-flex !important; align-items:center; height:32px; padding:0 10px;
  border-radius:8px; font-size:12.5px; color:var(--lx-text3,#867c74) !important; background:none;
}
#hd #um > p > a#myitem:hover, #hd #um > p > a#myprompt:hover, #hd #um > p > a[href*="action=logout"]:hover{
  background:var(--lx-muted,#faf7f4); color:var(--lx-primary,var(--lx-primary)) !important;
}
#hd #um .vwmy, #hd #um .vwmy a{
  font-size:13.5px !important; font-weight:600 !important; color:var(--lx-text,#1f1a17) !important;
}
#hd #um .avt{
  order:-1; float:none !important; width:34px !important; height:34px !important; min-width:34px;
  margin:0 !important; border-radius:50% !important; overflow:hidden;
}
#hd #um .avt a{ display:block !important; width:34px !important; height:34px !important; line-height:0 !important; }
#hd #um .avt img{
  width:34px !important; height:34px !important; max-width:none !important;
  object-fit:cover; display:block; padding:0 !important; border:0 !important;
}

/* ---------------- 6. 右侧图标按钮 ---------------- */
#hd .lx-hd-actions{ margin:0 0 0 10px !important; display:flex; align-items:center; gap:6px; flex:0 0 auto; }
#hd .lx-icon-btn{
  width:38px; height:38px; border-radius:10px; border:0; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--lx-muted,#faf7f4); color:var(--lx-text3,#94897f);
  font-size:15px; line-height:1; transition:background .16s ease,color .16s ease;
}
#hd .lx-icon-btn:hover{ background:var(--lx-primary-soft,rgba(200,51,43,.1)); color:var(--lx-primary,var(--lx-primary)); }

/* ---------------- 7. 二级导航 ---------------- */
#hd #mu{ margin:0 !important; padding:0 !important; clear:none !important; }
#hd #mu ul{
  display:flex !important; align-items:center; flex-wrap:wrap; gap:2px;
  padding:0 0 12px !important; margin:0 !important; border:0 !important; background:none !important;
}
#hd #mu ul li a{ display:inline-block; padding:4px 11px; border-radius:8px; font-size:12.5px; color:var(--lx-text3,#867c74); }
#hd #mu ul li a:hover{ background:var(--lx-muted,#faf7f4); color:var(--lx-primary,var(--lx-primary)); }
#hd #mu:empty{ display:none !important; }

/* ---------------- 8. 响应式 ---------------- */
@media screen and (max-width:1320px){
  #hd > .wp, #toptb .wp{ padding:0 24px !important; }
  #hd #scbar{ flex:0 0 250px !important; width:250px !important; max-width:250px !important; margin-left:14px !important; }
  #hd #nv li{ padding:0 11px !important; }
  #hd .hdc h2{ margin-right:16px !important; padding-right:16px !important; }
}
@media screen and (max-width:1100px){
  #hd .hdc{
    flex-wrap:wrap !important; height:auto !important; min-height:0 !important;
    padding:12px 0 !important; row-gap:10px !important;
  }
  #hd .hdc h2{ height:44px; border-right:0; margin-right:0 !important; padding-right:0 !important; }
  #hd #nv{ order:3; flex:1 1 100% !important; width:100%; }
  #hd #nv > ul{ flex-wrap:wrap !important; }
  #hd #scbar{ order:2; flex:1 1 200px !important; width:auto !important; max-width:none !important; margin:0 0 0 auto !important; }
  #hd .lx-hd-user{ order:4; margin-left:auto; }
  #hd .lx-hd-actions{ order:5; }
}
@media screen and (max-width:768px){
  #toptb{ display:none !important; }
  #hd > .wp{ padding:0 14px !important; }
  #hd #nv li{ height:34px !important; line-height:34px !important; padding:0 10px !important; }
  #hd #nv li a{ font-size:13px !important; line-height:34px !important; }
  #hd #scbar_hot{ display:none !important; }
  #hd #scbar_form{ height:38px !important; padding-left:12px !important; }
  #hd #scbar_btn{ height:30px !important; padding:0 12px !important; }
}

/* ================= v4 精修：去除冗余文字、提升层次与质感 ================= */
/* 1) 主导航：隐藏英文副名，只留中文 */
#hd #nv li a span{ display:none !important; }
#hd #nv li a{ font-size:14.5px !important; font-weight:500 !important; letter-spacing:.2px; }
#hd #nv li.a a, #hd #nv li.a a:hover{ font-weight:600 !important; color:var(--lx-primary,var(--lx-primary)) !important; }
#hd #nv li.a{ background:rgba(200,51,43,.09) !important; box-shadow:none !important; }
#hd #nv li{ padding:0 15px !important; }
#hd #nv li:hover{ background:#faf7f4 !important; }

/* 2) 搜索框：浅灰填充 + 聚焦白底描边环 */
#hd #scbar_form{ background:#f3f6f4 !important; border:1px solid transparent !important; border-radius:12px !important; transition:background .16s ease,border-color .16s ease,box-shadow .16s ease; }
#hd #scbar_form:hover{ background:#edf2ef !important; }
#hd #scbar_form:focus-within{ background:#fff !important; border-color:var(--lx-primary,var(--lx-primary)) !important; box-shadow:0 0 0 3px rgba(200,51,43,.1) !important; }
#hd #scbar_btn{ height:32px !important; border-radius:9px !important; }

/* 3) 顶栏：极浅灰，弱化但不空洞 */
#toptb{ background:#f7f9f8 !important; }
#toptb .wp{ margin:0 24px !important; }

/* 4) 主栏：细微分隔与阴影，品牌字号微调 */
#hd{ box-shadow:0 1px 3px rgba(16,40,28,.04) !important; }
#hd .lx-brand-name{ font-size:18px !important; letter-spacing:-.2px; }
#hd .lx-brand-mark{ width:34px !important; height:34px !important; font-size:17px !important; }

/* 5) 用户区按钮统一高度与圆角 */
#hd .lx-auth a{ height:36px !important; line-height:36px !important; border-radius:9px !important; }
#hd .lx-auth .lx-btn-primary{ background:var(--lx-primary,var(--lx-primary)) !important; color:#fff !important; }
#hd .lx-auth .lx-btn-primary:hover{ background:var(--lx-primary-hover,var(--lx-primary-hover)) !important; }

/* ================= v5：搜索按钮图标化、无侧栏时的横向节奏 ================= */
#hd #scbar_btn{
  width:32px !important; min-width:32px !important; height:32px !important;
  padding:0 !important; border-radius:50% !important; font-size:0 !important; color:transparent !important;
  background:var(--lx-primary,var(--lx-primary)) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.6-3.6'/%3E%3C/svg%3E") center/15px 15px no-repeat !important;
  margin-left:6px !important; transition:filter .15s ease,transform .15s ease;
}
#hd #scbar_btn:hover{ filter:brightness(1.08); }
#hd #scbar_form{ padding:0 5px 0 15px !important; }
#hd #nv{ margin-right:auto !important; }
#hd .lx-hd-search{ margin-left:18px !important; }
#hd .lx-hd-user{ margin-left:16px !important; }

/* ================= v6：侧栏关闭时不再为它预留左侧内边距 ================= */
body{ padding-left:0 !important; }
body:has(.lx-side){ padding-left:232px !important; }
#hd .wp{ padding-left:0 !important; padding-right:0 !important; }
#toptb .wp{ padding-left:0 !important; padding-right:0 !important; margin-left:0 !important; margin-right:0 !important; }
#hd .hdc{ padding-left:24px !important; padding-right:24px !important; }
#toptb .lxc, #toptb .wp > *{ padding-left:24px !important; padding-right:24px !important; }

/* ================= v7：右侧留白修正 + 内容最大宽度 ================= */
#hd #nv{ margin-right:0 !important; }
#hd .lx-hd-search{ margin-left:auto !important; }
#hd .hdc{ max-width:1400px !important; margin:0 auto !important; }
#toptb .wp{ max-width:1400px !important; margin:0 auto !important; }
#hd .hdc{ padding-left:0 !important; padding-right:0 !important; }
#toptb .lxc, #toptb .wp > *{ padding-left:0 !important; padding-right:0 !important; }

/* ================= v8：字体渲染与节奏精修 ================= */
#hd, #toptb{
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif !important;
}
#hd{ position:sticky; top:0; z-index:900; }
#toptb{ position:relative; z-index:1000; }
#hd .lx-brand{ margin-right:42px !important; }
#hd .lx-brand-name{ font-weight:800 !important; letter-spacing:.2px !important; color:#1f1a17 !important; }
#hd .lx-brand-mark{ box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 4px 12px rgba(200,51,43,.26) !important; }
#hd #nv li a{ letter-spacing:.4px !important; }
#hd #scbar_txt::-webkit-input-placeholder{ color:#a99e96 !important; }
#hd #scbar_txt::placeholder{ color:#a99e96 !important; }
#toptb a{ font-size:12px !important; color:#9b8f86 !important; transition:color .15s ease,background .15s ease; }
#toptb a:hover{ color:var(--lx-primary) !important; background:rgba(200,51,43,.06) !important; }
#hd .lx-hd-user, #hd .lx-hd-actions{ align-self:center !important; }

/* ================= v9：主色焦点与搜索框精修 ================= */
#toptb{ position:relative !important; }
#toptb::before{ content:''; position:absolute; left:0; top:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--lx-primary) 0%,#e0563c 55%,#c99a2e 100%); z-index:1; }
#hd #scbar{ background:#f7f5f3 !important; border:1px solid #ece3dd !important; border-radius:999px !important;
  height:42px !important; box-shadow:inset 0 1px 2px rgba(16,40,30,.045) !important; transition:all .18s ease !important; }
#hd #scbar:focus-within{ background:#fff !important; border-color:var(--lx-primary) !important;
  box-shadow:0 0 0 4px rgba(200,51,43,.10) !important; }
#hd #scbar_txt{ background:transparent !important; font-size:13.5px !important; color:#1f1a17 !important; }
#hd #scbar_btn, #hd #scbar .pn, #hd #scbar button{ background:var(--lx-primary) !important; color:#fff !important;
  border:none !important; border-radius:999px !important; width:32px !important; height:32px !important;
  box-shadow:0 4px 10px rgba(200,51,43,.24) !important; }
#hd #scbar_btn:hover, #hd #scbar .pn:hover{ background:var(--lx-primary-hover) !important; }
#hd #nv li.a a{ background:var(--lx-primary) !important; color:#fff !important; box-shadow:0 6px 14px rgba(200,51,43,.20) !important; }
#hd #nv li a:hover{ background:rgba(200,51,43,.09) !important; color:var(--lx-primary-hover) !important; }
#hd .lx-hd-user a, #hd .lx-hd-actions a{ transition:all .16s ease !important; }


/* ===== 2026-11-07 用户区重做：头像 + 菜单下拉（含管理入口） ===== */
#hd #um.lx-um{
  position:relative; float:none; display:flex; align-items:center; gap:10px;
  height:auto; padding:4px 6px; background:transparent; border:0;
}
#hd #um.lx-um .lx-um-avt{ display:block; width:34px; height:34px; border-radius:50%; overflow:hidden; border:2px solid var(--lx-primary-soft); line-height:0; flex:0 0 auto; }
#hd #um.lx-um .lx-um-avt img{ width:34px !important; height:34px !important; object-fit:cover; border-radius:50%; }
#hd #um.lx-um .lx-um-info{ display:flex; flex-direction:column; line-height:1.25; max-width:120px; }
#hd #um.lx-um .lx-um-name{ font-size:13.5px; font-weight:600; }
#hd #um.lx-um .lx-um-name a{ color:var(--lx-text) !important; text-decoration:none; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#hd #um.lx-um .lx-um-grp{ font-size:11px; color:var(--lx-text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#hd #um.lx-um .lx-um-trigger{
  display:inline-flex !important; align-items:center; gap:5px; visibility:visible !important;
  height:32px; padding:0 12px; border-radius:999px; font-size:13px; font-weight:500;
  color:#fff !important; background:var(--lx-primary); text-decoration:none; cursor:pointer;
  transition:background .18s;
}
#hd #um.lx-um .lx-um-trigger:hover{ background:var(--lx-primary-hover); color:#fff !important; }
#hd #um.lx-um .lx-um-caret{ width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #fff; }

/* 下拉面板 */
#hd #um.lx-um .lx-um-drop{
  display:none; position:absolute; top:100%; right:0; margin-top:6px; width:250px;
  background:#fff; border:1px solid var(--lx-border); border-radius:var(--lx-radius-sm);
  box-shadow:0 12px 30px -12px rgba(31,26,23,.35); padding:8px; z-index:1300;
}
#hd #um.lx-um:hover .lx-um-drop,
#hd #um.lx-um:focus-within .lx-um-drop{ display:block; }
#hd #um.lx-um .lx-um-drop::before{ content:""; position:absolute; top:-10px; right:0; left:0; height:10px; }
#hd #um.lx-um .lx-um-drop-hd{ padding:8px 10px 10px; border-bottom:1px solid var(--lx-border-light); }
#hd #um.lx-um .lx-um-drop-hd b{ display:block; font-size:13.5px; color:var(--lx-text); }
#hd #um.lx-um .lx-um-drop-hd em{ font-style:normal; font-size:11.5px; color:var(--lx-text3); }
#hd #um.lx-um .lx-um-drop-bd{ padding:6px 0; display:flex; flex-direction:column; }
#hd #um.lx-um .lx-um-drop-bd + .lx-um-drop-bd{ border-top:1px solid var(--lx-border-light); }
#hd #um.lx-um .lx-um-drop-bd a{
  display:flex !important; visibility:visible !important; align-items:center; gap:8px;
  padding:7px 10px; border-radius:8px; font-size:13px; color:var(--lx-text2) !important;
  text-decoration:none; white-space:nowrap;
}
#hd #um.lx-um .lx-um-drop-bd a:hover{ background:var(--lx-primary-soft); color:var(--lx-primary) !important; }
#hd #um.lx-um .lx-um-drop-tt{ padding:8px 10px 2px; font-size:11.5px; letter-spacing:.5px; color:var(--lx-text3); }
#hd #um.lx-um .lx-um-bd-admin a.lx-um-admin{ color:var(--lx-text) !important; font-weight:500; }
#hd #um.lx-um .lx-um-bd-admin a.lx-um-admin .lx-um-ic{
  display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px;
  border-radius:6px; font-size:11px; background:var(--lx-primary-soft); color:var(--lx-primary);
}
#hd #um.lx-um .lx-um-bd-admin a.lx-um-admin-main{ background:var(--lx-primary-soft); }
#hd #um.lx-um .lx-um-badge{
  font-style:normal; margin-left:auto; min-width:18px; height:18px; padding:0 5px;
  border-radius:999px; background:var(--lx-danger); color:#fff; font-size:11px;
  display:inline-flex; align-items:center; justify-content:center;
}
#hd #um.lx-um .lx-um-bd-out a.lx-um-logout{ color:var(--lx-text3) !important; }
#hd #um.lx-um .lx-um-bd-out a.lx-um-logout:hover{ color:var(--lx-danger) !important; background:rgba(191,66,56,.08); }
/* 隐藏旧结构残留 */
#hd #um.lx-um > p{ display:none !important; }

/* ===== 2026-11-07 用户区下拉：悬停即显示 + 显式管理按钮 ===== */
#hd #um.lx-um:hover .lx-um-drop,
#hd #um.lx-um:focus-within .lx-um-drop{ display:block !important; opacity:1 !important; visibility:visible !important; pointer-events:auto !important; }
#hd #um.lx-um{ position:relative; }
#hd #um.lx-um .lx-um-drop{ z-index:1300 !important; }
#hd #um.lx-um .lx-um-goadmin{
  display:inline-flex; align-items:center; gap:4px; height:30px; padding:0 12px; margin-right:8px;
  border-radius:999px; background:var(--lx-primary,var(--lx-primary)); color:#fff !important;
  font-size:12.5px; font-weight:600; text-decoration:none !important; white-space:nowrap;
  box-shadow:0 4px 12px -6px rgba(200,51,43,.8); transition:background .2s, transform .2s;
}
#hd #um.lx-um .lx-um-goadmin span{ font-size:13px; line-height:1; }
#hd #um.lx-um .lx-um-goadmin:hover{ background:var(--lx-primary-hover,var(--lx-primary-hover)); transform:translateY(-1px); color:#fff !important; }
#hd #um.lx-um .lx-um-drop-bd a{ display:flex; align-items:center; gap:8px; }
#hd #um.lx-um .lx-um-drop-bd a .lx-um-ic{
  display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px;
  border-radius:6px; background:var(--lx-primary-soft,rgba(200,51,43,.1)); color:var(--lx-primary,var(--lx-primary));
  font-size:11px; font-style:normal; font-weight:700; flex:0 0 auto;
}


/* ===== 2026-11-07 v10 管理入口强制可见 ===== */
#hd #um.lx-um{ display:flex !important; align-items:center !important; gap:10px !important; height:auto !important; overflow:visible !important; position:relative !important; }
#hd #um.lx-um .lx-um-avt,
#hd #um.lx-um .lx-um-info,
#hd #um.lx-um .lx-um-trigger,
#hd #um.lx-um .lx-um-goadmin{ display:flex !important; visibility:visible !important; opacity:1 !important; }
#hd #um.lx-um .lx-um-drop{ display:none; }
#hd #um.lx-um:hover .lx-um-drop,
#hd #um.lx-um:focus-within .lx-um-drop{ display:block !important; }

/* 头像旁常驻管理按钮 */
#hd #um.lx-um .lx-um-goadmin{
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  height:32px !important; padding:0 14px !important; margin:0 !important;
  border-radius:8px !important; font-size:13px !important; font-weight:600 !important;
  color:#fff !important; letter-spacing:1px;
  background:linear-gradient(135deg,#c8332b,#8f1d18) !important;
  border:1px solid #8f1d18 !important;
  box-shadow:0 4px 12px -6px rgba(200,51,43,.9) !important;
}
#hd #um.lx-um .lx-um-goadmin:hover{ background:linear-gradient(135deg,#e0563c,#c8332b) !important; color:#fff !important; }

/* 导航右侧独立的管理后台按钮 */
#hd .lx-admin-btn{
  flex:0 0 auto !important; display:inline-flex !important; align-items:center !important; gap:5px;
  height:34px !important; padding:0 15px !important; margin-left:14px !important;
  font-size:13px !important; font-weight:600 !important; color:#fff !important; text-decoration:none !important;
  border-radius:8px !important; white-space:nowrap;
  background:linear-gradient(135deg,#c8332b,#8f1d18) !important;
  border:1px solid #8f1d18 !important;
  box-shadow:0 6px 16px -8px rgba(200,51,43,.95) !important;
  transition:all .18s ease !important;
}
#hd .lx-admin-btn::before{ content:"\2699"; font-size:13px; line-height:1; }
#hd .lx-admin-btn:hover{ background:linear-gradient(135deg,#e0563c,#c8332b) !important; color:#fff !important; transform:translateY(-1px); }
