html.fraud-notice-popup-open,
body.fraud-notice-popup-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

#fraud-notice-popup {
  align-items: center;
  background: rgba(2, 15, 33, 0.78);
  box-sizing: border-box;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: fixed;
  z-index: 2147483000;
}

#fraud-notice-popup *,
#fraud-notice-popup *::before,
#fraud-notice-popup *::after {
  box-sizing: border-box;
}

.fraud-notice-popup__dialog {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  overflow: hidden;
  width: min(92vw, 680px);
}

.fraud-notice-popup__visual {
  align-items: center;
  background: #eef2f6;
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-height: 0;
}

.fraud-notice-popup__visual img {
  display: block;
  height: auto;
  max-height: calc(100vh - 110px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.fraud-notice-popup__actions {
  align-items: center;
  background: #ffffff;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px 14px;
}

.fraud-notice-popup__hide-today,
.fraud-notice-popup__close {
  appearance: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 40px;
  padding: 9px 14px;
}

.fraud-notice-popup__hide-today {
  background: #e52d38;
  color: #ffffff;
}

.fraud-notice-popup__close {
  background: #edf1f5;
  color: #102d4f;
}

.fraud-notice-popup__hide-today:hover,
.fraud-notice-popup__hide-today:focus-visible {
  background: #c91f2a;
}

.fraud-notice-popup__close:hover,
.fraud-notice-popup__close:focus-visible {
  background: #dce4ec;
}

@supports (height: 100dvh) {
  .fraud-notice-popup__dialog {
    max-height: calc(100dvh - 32px);
  }

  .fraud-notice-popup__visual img {
    max-height: calc(100dvh - 110px);
  }
}

@media (max-width: 480px) {
  #fraud-notice-popup {
    padding: 10px;
  }

  .fraud-notice-popup__dialog {
    border-radius: 12px;
    max-height: calc(100vh - 20px);
    width: 100%;
  }

  .fraud-notice-popup__visual img {
    max-height: calc(100vh - 104px);
  }

  .fraud-notice-popup__actions {
    gap: 8px;
    min-height: 56px;
    padding: 8px 10px;
  }

  .fraud-notice-popup__hide-today,
  .fraud-notice-popup__close {
    font-size: 13px;
    min-height: 38px;
    padding: 8px 10px;
  }

  @supports (height: 100dvh) {
    .fraud-notice-popup__dialog {
      max-height: calc(100dvh - 20px);
    }

    .fraud-notice-popup__visual img {
      max-height: calc(100dvh - 104px);
    }
  }
}
