/* =========================
   MANGA PAGE (THEME DEFAULT)
   ========================= */

.manga-page * { box-sizing: border-box; }

/* ===== HERO (banner) ===== */
.manga-page .manga-hero{
  min-height: 240px;
  border-radius: 16px;
  overflow: hidden;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
}
.manga-page .manga-hero__overlay{
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.55) 45%,
    rgba(0,0,0,.20) 100%
  );
}
.manga-page .manga-hero__content{
  position: relative;
  z-index: 2;
  padding: 18px 0;
}
.manga-page .manga-type-tag{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .06em;
  color: #fff;
  background: rgba(255, 55, 85, .95);
  text-transform: uppercase;
}
.manga-page .manga-title{
  margin: 10px 0 0 0;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 10px 25px rgba(0,0,0,.55);
  max-width: 980px;
}

/* ===== LAYOUT (remove “espaço bizarro”) ===== */
.manga-page .manga-layout{
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 992px){
  .manga-page .manga-layout{ grid-template-columns: 1fr; }
}

/* Sidebar sticky */
.manga-page .manga-sidebar{ position: sticky; top: 18px; }
@media (max-width: 992px){
  .manga-page .manga-sidebar{ position: static; }
}

/* Card sidebar */
.manga-page .manga-card{
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.manga-page .manga-card__body{ padding: 12px; }

/* Capa */
.manga-page .manga-cover{
  width: 100%;
  aspect-ratio: 3 / 4;
  background: rgba(0,0,0,.35);
}
.manga-page .manga-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.manga-page .manga-cover--placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stars (display) */
.manga-page .manga-stars{
  display: inline-flex;
  gap: 2px;
  line-height: 1;
}
.manga-page .manga-star{
  color: rgba(255,255,255,.28);
  font-size: 1rem;
}
.manga-page .manga-star.is-on{ color: rgba(255,215,0,.95); }
.manga-page .manga-star.is-half{ color: rgba(255,215,0,.65); }

/* Stats na sidebar */
.manga-page .manga-sidebar__stats{
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.manga-page .manga-sidebar__stat{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.08);
}
.manga-page .manga-sidebar__statlabel{
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 3px;
}
.manga-page .manga-sidebar__statvalue{
  color: rgba(255,255,255,.92);
  font-weight: 800;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

/* Rate box (clickable stars) */
.manga-page .manga-ratebox{ margin-top: 10px; }
.manga-page .manga-ratebox__stars{
  display: inline-flex;
  gap: 6px;
  margin-top: 6px;
}
.manga-page .manga-rate-star{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
  cursor: pointer;
  line-height: 1;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.manga-page .manga-rate-star:hover{
  border-color: rgba(255,215,0,.45);
  color: rgba(255,215,0,.95);
  background: rgba(255,215,0,.08);
}
.manga-page .manga-ratebox__msg{
  margin-top: 8px;
  font-size: .85rem;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
}
.manga-page .manga-ratebox__msg.is-error{
  border-color: rgba(255,80,110,.35);
  color: rgba(255,180,190,.95);
}
.manga-page .manga-ratebox__msg.is-ok{
  border-color: rgba(60,200,130,.28);
  color: rgba(190,255,220,.95);
}

/* ===== SEÇÕES ===== */
.manga-page .manga-section{ margin-bottom: 18px; }
.manga-page .manga-section__title{
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: rgba(255,255,255,.95);
}

/* ===== INFORMAÇÕES ===== */
.manga-page .manga-info-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}
@media (max-width: 768px){
  .manga-page .manga-info-grid{ grid-template-columns: 1fr; }
}
.manga-page .manga-info-item{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  min-width: 0;
}
.manga-page .manga-info-item--wide{ grid-column: 1 / -1; }
.manga-page .manga-info-k{
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  margin-bottom: 4px;
}
.manga-page .manga-info-v{
  color: rgba(255,255,255,.92);
  overflow-wrap: anywhere;
}

/* Gêneros */
.manga-page .manga-genres{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.manga-page .manga-chip{
  text-decoration: none;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .86rem;
}
.manga-page .manga-chip:hover{
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

/* ===== SINOPSE ===== */
.manga-page .manga-synopsis{
  position: relative;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  padding: 12px 12px 56px 12px;
}
.manga-page .manga-synopsis__body{
  overflow: hidden;
}
.manga-page .manga-synopsis__fade{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 50px;
  height: 70px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(11,11,11,0), rgba(11,11,11,.95));
}
.manga-page .manga-synopsis__btn{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .85rem;
  cursor: pointer;
}
.manga-page .manga-synopsis__btn:hover{
  background: rgba(0,0,0,.75);
  border-color: rgba(255,255,255,.4);
}

/* ===== VOLUMES (accordion) ===== */
.manga-page .manga-volumes{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.manga-page .manga-volume{
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.manga-page .manga-volume__toggle{
  width: 100%;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.92);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}
.manga-page .manga-volume__title{
  font-weight: 900;
}
.manga-page .manga-volume__chev{
  opacity: .85;
  font-size: 1.1rem;
  transform: rotate(0deg);
  transition: transform .12s ease;
}
.manga-page .manga-volume__toggle[aria-expanded="true"] .manga-volume__chev{
  transform: rotate(180deg);
}
.manga-page .manga-volume__panel{
  padding: 0 12px 12px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Chapters grid (inside volumes) */
.manga-page .manga-chapter-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  padding-top: 10px;
}
@media (max-width: 420px){
  .manga-page .manga-chapter-grid{ grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
.manga-page .manga-chapter-pill{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
  font-size: .88rem;
  min-width: 0;
}
.manga-page .manga-chapter-pill:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}

/* Chapters list (no volumes) */
.manga-page .manga-chapter-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.manga-page .manga-chapter{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
}
.manga-page .manga-chapter:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}
.manga-page .manga-chapter__title{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.manga-page .manga-chapter__arrow{
  opacity: .7;
  font-size: 1.2rem;
}
/* ===== Header estilo do print ===== */
.site-header { position: sticky; top: 0; z-index: 1000; }
.site-topbar {
  background: #15181f;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 0;
}

.site-brand { text-decoration: none; display:flex; align-items:center; gap:10px; color:#fff; }
.site-brand__text { font-weight: 800; letter-spacing: .2px; }

.site-nav__btn,
.site-nav__link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
}
.site-nav__btn:hover,
.site-nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

.site-search {
  position: relative;
  display:flex;
  align-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 280px;
}
.site-search__icon { opacity: .7; margin-right: 8px; }
.site-search__input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: rgba(255,255,255,.95);
}
.site-search__input::placeholder { color: rgba(255,255,255,.55); }

.site-btn { border-radius: 999px; padding: 8px 14px; font-weight: 700; }
.site-btn--ghost { color:#fff; border:1px solid rgba(255,255,255,.20); background: transparent; }
.site-btn--ghost:hover { background: rgba(255,255,255,.08); }
.site-btn--primary { background: #f5c04a; border:1px solid rgba(0,0,0,.15); color:#111; }
.site-btn--primary:hover { filter: brightness(.98); }
.site-btn--icon { border:1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); color:#fff; }

/* ===== Gêneros estilo do print ===== */
.page-hero{
  background: radial-gradient(1200px 400px at 20% 0%, rgba(0,0,0,.35), transparent),
              linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.10));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 18px;
}
.page-hero__title { font-size: 1.4rem; font-weight: 900; margin: 0 0 16px; }

.genre-list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px 26px;
}
.genre-list__item{
  text-decoration: none;
  color: rgba(255,255,255,.88);
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 10px;
  display: inline-flex;
  gap: 8px;
  width: fit-content;
}
.genre-list__item:hover{
  color:#fff;
  background: rgba(255,255,255,.06);
}
.genre-list__count{ opacity:.7; font-weight: 600; }
.genre-list__item.is-active{
  background: rgba(245,192,74,.12);
  border: 1px solid rgba(245,192,74,.25);
}

/* ===== Resultados do gênero ===== */
.genre-results{
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 22px;
}
.genre-results__header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.genre-results__title { margin:0; font-size: 2rem; font-weight: 900; }
.genre-results__meta { margin-top:6px; opacity:.7; font-weight: 700; letter-spacing:.5px; }

.genre-sort{ display:flex; align-items:center; gap:10px; }
.genre-sort__label{ opacity:.8; font-weight:700; }
.genre-sort__select{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.95);
  border-radius: 12px;
  padding: 8px 12px;
}

/* Cards */
.manga-cards{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.manga-card2{
  text-decoration:none;
  color: rgba(255,255,255,.92);
}
.manga-card2__cover{
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow:hidden;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
}
.manga-card2__cover img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.manga-card2__title{
  margin-top: 10px;
  font-weight: 800;
  line-height: 1.2;
  font-size: .98rem;
}
.site-header { position: sticky; top: 0; z-index: 1000; }
.site-topbar {
  background: #15181f;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 0;
}

.site-brand { text-decoration: none; display:flex; align-items:center; gap:10px; color:#fff; }
.site-brand__text { font-weight: 800; letter-spacing: .2px; }
.site-brand__logo { height: 28px; width: auto; display:block; }

.site-nav__link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
}
.site-nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

.site-search {
  position: relative;
  display:flex;
  align-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 280px;
}
.site-search__icon { opacity: .7; margin-right: 8px; }
.site-search__input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: rgba(255,255,255,.95);
}
.site-search__input::placeholder { color: rgba(255,255,255,.55); }

.site-btn--icon {
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color:#fff;
}
/* =========================
   GENRES PAGE (THEME DEFAULT)
   Cole este bloco no FINAL do style.css
========================= */

.page-hero{
  position: relative;
  background: radial-gradient(1000px 420px at 20% 0%, rgba(0,0,0,.35), transparent),
              linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.10));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 18px;
}

.page-hero__title{
  margin: 0 0 12px;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: .2px;
}

.page-hero__toggle{
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
}
.page-hero__toggle:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

.page-hero.is-collapsed .genre-list,
.page-hero.is-collapsed .genre-actions,
.page-hero.is-collapsed .genre-selected{
  display: none !important;
}

/* Chips de gêneros */
.genre-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  margin: 8px 0 12px;
}

.genre-list__item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
  font-size: .95rem;
  user-select: none;
}

.genre-list__item:hover{
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}

.genre-list__item.is-active{
  background: rgba(245,192,74,.14);
  border-color: rgba(245,192,74,.34);
  color: #fff;
}

/* Área de controles (match/ordenar/limpar) */
.genre-actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.genre-actions__left{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.genre-actions__label{
  opacity: .78;
  font-weight: 800;
  font-size: .9rem;
}

.genre-select{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 8px 12px;
  outline: none;
}

.genre-select:focus{
  border-color: rgba(245,192,74,.45);
  box-shadow: 0 0 0 3px rgba(245,192,74,.12);
}

.genre-clear{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  cursor: pointer;
}
.genre-clear:hover{
  background: rgba(255,255,255,.08);
}

/* Texto selecionados */
.genre-selected{
  margin-top: 10px;
  opacity: .8;
  font-weight: 800;
}

/* Resultados */
.genre-results{
  margin-top: 18px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 18px;
}

.genre-results__header{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.genre-results__title{
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
}

.genre-results__meta{
  margin-top: 6px;
  opacity: .72;
  font-weight: 900;
  letter-spacing: .35px;
  font-size: .95rem;
}

/* Cards */
.manga-cards{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.manga-card2{
  text-decoration: none;
  color: rgba(255,255,255,.92);
}

.manga-card2__cover{
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.manga-card2__cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
}

.manga-card2__placeholder{
  opacity: .75;
  padding: 10px;
}

.manga-card2__title{
  margin-top: 10px;
  font-weight: 900;
  line-height: 1.25;
  font-size: .98rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.manga-card2:hover .manga-card2__cover{
  border-color: rgba(245,192,74,.26);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

.manga-card2:hover .manga-card2__title{
  color: #fff;
}

/* Responsivo */
@media (max-width: 768px){
  .page-hero{ padding: 14px; }
  .page-hero__title{ font-size: 1.7rem; }
  .genre-list__item{ font-size: .92rem; padding: 7px 10px; }
  .genre-results__title{ font-size: 1.6rem; }
  .manga-cards{ grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
/* ==========================================
   GENRES PAGE: padrão Phoenix (dark/glass)
   ========================================== */

/* 1) Esconde opção OR/AND e textos relacionados (sem mexer no HTML) */
.genre-actions__label,
.genre-actions__left,
.genre-select,
.genre-clear {
  /* mantém os controles de ordenar/limpar se você quiser,
     mas se seu HTML coloca OR/AND dentro desse bloco,
     escondemos somente a parte de "Combinação" abaixo */
}

.genre-actions .combination,
.genre-actions .genre-combination,
.genre-actions [data-role="combination"],
.genre-actions select[name="match"],
.genre-actions select#match,
.genre-actions label[for="match"]{
  display: none !important;
}

/* Se seu HTML não tiver essas classes/atributos e mesmo assim aparece “Combinação”,
   esse fallback esconde qualquer linha com o texto no label (via estrutura comum). */
.genre-actions label{
  font-weight: 800;
}
.genre-actions label:has(+ select){
  /* não esconde todos, só serve se você tiver label "Combinação" + select logo depois.
     Se seu navegador não suportar :has, ignore, os seletores acima já devem pegar. */
}

/* 2) Chips de gêneros: 100% dark, sem fundo branco */
.genre-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  margin: 12px 0 14px;
}

/* remove aparência “padrão” de link/botão */
.genre-list__item{
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
  outline: none;

  display: inline-flex;
  align-items: center;

  padding: 9px 12px;
  border-radius: 999px;

  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);

  font-weight: 800;
  font-size: .95rem;
  line-height: 1;

  box-shadow:
    0 8px 20px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.04);

  transition: transform .08s ease, background .12s ease, border-color .12s ease, color .12s ease;
}

.genre-list__item:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
  color: #fff;
  transform: translateY(-1px);
}

/* estado ativo: destaque estilo “tag do banner” (sem checkbox) */
.genre-list__item.is-active{
  background: rgba(245,192,74,.14);
  border-color: rgba(245,192,74,.38);
  color: #fff;
  box-shadow:
    0 10px 26px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* pequeno indicador no chip ativo (fica elegante) */
.genre-list__item.is-active::after{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-left: 10px;
  background: rgba(245,192,74,.95);
  box-shadow: 0 0 0 4px rgba(245,192,74,.10);
}

/* 3) Ajusta a linha “Selecionados” pra não parecer debug */
.genre-selected{
  margin-top: 10px;
  opacity: .78;
  font-weight: 800;
}

/* 4) Botão “Limpar filtros” no padrão */
.genre-clear{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  cursor: pointer;
}
.genre-clear:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

/* 5) Select “Ordenar” no padrão */
.genre-select{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 8px 12px;
  outline: none;
}
.genre-select:focus{
  border-color: rgba(245,192,74,.45);
  box-shadow: 0 0 0 3px rgba(245,192,74,.12);
}

/* responsivo */
@media (max-width: 768px){
  .genre-list__item{
    padding: 10px 12px;
    font-size: .96rem;
  }
}
/* =========================
   GENRES PAGE (checkbox chips)
   cole no FINAL do style.css
   ========================= */

.genre-panel{
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 18px;
}

.genre-panel__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.genre-panel__title{
  margin: 0;
  font-size: 2.2rem;
  font-weight: 900;
}

.genre-panel__toggle{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}
.genre-panel__toggle:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

.genre-panel.is-collapsed .genre-panel__body{
  display:none;
}

/* grid de gêneros */
.genre-grid{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}

/* label chip */
.genre-check{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  cursor:pointer;
  user-select:none;
  font-weight: 800;
}
.genre-check:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}

/* input escondido */
.genre-check__input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

/* caixa de check */
.genre-check__box{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.25);
  display:inline-block;
  position: relative;
  flex: 0 0 18px;
}
.genre-check.is-active .genre-check__box{
  border-color: rgba(245,192,74,.55);
  background: rgba(245,192,74,.15);
}
.genre-check.is-active .genre-check__box::after{
  content: "";
  position:absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border-right: 2px solid rgba(245,192,74,.95);
  border-bottom: 2px solid rgba(245,192,74,.95);
  transform: rotate(45deg);
}

/* texto */
.genre-check__name{ white-space: nowrap; }
.genre-check__count{ opacity:.7; font-weight:700; }

/* ações */
.genre-actions{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.genre-actions__left{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}

.genre-actions__label{
  opacity:.78;
  font-weight: 900;
  font-size: .95rem;
}

.genre-select{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 8px 12px;
  outline: none;
}
.genre-select:focus{
  border-color: rgba(245,192,74,.45);
  box-shadow: 0 0 0 3px rgba(245,192,74,.12);
}

.genre-clear{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  cursor: pointer;
}
.genre-clear:hover{
  background: rgba(255,255,255,.08);
}

.genre-selected{
  margin-top: 10px;
  opacity: .85;
  font-weight: 900;
}

/* resultados */
.genre-results{
  margin-top: 18px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 18px;
}

.genre-results__title{
  margin:0;
  font-size: 2rem;
  font-weight: 900;
}

.genre-results__meta{
  margin-top: 6px;
  opacity: .72;
  font-weight: 900;
  letter-spacing: .35px;
  font-size: .95rem;
}
/* =========================
   RANKING PAGE
   ========================= */
.ranking-page{
  margin-top: 18px;
}

.ranking-head{
  margin-bottom: 14px;
}

.ranking-title{
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 1.05rem;
  opacity: .9;
  margin: 0;
}

.ranking-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1400px){
  .ranking-grid{ grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1200px){
  .ranking-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px){
  .ranking-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px){
  .ranking-grid{ grid-template-columns: repeat(2, 1fr); }
}

.rank-card{
  display:block;
  color: inherit;
  text-decoration: none;
}

.rank-card__cover{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.rank-card__cover img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display:block;
}

.rank-card__placeholder{
  width: 100%;
  height: 220px;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity: .7;
  font-weight: 800;
}

.rank-badge{
  position:absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f5c04a;
  color: #111;
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
  z-index: 2;
}

.rank-card__overlay{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 10px 10px 9px;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
}

.rank-card__title{
  font-weight: 900;
  font-size: .9rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-card__meta{
  margin-top: 10px;
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 10px;
  opacity: .95;
}

.rank-stars{
  display:flex;
  align-items:center;
  gap: 6px;
  white-space: nowrap;
}

.star{ font-size: 15px; line-height: 1; }
.star.is-full{ color: #f5c04a; }
.star.is-half{ color: #f5c04a; opacity: .6; }
.star.is-empty{ color: rgba(255,255,255,.35); }

.rank-rating{
  font-weight: 900;
  opacity: .85;
  margin-left: 6px;
}

.rank-sub{
  display:flex;
  flex-direction: column;
  gap: 2px;
  font-size: .82rem;
  opacity: .75;
  text-align:right;
}

.ranking-more{
  margin: 26px 0 6px;
  display:flex;
  justify-content:center;
}

.ranking-more__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: min(720px, 100%);
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .5px;
}
.ranking-more__btn:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.16);
}
/* Ranking badge */
.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #D28A2C;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 2;
}
/* ============ NOVOS (NEW) ============ */
.new-wrap{
  display:grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items:start;
}
@media (max-width: 992px){
  .new-wrap{ grid-template-columns: 1fr; }
}

.new-title{
  font-weight: 800;
  letter-spacing:.3px;
  margin: 10px 0 16px;
  text-transform: uppercase;
  font-size: 14px;
  opacity:.9;
}

.new-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1200px){
  .new-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  .new-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.new-card{
  display:block;
  text-decoration:none;
  color: inherit;
}
.new-card__cover{
  position:relative;
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  aspect-ratio: 3 / 4;
}
.new-card__cover img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.new-card__placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:.7;
}
.new-card__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.88) 92%);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding: 12px 12px 10px;
  gap: 6px;
}
.new-card__name{
  font-weight:800;
  font-size: 13px;
  line-height:1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.new-card__chapter{
  font-size: 12px;
  opacity:.85;
  line-height:1.2;
}

.new-more{
  display:flex;
  justify-content:center;
  padding: 18px 0 10px;
}
.new-more__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.5px;
}
.new-more__btn:hover{
  background: rgba(255,255,255,.12);
}

/* Sidebar (Tendências) */
.new-side .side-box{
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 16px;
}
.new-side .side-head{
  background: rgba(255, 179, 0, .22);
  color:#ffd27a;
  font-weight:800;
  padding: 10px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing:.5px;
}
.new-side .side-list{
  padding: 8px 10px 10px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.side-item{
  display:grid;
  grid-template-columns: 22px 46px 1fr;
  gap: 10px;
  align-items:center;
  text-decoration:none;
  color:#fff;
  padding: 8px 8px;
  border-radius: 12px;
}
.side-item:hover{
  background: rgba(255,255,255,.06);
}
.side-rank{
  width:22px;
  height:22px;
  border-radius: 7px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  font-weight:800;
  background: #D28A2C; /* azul pedido */
  color:#fff;
}
.side-cover{
  width:46px;
  height:60px;
  border-radius: 10px;
  overflow:hidden;
  background: rgba(255,255,255,.06);
}
.side-cover img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.side-cover__ph{
  width:100%;
  height:100%;
  opacity:.6;
}
.side-title{
  font-weight:800;
  font-size: 13px;
  line-height:1.2;
}
.side-sub{
  font-size: 12px;
  opacity:.8;
  line-height:1.2;
  margin-top: 3px;
}
/* =========================
   RANKING badge (pedido)
========================= */
.rank-badge{
  background:#D28A2C !important;
}

/* =========================
   NOVOS (NEW PAGE)
========================= */
.new-page{ padding: 10px 0 40px; }
.new-wrap{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap: 26px;
  align-items:start;
}
@media (max-width: 992px){
  .new-wrap{ grid-template-columns: 1fr; }
}

.new-head{ margin: 6px 0 14px; }
.new-title{
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 15px;
  opacity: .9;
}

.new-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1200px){
  .new-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  .new-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px){
  .new-grid{ grid-template-columns: 1fr; }
}

.new-card{
  display:block;
  color: inherit;
  text-decoration:none;
}
.new-card__cover{
  position:relative;
  border-radius: 12px;
  overflow:hidden;
  background: rgba(0,0,0,.28);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.new-card__cover img{
  width:100%;
  height: 260px;
  object-fit: cover;
  display:block;
  transform: scale(1.01);
}
.new-card__placeholder{
  height: 260px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.65);
  font-weight: 700;
  letter-spacing: .02em;
}

.new-card__overlay{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 12px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.08));
}
.new-card__manga{
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.new-card__chap{ margin-top: 8px; display:flex; gap: 6px; flex-wrap: wrap; }
.new-pill{
  display:inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}

.new-badge{
  position:absolute;
  left:10px; top:10px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #d28a2c;
  color:#111;
  font-weight: 900;
  font-size: 11px;
  letter-spacing:.02em;
}

.new-card__meta{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 4px 0;
  color: rgba(255,255,255,.75);
  font-size: 12px;
}
.new-meta__genres{
  opacity:.8;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 260px;
}
.new-meta__date{
  opacity:.8;
  white-space:nowrap;
}

/* paginação */
.new-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-top: 18px;
}
.new-pagebtn{
  width: 34px; height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration:none;
  color: rgba(255,255,255,.9);
}
.new-pageinfo{
  color: rgba(255,255,255,.65);
  font-weight: 700;
  font-size: 12px;
}

/* Sidebar tendências */
.trend-box{
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  padding: 12px;
}
.trend-head{ display:flex; justify-content:flex-start; }
.trend-chip{
  display:inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: #d28a2c;
  color:#111;
  font-weight: 900;
  font-size: 12px;
}

.trend-section{ margin-top: 12px; }
.trend-title{
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(210,138,44,.22);
  border: 1px solid rgba(210,138,44,.22);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 12px;
}

.trend-item{
  display:grid;
  grid-template-columns: 22px 44px 1fr;
  gap: 10px;
  align-items:center;
  padding: 10px 6px;
  text-decoration:none;
  color: inherit;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trend-item:last-child{ border-bottom: none; }

.trend-rank{
  width: 18px; height: 18px;
  border-radius: 6px;
  background: rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,.85);
}
.trend-cover{
  width: 44px; height: 56px;
  border-radius: 8px;
  overflow:hidden;
  background: rgba(0,0,0,.25);
}
.trend-cover img{ width:100%; height:100%; object-fit:cover; display:block; }

.trend-name{
  display:block;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.2;
}
.trend-genres{
  display:block;
  margin-top: 2px;
  font-size: 11px;
  opacity: .72;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
/* =========================
   NOVOS (page /novos)
========================= */
.new-page { padding-top: 8px; }

.new-wrap{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1100px){
  .new-wrap{ grid-template-columns: 1fr; }
  .new-side{ order: 2; }
}

.new-head{ margin: 10px 0 14px; }
.new-title{
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .06em;
  opacity: .9;
}

/* grid cards */
.new-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1200px){
  .new-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px){
  .new-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .new-grid{ grid-template-columns: 1fr; }
}

.new-card{
  display: block;
  text-decoration: none;
  color: inherit;
}

.new-cover{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 210px;
  background: rgba(0,0,0,.25);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.new-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.new-cover__ph{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.55);
  font-weight: 700;
  background: rgba(0,0,0,.28);
}

.new-overlay{
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.00));
}

.new-manga-title{
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 4px;
  max-height: 34px;
  overflow: hidden;
}

.new-chapter{
  font-weight: 700;
  font-size: 12px;
  opacity: .92;
  max-height: 32px;
  overflow: hidden;
}

.new-meta{
  padding: 10px 2px 0;
  font-size: 12px;
  opacity: .9;
}

.new-genres{
  color: rgba(255,255,255,.80);
  line-height: 1.3;
  margin-bottom: 6px;
}

.new-date{
  color: rgba(255,255,255,.70);
}

/* pagination */
.new-pagination{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 26px 0 10px;
}

.new-pagebtn{
  min-width: 36px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.new-pagebtn:hover{ background: rgba(255,255,255,.12); }
.new-pagebtn.is-disabled{ opacity: .35; pointer-events: none; }

.new-pageinfo{
  color: rgba(255,255,255,.70);
  font-weight: 700;
}

/* sidebar trends */
.trend-box{
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  padding: 14px;
}

.trend-title{
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.trend-section{ margin-top: 12px; }

.trend-h{
  display: inline-block;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  background: rgba(255,255,255,.10);
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.trend-item{
  display: grid;
  grid-template-columns: 22px 46px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}

.trend-item:hover{ background: rgba(255,255,255,.06); }

.trend-rank{
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  background: #D28A2C; /* azul do ranking */
  color: #fff;
}

.trend-thumb{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  display: block;
}

.trend-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trend-name{
  font-weight: 900;
  font-size: 13px;
  line-height: 1.2;
  display: block;
  margin-bottom: 2px;
}

.trend-genres{
  display: block;
  font-size: 11px;
  opacity: .75;
  line-height: 1.2;
}
/* =========================
   NOVOS (page /novos) - FIXES
========================= */
.new-wrap{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items:start;
}
@media (max-width:1100px){
  .new-wrap{ grid-template-columns:1fr; }
}

/* garante que o card NÃO vaze texto pra fora (bug do print) */
.new-card{
  display:flex !important;
  flex-direction:column !important;
  min-width:0;
  text-decoration:none;
  color:inherit;
}

.new-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
@media (max-width:1200px){ .new-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:900px){ .new-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px){ .new-grid{ grid-template-columns:1fr; } }

.new-cover{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  height:220px;
  background:rgba(0,0,0,.25);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.new-cover img{ width:100%; height:100%; object-fit:cover; display:block; }

.new-cover__ph{
  width:100%; height:100%;
  display:grid; place-items:center;
  color:rgba(255,255,255,.55);
  font-weight:700;
  background:rgba(0,0,0,.28);
}

.new-pill{
  position:absolute;
  top:10px; left:10px;
  z-index:3;
  background:#d89b2a;
  color:#0b0b0b;
  font-weight:900;
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
}

.new-overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:12px 12px 10px;
  background:linear-gradient(to top, rgba(0,0,0,.80), rgba(0,0,0,0));
}

.new-manga-title{
  font-weight:900;
  font-size:13px;
  line-height:1.2;
  margin-bottom:6px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.new-chapter{
  font-weight:800;
  font-size:12px;
  opacity:.92;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.new-badges{
  display:flex;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap;
}
.new-badge{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-weight:800;
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
}

/* >>> aqui corrige o “gêneros correndo pela linha inteira” */
.new-meta{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  margin-top:10px !important;
  padding:0 2px !important;
}

.new-genres{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  font-size:12px;
  line-height:1.35;
  color:rgba(255,255,255,.78);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin-bottom:6px;
}

.new-date{
  display:block !important;
  font-size:12px;
  color:rgba(255,255,255,.65);
}

/* sidebar tabs funcional */
.trend-box{
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);
  padding:14px;
}

.trend-top{ display:flex; flex-direction:column; gap:10px; }
.trend-title{ font-weight:900; }

.trend-tabs{
  display:flex;
  gap:10px;
}
.trend-tab{
  flex:1;
  background:rgba(216,155,42,.18);
  border:1px solid rgba(216,155,42,.30);
  color:#fff;
  font-weight:900;
  font-size:12px;
  padding:10px 12px;
  border-radius:10px;
  cursor:pointer;
  text-align:left;
}
.trend-tab.is-active{
  background:#d89b2a;
  color:#0b0b0b;
  border-color:#d89b2a;
}

.trend-panel{ display:none; margin-top:8px; }
.trend-panel.is-active{ display:block; }

.trend-item{
  display:grid;
  grid-template-columns: 22px 46px 1fr;
  gap:10px;
  align-items:center;
  padding:10px 8px;
  border-radius:12px;
  text-decoration:none;
  color:inherit;
}
.trend-item:hover{ background:rgba(255,255,255,.06); }

.trend-rank{
  width:22px; height:22px;
  border-radius:8px;
  display:grid; place-items:center;
  font-weight:900;
  font-size:12px;
  background:#232BC7;
  color:#fff;
}

.trend-thumb{
  width:46px; height:46px;
  border-radius:12px;
  overflow:hidden;
  background:rgba(0,0,0,.25);
  display:block;
}
.trend-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

.trend-name{
  font-weight:900;
  font-size:13px;
  line-height:1.2;
  display:block;
  margin-bottom:2px;
}
.trend-genres{
  display:block;
  font-size:11px;
  opacity:.75;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
