/*
Theme Name: LabuComics Child
Description:  A child theme for Madara - WordPress Theme for Manga, Novel sites
Author:       Yamato e Dark
Author URI:   blabla
Template: madara
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Version: 0.0.1
*/


/* ===============================
   VARIABLES (THEME BASE)
================================ */


:root {
  --background: #0b0c10;
  --foreground: #ffffff;
  --muted-foreground: #9ca3af;

  --card: #111827;
  --border: rgba(255,255,255,0.08);

  --primary: #7c3aed;
  --accent: #ec4899;

  --green: #22c55e;
  --blue: #3b82f6;
}

/* ===============================
   PAGE BASE
================================ */
.series-page {
  min-height: 100vh;
  padding-bottom: 5rem;
  background: var(--background);
  color: var(--foreground);
}

@media (min-width: 768px) {
  .series-page {
    padding-bottom: 2rem;
  }
}

/* ===============================
   HERO / BACKGROUND
================================ */
.series-hero {
  position: relative;
  overflow: hidden;
}

.series-hero-bg {
  position: absolute;
  inset: 0;
  height: 600px;
}

.series-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: blur(20px);
  opacity: 0.3;
}

.series-hero-overlay-vertical {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,12,16,0.5),
    rgba(11,12,16,0.8),
    var(--background)
  );
}

.series-hero-overlay-horizontal {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(124,58,237,0.2),
    transparent,
    rgba(236,72,153,0.2)
  );
}

/* ===============================
   CONTAINER
================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  position: relative;
}

/* ===============================
   BREADCRUMB
================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--foreground);
}

/* ===============================
   GRID
================================ */
.series-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .series-grid {
    grid-template-columns: 4fr 8fr;
    gap: 3rem;
  }
}

/* ===============================
   COVER / STICKY
================================ */
.series-cover-wrapper {
  position: sticky;
  top: 6rem;
}

.series-cover {
  position: relative;
}

.series-cover::before {
  content: "";
  position: absolute;
  inset: -1rem;
  background: linear-gradient(135deg, rgba(124,58,237,.3), rgba(236,72,153,.3));
  filter: blur(40px);
  border-radius: 2rem;
  opacity: .5;
  z-index: -1;
}

.series-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0,0,0,.6);
}

/* ===============================
   EXCLUSIVE BADGE
================================ */
.badge-exclusive {
  position: absolute;
  top: 1rem;
  right: -0.75rem;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #fff;
  padding: .5rem 1rem;
  font-weight: bold;
  font-size: .875rem;
  border-radius: .75rem .75rem .75rem 0;
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ===============================
   RATING BADGE
================================ */
.rating-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(8px);
  border-radius: .75rem;
  padding: .75rem;
  border: 1px solid rgba(255,255,255,.1);
}

/* ===============================
   PRIMARY BUTTON
================================ */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: #ffffff;
  font-weight: bold;
  border-radius: .75rem;
  text-decoration: none;
  transition: all .25s;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(124,58,237,.5);
}

/* ===============================
   ICON BUTTONS
================================ */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}

.icon-card {
  background: rgba(17,24,39,.5);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: .75rem;
  text-align: center;
  transition: all .2s;
}

.icon-card:hover {
  border-color: rgba(124,58,237,.5);
  background: var(--card);
}

/* ===============================
   STATS
================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.stat-card {
  background: rgba(17,24,39,.5);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: 1rem;
}

/* ===============================
   TITLE / META
================================ */
.series-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
}

.series-author {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

/* ===============================
   TAGS
================================ */
.tag {
  padding: .375rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  border-radius: .5rem;
  border: 1px solid rgba(124,58,237,.2);
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(236,72,153,.1));
  color: var(--primary);
}

.tag-green {
  background: rgba(5, 181, 235, 0.699) 0.2;
  color: var(--green);
  border: 1px solid rgba(34,197,94,.3);
	border-radius: 6px;
	font-size: .875rem;
  font-weight: 500;
	padding: .375rem .75rem;
}

.tag-blue {
  background: rgba(59,130,246,.2);
  color: var(--blue);
  border: 1px solid rgba(59,130,246,.3);
}

/* ===============================
   PROGRESS BAR
================================ */
.progress {
  height: .5rem;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #22c55e, #10b981);
}

/* ===============================
   TABS
================================ */
.tabs {
  display: flex;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.tab {
  padding: .75rem 1.5rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
}

.tab.active {
  color: var(--primary);
}

.tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

/* ===============================
   CARD
================================ */
.card {
  background: rgba(17,24,39,.5);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: .75rem;
}

/* ===============================
   EPISODES
================================ */
.episode {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  transition: all .25s;
}

.episode:hover {
  border-color: rgba(124,58,237,.5);
  box-shadow: 0 10px 30px rgba(124,58,237,.1);
}

.episode-number {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(236,72,153,.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.episode-thumb {
  width: 5rem;
  height: 7rem;
  border-radius: .5rem;
  overflow: hidden;
}

.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.episode:hover img {
  transform: scale(1.1);
}

.episode-title {
  font-weight: bold;
}

.episode:hover .episode-title {
  color: var(--primary);
}

/* ===============================
   BADGES
================================ */
.badge-free {
  background: rgba(34,197,94,.2);
  color: var(--green);
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
}

.badge-vip {
  background: rgba(124,58,237,.2);
  color: var(--primary);
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
}

.badge-paid {
  background: rgba(236,72,153,.2);
  color: var(--accent);
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
}



.hs-stars {
  margin-top: .4rem;
  display: flex;
  gap: .25rem;
  cursor: pointer;
}

.hs-star {
  color: #444;
  transition: .2s;
}

.hs-star.active {
  color: #facc15;
}

.hs-star:hover,
.hs-star:hover ~ .hs-star {
  color: #facc15;
}






.chapter-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.chapter-card {
  background: #161618;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 1rem;
  padding: 1rem;
  transition: .25s;
  display: block;
}

.chapter-card:hover {
  background: #1c1c1f;
  border-color: rgba(168,85,247,.4);
}

.chapter-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.chapter-thumb {
  width: 80px;
  height: 112px;
  background: #0b0b0c;
  border-radius: .75rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chapter-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.chapter-card:hover .chapter-thumb-img {
  transform: scale(1.08);
}

.chapter-thumb-img.locked {
  filter: blur(3px) grayscale(1);
  opacity: .4;
}

.chapter-thumb-fallback {
  font-weight: 900;
  font-size: 1.2rem;
  color: rgba(168,85,247,.3);
}

.chapter-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chapter-lock-overlay.locked {
  background: rgba(0,0,0,.6);
  color: #fff;
}

.chapter-lock-overlay.unlocked {
  background: rgba(0,0,0,.35);
  color: #34d399;
}

.chapter-info {
  flex: 1;
  min-width: 0;
}

.chapter-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chapter-card:hover .chapter-title {
  color: #c084fc;
}

.chapter-meta {
  margin-top: .4rem;
  font-size: .65rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .08em;
}

.chapter-meta i {
  color: rgba(168,85,247,.5);
  margin-right: .3rem;
}

.chapter-tags {
  margin-top: .6rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .6rem;
  font-weight: 900;
  padding: .35rem .6rem;
  border-radius: .5rem;
  text-transform: uppercase;
}

.tag-success {
  background: rgba(52,211,153,.1);
  color: #34d399;
  border: 1px solid rgba(52,211,153,.2);
}

.tag-purple {
  background: rgba(168,85,247,.15);
  color: #c084fc;
  border: 1px solid rgba(168,85,247,.25);
}

.chapter-arrow {
  opacity: .15;
  transition: .25s;
}

.chapter-card:hover .chapter-arrow {
  opacity: 1;
  transform: translateX(4px);
  color: #a855f7;
}



.fragment-icon {
  width: 1em;
  height: 1em;
  color: #a855f7; /* Roxo Fragmentos */
  fill: currentColor;
  filter: drop-shadow(0 0 6px rgba(168,85,247,.6));
  vertical-align: middle;
}


/* Forçar Tema Dark em tudo */
:root {
    color-scheme: dark;
}

body {
    background-color: #080808 !important;
    padding-top: 64px !important; /* Espaço para a header */
}

/* Ajuste específico para a Barra do Admin do WordPress */
@media screen and (max-width: 782px) {
    body.admin-bar .fixed.top-\[32px\] {
        top: 46px !important;
    }
}

/* Garante que a logo não exploda em tamanho */
.fixed nav img {
    max-height: 64px !important;
    width: auto !important;
	
}

/* Remove qualquer resquício de header antiga do Madara */
header, .c-main-navigation, .main-header, .site-header {
    display: none !important;
}

/* Mantém apenas a NOSSA header visível */
nav.fixed {
    display: flex !important;
}

/* Z-index extra para o modal do Madara não ficar atrás da header */
.modal-backdrop {
    z-index: 9990 !important;
}
#form-login {
    z-index: 99999 !important;
}

/* ===============================
   VARIÁVEIS BASE (ajuste ao seu tema)
================================ */
:root {
  --color-primary: #7c3aed;        /* roxo */
  --color-accent: #a855f7;
  --color-card: rgba(20,20,30,0.8);
  --color-secondary: rgba(255,255,255,0.06);
  --color-border: rgba(255,255,255,0.1);
  --color-muted: #9ca3af;
  --color-foreground: #e5e7eb;
  --color-destructive: #ef4444;
}

/* ===============================
   HEADER FIXO
================================ */
.madara-navbar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--color-card);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: all .3s ease;
}

.madara-navbar.top-admin {
  top: 32px;
}

.madara-navbar.top-normal {
  top: 0;
}

/* ===============================
   CONTAINER
================================ */
.madara-navbar .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .madara-navbar .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .madara-navbar .container {
    padding: 0 2rem;
  }
}

/* ===============================
   FLEX HEADER
================================ */
.madara-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* ===============================
   LOGO
================================ */
.madara-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}

.madara-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .2s ease;
}

.madara-logo:hover .madara-logo-icon {
  transform: scale(1.05);
}

.madara-logo-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.madara-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: none;
}

@media (min-width: 640px) {
  .madara-logo-text {
    display: block;
  }
}

/* ===============================
   SEARCH
================================ */
.madara-search {
  display: none;
  flex: 1;
  max-width: 420px;
  margin: 0 2rem;
}

@media (min-width: 768px) {
  .madara-search {
    display: flex;
  }
}

.madara-search-wrapper {
  position: relative;
  width: 100%;
}

.madara-search-wrapper input[type="text"] {
  width: 100%;
  padding: .5rem 1rem .5rem 2.5rem;
  border-radius: 9999px;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
  outline: none;
}

.madara-search-wrapper input[type="text"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(124,58,237,.4);
}

/* ===============================
   USER AREA
================================ */
.madara-user-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.madara-avatar-btn {
  padding: .5rem;
  border-radius: 9999px;
  background: transparent;
  transition: background .2s;
}

img.avatar.avatar-32.photo.madara-avatar {
    max-width: 100%;
    height: auto;
    border-radius: 50px;
}

.madara-avatar-btn:hover {
  background: var(--color-secondary);
	
}

/* ===============================
   DROPDOWN
================================ */
.madara-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: .5rem;
  width: 288px;
  background: var(--color-card);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
  z-index: 50;
}

.madara-user:hover .madara-dropdown {
  opacity: 1;
  visibility: visible;
}

.madara-dropdown-header {
  padding: 1rem;
  background: linear-gradient(
    90deg,
    rgba(124,58,237,.1),
    rgba(168,85,247,.1)
  );
  border-bottom: 1px solid var(--color-border);
}

/* ===============================
   DROPDOWN LINKS
================================ */
.madara-menu a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: .875rem;
  color: var(--color-foreground);
  text-decoration: none;
}

.madara-menu a:hover {
  background: var(--color-secondary);
}

.madara-menu a.admin {
  color: var(--color-primary);
  font-weight: 600;
}

.madara-menu a.logout {
  color: var(--color-destructive);
}

.madara-divider {
  height: 1px;
  background: var(--color-border);
  margin: .5rem 0;
}

/* ===============================
   LOGIN BUTTON
================================ */
.madara-login-btn {
  padding: .5rem 1.25rem;
  border-radius: 9999px;
  background: var(--color-primary);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(124,58,237,.3);
  text-decoration: none;
}


/* ===============================
   AJUSTE GERAL DO DROPDOWN
================================ */

.madara-dropdown {
  background: rgba(20, 20, 30, 0.95); /* menos transparente */
}

/* ===============================
   USER SECTION (LEGADO MADARA)
================================ */

.madara-user-section {
  margin-top: 1rem;
}

/* Card do usuário */
.madara-user-section .c-user_item {
  display: flex;
  align-items: flex-start; /* evita esmagar */
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
}

/* Avatar SEMPRE à esquerda */
.madara-user-section .c-user_avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Avatar */
.madara-user-section .c-user_avatar-image img {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

/* Wrapper de texto + menu */
.madara-user-section .c-user_avatar + .c-user_menu,
.madara-user-section .c-user_item > span {
  flex: 1;
}

/* "Hi, Admin" */
.madara-user-section .c-user_item > span {
  display: block;
  font-size: .85rem;
  color: var(--color-muted);
  margin-bottom: .5rem;
}
/* ===============================
   CONTAINER PRINCIPAL
================================ */

.madara-dropdown {
  width: 260px;
  background: rgba(20, 20, 30, 0.96);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(0,0,0,.55);
  overflow: hidden;
}

/* ===============================
   HEADER
================================ */

.madara-dropdown-header {
  padding: 1rem;
  background: linear-gradient(
    90deg,
    rgba(124,58,237,.12),
    rgba(168,85,247,.12)
  );
  border-bottom: 1px solid var(--color-border);
}

.madara-dropdown-header .user-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-foreground);
}

/* ===============================
   USER SECTION (LEGADO)
================================ */

.madara-user-section {
  margin-top: .75rem;
}

/* Linha principal */
.madara-user-section .c-user_item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
}

/* Avatar SEMPRE no início */
.madara-user-section .c-user_avatar {
  flex-shrink: 0;
}

/* Avatar */
.madara-user-section .c-user_avatar-image img {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

/* Texto "Hi, Admin" */
.madara-user-section .c-user_item > span {
  font-size: .8rem;
  color: var(--color-muted);
}

/* ===============================
   MENU LEGADO
================================ */

.madara-user-section .c-user_menu {
  list-style: none;
  padding: 0;
  margin: .5rem 0 0;
}

/* Itens */
.madara-user-section .c-user_menu li {
  margin-bottom: .25rem;
}

/* Links */
.madara-user-section .c-user_menu a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  font-size: .82rem;
  color: var(--color-foreground);
  text-decoration: none;
  transition: background .15s ease;
}

/* Hover */
.madara-user-section .c-user_menu a:hover {
  background: rgba(255,255,255,0.08);
}

/* Coins */
.madara-user-section .fa-coins {
  color: #facc15;
}

/* Logout legado */
.madara-user-section .c-user_menu li:last-child a {
  color: var(--color-destructive);
}

.madara-user-section .c-user_menu li:last-child a:hover {
  background: rgba(239,68,68,.2);
}

/* ===============================
   MENU NOVO
================================ */

.madara-menu {
  padding: .5rem;
}

.madara-menu a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .75rem;
  border-radius: 12px;
  font-size: .85rem;
  transition: background .15s ease;
}

.madara-menu a:hover {
  background: rgba(255,255,255,0.08);
}

/* Admin */
.madara-menu a.admin {
  color: var(--color-primary);
}

.madara-menu a.admin:hover {
  background: rgba(124,58,237,.18);
}

/* Divider */
.madara-divider {
  height: 1px;
  background: var(--color-border);
  margin: .5rem 0;
}

/* Logout novo */
.madara-menu a.logout {
  color: var(--color-destructive);
}

.madara-menu a.logout:hover {
  background: rgba(239,68,68,.2);
}


/* Classes Utilitárias inspiradas em Tailwind */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Text Gradient */
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* Section Colors */
.from-primary { --tw-gradient-from: var(--primary); }
.to-accent { --tw-gradient-to: var(--accent); }

/* Buttons & Badges */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  border-radius: 9999px;
  font-weight: 600;
  transition: transform 0.2s;
}

.btn-primary:hover { transform: scale(1.05); }

.badge-exclusive {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.75rem;
}

.aspect-\[2\/3\] {
    position: relative;
    width: 100%;
    padding-bottom: 150%; 
}

.aspect-\[2\/3\] img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.labu-hero-main, .slick-list, .slick-track {
    height: 100% !important;
}

.slick-slide > div {
    height: 100%;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.badge-exclusive-vip {
    font-size: 10px;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ===============================
   LABU HERO SLIDER
================================ */
.labu-hero-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    height: 450px;
}

@media (min-width: 768px) {
    .labu-hero-wrapper { height: 600px; }
}

.labu-hero-item {
    position: relative;
    height: 100%;
}

.labu-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: all 0.7s ease;
}

.labu-hero-overlay-v {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0b0c10, rgba(11, 12, 16, 0.6), transparent);
}

.labu-hero-overlay-h {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 12, 16, 0.8), transparent, transparent);
}

.labu-hero-content-container {
    position: relative;
    height: 100%;
    max-width: 1280px;
    margin: 0 3rem;
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

.labu-hero-text-box {
    max-width: 42rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.labu-hero-title {
    font-size: 1.875rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .labu-hero-title { font-size: 3.75rem; }
}

.labu-hero-excerpt {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.labu-hero-wrapper .slick-arrow {
    display: none !important;
}
.labu-hero-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.25),
        transparent 15%,
        transparent 85%,
        rgba(0,0,0,0.25)
    );
}


.labu-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-star {
    width: 1rem;
    height: 1rem;
    fill: var(--primary);
    color: var(--primary);
}

.labu-btn-main {
    display: inline-flex;
    padding: 0.75rem 2rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white !important;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
    box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.25);
}

.labu-btn-main:hover { transform: scale(1.05); }

/* ===============================
   LABU MANGA GRID SECTION
================================ */
.labu-section { padding: 2rem 0; }

.labu-section-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-icon-box {
    padding: 0.5rem;
    border-radius: 0.75rem;
    color: white;
    background: linear-gradient(to bottom right, var(--primary), var(--accent));
}

.labu-manga-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) { .labu-manga-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .labu-manga-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .labu-manga-grid { grid-template-columns: repeat(5, 1fr); } }

.labu-card { text-decoration: none; display: flex; flex-direction: column; gap: 0.75rem; }

.labu-card-thumb {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 2/3;
    background: var(--card);
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.labu-card:hover .thumb-wrapper img { transform: scale(1.1); }

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.labu-card:hover .thumb-overlay { opacity: 1; }

.badge-vip-tag {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
    font-size: 10px;
    font-weight: 900;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rank-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to bottom right, var(--primary), var(--accent));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,0.2);
}

.card-rating {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: white;
    font-size: 12px;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.labu-card:hover .card-rating { transform: translateY(0); }

.manga-title {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    margin: 0;
    transition: color 0.2s;
}

.labu-card:hover .manga-title { color: var(--primary); }

.manga-genre {
    font-size: 11px;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Forçar os slides a ficarem em linha e sem grid */
.js-manga-carousel {
    display: block !important; /* Desativa qualquer grid anterior */
}

.carousel-item-wrapper {
    padding: 10px;
    outline: none !important;
}

/* Fix da Capa Full */
.thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 15px;
}

.thumb-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Remove bordas pretas */
    display: block;
}

/* Estilo do Hero Slider Fix */
.labu-hero-item {
    outline: none;
    min-height: 500px;
}

.labu-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center top !important;
}

/* Garante que os ícones funcionem */
.lucide {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}


/* ===============================
   ELYSIUM FOOTER (LABU STYLE)
================================ */
.labu-footer {
    background: linear-gradient(to top, #000, var(--background));
    border-top: 1px solid var(--border);
    padding-top: 4rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Branding */
.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }

.footer-description {
    margin-top: 1.5rem;
    color: var(--muted-foreground);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social-links .icon-card {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    text-decoration: none;
}

/* Typography & Lists */
.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Footer Bottom Area */
.footer-bottom {
    margin-top: 4rem;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.copyright {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.yakuza-tag {
    font-weight: 700;
    color: var(--accent);
    background: rgba(236, 72, 153, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(236, 72, 153, 0.2);
}


.labu-section-title{
 color: #ffffff;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5{
 color: #ffffff;
}

.comment-reply-title, .comments-title, textarea {
    color: #ffffff;
}

/* =========================================
       LAYOUT DA CARTEIRA
       ========================================= */
    .wallet-grid-layout {
        display: grid;
        grid-template-columns: 1fr 1.2fr; /* Esquerda menor, Direita maior */
        gap: 30px;
        margin-bottom: 40px;
    }

    @media (max-width: 900px) {
        .wallet-grid-layout { grid-template-columns: 1fr; }
    }

    /* =========================================
       FORMULÁRIO DE COMPRA (TRANSFORMAÇÃO)
       ========================================= */
    .labu-buy-wrapper {
        margin-top: 25px;
        text-align: left;
        width: 100%;
    }

    .labu-buy-wrapper h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: rgba(255,255,255,0.8);
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 1px;
        text-align: center;
    }

    /* Esconde os Radios originais feios */
    .mycred-buy-form input[type="radio"] {
        display: none; 
    }

    /* Transforma os Labels em Cards */
    .mycred-buy-form label {
        display: block;
        background: rgba(0,0,0,0.2);
        border: 1px solid rgba(255,255,255,0.1);
        padding: 15px 20px;
        margin-bottom: 10px;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
        font-weight: 600;
        color: #ddd;
    }

    /* Hover no card de preço */
    .mycred-buy-form label:hover {
        background: rgba(255,255,255,0.05);
        border-color: var(--primary);
    }

    /* Estado Selecionado (Quando clica) */
    .mycred-buy-form input[type="radio"]:checked + label {
        background: linear-gradient(90deg, rgba(124, 58, 237, 0.2), transparent);
        border-color: var(--primary);
        color: #fff;
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
    }

    /* Ícone de check quando selecionado */
    .mycred-buy-form input[type="radio"]:checked + label::after {
        content: '\f00c'; /* FontAwesome Check */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary);
    }

    /* Botão de Pagar */
    .mycred-buy-form button.button-primary,
    #mycred-buy-form .button-primary {
        width: 100%;
        margin-top: 20px;
        background: #fff !important;
        color: #000 !important;
        font-weight: 900 !important;
        padding: 18px !important;
        border-radius: 12px !important;
        text-transform: uppercase;
        border: none !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        cursor: pointer;
        transition: transform 0.2s;
    }

    .mycred-buy-form button:hover {
        transform: scale(1.02);
    }

    /* =========================================
       TABELAS (HISTÓRICO E PENDENTES)
       ========================================= */
    .labu-table-section {
        background: #15161a;
        border: 1px solid #222;
        border-radius: 1.5rem;
        padding: 25px;
        margin-bottom: 25px;
    }

    .labu-table-section h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        border-bottom: 1px solid #333;
        padding-bottom: 15px;
        color: #fff;
    }

    .labu-table-wrapper {
        overflow-x: auto;
    }

    /* Estilizando a tabela feia do myCred */
    .mycred-table, table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.9rem;
    }

    .mycred-table th, .mycred-table td, 
    table th, table td {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #2a2a2a;
    }

    .mycred-table th, table th {
        color: #888;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .mycred-table td, table td {
        color: #e5e5e5;
    }

    /* Ações na tabela (Pagar/Cancelar) */
    .mycred-table a, table a {
        color: var(--accent);
        text-decoration: none;
        font-weight: bold;
        margin-right: 10px;
        transition: 0.2s;
    }
    
    .mycred-table a:hover {
        color: #fff;
        text-decoration: underline;
    }

    /* Paginação do Histórico */
    .mycred-pagination {
        margin-top: 20px;
        display: flex;
        gap: 5px;
    }
    .mycred-pagination a, .mycred-pagination span {
        padding: 5px 10px;
        background: #222;
        border-radius: 5px;
        color: #fff;
        text-decoration: none;
    }
    .mycred-pagination .current {
        background: var(--primary);
    }
    
    /* Vazio */
    .dataTables_empty, .empty-state {
        text-align: center;
        padding: 30px;
        color: #666;
        font-style: italic;
    }

    /* =========================================
       LAYOUT CARTEIRA V2
       ========================================= */
    .mb-8 { margin-bottom: 2rem; }
    .mt-8 { margin-top: 2rem; }

    .wallet-grid-layout {
        display: grid;
        grid-template-columns: 1.4fr 1fr; /* Esquerda maior */
        gap: 30px;
    }

    @media (max-width: 900px) {
        .wallet-grid-layout { grid-template-columns: 1fr; }
    }

    /* --- CARTÃO DE SALDO --- */
    .wallet-card-main {
        background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
        border-radius: 20px;
        padding: 30px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
        border: 1px solid rgba(255,255,255,0.1);
    }
    .balance-content { position: relative; z-index: 2; text-align: center; }
    .wallet-card-main .lbl { display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.8; margin-bottom: 10px; }
    .wallet-card-main .val-huge { font-size: 4rem; font-weight: 800; line-height: 1; text-shadow: 0 5px 15px rgba(0,0,0,0.2); }
    .wallet-card-main .lbl-sub { display: block; font-size: 0.9rem; opacity: 0.6; margin-top: 5px; }
    
    /* Decoração de fundo do cartão */
    .balance-deco {
        position: absolute;
        top: -50%; left: -20%;
        width: 200%; height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
        z-index: 1;
        pointer-events: none;
    }

    /* --- LOJA DE FRAGMENTOS --- */
    .labu-store-wrapper {
        background: #15161a;
        border: 1px solid #222;
        border-radius: 20px;
        padding: 30px;
    }
    .store-header { text-align: center; margin-bottom: 25px; }
    .store-header h3 { font-size: 1.5rem; color: #fff; margin-bottom: 5px; }
    .store-header p { color: #888; font-size: 0.9rem; }

    /* Grid de Pacotes */
    .coin-packages-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }
    @media(max-width: 600px) { .coin-packages-grid { grid-template-columns: repeat(2, 1fr); } }

    .pkg-card {
        background: #1f2025;
        border: 2px solid #333;
        border-radius: 15px;
        padding: 20px 10px;
        text-align: center;
        cursor: pointer;
        transition: 0.3s;
        position: relative;
    }
    .pkg-card:hover { border-color: #7c3aed; transform: translateY(-5px); background: #25262c; }
    .pkg-card.active { border-color: #ec4899; background: rgba(236, 72, 153, 0.1); box-shadow: 0 0 20px rgba(236, 72, 153, 0.2); }
    
    .pkg-coins { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; }
    .pkg-lbl { font-size: 0.75rem; text-transform: uppercase; color: #666; font-weight: 600; }
    
    .badge-pop {
        position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
        background: #ec4899; color: #fff; font-size: 0.65rem; padding: 2px 8px;
        border-radius: 10px; font-weight: 700; text-transform: uppercase;
    }

    /* --- FORMULÁRIO MYCRED CUSTOMIZADO --- */
    .custom-buy-form-container {
        background: #0b0c10;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid #222;
    }

    /* Limpeza do CSS padrão do myCred */
    .mycred-buy-form .form-group { margin-bottom: 15px; }
    
    /* Input de Valor */
    .mycred-buy-form input[name="amount"] {
        background: #15161a !important;
        border: 2px solid #333 !important;
        color: #fff !important;
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        text-align: center !important;
        height: 50px !important;
        border-radius: 12px !important;
        width: 100% !important;
    }
    .mycred-buy-form input[name="amount"]:focus { border-color: #7c3aed !important; outline: none; }

    /* Esconder Label padrão feia */
    .mycred-buy-form label.mycred-point-type { display: none !important; }

    /* Botão de Compra */
    .mycred-buy-form button {
        width: 100%;
        background: linear-gradient(90deg, #7c3aed, #ec4899) !important;
        border: none !important;
        color: #fff !important;
        font-weight: 800 !important;
        font-size: 1.1rem !important;
        text-transform: uppercase !important;
        padding: 15px !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        transition: 0.2s !important;
        margin-top: 10px;
    }
    .mycred-buy-form button:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3); }

    /* --- SIDEBAR (TABELAS) --- */
    .labu-table-section { background: #15161a; border-radius: 20px; overflow: hidden; border: 1px solid #222; margin-bottom: 20px; }
    .sec-head { padding: 15px 20px; border-bottom: 1px solid #222; background: #1c1d22; }
    .sec-head h3 { font-size: 1rem; margin: 0; color: #ccc; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
    
    .labu-table-wrapper { padding: 0; }
    
    /* Ajuste fino das tabelas */
    .mycred-table th { background: #1a1a1a; color: #666; font-size: 0.75rem; padding: 12px 15px; border-bottom: 1px solid #222; }
    .mycred-table td { padding: 12px 15px; border-bottom: 1px solid #222; font-size: 0.85rem; color: #ddd; }
    .mycred-table tr:last-child td { border-bottom: none; }

    /* =========================================
       FIX DO MYCRED & CHAPTER COIN (OVERRIDE)
       ========================================= */
    
    /* Remove o fundo cinza e bordas feias que o plugin adiciona */
    .form.myCRED-buy-form {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        text-align: left !important;
        width: 100% !important;
    }

    /* Esconde labels e textos inúteis do plugin */
    .form.myCRED-buy-form label.mycred-point-type, 
    .form.myCRED-buy-form .form-control-static {
        display: none !important;
    }

    /* Input de Valor (Escondido pois usaremos os botões) */
    .form.myCRED-buy-form input[name="amount"] {
        display: none !important; /* Esconde o input, o JS vai preencher */
    }

    /* Botão de Compra (Transformado) */
    .form.myCRED-buy-form button.btn-lg,
    .form.myCRED-buy-form input[type="submit"] {
        width: 100% !important;
        background: linear-gradient(90deg, #22c55e, #16a34a) !important; /* Verde Sucesso */
        color: #fff !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        padding: 18px !important;
        border-radius: 12px !important;
        border: none !important;
        font-size: 1.1rem !important;
        cursor: pointer !important;
        box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3) !important;
        transition: transform 0.2s !important;
        opacity: 0.5; /* Começa desativado visualmente */
        pointer-events: none;
    }

    /* Quando selecionado (classe adicionada via JS) */
    .checkout-ready .form.myCRED-buy-form button.btn-lg {
        opacity: 1;
        pointer-events: auto;
    }
    
    .form.myCRED-buy-form button.btn-lg:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 15px 30px rgba(34, 197, 94, 0.4) !important;
    }

    /* =========================================
       NOVA LOJA DE FRAGMENTOS
       ========================================= */
    .labu-store-wrapper {
        background: #15161a;
        border: 1px solid #222;
        border-radius: 20px;
        padding: 30px;
    }
    .store-header { text-align: center; margin-bottom: 30px; }
    .store-header h3 { font-size: 1.4rem; color: #fff; margin-bottom: 5px; }
    .store-header p { color: #888; font-size: 0.9rem; }

    /* Grid de Pacotes */
    .coin-packages-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }
    @media(max-width: 600px) { .coin-packages-grid { grid-template-columns: repeat(2, 1fr); } }

    .pkg-card {
        background: #1f2025;
        border: 2px solid #2a2a2a;
        border-radius: 16px;
        padding: 25px 10px;
        text-align: center;
        cursor: pointer;
        transition: 0.2s;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Efeito Hover */
    .pkg-card:hover {
        border-color: #7c3aed;
        background: #25262c;
        transform: translateY(-5px);
    }

    /* Efeito Ativo (Selecionado) */
    .pkg-card.active {
        border-color: #ec4899;
        background: rgba(236, 72, 153, 0.1);
        box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.3);
    }

    /* Ícone */
    .pkg-icon {
        font-size: 1.5rem;
        color: #7c3aed;
        margin-bottom: 10px;
    }
    
    .pkg-amount {
        font-size: 1.8rem;
        font-weight: 800;
        line-height: 1;
        color: #fff;
    }
    
    .pkg-price {
        margin-top: 5px;
        font-size: 0.85rem;
        color: #aaa;
        font-weight: 600;
        background: rgba(255,255,255,0.05);
        padding: 4px 10px;
        border-radius: 20px;
    }

    /* Badges */
    .badge-pop {
        position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
        background: #ec4899; color: #fff; font-size: 0.65rem; padding: 3px 10px;
        border-radius: 10px; font-weight: 800; text-transform: uppercase;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
        white-space: nowrap;
    }

    /* Texto de Status */
    #selected-msg {
        text-align: center;
        color: #888;
        font-size: 0.9rem;
        margin-bottom: 15px;
        font-style: italic;
    }

    table:not(#wp-calendar):not(.shop_table) > tbody > tr:hover {
    background-color: #0e0e0e;
     }

    /* Mensagens */
    .labu-msg { padding: 15px; border-radius: 10px; margin-bottom: 20px; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
    .labu-msg.success { background: rgba(34, 197, 94, 0.1); border: 1px solid #22c55e; color: #22c55e; }
    .labu-msg.error { background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; color: #ef4444; }

    /* Banner Upload Area */
    .banner-upload-area {
        height: 180px;
        background: #1f2025;
        border-radius: 15px;
        border: 2px dashed #444;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        transition: 0.3s;
    }
    .banner-upload-area:hover { border-color: var(--primary); }
    .banner-upload-area img { width: 100%; height: 100%; object-fit: cover; }
    
    .upload-overlay {
        position: absolute; inset: 0;
        background: rgba(0,0,0,0.6);
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        opacity: 0; transition: 0.3s; color: #fff;
    }
    .banner-upload-area:hover .upload-overlay { opacity: 1; }
    .upload-overlay i { font-size: 2rem; margin-bottom: 5px; }

    /* Layout Avatar + Nome */
    .two-col-row { display: flex; gap: 25px; align-items: center; margin-bottom: 20px; }
    .avatar-group { flex-shrink: 0; }
    .name-group { flex-grow: 1; }

    /* Avatar Upload Area */
    .avatar-upload-area {
        width: 100px; height: 100px;
        border-radius: 50%;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        border: 3px solid #333;
    }
    .avatar-upload-area:hover { border-color: var(--primary); }
    .avatar-upload-area img { width: 100%; height: 100%; object-fit: cover; }
    
    .upload-overlay-circle {
        position: absolute; inset: 0;
        background: rgba(0,0,0,0.6);
        display: flex; justify-content: center; align-items: center;
        opacity: 0; transition: 0.3s;
    }
    .avatar-upload-area:hover .upload-overlay-circle { opacity: 1; }
    .upload-overlay-circle i { color: #fff; font-size: 1.5rem; }

    /* Inputs Modernos */
    .input-modern, .select-modern {
        width: 100%;
        background: #111;
        border: 1px solid #333;
        padding: 12px 15px;
        border-radius: 10px;
        color: #fff;
        margin-top: 5px;
        transition: 0.3s;
    }
    .input-modern:focus, .select-modern:focus { border-color: var(--primary); outline: none; }
    .field-desc { font-size: 0.8rem; color: #666; margin-top: 5px; }

    /* Botões */
    .block-btn { width: 100%; padding: 12px; margin-top: 10px; }
    .btn-labu-secondary {
        background: #222; border: 1px solid #444; color: #fff;
        padding: 12px 25px; border-radius: 10px; cursor: pointer;
        font-weight: 700; transition: 0.3s;
    }
    .btn-labu-secondary:hover { background: #333; border-color: #fff; }

    @media (max-width: 600px) {
        .two-col-row { flex-direction: column; align-items: flex-start; }
    }

/* ====================
   FILTROS (ORDER BY)
   ==================== */
.labu-filter-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.filter-label {
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-right: 10px;
}

.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    background: #111;
    border: 1px solid #333;
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    border-color: #7c3aed; /* Cor primária roxa */
    color: #fff;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

/* ====================
   PAGINAÇÃO CUSTOM
   ==================== */
.labu-pagination .navigation {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.labu-pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #15161a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
}

.labu-pagination .page-numbers.current,
.labu-pagination .page-numbers:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
    transform: scale(1.1);
}

.labu-pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

/* =========================================
   ESTILO BREADCRUMB & GÊNEROS (ARCHIVE)
   ========================================= */

/* Ajuste do Wrapper do Breadcrumb */
.c-breadcrumb-wrapper {
    padding: 40px 0 !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.c-breadcrumb-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11,12,16,0.7), var(--background));
}

/* Bloco de Gêneros */
.labu-custom-genres {
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.labu-custom-genres .genres_wrap {
    background: rgba(17, 24, 39, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 25px !important;
}

/* Título e Botão de Toggle */
.labu-custom-genres .c-blog__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none !important;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border) !important;
}

.labu-custom-genres h5 {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    margin: 0;
    color: #fff !important;
}

.btn-genres-toggle {
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: 0.3s;
}

.btn-genres-toggle.active {
    transform: rotate(180deg);
    color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

/* Lista de Gêneros (Pills) */
.labu-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.labu-pill {
    display: inline-flex;
    align-items: center;
    background: #111827;
    border: 1px solid #374151;
    padding: 6px 15px;
    border-radius: 50px;
    color: #9ca3af !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.labu-pill:hover {
    border-color: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
    background: rgba(124, 58, 237, 0.1);
}

.labu-pill.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

/* Badge do Contador */
.pill-count {
    background: rgba(0,0,0,0.3);
    color: #6b7280;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    transition: 0.3s;
}

.labu-pill:hover .pill-count,
.labu-pill.active .pill-count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* =========================================
   ESTILO GÊNEROS LABU (SEM MADARA STYLE)
   ========================================= */

/* Container Principal */
.labu-genres-wrapper {
    margin-top: 25px;
    margin-bottom: 30px;
}

.labu-genres-container {
    background: #111827 !important; /* Cor do seu card */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px;
    padding: 20px 25px;
}

/* Título e Header do Bloco */
.labu-genres-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.labu-genres-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.labu-genres-title i {
    color: #7c3aed; /* Sua cor primária */
    font-size: 1.2rem;
}

.labu-genres-title span {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Botão de Toggle (Seta) */
.labu-genres-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: 0.3s;
    border: none;
}

.labu-genres-toggle-btn.active {
    transform: rotate(180deg);
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
}

/* Lista de Pills (Gêneros) */
.labu-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.labu-pill {
    display: inline-flex;
    align-items: center;
    background: #1a1a1e;
    border: 1px solid #333;
    padding: 6px 14px;
    border-radius: 50px;
    color: #9ca3af !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.labu-pill:hover, .labu-pill.active {
    border-color: #7c3aed;
    color: #fff !important;
    background: rgba(124, 58, 237, 0.1);
}

.labu-pill.active {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

/* Badge Contador */
.pill-count {
    background: rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
}

.labu-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}


/* Customização do Modal de Compra do Madara */
#frm-wp-manga-buy-coin.modal .modal-content {
    background: #15161a !important; /* Seu background dark */
    border: 1px solid #333 !important;
    border-radius: 20px !important;
    color: #fff !important;
}

#frm-wp-manga-buy-coin.modal .modal-header {
    border-bottom: 1px solid #222 !important;
}

#frm-wp-manga-buy-coin.modal .modal-header .close {
    color: #fff !important;
    text-shadow: none !important;
    opacity: 0.8;
}

#frm-wp-manga-buy-coin.modal h3 {
    color: #fff !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

#frm-wp-manga-buy-coin .message-sufficient {
    font-size: 1.1rem;
    opacity: 0.8;
}

#frm-wp-manga-buy-coin .coin {
    color: #7c3aed !important; /* Seu roxo */
    font-weight: 900;
}

#frm-wp-manga-buy-coin .modal-footer {
    border-top: 1px solid #222 !important;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Botão de Confirmar Compra */
#frm-wp-manga-buy-coin .button-primary {
    background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    transition: 0.3s !important;
}

#frm-wp-manga-buy-coin .button-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

/* Botão Cancelar */
#frm-wp-manga-buy-coin .button-secondary {
    background: transparent !important;
    border: 1px solid #444 !important;
    border-radius: 50px !important;
    color: #888 !important;
}

/* =========================================
   FIX: MODAL BACKDROP & Z-INDEX
   ========================================= */

/* Remove o fundo branco/escuro exagerado que parece um blur */
.adult-content .modal-backdrop.in, 
.modal-backdrop.show {
    opacity: 0.7 !important; /* Escurecimento suave, não total */
    background-color: #000 !important;
    backdrop-filter: blur(4px); /* Blur real e elegante no fundo */
}

/* Garante que o modal fique acima de tudo, mas abaixo de alertas críticos */
.modal-backdrop {
    z-index: 9980 !important;
}
.modal.show {
    z-index: 9991 !important;
}

/* =========================================
   MODAL DE COMPRA & AVISO DE IDADE (LABU STYLE)
   ========================================= */

/* Estilo unificado para os modais do Madara */
body.modal-open .modal .modal-content,
#frm-wp-manga-buy-coin.modal .modal-content {
    background: #15161a !important;
    border: 1px solid #333 !important;
    border-radius: 20px !important;
    color: #fff !important;
    box-shadow: 0 0 40px rgba(0,0,0,0.8) !important;
}

body.modal-open .modal .modal-header,
#frm-wp-manga-buy-coin .modal-header {
    border-bottom: 1px solid #222 !important;
    text-align: center;
}

body.modal-open .modal .modal-title,
#frm-wp-manga-buy-coin h3 {
    color: #fff !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 1.2rem !important;
}

body.modal-open .modal .modal-body {
    color: #ccc !important;
    padding: 25px !important;
    text-align: center;
}

/* Ajuste específico para o texto de compra */
#frm-wp-manga-buy-coin .coin {
    color: #7c3aed !important; /* Roxo Labu */
    font-weight: 900;
}

/* Botões do Modal */
body.modal-open .modal-footer,
#frm-wp-manga-buy-coin .modal-footer {
    border-top: 1px solid #222 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    padding: 20px !important;
}

.modal .btn, 
#frm-wp-manga-buy-coin .button {
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: 0.3s !important;
}

/* Botão Confirmar/Sim */
.modal .btn-primary, 
#frm-wp-manga-buy-coin .button-primary {
    background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
    border: none !important;
    color: #fff !important;
}

/* Botão Cancelar/Não */
.modal .btn-secondary, 
.modal .btn-default,
#frm-wp-manga-buy-coin .btn-cancel {
    background: transparent !important;
    border: 2px solid #333 !important;
    color: #888 !important;
}

/* =========================================
   BOTÃO ADULT ON / OFF (SWITCH MODERN)
   ========================================= */

.section_adult {
    border-radius: 50px !important;
    padding: 5px 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Adulto Ativado (Verde Neon) */
.section_adult.on {
    border: 1px solid #00f99f !important;
    color: #00f99f !important;
    background: rgba(0, 249, 159, 0.05);
}

.section_adult.on .dot {
    background: #00f99f !important;
    box-shadow: 0 0 10px #00f99f;
}

/* Adulto Desativado (Cinza) */
.section_adult.off {
    border: 1px solid #444 !important;
    color: #888 !important;
    background: rgba(255, 255, 255, 0.02);
}

.section_adult.off .dot {
    background: #444 !important;
}

/* Efeito de Censura suave */
.adult-content.censored .main-col .c-page__content {
    opacity: 0.05 !important; /* Quase invisível conforme solicitado */
    filter: blur(20px);
}

/* =========================================
   RESET TOTAL DE BORDAS E SOMBRAS (MODAIS)
   ========================================= */

/* Alvo: O container principal do modal */
body.modal-open .modal-content,
#frm-wp-manga-buy-coin.modal .modal-content,
#adult_modal.modal .modal-content {
    background-color: #15161a !important; /* Seu cinza ultra escuro */
    border: 0 !important;                /* Mata a borda branca */
    border: none !important;             /* Reforça a remoção */
    outline: 0 !important;               /* Remove contorno de foco */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9) !important; /* Sombra preta pura */
    overflow: hidden !important;          /* Garante que o conteúdo não vaze as pontas */
}

/* Alvo: Diálogos e centralização */
.modal-dialog {
    border: none !important;
    outline: none !important;
}

/* Alvo: Header e Footer (Linhas divisórias internas) */
.modal-header, .modal-footer {
    border-color: rgba(255, 255, 255, 0.05) !important; /* Linha quase invisível */
}

/* Alvo: Botões de fechar (X) - Às vezes eles têm um brilho branco */
.modal-header .close {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* =========================================
   REMOÇÃO COMPLETA DA BORDA FANTASMA (RESET 3.0)
   ========================================= */

/* 1. Remove qualquer cor de fundo ou borda do container que o Madara usa */
.modal-content,
#frm-wp-manga-buy-coin .modal-content,
#adult_modal .modal-content {
    background-color: #15161a !important; /* Seu cinza ultra escuro */
    border: none !important;
    border-width: 0 !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.95) !important; /* Sombra preta densa */
    outline: none !important;
    
    /* ESSENCIAL: Impede que o fundo 'vaze' nos cantos arredondados */
    background-clip: padding-box !important;
}

/* 2. Remove o brilho (box-shadow) que o Bootstrap coloca ao focar no modal */
.modal-dialog {
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
}

/* 3. Às vezes o Madara coloca um background cinza no Header/Footer */
.modal-header, 
.modal-body, 
.modal-footer {
    background-color: transparent !important; /* Força herdar do modal-content */
    border: none !important;
    outline: none !important;
}

/* 4. Limpa qualquer efeito de borda no estado 'show' */
.modal.show .modal-content {
    border: none !important;
}

/* 5. Ajuste fino para o modal de adulto não herdar estilos brancos */
.adult-content .modal-content {
    background-color: #15161a !important;
    color: #9ca3af !important;
}

/* =========================================
   RESET TOTAL: ELIMINANDO O CINZA FANTASMA
   ========================================= */

/* Alvo direto no elemento que o Bootstrap usa para a sombra e borda */
.modal-content, 
#frm-wp-manga-buy-coin .modal-content, 
#adult_modal .modal-content {
    /* Mata a borda cinza detectada pelo colorpicker */
    border: 0px none transparent !important;
    outline: 0 !important;
    
    /* Mata a sombra (box-shadow) cinza degrade que cria as quinas */
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    
    /* Reaplica o seu fundo e arredondamento garantindo que nada escape */
    background-color: #15161a !important;
    border-radius: 24px !important;
    
    /* Força o navegador a cortar as quinas do que estiver dentro */
    overflow: hidden !important;
}

/* Remove qualquer contorno ou sombra que o Bootstrap coloque ao abrir */
.modal.fade.show, .modal-dialog {
    outline: none !important;
    box-shadow: none !important;
}

/* Se quiser uma sombra, use uma preta pura que não vaza cinza */
body.modal-open .modal-content {
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.8));
}

/* =========================================
   FIX FINAL: MATANDO O BACKGROUND DA DIALOG
   ========================================= */

/* Remove a imagem de fundo que estava vazando nas quinas */
body.modal-open .modal .modal-dialog {
    background-image: none !important;
    background-color: transparent !important;
    border: none !important;
}

/* Garante que o conteúdo interno seja o único fundo visível */
.modal-content {
    background-image: none !important;
    background-color: #15161a !important; /* Seu Dark real */
    border-radius: 24px !important;
    border: none !important;
    overflow: hidden !important;
}

/* Efeito de censura visual para o novo layout se a série for adulta */
.labu-card.is-adult .thumb-wrapper img,
.labu-hero-item.is-adult .labu-hero-bg {
    filter: blur(25px) grayscale(1);
    opacity: 0.3;
}

a {
    color: #ffffff;
}