/* Single Manga - chapter panel 2026
 * Visual alinhado ao layout de referência enviado pelo usuário.
 */
body.single-manga .manga-content{
  margin-top:26px;
}
body.single-manga .manga-tabs{
  display:none!important;
}
body.single-manga .manga-tab-content.manga-chapters-section{
  display:block!important;
  padding:0 24px 24px!important;
}
body.single-manga .manga-tab-content.manga-related-section{
  display:block!important;
  padding:30px 24px 0!important;
}
body.single-manga .manga-chapters{
  width:100%;
  min-height:0!important;
  height:auto!important;
  padding:18px!important;
  border:1px solid rgba(125,149,190,.24)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#0d1626 0%,#09111e 100%)!important;
  box-shadow:0 18px 48px rgba(0,0,0,.22)!important;
  overflow:visible!important;
}
body.single-manga .chapter-panel-toolbar{
  min-height:52px;
  margin:0 0 14px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid rgba(135,157,194,.15)!important;
}
body.single-manga .chapters-heading-wrap{
  gap:8px!important;
}
body.single-manga .chapters-title{
  margin:0!important;
  font-size:1.18rem!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:.015em!important;
  color:#f5f7ff!important;
}
body.single-manga .chapters-title-icon{
  color:#c6d3eb!important;
  font-size:.92rem!important;
}
body.single-manga .chapters-total{
  display:none!important;
}
body.single-manga .chapters-toolbar-actions{
  gap:8px!important;
}
body.single-manga .chapter-search-box{
  flex:0 1 255px!important;
  min-width:210px!important;
  max-width:255px!important;
}
body.single-manga .chapter-search-box input{
  height:38px!important;
  border-radius:12px!important;
  border:1px solid rgba(126,151,193,.32)!important;
  background:#09121f!important;
  color:#e9effa!important;
  box-shadow:none!important;
}
body.single-manga .chapters-view-toggle{
  height:38px!important;
  padding:3px!important;
  gap:2px!important;
  border-radius:12px!important;
  border:1px solid rgba(126,151,193,.24)!important;
  background:#09121f!important;
}
body.single-manga .view-toggle-btn{
  min-height:30px!important;
  height:30px!important;
  padding:0 11px!important;
  border-radius:9px!important;
  color:#a8b7cf!important;
  font-size:.7rem!important;
  font-weight:850!important;
}
body.single-manga .view-toggle-btn.active{
  color:#fff!important;
  border:1px solid rgba(255,102,142,.48)!important;
  background:linear-gradient(135deg,rgba(149,44,78,.72),rgba(85,34,72,.72))!important;
}
body.single-manga .chapter-add-button{
  height:38px!important;
  padding:0 15px!important;
  border-radius:12px!important;
  background:#17243a!important;
  color:#f2f6ff!important;
}
body.single-manga .chapters-container{
  min-height:0!important;
  height:auto!important;
}
body.single-manga .chapters-container.grid-mode .chapters-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:10px!important;
  margin:0!important;
  min-height:0!important;
  height:auto!important;
}
body.single-manga .chapter-grid-item{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  min-width:0!important;
  min-height:105px!important;
  height:auto!important;
  padding:0!important;
  border:1px solid rgba(125,149,190,.28)!important;
  border-radius:14px!important;
  background:#0b1423!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.single-manga .chapter-grid-item:before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:10px!important;
  bottom:10px!important;
  width:3px!important;
  border-radius:0 4px 4px 0!important;
  background:#667da6!important;
}
body.single-manga .chapter-card-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  padding:14px 13px 10px!important;
}
body.single-manga .chapter-grid-number{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0!important;
  color:#f1f5ff!important;
}
body.single-manga .chapter-grid-number strong{
  font-size:.94rem!important;
  line-height:1!important;
  font-weight:850!important;
}
body.single-manga .chapter-status-dot{
  width:9px!important;
  height:9px!important;
  border:3px solid #607493!important;
  border-radius:50%!important;
  background:#c8d3e7!important;
}
body.single-manga .chapter-new-tag{
  padding:3px 6px!important;
  border-radius:999px!important;
  font-size:.54rem!important;
  line-height:1!important;
  background:linear-gradient(135deg,#ff416e,#ca2d67)!important;
}
body.single-manga .chapter-grid-date{
  flex:none!important;
  height:22px!important;
  padding:0 7px!important;
  border:1px solid rgba(132,156,198,.3)!important;
  border-radius:999px!important;
  background:#101a2a!important;
  color:#c8d3e7!important;
  font-size:.61rem!important;
  line-height:20px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.single-manga .chapter-grid-title{
  margin:-2px 0 0!important;
  padding:0 13px 7px!important;
  font-size:.69rem!important;
  line-height:1.25!important;
  color:#8294b2!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.single-manga .chapter-card-actions{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:0 13px 13px!important;
  flex-wrap:wrap!important;
}
body.single-manga .chapter-action{
  min-height:29px!important;
  height:29px!important;
  padding:0 10px!important;
  gap:5px!important;
  border:1px solid rgba(128,151,190,.3)!important;
  border-radius:999px!important;
  background:#0a1321!important;
  color:#dce7f8!important;
  font-size:.68rem!important;
  font-weight:800!important;
}
body.single-manga .chapter-delete-action{
  color:#ffc3cf!important;
  border-color:rgba(255,92,128,.38)!important;
}
body.single-manga .chapters-load-more-wrap{
  display:flex!important;
  justify-content:center!important;
  margin:16px 0 0!important;
}
body.single-manga .chapters-load-more{
  min-height:36px!important;
  padding:0 16px!important;
  border-radius:999px!important;
  background:#18243a!important;
  color:#dce5f6!important;
  font-size:.72rem!important;
  font-weight:850!important;
}
body.single-manga .manga-related-section{
  margin-top:18px!important;
}
@media (max-width:1200px){
  body.single-manga .chapters-container.grid-mode .chapters-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:900px){
  body.single-manga .manga-tab-content.manga-chapters-section{padding:0 14px 18px!important}
  body.single-manga .manga-chapters{padding:14px!important}
  body.single-manga .chapter-panel-toolbar{align-items:flex-start!important}
  body.single-manga .chapters-toolbar-actions{width:100%!important;justify-content:flex-start!important;flex-wrap:wrap!important}
  body.single-manga .chapter-search-box{flex:1 1 100%!important;max-width:none!important;min-width:100%!important}
  body.single-manga .chapters-container.grid-mode .chapters-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:560px){
  body.single-manga .manga-tab-content.manga-chapters-section{padding:0 8px 14px!important}
  body.single-manga .manga-chapters{padding:12px!important;border-radius:14px!important}
  body.single-manga .chapters-container.grid-mode .chapters-grid{grid-template-columns:1fr!important}
  body.single-manga .chapter-card-top{padding:13px 12px 9px!important}
  body.single-manga .chapter-card-actions{padding:0 12px 12px!important}
}

/* Paginação dos capítulos sem numeração: somente anterior/próxima */
.chapters-pagination .chapters-page-nav{min-width:112px;padding:0 18px}
.chapters-pagination .chapters-page-nav.is-prev{margin-right:4px}
.chapters-pagination .chapters-page-nav.is-next{margin-left:4px}
@media(max-width:480px){.chapters-pagination .chapters-page-nav{min-width:0;flex:1;max-width:150px}}
