.n3rd-mh-shell {
	--n3rd-ink: var(--nmht-ink, #0d1b2a);
	--n3rd-ink-soft: #172a3d;
	--n3rd-heart: var(--nmht-herz, #e63946);
	--n3rd-media: var(--nmht-medien, #0da7a3);
	--n3rd-blue: var(--nmht-gemeinschaft, #1d4ed8);
	--n3rd-green: var(--nmht-gruen, #43b02a);
	--n3rd-yellow: var(--nmht-idee, #f4c542);
	--n3rd-paper: var(--nmht-papier, #fff);
	--n3rd-ground: var(--nmht-grund, #f4f6f8);
	--n3rd-muted: #5f6c79;
	--n3rd-line: #d7dfe7;
	--n3rd-radius: var(--nmht-radius, 18px);
	--n3rd-small-radius: var(--nmht-radius-klein, 11px);
	--n3rd-large-radius: var(--nmht-radius-gross, 32px);
	--n3rd-shadow: 0 18px 45px rgb(13 27 42 / 0.12);
	width: min(1180px, 100%);
	margin-block: 2rem;
	margin-inline: auto;
	color: var(--n3rd-ink);
	font-family: var(--nmht-font-text, system-ui, -apple-system, "Segoe UI", sans-serif);
	font-size: 17px;
	line-height: 1.55;
	text-align: left;
	isolation: isolate;
	container-type: inline-size;
}

.n3rd-mh-shell,
.n3rd-mh-shell *,
.n3rd-mh-shell *::before,
.n3rd-mh-shell *::after {
	box-sizing: border-box;
}

.n3rd-mh-shell button,
.n3rd-mh-shell input {
	font: inherit;
}

.n3rd-mh-shell button {
	text-transform: none;
	letter-spacing: normal;
	touch-action: manipulation;
}

.n3rd-mh-shell img,
.n3rd-mh-shell svg {
	display: block;
	max-width: 100%;
}

.n3rd-mh-shell h1,
.n3rd-mh-shell h2,
.n3rd-mh-shell h3,
.n3rd-mh-shell p,
.n3rd-mh-shell blockquote {
	margin-top: 0;
}

.n3rd-mh-shell h1,
.n3rd-mh-shell h2,
.n3rd-mh-shell h3,
.n3rd-mh-shell strong,
.n3rd-mh-shell button {
	font-family: var(--nmht-font-ueber, system-ui, -apple-system, "Segoe UI", sans-serif);
}

.n3rd-mh-shell h1 {
	font-size: clamp(2rem, 1.3rem + 2.7vw, 3.45rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.n3rd-mh-shell h2 {
	font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.n3rd-mh-shell :focus-visible {
	outline: 4px solid var(--n3rd-yellow);
	outline-offset: 3px;
}

.n3rd-mh-shell .n3rd-mh-live,
.n3rd-mh-shell .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.n3rd-mh-shell [tabindex="-1"]:focus {
	outline: 0;
}

.n3rd-mh-app {
	position: relative;
	overflow: hidden;
	background: var(--n3rd-ground);
	border: 1px solid rgb(13 27 42 / 0.1);
	border-radius: var(--n3rd-large-radius);
	box-shadow: var(--n3rd-shadow);
}

.n3rd-mh-icon {
	width: 1.2em;
	height: 1.2em;
	flex: 0 0 auto;
}

.n3rd-mh-topbar {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.7fr) minmax(180px, auto);
	align-items: center;
	gap: 1.2rem;
	min-height: 84px;
	padding: 1rem clamp(1rem, 2.8vw, 2.2rem);
	color: #fff;
	background: var(--n3rd-ink);
	border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.n3rd-mh-brand {
	display: flex;
	align-items: baseline;
	gap: 0.8rem;
	min-width: 0;
}

.n3rd-mh-brand__n {
	font-size: 1.45rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
}

.n3rd-mh-brand__n span,
.n3rd-mh-certificate__brand span {
	color: var(--n3rd-heart);
}

.n3rd-mh-brand__title {
	padding-left: 0.8rem;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	border-left: 1px solid rgb(255 255 255 / 0.3);
	white-space: nowrap;
}

.n3rd-mh-progress__label {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.35rem;
	font-size: 0.72rem;
	color: rgb(255 255 255 / 0.72);
}

.n3rd-mh-progress__label strong {
	color: #fff;
}

.n3rd-mh-progress__track {
	height: 7px;
	overflow: hidden;
	background: rgb(255 255 255 / 0.13);
	border-radius: 99px;
}

.n3rd-mh-progress__track span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--n3rd-heart), #ff8290);
	border-radius: inherit;
	transition: width 0.45s ease;
}

.n3rd-mh-topbar__actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
}

.n3rd-mh-icon-button {
	min-width: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.55rem 0.75rem;
	color: #fff;
	background: rgb(255 255 255 / 0.09);
	border: 1px solid rgb(255 255 255 / 0.16);
	border-radius: 999px;
	cursor: pointer;
}

.n3rd-mh-icon-button:hover {
	background: rgb(255 255 255 / 0.18);
}

.n3rd-mh-icon-button span {
	font-size: 0.75rem;
	font-weight: 700;
}

.n3rd-mh-main {
	min-height: 650px;
}

.n3rd-mh-footer {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem clamp(1rem, 3vw, 2.5rem);
	color: rgb(255 255 255 / 0.66);
	background: var(--n3rd-ink);
	font-size: 0.72rem;
}

.n3rd-mh-footer strong {
	color: var(--n3rd-heart);
}

.n3rd-mh-kicker {
	margin-bottom: 0.7rem;
	color: var(--n3rd-heart);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.n3rd-mh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 50px;
	padding: 0.8rem 1.45rem;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	border: 2px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.n3rd-mh-button:not(:disabled):hover {
	transform: translateY(-2px);
}

.n3rd-mh-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.n3rd-mh-button--primary {
	color: #fff;
	background: var(--n3rd-heart);
	box-shadow: 0 9px 24px rgb(230 57 70 / 0.28);
}

.n3rd-mh-button--primary:not(:disabled):hover {
	background: #c92c39;
	box-shadow: 0 12px 30px rgb(230 57 70 / 0.34);
}

.n3rd-mh-button--ghost {
	color: var(--n3rd-ink);
	background: transparent;
	border-color: rgb(13 27 42 / 0.25);
}

.n3rd-mh-button--ghost:hover {
	color: #fff;
	background: var(--n3rd-ink);
}

.n3rd-mh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.n3rd-mh-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
	min-height: 610px;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 82% 36%, rgb(13 167 163 / 0.18), transparent 28%),
		linear-gradient(135deg, #0d1b2a 0%, #122d46 62%, #0b2135 100%);
}

.n3rd-mh-hero::before,
.n3rd-mh-hero::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.n3rd-mh-hero::before {
	inset: 0;
	background-image:
		linear-gradient(90deg, transparent 48%, rgb(255 255 255 / 0.035) 49%, rgb(255 255 255 / 0.035) 51%, transparent 52%),
		linear-gradient(transparent 48%, rgb(255 255 255 / 0.035) 49%, rgb(255 255 255 / 0.035) 51%, transparent 52%);
	background-size: 52px 52px;
	mask-image: linear-gradient(90deg, transparent 35%, #000);
}

.n3rd-mh-hero::after {
	right: -90px;
	bottom: -120px;
	width: 430px;
	height: 430px;
	border: 4px solid rgb(255 255 255 / 0.06);
	border-radius: 50%;
}

.n3rd-mh-hero__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2.4rem, 7vw, 5.5rem);
	padding-right: 1rem;
}

.n3rd-mh-hero__copy h1 {
	margin-bottom: 1.1rem;
	color: #fff;
}

.n3rd-mh-hero__lead {
	max-width: 670px;
	margin-bottom: 1.5rem;
	font-size: clamp(1.04rem, 0.96rem + 0.4vw, 1.28rem);
	color: rgb(255 255 255 / 0.82);
}

.n3rd-mh-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	margin-bottom: 2rem;
	font-size: 0.8rem;
	color: rgb(255 255 255 / 0.72);
}

.n3rd-mh-hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.n3rd-mh-hero__meta .n3rd-mh-icon {
	color: var(--n3rd-media);
}

.n3rd-mh-hero .n3rd-mh-button--ghost {
	color: #fff;
	border-color: rgb(255 255 255 / 0.35);
}

.n3rd-mh-hero .n3rd-mh-button--ghost:hover {
	color: var(--n3rd-ink);
	background: #fff;
}

.n3rd-mh-privacy-note {
	max-width: 590px;
	margin: 1.2rem 0 0;
	font-size: 0.76rem;
	color: rgb(255 255 255 / 0.55);
}

.n3rd-mh-hero__visual {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-width: 0;
	padding: 2rem 2.5rem 0;
}

.n3rd-mh-hero__visual img {
	position: relative;
	z-index: 2;
	width: auto;
	max-width: 92%;
	height: clamp(300px, 44cqw, 520px);
	object-fit: contain;
	object-position: bottom;
	filter: drop-shadow(0 28px 30px rgb(0 0 0 / 0.28));
	animation: n3rd-mh-arrive 0.75s ease-out both;
}

.n3rd-mh-signal-rings {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(38vw, 410px);
	aspect-ratio: 1;
	transform: translate(-50%, -48%);
	border: 1px solid rgb(13 167 163 / 0.26);
	border-radius: 50%;
	box-shadow: 0 0 0 35px rgb(13 167 163 / 0.06), 0 0 0 82px rgb(13 167 163 / 0.035);
}

.n3rd-mh-speech {
	position: absolute;
	top: 16%;
	left: -8%;
	z-index: 3;
	padding: 0.9rem 1.1rem;
	color: var(--n3rd-ink);
	background: #fff;
	border-radius: 16px 16px 3px 16px;
	box-shadow: 0 15px 35px rgb(0 0 0 / 0.2);
	font-size: 0.83rem;
	line-height: 1.35;
	transform: rotate(-2deg);
}

.n3rd-mh-speech strong {
	color: var(--n3rd-heart);
}

.n3rd-mh-principles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--n3rd-line);
	border-top: 1px solid rgb(255 255 255 / 0.08);
}

.n3rd-mh-principles > div {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.25rem 0.8rem;
	padding: 1.4rem clamp(1rem, 3vw, 2rem);
	background: #fff;
}

.n3rd-mh-principles span {
	grid-row: 1 / 3;
	color: var(--n3rd-heart);
	font-size: 0.75rem;
	font-weight: 900;
}

.n3rd-mh-principles strong {
	font-size: 0.95rem;
}

.n3rd-mh-principles p {
	margin: 0;
	color: var(--n3rd-muted);
	font-size: 0.8rem;
}

@keyframes n3rd-mh-arrive {
	from { opacity: 0; transform: translateY(28px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.n3rd-mh-map {
	padding: clamp(1.6rem, 4.5vw, 3.8rem);
}

.n3rd-mh-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2rem;
}

.n3rd-mh-section-heading h1 {
	margin-bottom: 0.6rem;
}

.n3rd-mh-section-heading p:not(.n3rd-mh-kicker) {
	max-width: 720px;
	margin-bottom: 0;
	color: var(--n3rd-muted);
}

.n3rd-mh-egg-counter {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	gap: 0 0.4rem;
	min-width: 126px;
	padding: 0.75rem 1rem;
	color: #7c5b00;
	background: #fff8d8;
	border: 1px solid #f1df91;
	border-radius: var(--n3rd-small-radius);
}

.n3rd-mh-egg-counter .n3rd-mh-icon {
	grid-row: 1 / 3;
	color: #c29000;
}

.n3rd-mh-egg-counter strong {
	font-size: 1rem;
}

.n3rd-mh-egg-counter span {
	font-size: 0.66rem;
}

.n3rd-mh-map__path {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.n3rd-mh-map__path::before {
	position: absolute;
	top: 3rem;
	bottom: 3rem;
	left: 50%;
	width: 2px;
	background: linear-gradient(var(--n3rd-media), var(--n3rd-heart), var(--n3rd-green));
	opacity: 0.22;
	content: "";
}

.n3rd-mh-room {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.8rem;
	min-height: 128px;
	padding: 1rem;
	color: var(--n3rd-ink);
	text-align: left;
	background: #fff;
	border: 2px solid transparent;
	border-radius: var(--n3rd-radius);
	box-shadow: 0 8px 24px rgb(13 27 42 / 0.08);
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.n3rd-mh-room:not(:disabled):hover {
	transform: translateY(-3px);
	border-color: var(--room-color);
	box-shadow: 0 14px 32px rgb(13 27 42 / 0.13);
}

.n3rd-mh-room.is-complete {
	background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--room-color) 7%, #fff));
	border-color: color-mix(in srgb, var(--room-color) 38%, #fff);
}

.n3rd-mh-room.is-locked {
	opacity: 0.48;
	filter: grayscale(0.75);
	cursor: not-allowed;
}

.n3rd-mh-room__number {
	align-self: start;
	padding-top: 0.15rem;
	color: var(--room-color);
	font-size: 0.72rem;
	font-weight: 900;
}

.n3rd-mh-room__heart {
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	overflow: hidden;
	background: #f1f5f8;
	border-radius: 22px;
}

.n3rd-mh-room__heart img {
	width: 62px;
	height: 57px;
	object-fit: contain;
}

.n3rd-mh-room__copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.n3rd-mh-room__copy small {
	margin-bottom: 0.2rem;
	color: var(--room-color);
	font-size: 0.67rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.n3rd-mh-room__copy strong {
	font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.14rem);
	line-height: 1.2;
}

.n3rd-mh-room__copy em {
	margin-top: 0.35rem;
	color: var(--n3rd-muted);
	font-size: 0.7rem;
	font-style: normal;
}

.n3rd-mh-room__status {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: #fff;
	background: var(--room-color);
	border-radius: 50%;
}

.n3rd-mh-room__status .n3rd-mh-icon {
	width: 17px;
	height: 17px;
}

.n3rd-mh-finale-card {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 0.1rem 1rem;
	width: min(560px, 100%);
	min-height: 112px;
	margin: 1.5rem auto 0;
	padding: 1.2rem 1.5rem;
	color: #fff;
	text-align: left;
	background: var(--n3rd-ink);
	border: 2px solid transparent;
	border-radius: var(--n3rd-radius);
	overflow: hidden;
}

button.n3rd-mh-finale-card {
	cursor: pointer;
}

.n3rd-mh-finale-card.is-ready:hover {
	border-color: var(--n3rd-heart);
}

.n3rd-mh-finale-card > span:not(.n3rd-mh-finale-card__glow) {
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	color: #fff;
	background: var(--n3rd-heart);
	border-radius: 50%;
}

.n3rd-mh-finale-card .n3rd-mh-icon {
	width: 32px;
	height: 32px;
}

.n3rd-mh-finale-card strong {
	font-size: 1.15rem;
}

.n3rd-mh-finale-card small {
	color: rgb(255 255 255 / 0.66);
}

.n3rd-mh-finale-card__glow {
	position: absolute;
	right: -20px;
	width: 150px;
	height: 150px;
	background: var(--n3rd-heart);
	border-radius: 50%;
	filter: blur(55px);
	opacity: 0.3;
}

.n3rd-mh-map__reset {
	margin-top: 2rem;
	text-align: center;
}

.n3rd-mh-map__reset button,
.n3rd-mh-link-button {
	padding: 0.3rem;
	color: var(--n3rd-muted);
	background: transparent;
	border: 0;
	border-bottom: 1px solid currentColor;
	font-size: 0.76rem;
	cursor: pointer;
}

.n3rd-mh-map__reset button:hover,
.n3rd-mh-link-button:hover {
	color: var(--n3rd-heart);
}

.n3rd-mh-mission {
	display: grid;
	grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
	min-height: 690px;
	background: #fff;
}

.n3rd-mh-scene {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	overflow: hidden;
	padding: 2rem 1.4rem 1.5rem;
	background:
		radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--mission-color) 20%, transparent), transparent 35%),
		linear-gradient(165deg, #0d1b2a, #142d43 75%, #102437);
}

.n3rd-mh-scene::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(90deg, transparent 49%, rgb(255 255 255 / 0.04) 50%, transparent 51%),
		linear-gradient(transparent 49%, rgb(255 255 255 / 0.04) 50%, transparent 51%);
	background-size: 44px 44px;
	content: "";
}

.n3rd-mh-scene__room {
	position: absolute;
	top: 1.4rem;
	left: 1.4rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	color: #fff;
}

.n3rd-mh-scene__room span {
	color: var(--mission-color);
	font-size: 0.66rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.n3rd-mh-scene__room strong {
	font-size: 1.12rem;
}

.n3rd-mh-scene__mascot {
	position: relative;
	z-index: 2;
	width: auto;
	max-width: 78%;
	height: clamp(230px, 30cqw, 430px);
	object-fit: contain;
	filter: drop-shadow(0 24px 24px rgb(0 0 0 / 0.35));
}

.n3rd-mh-scene__heart {
	position: absolute;
	top: 4.5rem;
	right: 1.2rem;
	z-index: 3;
	width: 78px;
	height: 72px;
	object-fit: contain;
	padding: 6px;
	background: #f2f5f8;
	border: 4px solid #fff;
	border-radius: 20px;
	box-shadow: 0 10px 25px rgb(0 0 0 / 0.28);
	transform: rotate(4deg);
}

.n3rd-mh-easter {
	position: absolute;
	top: 45%;
	left: 1.2rem;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--n3rd-yellow);
	background: rgb(13 27 42 / 0.58);
	border: 1px solid rgb(244 197 66 / 0.46);
	border-radius: 50%;
	box-shadow: 0 0 0 7px rgb(244 197 66 / 0.06);
	cursor: pointer;
	animation: n3rd-mh-pulse 2.4s ease-in-out infinite;
}

.n3rd-mh-easter.is-found {
	color: #fff;
	background: var(--n3rd-green);
	border-color: #fff;
	animation: none;
}

@keyframes n3rd-mh-pulse {
	50% { box-shadow: 0 0 0 12px rgb(244 197 66 / 0.02); }
}

.n3rd-mh-scene__hint {
	position: relative;
	z-index: 2;
	margin: 0.8rem 0 0;
	color: rgb(255 255 255 / 0.54);
	font-size: 0.68rem;
	text-align: center;
}

.n3rd-mh-egg-reveal {
	position: relative;
	z-index: 3;
	width: 100%;
	margin-top: 0.7rem;
	padding: 0.8rem;
	color: #fff;
	background: rgb(255 255 255 / 0.1);
	border: 1px solid rgb(255 255 255 / 0.14);
	border-radius: var(--n3rd-small-radius);
	text-align: center;
}

.n3rd-mh-egg-reveal strong,
.n3rd-mh-egg-reveal span {
	display: block;
}

.n3rd-mh-egg-reveal strong {
	margin-bottom: 0.25rem;
	color: var(--n3rd-yellow);
	font-size: 0.75rem;
}

.n3rd-mh-egg-reveal span {
	font-size: 0.68rem;
	color: rgb(255 255 255 / 0.72);
}

.n3rd-mh-mission__content {
	min-width: 0;
	padding: clamp(1.5rem, 4.4vw, 3.5rem);
}

.n3rd-mh-mission__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
}

.n3rd-mh-mission__heading h1 {
	margin-bottom: 0.8rem;
	font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem);
}

.n3rd-mh-mission .n3rd-mh-kicker {
	color: var(--mission-color);
}

.n3rd-mh-task-dots {
	display: flex;
	gap: 0.35rem;
	padding-top: 0.3rem;
}

.n3rd-mh-task-dots span {
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
	color: var(--n3rd-muted);
	background: var(--n3rd-ground);
	border: 1px solid var(--n3rd-line);
	border-radius: 50%;
	font-size: 0.72rem;
	font-weight: 900;
}

.n3rd-mh-task-dots span.is-current {
	color: #fff;
	background: var(--mission-color);
	border-color: var(--mission-color);
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--mission-color) 14%, transparent);
}

.n3rd-mh-task-dots span.is-done {
	color: var(--mission-color);
	background: color-mix(in srgb, var(--mission-color) 10%, #fff);
	border-color: color-mix(in srgb, var(--mission-color) 35%, #fff);
}

.n3rd-mh-scenario {
	margin: 0 0 1.4rem;
	padding: 1rem 1.1rem;
	color: #33475b;
	background: color-mix(in srgb, var(--mission-color) 7%, #fff);
	border-left: 4px solid var(--mission-color);
	border-radius: 0 var(--n3rd-small-radius) var(--n3rd-small-radius) 0;
}

.n3rd-mh-task {
	padding: clamp(1.2rem, 3vw, 2rem);
	background: var(--n3rd-ground);
	border: 1px solid var(--n3rd-line);
	border-radius: var(--n3rd-radius);
}

.n3rd-mh-task__label {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.75rem;
	color: var(--mission-color);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.n3rd-mh-task__label span {
	padding: 0.25rem 0.55rem;
	color: #fff;
	background: var(--mission-color);
	border-radius: 999px;
}

.n3rd-mh-task h2 {
	margin-bottom: 0.45rem;
}

.n3rd-mh-task__instruction {
	margin-bottom: 1.2rem;
	color: var(--n3rd-muted);
	font-size: 0.85rem;
}

.n3rd-mh-options {
	display: grid;
	gap: 0.65rem;
}

.n3rd-mh-option {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 0.8rem;
	min-height: 58px;
	padding: 0.7rem 0.85rem;
	color: var(--n3rd-ink);
	background: #fff;
	border: 2px solid transparent;
	border-radius: var(--n3rd-small-radius);
	box-shadow: 0 3px 12px rgb(13 27 42 / 0.06);
	cursor: pointer;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.n3rd-mh-option:hover {
	transform: translateX(3px);
	border-color: color-mix(in srgb, var(--mission-color) 40%, #fff);
}

.n3rd-mh-option.is-selected {
	background: color-mix(in srgb, var(--mission-color) 8%, #fff);
	border-color: var(--mission-color);
	box-shadow: 0 5px 18px color-mix(in srgb, var(--mission-color) 15%, transparent);
}

.n3rd-mh-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.n3rd-mh-option__marker {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	color: #fff;
	background: #fff;
	border: 2px solid #aab5bf;
	border-radius: 7px;
}

.n3rd-mh-option input[type="radio"] + .n3rd-mh-option__marker {
	border-radius: 50%;
}

.n3rd-mh-option.is-selected .n3rd-mh-option__marker {
	background: var(--mission-color);
	border-color: var(--mission-color);
}

.n3rd-mh-option__marker .n3rd-mh-icon {
	width: 17px;
	height: 17px;
}

.n3rd-mh-option:has(input:focus-visible) {
	outline: 4px solid var(--n3rd-yellow);
	outline-offset: 2px;
}

.n3rd-mh-task__check,
.n3rd-mh-task__next {
	display: flex;
	justify-content: flex-end;
	margin-top: 1.1rem;
}

.n3rd-mh-feedback {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.8rem;
	margin-top: 1rem;
	padding: 0.9rem 1rem;
	border: 1px solid;
	border-radius: var(--n3rd-small-radius);
}

.n3rd-mh-feedback > span {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.n3rd-mh-feedback strong,
.n3rd-mh-feedback p {
	display: block;
}

.n3rd-mh-feedback p {
	margin: 0.2rem 0 0;
	font-size: 0.85rem;
}

.n3rd-mh-feedback.is-correct {
	color: #225c18;
	background: #eff9ec;
	border-color: #9bd18c;
}

.n3rd-mh-feedback.is-correct > span {
	color: #fff;
	background: var(--n3rd-green);
}

.n3rd-mh-feedback.is-hint {
	color: #6b5100;
	background: #fff8dc;
	border-color: #ebd27c;
}

.n3rd-mh-feedback.is-hint > span {
	color: #6b5100;
	background: var(--n3rd-yellow);
}

.n3rd-mh-sequence {
	display: grid;
	gap: 0.8rem;
}

.n3rd-mh-sequence__chosen {
	display: grid;
	gap: 0.45rem;
	min-height: 76px;
	padding: 0.65rem;
	background: rgb(255 255 255 / 0.7);
	border: 2px dashed color-mix(in srgb, var(--mission-color) 35%, #b7c1ca);
	border-radius: var(--n3rd-small-radius);
}

.n3rd-mh-sequence__chosen > p {
	align-self: center;
	margin: 0;
	color: var(--n3rd-muted);
	font-size: 0.8rem;
	text-align: center;
}

.n3rd-mh-sequence__chosen button,
.n3rd-mh-sequence__available button {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.7rem;
	width: 100%;
	min-height: 49px;
	padding: 0.55rem 0.75rem;
	color: var(--n3rd-ink);
	text-align: left;
	background: #fff;
	border: 1px solid var(--n3rd-line);
	border-radius: 9px;
	cursor: pointer;
}

.n3rd-mh-sequence__chosen button {
	border-color: color-mix(in srgb, var(--mission-color) 45%, #fff);
}

.n3rd-mh-sequence__chosen button strong {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	color: #fff;
	background: var(--mission-color);
	border-radius: 50%;
	font-size: 0.72rem;
}

.n3rd-mh-sequence__chosen button em {
	color: var(--n3rd-muted);
	font-size: 1.25rem;
	font-style: normal;
}

.n3rd-mh-sequence__available {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}

.n3rd-mh-sequence__available button {
	grid-template-columns: auto 1fr;
}

.n3rd-mh-sequence__available button:hover,
.n3rd-mh-sequence__chosen button:hover {
	border-color: var(--mission-color);
}

.n3rd-mh-sequence__available .n3rd-mh-icon {
	color: var(--mission-color);
}

.n3rd-mh-scene--finale {
	justify-content: flex-end;
}

.n3rd-mh-scene--finale > .n3rd-mh-kicker {
	position: absolute;
	top: 1.5rem;
	left: 1.5rem;
	z-index: 2;
}

.n3rd-mh-final-hearts {
	position: absolute;
	top: 4rem;
	left: 50%;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
	width: 90%;
	transform: translateX(-50%);
}

.n3rd-mh-final-hearts img {
	width: 48px;
	height: 44px;
	object-fit: contain;
	padding: 4px;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 13px;
	box-shadow: 0 6px 15px rgb(0 0 0 / 0.24);
}

.n3rd-mh-reward {
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	min-height: 690px;
	overflow: hidden;
	padding: 3rem clamp(1.4rem, 7vw, 6rem);
	text-align: center;
	background:
		radial-gradient(circle at 50% 37%, color-mix(in srgb, var(--mission-color) 20%, transparent), transparent 26%),
		linear-gradient(#fff, #f4f6f8);
}

.n3rd-mh-reward h1 {
	margin-bottom: 1rem;
}

.n3rd-mh-reward__heart {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 230px;
	height: 210px;
	margin-bottom: 0.7rem;
	background: #f1f5f8;
	border: 8px solid #fff;
	border-radius: 46px;
	box-shadow: 0 22px 50px color-mix(in srgb, var(--mission-color) 25%, transparent);
	animation: n3rd-mh-heart-in 0.65s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.n3rd-mh-reward__heart img {
	width: 168px;
	height: 154px;
	object-fit: contain;
}

@keyframes n3rd-mh-heart-in {
	from { opacity: 0; transform: scale(0.62) rotate(-8deg); }
	to { opacity: 1; transform: scale(1) rotate(0); }
}

.n3rd-mh-reward blockquote {
	margin: 0 0 1.2rem;
	color: var(--mission-color);
	font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
	font-weight: 900;
}

.n3rd-mh-takeaway {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.8rem;
	max-width: 660px;
	margin-bottom: 1.5rem;
	padding: 1rem;
	text-align: left;
	background: #fff;
	border: 1px solid var(--n3rd-line);
	border-radius: var(--n3rd-small-radius);
	box-shadow: 0 8px 24px rgb(13 27 42 / 0.08);
}

.n3rd-mh-takeaway > span {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: #fff;
	background: var(--mission-color);
	border-radius: 12px;
}

.n3rd-mh-takeaway p {
	margin: 0.2rem 0 0;
	color: var(--n3rd-muted);
	font-size: 0.86rem;
}

.n3rd-mh-finish {
	min-height: 700px;
	padding: clamp(1.2rem, 4vw, 3rem);
	background:
		radial-gradient(circle at 50% 10%, rgb(230 57 70 / 0.12), transparent 25%),
		var(--n3rd-ground);
}

.n3rd-mh-certificate {
	position: relative;
	max-width: 900px;
	min-height: 590px;
	margin: 0 auto;
	overflow: hidden;
	padding: clamp(2rem, 6vw, 4.5rem);
	padding-right: clamp(8rem, 24vw, 15rem);
	background: #fff;
	border: 8px solid var(--n3rd-ink);
	border-radius: 8px;
	box-shadow: 0 18px 45px rgb(13 27 42 / 0.13);
}

.n3rd-mh-certificate::before,
.n3rd-mh-certificate::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.n3rd-mh-certificate::before {
	inset: 12px;
	border: 2px solid var(--n3rd-heart);
}

.n3rd-mh-certificate::after {
	right: -120px;
	bottom: -180px;
	width: 420px;
	height: 420px;
	background: var(--n3rd-ink);
	border-radius: 50%;
}

.n3rd-mh-certificate__brand {
	margin-bottom: 2.6rem;
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.11em;
}

.n3rd-mh-certificate h1 {
	max-width: 600px;
	margin-bottom: 1rem;
	color: var(--n3rd-ink);
}

.n3rd-mh-certificate > p:not(.n3rd-mh-kicker) {
	max-width: 620px;
	color: var(--n3rd-muted);
}

.n3rd-mh-certificate__hearts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 1.5rem 0;
}

.n3rd-mh-certificate__hearts img {
	width: 54px;
	height: 50px;
	object-fit: contain;
	padding: 4px;
	background: #f1f5f8;
	border-radius: 14px;
}

.n3rd-mh-certificate__motto {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.n3rd-mh-certificate__motto strong {
	padding: 0.4rem 0.65rem;
	color: #fff;
	background: var(--n3rd-ink);
	border-radius: 999px;
	font-size: 0.72rem;
}

.n3rd-mh-certificate__motto strong:last-child {
	background: var(--n3rd-heart);
}

.n3rd-mh-certificate__date {
	font-size: 0.72rem;
	color: var(--n3rd-muted);
}

.n3rd-mh-certificate__mascot {
	position: absolute;
	right: clamp(1.1rem, 4vw, 3.5rem);
	bottom: 0;
	z-index: 2;
	width: auto;
	max-width: 34%;
	height: clamp(200px, 26cqw, 360px);
	object-fit: contain;
	object-position: bottom;
	filter: drop-shadow(0 18px 18px rgb(0 0 0 / 0.25));
}

.n3rd-mh-finish__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem;
	margin-top: 1.5rem;
}

.n3rd-mh-finish__actions .n3rd-mh-link-button {
	flex-basis: 100%;
	justify-self: center;
}

.n3rd-mh-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	min-height: 360px;
	padding: 2rem;
	color: #fff;
	background: var(--n3rd-ink);
	border-radius: var(--n3rd-large-radius);
}

.n3rd-mh-loading__mascot {
	width: auto;
	max-width: 40%;
	height: 190px;
	object-fit: contain;
}

.n3rd-mh-noscript {
	padding: 1rem;
	color: #6b5100;
	background: #fff8dc;
	border: 1px solid #ebd27c;
}

.n3rd-mh-editor-preview {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 150px;
	padding: 2rem;
	color: #fff;
	background: #0d1b2a;
	border-radius: 18px;
}

.n3rd-mh-editor-preview__badge {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	color: #fff;
	background: #e63946;
	border-radius: 20px;
	font-size: 1.2rem;
	font-weight: 900;
}

.n3rd-mh-editor-preview__copy strong {
	display: block;
	font-size: 1.2rem;
}

.n3rd-mh-editor-preview__copy p {
	margin: 0.3rem 0 0;
	color: rgb(255 255 255 / 0.68);
}

/*
 * Wichtig: :fullscreen und :-webkit-full-screen duerfen NICHT in einer
 * gemeinsamen Selektorliste stehen. Ein Browser, der einen der Selektoren nicht
 * kennt, verwirft die gesamte Regel. Firefox kennt :-webkit-full-screen nicht;
 * in einer gemeinsamen Liste waere dort auch overflow: auto verloren gegangen
 * und das Vollbild liesse sich nicht scrollen. Deshalb je eine eigene Regel.
 */
.n3rd-mh-shell:fullscreen {
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
	background: var(--n3rd-ink);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.n3rd-mh-shell:-webkit-full-screen {
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
	background: var(--n3rd-ink);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.n3rd-mh-shell:fullscreen .n3rd-mh-app {
	min-height: 100%;
	border: 0;
	border-radius: 0;
}

.n3rd-mh-shell:-webkit-full-screen .n3rd-mh-app {
	min-height: 100%;
	border: 0;
	border-radius: 0;
}

@container (max-width: 880px) {
	.n3rd-mh-topbar {
		grid-template-columns: 1fr auto;
	}

	.n3rd-mh-progress {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.n3rd-mh-hero {
		grid-template-columns: 1fr minmax(250px, 0.65fr);
	}

	.n3rd-mh-hero__copy {
		padding: 3rem 1rem 3rem 2.2rem;
	}

	.n3rd-mh-speech {
		left: -18%;
	}

	.n3rd-mh-mission {
		grid-template-columns: 230px minmax(0, 1fr);
	}

	.n3rd-mh-scene__heart {
		width: 62px;
		height: 58px;
	}
}

@container (max-width: 700px) {
	.n3rd-mh-brand__title,
	.n3rd-mh-icon-button span {
		display: none;
	}

	.n3rd-mh-topbar {
		gap: 0.7rem;
	}

	.n3rd-mh-hero {
		grid-template-columns: 1fr;
	}

	.n3rd-mh-hero__copy {
		padding: 2.6rem 1.25rem 1rem;
	}

	.n3rd-mh-hero__visual {
		min-height: 370px;
	}

	.n3rd-mh-hero__visual img {
		height: 330px;
	}

	.n3rd-mh-speech {
		top: 5%;
		left: 8%;
	}

	.n3rd-mh-principles {
		grid-template-columns: 1fr;
	}

	.n3rd-mh-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.n3rd-mh-map__path {
		grid-template-columns: 1fr;
	}

	.n3rd-mh-map__path::before {
		left: 2.2rem;
	}

	.n3rd-mh-mission {
		grid-template-columns: 1fr;
	}

	.n3rd-mh-scene {
		min-height: 340px;
		justify-content: flex-end;
	}

	.n3rd-mh-scene__mascot {
		height: 250px;
		max-width: 60%;
	}

	.n3rd-mh-scene__heart {
		top: 4.3rem;
	}

	.n3rd-mh-easter {
		top: auto;
		bottom: 1rem;
	}

	.n3rd-mh-egg-reveal {
		position: absolute;
		right: 1rem;
		bottom: 1rem;
		width: calc(100% - 6rem);
	}

	.n3rd-mh-scene__hint {
		position: absolute;
		right: 1rem;
		bottom: 1.2rem;
		max-width: calc(100% - 6rem);
		text-align: right;
	}

	.n3rd-mh-sequence__available {
		grid-template-columns: 1fr;
	}

	.n3rd-mh-final-hearts {
		left: auto;
		right: 1rem;
		width: 52%;
		transform: none;
	}

	.n3rd-mh-certificate {
		padding-right: 2rem;
		padding-bottom: 230px;
	}

	.n3rd-mh-certificate__mascot {
		right: 50%;
		height: 210px;
		max-width: 60%;
		transform: translateX(50%);
	}

	.n3rd-mh-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

@container (max-width: 480px) {
	.n3rd-mh-app {
		border-radius: 18px;
	}

	.n3rd-mh-topbar {
		padding: 0.85rem;
	}

	.n3rd-mh-brand__n {
		font-size: 1.2rem;
	}

	.n3rd-mh-hero__meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.n3rd-mh-map,
	.n3rd-mh-mission__content {
		padding: 1rem;
	}

	.n3rd-mh-room {
		grid-template-columns: auto 64px minmax(0, 1fr);
		gap: 0.55rem;
		padding: 0.75rem;
	}

	.n3rd-mh-room__heart {
		width: 62px;
		height: 62px;
	}

	.n3rd-mh-room__heart img {
		width: 50px;
		height: 46px;
	}

	.n3rd-mh-room__status {
		display: none;
	}

	.n3rd-mh-mission__heading {
		flex-direction: column;
		gap: 0.5rem;
	}

	.n3rd-mh-task-dots {
		margin-bottom: 0.6rem;
	}

	.n3rd-mh-task {
		padding: 1rem;
	}

	.n3rd-mh-option {
		padding: 0.65rem;
	}

	.n3rd-mh-task__check .n3rd-mh-button,
	.n3rd-mh-task__next .n3rd-mh-button,
	.n3rd-mh-reward > .n3rd-mh-button {
		width: 100%;
	}

	.n3rd-mh-certificate {
		padding: 1.5rem 1.2rem 215px;
		border-width: 5px;
	}

	.n3rd-mh-certificate::before {
		inset: 7px;
	}

	.n3rd-mh-certificate__hearts img {
		width: 44px;
		height: 41px;
	}
}

/* Der Container kann sich nicht selbst abfragen. Schriftgroesse deshalb
 * ueber eine Media Query, bezogen auf das Fenster. */
@media (max-width: 520px) {
	.n3rd-mh-shell {
		font-size: 16px;
	}
}

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

@media (prefers-contrast: more) {
	.n3rd-mh-room,
	.n3rd-mh-task,
	.n3rd-mh-option,
	.n3rd-mh-takeaway {
		border-color: currentColor;
	}

	.n3rd-mh-option__marker {
		border-color: var(--n3rd-ink);
	}
}



/* -------------------------------------------------------------------------
 * Ausweichregeln fuer Browser ohne Container Queries (vor Chrome 105 /
 * Safari 16). Die Bruchpunkte gelten dort bezogen auf das Fenster.
 * ---------------------------------------------------------------------- */
@supports not (container-type: inline-size) {
	@media (max-width: 880px) {
		.n3rd-mh-topbar {
			grid-template-columns: 1fr auto;
		}
	
		.n3rd-mh-progress {
			grid-column: 1 / -1;
			grid-row: 2;
		}
	
		.n3rd-mh-hero {
			grid-template-columns: 1fr minmax(250px, 0.65fr);
		}
	
		.n3rd-mh-hero__copy {
			padding: 3rem 1rem 3rem 2.2rem;
		}
	
		.n3rd-mh-speech {
			left: -18%;
		}
	
		.n3rd-mh-mission {
			grid-template-columns: 230px minmax(0, 1fr);
		}
	
		.n3rd-mh-scene__heart {
			width: 62px;
			height: 58px;
		}
		}

	@media (max-width: 700px) {
		.n3rd-mh-brand__title,
		.n3rd-mh-icon-button span {
			display: none;
		}
	
		.n3rd-mh-topbar {
			gap: 0.7rem;
		}
	
		.n3rd-mh-hero {
			grid-template-columns: 1fr;
		}
	
		.n3rd-mh-hero__copy {
			padding: 2.6rem 1.25rem 1rem;
		}
	
		.n3rd-mh-hero__visual {
			min-height: 370px;
		}
	
		.n3rd-mh-hero__visual img {
			height: 330px;
		}
	
		.n3rd-mh-speech {
			top: 5%;
			left: 8%;
		}
	
		.n3rd-mh-principles {
			grid-template-columns: 1fr;
		}
	
		.n3rd-mh-section-heading {
			align-items: flex-start;
			flex-direction: column;
		}
	
		.n3rd-mh-map__path {
			grid-template-columns: 1fr;
		}
	
		.n3rd-mh-map__path::before {
			left: 2.2rem;
		}
	
		.n3rd-mh-mission {
			grid-template-columns: 1fr;
		}
	
		.n3rd-mh-scene {
			min-height: 340px;
			justify-content: flex-end;
		}
	
		.n3rd-mh-scene__mascot {
			height: 250px;
			max-width: 60%;
		}
	
		.n3rd-mh-scene__heart {
			top: 4.3rem;
		}
	
		.n3rd-mh-easter {
			top: auto;
			bottom: 1rem;
		}
	
		.n3rd-mh-egg-reveal {
			position: absolute;
			right: 1rem;
			bottom: 1rem;
			width: calc(100% - 6rem);
		}
	
		.n3rd-mh-scene__hint {
			position: absolute;
			right: 1rem;
			bottom: 1.2rem;
			max-width: calc(100% - 6rem);
			text-align: right;
		}
	
		.n3rd-mh-sequence__available {
			grid-template-columns: 1fr;
		}
	
		.n3rd-mh-final-hearts {
			left: auto;
			right: 1rem;
			width: 52%;
			transform: none;
		}
	
		.n3rd-mh-certificate {
			padding-right: 2rem;
			padding-bottom: 230px;
		}
	
		.n3rd-mh-certificate__mascot {
			right: 50%;
			height: 210px;
			max-width: 60%;
			transform: translateX(50%);
		}
	
		.n3rd-mh-footer {
			align-items: flex-start;
			flex-direction: column;
		}
		}

	@media (max-width: 480px) {
		.n3rd-mh-shell {
			font-size: 16px;
		}
	
		.n3rd-mh-app {
			border-radius: 18px;
		}
	
		.n3rd-mh-topbar {
			padding: 0.85rem;
		}
	
		.n3rd-mh-brand__n {
			font-size: 1.2rem;
		}
	
		.n3rd-mh-hero__meta {
			align-items: flex-start;
			flex-direction: column;
		}
	
		.n3rd-mh-map,
		.n3rd-mh-mission__content {
			padding: 1rem;
		}
	
		.n3rd-mh-room {
			grid-template-columns: auto 64px minmax(0, 1fr);
			gap: 0.55rem;
			padding: 0.75rem;
		}
	
		.n3rd-mh-room__heart {
			width: 62px;
			height: 62px;
		}
	
		.n3rd-mh-room__heart img {
			width: 50px;
			height: 46px;
		}
	
		.n3rd-mh-room__status {
			display: none;
		}
	
		.n3rd-mh-mission__heading {
			flex-direction: column;
			gap: 0.5rem;
		}
	
		.n3rd-mh-task-dots {
			margin-bottom: 0.6rem;
		}
	
		.n3rd-mh-task {
			padding: 1rem;
		}
	
		.n3rd-mh-option {
			padding: 0.65rem;
		}
	
		.n3rd-mh-task__check .n3rd-mh-button,
		.n3rd-mh-task__next .n3rd-mh-button,
		.n3rd-mh-reward > .n3rd-mh-button {
			width: 100%;
		}
	
		.n3rd-mh-certificate {
			padding: 1.5rem 1.2rem 215px;
			border-width: 5px;
		}
	
		.n3rd-mh-certificate::before {
			inset: 7px;
		}
	
		.n3rd-mh-certificate__hearts img {
			width: 44px;
			height: 41px;
		}
		}

}


/* -------------------------------------------------------------------------
 * Spitzname, Werkzeugkiste und Urkundenzusaetze (ab Version 1.1.0)
 * ---------------------------------------------------------------------- */

.n3rd-mh-nickname {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0 0 1.2rem;
	max-width: 26rem;
}

.n3rd-mh-nickname label {
	font-size: 0.82rem;
	font-weight: 700;
}

.n3rd-mh-nickname label small {
	font-weight: 400;
	color: var(--n3rd-muted);
}

.n3rd-mh-nickname input {
	padding: 0.7rem 0.9rem;
	color: var(--n3rd-ink);
	background: var(--n3rd-paper);
	border: 2px solid var(--n3rd-line);
	border-radius: var(--n3rd-small-radius);
}

.n3rd-mh-nickname input:focus-visible {
	border-color: var(--n3rd-media);
	outline: 4px solid var(--n3rd-yellow);
	outline-offset: 2px;
}

.n3rd-mh-nickname--finish {
	margin: 1.4rem auto;
}

.n3rd-mh-nickname__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.n3rd-mh-nickname__row input {
	flex: 1 1 12rem;
}

.n3rd-mh-hero__copy .n3rd-mh-nickname label {
	color: #fff;
}

.n3rd-mh-hero__copy .n3rd-mh-nickname label small {
	color: rgb(255 255 255 / 0.75);
}

.n3rd-mh-certificate__name {
	margin: 0 0 0.9rem;
	font-size: clamp(1.3rem, 3.4cqw, 2rem);
	font-weight: 900;
	color: var(--n3rd-heart);
	letter-spacing: 0.01em;
	word-break: break-word;
}

.n3rd-mh-certificate__name.is-empty {
	color: var(--n3rd-muted);
	font-weight: 600;
	font-style: italic;
}

.n3rd-mh-certificate__org {
	margin-top: 0.2rem;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--n3rd-ink);
}

.n3rd-mh-toolbox {
	margin: 1.6rem 0 0;
	padding: 1.6rem;
	background: var(--n3rd-paper);
	border: 1px solid var(--n3rd-line);
	border-radius: var(--n3rd-radius);
	text-align: left;
}

.n3rd-mh-toolbox h2 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.3rem;
	font-size: 1.1rem;
}

.n3rd-mh-toolbox > p {
	margin-bottom: 1rem;
	color: var(--n3rd-muted);
	font-size: 0.86rem;
}

.n3rd-mh-toolbox ol {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding-left: 1.2rem;
}

.n3rd-mh-toolbox li strong {
	display: block;
	color: var(--n3rd-media);
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.n3rd-mh-toolbox li span {
	font-size: 0.92rem;
}



/* -------------------------------------------------------------------------
 * Nachgetragene Regeln: diese Klassen wurden in der Ausgabe verwendet,
 * hatten aber keine Formatierung.
 * ---------------------------------------------------------------------- */

.n3rd-mh-reward__burst {
	position: absolute;
	top: 18%;
	left: 50%;
	z-index: 0;
	width: min(520px, 90%);
	aspect-ratio: 1;
	pointer-events: none;
	background:
		radial-gradient(circle, color-mix(in srgb, var(--mission-color) 32%, transparent) 0%, transparent 62%);
	border-radius: 50%;
	transform: translate(-50%, -20%);
	animation: n3rd-mh-burst 0.9s ease-out both;
}

@keyframes n3rd-mh-burst {
	from { opacity: 0; transform: translate(-50%, -20%) scale(0.5); }
	to { opacity: 1; transform: translate(-50%, -20%) scale(1); }
}

.n3rd-mh-mission--finale .n3rd-mh-scene {
	background: linear-gradient(160deg, var(--n3rd-ink) 0%, #2a0d16 100%);
}

.n3rd-mh-mission--finale .n3rd-mh-task__label span {
	background: var(--n3rd-heart);
}

/* -------------------------------------------------------------------------
 * Ausbruch aus einer schmalen Inhaltsspalte
 *
 * Viele Themes begrenzen den Inhaltsbereich auf etwa 600 bis 700 Pixel. Das
 * Spiel wuerde dort dauerhaft im schmalen Layout laufen, auch auf einem grossen
 * Bildschirm. Die Regel zieht die Huelle wieder auf die Fensterbreite.
 *
 * Voraussetzung: der Inhaltsbereich ist im Fenster mittig ausgerichtet. Das
 * trifft auf uebliche Themes zu. Falls nicht, laesst sich der Ausbruch unter
 * Einstellungen > Mission Herznetz abschalten.
 * ---------------------------------------------------------------------- */

/*
 * Wichtig: Diese Klasse allein verschiebt nichts. Sie erlaubt lediglich, dass
 * das Skript die Huelle spaeter verbreitert. Solange das Skript nicht bestaetigt
 * hat, dass die Verschiebung sauber sitzt, bleibt das Spiel in der
 * Inhaltsspalte stehen und ist vollstaendig lesbar.
 *
 * Die frueheren Fassungen haben hier mit negativen Aussenabstaenden gearbeitet.
 * Das setzt voraus, dass der Inhaltsbereich mittig im Fenster liegt. Trifft das
 * nicht zu, wird die Huelle links aus dem Bild geschoben und Kopfzeile sowie
 * Textanfaenge sind abgeschnitten. Genau das soll nicht mehr passieren koennen.
 */
.n3rd-mh-shell.is-breakout {
	max-width: none;
}

.n3rd-mh-shell.is-breakout-aktiv {
	border-radius: 0;
}

.n3rd-mh-shell.is-breakout-aktiv .n3rd-mh-app {
	border-right: 0;
	border-left: 0;
	border-radius: 0;
}

/* -------------------------------------------------------------------------
 * Vollbild
 *
 * Zwei Wege: das echte Vollbild des Browsers und ein Ersatzvollbild fuer
 * Geraete ohne diese Schnittstelle, insbesondere Safari auf dem iPhone.
 * ---------------------------------------------------------------------- */

.n3rd-mh-shell.is-pseudo-fullscreen {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
	overflow: auto;
	overscroll-behavior: contain;
	background: var(--n3rd-ink);
	-webkit-overflow-scrolling: touch;
}

.n3rd-mh-shell.is-pseudo-fullscreen .n3rd-mh-app {
	min-height: 100%;
	border: 0;
	border-radius: 0;
}

/* Die Kopfzeile bleibt im Vollbild erreichbar, damit "Beenden" und "Karte"
 * nicht weggescrollt werden. Auch hier je eine eigene Regel. */
.n3rd-mh-shell.is-pseudo-fullscreen .n3rd-mh-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
}

.n3rd-mh-shell:fullscreen .n3rd-mh-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
}

.n3rd-mh-shell:-webkit-full-screen .n3rd-mh-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
}

/* Seite hinter dem Ersatzvollbild festhalten. */
html.n3rd-mh-locked {
	overflow: hidden;
}

body.n3rd-mh-locked {
	position: fixed;
	width: 100%;
	overflow: hidden;
}

.n3rd-mh-placeholder {
	display: none;
}


/* -------------------------------------------------------------------------
 * Zurueck-Schaltflaeche und Beweisstuecke (ab Version 1.2.0)
 * ---------------------------------------------------------------------- */

.n3rd-mh-icon-button--back {
	color: var(--n3rd-ink);
	background: #fff;
	border-color: #fff;
}

.n3rd-mh-icon-button--back:hover,
.n3rd-mh-icon-button--back:focus-visible {
	color: var(--n3rd-ink);
	background: var(--n3rd-yellow);
	border-color: var(--n3rd-yellow);
}

.n3rd-mh-evidence {
	margin: 0 0 1.4rem;
}

.n3rd-mh-evidence img {
	width: 100%;
	height: auto;
	max-width: 640px;
	border: 1px solid var(--n3rd-line);
	border-radius: var(--n3rd-radius);
	box-shadow: 0 12px 30px rgb(13 27 42 / 0.1);
}

.n3rd-mh-evidence figcaption {
	max-width: 640px;
	margin-top: 0.6rem;
}

.n3rd-mh-evidence__details summary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.4rem 0.2rem;
	color: var(--n3rd-media);
	font-size: 0.86rem;
	font-weight: 700;
	cursor: pointer;
}

.n3rd-mh-evidence__details summary:focus-visible {
	outline: 4px solid var(--n3rd-yellow);
	outline-offset: 3px;
}

.n3rd-mh-evidence__details ul {
	margin: 0.2rem 0 0;
	padding-left: 1.2rem;
	color: var(--n3rd-muted);
	font-size: 0.9rem;
}

.n3rd-mh-evidence__details li {
	margin-bottom: 0.35rem;
}



.n3rd-mh-footer__version {
	color: rgb(255 255 255 / 0.35);
	font-size: 0.7rem;
	font-variant-numeric: tabular-nums;
}


/* -------------------------------------------------------------------------
 * Urkunde zum Drucken (ab Version 1.3.0)
 *
 * Frueher wurde der Bildschirmentwurf gedruckt. Das ergab zwei Blatt, weil
 * "visibility: hidden" den Platzbedarf der Seite nicht entfernt, und es sah
 * nach Bildschirm aus, nicht nach Urkunde.
 *
 * Jetzt wird eine eigene Druckfassung im Format A4 aufgebaut und alles andere
 * mit "display: none" wirklich entfernt. Dadurch bleibt genau ein Blatt uebrig.
 * ---------------------------------------------------------------------- */

.n3rd-mh-druckbuehne {
	display: none;
}

@media print {
	@page {
		size: A4 portrait;
		margin: 0;
	}

	html.n3rd-mh-druckt,
	html.n3rd-mh-druckt body {
		width: 210mm;
		height: 297mm;
		margin: 0;
		padding: 0;
		background: #fff;
	}

	html.n3rd-mh-druckt body > *:not(.n3rd-mh-druckbuehne) {
		display: none !important;
	}

	html.n3rd-mh-druckt .n3rd-mh-druckbuehne {
		display: block !important;
	}

	.n3rd-mh-urkunde {
		position: relative;
		box-sizing: border-box;
		overflow: hidden;
		width: 210mm;
		height: 297mm;
		padding: 16mm 18mm 14mm;
		color: #0d1b2a;
		background: #fff;
		font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
		page-break-after: avoid;
		page-break-inside: avoid;
		print-color-adjust: exact;
		-webkit-print-color-adjust: exact;
	}

	/* Doppelter Zierrahmen, innerhalb des druckbaren Bereichs jedes Druckers. */
	.n3rd-mh-urkunde__rahmen {
		position: absolute;
		inset: 9mm;
		border: 1.6mm solid #0d1b2a;
		pointer-events: none;
	}

	.n3rd-mh-urkunde__rahmen::after {
		position: absolute;
		content: "";
		inset: 1.6mm;
		border: 0.4mm solid #e63946;
	}

	.n3rd-mh-urkunde__inhalt {
		position: relative;
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
		height: 100%;
		padding: 4mm 6mm 0;
		text-align: center;
	}

	.n3rd-mh-urkunde__marke {
		margin-bottom: 10mm;
		color: #0d1b2a;
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 10pt;
		font-weight: 700;
		letter-spacing: 0.28em;
	}

	.n3rd-mh-urkunde__marke span {
		color: #e63946;
	}

	.n3rd-mh-urkunde__kicker {
		margin: 0 0 3mm;
		color: #e63946;
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 8.5pt;
		font-weight: 700;
		letter-spacing: 0.22em;
		text-transform: uppercase;
	}

	.n3rd-mh-urkunde__wort {
		margin: 0 0 1mm;
		font-size: 42pt;
		font-weight: 400;
		line-height: 1;
		letter-spacing: 0.14em;
	}

	.n3rd-mh-urkunde__linie {
		width: 34mm;
		height: 0.8mm;
		margin: 3mm 0 6mm;
		background: #e63946;
	}

	.n3rd-mh-urkunde__rolle {
		margin: 0 0 8mm;
		font-size: 17pt;
		font-style: italic;
	}

	.n3rd-mh-urkunde__fuer {
		margin: 0 0 2mm;
		font-size: 10pt;
		font-style: italic;
		color: #5f6c79;
	}

	.n3rd-mh-urkunde__name {
		max-width: 150mm;
		margin: 0 0 2mm;
		padding-bottom: 2.5mm;
		border-bottom: 0.3mm solid #0d1b2a;
		font-size: 26pt;
		font-weight: 700;
		line-height: 1.15;
		word-break: break-word;
	}

	.n3rd-mh-urkunde__text {
		max-width: 140mm;
		margin: 7mm 0 8mm;
		font-size: 11pt;
		line-height: 1.6;
	}

	.n3rd-mh-urkunde__herzen {
		display: flex;
		justify-content: center;
		gap: 4mm;
		margin-bottom: 7mm;
	}

	.n3rd-mh-urkunde__herz {
		width: 17mm;
		text-align: center;
	}

	.n3rd-mh-urkunde__herz img {
		display: block;
		width: 15mm;
		height: auto;
		margin: 0 auto 1.5mm;
	}

	.n3rd-mh-urkunde__herz span {
		display: block;
		color: #5f6c79;
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 6pt;
		line-height: 1.25;
		hyphens: auto;
	}

	.n3rd-mh-urkunde__motto {
		margin-bottom: 0;
		color: #0d1b2a;
		font-size: 12pt;
		font-style: italic;
		letter-spacing: 0.04em;
	}

	.n3rd-mh-urkunde__fuss {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		width: 100%;
		padding-bottom: 4mm;
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
		text-align: left;
	}

	.n3rd-mh-urkunde__ort {
		font-size: 9pt;
	}

	.n3rd-mh-urkunde__signatur {
		min-width: 62mm;
		padding-top: 1.5mm;
		border-top: 0.3mm solid #0d1b2a;
		font-size: 8.5pt;
		text-align: center;
	}

	.n3rd-mh-urkunde__signatur small {
		display: block;
		color: #5f6c79;
		font-size: 7pt;
	}

	/* Im Fluss statt absolut positioniert. Sonst legt sich die Figur ueber die
	 * Unterschriftszeile. */
	.n3rd-mh-urkunde__maskottchen {
		width: auto;
		height: 38mm;
		margin: auto 0 5mm;
	}

	.n3rd-mh-urkunde__hinweis {
		position: absolute;
		right: 0;
		bottom: 5mm;
		left: 0;
		color: #8b96a1;
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 6.5pt;
		text-align: center;
	}
}
