/* Meisjesnamen Tools - Partner namenmatcher. Mobile first, scoped to .mnm */
.mnz.mnm [hidden] { display: none !important; }
.mnm { position: relative; max-width: 640px; margin-left: auto; margin-right: auto; }
.mnm .mnm-loading { color: var(--mnz-muted); }

/* Generic boxes and text */
.mnm .mnm-box { background: #fff; border-radius: 16px; padding: 18px; margin: 0 0 18px; box-shadow: 0 2px 10px rgba(176, 40, 94, .08); }
.mnm .mnm-h { font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
.mnm .mnm-h3 { font-size: 18px; line-height: 1.3; margin: 0 0 10px; }
.mnm p { margin: 0 0 12px; }
.mnm p.mnm-lead { font-weight: 600; }
.mnm p.mnm-small { font-size: 14px; color: var(--mnz-muted); margin: 10px 0 0; }
.mnm p.mnm-error { color: #9a4a2c; font-weight: 600; }
.mnm p.mnm-error:empty, .mnm p.mnm-ok:empty { display: none; }
.mnm p.mnm-ok { color: #1d6b76; font-weight: 600; margin: 8px 0 0; }
.mnm p.mnm-notice { background: var(--mnz-teal-soft); color: #1d6b76; border-radius: 10px; padding: 10px 14px; font-weight: 600; }

/* Buttons */
.mnm .mnz-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; line-height: 1.2; }
.mnm .mnm-btn-primary, .mnm .mnm-btn-secondary {
	min-height: 48px; padding: 0 22px; border: 2px solid var(--mnz-pink); margin: 4px 0;
}
.mnm .mnm-btn-primary { background: var(--mnz-pink); color: #fff; }
.mnm .mnm-btn-primary:disabled { opacity: .6; cursor: default; }
.mnm .mnm-btn-secondary { background: #fff; color: var(--mnz-pink); }
.mnm .mnm-btn-compact { min-height: 44px; padding: 0 16px; font-size: 15px; }
.mnm .mnm-btn-small { min-height: 40px; padding: 0 16px; border: 2px solid var(--mnz-pink); background: #fff; color: var(--mnz-pink); font-size: 15px; }
.mnm .mnm-btn-link { border: 0; background: none; color: var(--mnz-pink); text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; font-weight: 600; }
.mnm .mnm-danger { color: var(--mnz-muted); }
.mnm .mnm-danger.confirm { color: #9a4a2c; }
.mnm .mnm-start .mnm-btn-primary { width: 100%; }

/* How it works */
.mnm .mnm-steps { list-style: none; counter-reset: mnm; margin: 0 0 18px; padding: 0; }
.mnm .mnm-steps li { counter-increment: mnm; position: relative; padding: 0 0 12px 42px; margin: 0; }
.mnm .mnm-steps li::before {
	content: counter(mnm); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
	background: var(--mnz-pink-soft); color: var(--mnz-pink); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.mnm .mnm-steps strong { display: block; }
.mnm .mnm-steps span { color: var(--mnz-muted); font-size: 15px; }

/* Deck choice */
.mnm .mnm-decks { display: grid; gap: 8px; margin: 0 0 14px; }
.mnm .mnm-deck { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 2px solid var(--mnz-line); border-radius: 12px; cursor: pointer; margin: 0; }
.mnm .mnm-deck input { margin: 4px 0 0; accent-color: var(--mnz-pink); width: 18px; height: 18px; flex: 0 0 auto; }
.mnm .mnm-deck:has(input:checked) { border-color: var(--mnz-pink); background: #fff7fa; }
.mnm .mnm-deck.is-disabled { opacity: .55; cursor: default; }
.mnm .mnm-deck-body strong { display: block; }
.mnm .mnm-deck-body span { display: block; font-size: 14px; color: var(--mnz-muted); }

/* Resume list */
.mnm .mnm-list { list-style: none; margin: 0; padding: 0; }
.mnm .mnm-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--mnz-line); margin: 0; }
.mnm .mnm-list li:first-child { border-top: 0; }
.mnm .mnm-list-text strong { display: block; }
.mnm .mnm-list-text span { font-size: 14px; color: var(--mnz-muted); }

/* Session */
.mnm .mnm-head { text-align: center; margin: 0 0 12px; }
.mnm .mnm-head .mnm-h { margin-bottom: 4px; }
.mnm p.mnm-status { color: var(--mnz-muted); font-size: 15px; margin: 0; }
.mnm .mnm-input {
	display: block; width: 100%; height: 46px; padding: 0 12px; margin: 0 0 10px;
	border: 1.5px solid var(--mnz-line); border-radius: 10px; background: #fff7fa; font-size: 15px; color: var(--mnz-text);
}
.mnm .mnm-share-row { display: flex; flex-wrap: wrap; gap: 8px; }

.mnm .mnm-tabs { display: flex; gap: 6px; background: #fff; border-radius: 999px; padding: 5px; margin: 0 0 16px; box-shadow: 0 1px 6px rgba(43, 34, 41, .06); }
.mnm .mnm-tab { flex: 1 1 auto; min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--mnz-muted); padding: 0 12px; font-size: 14px; white-space: nowrap; }
.mnm .mnm-tab:first-child { flex: 0 1 34%; }
.mnm .mnm-tab.is-active { background: var(--mnz-pink); color: #fff; }

.mnm p.mnm-progress-text { text-align: center; font-size: 14px; color: var(--mnz-muted); margin: 0 0 6px; }
.mnm .mnm-progress { height: 6px; background: #fff; border-radius: 3px; overflow: hidden; margin: 0 0 16px; }
.mnm .mnm-progress span { display: block; height: 100%; width: 0; background: var(--mnz-pink); transition: width .25s; }

/* Card stack */
.mnm .mnm-stack { position: relative; min-height: 290px; margin: 0 auto 18px; max-width: 420px; }
.mnm .mnm-card {
	position: absolute; inset: 0; background: #fff; border-radius: 22px; padding: 28px 22px 22px;
	box-shadow: 0 8px 26px rgba(43, 34, 41, .12); display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
	transition: transform .23s ease, opacity .23s ease;
}
.mnm .mnm-card.is-next { transform: scale(.94) translateY(12px); opacity: .7; box-shadow: 0 4px 14px rgba(43, 34, 41, .08); cursor: default; }
.mnm .mnm-card.is-next > * { visibility: hidden; }
.mnm .mnm-card.fly-right { transform: translateX(130%) rotate(16deg) !important; opacity: 0; }
.mnm .mnm-card.fly-left { transform: translateX(-130%) rotate(-16deg) !important; opacity: 0; }
.mnm .mnm-name { font-size: 46px; line-height: 1.1; margin: 0 0 10px; color: var(--mnz-text); word-break: break-word; }
.mnm p.mnm-info { color: var(--mnz-muted); margin: 0 0 12px; }
.mnm .mnm-trend-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 14px; }
.mnm .mnm-meaning { color: var(--mnz-pink); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.mnm .mnm-stamp {
	position: absolute; top: 18px; padding: 4px 12px; border: 3px solid; border-radius: 8px; font-weight: 800;
	font-size: 20px; text-transform: uppercase; letter-spacing: .05em; opacity: 0; pointer-events: none;
}
.mnm .mnm-stamp-yes { left: 18px; color: var(--mnz-pink); transform: rotate(-12deg); }
.mnm .mnm-stamp-no { right: 18px; color: #6b5d67; transform: rotate(12deg); }

/* Action buttons */
.mnm .mnm-actions { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 10px; }
.mnm .mnm-act {
	width: 68px; height: 68px; border-radius: 50%; padding: 0; border: 0; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(43, 34, 41, .14);
	transition: transform .12s;
}
.mnm .mnm-act:active { transform: scale(.92); }
.mnm .mnm-act svg { width: 30px; height: 30px; }
.mnm .mnm-act-no { background: #fff; color: #6b5d67; }
.mnm .mnm-act-no svg path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.mnm .mnm-act-yes { background: var(--mnz-pink); color: #fff; }
.mnm .mnm-act-yes svg path { fill: currentColor; }
.mnm .mnm-act-undo { width: 48px; height: 48px; background: #fff; color: var(--mnz-muted); }
.mnm .mnm-act-undo svg { width: 22px; height: 22px; }
.mnm .mnm-act-undo svg path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mnm .mnm-act-undo:disabled { opacity: .35; cursor: default; }
.mnm .mnm-act:focus-visible { outline: 3px solid rgba(176, 40, 94, .4); outline-offset: 3px; }
.mnm p.mnm-hint { text-align: center; font-size: 14px; color: var(--mnz-muted); max-width: 420px; margin: 0 auto; }

.mnm .mnm-done, .mnm .mnm-empty { background: #fff; border-radius: 22px; padding: 26px 20px; text-align: center; box-shadow: 0 4px 14px rgba(43, 34, 41, .08); }
.mnm .mnm-done { position: relative; }
.mnm .mnm-btn-fav { margin-top: 14px; }

/* More options */
.mnm .mnm-more { margin: 24px 0 0; }
.mnm .mnm-more summary { cursor: pointer; color: var(--mnz-muted); font-weight: 600; padding: 6px 0; }
.mnm .mnm-more-body { padding: 10px 0 0; font-size: 15px; }
.mnm .mnm-more-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; }

/* Match celebration */
.mnm .mnm-celebrate {
	position: fixed; inset: 0; z-index: 100000; background: rgba(43, 34, 41, .55);
	display: flex; align-items: center; justify-content: center; padding: 16px;
}
.mnm .mnm-celebrate-box {
	background: #fff; border-radius: 22px; padding: 28px 22px; max-width: 360px; width: 100%; text-align: center;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25); animation: mnm-pop .3s ease;
}
.mnm p.mnm-celebrate-title { font-size: 28px; font-weight: 800; color: var(--mnz-pink); margin: 0 0 8px; }
.mnm p.mnm-celebrate-text { font-size: 18px; margin: 0 0 18px; }
.mnm .mnm-celebrate-box .mnm-btn-primary { width: 100%; }
@keyframes mnm-pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Toast */
.mnm .mnm-toast {
	position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); z-index: 100001;
	background: var(--mnz-text); color: #fff; padding: 12px 18px; border-radius: 12px; max-width: calc(100% - 32px);
	font-weight: 600; font-size: 15px; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); transition: transform .25s; text-align: center;
}
.mnm .mnm-toast.show { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
	.mnm .mnm-card, .mnm .mnm-toast, .mnm .mnm-progress span { transition: none; }
	.mnm .mnm-celebrate-box { animation: none; }
}
@media (min-width: 600px) {
	.mnm .mnm-box { padding: 24px; }
	.mnm .mnm-start .mnm-btn-primary { width: auto; }
	.mnm .mnm-stack { min-height: 320px; }
	.mnm .mnm-name { font-size: 54px; }
	.mnm .mnm-tab { font-size: 15px; }
}
