.plg-noticemodal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.plg-noticemodal[hidden] {
  display: none !important;
}

.plg-noticemodal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 40, 50, 0.45);
}

.plg-noticemodal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  background: #fff;
  color: #2b3c47;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  padding: 28px 28px 24px;
  outline: none;
}

.plg-noticemodal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #425967;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.plg-noticemodal__close:hover,
.plg-noticemodal__close:focus {
  background: #f0f3f5;
  outline: none;
}

.plg-noticemodal__title {
  margin: 0 36px 14px 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.plg-noticemodal__content {
  font-size: 16px;
  line-height: 1.55;
}

.plg-noticemodal__content > *:first-child {
  margin-top: 0;
}

.plg-noticemodal__content > *:last-child {
  margin-bottom: 0;
}

.plg-noticemodal__content a {
  color: #2f6f84;
  text-decoration: underline;
}

.plg-noticemodal__test-btn {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100001;
  border: 0;
  border-radius: 999px;
  background: #425967;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.plg-noticemodal__test-btn:hover,
.plg-noticemodal__test-btn:focus {
  background: #2b3c47;
  outline: none;
}

body.plg-noticemodal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .plg-noticemodal {
    padding: 12px;
  }

  .plg-noticemodal__dialog {
    padding: 22px 18px 18px;
    border-radius: 12px;
  }

  .plg-noticemodal__title {
    font-size: 19px;
  }
}
