.book-club-reader-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 7px;
  background: #fffaf4;
}

.book-club-reader-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book-club-reader-wordmark {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0;
}

.book-club-reader-name {
  display: block;
  min-width: 0;
  color: #5f2035;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.book-club-reader-name strong,
.book-club-reader-name small {
  display: block !important;
  margin: 0 !important;
  color: inherit !important;
  font-style: normal !important;
}

.book-club-reader-name strong {
  font: 600 13px/1.15 Georgia, 'Times New Roman', serif !important;
  letter-spacing: .09em !important;
}

.book-club-reader-name small {
  margin-top: 4px !important;
  font: 600 8px/1 Arial, sans-serif !important;
  letter-spacing: .28em !important;
}

.book-club-reader-identity {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 88;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px 7px 7px;
  text-decoration: none;
  border: 1px solid rgba(95, 32, 53, .18);
  border-radius: 12px;
  background: rgba(255, 250, 244, .96);
  box-shadow: 0 12px 32px rgba(45, 12, 25, .15);
  backdrop-filter: blur(12px);
}

.book-club-reader-identity .book-club-reader-mark {
  width: 56px;
  height: 46px;
}

@media (max-width: 560px) {
  .book-club-reader-mark {
    width: 45px;
    height: 37px;
  }

  .book-club-reader-name strong {
    font-size: 11px !important;
  }

  .book-club-reader-name small {
    font-size: 7px !important;
    letter-spacing: .22em !important;
  }

  .book-club-reader-identity {
    right: max(9px, env(safe-area-inset-right));
    bottom: max(74px, calc(env(safe-area-inset-bottom) + 9px));
  }

  .book-club-reader-identity .book-club-reader-mark {
    width: 47px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-club-reader-identity {
    transition: none;
  }
}
