/* hySocial Feed toolbar: responsive V16 Blackhole Chroma.
   The existing V16 drawer trigger is reparented into this bar.
   All existing search, menu, and quick-action handlers stay untouched. */
body[data-hysocial-page="hysocial"] #panel-feed .hs-searchbar {
 display:flex;
 align-items:center;
 gap:10px;
 min-width:0;
 max-width:100%;
 padding:9px;
 margin-bottom:12px;
 border:1px solid rgba(94,173,234,.18);
 border-radius:23px;
 background:linear-gradient(112deg,rgba(10,23,43,.87),rgba(18,16,39,.9));
 box-shadow:0 8px 28px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.04);
 backdrop-filter:blur(20px) saturate(155%);
}
body[data-hysocial-page="hysocial"] #panel-feed .hs-search{
 flex:1 1 auto;
 width:auto;
 min-width:0;
 min-height:46px;
 padding:0 14px;
 border:1px solid rgba(112,157,222,.32);
 border-radius:16px;
 background:rgba(4,11,25,.82);
 box-shadow:inset 0 1px 6px rgba(0,0,0,.17);
 transition:border-color .2s,box-shadow .2s;
}
body[data-hysocial-page="hysocial"] #panel-feed .hs-search:focus-within{
 border-color:#39d9f2;
 box-shadow:0 0 0 3px rgba(53,225,248,.13),0 0 23px rgba(53,225,248,.08);
}
body[data-hysocial-page="hysocial"] #panel-feed .hs-search > iconify-icon{
 font-size:21px;
 color:#70bedb;
}
body[data-hysocial-page="hysocial"] #panel-feed #hs-search-input{
 width:100%;
 min-width:0;
 height:44px;
 padding:0;
 border:0;
 background:transparent;
 line-height:1.2;
 color:var(--hs-text,#edf8ff);
 text-overflow:ellipsis;
}
body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-actions{
 display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:8px;
}
body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-btn{
 flex:0 0 auto;
 width:44px;height:44px;min-height:44px;
 padding:0;
 border-radius:15px;
 background:rgba(11,22,40,.93);
 color:#d7e9ff;
 border:1px solid rgba(99,155,219,.31);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
 display:flex;gap:7px;align-items:center;justify-content:center;
 text-decoration:none;font-size:20px;
 transition:background .17s,border-color .17s,box-shadow .17s,transform .17s;
}
body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-btn:hover,
body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-btn:focus-visible{
 background:linear-gradient(130deg,rgba(39,205,230,.19),rgba(151,93,244,.17));
 border-color:rgba(58,230,249,.65);
 color:#eefbff;
 box-shadow:0 0 17px rgba(67,210,245,.15);
}
body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-label{display:none}
body[data-hysocial-page="hysocial"] #panel-feed .hs-v16-menu{
 display:none;
}
/* Tablet: single coherent row, menu no longer floats over the field. */
@media(min-width:601px) and (max-width:768px){
 body[data-hysocial-page="hysocial"] #panel-feed .hs-searchbar{
  gap:8px;padding:7px;position:sticky;top:0;z-index:28;
 }
 body[data-hysocial-page="hysocial"] #panel-feed .hs-searchbar>.hs-v16-menu{
  position:static!important;display:grid!important;place-items:center!important;
  inset:auto!important;flex:0 0 44px;width:44px;height:44px;min-width:44px;
  padding:0!important;border-radius:14px;line-height:1;
  background:rgba(10,23,44,.92);color:#c8ecff;
  border:1px solid rgba(100,167,228,.36);
  font-size:21px;
 }
 body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-actions{gap:6px}
 body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-btn{width:42px;height:44px}
}
/* Phone: proper menu/search row, then three labeled quick destinations. */
@media(max-width:600px){
 body[data-hysocial-page="hysocial"] #panel-feed .hs-searchbar{
  position:sticky;
  top:0;
  z-index:28;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr);
  grid-template-rows:46px 46px;
  align-items:center;
  gap:7px 8px;
  width:100%;
  min-width:0;
  padding:8px;
  margin-bottom:12px;
  border-radius:19px;
 }
 body[data-hysocial-page="hysocial"] #panel-feed .hs-searchbar>.hs-v16-menu{
  position:static!important;
  display:grid!important;
  place-items:center!important;
  grid-column:1;grid-row:1;
  inset:auto!important;
  min-width:44px;width:44px;height:46px;min-height:46px;
  margin:0!important;padding:0!important;
  border:1px solid rgba(98,176,230,.35)!important;
  border-radius:13px!important;
  background:rgba(14,29,52,.95)!important;
  color:#d6f4ff!important;
  box-shadow:none!important;
  font-size:22px;
  line-height:1;
 }
 body[data-hysocial-page="hysocial"] #panel-feed .hs-search{
  grid-column:2;grid-row:1;
  height:46px;min-height:46px;min-width:0;
  padding:0 12px;
  border-radius:13px;
 }
 body[data-hysocial-page="hysocial"] #panel-feed .hs-search>iconify-icon{font-size:19px}
 body[data-hysocial-page="hysocial"] #panel-feed #hs-search-input{
  font-size:14px!important;
  height:44px;
 }
 body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-actions{
  grid-column:1/-1;grid-row:2;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;min-width:0;width:100%;
 }
 body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-btn{
  min-width:0;width:100%;height:46px;min-height:46px;
  border-radius:12px;font-size:18px;
  gap:6px;
 }
 body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-label{
  display:inline;
  font-size:11px;
  font-weight:740;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
 }
 body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-actions iconify-icon{flex:0 0 auto}
 body[data-hysocial-page="hysocial"] #panel-feed .hs-search-results{
  position:relative;z-index:30;margin-top:0;
  border-radius:15px;max-height:min(48dvh,390px);overflow-y:auto;
 }
}
@media(max-width:365px){
 body[data-hysocial-page="hysocial"] #panel-feed .hs-searchbar{gap:6px;grid-template-columns:42px minmax(0,1fr);padding:6px}
 body[data-hysocial-page="hysocial"] #panel-feed .hs-searchbar>.hs-v16-menu{width:42px;min-width:42px}
 body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-label{font-size:10px}
 body[data-hysocial-page="hysocial"] #panel-feed .hs-quick-btn{gap:4px}
}
html[data-mode="light"] body[data-hysocial-page="hysocial"] #panel-feed .hs-searchbar{
 background:linear-gradient(120deg,rgba(246,251,255,.96),rgba(239,241,253,.97));
 border-color:rgba(64,111,173,.22);
}
html[data-mode="light"] body[data-hysocial-page="hysocial"] #panel-feed :is(.hs-search,.hs-quick-btn,.hs-searchbar>.hs-v16-menu){
 background:rgba(255,255,255,.98)!important;color:#1a3451!important;border-color:rgba(54,106,172,.26)!important;
}
html[data-mode="light"] body[data-hysocial-page="hysocial"] #panel-feed .hs-search>iconify-icon{color:#317a9c}
@media(prefers-reduced-motion:reduce){
 body[data-hysocial-page="hysocial"] #panel-feed :is(.hs-search,.hs-quick-btn){transition:none!important}
}
