.library-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--brand);
  font-size: .64rem;
  text-decoration: none;
}

.library-book.is-verified {
  border-color: #70b9a5;
}

.library-book.is-verified header > b {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e2f5ed;
  color: #176b58;
  white-space: nowrap;
}

.library-text-page {
  max-width: 850px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  color: #132d25;
  text-align: right;
  white-space: pre-wrap;
  line-height: 2.15;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.library-reader-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #dff4ec;
  color: #164b3b;
  font-size: .62rem;
  text-decoration: none;
}

.library-reader-source[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .library-text-page {
    padding: 17px;
    font-size: .9rem;
  }

  .library-reader footer {
    flex-wrap: wrap;
  }

  .library-reader-source {
    min-height: 38px;
  }
}
