.login-signup-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2d5ead;
  font: inherit;
  cursor: pointer;
}

.login-signup-button:hover {
  text-decoration: underline;
}

.login-signup-button:focus-visible,
.login-notice-close:focus-visible {
  outline: 2px solid #2d5ead;
  outline-offset: 3px;
}

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

.login-notice[open]:not(:popover-open) {
  display: block;
}

.login-notice[open]:not(:popover-open)::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgb(20 19 26 / 24%);
  z-index: -1;
}

.login-notice {
  box-sizing: border-box;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: min(420px, calc(100% - 32px));
  margin: auto;
  padding: 28px 52px 28px 24px;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: #fff;
  color: #14131a;
  box-shadow: 0 16px 48px rgb(20 19 26 / 18%);
  font: 16px / 1.5 "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

.login-notice::backdrop {
  background: rgb(20 19 26 / 24%);
}

.login-notice p {
  margin: 0;
}

.login-notice-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #514e5f;
  font: 24px / 1 Arial, sans-serif;
  cursor: pointer;
}

.login-notice-close:hover {
  background: #f4f4f4;
}
