/* Buyer navigation: service identities instead of decorative category cards. */
body[data-theme="dark"]:has(.buyer-main) .category-bar{
  padding:5px 0 4px!important;background:#171719!important;border-bottom:1px solid #37312c!important;
  box-shadow:0 8px 20px #0003!important;
}
body[data-theme="dark"]:has(.buyer-main) .category-row{gap:0;max-width:1180px}
body[data-theme="dark"]:has(.buyer-main) .category-top,
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="all"],
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="game"],
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="social"],
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="mail"],
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="phone"]{
  height:106px;min-height:106px;gap:3px;padding:9px 10px 8px!important;
  border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  position:relative;overflow:hidden!important;
}
body[data-theme="dark"]:has(.buyer-main) .category-top:not(:last-child)::before{
  display:block!important;content:"";position:absolute;right:0;top:17px;bottom:18px;width:1px;height:auto;
  background:#353536;
}
body[data-theme="dark"]:has(.buyer-main) .category-top:hover,
body[data-theme="dark"]:has(.buyer-main) .category-top.active{
  background:#25211e!important;border-bottom-color:#f0a448!important;box-shadow:none!important;
}
body[data-theme="dark"]:has(.buyer-main) .category-icon-frame{width:67px;height:67px;transition:transform .18s ease}
body[data-theme="dark"]:has(.buyer-main) .category-top .category-icon-frame img{width:100%!important;height:100%!important}
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="game"] .category-icon-frame img,
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="mail"] .category-icon-frame img{filter:invert(1)!important}
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="social"] .category-icon-frame{width:59px;height:67px}
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="phone"] .category-icon-frame{width:63px;height:67px}
body[data-theme="dark"]:has(.buyer-main) .category-label{font-size:13px;letter-spacing:.005em;font-weight:650;color:#dedbd6!important}
body[data-theme="dark"]:has(.buyer-main) .category-top.active .category-label{color:#ffc079!important}

/* Search is a tool beside the service list, so it uses only the height it needs. */
body:has(.buyer-main) .buyer-main .discovery{grid-template-columns:minmax(0,1.45fr) minmax(340px,.9fr);align-items:start;gap:12px;margin-bottom:12px}
body:has(.buyer-main) .buyer-main .popular-panel{padding:12px 14px 13px;border-radius:12px}
body:has(.buyer-main) .buyer-main .popular-heading{min-height:28px;margin-bottom:7px}
body:has(.buyer-main) .buyer-main .popular-strip{grid-auto-rows:49px;max-height:104px;gap:6px}
body:has(.buyer-main) .buyer-main .popular-strip .popular-chip{height:49px;padding:4px 7px}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon{
  width:36px;height:36px;background:transparent!important;border:0!important;border-radius:0!important;padding:1px!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon[src*="steam.svg"],
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon[src*="epic-games.svg"],
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon[src*="gmail.svg"],
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon[src*="mail.svg"],
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon[src*="genshin.svg"]{
  filter:invert(1)!important;background:transparent!important;padding:1px!important;
}
body:has(.buyer-main) .buyer-main .discovery-search{
  min-height:0!important;height:auto!important;align-self:start;
  padding:12px 14px 13px!important;gap:8px!important;border-radius:12px;
  justify-content:flex-start!important;
}
body:has(.buyer-main) .buyer-main .discovery-search .block-label{font-size:16px;line-height:1.15}
body:has(.buyer-main) .buyer-main .search-heading{min-height:20px}
body:has(.buyer-main) .buyer-main .large-search{height:42px;min-height:42px}
body:has(.buyer-main) .buyer-main .large-search input{font-size:13px}
body:has(.buyer-main) .buyer-main .search-regions{display:flex!important;align-items:center;gap:5px;flex-wrap:wrap;margin:0}
body:has(.buyer-main) .buyer-main .search-regions span{font-size:11px;margin-right:2px}
body:has(.buyer-main) .buyer-main .search-regions button{min-height:24px;padding:3px 7px;font-size:10px}

@media(max-width:760px){
  body[data-theme="dark"]:has(.buyer-main) .category-row{gap:0;padding:0 8px 2px!important}
  body[data-theme="dark"]:has(.buyer-main) .category-top,
  body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="all"],
  body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="game"],
  body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="social"],
  body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="mail"],
  body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="phone"]{width:134px;flex:0 0 134px;height:100px;min-height:100px;padding:6px 7px!important}
  body[data-theme="dark"]:has(.buyer-main) .category-icon-frame{width:62px;height:62px}
  body:has(.buyer-main) .buyer-main .discovery{grid-template-columns:1fr;gap:9px}
  body:has(.buyer-main) .buyer-main .popular-strip{grid-auto-rows:51px;max-height:108px}
  body:has(.buyer-main) .buyer-main .popular-strip .popular-chip{height:51px}
}
@media(prefers-reduced-motion:reduce){body[data-theme="dark"]:has(.buyer-main) .category-icon-frame{transition:none}}
