.ensButtons {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.ensClear {
  display: none;
}

#ensNotifyBanner {
    animation: cookieEnter .5s .1s cubic-bezier(.22, 1, .36, 1) forwards !important;
    background: #F5F5F5 !important;
    box-shadow: 0 -4px 24px 0 rgba(0, 0, 0, 0.16) !important;
    font-family: 'Source Sans 3', 'Open Sans', sans-serif !important;
    line-height: 1 !important;
    max-height: 100vh !important;
    opacity: 0;
    overflow-y: auto !important;
    position: fixed !important;
    padding: 24px 30px !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    z-index: 9999999999999 !important;
    display: none;
  }

  #ensNotifyBanner:focus {
    outline: 0;
  }

  @media (prefers-reduced-motion: reduce) {
    #ensNotifyBanner {
      animation: none;
      opacity: 1;
    }
  }

  #ensNotifyBanner * {
    color: #111;
    font-family: 'Source Sans 3', 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
  }

  #ensNotifyBanner[style*="display: none"] {
    animation: cookieExit .5s cubic-bezier(.11, 0, .5, 0) forwards;
    opacity: 1;
  }

  @media (prefers-reduced-motion: reduce) {
    #ensNotifyBanner[style*="display: none"] {
      animation: none;
      opacity: 0;
    }
  }

  #ensNotifyBanner > div {
    margin: 0 auto;
    max-width: 1397px;
    display: flex;
    align-items: center;
    gap: 50px;
    flex: 1 0 0;
  }

  #ensNotifyBanner > div > div:first-child {
    flex: 1;
  }

  #ensNotifyBanner h2 {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -.08px;
    display: inline;
  }

  #ensNotifyBanner #ensBannerDescription {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    display: inline;
    margin: 0;
  }

  @media (max-width: 1023px) {
    #ensNotifyBanner {
      padding: 30px;
    }

    #ensNotifyBanner > div {
      flex-direction: column;
      justify-content: flex-end;
      align-items: flex-start;
      gap: 20px;
    }
  }

  @media (max-width: 500px) {
    #ensNotifyBanner .ensButtons {
      flex-direction: row;
      flex-wrap: wrap;
      width: 100%;
      gap: 12px;
    }

    #ensNotifyBanner .ensButtons button {
      flex: 1 1 calc(50% - 6px);
      width: auto;
      justify-content: center;
    }

    #ensNotifyBanner .ensButtons #ensOpenModal {
      flex: 1 0 100%;
      width: 100%;
      text-align: center;
      justify-content: center;
    }

    #ensNotifyBanner #ensBannerDescription {
      font-size: 14px;
      font-weight: 400;
      line-height: 20px;
      letter-spacing: -.08px;
    }
  }

  #ensNotifyBanner #ensBannerDescription a {
    color: #007C8C;
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-style: solid;
  }

  #ensNotifyBanner .ensButtons button {
    background: #fff;
    color: #007C8C;
    border: 2px solid #D5D5D5;
    border-radius: 64px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 19.25px;
    margin-bottom: 0;
    padding: 6px 18px;
    text-align: center;
    touch-action: manipulation;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    min-width: 80px;
    min-height: 32px;
    background-image: none;
    transition: background-color 150ms ease, border-color 150ms ease;
  }

  #ensNotifyBanner .ensButtons button:focus {
    outline: 2px solid #007C8C;
    outline-offset: 2px;
  }

  #ensNotifyBanner .ensButtons button:active,
  #ensNotifyBanner .ensButtons button:hover {
    background-color: #f0f0f0;
    border-color: #D5D5D5;
  }

  /* Manage preferences — teal text link style */
  #ensNotifyBanner .ensButtons #ensOpenModal {
    background: none;
    border: none;
    color: #007C8C;
    padding: 6px 4px;
    min-width: auto;
    text-decoration: none;
  }

  #ensNotifyBanner .ensButtons #ensOpenModal:hover {
    background: none;
    border: none;
    color: #005a63;
    text-decoration: underline;
  }

  @keyframes cookieEnter {
    from {
      opacity: 0 !important;
      transform: translateY(50%) !important;
    }
    to {
      opacity: 1 !important;
      transform: translateY(0) !important;
    }
  }

  @keyframes cookieExit {
    from {
      transform: translateY(0) !important;
    }
    to {
      transform: translateY(100%) !important;
    }
  }