/* hySocial V16 brand contract: same mark in global navigation and page shells.
   Creator, business, and marketplace listing logos remain untouched. */
.hy-social-shared-brand{
  display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;
  width:37px;height:37px;min-width:37px;
  padding:3px;border-radius:11px;
  background:linear-gradient(120deg,rgba(39,221,236,.10),rgba(153,93,235,.13));
  border:1px solid rgba(87,166,226,.25);
  box-shadow:0 0 16px rgba(46,183,230,.09);
  text-decoration:none;vertical-align:middle;
}
.hy-social-shared-brand img{
  width:30px;height:30px;display:block;object-fit:contain;
  border-radius:8px;box-shadow:none;flex:0 0 auto;
}
.hy-social-shared-brand:hover,
.hy-social-shared-brand:focus-visible{
  border-color:rgba(67,229,243,.65);
  box-shadow:0 0 20px rgba(72,211,235,.18);
}
body[data-hysocial-page="hysocial-pages"] .hp-topbar>.hy-social-shared-brand{order:0;margin-left:1px}
body[data-hysocial-page="hysocial-pages"] .hp-topbar>.back-btn{order:-1}
body[data-hysocial-page="hysocial-pages"] .hp-topbar>h1{min-width:0}
body[data-hysocial-page] :is(.hs-topbar,.hp-topbar,.lg-topbar,.hm-header)>.hy-social-shared-brand{
  align-self:center;
}
body[data-hysocial-page="hysocial-dating"] .hm-header>.hy-social-shared-brand{margin-right:8px}
body[data-hysocial-page="hysocial-legal"] .lg-topbar>.hy-social-shared-brand{margin-right:8px}
.hy-social-shared-brand:focus-visible{outline:2px solid #41d8ef;outline-offset:3px}
@media(max-width:600px){
  .hy-social-shared-brand{width:34px;height:34px;min-width:34px;border-radius:10px;padding:2px}
  .hy-social-shared-brand img{width:28px;height:28px}
  body[data-hysocial-page="hysocial-pages"] .hp-topbar{gap:6px}
}
html[data-mode="light"] .hy-social-shared-brand{
  border-color:rgba(69,116,169,.25);
  background:rgba(235,244,255,.9);
}
/* One search surface, not a framed search nested in another framed search. */
body[data-hysocial-page="hysocial"] #panel-feed .hs-searchbar{
  border:0!important;background:transparent!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  padding:0!important;border-radius:0!important;
}
body[data-hysocial-page="hysocial"] #panel-feed .hs-search{
  border:1px solid rgba(105,162,224,.33)!important;
  border-radius:15px!important;
  background:rgba(6,13,29,.78)!important;
  box-shadow:none!important;
  outline:none!important;
}
body[data-hysocial-page="hysocial"] #panel-feed .hs-search:focus-within{
  border-color:#43dcef!important;
  box-shadow:0 0 0 3px rgba(60,213,243,.11)!important;
}
body[data-hysocial-page="hysocial"] #panel-feed #hs-search-input{
  appearance:none!important;-webkit-appearance:none!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
}
html[data-mode="light"] body[data-hysocial-page="hysocial"] #panel-feed .hs-search{
  background:rgba(255,255,255,.95)!important;
  border-color:rgba(62,118,182,.26)!important;
}

/* Pages: the recovered legacy button rule stretched the empty-state CTA
   into an oversized square. Restore a proper V16 action without changing it. */
body[data-hysocial-page="hysocial-pages"] #emptyPages button{
  width:auto!important;height:auto!important;
  max-width:100%!important;min-height:46px!important;min-width:132px;
  display:inline-flex!important;align-items:center;justify-content:center;
  gap:8px!important;padding:11px 19px!important;
  border-radius:13px!important;
  font-size:13px!important;line-height:1.2!important;
  font-weight:800!important;
  background:linear-gradient(110deg,#2cdeee,#708aff)!important;
  color:#07172d!important;
}
body[data-hysocial-page="hysocial-pages"] #emptyPages button iconify-icon{
  font-size:19px!important;width:19px!important;height:19px!important;
}
@media(max-width:600px){
  body[data-hysocial-page="hysocial-pages"] .hp-topbar{gap:5px}
  body[data-hysocial-page="hysocial-pages"] .hp-topbar #topbarTitle{
    flex:1 1 auto;min-width:0;
    white-space:nowrap;font-size:14px;line-height:1.25;
  }
  body[data-hysocial-page="hysocial-pages"] .hp-topbar>.hy-social-shared-brand{
    width:32px;height:32px;min-width:32px;
  }
  body[data-hysocial-page="hysocial-pages"] .hp-topbar>.hy-social-shared-brand img{width:26px;height:26px}
  body[data-hysocial-page="hysocial-pages"] .hp-topbar .create-btn{
    padding:7px 8px;font-size:11px;white-space:nowrap;min-height:42px;
  }
}
