.section-popular {
  margin-bottom: 30px;
  padding: 0 15px;
}

.section-popular h2 {
  color: #00eacb;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.popular-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 12px;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.popular-slider::-webkit-scrollbar {
  display: none;
}

.popular-item {
  flex: 0 0 auto;
  width: 130px;
  scroll-snap-align: start;
  background: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
}

.popular-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.popular-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.popular-item .title {
  padding: 6px 8px 2px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #00eacb;
  height: 40px;
  overflow: hidden;
}

.popular-item .chapter {
  padding: 0 8px 8px;
  font-size: 0.8rem;
  color: #ccc;
}
/* ================================
✅ Light Mode Override (Global)
================================ */
body.mp-light {
  background-color: #f5f5f5 !important;
  color: #111 !important;
}

body.mp-light a {
  color: #007acc !important;
}

body.mp-light .button {
  background-color: #007acc !important;
  color: #fff !important;
}

body.mp-light .button:hover {
  background-color: #005f9e !important;
}

body.mp-light input,
body.mp-light textarea {
  background-color: #fff !important;
  color: #111 !important;
  border-color: #ccc !important;
}

body.mp-light .chapter-header,
body.mp-light .chapter-footer,
body.mp-light .app-footer,
body.mp-light .app-header {
  background-color: #ffffff !important;
  color: #111 !important;
  border-color: #ddd !important;
}
