.abg-shell {
	--abg-paper: #fffdf8;
	--abg-cream: #fff8e9;
	--abg-ink: #17352f;
	--abg-muted: #66756f;
	--abg-deep: #0b211c;
	--abg-green: #176b57;
	--abg-green-2: #0f4f41;
	--abg-green-light: #eaf5f0;
	--abg-gold: #f0ba55;
	--abg-gold-light: #fff1cb;
	--abg-line: #dfe8e2;
	--abg-red: #bd5a42;
	--abg-coral: #d66c4e;
	width: min(1160px, calc(100% - 36px));
	max-width: 100%;
	margin: 48px auto 72px;
	overflow-x: clip;
	color: var(--abg-ink);
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

.abg-shell,
.abg-shell * {
	box-sizing: border-box;
}

.abg-shell [hidden] {
	display: none !important;
}

.abg-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.abg-shell button,
.abg-shell select {
	font: inherit;
	touch-action: manipulation;
}

.abg-shell button {
	cursor: pointer;
}

.abg-shell button:focus-visible,
.abg-shell select:focus-visible,
.abg-shell [tabindex="0"]:focus-visible {
	outline: 3px solid var(--abg-gold);
	outline-offset: 3px;
}

.abg-kicker {
	margin: 0 0 7px;
	color: var(--abg-green);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* Spieleseiten: ruhiger Seitenkopf und redaktionelle CTA-Bereiche. */
.parent-pageid-1061 .ast-article-single {
	padding-top: 0;
	background: transparent;
}

.parent-pageid-1061 .entry-header {
	width: min(1160px, calc(100% - 36px));
	margin: clamp(40px, 6vw, 76px) auto 20px;
	text-align: left;
}

.parent-pageid-1061 .entry-title {
	margin: 0;
	color: #17352f;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.55rem, 5vw, 4.4rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.abg-page-lead,
.abg-page-guide,
.abg-after-game {
	--abg-page-ink: #17352f;
	--abg-page-muted: #66756f;
	--abg-page-green: #176b57;
	--abg-page-gold: #f0ba55;
	box-sizing: border-box;
	width: min(1160px, calc(100% - 36px));
	margin-inline: auto;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.abg-page-lead *,
.abg-page-guide *,
.abg-after-game * {
	box-sizing: border-box;
}

.abg-page-lead {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 250px;
	gap: 30px;
	align-items: center;
	min-height: 250px;
	margin-bottom: 26px;
	padding: clamp(28px, 4vw, 46px);
	overflow: hidden;
	border: 1px solid #dce8e2;
	border-radius: 30px;
	background:
		radial-gradient(circle at 86% 18%, rgb(240 186 85 / 28%), transparent 32%),
		linear-gradient(135deg, #fffdf8 0%, #f0f8f4 100%);
	box-shadow: 0 22px 60px rgb(23 53 47 / 9%);
}

.abg-page-lead__eyebrow {
	display: inline-flex;
	margin: 0 0 12px;
	padding: 7px 11px;
	border-radius: 999px;
	background: #e5f3ed;
	color: var(--abg-page-green);
	font-size: 0.74rem;
	font-weight: 850;
	letter-spacing: 0.09em;
	line-height: 1;
	text-transform: uppercase;
}

.abg-page-lead__intro {
	max-width: 760px;
	margin: 0;
	color: var(--abg-page-ink);
	font-size: clamp(1.04rem, 2vw, 1.22rem);
	line-height: 1.72;
}

.abg-page-lead__chips,
.abg-hub__benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 22px;
}

.abg-page-lead__chips span,
.abg-hub__benefits span {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 11px;
	border: 1px solid rgb(23 107 87 / 16%);
	border-radius: 999px;
	background: rgb(255 255 255 / 74%);
	color: #365d52;
	font-size: 0.82rem;
	font-weight: 750;
	line-height: 1.2;
}

.abg-page-lead__media {
	display: grid;
	width: 230px;
	height: 210px;
	place-items: center;
	justify-self: end;
}

.abg-page-lead__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 18px 22px rgb(23 53 47 / 18%));
}

.abg-page-guide {
	margin-top: 28px;
	margin-bottom: 28px;
	padding: clamp(28px, 4vw, 46px);
	border: 1px solid #dce8e2;
	border-radius: 28px;
	background: linear-gradient(145deg, #fff 0%, #fffaf0 100%);
	box-shadow: 0 18px 50px rgb(23 53 47 / 8%);
}

.abg-shell > .abg-page-guide {
	width: 100%;
}

.abg-page-guide__head {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 34px;
	align-items: end;
}

.abg-page-guide__head > div {
	min-width: 0;
}

.abg-page-guide h2 {
	margin: 0;
	color: var(--abg-page-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.85rem, 3.6vw, 2.8rem);
	letter-spacing: -0.035em;
	line-height: 1.08;
	hyphens: manual;
	overflow-wrap: normal;
	word-break: normal;
}

.abg-page-guide__head > p,
.abg-page-guide__note {
	margin: 0;
	color: var(--abg-page-muted);
	font-size: 1rem;
	line-height: 1.72;
}

.abg-guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 26px;
}

.abg-guide-card {
	min-width: 0;
	padding: 19px;
	border: 1px solid #dfe8e2;
	border-radius: 18px;
	background: #f5faf7;
}

.abg-guide-card small,
.abg-guide-card strong {
	display: block;
}

.abg-guide-card small {
	margin-bottom: 5px;
	color: var(--abg-page-green);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.abg-guide-card strong {
	color: var(--abg-page-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.08rem;
	line-height: 1.25;
}

.abg-guide-card p {
	margin: 8px 0 0;
	color: var(--abg-page-muted);
	font-size: 0.88rem;
	line-height: 1.58;
}

.abg-page-guide__note {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid #e2eae6;
}

.abg-page-guide a {
	color: var(--abg-page-green);
	font-weight: 800;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.parent-pageid-1061 .abg-shell {
	margin-top: 26px;
	margin-bottom: 28px;
}

.abg-after-game {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
	gap: 32px;
	align-items: center;
	margin-top: 28px;
	margin-bottom: 76px;
	padding: clamp(28px, 4vw, 46px);
	border-radius: 28px;
	background:
		radial-gradient(circle at 8% 100%, rgb(240 186 85 / 17%), transparent 28%),
		linear-gradient(135deg, #123f35 0%, #0b2a24 100%);
	box-shadow: 0 25px 65px rgb(10 36 30 / 20%);
	color: #fff;
}

.abg-after-game h2 {
	margin: 0;
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 3.5vw, 2.75rem);
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.abg-after-game__copy > p {
	max-width: 680px;
	margin: 13px 0 0;
	color: rgb(255 255 255 / 76%);
	font-size: 1rem;
	line-height: 1.7;
}

.abg-after-game__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.abg-after-game a,
.abg-after-game a *,
.abg-game-card,
.abg-game-card * {
	text-decoration: none !important;
}

.abg-after-game__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	border: 1px solid rgb(255 255 255 / 20%);
	border-radius: 999px;
	background: transparent;
	color: #fff !important;
	font-size: 0.92rem;
	font-weight: 800;
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.abg-after-game__button--primary {
	border-color: var(--abg-page-gold);
	background: var(--abg-page-gold);
	color: #17352f !important;
}

.abg-after-game__button:hover,
.abg-after-game__button:focus-visible {
	border-color: rgb(255 255 255 / 42%);
	background: rgb(255 255 255 / 10%);
	transform: translateY(-2px);
}

.abg-after-game__button--primary:hover,
.abg-after-game__button--primary:focus-visible {
	border-color: #ffd77d;
	background: #ffd77d;
}

.abg-related-games {
	display: grid;
	gap: 10px;
}

.abg-related-game {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) 28px;
	gap: 13px;
	align-items: center;
	min-height: 82px;
	padding: 10px 13px 10px 10px;
	border: 1px solid rgb(255 255 255 / 13%);
	border-radius: 18px;
	background: rgb(255 255 255 / 8%);
	color: #fff !important;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.abg-related-game:hover,
.abg-related-game:focus-visible {
	border-color: rgb(255 255 255 / 28%);
	background: rgb(255 255 255 / 13%);
	transform: translateX(3px);
}

.abg-related-game img {
	display: block;
	width: 62px;
	height: 62px;
	object-fit: contain;
	filter: drop-shadow(0 8px 10px rgb(0 0 0 / 18%));
}

.abg-related-game small,
.abg-related-game strong {
	display: block;
}

.abg-related-game small {
	margin-bottom: 2px;
	color: rgb(255 255 255 / 60%);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.abg-related-game strong {
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	line-height: 1.2;
}

.abg-related-game__arrow {
	color: #f8cd73;
	font-size: 1.35rem;
	font-weight: 900;
}

.abg-hub__intro {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: 36px;
	align-items: center;
	min-height: 390px;
	margin: 0 0 30px;
	padding: clamp(38px, 5vw, 64px);
	overflow: hidden;
	border: 1px solid #dce8e2;
	border-radius: 32px;
	background:
		radial-gradient(circle at 82% 14%, rgb(240 186 85 / 30%), transparent 30%),
		linear-gradient(135deg, #fffdf8 0%, #eef8f3 100%);
	box-shadow: 0 26px 70px rgb(23 53 47 / 10%);
}

.abg-hub__intro h1 {
	margin: 0;
	color: var(--abg-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 5vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.02;
}

.abg-hub__copy > p:not(.abg-kicker) {
	max-width: 680px;
	margin: 16px 0 0;
	color: #516b62;
	font-size: 1.08rem;
	line-height: 1.72;
}

.abg-hub__art {
	position: relative;
	width: 100%;
	height: 270px;
}

.abg-hub__art::before {
	position: absolute;
	inset: 16px 4% 0 8%;
	border-radius: 50%;
	background: rgb(255 255 255 / 72%);
	box-shadow: inset 0 0 0 1px rgb(23 107 87 / 9%);
	content: "";
}

.abg-hub__art img {
	position: absolute;
	display: block;
	width: 170px;
	height: 170px;
	object-fit: contain;
	filter: drop-shadow(0 16px 18px rgb(23 53 47 / 20%));
}

.abg-hub__art img:nth-child(1) {
	top: 0;
	left: 2%;
	z-index: 2;
}

.abg-hub__art img:nth-child(2) {
	top: 78px;
	right: -2%;
	z-index: 3;
}

.abg-hub__art img:nth-child(3) {
	bottom: -12px;
	left: 25%;
	z-index: 1;
}

.abg-game-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.abg-shell .abg-game-card {
	display: grid;
	grid-template-columns: 176px minmax(0, 1fr);
	min-height: 276px;
	align-items: stretch;
	gap: 22px;
	margin: 0;
	padding: 18px;
	border: 1px solid var(--abg-line);
	border-radius: 26px;
	background: linear-gradient(145deg, #fff 0%, #fffdf8 100%);
	box-shadow: 0 15px 40px rgb(23 53 47 / 9%);
	color: var(--abg-ink);
	text-align: left;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.abg-shell .abg-game-card:hover,
.abg-shell .abg-game-card:focus-visible {
	border-color: #b9cec5;
	box-shadow: 0 24px 55px rgb(23 53 47 / 15%);
	transform: translateY(-4px);
}

.abg-shell .abg-game-card:focus-visible {
	outline: 3px solid var(--abg-gold);
	outline-offset: 3px;
}

.abg-game-card__media {
	display: grid;
	min-height: 238px;
	place-items: center;
	overflow: hidden;
	border-radius: 21px;
	background:
		radial-gradient(circle at 50% 38%, rgb(255 255 255 / 92%), transparent 55%),
		linear-gradient(150deg, #edf7f2 0%, #fff2cf 100%);
}

.abg-game-card__media img {
	display: block;
	width: 158px;
	height: 190px;
	object-fit: contain;
	filter: drop-shadow(0 15px 18px rgb(23 53 47 / 17%));
	transition: transform 220ms ease;
}

.abg-game-card:hover .abg-game-card__media img,
.abg-game-card:focus-visible .abg-game-card__media img {
	transform: scale(1.035) rotate(-1deg);
}

.abg-game-card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 7px 4px 7px 0;
}

.abg-game-card__eyebrow,
.abg-game-card strong,
.abg-game-card small,
.abg-game-card__cta {
	display: block;
}

.abg-game-card__eyebrow {
	margin-bottom: 7px;
	color: var(--abg-green);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	line-height: 1.2;
	text-transform: uppercase;
}

.abg-game-card strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.35rem, 2.1vw, 1.75rem);
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.abg-game-card small {
	margin-top: 9px;
	color: var(--abg-muted);
	font-size: 0.88rem;
	line-height: 1.55;
}

.abg-game-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 13px;
}

.abg-game-card__tags span {
	padding: 5px 8px;
	border-radius: 999px;
	background: #edf6f2;
	color: #41685d;
	font-size: 0.69rem;
	font-weight: 750;
	line-height: 1.2;
}

.abg-game-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 40px;
	margin-top: 16px;
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--abg-green);
	color: #fff;
	font-size: 0.81rem;
	font-weight: 850;
	line-height: 1;
	white-space: nowrap;
}

.abg-game-card__cta i {
	font-style: normal;
	font-size: 1rem;
	transition: transform 160ms ease;
}

.abg-game-card:hover .abg-game-card__cta i,
.abg-game-card:focus-visible .abg-game-card__cta i {
	transform: translateX(3px);
}

.abg-game-card--memory .abg-game-card__media {
	background:
		radial-gradient(circle at 46% 42%, rgb(255 255 255 / 92%), transparent 56%),
		linear-gradient(150deg, #e8f2ed 0%, #f8e0c7 100%);
}

.abg-tab-panel[hidden] {
	display: none;
}

.abg-hub__panels,
.abg-tab-panel,
.abg-game,
.abg-play-layout > *,
.abg-puzzle-layout > *,
.abg-seek-layout > *,
.abg-crossword-layout > *,
.abg-memory-layout > * {
	min-width: 0;
	max-width: 100%;
}

.abg-game {
	overflow: hidden;
	border: 1px solid var(--abg-line);
	border-radius: 26px;
	background: var(--abg-paper);
	box-shadow: 0 24px 70px rgb(23 53 47 / 10%);
}

.abg-game__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
	padding: 31px 34px 26px;
	border-bottom: 1px solid var(--abg-line);
	background: linear-gradient(135deg, #fffdf8 0%, #f2f9f5 100%);
}

.abg-game__title {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	min-width: 0;
}

.abg-game__icon {
	display: block;
	width: 92px;
	height: 92px;
	object-fit: contain;
	filter: drop-shadow(0 12px 14px rgb(23 53 47 / 18%));
}

.abg-game__title-copy {
	min-width: 0;
}

.abg-game__header h3 {
	margin: 0;
	color: var(--abg-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.7rem, 4vw, 2.65rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.abg-game__title-copy > p:last-child {
	max-width: 690px;
	margin: 11px 0 0;
	color: var(--abg-muted);
}

.abg-stats {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

.abg-stats > span {
	display: grid;
	min-width: 86px;
	min-height: 64px;
	align-content: center;
	padding: 8px 13px;
	border: 1px solid var(--abg-line);
	border-radius: 12px;
	background: #fff;
	text-align: center;
}

.abg-stats small,
.abg-stats strong {
	display: block;
}

.abg-stats small {
	color: var(--abg-muted);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: 1.1;
	text-transform: uppercase;
}

.abg-stats strong {
	margin-top: 4px;
	color: var(--abg-green);
	font-size: 1.05rem;
	line-height: 1.1;
}

.abg-stats strong b {
	font: inherit;
}

.abg-toolbar {
	display: flex;
	min-height: 70px;
	align-items: center;
	gap: 12px;
	padding: 13px 34px;
	border-bottom: 1px solid var(--abg-line);
	background: #fff;
}

.abg-toolbar--seek {
	flex-wrap: wrap;
}

.abg-toolbar__field {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
}

.abg-toolbar--seek .abg-live-status {
	width: 100%;
	margin: 0;
}

.abg-toolbar label {
	color: var(--abg-muted);
	font-size: 0.82rem;
	font-weight: 800;
}

.abg-toolbar select {
	min-height: 42px;
	margin: 0;
	padding: 0 34px 0 13px;
	border: 1px solid #cfdcd6;
	border-radius: 9px;
	background-color: #fff;
	color: var(--abg-ink);
}

.abg-shell .abg-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 8px 18px;
	border: 1px solid var(--abg-green);
	border-radius: 999px;
	background: var(--abg-green);
	box-shadow: none;
	color: #fff;
	font-size: 0.84rem;
	font-weight: 850;
	line-height: 1.2;
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.abg-shell .abg-button:hover {
	background: #0f5948;
	color: #fff;
	transform: translateY(-1px);
}

.abg-shell .abg-button--secondary {
	border-color: #bdd1c8;
	background: var(--abg-green-light);
	color: var(--abg-green);
}

.abg-shell .abg-button--secondary:hover {
	background: #dceee6;
	color: var(--abg-green);
}

.abg-shell .abg-text-button {
	min-height: 44px;
	margin: 0;
	padding: 5px 8px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--abg-green);
	font-size: 0.82rem;
	font-weight: 850;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.abg-shell .abg-text-button[aria-pressed="true"] {
	border-radius: 999px;
	background: var(--abg-green-light);
	color: var(--abg-green);
	text-decoration: none;
}

.abg-progress {
	width: 100%;
	height: 8px;
	margin-top: 12px;
	overflow: hidden;
	border-radius: 999px;
	background: #e5ede9;
}

.abg-progress > span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--abg-green), #4ba88e);
	transition: width 220ms ease;
}

.abg-play-layout,
.abg-puzzle-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 32px;
	align-items: start;
	padding: 34px;
}

.abg-maze-stage {
	min-width: 0;
}

.abg-maze-scroll {
	width: 100%;
	max-width: 100%;
	overflow: auto;
	padding: 4px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scroll-behavior: smooth;
	scrollbar-color: #9db7ac var(--abg-green-light);
}

.abg-maze {
	display: grid;
	width: min(100%, var(--abg-maze-width, 650px));
	min-width: var(--abg-maze-min-width, 0);
	margin: 0 auto;
	overflow: hidden;
	grid-template-columns: repeat(var(--abg-maze-size), minmax(0, 1fr));
	aspect-ratio: 1;
	border: 5px solid var(--abg-deep);
	border-radius: 13px;
	background: #fffbef;
	box-shadow: 0 14px 34px rgb(23 53 47 / 12%);
	touch-action: none;
}

.abg-maze-mobile-tools {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 10px 0 0;
	padding: 8px 11px;
	border: 1px solid var(--abg-line);
	border-radius: 11px;
	background: var(--abg-green-light);
	color: var(--abg-green);
	font-size: 0.76rem;
	font-weight: 800;
}

.abg-shell .abg-maze__cell {
	position: relative;
	display: grid;
	min-width: 0;
	min-height: 0;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fffaf0;
	box-shadow: none;
	color: var(--abg-ink);
	line-height: 1;
	transition: background 120ms ease;
}

.abg-shell .abg-maze__cell:nth-child(3n + 2) {
	background: #fbf6e9;
}

.abg-shell .abg-maze__cell:hover {
	background: #edf7f2;
}

.abg-maze__cell.is-visited::after {
	position: absolute;
	z-index: 1;
	width: clamp(2px, 22%, 7px);
	height: clamp(2px, 22%, 7px);
	border-radius: 50%;
	background: rgb(23 107 87 / 34%);
	content: "";
	pointer-events: none;
}

.abg-maze__cell.is-visited.has-player::after,
.abg-maze__cell.is-visited.has-goal::after {
	opacity: 0.35;
}

.abg-maze__cell.has-wall-top {
	border-top: 3px solid var(--abg-deep);
}

.abg-maze__cell.has-wall-right {
	border-right: 3px solid var(--abg-deep);
}

.abg-maze__cell.has-wall-bottom {
	border-bottom: 3px solid var(--abg-deep);
}

.abg-maze__cell.has-wall-left {
	border-left: 3px solid var(--abg-deep);
}

.abg-game[data-abg-maze-level="meister"] .abg-maze__cell.has-wall-top,
.abg-game[data-abg-maze-level="meister"] .abg-maze__cell.has-wall-right,
.abg-game[data-abg-maze-level="meister"] .abg-maze__cell.has-wall-bottom,
.abg-game[data-abg-maze-level="meister"] .abg-maze__cell.has-wall-left {
	border-width: 2px;
}

.abg-game[data-abg-maze-level="extrem"] .abg-maze__cell.has-wall-top,
.abg-game[data-abg-maze-level="extrem"] .abg-maze__cell.has-wall-right,
.abg-game[data-abg-maze-level="extrem"] .abg-maze__cell.has-wall-bottom,
.abg-game[data-abg-maze-level="extrem"] .abg-maze__cell.has-wall-left {
	border-width: 1px;
}

.abg-maze__cell.has-player {
	background: #fff1c8;
}

.abg-maze__cell.has-goal {
	background: #dff2e9;
}

.abg-maze__player,
.abg-maze__goal {
	position: absolute;
	display: grid;
	inset: 0;
	place-items: center;
	font-size: clamp(0.72rem, 2.1vw, 1.45rem);
	filter: drop-shadow(0 2px 2px rgb(11 33 28 / 18%));
	pointer-events: none;
}

.abg-game[data-abg-maze-level="kinder"] .abg-maze__player,
.abg-game[data-abg-maze-level="kinder"] .abg-maze__goal {
	font-size: 2rem;
}

.abg-game[data-abg-maze-level="abenteuer"] .abg-maze__player,
.abg-game[data-abg-maze-level="abenteuer"] .abg-maze__goal {
	font-size: 1.35rem;
}

.abg-game[data-abg-maze-level="extrem"] .abg-maze__player,
.abg-game[data-abg-maze-level="extrem"] .abg-maze__goal {
	font-size: 0.68rem;
}

.abg-maze__player {
	z-index: 2;
	animation: abg-arrive 180ms ease-out;
}

.abg-maze.is-complete .has-player {
	animation: abg-goal-pulse 800ms ease-in-out infinite alternate;
}

.abg-maze.is-bumped {
	animation: abg-bump 160ms ease-out;
}

.abg-dpad {
	display: none;
	width: 162px;
	grid-template-columns: repeat(3, 48px);
	gap: 6px;
	margin: 18px auto 0;
}

.abg-shell .abg-dpad button {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 1px solid #c3d5cd;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 5px 12px rgb(23 53 47 / 8%);
	color: var(--abg-green);
	font-size: 1.2rem;
}

.abg-dpad button:first-child {
	grid-column: 2;
}

.abg-dpad button:nth-child(2) {
	grid-column: 1;
	grid-row: 2;
}

.abg-dpad button:nth-child(3) {
	grid-column: 2;
	grid-row: 2;
}

.abg-dpad button:nth-child(4) {
	grid-column: 3;
	grid-row: 2;
}

.abg-game-note {
	padding: 22px;
	border: 1px solid var(--abg-line);
	border-radius: 17px;
	background: #fff;
}

.abg-note-icon {
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	margin: 0 0 14px;
	border-radius: 15px;
	background: var(--abg-gold-light);
	font-size: 1.8rem;
}

.abg-game-note h4 {
	margin: 0 0 10px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
	line-height: 1.15;
}

.abg-game-note p,
.abg-game-note li {
	color: var(--abg-muted);
	font-size: 0.83rem;
}

.abg-game-note ul {
	margin: 0;
	padding-left: 1.2em;
}

.abg-game-note li + li {
	margin-top: 7px;
}

.abg-live-status {
	margin: 0 0 0 auto;
	color: var(--abg-muted);
	font-size: 0.8rem;
}

.abg-game-note .abg-live-status {
	margin: 17px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--abg-line);
	color: var(--abg-green);
	font-weight: 800;
}

.abg-level-note {
	margin: 17px 0 0;
	padding: 13px 14px;
	border-left: 4px solid var(--abg-gold);
	border-radius: 0 9px 9px 0;
	background: var(--abg-gold-light);
	color: #62420b !important;
	font-size: 0.79rem !important;
}

.abg-success {
	--abg-ink: #17352f;
	--abg-muted: #66756f;
	--abg-green: #176b57;
	--abg-green-2: #0f4f41;
	--abg-gold: #f0ba55;
	--abg-coral: #d66c4e;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	margin: 0;
	padding: clamp(14px, 4vw, 32px);
	color: var(--abg-ink);
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

.abg-success[hidden] {
	display: none !important;
}

html.abg-modal-open,
html.abg-modal-open body {
	overflow: hidden !important;
}

.abg-success__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(4 25 20 / 78%);
	backdrop-filter: blur(7px);
}

.abg-success__card {
	position: relative;
	z-index: 1;
	width: min(650px, 100%);
	max-height: calc(100dvh - 28px);
	overflow: auto;
	padding: clamp(36px, 6vw, 58px) clamp(22px, 6vw, 54px) clamp(26px, 5vw, 46px);
	border: 1px solid rgb(240 186 85 / 72%);
	border-radius: 28px;
	background:
		radial-gradient(circle at 10% 4%, rgb(240 186 85 / 20%), transparent 12rem),
		radial-gradient(circle at 95% 18%, rgb(20 103 83 / 13%), transparent 13rem),
		#fffdf8;
	box-shadow: 0 28px 90px rgb(2 18 14 / 45%);
	text-align: center;
	animation: abg-success-modal-in 320ms cubic-bezier(.2, .8, .2, 1);
}

.abg-success__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	padding: 0;
	border: 1px solid #d7e3dd;
	border-radius: 50%;
	color: var(--abg-green);
	background: rgb(255 255 255 / 88%);
	cursor: pointer;
}

.abg-success__close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

.abg-success__close:hover,
.abg-success__close:focus-visible {
	border-color: var(--abg-green);
	background: #fff;
}

.abg-success__emblem {
	position: relative;
	display: grid;
	width: 104px;
	height: 104px;
	place-items: center;
	margin: 0 auto 18px;
	border: 3px solid #d99b29;
	border-radius: 50%;
	color: #8c5b08;
	background: linear-gradient(145deg, #fff8d8, #f5bd54);
	box-shadow: 0 10px 28px rgb(190 129 22 / 28%), inset 0 0 0 7px rgb(255 255 255 / 52%);
}

.abg-success__emblem::before,
.abg-success__emblem::after {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--abg-coral);
	box-shadow: -58px 20px 0 #87c9b1, 58px -16px 0 #f0ba55, -44px -34px 0 #f0ba55;
	content: "";
}

.abg-success__emblem::before {
	top: 7px;
	right: -24px;
}

.abg-success__emblem::after {
	bottom: 3px;
	left: -17px;
	transform: scale(.7);
}

.abg-success__emblem svg {
	width: 66px;
	height: 66px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
}

.abg-success__emblem .abg-success__star {
	fill: #fff7ce;
	stroke-width: 2;
}

.abg-success .abg-success__kicker {
	margin: 0 0 5px;
	color: var(--abg-coral);
	font-size: .76rem;
	font-weight: 850;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.abg-success h4 {
	margin: 0;
	color: var(--abg-green);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 5vw, 2.65rem);
	letter-spacing: -.035em;
	line-height: 1.08;
}

.abg-success .abg-success__message {
	max-width: 510px;
	margin: 13px auto 0;
	color: var(--abg-muted);
	font-size: clamp(.92rem, 2.2vw, 1.04rem);
	line-height: 1.55;
}

.abg-success__actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 28px;
}

.abg-success__action {
	display: flex;
	min-height: 58px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 11px 13px;
	border: 1px solid #c9dad3;
	border-radius: 15px;
	color: var(--abg-green) !important;
	background: #f7fbf8;
	box-shadow: none;
	font: inherit;
	font-size: .78rem;
	font-weight: 820;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.abg-success__action--primary {
	border-color: var(--abg-green);
	color: #fff !important;
	background: var(--abg-green);
}

.abg-success__action svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.abg-success__action:hover,
.abg-success__action:focus-visible {
	border-color: var(--abg-gold);
	background: #fff6df;
	transform: translateY(-2px);
}

.abg-success__action--primary:hover,
.abg-success__action--primary:focus-visible {
	border-color: var(--abg-green-2);
	color: #fff !important;
	background: var(--abg-green-2);
}

@keyframes abg-success-modal-in {
	from { opacity: 0; transform: translateY(18px) scale(.96); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Wimmelbild */
.abg-seek-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 245px;
	gap: 28px;
	align-items: start;
	padding: 34px;
}

.abg-seek-stage {
	min-width: 0;
}

.abg-seek-display-controls {
	display: flex;
	width: 100%;
	max-width: 860px;
	justify-content: flex-end;
	margin: 0 auto 12px;
}

.abg-shell .abg-seek-expand {
	gap: 8px;
	white-space: nowrap;
}

.abg-seek-expand svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.abg-seek-viewport {
	width: 100%;
	max-width: 860px;
	max-height: none;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 19px;
	background: var(--abg-cream);
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: manipulation;
	scrollbar-color: #9db7ac var(--abg-green-light);
}

.abg-seek-scene {
	position: relative;
	width: min(100%, 860px);
	max-width: none;
	margin: 0 auto;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border: 8px solid #fff;
	border-radius: 19px;
	background: var(--abg-cream);
	box-shadow: 0 15px 42px rgb(23 53 47 / 16%), 0 0 0 1px var(--abg-line);
	cursor: crosshair;
	isolation: isolate;
}

html.abg-seek-view-open,
html.abg-seek-view-open body {
	overflow: hidden;
}

.abg-game.is-seek-expanded .abg-seek-layout {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
	gap: clamp(14px, 2vw, 28px);
	align-items: center;
	padding: clamp(16px, 2.4vw, 34px);
	overflow: auto;
	background: rgb(5 30 25 / 97%);
	overscroll-behavior: contain;
}

.abg-game.is-seek-expanded .abg-seek-stage {
	display: flex;
	min-height: 0;
	flex-direction: column;
	justify-content: center;
}

.abg-game.is-seek-expanded .abg-seek-display-controls {
	max-width: none;
	margin-bottom: 10px;
}

.abg-game.is-seek-expanded .abg-seek-expand {
	border-color: #fff;
	background: #fff;
	color: var(--abg-green);
}

.abg-game.is-seek-expanded .abg-seek-viewport {
	max-width: none;
	border-radius: 19px;
}

.abg-game.is-seek-expanded .abg-seek-scene {
	width: min(100%, calc((100svh - 122px) * 1.5));
	max-width: none;
	box-shadow: 0 22px 65px rgb(0 0 0 / 42%);
}

.abg-game.is-seek-expanded .abg-object-list {
	width: 100%;
	max-height: calc(100svh - 68px);
	margin: 0;
	overflow: auto;
	box-shadow: 0 18px 50px rgb(0 0 0 / 28%);
}

@media (max-width: 860px) {
	.abg-game.is-seek-expanded .abg-seek-layout {
		grid-template-columns: minmax(0, 1fr);
		align-content: start;
		align-items: start;
		padding: 12px;
	}

	.abg-game.is-seek-expanded .abg-seek-stage {
		width: 100%;
	}

	.abg-game.is-seek-expanded .abg-seek-scene {
		width: 100%;
	}

	.abg-game.is-seek-expanded .abg-object-list {
		max-height: none;
	}
}

.abg-seek-scene > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
}

.abg-shell .abg-hidden-object {
	position: absolute;
	top: var(--abg-y);
	left: var(--abg-x);
	z-index: 2;
	display: grid;
	width: max(var(--abg-size), 34px);
	height: auto;
	aspect-ratio: 1;
	place-items: center;
	margin: 0;
	padding: 0;
	transform: translate(-50%, -50%);
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: transparent;
	cursor: crosshair;
	opacity: 1;
	transition: transform 160ms ease;
}

.abg-shell .abg-hidden-object:hover,
.abg-shell .abg-hidden-object:active {
	background: transparent;
	box-shadow: none;
	transform: translate(-50%, -50%);
}

.abg-shell .abg-hidden-object.is-hinted {
	background: transparent;
	box-shadow: 0 0 0 4px var(--abg-gold), 0 0 0 10px rgb(240 186 85 / 30%);
	animation: abg-hint 650ms ease-in-out infinite alternate;
}

.abg-shell .abg-hidden-object.is-found {
	background: rgb(255 255 255 / 78%);
	box-shadow: 0 0 0 3px var(--abg-green);
	color: var(--abg-green);
	cursor: default;
	transform: translate(-50%, -50%) scale(0.72);
}

.abg-shell .abg-hidden-object.is-found::after {
	content: "✓";
	display: grid;
	position: absolute;
	inset: 0;
	place-items: center;
	font-size: 1rem;
	font-weight: 950;
}

.abg-object-list {
	padding: 22px;
	border: 1px solid var(--abg-line);
	border-radius: 17px;
	background: #fff;
}

.abg-object-list ul {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.abg-object-list li {
	display: grid;
	grid-template-columns: 1fr 22px;
	gap: 10px;
	align-items: center;
	min-height: 46px;
	padding: 5px 7px;
	border-bottom: 1px solid #edf1ef;
	color: var(--abg-ink);
	font-size: 0.86rem;
	font-weight: 750;
	transition: color 150ms ease, opacity 150ms ease;
}

.abg-object-list li:last-child {
	border-bottom: 0;
}

.abg-object-list li.is-found {
	color: var(--abg-muted);
	opacity: 0.62;
	text-decoration: line-through;
}

.abg-object-list li b {
	color: var(--abg-green);
	font-size: 1.05rem;
	text-align: center;
}

/* Schiebepuzzle */
.abg-puzzle-wrap {
	position: relative;
	width: min(100%, 650px);
	margin: 0 auto;
}

.abg-puzzle {
	display: grid;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	grid-template-columns: repeat(var(--abg-puzzle-size), minmax(0, 1fr));
	gap: 4px;
	aspect-ratio: 1;
	padding: 5px;
	border: 5px solid var(--abg-deep);
	border-radius: 14px;
	background: var(--abg-deep);
	box-shadow: 0 15px 42px rgb(23 53 47 / 18%);
	touch-action: manipulation;
}

.abg-shell .abg-puzzle__tile {
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background-color: #e9dfc4;
	background-repeat: no-repeat;
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 60%), 0 2px 4px rgb(11 33 28 / 18%);
	transition: filter 120ms ease, transform 120ms ease;
}

.abg-shell .abg-puzzle__tile:hover,
.abg-shell .abg-puzzle__tile:focus-visible {
	filter: brightness(1.08);
	transform: scale(0.97);
}

.abg-puzzle__empty {
	display: block;
	border-radius: 6px;
	background: repeating-linear-gradient(135deg, #153d34 0 8px, #19483d 8px 16px);
	box-shadow: inset 0 0 12px rgb(0 0 0 / 24%);
}

.abg-puzzle__complete-image {
	position: absolute;
	inset: 5px;
	z-index: 3;
	border-radius: 5px;
	background-position: center;
	background-size: cover;
	animation: abg-puzzle-complete 420ms ease-out;
}

.abg-puzzle-preview {
	position: absolute;
	inset: 0;
	z-index: 5;
	overflow: hidden;
	border: 5px solid var(--abg-gold);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 60px rgb(11 33 28 / 25%);
	pointer-events: none;
	animation: abg-success-in 180ms ease-out;
}

.abg-puzzle-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.abg-puzzle-preview span {
	position: absolute;
	top: 13px;
	left: 13px;
	padding: 6px 11px;
	border-radius: 999px;
	background: rgb(11 33 28 / 84%);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.abg-note-preview {
	display: block;
	width: 100%;
	margin: 0 0 15px;
	aspect-ratio: 1;
	border-radius: 12px;
	object-fit: cover;
}

/* Schwedenrätsel */
.abg-crossword-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(300px, 1fr);
	gap: 28px;
	align-items: start;
	justify-content: center;
	padding: 34px;
}

.abg-crossword-play {
	min-width: 0;
}

.abg-crossword-sidebar {
	position: sticky;
	top: 18px;
	display: grid;
	min-width: 0;
	gap: 17px;
	align-self: start;
}

.abg-active-clue {
	display: flex;
	min-height: 74px;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin: 0;
	padding: 12px 15px;
	border: 1px solid #b9cadf;
	border-radius: 14px;
	background: #edf5ff;
	box-shadow: 0 8px 22px rgb(31 75 123 / 8%);
}

.abg-active-clue > span {
	display: grid;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	place-items: center;
	border-radius: 12px;
	background: #fff;
	font-size: 1.55rem;
}

.abg-active-clue small,
.abg-active-clue strong {
	display: block;
}

.abg-active-clue small {
	color: #56708d;
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.abg-active-clue strong {
	margin-top: 2px;
	color: #183d63;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	line-height: 1.25;
}

.abg-crossword-scroll {
	width: 100%;
	max-width: 760px;
	max-height: none;
	margin: 0 auto;
	overflow: hidden;
	border: 5px solid #243e59;
	border-radius: 15px;
	background: #243e59;
	box-shadow: 0 15px 42px rgb(23 53 47 / 17%);
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scroll-behavior: smooth;
	touch-action: manipulation;
}

.abg-crossword {
	display: grid;
	width: min(100%, var(--abg-crossword-width, 638px));
	margin: 0 auto;
	overflow: hidden;
	grid-template-columns: repeat(var(--abg-crossword-size), minmax(0, 1fr));
	grid-template-rows: repeat(var(--abg-crossword-size), minmax(0, 1fr));
	gap: 1px;
	aspect-ratio: 1;
	background: #8799ac;
	touch-action: manipulation;
}

.abg-crossword__block {
	display: block;
	min-width: 0;
	min-height: 0;
	background:
		radial-gradient(circle at 25% 25%, rgb(255 255 255 / 8%) 0 2px, transparent 3px),
		#243e59;
}

.abg-shell .abg-crossword__letter,
.abg-shell .abg-crossword__clue {
	position: relative;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	line-height: 1;
}

.abg-shell .abg-crossword__letter {
	display: grid;
	place-items: center;
	background: #fff;
	color: #18334d;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(0.95rem, 2.3vw, 1.45rem);
	font-weight: 900;
	text-transform: uppercase;
	transition: background 110ms ease, box-shadow 110ms ease, color 110ms ease;
}

.abg-shell .abg-crossword__letter.is-active-word {
	background: #fff3c7;
}

.abg-shell .abg-crossword__letter.is-active-cell {
	z-index: 2;
	box-shadow: inset 0 0 0 4px var(--abg-gold);
}

.abg-shell .abg-crossword__letter.is-wrong {
	background: #ffe2dc;
	color: #9c3727;
	box-shadow: inset 0 0 0 3px #d36a55;
}

.abg-game--crossword.is-crossword-complete .abg-crossword__letter {
	background: #e2f4e9;
	color: var(--abg-green);
}

.abg-shell .abg-crossword__clue {
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	background: #d9e9fb;
	color: #183d63;
	overflow: hidden;
}

.abg-shell .abg-crossword__clue:hover,
.abg-shell .abg-crossword__clue.is-active {
	background: #bddbfa;
}

.abg-shell .abg-crossword__clue.is-solved {
	background: #cdebd9;
	color: var(--abg-green);
}

.abg-crossword__clue-part {
	position: relative;
	display: grid;
	min-height: 0;
	flex: 1;
	place-items: center;
	padding: 2px;
	border-bottom: 1px solid rgb(36 62 89 / 24%);
}

.abg-crossword__clue-part:last-child {
	border-bottom: 0;
}

.abg-crossword__clue-part b {
	display: block;
	max-width: 100%;
	overflow: hidden;
	font-size: clamp(0.7rem, 1.5vw, 1.05rem);
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.abg-crossword__clue-part i {
	position: absolute;
	right: 2px;
	bottom: 1px;
	font-size: 0.6rem;
	font-style: normal;
	font-weight: 950;
}

.abg-letter-bank {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 56px;
	margin: 0;
}

.abg-shell .abg-letter-tile {
	display: grid;
	width: 48px;
	height: 50px;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 1px solid #d2b778;
	border-radius: 9px;
	background: linear-gradient(#fff8df, #f3dfae);
	box-shadow: 0 4px 0 #c5a35c, 0 8px 14px rgb(72 52 12 / 10%);
	color: #4d411f;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.45rem;
	font-weight: 900;
}

.abg-shell .abg-letter-tile:active {
	transform: translateY(3px);
	box-shadow: 0 1px 0 #c5a35c;
}

.abg-crossword-actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	width: 100%;
	margin: 0;
}

.abg-crossword-actions .abg-button,
.abg-crossword-actions .abg-text-button {
	width: 100%;
	justify-content: center;
	text-align: center;
}

.abg-crossword-sidebar .abg-game-note {
	width: 100%;
	margin: 0;
}

/* Wortpfad */
.abg-wordpath-layout,
.abg-sudoku-layout,
.abg-route-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 250px;
	gap: 28px;
	align-items: start;
	padding: 34px;
}

.abg-wordpath-stage,
.abg-sudoku-stage {
	min-width: 0;
}

.abg-wordpath-current {
	display: flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: min(100%, 670px);
	margin: 0 auto 13px;
	padding: 8px 14px;
	border: 1px solid #bdd8cc;
	border-radius: 14px;
	background: var(--abg-green-light);
}

.abg-wordpath-current small {
	color: var(--abg-muted);
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.abg-wordpath-current strong {
	min-width: 90px;
	color: var(--abg-green);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	letter-spacing: 0.09em;
	text-align: center;
}

.abg-wordpath {
	display: grid;
	width: min(100%, 670px);
	margin: 0 auto;
	grid-template-columns: repeat(var(--abg-wordpath-size), minmax(0, 1fr));
	gap: clamp(4px, 0.8vw, 8px);
	aspect-ratio: 1;
	padding: clamp(8px, 1.4vw, 14px);
	border: 5px solid var(--abg-deep);
	border-radius: 19px;
	background:
		radial-gradient(circle at 14% 18%, rgb(240 186 85 / 16%), transparent 28%),
		linear-gradient(145deg, #174b3f, #0c2d26);
	box-shadow: 0 16px 44px rgb(23 53 47 / 18%);
	touch-action: none;
	user-select: none;
}

.abg-shell .abg-wordpath__cell {
	display: grid;
	min-width: 0;
	min-height: 0;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 1px solid #d8c58f;
	border-radius: clamp(7px, 1vw, 13px);
	background: linear-gradient(145deg, #fffdf5, #f4e7c8);
	box-shadow: 0 4px 0 #b89248, 0 7px 13px rgb(0 0 0 / 14%);
	color: #25473e;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1rem, calc(4.8rem / var(--abg-wordpath-size)), 2rem);
	font-weight: 900;
	line-height: 1;
	touch-action: none;
	transition: transform 100ms ease, background 100ms ease, box-shadow 100ms ease;
}

.abg-shell .abg-wordpath__cell.is-selected {
	transform: translateY(2px) scale(0.95);
	border-color: #f6d27e;
	background: #ffd875;
	box-shadow: 0 2px 0 #b78324, 0 0 0 4px rgb(240 186 85 / 22%);
}

.abg-shell .abg-wordpath__cell.is-found {
	border-color: #89b9a5;
	background: #d9f0e5;
	box-shadow: 0 3px 0 #689a85;
	color: #145a48;
}

.abg-shell .abg-wordpath__cell.is-hinted {
	animation: abg-hint 650ms ease-in-out infinite alternate;
}

.abg-word-list {
	padding: 22px;
	border: 1px solid var(--abg-line);
	border-radius: 17px;
	background: #fff;
}

.abg-word-list ul {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.abg-word-list li {
	display: flex;
	min-height: 38px;
	align-items: center;
	justify-content: space-between;
	padding: 5px 9px;
	border-radius: 9px;
	background: #f7faf8;
	color: var(--abg-ink);
	font-size: 0.8rem;
	font-weight: 850;
	letter-spacing: 0.055em;
}

.abg-word-list li b {
	color: var(--abg-green);
	opacity: 0;
}

.abg-word-list li.is-found {
	background: #e4f4eb;
	color: var(--abg-green);
	text-decoration: line-through;
}

.abg-word-list li.is-found b {
	opacity: 1;
}

.abg-word-list__tip {
	margin: 15px 0 0;
	padding-top: 13px;
	border-top: 1px solid var(--abg-line);
	color: var(--abg-muted);
	font-size: 0.76rem;
}

/* Bild-Sudoku */
.abg-sudoku {
	display: grid;
	width: min(100%, 680px);
	margin: 0 auto;
	grid-template-columns: repeat(var(--abg-sudoku-size), minmax(0, 1fr));
	gap: 1px;
	aspect-ratio: 1;
	overflow: hidden;
	border: 5px solid #263f3a;
	border-radius: 17px;
	background: #263f3a;
	box-shadow: 0 16px 44px rgb(23 53 47 / 17%);
	touch-action: manipulation;
}

.abg-shell .abg-sudoku__cell {
	display: grid;
	min-width: 0;
	min-height: 0;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fffdf8;
	box-shadow: none;
	transition: background 110ms ease, box-shadow 110ms ease;
}

.abg-shell .abg-sudoku__cell.is-given {
	background: #e6f1ec;
	cursor: default;
}

.abg-shell .abg-sudoku__cell.is-box-left {
	border-left: 3px solid #263f3a;
}

.abg-shell .abg-sudoku__cell.is-box-top {
	border-top: 3px solid #263f3a;
}

.abg-shell .abg-sudoku__cell.is-selected {
	z-index: 2;
	background: #fff0bd;
	box-shadow: inset 0 0 0 4px var(--abg-gold);
}

.abg-shell .abg-sudoku__cell.is-peer:not(.is-selected) {
	background: #f4f8f5;
}

.abg-shell .abg-sudoku__cell.is-wrong {
	background: #ffe1da;
	box-shadow: inset 0 0 0 3px #c45a44;
}

.abg-sudoku-symbol {
	display: inline-grid;
	place-items: center;
	font-size: clamp(1rem, calc(6rem / var(--abg-sudoku-size, 4)), 2.35rem);
	line-height: 1;
	filter: drop-shadow(0 2px 1px rgb(23 53 47 / 12%));
}

.abg-sudoku-symbol--1 { color: #176b57; }
.abg-sudoku-symbol--2 { color: #d6902f; }
.abg-sudoku-symbol--3 { color: #bd5a42; }
.abg-sudoku-symbol--4 { color: #356f9f; }
.abg-sudoku-symbol--5 { color: #78588e; }
.abg-sudoku-symbol--6 { color: #8b6b31; }
.abg-sudoku-symbol--7 { color: #bf4760; }
.abg-sudoku-symbol--8 { color: #e0a429; }
.abg-sudoku-symbol--9 { color: #4c8555; }

.abg-symbol-bank {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	width: min(100%, 680px);
	margin: 16px auto 0;
}

.abg-shell .abg-symbol-choice {
	display: grid;
	width: clamp(44px, 7vw, 58px);
	height: clamp(44px, 7vw, 58px);
	place-items: center;
	margin: 0;
	padding: 0;
	border: 1px solid #c9d8d1;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 5px 13px rgb(23 53 47 / 9%);
}

.abg-symbol-choice .abg-sudoku-symbol {
	font-size: 1.65rem;
}

.abg-sudoku-clear {
	display: block;
	margin: 12px auto 0 !important;
}

.abg-note-icon--shapes {
	color: var(--abg-green);
}

/* Wege-Drehpuzzle */
.abg-route {
	display: grid;
	width: min(100%, 700px);
	margin: 0 auto;
	grid-template-columns: repeat(var(--abg-route-size), minmax(0, 1fr));
	gap: clamp(3px, 0.65vw, 7px);
	aspect-ratio: 1;
	padding: clamp(7px, 1vw, 12px);
	border: 5px solid var(--abg-deep);
	border-radius: 19px;
	background: linear-gradient(145deg, #113a31, #081f1a);
	box-shadow: 0 16px 44px rgb(23 53 47 / 18%);
	touch-action: manipulation;
}

.abg-route-scroll {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scrollbar-color: #9db7ac var(--abg-green-light);
}

.abg-display-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	padding: 12px 20px;
	border-bottom: 1px solid var(--abg-line);
	background: var(--abg-green-light);
}

.abg-display-tools p {
	flex: 1 1 220px;
	margin: 0;
	color: var(--abg-ink);
	font-size: 0.85rem;
	line-height: 1.5;
}

.abg-orientation-hint {
	display: none;
}

.abg-display-tools--hint-only {
	display: none;
}

.abg-display-tools .abg-text-button {
	min-height: 44px;
}

/* The overview always fits; magnification is a deliberate, reversible choice. */
.abg-game .abg-route-scroll,
.abg-game .abg-crossword-scroll {
	max-height: none;
	overflow: auto;
}

.abg-game.is-board-zoomed[data-abg-game] .abg-route {
	width: 650px;
	min-width: 650px;
}

.abg-game.is-board-zoomed[data-abg-game] .abg-crossword {
	width: var(--abg-crossword-width, 638px);
	min-width: var(--abg-crossword-width, 638px);
}

.abg-game.is-board-zoomed[data-abg-game] .abg-route-scroll,
.abg-game.is-board-zoomed[data-abg-game] .abg-crossword-scroll {
	max-height: 65svh;
}

.abg-game.is-maze-overview .abg-maze {
	width: min(100%, var(--abg-maze-width, 650px));
	min-width: 0;
}

.abg-game .abg-maze-mobile-tools {
	display: flex;
}

@media (max-width: 1100px) and (orientation: portrait) {
	.abg-orientation-hint { display: block; }
	.abg-display-tools--hint-only { display: flex; }
}

.abg-shell .abg-route__cell {
	position: relative;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 1px solid #c8b47a;
	border-radius: clamp(5px, 0.8vw, 11px);
	background:
		radial-gradient(circle at 24% 26%, rgb(255 255 255 / 24%) 0 3%, transparent 4%),
		linear-gradient(145deg, #f7eac3, #dfc77e);
	box-shadow: inset 0 0 12px rgb(117 82 27 / 11%);
}

.abg-route__path {
	position: absolute;
	inset: 0;
	transition: transform 170ms ease;
}

.abg-route__line,
.abg-route__center {
	position: absolute;
	display: block;
	background: #9a6a31;
	box-shadow: inset 0 0 0 2px rgb(255 236 173 / 38%);
}

.abg-route__center {
	top: 36%;
	left: 36%;
	width: 28%;
	height: 28%;
	border-radius: 50%;
}

.abg-route__line--top,
.abg-route__line--bottom {
	left: 42%;
	width: 16%;
	height: 50%;
}

.abg-route__line--top { top: 0; }
.abg-route__line--bottom { bottom: 0; }

.abg-route__line--left,
.abg-route__line--right {
	top: 42%;
	width: 50%;
	height: 16%;
}

.abg-route__line--left { left: 0; }
.abg-route__line--right { right: 0; }

.abg-route__cell.is-connected {
	background: linear-gradient(145deg, #e9f4df, #bfdaa8);
}

.abg-route__cell.is-connected .abg-route__line,
.abg-route__cell.is-connected .abg-route__center {
	background: #d79732;
	box-shadow: 0 0 7px rgb(240 186 85 / 72%), inset 0 0 0 2px rgb(255 238 177 / 55%);
}

.abg-route__cell.is-hinted {
	animation: abg-hint 600ms ease-in-out infinite alternate;
}

.abg-route__marker {
	position: absolute;
	z-index: 3;
	display: grid;
	width: 36%;
	height: 36%;
	place-items: center;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 3px 8px rgb(0 0 0 / 23%);
	font-size: clamp(0.58rem, calc(3.5rem / var(--abg-route-size)), 1.25rem);
	line-height: 1;
}

.abg-route__marker--start {
	top: 7%;
	left: 7%;
	background: var(--abg-green);
	color: #fff;
}

.abg-route__marker--goal {
	right: 7%;
	bottom: 7%;
	background: var(--abg-gold);
	color: #513b11;
}

.abg-route.is-complete .abg-route__cell.is-connected {
	animation: abg-route-finish 650ms ease both;
}

.abg-note-icon--route {
	color: var(--abg-green);
	font-weight: 900;
}

.abg-route-progress {
	margin: 0 0 17px;
	padding: 13px 14px;
	border: 1px solid #d9e7e0;
	border-radius: 12px;
	background: #f6faf8;
}

.abg-route-progress strong,
.abg-route-progress small {
	display: block;
}

.abg-route-progress strong {
	color: var(--abg-green);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
}

.abg-route-progress small {
	margin-top: 1px;
	color: var(--abg-muted);
	font-size: 0.72rem;
	font-weight: 750;
}

/* Abenteuer-Paare */
.abg-memory-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 250px;
	gap: 28px;
	align-items: start;
	padding: 34px;
}

.abg-memory {
	display: grid;
	width: min(100%, 760px);
	margin: 0 auto;
	grid-template-columns: repeat(var(--abg-memory-columns, 4), minmax(0, 1fr));
	gap: clamp(7px, 1.2vw, 12px);
	padding: clamp(10px, 1.8vw, 18px);
	border: 5px solid var(--abg-deep);
	border-radius: 19px;
	background:
		radial-gradient(circle at 18% 14%, rgb(240 186 85 / 16%), transparent 28%),
		linear-gradient(145deg, #174b3f, #0b2b24);
	box-shadow: 0 16px 44px rgb(23 53 47 / 18%);
	perspective: 900px;
	touch-action: manipulation;
}

.abg-shell .abg-memory__card {
	position: relative;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: clamp(9px, 1.1vw, 14px);
	background: transparent;
	box-shadow: 0 7px 14px rgb(0 0 0 / 18%);
	aspect-ratio: 3 / 4;
	color: var(--abg-ink);
	transform-style: preserve-3d;
}

.abg-memory__card-inner {
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	transition: transform 360ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.abg-memory__card.is-open .abg-memory__card-inner,
.abg-memory__card.is-matched .abg-memory__card-inner,
.abg-memory__card.is-peeking .abg-memory__card-inner {
	transform: rotateY(180deg);
}

.abg-memory__back,
.abg-memory__face {
	position: absolute;
	display: grid;
	inset: 0;
	place-items: center;
	padding: 7px;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 58%);
	border-radius: inherit;
	backface-visibility: hidden;
}

.abg-memory__back {
	background:
		radial-gradient(circle at 50% 38%, rgb(255 255 255 / 16%) 0 3px, transparent 4px),
		repeating-linear-gradient(135deg, #176b57 0 9px, #125745 9px 18px);
	box-shadow: inset 0 0 0 5px rgb(255 255 255 / 10%);
	font-size: 0;
}

.abg-memory__back::after {
	display: grid;
	width: 45%;
	aspect-ratio: 1;
	place-items: center;
	border: 2px solid rgb(255 240 196 / 76%);
	border-radius: 50%;
	color: #ffe9ad;
	content: "✦";
	font-size: clamp(1rem, 3vw, 1.8rem);
}

.abg-memory__face {
	grid-template-rows: minmax(0, 1fr) auto;
	transform: rotateY(180deg);
	background: linear-gradient(155deg, #fffdf4, #f4e2ae);
	box-shadow: inset 0 0 0 4px rgb(255 255 255 / 55%);
}

.abg-memory__symbol {
	display: grid;
	place-items: center;
	font-size: clamp(1.45rem, calc(8rem / var(--abg-memory-columns, 4)), 3rem);
	filter: drop-shadow(0 3px 2px rgb(71 50 16 / 14%));
}

.abg-memory__label {
	width: 100%;
	overflow: hidden;
	color: #4d421f;
	font-size: clamp(0.55rem, 1vw, 0.72rem);
	font-weight: 850;
	line-height: 1.15;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.abg-shell .abg-memory__card.is-matched {
	box-shadow: 0 0 0 3px #79b89f, 0 7px 14px rgb(0 0 0 / 12%);
}

.abg-shell .abg-memory__card.is-matched .abg-memory__face {
	background: linear-gradient(155deg, #f3fff8, #cce9db);
}

.abg-shell .abg-memory__card:hover:not(.is-open):not(.is-matched) .abg-memory__card-inner,
.abg-shell .abg-memory__card:focus-visible:not(.is-open):not(.is-matched) .abg-memory__card-inner {
	transform: translateY(-3px);
}

/* Spuren-Detektiv */
.abg-detective-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.32fr) minmax(290px, 0.68fr);
	gap: 28px;
	align-items: start;
	padding: 34px;
	background:
		linear-gradient(rgb(255 253 248 / 88%), rgb(255 253 248 / 88%)),
		repeating-linear-gradient(0deg, transparent 0 31px, rgb(23 107 87 / 5%) 31px 32px);
}

.abg-detective-case,
.abg-detective-notebook,
.abg-detective-solution {
	min-width: 0;
	border: 1px solid var(--abg-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 36px rgb(23 53 47 / 8%);
}

.abg-detective-brief {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 22px 24px;
	border-bottom: 1px dashed #cfddd6;
	background:
		radial-gradient(circle at 90% 8%, rgb(240 186 85 / 23%), transparent 28%),
		linear-gradient(145deg, #f3f8f5, #fffdf8);
}

.abg-detective-brief__seal {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 2px solid #a87827;
	border-radius: 50%;
	background: #f4c866;
	box-shadow: inset 0 0 0 5px #ffe7a8, 0 7px 15px rgb(89 58 14 / 15%);
	color: #5b4317;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.abg-detective-brief small,
.abg-detective-section-title small {
	display: block;
	margin-bottom: 3px;
	color: var(--abg-green);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.abg-detective-brief h4,
.abg-detective-section-title h4,
.abg-detective-solution h4 {
	margin: 0;
	color: var(--abg-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.25rem, 2.6vw, 1.7rem);
	line-height: 1.1;
}

.abg-detective-brief p {
	margin: 7px 0 0;
	color: var(--abg-muted);
	font-size: 0.85rem;
}

.abg-detective-clues {
	padding: 24px;
}

.abg-detective-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
}

.abg-detective-section-title > span {
	display: block;
	width: 7px;
	height: 42px;
	border-radius: 999px;
	background: linear-gradient(var(--abg-gold), #c98b27);
	box-shadow: 0 4px 10px rgb(154 102 29 / 18%);
}

.abg-detective-clues ol {
	display: grid;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: abg-detective-clue;
}

.abg-detective-clues li {
	position: relative;
	display: grid;
	min-height: 54px;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 11px;
	align-items: center;
	padding: 10px 13px;
	border: 1px solid #e0e7e3;
	border-radius: 13px;
	background: #fffdf8;
	color: #35574e;
	font-size: 0.86rem;
	line-height: 1.45;
	counter-increment: abg-detective-clue;
	transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.abg-detective-clues li::before {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 10px;
	background: #e7f3ed;
	color: var(--abg-green);
	font-size: 0.74rem;
	font-weight: 900;
	content: counter(abg-detective-clue);
}

.abg-detective-clues li.is-hinted {
	border-color: #d49b34;
	background: #fff4cf;
	transform: translateX(3px);
}

.abg-detective-notebook {
	padding: 22px;
	background:
		repeating-linear-gradient(0deg, transparent 0 29px, rgb(23 107 87 / 6%) 29px 30px),
		#fffefb;
}

.abg-detective-notebook__help {
	margin: 14px 0 18px;
	color: var(--abg-muted);
	font-size: 0.77rem;
	line-height: 1.5;
}

.abg-detective-note-group + .abg-detective-note-group {
	margin-top: 18px;
}

.abg-detective-note-group h5 {
	margin: 0 0 8px;
	color: #526b64;
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.abg-detective-note-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
}

.abg-shell .abg-detective-note {
	display: grid;
	min-width: 0;
	min-height: 45px;
	grid-template-columns: 27px minmax(0, 1fr);
	gap: 7px;
	align-items: center;
	margin: 0;
	padding: 6px 8px;
	border: 1px solid #d8e2dd;
	border-radius: 11px;
	background: rgb(255 255 255 / 92%);
	box-shadow: none;
	color: var(--abg-ink);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.15;
	text-align: left;
	transition: border-color 130ms ease, background 130ms ease, color 130ms ease, transform 130ms ease;
}

.abg-detective-note__badge {
	display: grid;
	width: 27px;
	height: 27px;
	place-items: center;
	border-radius: 8px;
	background: var(--abg-note-color, #e5f2ec);
	color: #193e35;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.68rem;
	font-weight: 900;
}

.abg-shell .abg-detective-note.is-excluded {
	border-color: #e8c8c0;
	background: #fff5f2;
	color: #9b5b4c;
	text-decoration: line-through;
	opacity: 0.78;
}

.abg-shell .abg-detective-note.is-excluded .abg-detective-note__badge {
	background: #efd5ce;
}

.abg-shell .abg-detective-note.is-favourite {
	border-color: #d7a13b;
	background: #fff1c8;
	box-shadow: 0 0 0 3px rgb(240 186 85 / 18%);
	color: #5b4317;
	transform: translateY(-1px);
}

.abg-detective-notebook > .abg-text-button {
	display: block;
	margin: 17px auto 0;
}

.abg-detective-solution {
	display: grid;
	grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.65fr) auto;
	gap: 22px;
	align-items: end;
	margin: 0 34px 34px;
	padding: 24px;
	background:
		radial-gradient(circle at 95% 0, rgb(240 186 85 / 20%), transparent 30%),
		linear-gradient(145deg, #f2f8f5, #fffdf8);
}

.abg-detective-solution > div:first-child > p:last-child {
	margin: 8px 0 0;
	color: var(--abg-muted);
	font-size: 0.8rem;
}

.abg-detective-answer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.abg-detective-answer-grid label {
	color: #547068;
	font-size: 0.69rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.abg-detective-answer-grid select {
	display: block;
	width: 100%;
	min-height: 44px;
	margin: 5px 0 0;
	padding: 0 30px 0 10px;
	border: 1px solid #cbd9d3;
	border-radius: 10px;
	background-color: #fff;
	color: var(--abg-ink);
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0;
	text-transform: none;
}

.abg-detective-solution.is-wrong {
	animation: abg-detective-wrong 330ms ease;
}

.abg-detective-success-mark {
	display: grid !important;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 2px solid #8ab7a3;
	border-radius: 50%;
	background: #e2f4e9;
	color: var(--abg-green);
	font-size: 1.4rem;
	font-weight: 950;
}

/* Erzählerisches Detektivspiel: Beweise links, prüfbare Alibis rechts. */
.abg-detective-suspects {
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--abg-line);
	border-radius: 20px;
	background:
		radial-gradient(circle at 95% 0, rgb(240 186 85 / 16%), transparent 28%),
		#fff;
	box-shadow: 0 14px 36px rgb(23 53 47 / 8%);
}

.abg-detective-suspects__help {
	margin: 14px 0 19px;
	color: var(--abg-muted);
	font-size: 0.8rem;
	line-height: 1.55;
}

.abg-detective-clues li > span {
	display: grid;
	gap: 2px;
}

.abg-detective-clues li small,
.abg-detective-trait small,
.abg-detective-suspect__head small {
	color: #678078;
	font-size: 0.62rem;
	font-weight: 900;
	letter-spacing: 0.07em;
	line-height: 1.3;
	text-transform: uppercase;
}

.abg-detective-clues li strong {
	color: var(--abg-ink);
	font-size: 0.84rem;
	line-height: 1.4;
}

.abg-detective-suspect-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

.abg-detective-evidence {
	display: grid;
	gap: 10px;
	margin-top: 20px;
}

.abg-detective-evidence-card {
	display: grid;
	min-width: 0;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 13px 15px;
	border: 1px solid #dce7e2;
	border-radius: 13px;
	background: #fffdf9;
	transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.abg-detective-evidence-card > span {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 11px;
	background: #e6f2ec;
	font-size: 1.25rem;
}

.abg-detective-evidence-card small,
.abg-detective-statement small {
	display: block;
	color: var(--abg-green);
	font-size: 0.65rem;
	font-weight: 900;
	letter-spacing: 0.075em;
	line-height: 1.35;
	text-transform: uppercase;
}

.abg-detective-evidence-card p {
	margin: 4px 0 0;
	color: #294a42;
	font-size: 0.8rem;
	line-height: 1.48;
}

.abg-detective-evidence-card.is-hinted {
	border-color: #d49b34;
	background: #fff3c9;
	box-shadow: 0 0 0 3px rgb(240 186 85 / 20%);
	transform: translateX(3px);
}

.abg-shell .abg-detective-suspect {
	position: relative;
	display: grid;
	min-width: 0;
	min-height: 0;
	gap: 13px;
	margin: 0;
	padding: 15px;
	overflow: hidden;
	border: 1px solid #d5e1dc;
	border-radius: 16px;
	background: #fffdf8;
	box-shadow: 0 8px 18px rgb(23 53 47 / 6%);
	color: var(--abg-ink);
	text-align: left;
	touch-action: manipulation;
	transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.abg-shell .abg-detective-suspect--alibi {
	gap: 11px;
	padding: 15px;
	background:
		linear-gradient(rgb(255 255 255 / 90%), rgb(255 255 255 / 90%)),
		linear-gradient(135deg, var(--abg-suspect-color, #dcebe5), #fff);
}

.abg-detective-statement {
	display: grid;
	gap: 3px;
	padding: 10px 11px;
	border-left: 4px solid var(--abg-suspect-color, #badccf);
	border-radius: 8px;
	background: rgb(255 255 255 / 82%);
	text-align: left;
}

.abg-detective-statement strong {
	color: var(--abg-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.42;
}

.abg-detective-detail {
	display: block;
	padding: 7px 9px;
	border-radius: 8px;
	background: #eef5f1;
	color: #416158;
	font-size: 0.7rem;
	font-weight: 850;
	line-height: 1.35;
	text-align: left;
}

.abg-shell .abg-detective-suspect:hover,
.abg-shell .abg-detective-suspect:focus-visible {
	border-color: #8fb7a6;
	box-shadow: 0 10px 22px rgb(23 107 87 / 13%);
	transform: translateY(-2px);
}

.abg-detective-suspect__head {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}

.abg-detective-suspect__head > span:last-child {
	display: grid;
	gap: 1px;
}

.abg-detective-suspect__head > span:last-child > strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	line-height: 1.1;
}

.abg-detective-suspect__avatar {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgb(23 53 47 / 10%);
	border-radius: 13px;
	background: var(--abg-suspect-color, #e5f2ec);
	box-shadow: inset 0 0 0 4px rgb(255 255 255 / 38%);
	color: #193e35;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.78rem;
	font-weight: 900;
}

.abg-detective-traits {
	display: grid;
	gap: 6px;
}

.abg-detective-trait {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2px;
	align-items: start;
	padding: 7px 8px;
	border: 1px solid #e4ebe7;
	border-radius: 9px;
	background: rgb(255 255 255 / 88%);
}

.abg-detective-trait strong {
	min-width: 0;
	color: #294a42;
	font-size: 0.7rem;
	line-height: 1.28;
	overflow-wrap: normal;
	word-break: normal;
}

.abg-detective-suspect__check {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border-radius: 50%;
	background: var(--abg-green);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 900;
	opacity: 0;
	transform: scale(0.72);
	transition: opacity 150ms ease, transform 150ms ease;
}

.abg-shell .abg-detective-suspect.is-selected {
	border-color: #c38c2c;
	background: #fff4ce;
	box-shadow: 0 0 0 3px rgb(240 186 85 / 22%), 0 12px 24px rgb(91 67 23 / 10%);
}

.abg-detective-suspect.is-selected .abg-detective-suspect__check {
	opacity: 1;
	transform: scale(1);
}

.abg-shell .abg-detective-suspect.is-eliminated {
	border-color: #e4d7d2;
	background: #f7f4f1;
	box-shadow: none;
	opacity: 0.5;
	filter: grayscale(0.7);
	text-decoration: line-through;
	transform: none;
}

.abg-shell .abg-detective-suspect.is-wrong {
	animation: abg-detective-wrong 330ms ease;
}

.abg-detective-solution {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
}

.abg-detective-solution > .abg-button {
	justify-self: end;
}

@keyframes abg-detective-wrong {
	0%, 100% { transform: translateX(0); }
	35% { transform: translateX(-5px); }
	70% { transform: translateX(5px); }
}

@keyframes abg-route-finish {
	0% { filter: brightness(1); }
	50% { filter: brightness(1.18); }
	100% { filter: brightness(1); }
}

@keyframes abg-arrive {
	from { transform: scale(0.72); }
	to { transform: scale(1); }
}

@keyframes abg-bump {
	0%, 100% { transform: translateX(0); }
	40% { transform: translateX(-3px); }
	70% { transform: translateX(3px); }
}

@keyframes abg-goal-pulse {
	from { filter: brightness(1); }
	to { filter: brightness(1.12); }
}

@keyframes abg-hint {
	from { box-shadow: 0 0 0 3px var(--abg-gold), 0 0 0 4px rgb(240 186 85 / 42%); }
	to { box-shadow: 0 0 0 4px var(--abg-gold), 0 0 0 15px rgb(240 186 85 / 0%); }
}

@keyframes abg-success-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes abg-puzzle-complete {
	from { opacity: 0; transform: scale(0.96); }
	to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
	.abg-detective-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.abg-detective-suspects {
		width: min(100%, 650px);
		margin: 0 auto;
	}
}

@media (max-width: 860px) {
	.abg-hub__intro {
		grid-template-columns: minmax(0, 1fr);
	}

	.abg-hub__art {
		width: min(100%, 460px);
		height: 220px;
		margin-inline: auto;
	}

	.abg-game-cards {
		grid-template-columns: 1fr;
	}

	.abg-after-game {
		grid-template-columns: minmax(0, 1fr);
	}

	.abg-page-guide__head {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		align-items: start;
	}

	.abg-guide-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.abg-play-layout,
	.abg-puzzle-layout,
	.abg-seek-layout,
	.abg-crossword-layout,
	.abg-wordpath-layout,
	.abg-sudoku-layout,
	.abg-route-layout,
	.abg-memory-layout,
	.abg-detective-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.abg-crossword-sidebar {
		position: static;
		width: min(100%, 650px);
		margin: 0 auto;
	}

	.abg-memory-layout .abg-game-note {
		width: min(100%, 650px);
		margin: 0 auto;
	}

	.abg-game-note,
	.abg-object-list,
	.abg-word-list,
	.abg-detective-notebook,
	.abg-detective-suspects {
		width: min(100%, 650px);
		margin: 0 auto;
	}

	.abg-detective-solution {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.abg-detective-solution > .abg-button {
		justify-self: start;
	}

	.abg-game-note:has(.abg-note-preview) {
		display: grid;
		grid-template-columns: 110px 1fr;
		gap: 0 18px;
		align-items: start;
	}

	.abg-game-note:has(.abg-note-preview) .abg-note-preview {
		grid-row: 1 / span 3;
		margin: 0;
	}

	.abg-game-note:has(.abg-note-preview) .abg-live-status {
		grid-column: 2;
	}

	.abg-object-list ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.abg-object-list li {
		grid-template-columns: 1fr 20px;
		padding-inline: 4px;
		border-right: 1px solid #edf1ef;
		border-bottom: 0;
	}
}

@media (max-width: 700px) {
	.parent-pageid-1061 .entry-header {
		width: min(100% - 26px, 1160px);
		margin-top: 34px;
		margin-bottom: 15px;
	}

	.parent-pageid-1061 .entry-title {
		font-size: clamp(2.2rem, 11vw, 3.2rem);
		line-height: 1.02;
	}

	.abg-page-lead,
	.abg-after-game {
		width: min(100% - 22px, 1160px);
	}

	.abg-page-lead {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding: 24px;
		border-radius: 22px;
	}

	.abg-page-lead__media {
		width: 160px;
		height: 145px;
		grid-row: 1;
		justify-self: center;
	}

	.abg-page-lead__copy {
		grid-row: 2;
	}

	.abg-page-lead__chips {
		margin-top: 17px;
	}

	.abg-after-game {
		gap: 24px;
		margin-bottom: 52px;
		padding: 25px 20px;
		border-radius: 22px;
	}

	.abg-shell {
		width: min(100% - 22px, 1160px);
		margin-block: 30px 52px;
	}

	.abg-hub__intro {
		min-height: 0;
		padding: 28px 24px 24px;
		border-radius: 24px;
	}

	.abg-hub__art {
		height: 185px;
	}

	.abg-hub__art img {
		width: 130px;
		height: 130px;
	}

	.abg-hub__art img:nth-child(2) {
		top: 54px;
	}

	.abg-shell .abg-game-card {
		grid-template-columns: 122px minmax(0, 1fr);
		min-height: 220px;
		gap: 16px;
		padding: 13px;
		border-radius: 21px;
	}

	.abg-game-card__media {
		min-height: 194px;
		border-radius: 16px;
	}

	.abg-game-card__media img {
		width: 116px;
		height: 150px;
	}

	.abg-game-card__body {
		padding-block: 4px;
	}

	.abg-game-card small {
		font-size: 0.82rem;
	}

	.abg-game-card__tags {
		display: none;
	}

	.abg-game-card__cta {
		margin-top: 12px;
	}

	.abg-game {
		border-radius: 19px;
	}

	.abg-game__header {
		display: block;
		padding: 24px 20px 20px;
	}

	.abg-game__title {
		grid-template-columns: 68px minmax(0, 1fr);
		gap: 14px;
	}

	.abg-game__icon {
		width: 68px;
		height: 68px;
	}

	.abg-stats {
		margin-top: 18px;
	}

	.abg-stats > span {
		min-width: 82px;
		min-height: 58px;
	}

	.abg-toolbar {
		flex-wrap: wrap;
		padding: 12px 20px;
	}

	.abg-toolbar .abg-live-status {
		width: 100%;
		margin: 0;
	}

	.abg-toolbar--seek .abg-toolbar__field {
		display: grid;
		width: 100%;
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.abg-toolbar--seek .abg-toolbar__field select {
		width: 100%;
		min-width: 0;
	}

	.abg-play-layout,
	.abg-puzzle-layout,
	.abg-seek-layout,
	.abg-crossword-layout,
	.abg-wordpath-layout,
	.abg-sudoku-layout,
	.abg-route-layout,
	.abg-memory-layout,
	.abg-detective-layout {
		gap: 21px;
		padding: 20px;
	}

	.abg-memory {
		gap: 7px;
		padding: 9px;
		border-width: 4px;
		border-radius: 14px;
	}

	.abg-detective-solution {
		margin: 0 20px 20px;
		padding: 20px;
	}

	.abg-game[data-abg-maze-level="meister"] .abg-maze-scroll,
	.abg-game[data-abg-maze-level="extrem"] .abg-maze-scroll {
		width: 100%;
		max-height: calc(100svw - 62px);
		padding: 0;
		overflow: auto;
		aspect-ratio: 1;
		border: 4px solid var(--abg-deep);
		border-radius: 12px;
		background: var(--abg-deep);
		box-shadow: 0 12px 30px rgb(23 53 47 / 15%);
	}

	.abg-game[data-abg-maze-level="meister"] .abg-maze,
	.abg-game[data-abg-maze-level="extrem"] .abg-maze {
		margin: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.abg-game[data-abg-maze-level="meister"] .abg-maze-mobile-tools,
	.abg-game[data-abg-maze-level="extrem"] .abg-maze-mobile-tools {
		display: flex;
	}

	.abg-game.is-maze-overview .abg-maze-scroll {
		max-height: none;
		overflow: hidden;
		aspect-ratio: auto;
	}

	.abg-game.is-maze-overview .abg-maze {
		width: 100%;
		min-width: 0;
	}

	.abg-seek-viewport {
		max-height: 62svh;
		overflow: auto;
	}

	.abg-shell .abg-hidden-object {
		width: max(var(--abg-size), 44px);
	}

	.abg-crossword-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.abg-crossword-sidebar {
		display: contents;
	}

	.abg-active-clue {
		position: sticky;
		top: 0;
		z-index: 12;
		grid-row: 1;
		box-shadow: 0 9px 24px rgb(31 75 123 / 16%);
	}

	.abg-letter-bank {
		position: sticky;
		top: 82px;
		z-index: 11;
		grid-row: 2;
		padding: 8px;
		border: 1px solid #e2d4ad;
		border-radius: 13px;
		background: rgb(255 253 248 / 96%);
		box-shadow: 0 9px 22px rgb(23 53 47 / 10%);
		backdrop-filter: blur(8px);
	}

	.abg-crossword-play {
		grid-row: 3;
	}

	.abg-crossword-actions {
		grid-row: 4;
	}

	.abg-crossword-sidebar .abg-game-note {
		grid-row: 5;
	}

	.abg-crossword-scroll {
		width: 100%;
		max-height: none;
		overflow: auto;
	}

	.abg-crossword {
		width: 100%;
		min-width: 0;
		margin: 0;
	}

	.abg-game[data-abg-route-size="8"] .abg-route-scroll,
	.abg-game[data-abg-route-size="10"] .abg-route-scroll {
		max-height: none;
		overflow: auto;
		border: 4px solid var(--abg-deep);
		border-radius: 14px;
		background: var(--abg-deep);
	}

	.abg-game[data-abg-route-size="8"] .abg-route,
	.abg-game[data-abg-route-size="10"] .abg-route {
		width: 100%;
		min-width: 0;
		margin: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.abg-dpad {
		display: grid;
	}

	.abg-success {
		padding: 9px;
	}

	.abg-success__card {
		max-height: calc(100dvh - 18px);
		padding: 31px 17px 19px;
		border-radius: 20px;
	}

	.abg-success__emblem {
		width: 84px;
		height: 84px;
		margin-bottom: 14px;
	}

	.abg-success__emblem svg {
		width: 54px;
		height: 54px;
	}

	.abg-success__actions {
		grid-template-columns: 1fr;
		gap: 8px;
		margin-top: 21px;
	}

	.abg-success__action {
		min-height: 52px;
		justify-content: flex-start;
		padding-inline: 18px;
	}

	.abg-object-list ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.abg-object-list li {
		border-right: 0;
		border-bottom: 1px solid #edf1ef;
	}
}

@media (max-width: 430px) {
	.abg-toolbar--seek .abg-toolbar__field {
		grid-template-columns: minmax(0, 1fr);
		gap: 5px;
	}

	.abg-shell .abg-game-card {
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 13px;
	}

	.abg-game-card__media img {
		width: 102px;
		height: 132px;
	}

	.abg-game-card__cta {
		padding-inline: 11px;
		font-size: 0.74rem;
	}

	.abg-related-game {
		grid-template-columns: 54px minmax(0, 1fr) 22px;
	}

	.abg-related-game img {
		width: 54px;
		height: 54px;
	}

	.abg-hub__intro h1 {
		font-size: 2.15rem;
	}

	.abg-game__header h3 {
		font-size: 1.75rem;
	}

	.abg-toolbar label {
		width: 100%;
	}

	.abg-toolbar--seek .abg-toolbar__field label {
		width: auto;
	}

	.abg-toolbar select,
	.abg-toolbar .abg-button--secondary {
		flex: 1 1 auto;
	}

	.abg-play-layout,
	.abg-puzzle-layout,
	.abg-seek-layout,
	.abg-crossword-layout,
	.abg-wordpath-layout,
	.abg-sudoku-layout,
	.abg-route-layout,
	.abg-memory-layout,
	.abg-detective-layout {
		padding: 10px;
	}

	.abg-game[data-abg-memory-pairs="10"] .abg-memory,
	.abg-game[data-abg-memory-pairs="15"] .abg-memory {
		--abg-memory-columns: 4 !important;
	}

	.abg-memory__label {
		display: none;
	}

	.abg-detective-brief,
	.abg-detective-clues,
	.abg-detective-notebook,
	.abg-detective-suspects {
		padding: 17px;
	}

	.abg-detective-suspect-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.abg-detective-brief {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 12px;
	}

	.abg-detective-brief__seal {
		width: 46px;
		height: 46px;
	}

	.abg-detective-answer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.abg-detective-note-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.abg-detective-solution {
		margin: 0 14px 14px;
		padding: 17px;
	}

	.abg-detective-solution > .abg-button {
		width: 100%;
	}

	.abg-wordpath,
	.abg-sudoku,
	.abg-route {
		border-width: 4px;
		border-radius: 12px;
	}

	.abg-wordpath-current {
		min-height: 48px;
	}

	.abg-word-list {
		padding: 17px;
	}

	.abg-game[data-abg-maze-level="meister"] .abg-maze-scroll,
	.abg-game[data-abg-maze-level="extrem"] .abg-maze-scroll {
		max-height: calc(100svw - 52px);
	}

	.abg-maze {
		border-width: 4px;
		border-radius: 9px;
	}

	.abg-maze__cell.has-wall-top {
		border-top-width: 2px;
	}

	.abg-maze__cell.has-wall-right {
		border-right-width: 2px;
	}

	.abg-maze__cell.has-wall-bottom {
		border-bottom-width: 2px;
	}

	.abg-maze__cell.has-wall-left {
		border-left-width: 2px;
	}

	.abg-object-list {
		padding: 17px;
	}

	.abg-object-list ul {
		grid-template-columns: 1fr;
	}

	.abg-game-note:has(.abg-note-preview) {
		display: block;
	}

	.abg-game-note:has(.abg-note-preview) .abg-note-preview {
		width: 92px;
		margin-bottom: 12px;
	}

	.abg-active-clue {
		min-height: 66px;
		padding: 9px 10px;
	}

	.abg-active-clue > span {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
		font-size: 1.3rem;
	}

	.abg-active-clue strong {
		font-size: 0.93rem;
	}

	.abg-shell .abg-letter-tile {
		width: 43px;
		height: 46px;
		font-size: 1.25rem;
	}

	.abg-crossword-actions .abg-button,
	.abg-crossword-actions .abg-text-button {
		flex: 1 1 140px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.abg-shell *,
	.abg-shell *::before,
	.abg-shell *::after,
	.abg-success *,
	.abg-success *::before,
	.abg-success *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
