.bookshelf-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.shelf-title {
  font-size: 1.5em;
  margin: 30px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color, #ddd);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.book-card {
  background: var(--card-bg, #fff);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.book-card:hover {
  transform: translateY(-4px);
}

.book-cover {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0f0f0;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-info {
  padding: 10px;
  text-align: center;
}

.book-name {
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 4px;
  line-height: 1.3;
}

.book-author {
  font-size: 0.8em;
  color: #999;
}
