.book-banner {
  --ref-color-gray-0: #000000;
  --ref-color-gray-20: #333333;
  --ref-color-gray-100: #ffffff;
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  width: min(18.75rem, calc(100vw - 2.5rem));
}

.book-banner img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.book-banner-close {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.book-banner-close-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
  line-height: 1;
  color: var(--ref-color-gray-100);
  background-color: var(--ref-color-gray-20);
  border-radius: 50%;
  transition: background-color 0.15s;
}

.book-banner-close:hover .book-banner-close-mark,
.book-banner-close:focus-visible .book-banner-close-mark {
  background-color: var(--ref-color-gray-0);
}
