/* Mobile header: white plus on the orange «Создать пост» circle.
   PC ≥1200: текстовая кнопка фиксированного размера (hdrpostsize20261126a).
   Порядок в шапке единый на всех ширинах (hdrpostpos20261126a). */

@media (max-width: 1199.98px) {
  html body .header .header__right,
  html body .header__fixed .header__right {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  html body .header .header__right a.btn.btn__post,
  html body .header .header__right a.btn.btn__post--header-plus,
  html body .header__fixed .header__right a.btn.btn__post,
  html body .header__fixed .header__right a.btn.btn__post--header-plus {
    order: 1 !important;
    margin: 0 !important;
    flex: 0 0 48px !important;
  }

  html body .header .header__right .btn__authorization.js-cotinder-identity-open,
  html body .header__fixed .header__right .btn__authorization.js-cotinder-identity-open {
    order: 2 !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }

  html body .header .header__right .btn__logout.js-cotinder-logout,
  html body .header__fixed .header__right .btn__logout.js-cotinder-logout {
    display: none !important;
  }

  html body .header a.btn.btn__default.btn__post,
  html body .header__fixed a.btn.btn__default.btn__post,
  html body .header a.btn.btn__post--header-plus,
  html body .header__fixed a.btn.btn__post--header-plus {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    border-radius: 50% !important;
    flex: 0 0 48px !important;
    box-sizing: border-box !important;
    background-image: none !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    color: transparent !important;
    text-shadow: none !important;
  }

  html body .header a.btn.btn__post .btn__post-text,
  html body .header__fixed a.btn.btn__post .btn__post-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  html body .header a.btn.btn__post .btn__post-plus,
  html body .header__fixed a.btn.btn__post .btn__post-plus {
    display: block !important;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
  }

  html body .header a.btn.btn__post .btn__post-plus path,
  html body .header__fixed a.btn.btn__post .btn__post-plus path {
    fill: #fff !important;
  }

  html body .header__non-authorized .btn__post--header-plus {
    order: 1;
  }

  html body .header__non-authorized .btn__register {
    order: 2;
  }

  html body .header__non-authorized .btn__auth {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  html body .header .header__right a.btn.btn__default.btn__post,
  html body .header__fixed .header__right a.btn.btn__default.btn__post {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 18px 0 40px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    border-radius: 100px !important;
    background-image: none !important;
    color: #fff !important;
    text-align: center !important;
    vertical-align: middle !important;
  }

  html body .header .header__right a.btn.btn__default.btn__post .btn__post-text,
  html body .header__fixed .header__right a.btn.btn__default.btn__post .btn__post-text {
    display: block !important;
    flex: 1 1 auto !important;
    text-align: center !important;
    line-height: 1.15 !important;
    padding-right: 4px !important;
  }

  html body .header .header__right a.btn.btn__default.btn__post .btn__post-plus,
  html body .header__fixed .header__right a.btn.btn__default.btn__post .btn__post-plus {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
  }

  html body .header .header__right a.btn.btn__default.btn__post .btn__post-plus path,
  html body .header__fixed .header__right a.btn.btn__default.btn__post .btn__post-plus path {
    fill: #fff !important;
  }

  html body .header .btn__post--header-plus,
  html body .header__fixed .btn__post--header-plus {
    display: none !important;
  }
}