/**************---------- PODSTRANKA: VYPIS KATEGORII (všechny) ----------**************/

/* alert box */

.alert__box {
	grid-column: -1 / 1;
	display: flex;
	align-items: center;
	gap: var(--gap16);
	background: var(--clr-utility-brand-50);
	border: 1px solid var(--clr-utility-brand-100);
	padding: var(--pd16);
	border-radius: var(--br12);
}

.alert__box__text {
	color: var(--text-secondary);
	font-weight: var(--fw400);
	font-size: var(--fs14);
}

/* pagination */

.pagination {
	display: flex;
	justify-content: space-between;
	width: 100%;
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
	font-size: var(--fs14);
	color: var(--text-tertiary);
}

.pagination__list {
	display: flex;
	align-items: center;
	gap: 2px;
}

.pagination__item {
	width: 40px;
	height: 40px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--text-tertiary);
	border-radius: var(--br8);
	transition: all 0.3s ease-in-out;
}

.pagination__item:hover {
	background: var(--clr-alpha-black-10);
}

.pagination__item--active {
	color: var(--text-secondary);
	background: var(--clr-alpha-black-10);
}

.pagination__prev .pagination__item,
.pagination__next .pagination__item {
	width: auto;
}

.pagination__prev .pagination__item:hover,
.pagination__next .pagination__item:hover {
	background: transparent;
	color: var(--bg-brand-solid);
}

@media (max-width: 482px) {
	.pagination__list {
		display: none; /* schová čísla */
	}

	.pagination {
		justify-content: space-between;
	}

	.pagination__prev,
	.pagination__next {
		flex: 1;
	}

	.pagination__item {
		width: auto;
		padding: 0 12px;
	}
}

/* Section Title */

.subpage__title {
	display: flex;
	align-items: center;
	gap: var(--gap12);
	grid-column: 1 /-1;
}

.subpage__title__icon {
	width: 52px;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(2px 3px 4px rgba(0, 0, 0, 0.45));
}

.subpage__title__icon img {
	width: 52px;
	height: 52px;
	display: flex;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 8px;
}

/* Body overview */
body.all-categories {
	background-attachment: fixed;
}

body.categories-overview .show__more-section {
	/* display: none; */
}

body.categories-overview.showmore_visible .show__more-section {
	/* display: block; */
}

body.categories-overview .main__content {
	row-gap: var(--gap32);
}

body.categories-overview .main__section-title__icon {
	background: none;
	border: none;
}

body.set-detail .listing-mode-switcher {
	grid-column: 1 / -1;
	position: relative;
	display: inline-block;
	justify-self: start;
}

body.is-desktop.month-games-detail .listing-mode-switcher {
	display: none;
}

body.set-detail .main__content {
	max-width: none;
	margin: 0;
	row-gap: 32px;
}

body.set-detail .inpage__back__btn {
	gap: 16px;
	font-size: 14px;
	line-height: 20px;
	color: #cecfd2;
}

body.set-detail .inpage__back__btn__icon {
	width: 20px;
	height: 20px;
	box-sizing: border-box;
	padding: 5px 7.5px;
	filter: brightness(0) saturate(100%) invert(86%) sepia(4%) saturate(81%) hue-rotate(190deg) brightness(96%) contrast(89%);
}

body.set-detail .inpage__back__btn a,
body.set-detail .inpage__back__btn__label,
body.set-detail .inpage__back__btn button {
	color: #cecfd2;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0;
}

body.set-detail .subpage__title {
	gap: 12px;
}

body.set-detail .subpage__title__icon {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	filter: none;
}

body.set-detail .subpage__title__icon img {
	width: 36px;
	height: 36px;
	padding: 0;
	object-fit: cover;
}

body.set-detail .subpage__title-text {
	color: #fafffe;
	font-size: 30px;
	font-weight: 700;
	line-height: 38px;
	letter-spacing: 0;
}

body.set-detail .main__section-title {
	gap: 12px;
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	color: #f7f7f7;
}

body.set-detail .main__section-title h2 {
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: 0;
	color: #f7f7f7;
}

body.set-detail .main__section-title__heading,
body.set-detail .set-detail-section-heading__link {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

body.set-detail .main__section-title__icon {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	align-items: center;
	background: none;
	border: 0;
}

body.set-detail .main__section-title__icon img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	filter: none;
}

body.set-detail .main__section-title__link {
	line-height: 20px;
	letter-spacing: 0;
}

body.homepage-detail .main__content {
	max-width: none;
	margin: 0;
	row-gap: 32px;
}

body.homepage-detail .main__section-title {
	gap: 12px;
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	color: #f7f7f7;
}

body.homepage-detail .main__section-title h2 {
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: 0;
	color: #f7f7f7;
}

body.homepage-detail .main__section-title__heading,
body.homepage-detail .set-detail-section-heading__link {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

body.homepage-detail .main__section-title__icon {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	align-items: center;
	background: none;
	border: 0;
}

body.homepage-detail .main__section-title__icon img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	filter: none;
}

body.homepage-detail .main__section-title__icon--preview {
	overflow: hidden;
	border-radius: 8px;
}

body.homepage-detail .main__section-title__icon--preview img {
	width: 100%;
	height: 100%;
	border-radius: 8px;
	object-fit: cover;
}

body.homepage-detail .main__section-title__link {
	line-height: 20px;
	letter-spacing: 0;
}

@media (max-width: 639px) {
	body.set-detail .main__section-title__heading,
	body.homepage-detail .main__section-title__heading,
	body.set-detail .set-detail-section-heading__link,
	body.homepage-detail .set-detail-section-heading__link {
		display: block;
		width: 100%;
	}

	body.set-detail .main__section-title__icon,
	body.homepage-detail .main__section-title__icon {
		display: inline-flex;
		margin-right: 8px;
		vertical-align: middle;
	}

	body.set-detail .main__section-title h2,
	body.homepage-detail .main__section-title h2 {
		display: inline;
	}

	body.set-detail .main__section-title__link,
	body.homepage-detail .main__section-title__link {
		display: inline;
		margin-left: 8px;
		white-space: nowrap;
	}
}

body.infosite-detail .main__content {
	max-width: 1320px;
	margin: 0 auto;
	row-gap: 24px;
}

body.infosite-detail .inpage__back__btn {
	gap: 16px;
	font-size: 14px;
	line-height: 20px;
	color: #cecfd2;
}

body.infosite-detail .inpage__back__btn__icon {
	width: 20px;
	height: 20px;
	box-sizing: border-box;
	padding: 5px 7.5px;
	filter: brightness(0) saturate(100%) invert(86%) sepia(4%) saturate(81%) hue-rotate(190deg) brightness(96%) contrast(89%);
}

body.infosite-detail .inpage__back__btn__label {
	color: #cecfd2;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0;
}

body.infosite-detail .bottom-line {
	margin-top: 24px;
}

body.infosite-detail .bottom-line__container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 40px;
}

body.infosite-detail .bottom-line__content {
	max-width: 960px;
}

body.infosite-detail .bottom-line__html {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: #cecfd2;
	font-size: var(--fs16);
	font-weight: var(--fw400);
	line-height: 1.7;
	overflow-wrap: anywhere;
}

body.infosite-detail .bottom-line__html h2,
body.infosite-detail .bottom-line__html h3,
body.infosite-detail .bottom-line__html p,
body.infosite-detail .bottom-line__html ul,
body.infosite-detail .bottom-line__html ol {
	margin: 0;
}

body.infosite-detail .bottom-line__html h2 {
	color: #f7f7f7;
	font-size: 22px;
	font-weight: 700;
	line-height: 30px;
}

body.infosite-detail .bottom-line__html h3 {
	color: #f7f7f7;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
}

body.infosite-detail .bottom-line__html ul,
body.infosite-detail .bottom-line__html ol {
	padding-left: 24px;
}

body.infosite-detail .bottom-line__html a {
	color: #67e3f9;
	text-decoration: underline;
	text-underline-offset: 3px;
	word-break: break-word;
}

body.homepage-detail .homepage-topic-chips .categories__item__icon {
	flex: 0 0 36px;
	overflow: hidden;
	border-radius: 8px;
}

body.homepage-detail .homepage-topic-chips .categories__item__icon-preview {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

body.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-small {
	aspect-ratio: auto;
}

@media (min-width: 1440px) and (max-width: 1599px) {
	body.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-small .game-card__image-static,
	body.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-small .game-card__video-preview {
		aspect-ratio: 1.8085 / 1;
	}
}

@media (max-width: 639px) {
	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(3, 1fr);
	}

	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-large:nth-of-type(2) {
		grid-column: span 1;
		grid-row: auto;
	}

	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-large:nth-of-type(2) .game-card__image-big,
	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-large:nth-of-type(2) .game-card__video-preview,
	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-small .game-card__image-static,
	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-small .game-card__video-preview {
		aspect-ratio: 1 / 1;
	}
}

@media (min-width: 640px) {
	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-large:nth-of-type(2) {
		grid-column: span 2;
		grid-row: span 2;
	}

	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-large:nth-of-type(2) .game-card__image-big,
	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-large:nth-of-type(2) .game-card__video-preview {
		aspect-ratio: 1.5345 / 1;
	}

	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-small .game-card__image-static,
	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-small .game-card__video-preview {
		aspect-ratio: 1.8085 / 1;
	}
}

@media (min-width: 640px) and (max-width: 1439px) {
	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 640px) {
	body.is-desktop.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-large:nth-of-type(2) {
		grid-column: 1 / -1;
	}

	body.is-desktop.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-large:nth-of-type(2) .game-card__image-big,
	body.is-desktop.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-large:nth-of-type(2) .game-card__video-preview {
		aspect-ratio: 1.5345 / 1;
	}

	body.is-desktop.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-small .game-card__image-static,
	body.is-desktop.homepage-detail .main__section--homepage-legendary-featured .game-card--featured-small .game-card__video-preview {
		aspect-ratio: 1.8085 / 1;
	}
}

body.set-detail .listing-mode-switcher__trigger {
	display: flex;
	align-items: center;
	gap: var(--gap4);
	min-height: 36px;
	padding: var(--pdBtnSearchDel);
	border: 0;
	border-radius: var(--br8);
	background: transparent;
	cursor: pointer;
}

body.set-detail .listing-mode-switcher__trigger:hover,
body.set-detail .listing-mode-switcher__trigger:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	outline: 0;
}

body.set-detail .listing-mode-switcher__trigger-text {
	color: var(--text-tertiary);
	font-size: var(--fs18);
	font-weight: var(--fw500);
	line-height: 28px;
	letter-spacing: 0;
}

body.set-detail .listing-mode-switcher__count {
	display: none;
	margin-left: 4px;
	color: var(--text-tertiary);
	font-size: var(--fs14);
	font-weight: var(--fw600);
	line-height: 1.2;
	letter-spacing: 0;
}

body.set-detail .listing-mode-switcher__count--trigger {
	margin-left: 0;
	font-size: var(--fs18);
	font-weight: var(--fw500);
	line-height: 28px;
}

body.is-mobile.set-detail .listing-mode-switcher__count {
	display: inline;
}

body.set-detail .listing-mode-switcher__trigger-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease-in-out;
}

body.set-detail .listing-mode-switcher__trigger-icon--open {
	transform: rotate(180deg);
}

body.set-detail .listing-mode-switcher__menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	min-width: 220px;
	margin: 8px 0 0;
	padding: 8px 0;
	list-style: none;
	border-radius: var(--br8);
	background: var(--clr-bg-quaternary);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

body.set-detail .listing-mode-switcher__menu--open {
	display: block;
}

body.set-detail .listing-mode-switcher__item {
	display: block;
	white-space: nowrap;
	transition: background 0.2s ease-in-out;
}

body.set-detail .listing-mode-switcher__item:hover,
body.set-detail .listing-mode-switcher__item--active {
	background: rgba(255, 255, 255, 0.08);
}

body.set-detail .listing-mode-switcher__link {
	display: block;
	padding: 8px 16px;
	color: #fff;
	text-decoration: none;
}

body.set-detail .listing-mode-switcher__link-text {
	color: var(--text-primary);
	font-size: var(--fs14);
	font-weight: var(--fw600);
	line-height: 1.2;
}

body.is-desktop.set-detail .listing-mode-switcher__item--mobile-filter {
	display: none;
}

body.set-detail .set-detail-listing-device--mobile,
body.is-mobile.set-detail .set-detail-listing-device--desktop {
	display: none;
}

body.is-mobile.set-detail .set-detail-listing-device--mobile {
	display: block;
}

body.set-detail .pagination__item--disabled {
	opacity: 0.45;
	pointer-events: none;
}

.pagination__prev .pagination__item,
.pagination__next .pagination__item {
	gap: 6px;
}

.pagination__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	font-size: 0;
	font-weight: inherit;
	line-height: 1;
}

.pagination__arrow::before {
	content: "\2192";
	display: block;
	font-size: 14px;
	line-height: 1;
}

.pagination__prev .pagination__arrow::before {
	transform: rotate(180deg);
}

@media (max-width: 482px) {
	body.set-detail .pagination {
		display: grid;
		grid-template-columns: max-content max-content;
		grid-template-areas:
			"pages pages"
			"prev next";
		justify-content: center;
		column-gap: 42px;
		row-gap: 10px;
		align-items: center;
	}

	body.set-detail .pagination__list {
		grid-area: pages;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 4px;
	}

	body.set-detail .pagination__prev {
		grid-area: prev;
		justify-self: end;
		min-width: 0;
	}

	body.set-detail .pagination__next {
		grid-area: next;
		justify-self: end;
		min-width: 0;
	}

	body.set-detail .pagination__item {
		min-width: 40px;
		width: auto;
		padding: 0 12px;
	}
}

body.set-detail .game-card__pc-only-badge,
body.homepage-detail .game-card__pc-only-badge {
	display: none;
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 11;
	align-items: center;
	min-height: 22px;
	padding: 3px 7px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--br6);
	background: rgba(18, 22, 30, 0.82);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 11px;
	font-weight: var(--fw600);
	line-height: 14px;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

body.is-mobile.set-detail .game-card--pc-only .game-card__pc-only-badge,
body.is-mobile.homepage-detail .game-card--pc-only .game-card__pc-only-badge {
	display: inline-flex;
}

body.is-mobile.homepage-detail #homepageRecommendedGamesCarousel .game-card--pc-only {
	display: none;
}

body.is-mobile.set-detail .game-card--pc-only .game-card__image-static,
body.is-mobile.set-detail .game-card--pc-only .game-card__image-big,
body.is-mobile.set-detail .game-card--pc-only .game-card__video-preview,
body.is-mobile.homepage-detail .game-card--pc-only .game-card__image-static,
body.is-mobile.homepage-detail .game-card--pc-only .game-card__image-big,
body.is-mobile.homepage-detail .game-card--pc-only .game-card__video-preview {
	filter: grayscale(0.85) saturate(0.35) brightness(0.78);
}

body.is-mobile.set-detail .game-card--pc-only > .game-card__badge,
body.is-mobile.homepage-detail .game-card--pc-only > .game-card__badge {
	filter: grayscale(1) saturate(0);
}

body.is-mobile.set-detail .game-card--pc-only .game-card__image::before,
body.is-mobile.homepage-detail .game-card--pc-only .game-card__image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 9;
	border-radius: var(--br8);
	background: rgba(9, 12, 18, 0.24);
	pointer-events: none;
}

body.is-mobile.set-detail #setFullGrid .games-grid__primary > .game-card {
	order: 0;
}

body.is-mobile.set-detail #setFullGrid .games-grid__primary > .game-card--pc-only {
	order: 2;
}

body.is-mobile.category-detail #categoryFullGrid .games-grid__primary > .game-card {
	order: 0;
}

body.is-mobile.category-detail #categoryFullGrid .games-grid__primary > .game-card--pc-only {
	order: 2;
}

body.is-mobile.legendary-games-detail #legendaryGamesGrid .games-grid__primary > .game-card {
	order: 0;
}

body.is-mobile.legendary-games-detail #legendaryGamesGrid .games-grid__primary > .game-card--pc-only {
	order: 2;
}

body.is-mobile.mmo-games-detail #mmoGamesGrid .games-grid__primary > .game-card {
	order: 0;
}

body.is-mobile.mmo-games-detail #mmoGamesGrid .games-grid__primary > .game-card--pc-only {
	order: 2;
}

body.set-detail .game-card--set-cta,
body.homepage-detail .game-card--set-cta {
	color: #f7f7f7;
	container-type: inline-size;
}

body.set-detail .game-card--set-cta .set-detail-cta-card__visual,
body.homepage-detail .game-card--set-cta .set-detail-cta-card__visual {
	aspect-ratio: 1.8085 / 1;
	border: 1px solid rgba(34, 211, 238, 0.62);
	background: #14262d;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.set-detail .set-detail-cta-card__background,
body.set-detail .set-detail-cta-card__scrim,
body.set-detail .set-detail-cta-card__content,
body.homepage-detail .set-detail-cta-card__background,
body.homepage-detail .set-detail-cta-card__scrim,
body.homepage-detail .set-detail-cta-card__content {
	position: absolute;
	inset: 0;
}

body.set-detail .set-detail-cta-card__background,
body.homepage-detail .set-detail-cta-card__background {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.52;
	filter: saturate(1.02) blur(0.6px);
	transform: scale(1.04);
	transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

body.set-detail .set-detail-cta-card__scrim,
body.homepage-detail .set-detail-cta-card__scrim {
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(3, 9, 14, 0.34), rgba(3, 9, 14, 0.56)),
		linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(255, 255, 255, 0.02));
}

body.set-detail .set-detail-cta-card__content,
body.homepage-detail .set-detail-cta-card__content {
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 11px;
}

body.set-detail .set-detail-cta-card__center,
body.homepage-detail .set-detail-cta-card__center {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 0;
	max-width: 100%;
}

body.set-detail .set-detail-cta-card__icon,
body.homepage-detail .set-detail-cta-card__icon {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	object-fit: contain;
}

body.set-detail .set-detail-cta-card__count,
body.homepage-detail .set-detail-cta-card__count {
	max-width: 100%;
	min-width: 0;
	padding: 4px 10px;
	border: 1px solid #155b75;
	border-radius: 999px;
	color: #67e3f9;
	background: rgba(13, 45, 58, 0.86);
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	white-space: nowrap;
	text-transform: uppercase;
	text-overflow: ellipsis;
	overflow: hidden;
}

body.set-detail .set-detail-cta-card__info,
body.homepage-detail .set-detail-cta-card__info {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	overflow: hidden;
}

body.set-detail .set-detail-cta-card__action,
body.homepage-detail .set-detail-cta-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
	min-width: 0;
	max-width: 100%;
	color: var(--text-primary);
	background: transparent;
	box-shadow: none;
	font-size: var(--fs14);
	font-weight: var(--fw400);
	line-height: 17px;
	white-space: nowrap;
}

body.set-detail .set-detail-cta-card__arrow,
body.homepage-detail .set-detail-cta-card__arrow {
	flex: 0 0 auto;
	font-size: var(--fs14);
	font-weight: var(--fw400);
	line-height: 1;
}

body.set-detail .set-detail-cta-card__action span:first-child,
body.homepage-detail .set-detail-cta-card__action span:first-child {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.set-detail .game-card--set-cta:hover .set-detail-cta-card__visual,
body.homepage-detail .game-card--set-cta:hover .set-detail-cta-card__visual {
	outline-color: var(--bg-brand-solid);
}

body.set-detail .game-card--set-cta:hover .set-detail-cta-card__background,
body.homepage-detail .game-card--set-cta:hover .set-detail-cta-card__background {
	opacity: 0.56;
	transform: scale(1.07);
}

@media (max-width: 640px) {
	body.set-detail .set-detail-cta-card__content,
	body.homepage-detail .set-detail-cta-card__content {
		padding: 7px;
	}

	body.set-detail .set-detail-cta-card__icon,
	body.homepage-detail .set-detail-cta-card__icon {
		width: 28px;
		height: 28px;
		flex-basis: 28px;
	}

	body.set-detail .set-detail-cta-card__count,
	body.homepage-detail .set-detail-cta-card__count {
		padding: 3px 8px;
		font-size: 11px;
		line-height: 15px;
	}
}

@media (max-width: 639px) {
	body.is-mobile.homepage-detail .main__section--homepage-legendary-featured .game-card--set-cta .set-detail-cta-card__visual {
		aspect-ratio: 1 / 1;
	}
}

@media (max-width: 420px) {
	body.set-detail .set-detail-cta-card__content,
	body.homepage-detail .set-detail-cta-card__content {
		padding: 6px;
	}

	body.set-detail .set-detail-cta-card__center,
	body.homepage-detail .set-detail-cta-card__center {
		gap: 4px;
	}

	body.set-detail .set-detail-cta-card__icon,
	body.homepage-detail .set-detail-cta-card__icon {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}

	body.set-detail .set-detail-cta-card__count,
	body.homepage-detail .set-detail-cta-card__count {
		font-size: 10px;
		line-height: 14px;
	}
}

@supports (font-size: 1cqw) {
	body.set-detail .set-detail-cta-card__content,
	body.homepage-detail .set-detail-cta-card__content {
		padding: clamp(6px, 4cqw, 11px);
	}

	body.set-detail .set-detail-cta-card__center,
	body.homepage-detail .set-detail-cta-card__center {
		gap: clamp(4px, 2.6cqw, 7px);
	}

	body.set-detail .set-detail-cta-card__icon,
	body.homepage-detail .set-detail-cta-card__icon {
		width: clamp(24px, 14cqw, 36px);
		height: clamp(24px, 14cqw, 36px);
		flex-basis: clamp(24px, 14cqw, 36px);
	}

	body.set-detail .set-detail-cta-card__count,
	body.homepage-detail .set-detail-cta-card__count {
		padding: clamp(3px, 1.6cqw, 4px) clamp(7px, 3.6cqw, 10px);
		font-size: clamp(10px, 5cqw, 14px);
		line-height: clamp(14px, 6.5cqw, 18px);
	}
}

body.set-detail .set-detail-empty {
	max-width: 720px;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
}

body.set-detail .set-detail-empty__title {
	margin: 0 0 10px;
	color: #fafffe;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
}

body.set-detail .set-detail-empty__text {
	margin: 0;
	color: #cecfd2;
	font-size: 14px;
	line-height: 22px;
}

body.set-detail .main__section--set-teaser .separator {
	margin: 28px 0 4px;
}

body.set-detail .main__section--set-teaser .separator__button {
	flex: 0 0 auto;
}

body.category-detail .main__section--category-teaser .separator,
body.category-detail .main__section--top-themes .separator {
	margin: 28px 0 4px;
}

body.homepage-detail .main__section--category-teaser .separator,
body.homepage-detail .main__section--popular-games .separator {
	margin: 0 0 4px;
}

body.category-detail .main__section--category-teaser .separator__button,
body.category-detail .main__section--top-themes .separator__button {
	flex: 0 0 auto;
}

body.homepage-detail .main__section--category-teaser .separator__button,
body.homepage-detail .main__section--popular-games .separator__button {
	flex: 0 0 auto;
}

body.category-detail .game-card--category-theme .category-theme-card__image,
body.category-detail .game-card--category-theme .category-theme-card__image img {
	aspect-ratio: 1 / 1;
}

body.category-detail .category-theme-carousel .game-card--category-theme::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	aspect-ratio: 1 / 1;
	z-index: 20;
	border: 3px solid transparent;
	border-radius: var(--br8);
	pointer-events: none;
	transition: border-color 0.18s ease;
}

body.category-detail .category-theme-carousel .game-card--category-theme:hover .category-theme-card__image {
	outline: 0;
}

body.category-detail .category-theme-carousel .game-card--category-theme:hover::after {
	border-color: var(--bg-brand-solid);
}

body.category-detail .game-card--category-theme .category-theme-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.category-detail .category-theme-card__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.06);
}

body.category-detail .category-theme-card__fallback img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

body.category-detail .category-theme-carousel {
	position: relative;
	width: 100%;
	--category-theme-carousel-gap: 16px;
	--category-theme-carousel-card-basis: calc((100% - 80px) / 6);
}

body.category-detail .category-theme-carousel__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

body.category-detail .category-theme-carousel__viewport::-webkit-scrollbar {
	width: 0;
	height: 0;
}

body.category-detail .category-theme-carousel__track {
	display: flex;
	align-items: flex-start;
	gap: var(--category-theme-carousel-gap);
	padding: 8px 4px;
}

body.category-detail .category-theme-carousel .game-card--category-theme {
	flex: 0 0 var(--category-theme-carousel-card-basis);
	min-width: 0;
	scroll-snap-align: start;
}

body.category-detail .category-theme-carousel__arrow {
	position: absolute;
	top: 8px;
	bottom: 34px;
	z-index: 10;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.18s ease;
}

body.category-detail .category-theme-carousel--ready:not(.category-theme-carousel--no-overflow) .category-theme-carousel__arrow {
	display: flex;
}

body.category-detail .category-theme-carousel__arrow:disabled {
	opacity: 0;
	cursor: default;
	pointer-events: none;
}

body.category-detail .category-theme-carousel__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.36);
	transform: translate(-50%, -50%);
	z-index: -1;
}

body.category-detail .category-theme-carousel__arrow img {
	width: 18px;
	height: 18px;
	filter: brightness(0) invert(1);
}

body.category-detail .category-theme-carousel__arrow--prev {
	left: 0;
}

body.category-detail .category-theme-carousel__arrow--prev img {
	transform: rotate(180deg);
}

body.category-detail .category-theme-carousel__arrow--next {
	right: 0;
}

@media (max-width: 1439px) {
	body.category-detail .category-theme-carousel {
		--category-theme-carousel-card-basis: calc((100% - 48px) / 4);
	}
}

@media (max-width: 640px) {
	body.category-detail .category-theme-carousel {
		--category-theme-carousel-gap: 10px;
		--category-theme-carousel-card-basis: calc((100% - 20px) / 2.35);
	}

	body.category-detail .category-theme-carousel__track {
		padding: 6px 0;
	}

	body.category-detail.is-mobile .category-theme-carousel__arrow,
	body.category-detail[data-device-family="mobile"] .category-theme-carousel__arrow {
		display: none !important;
	}

	body.category-detail.is-desktop .category-theme-carousel--ready:not(.category-theme-carousel--no-overflow) .category-theme-carousel__arrow,
	body.category-detail[data-device-family="desktop"] .category-theme-carousel--ready:not(.category-theme-carousel--no-overflow) .category-theme-carousel__arrow {
		display: flex !important;
	}
}

@media (min-width: 1440px) and (max-width: 1599px) {
	body.category-detail .category-theme-carousel {
		--category-theme-carousel-card-basis: calc((100% - 64px) / 5);
	}
}

@media (min-width: 1820px) and (max-width: 2239px) {
	body.category-detail .category-theme-carousel {
		--category-theme-carousel-card-basis: calc((100% - 96px) / 7);
	}
}

@media (min-width: 2240px) {
	body.category-detail .category-theme-carousel {
		--category-theme-carousel-card-basis: calc((100% - 112px) / 8);
	}
}

body.set-detail .bottom-line__container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 40px;
}

body.homepage-detail .bottom-line__container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 40px;
}

body.set-detail .bottom-line {
	margin-top: 40px;
}

body.homepage-detail .bottom-line {
	margin-top: 40px;
}

body.category-themes .bottom-line {
	margin-top: 24px;
}

body.month-games-detail .bottom-line {
	margin-top: 24px;
}

body.homepage-detail .main__section--homepage-carousel .carousel {
	--homepage-carousel-columns: 6.3;
	--homepage-carousel-gap: 16px;
}

body.homepage-detail .main__section--homepage-continue {
	scroll-margin-top: 104px;
}

body.homepage-detail .main__section--homepage-carousel .carousel__wrapper {
	gap: var(--homepage-carousel-gap);
	padding: 3px;
}

body.homepage-detail .main__section--homepage-carousel .carousel__wrapper .game-card {
	flex: 0 0 calc((100% - (var(--homepage-carousel-columns) - 1) * var(--homepage-carousel-gap)) / var(--homepage-carousel-columns));
	max-width: calc((100% - (var(--homepage-carousel-columns) - 1) * var(--homepage-carousel-gap)) / var(--homepage-carousel-columns));
}

body.is-desktop.homepage-detail .main__section--homepage-carousel .carousel__arrow {
	opacity: 1 !important;
	pointer-events: auto;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

body.homepage-detail .main__section--homepage-carousel .carousel[data-carousel-grid="listing"] .carousel__arrow:disabled {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none;
}

body.is-desktop.homepage-detail .main__section--homepage-carousel .carousel__arrow--prev {
	left: 3px;
}

body.is-desktop.homepage-detail .main__section--homepage-carousel .carousel__arrow--next {
	right: 3px;
}

body.is-desktop.homepage-detail .main__section--homepage-carousel .carousel__arrow::before {
	background: rgba(9, 12, 18, 0.72);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

body.is-desktop.homepage-detail .main__section--homepage-carousel .carousel__arrow:hover::before,
body.is-desktop.homepage-detail .main__section--homepage-carousel .carousel__arrow:focus-visible::before {
	background: rgba(9, 12, 18, 0.82);
}

body.is-desktop.homepage-detail .main__section--homepage-carousel .carousel__arrow svg {
	display: block;
	width: 8px;
	height: 12px;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
}

body.is-desktop.homepage-detail .main__section--homepage-carousel .carousel__arrow--next svg {
	transform: translateY(1px);
}

@media (max-width: 639px) {
	body.homepage-detail .main__section--homepage-continue {
		scroll-margin-top: 84px;
	}

	body.homepage-detail .main__section--homepage-carousel .carousel {
		--homepage-carousel-columns: 2.3;
	}
}

body.is-mobile.homepage-detail .main__section--homepage-carousel .carousel__arrow {
	display: none !important;
}

@media (max-width: 640px) {
	body.is-desktop.homepage-detail .main__section--homepage-carousel .carousel__arrow {
		display: flex !important;
	}
}

@media (min-width: 640px) and (max-width: 1439px) {
	body.homepage-detail .main__section--homepage-carousel .carousel {
		--homepage-carousel-columns: 4.3;
	}
}

@media (min-width: 1440px) and (max-width: 1599px) {
	body.homepage-detail .main__section--homepage-carousel .carousel {
		--homepage-carousel-columns: 5.3;
	}
}

@media (min-width: 1600px) and (max-width: 1819px) {
	body.homepage-detail .main__section--homepage-carousel .carousel {
		--homepage-carousel-columns: 6.3;
	}
}

@media (min-width: 1820px) and (max-width: 2239px) {
	body.homepage-detail .main__section--homepage-carousel .carousel {
		--homepage-carousel-columns: 7.3;
	}
}

@media (min-width: 2240px) {
	body.homepage-detail .main__section--homepage-carousel .carousel {
		--homepage-carousel-columns: 8.3;
	}
}

body.set-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+22),
body.set-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+25) {
	display: none;
}

body.homepage-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+25),
body.homepage-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+14) {
	display: none;
}

body.homepage-detail:not(.show-more-ready) .main__section--homepage-legendary-featured .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+11) {
	display: none;
}

body.category-detail:not(.show-more-ready) .main__section--category-legendary .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+14) {
	display: none;
}

@media (max-width: 640px) {
	body.set-detail .bottom-line {
		margin-top: 28px;
	}

	body.homepage-detail .bottom-line {
		margin-top: 28px;
	}

	body.month-games-detail .bottom-line {
		margin-top: 28px;
	}

	body.set-detail .bottom-line__container {
		padding: 24px;
	}

	body.homepage-detail .bottom-line__container {
		padding: 24px;
	}

	body.set-detail .main__section--set-teaser .separator {
		margin-top: 22px;
	}

	body.category-detail .main__section--category-teaser .separator,
	body.category-detail .main__section--top-themes .separator {
		margin-top: 22px;
	}

	body.homepage-detail .main__section--category-teaser .separator,
	body.homepage-detail .main__section--popular-games .separator {
		margin-top: 0;
	}
}

@media (max-width: 639px) {
	body.set-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+8),
	body.set-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+7) {
		display: none;
	}

	body.homepage-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+7),
	body.homepage-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+6) {
		display: none;
	}

	body.homepage-detail:not(.show-more-ready) .main__section--homepage-legendary-featured .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+5) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--category-legendary .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+6) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--top-themes .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+4) {
		display: none;
	}
}

@media (max-width: 640px) {
	body.set-detail .games-grid--regular.games-grid--mobile-3col .games-grid__primary {
		grid-template-columns: repeat(2, 1fr);
	}

	body.category-detail .main__section--top-themes .games-grid--regular.games-grid--mobile-3col .games-grid__primary {
		grid-template-columns: repeat(3, 1fr);
	}

	body.category-themes .main__section--themes-list .games-grid--regular.games-grid--mobile-3col .games-grid__primary {
		grid-template-columns: repeat(3, 1fr);
	}

	body.set-detail .main__section--popular-games .games-grid--regular.games-grid--mobile-3col .games-grid__primary {
		grid-template-columns: repeat(3, 1fr);
	}

	body.homepage-detail .main__section--popular-games .games-grid--regular.games-grid--mobile-3col .games-grid__primary {
		grid-template-columns: repeat(3, 1fr);
	}

	body.set-detail .main__section--popular-games .games-grid--mobile-3col .game-card__image--regular,
	body.set-detail .main__section--popular-games .games-grid--mobile-3col .game-card__image--regular img,
	body.homepage-detail .main__section--popular-games .games-grid--mobile-3col .game-card__image--regular,
	body.homepage-detail .main__section--popular-games .games-grid--mobile-3col .game-card__image--regular img {
		aspect-ratio: 1 / 1;
	}
}

@media (min-width: 640px) and (max-width: 1439px) {
	body.set-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+6),
	body.set-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+13) {
		display: none;
	}

	body.homepage-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+13),
	body.homepage-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+6) {
		display: none;
	}

	body.homepage-detail:not(.show-more-ready) .main__section--homepage-legendary-featured .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(6) {
		display: flex;
	}

	body.homepage-detail:not(.show-more-ready) .main__section--homepage-legendary-featured .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+7) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--category-legendary .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+6) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--top-themes .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+5) {
		display: none;
	}
}

@media (min-width: 1440px) and (max-width: 1599px) {
	body.set-detail .games-grid--regular .games-grid__primary,
	body.set-detail .games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(5, 1fr);
	}

	body.homepage-detail .games-grid--regular .games-grid__primary,
	body.homepage-detail .games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(5, 1fr);
	}

	body.set-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+13),
	body.set-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+16) {
		display: none;
	}

	body.homepage-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+16),
	body.homepage-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+8) {
		display: none;
	}

	body.homepage-detail:not(.show-more-ready) .main__section--homepage-legendary-featured .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+5) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--category-legendary .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+8) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--top-themes .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+6) {
		display: none;
	}
}

@media (min-width: 1600px) and (max-width: 1819px) {
	body.set-detail .games-grid--regular .games-grid__primary,
	body.set-detail .games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(6, 1fr);
	}

	body.homepage-detail .games-grid--regular .games-grid__primary,
	body.homepage-detail .games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(6, 1fr);
	}

	body.set-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+16),
	body.set-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+19) {
		display: none;
	}

	body.homepage-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+19),
	body.homepage-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+10) {
		display: none;
	}

	body.homepage-detail:not(.show-more-ready) .main__section--homepage-legendary-featured .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+7) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--category-legendary .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+10) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--top-themes .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+7) {
		display: none;
	}
}

@media (min-width: 1820px) and (max-width: 2239px) {
	body.set-detail .games-grid--regular .games-grid__primary,
	body.set-detail .games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(7, 1fr);
	}

	body.homepage-detail .games-grid--regular .games-grid__primary,
	body.homepage-detail .games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(7, 1fr);
	}

	body.set-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+19),
	body.set-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+22) {
		display: none;
	}

	body.homepage-detail:not(.show-more-ready) .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+22),
	body.homepage-detail:not(.show-more-ready) .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+12) {
		display: none;
	}

	body.homepage-detail:not(.show-more-ready) .main__section--homepage-legendary-featured .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+9) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--category-legendary .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+12) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--top-themes .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+8) {
		display: none;
	}
}

@media (min-width: 1537px) and (max-width: 1919px) {
	.layout--listing-with-side-ad {
		grid-template-columns: 220px minmax(0, 1fr) 160px;
	}

	.layout--listing-with-side-ad.layout--sidebar-expanded {
		grid-template-columns: 220px minmax(0, 1fr) 160px !important;
	}

	.layout--listing-with-side-ad.layout--sidebar-minimized {
		grid-template-columns: 70px minmax(0, 1fr) 160px !important;
	}

	.layout--listing-with-side-ad .ads--listing,
	.layout--listing-with-side-ad .ads--listing .ads__banner__first {
		width: 160px;
		max-width: 160px;
	}

	.layout--listing-with-side-ad .ads--listing .ads__banner__first img {
		max-width: 160px;
	}
}

@media (min-width: 2240px) {
	body.set-detail .games-grid--regular .games-grid__primary,
	body.set-detail .games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(8, 1fr);
	}

	body.homepage-detail .games-grid--regular .games-grid__primary,
	body.homepage-detail .games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(8, 1fr);
	}

	body.category-detail:not(.show-more-ready) .main__section--category-legendary .games-grid--standard[data-show-count] .games-grid__primary > .game-card:nth-child(n+14) {
		display: none;
	}

	body.category-detail:not(.show-more-ready) .main__section--top-themes .games-grid--regular[data-show-count] .games-grid__primary > .game-card:nth-child(n+9) {
		display: none;
	}
}

@media (min-width: 2561px) {
	body.set-detail .main__content {
		max-width: 2292px;
		margin: 0 auto;
	}

	body.homepage-detail .main__content {
		max-width: 2292px;
		margin: 0 auto;
	}
}

/* base layout 4col */
body.all-categories .main__content__categories {
	max-width: none;
	width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--gap32);
}

body.all-categories .categories {
	display: block;
	columns: 306px 5;
	column-gap: 32px;
}

body.all-categories .main__content__categories .categories-filters {
	display: contents;
	margin-bottom: 32px;
	padding: 0;
}

body.all-categories .categories__group .main__section-title h2,
body.all-categories .categories__group .main__section-title h2 a {
	color: var(--text-primary);
}

body.all-categories .categories__group .main__section-title {
	margin-bottom: 16px;
}

body.all-categories .categories__group .main__section-title__icon--plain {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	margin-left: 4px;
	align-items: center;
	justify-content: center;
}

body.all-categories .categories__group .main__section-title__icon--plain img {
	width: 36px;
	height: 36px;
}

body.all-categories .categories__items .categories__group {
	display: flex;
	flex-direction: column;
	max-width: fit-content;
	gap: var(--gap8);
	margin-bottom: 32px;
	padding-top: 12px;
	break-inside: avoid-column;
	content-visibility: auto;
	contain-intrinsic-size: auto 360px;
}

body.all-categories .categories__items a {
	display: block;
	max-width: fit-content;
	content-visibility: auto;
	contain-intrinsic-size: auto 44px;
}

body.all-categories .categories__items {
	display: block;
	width: fit-content;
}

body.all-categories .categories__item__icon-preview {
	display: block;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	object-fit: cover;
}

body.all-categories .bottom-line__categories .categories__items {
	display: flex;
}

@media (min-width: 2561px) {
	body.all-categories .main__content__categories {
		max-width: 1658px;
		margin: 0 auto;
		gap: var(--gap16);
		padding: 0 8px;
	}
}

@media (min-width: 1921px) and (max-width: 2560px) {
	body.all-categories .main__content__categories {
		max-width: 100%;
		width: 100%;
		margin: 0;
		padding: 0 8px;
	}
}

/* OnPage nav - back button */

.inpage__back__btn {
	display: flex;
	gap: var(--gap4);
	gap: 4px;
	font-size: 14px;
	width: fit-content;
	align-items: center;
	grid-column: 1 /-1;
	color: var(--text-secondary);
	text-decoration: none;
}

.inpage__back__btn__icon {
	padding: 7.5px 5px;
}

.inpage__back__btn a,
.inpage__back__btn__label,
.inpage__back__btn button {
	color: var(--text-secondary);
	font-weight: var(--fw600);
	font-size: var(--fs14);
	font-family: inherit;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.inpage__back__btn a:hover,
.inpage__back__btn:hover,
.inpage__back__btn:hover .inpage__back__btn__label,
.inpage__back__btn button:hover,
.inpage__back__btn button:focus-visible {
	color: var(--bg-brand-solid);
}

@media (min-width: 3200px) and (max-width: 3840px) {
	body.all-categories .categories {
		column-count: 5;
	}
}

@media (min-width: 3000px) and (max-width: 3199px) {
	body.all-categories .categories {
		column-count: 5;
	}
}

@media (min-width: 2800px) and (max-width: 2999px) {
	body.all-categories .categories {
		column-count: 5;
	}
}

@media (min-width: 2559px) and (max-width: 2799px) {
	body.all-categories .categories {
		column-count: 5;
	}
}

@media (max-width: 971px) {
	body.all-categories .categories {
		column-count: 3;
	}
}

@media (max-width: 768px) {
	body.all-categories .categories {
		column-count: 2;
	}
}

@media (max-width: 420px) {
	body.all-categories .categories {
		column-count: 1;
	}
}

/*  body.categories-overview .games-grid--regular .games-grid__primary {
    grid-template-columns: repeat(4, 1fr);
 } */

/*  body.categories-overview .games-grid--regular.games-grid--mobile-3col {
    grid-template-columns: repeat(4, 1fr);
 } */

body.categories-overview .games-grid--regular.games-grid--mobile-3col .game-card__image-static,
body.categories-overview .games-grid--regular.games-grid--mobile-3col .game-card__image-hover {
	aspect-ratio: 1 / 1;
}

/* Listing side banner */
.layout--listing-no-side-ad {
	grid-template-columns: 220px minmax(0, 1fr);
}

.layout--listing-no-side-ad.layout--sidebar-expanded {
	grid-template-columns: 220px minmax(0, 1fr) !important;
}

.layout--listing-no-side-ad.layout--sidebar-minimized {
	grid-template-columns: 70px minmax(0, 1fr) !important;
}

.layout--listing-no-side-ad .bottom-line {
	grid-column: 2;
	min-width: 0;
}

.layout--listing-no-side-ad .footer {
	grid-column: 2;
	min-width: 0;
}

.layout--listing-no-side-ad .footer__container {
	width: 100%;
	transform: none;
}

.layout--listing-with-side-ad .ads--listing {
	grid-column: 3;
	grid-row: 2;
	justify-self: start;
	align-self: start;
	position: sticky;
	top: 75px;
	width: 300px;
	max-width: 300px;
	min-height: 600px;
}

.layout--listing-with-side-ad .ads--listing .ads__banner__first {
	overflow: hidden;
}

.layout--listing-with-side-ad .ads--listing .ads__banner__first img {
	display: block;
	width: 100%;
	height: 600px;
	object-fit: contain;
}

.layout--listing-with-side-ad .bottom-line {
	grid-column: 2;
	min-width: 0;
}

.layout--listing-with-side-ad .footer {
	grid-column: 2;
	min-width: 0;
}

.layout--listing-with-side-ad .footer__container {
	width: 100%;
	transform: none;
}

@media (min-width: 1281px) and (max-width: 1536px) {
	.layout--listing-with-side-ad .ads--listing,
	.layout--listing-with-side-ad .ads--listing .ads__banner__first {
		width: 160px;
		max-width: 160px;
	}

	.layout--listing-with-side-ad .ads--listing .ads__banner__first img {
		max-width: 160px;
	}
}

@media (min-width: 1195px) and (max-width: 1280px) {
	.layout.layout--listing-no-side-ad {
		grid-template-columns: 70px minmax(0, 1fr);
	}

	.layout.layout--listing-no-side-ad.layout--sidebar-expanded {
		grid-template-columns: 220px minmax(0, 1fr) !important;
	}

	.layout.layout--listing-no-side-ad.layout--sidebar-minimized {
		grid-template-columns: 70px minmax(0, 1fr) !important;
	}

	.layout.layout--listing-with-side-ad {
		grid-template-columns: 70px minmax(0, 1fr);
	}

	.layout.layout--listing-with-side-ad.layout--sidebar-expanded {
		grid-template-columns: 220px minmax(0, 1fr) !important;
	}

	.layout.layout--listing-with-side-ad.layout--sidebar-minimized {
		grid-template-columns: 70px minmax(0, 1fr) !important;
	}

	.layout--listing-with-side-ad .ads--listing {
		display: none;
	}
}

@media (max-width: 1194px) {
	.layout.layout--listing-no-side-ad {
		grid-template-columns: 1fr;
	}

	.layout--listing-no-side-ad .bottom-line,
	.layout--listing-with-side-ad .bottom-line {
		grid-column: 1 / -1;
	}

	.layout--listing-no-side-ad .footer,
	.layout--listing-with-side-ad .footer {
		grid-column: 1 / -1;
	}

	.layout--listing-with-side-ad .ads--listing {
		display: none;
	}
}
