/*
 * Ara Child — Página /genres/ (índice completo de géneros).
 * Paleta capibara: zinc + acento cyan, igual que el resto del tema.
 */

.ara-genres {
	max-width: 1100px;
	margin: 0 auto;
	padding: 8px 0 40px;
}

/* ---------- Intro ---------- */
.ara-genres__intro {
	margin: 0 0 28px;
	color: #a1a1aa;
	font-size: .95rem;
	line-height: 1.7;
}

/* ---------- Secciones ---------- */
.ara-genres__section { margin: 0 0 38px; }

.ara-genres__h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #27272a;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fafafa;
	scroll-margin-top: 90px;
}

.ara-genres__h2 em {
	font-style: normal;
	font-size: .72rem;
	font-weight: 700;
	color: #71717a;
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 999px;
	padding: 2px 9px;
}

/* ---------- Destacados ---------- */
.ara-genres__top {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
}

.ara-genres .ara-genres__card,
.ara-genres a.ara-genres__card {
	color: #e4e4e7 !important;
	text-decoration: none !important;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 16px;
	background: #131318;
	border: 1px solid #27272a;
	border-radius: 12px;
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.ara-genres__card:hover {
	background: #18181b;
	border-color: #06b6d4;
	transform: translateY(-2px);
}

.ara-genres__rank {
	flex: 0 0 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #06b6d4;
	color: #05232b;
	font-size: .72rem;
	font-weight: 800;
}

.ara-genres__name {
	flex: 1;
	color: #e4e4e7 !important;
	font-size: .9rem;
	font-weight: 700;
	line-height: 1.25;
}

.ara-genres__count {
	flex: 0 0 auto;
	color: #71717a !important;
	font-size: .72rem;
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Índice de salto ---------- */
.ara-genres__jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 34px;
	padding: 14px;
	background: #131318;
	border: 1px solid #27272a;
	border-radius: 12px;
}

.ara-genres .ara-genres__jump a,
.ara-genres a {
	color: #d4d4d8 !important;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	border-radius: 999px;
	background: #18181b;
	border: 1px solid #27272a;
	color: #d4d4d8;
	font-size: .78rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.ara-genres .ara-genres__jump a:hover,
.ara-genres a.ara-genres__jump a:hover {
	background: #06b6d4;
	border-color: #06b6d4;
	color: #05232b !important;
}

.ara-genres__jump a em {
	font-style: normal;
	opacity: .6;
	font-weight: 700;
}

/* ---------- Chips ---------- */
.ara-genres__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ara-genres .ara-genres__chip,
.ara-genres a.ara-genres__chip {
	color: #d4d4d8 !important;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #18181b;
	border: 1px solid #27272a;
	color: #d4d4d8;
	font-size: .82rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.ara-genres__chip span {
	font-size: .7rem;
	font-weight: 700;
	color: #71717a;
	background: #09090b;
	border-radius: 999px;
	padding: 1px 7px;
	transition: color .15s ease, background .15s ease;
}

.ara-genres .ara-genres__chip:hover,
.ara-genres a.ara-genres__chip:hover {
	background: #06b6d4;
	border-color: #06b6d4;
	color: #05232b !important;
}

.ara-genres__chip:hover span {
	color: #05232b;
	background: rgba(255, 255, 255, .55);
}

@media (max-width: 560px) {
	.ara-genres__top { grid-template-columns: 1fr; }
	.ara-genres__h2 { font-size: .95rem; }
	.ara-genres__chip { font-size: .78rem; padding: 7px 10px; }
}

/* ── Nube de géneros (home) ───────────────────────────────────────────────
   Pesos visuales: el tamaño y el brillo escalan con el nº de mangas. */
.ara-cloud {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 12px 8px;
}
.ara-cloud__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #27272a;
}
.ara-cloud__h2 {
  margin: 0;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #a1a1aa;
}
.ara-cloud__all {
  color: #06b6d4 !important;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.ara-cloud__all:hover { color: #22d3ee !important; }

.ara-cloud__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
  padding: 6px 0 4px;
}
.ara-cloud a.ara-cloud__tag {
  display: inline-block;
  padding: 2px 4px;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color .14s ease, transform .14s ease;
  color: #a1a1aa;
}
.ara-cloud a.ara-cloud__tag:hover {
  color: #06b6d4 !important;
  transform: scale(1.06);
}
.ara-cloud a.ara-cloud__tag sup {
  font-size: .55em;
  font-weight: 700;
  opacity: .5;
  margin-left: 2px;
  top: -.7em;
}
@media (max-width: 600px) {
  .ara-cloud__items { gap: 3px 10px; justify-content: flex-start; }
  .ara-cloud a.ara-cloud__tag { font-size: .82rem !important; }
}
