body.software-notice-open {
  overflow: hidden;
}

.software-notice-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.software-notice-modal[hidden] {
  display: none;
}

.software-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 31, .72);
  backdrop-filter: blur(3px);
}

.software-notice-panel {
  position: relative;
  width: min(500px, 100%);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1e6ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(3, 11, 28, .32);
}

.software-notice-header {
  flex: 0 0 auto;
  padding: 26px 32px 12px;
  text-align: center;
}

.software-notice-kicker {
  color: #7394dc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.software-notice-header h2 {
  margin: 6px 0 0;
  color: #2c3442;
  font-size: 30px;
  line-height: 1.2;
}

.software-notice-content {
  min-height: 0;
  overflow-y: auto;
  padding: 12px 32px 24px;
  color: #5b6472;
  font-size: 15px;
  line-height: 1.75;
  overscroll-behavior: contain;
}

.software-notice-content .ql-editor {
  min-height: 0;
  padding: 0;
  overflow: visible;
}

.software-notice-footer {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  margin-top: 0;
  padding: 14px 24px 18px;
  border-top: 1px solid #edf0f4;
  color: inherit;
  background: #fff;
}

.software-notice-confirm {
  width: 136px;
  max-width: 100%;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #61a5f0, #458ce2);
  cursor: pointer;
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 8px rgba(136, 184, 248, .42),
    0 13px 27px rgba(63, 135, 222, .22);
  transition: transform 0.2s, box-shadow 0.2s;
}

.software-notice-confirm b {
  font-size: 15px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.software-notice-confirm:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 8px rgba(123, 175, 245, .52),
    0 17px 32px rgba(56, 121, 207, .3);
}

.software-notice-confirm:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 8px rgba(123, 175, 245, .58),
    0 15px 30px rgba(56, 121, 207, .28);
}

@media (max-width: 560px) {
  .software-notice-modal {
    padding: 14px;
  }

  .software-notice-panel {
    max-height: 70vh;
    border-radius: 16px;
  }

  .software-notice-header {
    padding: 22px 22px 10px;
  }

  .software-notice-header h2 {
    font-size: 26px;
  }

  .software-notice-content {
    padding: 10px 22px 20px;
    font-size: 14px;
  }

  .software-notice-footer {
    padding: 12px 20px 16px;
  }

  .software-notice-confirm {
    width: 128px;
    height: 40px;
  }

  .software-notice-confirm b {
    font-size: 14px;
  }
}
