:root{--dx-search-glass-build:26112117}
/* ============================================================
   搜索页液态玻璃 UI 精修 v26112117（淡蓝色调，与全站一致）
   根因：#scform_tb 的 display:flex 被默认规则压过，快速/高级/帖子
        错行挤压；顶部栏链接拥挤。dx_c22 已有玻璃样式但布局未生效。
   方案：用 html:root 高特异性重声明布局+玻璃，加载顺序在 dx_c22 之后。
   只作用于搜索页 body#nv_search / #search，移动端(max-width:720px)。
   ============================================================ */
@media screen and (max-width:720px){
  /* ---- 顶部栏：淡蓝玻璃卡片，链接等间距胶囊，自动换行 ---- */
  html:root body#nv_search #toptb,
  html:root body#search #toptb{
    display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;
    gap:6px 10px!important;box-sizing:border-box!important;
    width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;margin:10px auto 0!important;padding:10px 12px!important;
    border:1px solid rgba(255,255,255,.82)!important;border-radius:16px!important;
    background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(233,242,253,.62))!important;
    box-shadow:0 8px 24px rgba(45,61,88,.07),inset 0 1px 0 rgba(255,255,255,.96)!important;
    backdrop-filter:blur(16px) saturate(140%)!important;-webkit-backdrop-filter:blur(16px) saturate(140%)!important;
  }
  html:root body#nv_search #toptb>.z,html:root body#nv_search #toptb>.y,
  html:root body#search #toptb>.z,html:root body#search #toptb>.y{float:none!important;display:contents!important}
  html:root body#nv_search #toptb a,html:root body#nv_search #toptb strong,
  html:root body#search #toptb a,html:root body#search #toptb strong{
    float:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-height:32px!important;padding:0 11px!important;margin:0!important;
    border:1px solid rgba(255,255,255,.78)!important;border-radius:10px!important;
    background:rgba(255,255,255,.60)!important;color:#41577a!important;-webkit-text-fill-color:#41577a!important;
    font-size:12px!important;line-height:1.3!important;white-space:nowrap!important;text-decoration:none!important;
    box-shadow:0 2px 8px rgba(45,61,88,.05)!important;
  }
  html:root body#nv_search #toptb a#navs,html:root body#search #toptb a#navs{
    background:linear-gradient(135deg,rgba(52,118,255,.92),rgba(96,164,255,.86))!important;
    color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:rgba(52,118,255,.30)!important;
  }
  /* ---- 搜索卡片：淡蓝玻璃容器 ---- */
  html:root body#nv_search form.searchform,
  html:root body#search form.searchform{
    box-sizing:border-box!important;width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;
    margin:12px auto 0!important;padding:14px!important;
    border:1px solid rgba(255,255,255,.84)!important;border-radius:18px!important;
    background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(236,244,253,.60))!important;
    box-shadow:0 12px 32px rgba(45,61,88,.08),inset 0 1px 0 rgba(255,255,255,.96)!important;
    backdrop-filter:blur(18px) saturate(140%)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important;
  }
  /* ---- 搜索标签：快速/高级/帖子 三按钮等宽同行 ---- */
  html:root body#nv_search form.searchform #scform_tb,
  html:root body#search form.searchform #scform_tb{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;
    gap:8px!important;width:100%!important;min-width:0!important;margin:0 0 14px!important;padding:0!important;overflow:visible!important;
  }
  html:root body#nv_search #scform_tb>.y,html:root body#nv_search #scform_tb>span.y,
  html:root body#search #scform_tb>.y,html:root body#search #scform_tb>span.y{display:contents!important}
  html:root body#nv_search #scform_tb>a,html:root body#search #scform_tb>a{
    flex:1 1 0!important;min-width:0!important;height:40px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    margin:0!important;padding:0 8px!important;border:1px solid rgba(255,255,255,.82)!important;border-radius:11px!important;
    background:rgba(255,255,255,.72)!important;color:#3a5173!important;-webkit-text-fill-color:#3a5173!important;
    font-size:13px!important;font-weight:600!important;white-space:nowrap!important;text-decoration:none!important;
    box-shadow:0 3px 10px rgba(45,61,88,.06),inset 0 1px 0 rgba(255,255,255,.90)!important;order:0!important;
  }
  html:root body#nv_search #scform_tb>a.a,html:root body#search #scform_tb>a.a,
  html:root body#nv_search #scform_tb>a:hover,html:root body#search #scform_tb>a:hover{
    background:linear-gradient(135deg,rgba(52,118,255,.96),rgba(96,164,255,.88))!important;
    color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:rgba(52,118,255,.35)!important;
    box-shadow:0 6px 16px rgba(52,118,255,.24)!important;order:1!important;
  }
  html:root body#nv_search #scform_tb a:active,html:root body#search #scform_tb a:active{transform:translateY(1px)!important}
}
