/* ============================================================
   GLOBAL UI HYGIENE — убрать дешёвые подсветки/обводки
   (аккуратно, без ломания механик)
============================================================ */

/* Убираем highlight на тап (iOS/Android) */
*{ -webkit-tap-highlight-color: transparent !important; }

/* Убираем фокус-обводки (осознанно) */
:focus,
:focus-visible,
a:active,
button:active,
input:active,
textarea:active{
  outline: none !important;
  box-shadow: none !important;
  outline-color: transparent !important;
}

/* Firefox inner */
button::-moz-focus-inner{ border:0; padding:0; }

/* Точечно для тильдовских элементов */
.t-menu__link,
.t-menu__icon,
.t-popup__close,
.t-btn{
  outline:none !important;
  box-shadow:none !important;
}


/* ============================================================
   ACCORDION — убираем синий "блик" и даём аккуратный feedback
   (только аккордеоны, чтобы не душить остальной UI)
============================================================ */

/* убираем tap highlight у аккордеона */
.t-accordion,
.t-accordion__item,
.t-accordion__header,
.t-accordion__trigger,
.t-accordion a,
.t-accordion button{
  -webkit-tap-highlight-color: transparent !important;
}

/* лёгкий "дорогой" отклик вместо синевы */
.t-accordion__header:active,
.t-accordion__trigger:active{
  background-color: rgba(0,0,0,.04) !important;
}


/* ============================================================
   Search suggestions (t985) — скругление
============================================================ */
#allrecords .t985__searchvariant,
#allrecords .t985 .t985__searchvariant,
#allrecords .t985__suggestion .t985__searchvariant{
  border-radius:3px !important;
}


/* ============================================================
   Social icons (t718) — прижать влево на tablet/mobile
============================================================ */
@media (max-width:1199.98px){

  #allrecords .t718 .t-sociallinks__wrapper{
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;

    margin:0 !important;
    padding:0 !important;
    text-align:left !important;

    gap:3px !important;
    font-size:0 !important;     /* убираем пробелы между li */
    line-height:0 !important;
    white-space:nowrap !important;
  }

  #allrecords .t718 .t-sociallinks__item{
    margin:0 !important;
    padding:0 !important;
    flex:0 0 auto !important;
  }

  #allrecords .t718 .t-sociallinks__item a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:30px !important;
    height:30px !important;
    margin:0 !important;
    padding:0 !important;
  }

  #allrecords .t718 .t-sociallinks__svg{
    width:28px !important;
    height:28px !important;
    overflow:visible !important;
    flex:0 0 auto !important;
  }
}

/*FEED: стилизация кнопок разделов потока (tabs/filters) */
.t-feed__parts-switch-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;

  font-size:14px !important;
  font-weight:400 !important;
  font-style:normal !important;
  line-height:1.9 !important;

  padding:0 !important;
  height:calc(1.9 * 14px) !important;

  cursor:pointer !important;
  user-select:none !important;

  background:#f8f8f8 !important;
  border:1px solid #ddd !important;
  border-radius:3px !important;

  white-space:nowrap !important;
  text-transform:none !important;

  /* transform:none;  <-- УБРАТЬ */
  transition:opacity .15s ease !important;
}

/* MOBILE/TABLET: шрифт 12px, но высота остаётся как была при 14px */
@media (max-width:1200px){
  .t-feed__parts-switch-btn{
    font-size:12px !important;

    /* фиксируем высоту “как раньше” (1.9 * 14px = 26.6px) */
    height:calc(1.9 * 14px) !important;

    /* чтобы текст не “тонул” из-за line-height, оставляем как у тебя */
    line-height:1.9 !important;
  }
}

.t-feed__parts-switch-btn:hover{ opacity:.5 !important; }
.t-feed__parts-switch-btn.t-active:hover{ opacity:1 !important; }


/* Скрытие скролбара */

/* Firefox */
html, body, *{
  scrollbar-width: none !important;
}

/* IE / old Edge */
html, body, *{
  -ms-overflow-style: none !important;
}

/* Chrome / Safari / Edge (WebKit) */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar{
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb{
  background: transparent !important;
  border: 0 !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track{
  background: transparent !important;
  border: 0 !important;
}