/* 🌊 Thẻ thư viện */
.card-header {
    background: #007bff !important;
    color: #fff !important;
    font-weight: 600;
}

/* 📚 Khối danh sách truyện cuộn */
.genre-scroll {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;                /* Firefox */
    scrollbar-color: #007bff #f1f1f1;
}
.hot-banner {
  position: relative;
  margin-top: 70px; /* hoặc đúng chiều cao header */
}

/* Chrome, Edge scrollbar */
.genre-scroll::-webkit-scrollbar {
    width: 6px;
}
.genre-scroll::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 3px;
}
.genre-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* 📘 Card truyện trong danh sách */
.genre-scroll {
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #007bff #f1f1f1;
  scroll-behavior: smooth;
  position: relative;
}

.scroll-btn {
  position: absolute;
  right: 6px;
  width: 28px;
  height: 28px;
  line-height: 1;
  border-radius: 50%;
  font-weight: bold;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 5;
}

#scrollUp {
  bottom: 60px;
}
#scrollDown {
  bottom: 20px;
}
#genreStories .btn {
    font-size: 0.85rem;
    border-radius: 6px;
    padding: 4px 10px;
}
.content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 10px 0;
}
.content p {
  margin-bottom: 1rem;
}
.breadcrumb {
  background: #f8f9fa;
  border: 1px solid #e2e6ea;
}
.breadcrumb a {
  text-decoration: none;
  color: #007bff;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.card-header {
  border-radius: 6px 6px 0 0;
}
.card-body a:hover {
  color: #007bff;
}
.card-body::-webkit-scrollbar {
  width: 6px;
}
.card-body::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 3px;
}
.card-body::-webkit-scrollbar-thumb:hover {
  background: #888;
}
