/* Place the cookie notice text and its action on one horizontal line. */
#allrecords .t972 .t972__banner {
  box-sizing: border-box;
  width: min(360px, calc(100vw - 24px));
  max-width: none;
  min-height: 0;
  padding: 8px 10px 8px 12px;
}

#allrecords .t972 .t972__banner.t972__banner_show {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  animation: berezhno-cookie-enter 180ms ease-out both;
}

#allrecords .t972__banner .t972__title {
  display: none;
}

#allrecords .t972__banner .t972__text {
  font-size: 13px;
  line-height: 1.35;
}

#allrecords .t972__banner .t972__buttons,
#allrecords .t972__banner .t972__buttons-wrap {
  display: flex;
  width: auto;
  margin: 0;
}

#allrecords .t972__banner .t972__accept-btn {
  box-sizing: border-box;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding-inline: 10px;
}

@keyframes berezhno-cookie-enter {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 640px) {
  #allrecords .t-rec .t972:not(.t972_widgetview) {
    bottom: 82px !important;
    left: 12px !important;
    right: auto !important;
  }

  #allrecords #rec6084999801 .t972:not(.t972_widgetview) {
    bottom: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #allrecords .t972 .t972__banner.t972__banner_show {
    animation: none;
  }
}
