.books-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0a0a14;
  color: #e8e8e8;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  position: relative;
}

.books-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(180deg, #141422 0%, #0d0d1a 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.books-header-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.books-header-title i {
  color: #6c5ce7;
  font-size: 20px;
}

.books-header-search {
  position: relative;
  width: 260px;
}

.books-header-search input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  color: #e8e8e8;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

.books-header-search input:focus {
  border-color: #6c5ce7;
  background: rgba(108, 92, 231, 0.08);
}

.books-header-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 12px;
}

.books-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

.books-content::-webkit-scrollbar { width: 6px; }
.books-content::-webkit-scrollbar-track { background: transparent; }
.books-content::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.books-tabs {
  display: flex;
  background: #0d0d1a;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  padding: 4px 0;
}

.books-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px 6px;
  cursor: pointer;
  color: #555;
  font-size: 10px;
  transition: color 0.2s;
  border: none;
  background: none;
  font-family: inherit;
}

.books-tab i {
  font-size: 18px;
  transition: color 0.2s;
}

.books-tab.active {
  color: #6c5ce7;
}

.books-tab:hover {
  color: #8b7cf7;
}

.books-section {
  padding: 20px 16px 8px;
}

.books-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.books-section-title .see-all {
  font-size: 13px;
  color: #6c5ce7;
  cursor: pointer;
  font-weight: 500;
}

.books-section-title .see-all:hover {
  color: #8b7cf7;
}

.books-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.books-row::-webkit-scrollbar { display: none; }

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  padding-bottom: 12px;
}

.book-card {
  flex-shrink: 0;
  width: 120px;
  cursor: pointer;
  transition: transform 0.2s;
}

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

.book-card-cover {
  width: 120px;
  height: 175px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

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

.book-card-cover .no-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 36px;
  color: #6c5ce7;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.book-card-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #6c5ce7;
  color: white;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.book-card-audio-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0,0,0,0.7);
  color: #a29bfe;
  font-size: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-card-title {
  font-size: 12px;
  font-weight: 600;
  color: #e0e0e0;
  margin-top: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-card-author {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.books-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 16px 12px;
}

.books-category-chip {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(108, 92, 231, 0.12);
  color: #a29bfe;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid rgba(108, 92, 231, 0.2);
  transition: all 0.2s;
  white-space: nowrap;
}

.books-category-chip:hover,
.books-category-chip.active {
  background: #6c5ce7;
  color: white;
  border-color: #6c5ce7;
}

.books-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #666;
  gap: 12px;
}

.books-loading i {
  font-size: 28px;
  color: #6c5ce7;
  animation: booksSpin 1s linear infinite;
}

@keyframes booksSpin {
  to { transform: rotate(360deg); }
}

.books-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.books-empty i {
  font-size: 40px;
  color: #333;
  margin-bottom: 12px;
  display: block;
}

.books-detail-view {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #0a0a14;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.books-detail-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(180deg, #141422 0%, #0d0d1a 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 12px;
  flex-shrink: 0;
}

.books-detail-back {
  background: none;
  border: none;
  color: #6c5ce7;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 14px;
}

.books-detail-back:hover {
  background: rgba(108,92,231,0.1);
}

.books-detail-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.books-detail-hero {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.books-detail-cover {
  width: 160px;
  height: 230px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

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

.books-detail-cover .no-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 48px;
  color: #6c5ce7;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.books-detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.books-detail-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.books-detail-author {
  font-size: 14px;
  color: #a29bfe;
  font-weight: 500;
}

.books-detail-meta {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.books-detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.books-detail-btn {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.2s;
}

.books-detail-btn.primary {
  background: #6c5ce7;
  color: white;
}

.books-detail-btn.primary:hover {
  background: #5a4bd1;
}

.books-detail-btn.secondary {
  background: rgba(108,92,231,0.12);
  color: #a29bfe;
  border: 1px solid rgba(108,92,231,0.2);
}

.books-detail-btn.secondary:hover {
  background: rgba(108,92,231,0.2);
}

.books-detail-btn.saved {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.3);
}

.books-detail-description {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.books-detail-description h3 {
  font-size: 15px;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 8px;
}

.books-detail-description p {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

.books-detail-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.books-detail-subject-tag {
  padding: 4px 10px;
  background: rgba(108,92,231,0.1);
  color: #a29bfe;
  border-radius: 12px;
  font-size: 11px;
}

.books-shelf-list {
  padding: 16px;
}

.books-shelf-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.books-shelf-item:hover {
  background: rgba(255,255,255,0.06);
}

.books-shelf-cover {
  width: 60px;
  height: 85px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

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

.books-shelf-cover .no-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 24px;
  color: #6c5ce7;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.books-shelf-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.books-shelf-title {
  font-size: 14px;
  font-weight: 600;
  color: #e0e0e0;
}

.books-shelf-author {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.books-shelf-type {
  font-size: 11px;
  color: #6c5ce7;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.books-shelf-remove {
  align-self: center;
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  font-size: 14px;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
}

.books-shelf-remove:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.books-me-section {
  padding: 20px 16px;
}

.books-me-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  margin-bottom: 20px;
}

.books-me-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin-bottom: 12px;
}

.books-me-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.books-me-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.books-me-stat {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}

.books-me-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #6c5ce7;
}

.books-me-stat-label {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}

.books-me-achievements {
  margin-top: 20px;
}

.books-me-achievements h3 {
  font-size: 15px;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 12px;
}

.books-achievement {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  margin-bottom: 8px;
}

.books-achievement-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.books-achievement-icon.gold { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }
.books-achievement-icon.purple { background: rgba(108, 92, 231, 0.15); color: #6c5ce7; }
.books-achievement-icon.green { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.books-achievement-icon.blue { background: rgba(52, 152, 219, 0.15); color: #3498db; }

.books-achievement-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: #e0e0e0;
  margin: 0;
}

.books-achievement-info p {
  font-size: 11px;
  color: #888;
  margin: 2px 0 0;
}

.books-audiobook-player {
  position: absolute;
  bottom: 46px;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #1a1a2e 0%, #141422 100%);
  border-top: 1px solid rgba(108,92,231,0.2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 50;
}

.books-player-cover {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.books-player-info {
  flex: 1;
  min-width: 0;
}

.books-player-title {
  font-size: 12px;
  font-weight: 600;
  color: #e0e0e0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.books-player-chapter {
  font-size: 10px;
  color: #888;
}

.books-player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.books-player-btn {
  background: none;
  border: none;
  color: #a29bfe;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.books-player-btn:hover { color: #fff; }

.books-player-btn.play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #6c5ce7;
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.books-player-btn.play:hover { background: #5a4bd1; }

.books-player-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}

.books-player-progress-bar {
  height: 100%;
  background: #6c5ce7;
  width: 0%;
  transition: width 0.3s;
}

.books-explore-type-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}

.books-type-tab {
  padding: 7px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  color: #888;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
  font-family: inherit;
}

.books-type-tab.active {
  background: #6c5ce7;
  color: white;
  border-color: #6c5ce7;
}

.books-type-tab:hover:not(.active) {
  background: rgba(255,255,255,0.08);
  color: #ccc;
}

.books-continue-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(108,92,231,0.08), rgba(108,92,231,0.02));
  border-radius: 12px;
  border: 1px solid rgba(108,92,231,0.15);
  margin: 0 16px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.books-continue-card:hover {
  background: linear-gradient(135deg, rgba(108,92,231,0.12), rgba(108,92,231,0.04));
}

.books-continue-cover {
  width: 50px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

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

.books-continue-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.books-continue-label {
  font-size: 10px;
  color: #6c5ce7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.books-continue-title {
  font-size: 14px;
  font-weight: 600;
  color: #e0e0e0;
  margin-top: 2px;
}

.books-continue-author {
  font-size: 12px;
  color: #888;
  margin-top: 1px;
}

.books-welcome-banner {
  margin: 16px;
  padding: 24px;
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #6c5ce7 100%);
  background-size: 200% 200%;
  animation: booksGradient 6s ease infinite;
  border-radius: 16px;
  color: white;
}

.books-welcome-banner.kids-vibe {
  background: linear-gradient(135deg, #6c5ce7 0%, #e17055 33%, #fdcb6e 66%, #00b894 100%);
  background-size: 300% 300%;
  animation: kidsGradient 8s ease infinite;
  text-align: center;
  padding: 28px 20px 24px;
}

.books-welcome-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 24px;
  opacity: 0.9;
}

@keyframes booksGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes kidsGradient {
  0% { background-position: 0% 50%; }
  33% { background-position: 50% 100%; }
  66% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.books-welcome-banner h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}

.books-welcome-banner p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}

.books-quick-picks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 8px;
}

.books-quick-pick {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  font-size: 12px;
  color: #ddd;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.books-quick-pick:hover {
  background: rgba(108, 92, 231, 0.2);
  border-color: #6c5ce7;
  color: #fff;
  transform: translateY(-1px);
}

.books-quick-pick i {
  font-size: 12px;
  color: #a29bfe;
}

.books-reader-view {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f8f6f1;
  z-index: 200;
  display: flex;
  flex-direction: column;
}

.books-reader-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #e8e4dc;
  flex-shrink: 0;
}

.books-reader-back {
  background: none;
  border: none;
  color: #6c5ce7;
  font-size: 16px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.books-reader-back:hover {
  background: rgba(108, 92, 231, 0.08);
}

.books-reader-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  text-align: center;
}

.books-reader-controls {
  display: flex;
  gap: 4px;
}

.books-reader-ctrl {
  background: none;
  border: 1px solid #ddd;
  color: #555;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.2s;
}

.books-reader-ctrl:hover {
  background: #f0f0f0;
  border-color: #bbb;
}

.books-reader-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.books-reader-iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex: 1;
  background: #fff;
}

.books-reader-page {
  flex: 1;
  overflow-y: auto;
  background: #fff;
  padding: 32px 24px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.8;
  color: #2c2c2c;
  scroll-behavior: smooth;
}

.books-reader-page::-webkit-scrollbar { width: 6px; }
.books-reader-page::-webkit-scrollbar-track { background: #f5f5f5; }
.books-reader-page::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.books-reader-text {
  max-width: 600px;
  margin: 0 auto;
}

.books-reader-text p {
  margin: 0 0 1.2em;
  text-indent: 1.5em;
  text-align: justify;
  word-wrap: break-word;
}

.books-reader-text p:first-child {
  text-indent: 0;
}

.books-reader-chapter {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin: 2em 0 1em;
  padding: 0.5em 0;
  border-bottom: 1px solid #e8e4dc;
  text-indent: 0 !important;
}

.books-reader-text .books-reader-chapter + p {
  text-indent: 0;
}

.books-reader-unavailable {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 32px;
  color: #777;
  background: #fff;
}

.books-reader-unavailable i {
  font-size: 48px;
  color: #6c5ce7;
  margin-bottom: 16px;
}

.books-reader-unavailable h3 {
  font-size: 18px;
  color: #333;
  margin: 0 0 12px;
}

.books-reader-unavailable p {
  font-size: 13px;
  margin: 0 0 8px;
  line-height: 1.5;
  max-width: 300px;
  color: #666;
}

.books-reader-unavailable .books-detail-btn {
  margin-top: 16px;
}

.books-preview-page {
  background: #fff;
}

.books-preview-content {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0 40px;
}

.books-preview-cover {
  margin-bottom: 20px;
}

.books-preview-cover img {
  width: 160px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.books-preview-title {
  font-family: 'Georgia', serif;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.books-preview-author {
  font-size: 15px;
  color: #666;
  margin: 0 0 4px;
}

.books-preview-year {
  font-size: 13px;
  color: #999;
  margin: 0 0 20px;
}

.books-preview-quote {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 16px;
  color: #444;
  border-left: 3px solid #6c5ce7;
  padding: 12px 16px;
  margin: 20px 0;
  text-align: left;
  background: #f8f6f1;
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}

.books-preview-about {
  text-align: left;
  margin: 20px 0;
}

.books-preview-about h3 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}

.books-preview-about p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.books-preview-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 16px 0;
}

.books-preview-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: #f0eef8;
  color: #6c5ce7;
  border-radius: 12px;
}

.books-preview-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-top: 24px;
  padding: 14px 16px;
  background: #fff8e7;
  border-radius: 10px;
  border: 1px solid #f0e4c0;
  font-size: 13px;
  color: #8a7040;
  line-height: 1.5;
}

.books-preview-note i {
  color: #d4a017;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
