.qr-notice {
  box-sizing: border-box;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: clamp(24px, 5vw, 36px);
  overflow-y: auto;
  border: 1px solid #b4cdc0;
  border-radius: 20px;
  background: #ffffff;
  color: #08233b;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.qr-notice::backdrop {
  background: rgba(8, 35, 59, 0.68);
}

body:has(.qr-notice[open]) {
  overflow: hidden;
}

.qr-notice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.qr-notice .qr-notice-label {
  margin: 0;
  color: #013c76;
  font-weight: 700;
}

.qr-notice h2 {
  margin: 0 0 20px;
  color: #013c76;
  font-size: clamp(25px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}

.qr-notice p {
  margin: 0 0 16px;
}

.qr-notice button {
  min-width: 48px;
  min-height: 48px;
  font: inherit;
  cursor: pointer;
}

.qr-notice-close {
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #b4cdc0;
  border-radius: 50%;
  background: #ffffff;
  color: #013c76;
}

.qr-notice-close span {
  font-size: 30px;
  line-height: 1;
}

.qr-notice-close:hover {
  background: #f6f7f3;
}

.qr-notice-confirm {
  width: 100%;
  margin-top: 12px;
  padding: 13px 24px;
  border: 1px solid #013c76;
  border-radius: 9999px;
  background: #013c76;
  color: #ffffff;
  font-weight: 700;
}

.qr-notice-confirm:hover {
  border-color: #0a4f92;
  background: #0a4f92;
}

.qr-notice-status {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-block: 8px;
  color: #013c76;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.qr-notice-status:hover {
  color: #0a4f92;
}

.qr-notice button:focus-visible,
.qr-notice-status:focus-visible {
  outline: 3px solid #013c76;
  outline-offset: 4px;
}
