/**
 * Notifications dropdown: sit below header, grow downward, scroll the list.
 * Scoped; does not edit custom.css.
 * Marker: idnotifopen20261002e
 */
body.cotinder-notifications-open .js-cotinder-header-notifications:not([hidden]),
body.cotinder-notifications-from-identity .cotinder-header-notifications:not([hidden]) {
    position: fixed !important;
    top: calc(var(--cotinder-identity-notif-top, var(--cotinder-mnav-header-offset, 105px)) + 8px) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    width: min(400px, calc(100vw - 16px)) !important;
    max-width: min(400px, calc(100vw - 16px)) !important;
    height: auto !important;
    max-height: calc(100dvh - var(--cotinder-identity-notif-top, var(--cotinder-mnav-header-offset, 105px)) - 24px) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 10120 !important;
}

body.cotinder-notifications-open .js-cotinder-header-notifications:not([hidden]) .cotinder-header-notifications__list,
body.cotinder-notifications-from-identity .cotinder-header-notifications__list {
    flex: 1 1 auto !important;
    min-height: 220px !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}

body.cotinder-notifications-open .js-cotinder-header-notifications:not([hidden]) .cotinder-header-notifications__head,
body.cotinder-notifications-open .js-cotinder-header-notifications:not([hidden]) .cotinder-header-notifications__foot {
    flex-shrink: 0 !important;
}

body.cotinder-notifications-open .header .header__right,
body.cotinder-notifications-open .header__fixed .header__right,
body.cotinder-notifications-open .header .container-mini,
body.cotinder-notifications-open .header__flex {
    overflow: visible !important;
}

#cotinder-identity-modal .js-cotinder-identity-notifications {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}
