/* Rapidinhas – Gêneros */
.rsd-gen,
.rsd-gen *,
.rsd-gen *::before,
.rsd-gen *::after {
	box-sizing: border-box;
}

/* Cabeçalho (mesma marca "//" do Destaque) */
.rsd-gen__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 24px;
}
.rsd-gen__heading {
	display: flex;
	align-items: center;
	gap: 12px;
}
.rsd-gen__title {
	margin: 0;
	color: #141414;
	line-height: 1.1;
}
.rsd-gen .rsd-mark {
	--rsd-mark: #FF7A2F;
	display: inline-flex;
	gap: 5px;
	height: 0.9em;
	font-size: 28px;
	transform: skewX(-22deg);
}
.rsd-gen .rsd-mark i {
	display: block;
	width: 5px;
	height: 100%;
	border-radius: 1px;
	background: var(--rsd-mark);
}

/* Grade / fila */
.rsd-gen__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.rsd-gen__grid::-webkit-scrollbar {
	display: none;
}
.rsd-gen__item {
	min-width: 0;
	margin: 0;
	padding: 0;
	scroll-snap-align: start;
}

/* Card */
.rsd-gen__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #000000;
	color: inherit;
	text-decoration: none;
	isolation: isolate;
}
.rsd-gen__card:focus-visible {
	outline: 3px solid #FF7A2F;
	outline-offset: 3px;
}
.rsd-gen__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #22222A;
}
.rsd-gen__media img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform .5s ease;
}
.rsd-gen--zoom .rsd-gen__card:hover .rsd-gen__media img,
.rsd-gen--zoom .rsd-gen__card:focus-visible .rsd-gen__media img {
	transform: scale(1.06);
}

/* Barra do nome */
.rsd-gen__label {
	flex: 1 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 64px;
	padding: 12px 18px;
	background: #000000;
	transition: background-color .2s ease;
}
.rsd-gen__card:hover .rsd-gen__label,
.rsd-gen__card:focus-visible .rsd-gen__label {
	background: #FF7A2F;
}
.rsd-gen__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.rsd-gen__name {
	margin: 0;
	color: #FFFFFF;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	overflow-wrap: anywhere;
	transition: color .2s ease;
}
.rsd-gen__count {
	color: #A0A0AA;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .3px;
	transition: color .2s ease;
}
.rsd-gen__arrow {
	flex: 0 0 auto;
	display: inline-flex;
	color: #FFFFFF;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .2s ease, transform .2s ease, color .2s ease;
}
.rsd-gen__card:hover .rsd-gen__name,
.rsd-gen__card:focus-visible .rsd-gen__name,
.rsd-gen__card:hover .rsd-gen__arrow,
.rsd-gen__card:focus-visible .rsd-gen__arrow,
.rsd-gen__card:hover .rsd-gen__count,
.rsd-gen__card:focus-visible .rsd-gen__count {
	color: #141414;
}
.rsd-gen__card:hover .rsd-gen__arrow,
.rsd-gen__card:focus-visible .rsd-gen__arrow {
	opacity: 1;
	transform: none;
}
@media (hover: none) {
	.rsd-gen__arrow {
		opacity: 1;
		transform: none;
	}
}

/* Link "ver todos" com altura fixa */
.rsd-gen__more {
	display: inline-flex;
	align-items: center;
	height: 48px;
	color: #FF7A2F;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
}
.rsd-gen__more:hover,
.rsd-gen__more:focus-visible {
	text-decoration: underline;
}
.rsd-gen__footer {
	margin-top: 12px;
}

/* Editor */
.rsd-gen__warn {
	position: absolute;
	top: 8px;
	left: 8px;
	right: 8px;
	padding: 6px 8px;
	border-radius: 6px;
	background: #FFF3CD;
	color: #5C4400;
	font-size: 12px;
	line-height: 1.3;
}
.rsd-editor-notice {
	margin: 0;
	padding: 12px 16px;
	border: 1px dashed #8C8C96;
	border-radius: 8px;
	color: #6E6E78;
	font-size: 13px;
}

@media (max-width: 1024px) {
	.rsd-gen__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.rsd-gen__label { min-height: 56px; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.rsd-gen__media img,
	.rsd-gen__arrow {
		transition: none;
	}
}
