.security-notice {
  position: fixed;
  width: min(630px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  margin: auto;
  overflow-y: auto;
  padding: 48px 44px 36px;
  border: 0;
  border-radius: 30px;
  background: #ffffff;
  color: #071b3a;
  box-shadow: 0 18px 48px rgba(7, 27, 58, 0.18);
}

.security-notice::backdrop {
  background: rgba(57, 75, 103, 0.52);
}

.security-notice-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
}

.security-notice-close svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.security-notice-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 24px;
}

.security-notice-alert {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: #f36f21;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.security-notice-heading h2 {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.25;
}

.security-notice-description {
  margin: 36px 0 24px;
  color: #1d2b41;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.45;
}

.security-notice-tips {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.security-notice-tips li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: #1d2b41;
  font-size: clamp(0.98rem, 2vw, 1.2rem);
  line-height: 1.4;
}

.security-notice-tips li > span {
  color: #1687a9;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
}

.security-notice-tips p {
  margin: 0;
}

.security-notice-tips a {
  color: #62afd0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.security-notice-continue {
  display: block;
  width: min(250px, 100%);
  min-height: 62px;
  margin: 36px auto 0;
  border: 0;
  border-radius: 999px;
  background: #61b7df;
  color: #071b3a;
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 700;
}

.security-notice-close:focus-visible,
.security-notice-continue:focus-visible {
  outline: 3px solid #1687a9;
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .security-notice {
    padding: 42px 22px 26px;
    border-radius: 26px;
  }

  .security-notice-close {
    top: 12px;
    right: 12px;
  }

  .security-notice-heading {
    gap: 12px;
  }

  .security-notice-alert {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 1.5rem;
  }

  .security-notice-description {
    margin: 26px 0 18px;
  }

  .security-notice-tips {
    gap: 14px;
  }

  .security-notice-tips li {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 9px;
  }

  .security-notice-continue {
    min-height: 56px;
    margin-top: 26px;
  }
}
