body {
  background-color: #0b1120;
  color: #f8fafc;
  overflow-x: hidden;
}
.glass {
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.glass-panel {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0b1120; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #0ea5e9; }
.loader {
  border-top-color: #0ea5e9;
  animation: spinner 1s linear infinite;
}
@keyframes spinner { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.swiper-pagination-bullet { background: rgba(255,255,255,0.25); margin: 0 6px !important; transition: all 0.4s ease; }
.swiper-pagination-bullet-active { background: #0ea5e9; width: 32px; border-radius: 8px; box-shadow: 0 0 10px rgba(14, 165, 233, 0.6); }
.swiper-pagination { bottom: 12px !important; }
#progressBar { transition: width 0.2s ease-out; }
#readerArea img { transition: filter 0.3s ease, max-width 0.3s ease, width 0.3s ease; }
.card-hover { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.card-hover:hover { transform: translateY(-4px); border-color: rgba(14,165,233,.45); background: rgba(15,23,42,.86); }
.line-clamp-1 { overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:1; }
.line-clamp-2 { overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.line-clamp-3 { overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.safe-bottom { padding-bottom: max(0.5rem, env(safe-area-inset-bottom)); }
