/**
 * Header identity chevron: restore under 1200px (phone + tablet portrait/landscape).
 * custom.css hides .btn__identity-chevron for max-width 1199.98 / 767.98, so the
 * 48px avatar alone opens notifications and account switch is unreachable.
 * PC ≥1200: keep chevron clickable (custom.css sets pointer-events:none on it).
 * Does not edit custom.css.
 * Marker: idswitchtab20261015a
 */
@media (max-width: 1199.98px) {
  html body .header .header__right .btn.btn__authorization.js-cotinder-identity-open,
  html body .header__fixed .header__right .btn.btn__authorization.js-cotinder-identity-open,
  html body .header .header__right button.btn__authorization.js-cotinder-identity-open,
  html body .header__fixed .header__right button.btn__authorization.js-cotinder-identity-open {
    position: relative !important;
    width: auto !important;
    min-width: 76px !important;
    max-width: none !important;
    height: 48px !important;
    padding: 0 28px 0 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    border-radius: 24px !important;
  }

  html body .header .header__right .btn__authorization .js-cotinder-header-identity-label,
  html body .header__fixed .header__right .btn__authorization .js-cotinder-header-identity-label {
    display: none !important;
  }

  html body .header .header__right .btn__authorization .btn__avatar,
  html body .header__fixed .header__right .btn__authorization .btn__avatar {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
  }

  /* Notify badge hit-expand must not cover the chevron. */
  html body .header .header__right .btn__authorization .btn__avatar-notify-badge::before,
  html body .header__fixed .header__right .btn__authorization .btn__avatar-notify-badge::before {
    content: none !important;
    display: none !important;
  }

  html body .header .header__right .btn__authorization .btn__identity-chevron,
  html body .header__fixed .header__right .btn__authorization .btn__identity-chevron,
  html body .header .header__right .btn__authorization .btn__identity-chevron.js-cotinder-identity-switch,
  html body .header__fixed .header__right .btn__authorization .btn__identity-chevron.js-cotinder-identity-switch {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    z-index: 5 !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--text-color2, #2d2d2d) !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
  }

  html body .header .header__right .btn__authorization .btn__identity-chevron svg,
  html body .header__fixed .header__right .btn__authorization .btn__identity-chevron svg {
    display: block !important;
    width: 12px !important;
    height: 8px !important;
  }

  html body #cotinder-identity-modal.cotinder-rating-popup-overlay--visible .js-cotinder-identity-option,
  html body #cotinder-identity-modal.cotinder-rating-popup-overlay--visible .cotinder-identity-modal__logout {
    pointer-events: auto !important;
    touch-action: manipulation !important;
    position: relative !important;
    z-index: 2 !important;
  }
}

/* PC: chevron must receive taps (opens identity modal via capture on button). */
@media (min-width: 1200px) {
  html body .header .header__right .btn__authorization .btn__identity-chevron.js-cotinder-identity-switch,
  html body .header__fixed .header__right .btn__authorization .btn__identity-chevron.js-cotinder-identity-switch {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 3 !important;
  }
}
