/* ============================================================================
   dx_search_tab_v26112709.css
   移动端搜索页 tab 行：强制内凹槽（压过模板内已有规则）
   ----------------------------------------------------------------------------
   实测（帖子页 getComputedStyle）：
     BD  = 0px | none          ← 被压成 0
     BGI = none                ← 背景被清成 transparent
     R   = 15px                ← 残余值，非本次所设
     DISP= flex                ← 唯一生效项
   溯源：模板自带 `dx_c7_v26112001.css:13`：
     :is(#nv_search,#search) #scform_tb{
        min-height:40px!important; padding:0 2px 12px!important;
        border:0!important; background:transparent!important; }   /* 特定性 (2,0,0) */
   我上一版用 `#scform_tb`（1,0,0）→ 全线被压，只剩 display 生效（对方未声明该属性）。
   高级页之所以有槽，是 `dx_search_adv_v26112174.css` 又叠了
     html:root body#nv_search #ct #scform_tb{...}                        /* 特定性 (2,1,2) */
   本版改用同一档特定性 (2,1,2) 并置于文件末尾，确保后到者胜，
   同时把 border / background / box-shadow / radius / padding 全部补齐。
   ============================================================================ */

@media screen and (max-width: 720px) {

  html:root body#nv_search #ct #scform_tb,
  html:root body#nv_search #search #scform_tb {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    margin: 0 0 12px !important;
    padding: 4px !important;
    border: 1px solid rgba(147, 166, 190, 0.34) !important;
    border-radius: 15px !important;
    background: linear-gradient(180deg,
      rgba(226, 237, 251, 0.94) 0%,
      rgba(245, 250, 255, 0.80) 55%,
      rgba(255, 255, 255, 0.72) 100%) !important;
    box-shadow:
      inset 0 1px 3px rgba(45, 61, 88, 0.11),
      inset 0 -1px 0 rgba(255, 255, 255, 0.90),
      0 1px 0 rgba(255, 255, 255, 0.60) !important;
    line-height: 1 !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  /* 左侧「快速 / 高级」组：展开为同级 flex 项 */
  html:root body#nv_search #ct #scform_tb > span.y,
  html:root body#nv_search #ct #scform_tb > .y {
    display: contents !important;
  }

  /* 单个 tab */
  html:root body#nv_search #ct #scform_tb > a,
  html:root body#nv_search #ct #scform_tb > span.y > a,
  html:root body#nv_search #ct #scform_tb > .y > a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 6px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: #5B7191 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  /* 当前 tab：蓝色实心 */
  html:root body#nv_search #ct #scform_tb > a.a,
  html:root body#nv_search #ct #scform_tb > span.y > a.a,
  html:root body#nv_search #ct #scform_tb > .y > a.a {
    background: linear-gradient(135deg, #4A86F7 0%, #7FB4FF 100%) !important;
    color: #fff !important;
    box-shadow:
      0 6px 14px rgba(47, 111, 237, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  }
}
