.ggsf {
	--ggsf-accent: #ffc15e;
	--ggsf-ink: #333333;
	--ggsf-muted: #707278;
	--ggsf-line: #e6e6e3;
	--ggsf-soft: #f7f7f5;
	color: var(--ggsf-ink);
	font: inherit;
}

.ggsf--quiz,
.ggsf--quiz .ggsf__quiz-results,
.ggsf--quiz .ggsf__quiz-results .ggsf__toolbar,
.ggsf--quiz .ggsf__quiz-summary {
	width: 100%;
	min-width: 0;
	max-width: none;
}

.elementor-widget-gutgespielt_spielefinder_quiz:has(.ggsf__quiz-results:not([hidden])) {
	width: 100% !important;
	max-width: none !important;
	align-self: stretch;
}

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

.ggsf [hidden] {
	display: none !important;
}

.ggsf button,
.ggsf select {
	font: inherit;
}

.ggsf button {
	color: inherit;
	cursor: pointer;
}

.ggsf__toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding: 0 0 18px;
}

.ggsf__results-heading,
.ggsf__dialog-head h2 {
	margin: 0;
	color: var(--ggsf-ink);
}

.ggsf__results-heading {
	font-size: clamp(22px, 2.1vw, 28px);
	line-height: 1.2;
}

.ggsf__results-count {
	margin: 5px 0 0;
	color: var(--ggsf-muted);
	font-size: 14px;
	line-height: 1.4;
}

.ggsf__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ggsf__filter-open,
.ggsf__quiz-open,
.ggsf__sort {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	border: 1px solid #d8d8d5;
	border-radius: 13px;
	background: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.ggsf__filter-open {
	padding: 0 19px;
	border-color: var(--ggsf-accent);
	background: var(--ggsf-accent);
}

.ggsf__quiz-open {
	padding: 0 19px;
	border-color: var(--ggsf-accent);
	background: #fff7e8;
}

.ggsf__quiz-intro {
	max-width: 760px;
	padding: clamp(24px, 5vw, 48px);
	border: 1px solid var(--ggsf-line);
	border-radius: 20px;
	background: #fff;
}

.ggsf__quiz-intro--button-only {
	max-width: none;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.ggsf__quiz-intro h2 {
	margin: 0;
	color: var(--ggsf-ink);
	font-size: clamp(27px, 4vw, 40px);
	line-height: 1.15;
}

.ggsf__quiz-intro > p {
	max-width: 650px;
	margin: 14px 0 25px;
	color: var(--ggsf-muted);
	font-size: 16px;
	line-height: 1.55;
}

.ggsf__quiz-intro .ggsf__quiz-open {
	min-height: 48px;
}

.ggsf__quiz-results .ggsf__toolbar {
	margin-bottom: 0;
}

.ggsf__quiz-open:hover {
	border-color: #d99b38;
	background: #fff0d4;
}

.ggsf__filter-open:hover {
	border-color: #e4a642;
	background: #ffbd52;
}

.ggsf__filter-open:active,
.ggsf__quiz-open:active,
.ggsf__sort:active {
	transform: translateY(1px);
}

.ggsf__filter-open svg,
.ggsf__sort svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ggsf__quiz-open-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
}

.ggsf__quiz-open-icon i {
	font-size: 1em;
	line-height: 1;
}

.ggsf__quiz-open-icon svg {
	width: 1em;
	height: 1em;
	flex: 0 0 1em;
}

.ggsf__sort {
	position: relative;
	padding: 0 8px 0 15px;
}

.ggsf__sort:hover {
	border-color: #a7a8a5;
}

.ggsf__sort-select {
	min-height: 42px;
	max-width: 184px;
	margin: 0;
	padding: 0 26px 0 0;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent;
	color: var(--ggsf-ink);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.ggsf__sort--keyboard-focus {
	outline: 2px solid var(--ggsf-accent);
	outline-offset: 3px;
}

.ggsf__active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: -2px 0 20px;
}

.ggsf__quiz-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: -2px 0 20px;
	padding: 14px 16px;
	border: 1px solid #efd49f;
	border-radius: 14px;
	background: #fff8ec;
}

.ggsf__quiz-summary-copy {
	min-width: 0;
}

.ggsf__quiz-summary-copy > strong {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
}

.ggsf__quiz-summary-answers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ggsf__quiz-summary-answers span {
	display: inline-flex;
	padding: 5px 9px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #fff;
	color: var(--ggsf-ink);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.2;
}

.ggsf__quiz-summary-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
}

.ggsf__quiz-edit,
.ggsf__quiz-clear {
	padding: 6px 0;
	border: 0;
	background: transparent;
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ggsf__quiz-clear {
	color: var(--ggsf-muted);
}

.ggsf__active-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 34px;
	padding: 5px 10px;
	border: 1px solid #efc981;
	border-radius: 999px;
	background: #fff4e2;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.2;
}

.ggsf__active-chip::after {
	content: "×";
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
}

.ggsf__clear-all {
	padding: 5px 3px;
	border: 0;
	background: transparent;
	color: var(--ggsf-muted);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ggsf__status {
	margin: 0 0 16px;
	padding: 10px 12px;
	border: 1px solid #e3b95f;
	border-radius: 9px;
	background: #fff8eb;
	font-size: 13px;
}

.ggsf__backdrop {
	position: fixed;
	z-index: 2147483647;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 34px;
	overflow: hidden;
	border: 0;
	background: rgba(28, 30, 31, 0.48);
	color: inherit;
}

.ggsf__backdrop:not([hidden]) {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ggsf__backdrop::backdrop {
	background: transparent;
}

.ggsf__panel {
	display: flex;
	width: min(820px, 100%);
	max-height: min(850px, calc(100vh - 68px));
	flex-direction: column;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.24);
}

.ggsf__dialog-head {
	display: flex;
	min-height: 70px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 0 25px;
	border-bottom: 1px solid var(--ggsf-line);
}

.ggsf__dialog-head h2 {
	font-size: 22px;
	line-height: 1.2;
}

.ggsf__close {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	padding: 0 0 2px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: #f2f2ef;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

.ggsf__close:hover {
	background: #e9e9e5;
}

.ggsf__dialog-scroll {
	overflow-x: hidden;
	overflow-y: auto;
	padding: 5px 28px 24px;
	overscroll-behavior: contain;
	scrollbar-color: #c9c9c5 transparent;
	scrollbar-width: thin;
}

.ggsf__quiz-progress {
	height: 4px;
	flex: 0 0 4px;
	overflow: hidden;
	background: #efefec;
}

.ggsf__quiz-progress-bar {
	display: block;
	width: 20%;
	height: 100%;
	background: var(--ggsf-accent);
	transition: width 180ms ease;
}

.ggsf__quiz-body {
	min-height: 360px;
	flex: 1 1 auto;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 38px 40px 30px;
	overscroll-behavior: contain;
}

.ggsf__quiz-step {
	max-width: 690px;
	margin: 0 auto;
}

.ggsf__quiz-kicker {
	margin: 0 0 9px;
	color: var(--ggsf-muted);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ggsf__quiz-step h3 {
	margin: 0;
	color: var(--ggsf-ink);
	font-size: clamp(24px, 3vw, 33px);
	font-weight: 780;
	line-height: 1.15;
}

.ggsf__quiz-question:focus {
	outline: none;
}

.ggsf__quiz-help {
	max-width: 620px;
	margin: 12px 0 25px;
	color: var(--ggsf-muted);
	font-size: 14px;
	line-height: 1.5;
}

.ggsf__quiz-answers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 11px;
}

.ggsf__quiz-answer {
	display: flex;
	min-height: 54px;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 15px;
	border: 1px solid #d8d8d4;
	border-radius: 13px;
	background: #fff;
	font-size: 15px;
	font-weight: 680;
	line-height: 1.3;
	text-align: left;
	transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.ggsf__quiz-answer:hover {
	border-color: #aaa9a4;
	background: #fcfcfa;
}

.ggsf__quiz-answer[aria-pressed="true"] {
	border-color: var(--ggsf-ink);
	background: #fff7e8;
	box-shadow: inset 0 0 0 1px var(--ggsf-ink);
}

.ggsf__quiz-answer svg {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0;
}

.ggsf__quiz-answer[aria-pressed="true"] svg {
	opacity: 1;
}

.ggsf__quiz-error {
	margin: 0;
	padding: 10px 24px;
	border-top: 1px solid #efcbd0;
	background: #fff1f2;
	color: #8d2632;
	font-size: 13px;
	text-align: center;
}

.ggsf__quiz-foot {
	justify-content: flex-end;
}

.ggsf__quiz-back,
.ggsf__quiz-skip,
.ggsf__quiz-next {
	min-height: 44px;
	padding: 0 17px;
	border: 0;
	border-radius: 11px;
	background: transparent;
	font-weight: 750;
}

.ggsf__quiz-back {
	margin-right: auto;
}

.ggsf__quiz-back:hover,
.ggsf__quiz-skip:hover {
	background: #f2f2ef;
}

.ggsf__quiz-next {
	min-width: 116px;
	background: var(--ggsf-accent);
}

.ggsf__quiz-next:hover {
	background: #ffbd52;
}

.ggsf__quiz-next:disabled,
.ggsf__quiz-back:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.ggsf__quiz-next[aria-busy="true"] {
	min-width: 205px;
}

.ggsf__filter-section {
	margin: 0;
	padding: 24px 0;
	border: 0;
	border-bottom: 1px solid var(--ggsf-line);
}

.ggsf__filter-section:last-child {
	border-bottom: 0;
}

.ggsf__filter-section h3,
.ggsf__filter-section summary {
	margin: 0;
	color: var(--ggsf-ink);
	font-size: 17px;
	font-weight: 750;
	line-height: 1.3;
}

.ggsf__filter-section summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	list-style: none;
	cursor: pointer;
}

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

.ggsf__filter-section summary::after {
	content: "+";
	font-size: 22px;
	font-weight: 450;
	line-height: 1;
}

.ggsf__filter-section[open] summary::after {
	content: "−";
}

.ggsf__filter-section--collapsed .ggsf__section-content {
	padding-top: 14px;
}

.ggsf__section-count {
	min-width: 24px;
	margin-left: auto;
	padding: 3px 7px;
	border-radius: 999px;
	background: #fff2da;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

.ggsf__section-content > p {
	margin: 6px 0 15px;
	color: var(--ggsf-muted);
	font-size: 13px;
	line-height: 1.45;
}

.ggsf__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.ggsf__choice {
	min-height: 42px;
	padding: 8px 14px;
	border: 1px solid #d9d9d5;
	border-radius: 11px;
	background: #fff;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.25;
	text-align: left;
	transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.ggsf__choice:hover {
	border-color: #a8a8a4;
}

.ggsf__choice[aria-pressed="true"] {
	border-color: var(--ggsf-choice-active-border, var(--ggsf-ink));
	background: #fff7e8;
	box-shadow: inset 0 0 0 1px var(--ggsf-choice-active-border, var(--ggsf-ink));
}

.ggsf__dialog-foot {
	display: flex;
	min-height: 76px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 12px 24px;
	border-top: 1px solid var(--ggsf-line);
	background: #fff;
}

.ggsf__reset {
	padding: 8px 0;
	border: 0;
	background: transparent;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ggsf__apply {
	display: inline-flex;
	min-height: 49px;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0 22px;
	border: 0;
	border-radius: 13px;
	background: var(--ggsf-accent);
	font-weight: 800;
}

.ggsf__apply[aria-busy="true"] {
	opacity: 0.72;
}

.ggsf__apply:hover {
	background: #ffbd52;
}

.ggsf button:focus-visible,
.ggsf select:not(.ggsf__sort-select):focus-visible,
.ggsf summary:focus-visible {
	outline: 3px solid rgba(30, 102, 178, 0.5);
	outline-offset: 3px;
}

body.ggsf-dialog-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.ggsf__toolbar {
		display: block;
		padding-bottom: 15px;
	}

	.ggsf__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		margin-top: 15px;
	}

	.ggsf__filter-open,
	.ggsf__quiz-open,
	.ggsf__sort {
		width: 100%;
	}

	.ggsf__quiz-open {
		grid-column: 1 / -1;
	}

	.ggsf__quiz-intro {
		padding: 24px 20px;
		border-radius: 16px;
	}

	.ggsf__quiz-intro--button-only {
		padding: 0;
		border-radius: 0;
	}

	.ggsf__quiz-intro--button-only .ggsf__quiz-open {
		width: auto;
	}

	.ggsf__quiz-intro h2 {
		font-size: 28px;
	}

	.ggsf__quiz-intro > p {
		font-size: 15px;
	}

	.ggsf__sort {
		padding-left: 12px;
	}

	.ggsf__sort-select {
		width: 100%;
		max-width: none;
	}

	.ggsf__active-filters {
		margin-bottom: 17px;
	}

	.ggsf__quiz-summary {
		display: block;
		margin-bottom: 17px;
	}

	.ggsf__quiz-summary-actions {
		margin-top: 12px;
	}

	.ggsf--quiz .ggsf__quiz-results .ggsf__actions {
		grid-template-columns: minmax(0, 1fr);
	}

	.ggsf__backdrop {
		align-items: flex-end;
		padding: 0;
	}

	.ggsf__panel {
		width: 100%;
		height: 100%;
		max-height: 100%;
		border-radius: 0;
	}

	.ggsf__dialog-head {
		min-height: 64px;
		padding: 0 18px;
	}

	.ggsf__dialog-head h2 {
		font-size: 21px;
	}

	.ggsf__dialog-scroll {
		padding: 2px 20px 20px;
	}

	.ggsf__quiz-body {
		min-height: 0;
		padding: 28px 20px 22px;
	}

	.ggsf__quiz-step h3 {
		font-size: 25px;
	}

	.ggsf__quiz-help {
		margin-bottom: 20px;
	}

	.ggsf__quiz-answers {
		grid-template-columns: 1fr;
	}

	.ggsf__quiz-answer {
		min-height: 50px;
		font-size: 14px;
	}

	.ggsf__filter-section {
		padding: 21px 0;
	}

	.ggsf__choice {
		min-height: 40px;
		padding: 7px 12px;
		font-size: 13px;
	}

	.ggsf__dialog-foot {
		min-height: 72px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	}

	.ggsf__apply {
		padding: 0 17px;
	}

	.ggsf__quiz-foot {
		display: grid;
		grid-template-columns: auto 1fr auto;
		gap: 7px;
	}

	.ggsf__quiz-back,
	.ggsf__quiz-skip,
	.ggsf__quiz-next {
		padding: 0 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ggsf *,
	.ggsf *::before,
	.ggsf *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
