.mks-gre-practice-set {
	--mks-practice-purple: #7c2bea;
	--mks-practice-purple-dark: #5e16c9;
	--mks-practice-purple-soft: #e8dcfb;
	--mks-practice-border: #c5a7f7;
	--mks-practice-text: #24212d;
	width: min(100%, 1080px);
	max-width: 1080px;
	margin: 18px auto 34px;
	padding: 0 14px 24px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--mks-practice-text);
	line-height: 1.55;
}

.mks-gre-practice-set *,
.mks-gre-practice-set *::before,
.mks-gre-practice-set *::after {
	box-sizing: border-box;
}

.mks-gre-practice-set h1 {
	margin: 0 auto 8px;
	padding: 0 0 12px;
	text-align: center;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.1;
	font-weight: 900;
	color: #2b2b31;
	border-bottom: 3px solid var(--mks-practice-purple);
}

.mks-gre-practice-set .test-subtitle {
	text-align: center;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 900;
	color: var(--mks-practice-purple);
	margin: 4px 0 18px;
}

.mks-gre-practice-set .q-card {
	background: var(--mks-practice-purple-soft);
	border: 2px solid var(--mks-practice-border);
	border-radius: 18px;
	padding: 20px 24px;
	margin: 18px 0;
	box-shadow: 0 14px 32px rgba(124, 43, 234, .08);
}

.mks-gre-practice-set .q-head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(124, 43, 234, .2);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 900;
	line-height: 1.35;
	color: #24212d;
}

.mks-gre-practice-set .q-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	background: var(--mks-practice-purple);
	color: #fff;
	border-radius: 10px;
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 8px 18px rgba(124, 43, 234, .22);
}

.mks-gre-practice-set .q-text {
	min-width: 0;
}

.mks-gre-practice-set .q-text p {
	display: inline;
	margin: 0;
}

.mks-gre-practice-set .options {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mks-gre-practice-set .options li {
	margin: 0;
	padding: 0;
}

.mks-gre-practice-set .options label {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid #eee8fb;
	border-radius: 10px;
	background: #fff;
	font-size: 18px;
	font-weight: 800;
	color: #2f2d37;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(42, 31, 61, .04);
}

.mks-gre-practice-set .options label:hover {
	border-color: var(--mks-practice-border);
	background: #fbf8ff;
}

.mks-gre-practice-set .options input[type="radio"] {
	width: 19px;
	height: 19px;
	margin: 0;
	accent-color: var(--mks-practice-purple);
}

.mks-gre-practice-set .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 22px;
	border: 0;
	border-radius: 10px;
	background: var(--mks-practice-purple);
	color: #fff;
	font: inherit;
	font-size: 18px;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(124, 43, 234, .2);
}

.mks-gre-practice-set .btn:hover:not(:disabled) {
	background: var(--mks-practice-purple-dark);
}

.mks-gre-practice-set .btn:disabled {
	background: #b9adc8;
	cursor: not-allowed;
	box-shadow: none;
}

.mks-gre-practice-set .btn.check-one {
	margin-top: 16px;
}

.mks-gre-practice-set .q-card.correct {
	border-color: #16a34a;
	background: #e9f8ee;
}

.mks-gre-practice-set .q-card.incorrect {
	border-color: #dc2626;
	background: #fff0f0;
}

.mks-gre-practice-set .q-card.unanswered {
	border-color: #f59e0b;
}

.mks-gre-practice-set .explain {
	margin-top: 14px;
	padding: 14px 16px;
	border: 1px solid #d8c7fb;
	border-left: 6px solid var(--mks-practice-purple);
	border-radius: 12px;
	background: #fff;
	color: #3b3547;
	font-size: 16px;
}

.mks-gre-practice-set .explain p {
	margin: 8px 0;
}

.mks-gre-practice-set .controls {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 20px;
	padding: 16px;
	border: 1px solid #ddd3f4;
	border-radius: 16px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 -8px 24px rgba(42, 31, 61, .08);
	backdrop-filter: blur(8px);
}

.mks-gre-practice-set .controls-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mks-gre-practice-set .controls .check-all {
	background: #2563eb;
}

.mks-gre-practice-set .controls .reset {
	background: #dc2626;
}

.mks-gre-practice-set .score {
	white-space: nowrap;
	padding: 12px 16px;
	border-radius: 12px;
	background: #f3edff;
	color: #2f2450;
	font-size: 18px;
	font-weight: 900;
}

@media (max-width: 760px) {
	.mks-gre-practice-set {
		padding: 0 10px 18px;
	}

	.mks-gre-practice-set .q-card {
		padding: 16px;
		border-radius: 16px;
	}

	.mks-gre-practice-set .q-head {
		font-size: 18px;
	}

	.mks-gre-practice-set .q-number {
		min-width: 36px;
		height: 36px;
		font-size: 17px;
	}

	.mks-gre-practice-set .options label {
		min-height: 48px;
		font-size: 16px;
	}

	.mks-gre-practice-set .controls {
		position: static;
		flex-direction: column;
		align-items: stretch;
	}

	.mks-gre-practice-set .controls-buttons,
	.mks-gre-practice-set .btn {
		width: 100%;
	}

	.mks-gre-practice-set .score {
		text-align: center;
	}
}
