/* tqq-desktop-hero-step-20260930
   Desktop homepage hero, one step smaller.
   Linked only from cn/index and en/index. Mobile templates do not load this file.
   The min-width guard also keeps a phone-width window from applying it. */
@media (min-width:901px){
  html body .idx-main .idx-logo,
  html body .idx-main .idx-logo.tqq-daily-ip-wrap,
  html body .idx-main div.idx-logo,
  html body .idx-main div.idx-logo.tqq-daily-ip-wrap{
    width:360px!important;
    max-width:min(360px,86vw)!important;
  }
  html body .idx-main .idx-logo picture.tqq-home-logo-pic,
  html body .idx-main .idx-logo img,
  html body .idx-main picture.tqq-home-logo-pic img{
    width:360px!important;
    max-width:100%!important;
    height:96px!important;
    max-height:96px!important;
    aspect-ratio:420 / 112!important;
  }

  html body .idx-cen .idx-lam,
  html body .idx-lam{
    min-height:50px!important;
    padding:3px!important;
  }
  html body .idx-cen .idx-lam a,
  html body .idx-lam a{
    min-width:104px!important;
    height:42px!important;
    line-height:42px!important;
    padding:0 18px!important;
    font-size:17px!important;
  }

  html body .idx-cen .idx-cen-c > .idx-type,
  html body .idx-cen-c > .idx-type{
    flex:0 0 158px!important;
    width:158px!important;
    min-width:158px!important;
    max-width:158px!important;
    height:50px!important;
  }
  html body .idx-cen .idx-cen-c > .idx-type .type-l,
  html body .idx-cen-c > .idx-type .type-l{
    height:46px!important;
    line-height:46px!important;
    padding:0 12px!important;
    gap:6px!important;
  }
  html body .idx-cen .idx-cen-c > .idx-type .type-l:after,
  html body .idx-cen-c > .idx-type .type-l:after{
    top:10px!important;
    height:26px!important;
  }
  html body .idx-cen .idx-cen-c > .idx-type .l-type,
  html body .idx-cen-c > .idx-type .l-type{
    flex:0 0 16px!important;
    width:16px!important;
    height:16px!important;
  }
  html body .idx-cen .idx-cen-c > .idx-type em,
  html body .idx-cen-c > .idx-type em{
    max-width:96px!important;
    height:46px!important;
    line-height:46px!important;
    font-size:13px!important;
  }
  html body .idx-cen .idx-cen-c > .idx-type .l-bottom,
  html body .idx-cen-c > .idx-type .l-bottom{
    flex:0 0 12px!important;
    width:12px!important;
    height:12px!important;
  }
  html body .idx-cen .idx-cen-c > .idx-type .type-all,
  html body .idx-cen-c > .idx-type .type-all{
    top:50px!important;
  }

  html body .idx-cen .idx-cen-c #idx-s,
  html body .idx-cen-c #idx-s{
    height:50px!important;
    min-height:50px!important;
  }
  html body .idx-cen .idx-cen-c #idx-s > form.is-active,
  html body .idx-cen .idx-cen-c .idx-sli,
  html body .idx-cen-c #idx-s > form.is-active,
  html body .idx-cen-c .idx-sli{
    height:50px!important;
  }
  html body .idx-cen .idx-cen-c .text-more,
  html body .idx-cen-c .text-more{
    height:46px!important;
  }
  html body .idx-cen .idx-cen-c .s-text,
  html body .idx-cen-c .s-text{
    height:46px!important;
    line-height:46px!important;
    padding:0 16px!important;
    font-size:15px!important;
  }
  html body .idx-cen .idx-cen-c .s-btn,
  html body .idx-cen-c .s-btn{
    flex:0 0 134px!important;
    width:134px!important;
    min-width:134px!important;
    max-width:134px!important;
    height:46px!important;
    padding:0 12px!important;
    font-size:14px!important;
  }
  html body .idx-cen .idx-cen-c .s-btn em,
  html body .idx-cen-c .s-btn em{
    font-size:14px!important;
    line-height:46px!important;
    max-width:100px!important;
  }
  html body .idx-cen .idx-cen-c .s-btn .l-search,
  html body .idx-cen .idx-cen-c .s-btn .s-h,
  html body .idx-cen-c .s-btn .l-search,
  html body .idx-cen-c .s-btn .s-h{
    flex:0 0 16px!important;
    width:16px!important;
    height:46px!important;
  }

  html body.tqq-home-modern .idx-cen-c > a.idx-cen-a,
  html body .idx-cen-c > a.idx-cen-a,
  html body .idx-cen .idx-cen-c > a.idx-cen-a{
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    min-width:148px!important;
    padding:0 16px!important;
    margin:0 0 0 14px!important;
    font-size:14px!important;
  }
}

/* tqq-desktop-hotcats-20260930
   Homepage 热搜品类 title and subtitle, one step smaller.
   Linked only from desktop index. min-width keeps a phone window off it.
   Search chips (data-tqq-hot3-default=off) are not targeted. */
@media (min-width:901px){
  html body .idx-cen-hot.tqq-hot3-wrap .tqq-hot3-chip,
  html body .tqq-hot3-wrap:not([data-tqq-hot3-default="off"]) .tqq-hot3-chip{
    min-height:44px!important;
    height:auto!important;
    padding:3px 8px!important;
    gap:1px!important;
    overflow:hidden!important;
  }
  html body .idx-cen-hot.tqq-hot3-wrap .tqq-hot3-name,
  html body .tqq-hot3-wrap:not([data-tqq-hot3-default="off"]) .tqq-hot3-name{
    font-size:16px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html body .idx-cen-hot.tqq-hot3-wrap .tqq-hot3-desc,
  html body .tqq-hot3-wrap:not([data-tqq-hot3-default="off"]) .tqq-hot3-desc{
    font-size:12px!important;
    line-height:1.25!important;
    max-height:1.25em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

@media (min-width:901px){
  html body .idx-cen-hot.product_keys.tqq-hot3-wrap .tqq-hot3-chip{
    min-height:44px!important;
    height:auto!important;
    padding:3px 8px!important;
    gap:1px!important;
    overflow:hidden!important;
  }
}
