.nsc *,
.nsc *::before,
.nsc *::after {
	box-sizing: border-box;
}

.nsc__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.nsc li::before {
	content: none;
}

.nsc button {
	width: auto;
	font-family: inherit;
}

.nsc-card {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nsc-card:has(details[open]),
.nsc-card.is-open {
	z-index: 4;
}

.nsc-card__frame {
	position: relative;
	overflow: visible;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.nsc-card__top,
.nsc-card__stats {
	position: relative;
	z-index: 1;
}

.nsc-card__top > *,
.nsc-stat {
	min-width: 0;
}

.nsc-card__top {
	display: grid;
	grid-template-areas: "logo identity bonus actions";
	grid-template-columns: 120px minmax(0, 1fr) minmax(0, 2fr) 164px;
	align-items: center;
	gap: 10px 14px;
	padding: 14px 16px 12px;
}

.nsc-logo {
	grid-area: logo;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 70px;
	padding: 5px;
	overflow: hidden;
	border-radius: 5px;
	background: #edf2f7;
}

.nsc-logo__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.nsc-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.nsc-card__frame:not(.has-logo) .nsc-card__top {
	grid-template-areas: "identity bonus actions";
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto;
}

.nsc-card__identity {
	grid-area: identity;
	min-width: 0;
}

.nsc-card__name {
	margin: 0;
	color: #2d3748;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.nsc-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-top: 6px;
}

.nsc-accepted {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #3ddc84;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
}

.nsc-accepted__icon {
	display: block;
	width: 25px;
	height: 25px;
	object-fit: contain;
}

.nsc-neosurf {
	display: block;
	width: auto;
	max-width: 92px;
	height: 22px;
	object-fit: contain;
}

.nsc-bonus {
	display: flex;
	grid-area: bonus;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin: 0 !important;
	color: #2d3748;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	overflow-wrap: anywhere;
}

.nsc-bonus .nsc-icon {
	width: 30px;
	height: 30px;
}

.nsc-actions {
	display: flex;
	grid-area: actions;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.nsc-rating {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	color: var(--color-star, #dc2626);
	white-space: nowrap;
}

.nsc-rating svg.icon {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	fill: currentColor;
}

.nsc-join {
	width: 100%;
}

.nsc-join:hover,
.nsc-join:focus,
.nsc-join:visited,
.entry-content .nsc-join,
.entry-content .nsc-join:hover {
	color: #2b2416;
	text-decoration: none !important;
}

.nsc-join:hover,
.nsc-join:focus {
	filter: brightness(1.06);
}

.nsc-join.is-static {
	cursor: default;
}

.nsc-card__stats {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	padding: 12px 6px 14px;
	border-top: 1px solid #e5e7eb;
	border-radius: 0 0 16px 16px;
}

.nsc-stat {
	min-width: 0;
	padding: 0 10px;
	border-left: 1px solid #e5e7eb;
	position: relative;
}

.nsc-stat:first-child {
	border-left: 0;
	padding-left: 8px;
}

.nsc-stat:last-child {
	padding-right: 8px;
}

.nsc-stat__label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 0 0 10px !important;
	color: #a0aec0;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	text-align: center;
}

.nsc-stat__label .nsc-icon--gift {
	color: #f0d48a;
}

.nsc-mask {
	display: inline-block;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	background-color: currentColor;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.nsc-mask--payment {
	-webkit-mask-image: url("../images/nsc-payment.png");
	mask-image: url("../images/nsc-payment.png");
}

.nsc-mask--money {
	-webkit-mask-image: url("../images/nsc-money-bag.png");
	mask-image: url("../images/nsc-money-bag.png");
}

.nsc-icon {
	display: block;
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.nsc-icon--lg {
	width: 26px;
	height: 26px;
	stroke-width: 2.4;
}

.nsc-icon--green {
	color: #3ddc84;
}

.nsc-icon--gold {
	color: #e7c56a;
}

.nsc-value-icon {
	display: block;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.nsc-value-icon--lg {
	width: 40px;
	height: 40px;
}

.nsc-eligible {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	gap: 10px;
	max-width: 160px;
	color: #010000;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	text-align: center;
}

.nsc-money {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 10px;
	color: #010000;
	font-size: 27px;
	font-weight: 700;
	line-height: 1;
}

.nsc-lines,
.nsc-more__list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.nsc-lines {
	color: #2d3748;
	font-size: 12px;
	line-height: 1.4;
}
.nsc-more__list li,
.nsc-lines li {
	list-style: none;
}

.nsc-lines li::before {
	content: "- ";
	color: #2d3748;
}

.nsc-pays {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
}

.nsc-pay {
	display: block;
	width: 42px;
	height: 32px;
	text-decoration: none;
}

.nsc-pay img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
}

.nsc summary {
	list-style: none;
	cursor: pointer;
}

.nsc summary::-webkit-details-marker {
	display: none;
}

.nsc summary::marker {
	content: "";
}

.nsc-info {
	position: absolute;
	right: 10px;
	display: inline-flex;
	margin-left: auto;
}

.nsc-info__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #010000;
	line-height: 0;
	cursor: help;
}

.nsc-info__glyph {
	display: block;
	width: 16px;
	height: 16px;
	overflow: visible;
}

.nsc-info:not([open]) .nsc-info__panel,
.nsc-more:not([open]) .nsc-more__list {
	display: none;
}

.nsc-info__panel {
	position: absolute;
	z-index: 6;
	top: calc(100% + 8px);
	left: 0;
	width: max-content;
	max-width: min(320px, calc(100vw - 32px));
	padding: 12px 32px 12px 14px;
	border-radius: 16px;
	background: #f3f1ed;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .28);
	color: #111111;
}

.nsc-info__panel::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 10px;
}

.nsc-info__close {
	position: absolute;
	top: 6px;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #c5cedd;
	cursor: pointer;
}

.nsc-info__body {
	color: #111111;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	text-transform: none;
	letter-spacing: 0;
}

.nsc-info__body p,
.nsc-info__body ul,
.nsc-info__body ol {
	margin: 0 0 6px;
	padding: 0;
}

.nsc-info__body p:last-child,
.nsc-info__body ul:last-child,
.nsc-info__body ol:last-child {
	margin-bottom: 0;
}

.nsc-info__body strong,
.nsc-info__body b,
.nsc-info__body h2,
.nsc-info__body h3,
.nsc-info__body h4 {
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
}

.nsc-info__body ul,
.nsc-info__body ol {
	list-style: none;
}

.nsc-info__body li::before {
	content: "- ";
	color: #9aa3b5;
}

.nsc-more {
	position: relative;
}

.nsc-more-wrap {
	position: relative;
}

.nsc-pays__rest {
	display: none;
}

.nsc-more[open] + .nsc-pays__rest {
	position: absolute;
	z-index: 6;
	top: calc(100% + 6px);
	right: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 180px;
	padding: 10px;
	border-radius: 16px;
	background: #f3f1ed;
	color: #111111;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .28);
}

.nsc-more__toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 32px;
	padding: 0;
	color: #010000;
	line-height: 1;
}

.nsc-more__count {
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.nsc-more__chevron {
	transition: transform 0.2s ease;
}

.nsc-more[open] .nsc-more__chevron {
	transform: rotate(180deg);
}

.nsc-more__list {
	position: absolute;
	z-index: 6;
	top: calc(100% + 6px);
	right: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 180px;
	padding: 10px !important;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #1b2433;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.nsc-placeholder {
	margin: 0;
	padding: 16px;
	border: 1px dashed #e5e7eb;
	border-radius: 12px;
	background: #121826;
	color: #c53030;
	font-family: Montserrat, sans-serif;
}
.nsc-info__body {
	text-align: left;
}
.nsc-info__body strong {
	color: #c53030;
}
.nsc-info__body p {
	margin-bottom: 5px !important;
}
.nsc-info__body *:last-child {
	margin-bottom: 0 !important;
}
.nsc-info__close {
	width: 25px !important;
	height: 25px;
}
.nsc-info__close .nsc-icon {
	width: 25px;
	height: 25px
}

@media(max-width: 1100px) {
	.nsc-eligible {
		font-size: 14px;
	}
	.nsc-value-icon--lg {
		width: 30px;
		height: 30px;
	}
	.nsc-logo {
		width: 70px;
		height: 70px;
	}
	.nsc-card__top {
		grid-template-columns: 70px minmax(0, 1fr) minmax(0, 2fr) 164px;
	}
	.nsc-bonus {
		font-size: 16px;
	}
	.nsc-money {
		padding-right: 20px;
	}
}

@media (max-width: 760px) {
	.nsc-card__top,
	.nsc-card__frame:not(.has-logo) .nsc-card__top {
		grid-template-areas:
			"logo identity"
			"bonus bonus"
			"actions actions";
		grid-template-columns: 70px minmax(0, 1fr);
	}

	.nsc-card__frame:not(.has-logo) .nsc-card__top {
		grid-template-areas:
			"identity identity"
			"bonus bonus"
			"actions actions";
		grid-template-columns: minmax(0, 1fr);
	}

	.nsc-actions {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	.nsc-card__name {
		font-size: 20px;
	}

	.nsc-bonus {
		font-size: 17px;
	}

	.nsc-join {
		max-width: 192px;
	}

	.nsc-card__stats {
		grid-template-columns: 1fr 1fr;
	}

	.nsc-stat {
		padding: 10px 8px;
		border-left: 0;
		border-top: 1px solid #e5e7eb;
	}

	.nsc-stat:nth-child(odd) {
		border-right: 1px solid #e5e7eb;
	}

	.nsc-stat:nth-child(-n + 2) {
		border-top: 0;
	}

	.nsc-info__panel {
		left: auto;
		right: 0;
	}
	.nsc-lines {
		text-align: center;
	}
	.nsc-pays {
		justify-content: center;
	}
	.nsc-more {
		display: none;
	}
	.nsc-more-wrap,
	.nsc-pays__rest,
	.nsc-more[open] + .nsc-pays__rest {
		display: contents;
		position: static;
		min-width: 0;
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
	}
	.nsc-stat__label {
		margin-bottom: 15px !important;
	}
}
@media(max-width: 380px) {
	.nsc-actions {
		flex-direction: column;
	}
}
