/*
 * Muspera app: design system (tokens + components) from mymuspera-design/SPEC.md, styled after
 * reference-biodata-step01.html. Later screens only compose these classes.
 *
 * Naming: BEM-ish, prefix `mm-`.
 *   Layout   .mm-app (phone column) .mm-page .mm-main .mm-blob .mm-center .mm-actions
 *   Nav      .mm-nav (--back) .mm-logo .mm-pill-badge .mm-lang (--compact) .mm-sheet
 *   Hero     .mm-hero .mm-tag
 *   Card     .mm-card (+ __submit) .mm-card--info .mm-fact .mm-section-head .mm-stepnum .mm-stepbadge
 *   Buttons  .mm-btn--primary|dark|outline|ghost (+ __label, __arrow)
 *   Fields   .mm-field(__top,__side) .mm-label .mm-req .mm-valid .mm-control .mm-input .mm-textarea .mm-phone
 *            .mm-error .mm-chip(--optional|--divider) .mm-divider .mm-info .mm-summary-row
 *   Choice   .mm-choices > .mm-choice  .mm-pills > .mm-pill-choice  .mm-check  .mm-stepper  .mm-stars > .mm-star
 *   Voice    .mm-voice-speak .mm-voice-mic(--sm) .mm-voice-row
 *   Modal    .mm-sheet (bottom sheet) .mm-modal (centred; __panel __title __sub), .mm-pass .mm-lane
 *   Denah    .mm-bottom-nav .mm-denah__* .mm-pin(--zone|item|fac|lib) .mm-seg .mm-fab .mm-quick .mm-feat .mm-lrow .mm-peek .mm-legend__* .mm-tour
 *   Quiz     .mm-quiz__* .mm-qopt .mm-badge .mm-rhero .mm-rlist; Akun cards .mm-card--interest .mm-follow
 *   Library  .mm-card--account .mm-ratecard .mm-context .mm-sugg (chips) .mm-t* (tablet) .mm-pp* (poster)
 *   Account  .mm-nav--title .mm-form .mm-foot .mm-card-wrap .mm-card--qr .mm-qr-box .mm-code-chip .mm-avatar
 * State classes: .is-selected .is-error .is-valid .is-listening. Everything uses logical properties (RTL for ar).
 */

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("fonts/PlusJakartaSans.ttf") format("truetype");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

/* ---------- 1. Tokens (SPEC section 1) ---------- */
:root {
	--mm-dark: #0d2618;
	--mm-primary: #15803d; /* AA (5.0:1 with white text); decorative brights below stay */
	--mm-primary-pressed: #166534;
	--mm-primary-bright: #16a34a; /* logo tile / decorative fills only: carries no text */
	--mm-bright: #22c55e;
	--mm-lime: #4ade80;
	--mm-light: #86efac;
	--mm-mint: #dcfce7;
	--mm-mint-50: #ecfdf5;
	--mm-sage: #e6f4ea;
	--mm-cream: #f4f9f5;

	--mm-canvas: #f6fbf8;
	--mm-backdrop: #e8f2ec;
	--mm-card: #ffffff;
	--mm-input: #f8fcfa;
	--mm-chip: #f2f9f5;
	--mm-prefix: #eaf7ee;

	--mm-border: #d5eadf; /* decorative card edges */
	--mm-border-ui: #7b9789; /* component boundaries (inputs, choices, toggles): >= 3:1 on white, canvas, input and mint-50 (the approved #7E9A8C is 2.9:1 on canvas) */
	--mm-border-soft: #cbead5;

	--mm-text: #0d2618;
	--mm-text-2: #375243;
	--mm-text-3: #526d5e;
	--mm-muted: #557466;
	--mm-placeholder: #5b7a6b;
	--mm-on-dark: #ffffff;

	--mm-danger: #f43f5e;
	--mm-danger-input: #fb7185;
	--mm-danger-bg: #fff1f2;
	--mm-danger-border: #fecdd3;
	--mm-danger-text: #be123c;
	--mm-warn-bg: #fef3c7;
	--mm-warn-border: #fde68a;
	--mm-warn-text: #78350f;
	--mm-warn-icon: #d97706; /* amber for stars and the bookmark marker: 3.2:1 on white (was #f59e0b, 2.2:1) */

	--mm-r-sm: 8px;
	--mm-r-md: 12px;
	--mm-r-lg: 16px;
	--mm-r-xl: 24px;
	--mm-r-card: 28px;
	--mm-r-modal: 32px;
	--mm-r-full: 9999px;

	--mm-s1: 4px;
	--mm-s2: 8px;
	--mm-s3: 12px;
	--mm-s4: 16px;
	--mm-s5: 20px;
	--mm-s6: 24px;

	--mm-shadow-editorial: 0 20px 50px -12px rgba(13, 38, 24, 0.08);
	--mm-shadow-card: 0 8px 25px -5px rgba(21, 128, 61, 0.07), 0 4px 10px -6px rgba(13, 38, 24, 0.04);
	--mm-shadow-pill: 0 10px 25px -4px rgba(21, 128, 61, 0.35);
	--mm-shadow-float: 0 10px 15px -3px rgba(13, 38, 24, 0.2);
	--mm-gradient-bar: linear-gradient(90deg, #15803d, #22c55e, #86efac);

	--mm-ring: #0d2618; /* focus ring colour; the gap colour sits between element and ring */
	--mm-ring-gap: #fff;
	--mm-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Yu Gothic UI", "Malgun Gothic", "Microsoft YaHei", Tahoma, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/*
 * Scrolling: html and body share the page surface colour (a rubber-band never shows another colour) and
 * overscroll is off. The page is exactly one screen high (100dvh, 100vh fallback; on phones with a collapsing
 * toolbar 100vh is taller than the visible area and caused a scrollable empty band) and grows only with its content.
 */
html {
	-webkit-text-size-adjust: 100%;
	background: var(--mm-canvas);
	overscroll-behavior-y: none;
}
.mm-body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	font-family: var(--mm-font);
	color: var(--mm-text);
	background: var(--mm-canvas);
	overscroll-behavior-y: none;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
.mm-body :where(h1, h2, h3, p) { margin: 0; }
.mm-body :where(button, input, textarea) { font: inherit; color: inherit; }
.mm-body :where(a) { color: inherit; text-decoration: none; }
.mm-body :focus-visible { outline: 3px solid var(--mm-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--mm-ring-gap); }
.mm-body :focus:not(:focus-visible) { outline: none; }
.mm-body [tabindex="-1"]:focus { outline: none; box-shadow: none; } /* programmatic focus targets (main, headings) */
.mm-icon { flex: none; display: block; }
[dir="rtl"] .mm-flip { transform: scaleX(-1); }

/* ---------- Layout: phone column centred on the backdrop ---------- */
.mm-app {
	position: relative;
	width: 100%;
	max-width: 395px;
	min-height: 100vh;
	min-height: 100dvh;
	margin-inline: auto;
	background: var(--mm-canvas);
	overflow: hidden;
}
.mm-screen-kiosk .mm-app { max-width: 766px; }
@media (min-width: 480px) {
	html,
	.mm-body { background: var(--mm-backdrop); }
	.mm-body { padding-block: 24px; }
	.mm-app {
		min-height: calc(100vh - 48px);
		min-height: calc(100dvh - 48px);
		border-radius: var(--mm-r-modal);
		box-shadow: 0 25px 50px -12px rgba(13, 38, 24, 0.25);
	}
}
.mm-blob {
	position: absolute;
	top: -48px;
	inset-inline-end: -64px;
	width: 256px;
	height: 256px;
	color: rgba(220, 252, 231, 0.9);
	pointer-events: none;
	z-index: 0;
}
[dir="rtl"] .mm-blob { transform: scaleX(-1); }
.mm-page {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	min-height: inherit;
}
.mm-main { padding: 0 var(--mm-s4) 36px; }
.mm-page--welcome .mm-main,
.mm-page--thanks .mm-main { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: var(--mm-s4); }
.mm-main--center { flex: 1; display: flex; align-items: center; justify-content: center; }
.mm-center { display: flex; justify-content: center; }
.mm-actions { display: grid; gap: var(--mm-s3); }
.mm-actions--bottom { padding: 0 var(--mm-s6) 36px; }

/* ---------- Nav ---------- */
.mm-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mm-s2);
	padding: 20px var(--mm-s6) var(--mm-s2);
}
.mm-logo { display: inline-flex; align-items: center; gap: var(--mm-s2); }
.mm-logo__tile {
	width: 32px;
	height: 32px;
	border-radius: var(--mm-r-md);
	background: var(--mm-primary-bright);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px rgba(13, 38, 24, 0.1);
}
.mm-logo__tile img { display: block; width: auto; height: 20px; }
.mm-logo__word { font-size: 16px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; color: var(--mm-text); }
.mm-logo__word b { font-weight: 800; color: var(--mm-primary); }
.mm-pill-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid var(--mm-dark);
	border-radius: var(--mm-r-full);
	background: rgba(255, 255, 255, 0.8);
	font-size: 11px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--mm-text);
	white-space: nowrap;
}
.mm-pill-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--mm-primary); }
.mm-nav--back { padding-inline: var(--mm-s4); }
.mm-nav__back {
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 50%;
	background: var(--mm-card);
	border: 1px solid var(--mm-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mm-text);
}

/* Language switch pill + sheet */
.mm-lang {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--mm-s2);
	min-width: 184px;
	padding: 10px 16px 10px 12px;
	border: 1px solid #cde5d6;
	border-radius: var(--mm-r-full);
	background: var(--mm-card);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	color: var(--mm-text);
}
.mm-lang--compact { min-width: 0; padding: 7px 12px 7px 10px; font-size: 12px; gap: 6px; max-width: 176px; }
.mm-lang__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.mm-sheet__scrim { position: absolute; inset: 0; background: rgba(13, 38, 24, 0.6); }
.mm-sheet__panel {
	position: relative;
	width: 100%;
	max-width: 395px;
	padding: var(--mm-s6) var(--mm-s5) 28px;
	border-radius: var(--mm-r-modal) var(--mm-r-modal) 0 0;
	background: var(--mm-card);
	box-shadow: var(--mm-shadow-float);
	animation: mm-sheet-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.mm-sheet--tall .mm-sheet__panel { display: flex; flex-direction: column; max-height: min(86vh, 640px); max-height: min(86dvh, 640px); padding-bottom: var(--mm-s4); }
.mm-sheet--tall .mm-sheet__head { flex: none; }
.mm-search { flex: none; margin-bottom: var(--mm-s3); }
.mm-country-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-inline: calc(var(--mm-s2) * -1); padding-inline: var(--mm-s2); }
.mm-country {
	display: flex;
	align-items: center;
	gap: var(--mm-s3);
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: var(--mm-r-md);
	background: none;
	text-align: start;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.mm-country:hover,
.mm-country:focus-visible { background: var(--mm-mint-50); }
.mm-country.is-selected { background: var(--mm-mint); }
.mm-country__flag { flex: none; width: 24px; font-size: 20px; line-height: 1; text-align: center; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.mm-country__name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.mm-country__code { flex: none; font-weight: 800; color: var(--mm-text-3); }
.mm-country--last-common { margin-bottom: 9px; position: relative; }
.mm-country--last-common::after { content: ""; position: absolute; inset-inline: 12px; bottom: -5px; height: 1px; background: var(--mm-border); }
.mm-country-list.is-filtering .mm-country--last-common { margin-bottom: 0; }
.mm-country-list.is-filtering .mm-country--last-common::after { display: none; }
.mm-country-empty { padding: var(--mm-s6) 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--mm-muted); }
.mm-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--mm-s4); }
.mm-sheet__head h2 { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.mm-sheet__close {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: var(--mm-chip);
	color: var(--mm-text-3);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.mm-lang-list { display: grid; gap: var(--mm-s2); }
.mm-lang-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 15px;
	border: 1px solid var(--mm-border);
	border-radius: var(--mm-r-lg);
	font-size: 14px;
	font-weight: 700;
	background: var(--mm-card);
}
.mm-lang-item.is-selected { padding: 12px 14px; border: 2px solid var(--mm-primary); background: var(--mm-mint-50); }
@keyframes mm-sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Hero ---------- */
.mm-hero { position: relative; padding: var(--mm-s4) var(--mm-s6) var(--mm-s6); }
.mm-hero__burst {
	position: absolute;
	top: 8px;
	inset-inline-end: var(--mm-s6);
	color: rgba(13, 38, 24, 0.8);
	pointer-events: none;
	animation: mm-spin 24s linear infinite;
}
.mm-hero__burst .mm-icon { stroke-width: 1.3; }
.mm-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	padding: 4px 10px;
	border-radius: 6px;
	background: var(--mm-mint);
	color: var(--mm-primary-pressed);
	font-size: 11px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.mm-hero__title { font-size: 32px; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.mm-hero__row { display: flex; align-items: center; gap: var(--mm-s2); }
.mm-hero__arrow { margin-top: 4px; color: var(--mm-primary); }
.mm-hero__arrow .mm-icon { stroke-width: 2.4; }
.mm-hero__line2 { position: relative; display: inline-block; margin-top: 4px; }
.mm-hero__line2 > span { position: relative; z-index: 1; }
.mm-hero__pill {
	position: absolute;
	inset-inline-start: -10px;
	top: 50%;
	width: 92px;
	height: 40px;
	transform: translateY(-50%);
	background: var(--mm-bright);
	border-radius: var(--mm-r-full) var(--mm-r-sm) var(--mm-r-sm) var(--mm-r-full);
}
[dir="rtl"] .mm-hero__pill { border-radius: var(--mm-r-sm) var(--mm-r-full) var(--mm-r-full) var(--mm-r-sm); }
.mm-hero__sub { margin-top: var(--mm-s3); padding-inline-end: var(--mm-s2); font-size: 13px; line-height: 1.6; font-weight: 500; color: var(--mm-text-2); }
@keyframes mm-spin { to { transform: rotate(360deg); } }

/* ---------- Card (Form Card) ---------- */
.mm-card {
	position: relative;
	overflow: hidden;
	padding: var(--mm-s5);
	border: 1px solid var(--mm-mint);
	border-radius: var(--mm-r-card);
	background: var(--mm-card);
	box-shadow: var(--mm-shadow-editorial);
}
.mm-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--mm-gradient-bar); }
.mm-card > :first-child { margin-top: 0; }
.mm-card--info { display: grid; gap: var(--mm-s4); padding-top: 21px; }
.mm-card__submit { padding-top: var(--mm-s1); }
.mm-fact { display: flex; align-items: center; gap: var(--mm-s3); }
.mm-fact__icon {
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 50%;
	background: var(--mm-sage);
	color: var(--mm-primary-pressed);
	display: flex;
	align-items: center;
	justify-content: center;
}
.mm-fact__title { font-size: 13px; font-weight: 700; line-height: 1.4; }
.mm-fact__body { font-size: 11px; font-weight: 500; line-height: 1.4; color: var(--mm-text-3); margin-top: 2px; }

/* Section header (step number + title) */
.mm-section-head { display: flex; align-items: flex-start; gap: var(--mm-s3); margin-bottom: var(--mm-s5); padding-bottom: var(--mm-s4); border-bottom: 1px solid var(--mm-mint-50); }
.mm-section-head h2 { font-size: 16px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.mm-section-head p { margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--mm-text-3); }
.mm-stepnum { width: 36px; height: 36px; flex: none; border-radius: var(--mm-r-md); background: var(--mm-mint); color: var(--mm-primary-pressed); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mm-stepbadge {
	position: absolute;
	top: -16px;
	inset-inline-end: 28px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 8px 12px;
	border-radius: var(--mm-r-lg);
	background: var(--mm-dark);
	color: #fff;
	box-shadow: var(--mm-shadow-float);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.mm-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mm-s3);
	width: 100%;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: var(--mm-r-full);
	font-size: 14px;
	line-height: 1.4;
	font-weight: 800;
	cursor: pointer;
	transition: background 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s;
}
.mm-btn__label { flex: 1; text-align: start; }
.mm-btn__arrow {
	width: 28px;
	height: 28px;
	flex: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.2);
	transition: transform 0.28s;
}
.mm-btn:hover .mm-btn__arrow { transform: translateX(4px); }
[dir="rtl"] .mm-btn:hover .mm-btn__arrow { transform: translateX(-4px); }
.mm-btn:active { transform: scale(0.99); }
.mm-btn--primary { background: var(--mm-primary); color: #fff; box-shadow: var(--mm-shadow-pill); }
.mm-btn--primary:hover { background: var(--mm-primary-pressed); }
.mm-btn--dark { padding-block: 12px; background: var(--mm-dark); color: #fff; }
.mm-btn--dark .mm-btn__label,
.mm-btn--outline .mm-btn__label { text-align: center; padding-inline-start: 28px; }
.mm-btn--dark:hover { background: var(--mm-primary-pressed); }
.mm-btn--outline { border-color: var(--mm-dark); background: transparent; color: var(--mm-dark); }
.mm-btn--outline .mm-btn__arrow { background: rgba(13, 38, 24, 0.1); }
.mm-btn--outline:hover { background: rgba(13, 38, 24, 0.04); }
.mm-btn--ghost { background: transparent; justify-content: center; padding-block: 10px; color: var(--mm-primary-pressed); font-size: 13px; }
.mm-btn--ghost .mm-btn__label { flex: none; text-align: center; }
.mm-btn--ghost:hover .mm-btn__label { text-decoration: underline; }
.mm-btn:disabled,
.mm-btn.is-disabled { opacity: 0.4; pointer-events: none; }

/* ---------- Fields ---------- */
.mm-field { margin-bottom: 18px; }
.mm-field__top { display: flex; align-items: center; justify-content: space-between; gap: var(--mm-s2); min-height: 24px; margin-bottom: 6px; }
.mm-field__side { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.mm-label { font-size: 12px; line-height: 1.4; font-weight: 700; color: var(--mm-text); }
.mm-req { color: var(--mm-danger); }
.mm-valid { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--mm-primary); }
.mm-chip { display: inline-block; padding: 2px 8px; border-radius: var(--mm-r-full); background: var(--mm-chip); font-size: 10px; font-weight: 600; color: var(--mm-muted); }
.mm-chip--divider { padding: 2px 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mm-primary-pressed); }
.mm-control { position: relative; display: flex; align-items: center; }
.mm-control__icon { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--mm-muted); pointer-events: none; display: flex; }
.mm-control__alert { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); color: var(--mm-danger); pointer-events: none; display: none; }
.mm-input {
	width: 100%;
	padding: 12px 36px 12px 14px;
	padding-inline: 14px 36px;
	border: 1px solid var(--mm-border-ui);
	border-radius: var(--mm-r-lg);
	background: var(--mm-input);
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--mm-text);
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
	appearance: none;
}
.mm-control__icon + .mm-input { padding-inline-start: 40px; }
.mm-input::placeholder { color: var(--mm-placeholder); font-weight: 600; }
.mm-input:focus { background: var(--mm-card); border-color: var(--mm-primary); }
.mm-input--center { text-align: center; padding-inline: 12px; }
.mm-textarea { min-height: 96px; resize: vertical; padding-inline-end: 14px; }
.mm-field.is-valid .mm-input { border-color: var(--mm-primary); }
.mm-field.is-error .mm-input,
.mm-field.is-error .mm-stepper { border-color: var(--mm-danger-input); }
.mm-field.is-error .mm-control__alert { display: flex; }

/* Phone field: clickable country prefix pill (flag + dial code) on top of a left-padded input; --mm-prefix-w is set by app.js */
/* Numbers read left to right in every language, so the whole control stays LTR (prefix left, number after it). */
.mm-phone { position: relative; display: flex; align-items: center; direction: ltr; }
.mm-phone__prefix {
	position: absolute;
	inset-inline-start: 6px;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px 8px 6px 10px;
	border: 1px solid var(--mm-border-soft);
	border-radius: var(--mm-r-md);
	background: var(--mm-prefix);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.mm-phone__prefix:hover { border-color: var(--mm-primary); }
.mm-phone__prefix .mm-icon { color: var(--mm-muted); }
.mm-phone__flag { font-size: 15px; line-height: 1; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
[data-phone-code],
.mm-country__code { direction: ltr; unicode-bidi: isolate; }
.mm-phone .mm-input { padding-inline-start: calc(var(--mm-prefix-w, 80px) + 14px); }
.mm-helper { margin-top: 4px; font-size: 11px; font-weight: 500; color: var(--mm-muted); }

.mm-error {
	display: flex;
	align-items: center;
	gap: var(--mm-s2);
	margin-top: var(--mm-s2);
	padding: 8px 14px;
	border: 1px solid var(--mm-danger-border);
	border-radius: var(--mm-r-md);
	background: var(--mm-danger-bg);
	animation: mm-shake 0.35s ease-in-out;
}
.mm-error__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--mm-danger); }
.mm-error p { flex: 1; font-size: 11.5px; line-height: 1.4; font-weight: 700; color: var(--mm-danger-text); }
.mm-error__action { border: 0; background: none; padding: 0; font-size: 11px; font-weight: 800; text-decoration: underline; color: var(--mm-danger-text); cursor: pointer; }
.mm-error--form { margin: 0 0 var(--mm-s4); }
@keyframes mm-shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

.mm-divider { position: relative; margin: 4px 0 var(--mm-s5); border-top: 1px dashed var(--mm-border-soft); }
.mm-divider i { display: none; }
.mm-divider .mm-chip { position: absolute; top: 0; inset-inline-start: 50%; transform: translate(-50%, -50%); }
.mm-info {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 10px;
	padding: var(--mm-s3);
	border: 1px solid var(--mm-warn-border);
	border-radius: var(--mm-r-lg);
	background: rgba(254, 243, 199, 0.75);
	font-size: 11px;
	line-height: 1.35;
	color: var(--mm-warn-text);
}
.mm-info__icon { width: 24px; height: 24px; flex: none; border-radius: var(--mm-r-sm); background: var(--mm-warn-icon); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.mm-info strong { display: block; font-weight: 800; color: var(--mm-text); }
.mm-summary-row { display: flex; justify-content: space-between; gap: var(--mm-s3); font-size: 12px; }
.mm-summary-row span:first-child { color: var(--mm-text-3); }
.mm-summary-row span:last-child { font-weight: 700; color: var(--mm-text); text-align: end; }
.mm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--mm-s3); }
.mm-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Choice cards, pills, check ---------- */
.mm-check {
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	border: 1px solid var(--mm-border-ui);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mm-check .mm-icon { display: none; }
.is-selected > .mm-check { background: var(--mm-primary); border-color: var(--mm-primary); }
.is-selected > .mm-check .mm-icon { display: block; }
.mm-choices { display: grid; gap: 10px; }
.mm-choices--2 { grid-template-columns: 1fr 1fr; }
.mm-choice {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 12px;
	border: 1px solid var(--mm-border-ui);
	border-radius: var(--mm-r-lg);
	background: var(--mm-card);
	text-align: start;
	cursor: pointer;
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.mm-choice:hover { background: var(--mm-input); }
.mm-choice > .mm-check { position: absolute; top: 5px; inset-inline-end: 5px; }
.mm-choice__icon { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--mm-sage); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; transition: all 0.28s; }
.mm-choice__icon .mm-icon { stroke-width: 2.2; }
.mm-choice__text { min-width: 0; display: flex; flex-direction: column; }
.mm-choice__title { font-size: 12px; line-height: 1.4; font-weight: 800; overflow-wrap: anywhere; }
.mm-choice__sub { font-size: 10px; line-height: 1.4; font-weight: 500; color: var(--mm-muted); }
.mm-choice.is-selected { padding: 11px; border: 2px solid var(--mm-primary); background: var(--mm-mint-50); }
.mm-choice.is-selected .mm-choice__icon { background: var(--mm-primary); color: #fff; }
.mm-choice.is-selected .mm-choice__sub { color: var(--mm-primary-pressed); }
.mm-choice.is-selected .mm-choice__title { color: var(--mm-primary-pressed); }

.mm-pills { display: grid; gap: var(--mm-s2); }
.mm-pills--3 { grid-template-columns: repeat(3, 1fr); }
.mm-pills--4 { grid-template-columns: repeat(4, 1fr); }
.mm-pill-choice {
	min-height: 38px;
	padding: 8px 6px;
	border: 1px solid var(--mm-border-ui);
	border-radius: var(--mm-r-full);
	background: var(--mm-card);
	font-size: 12px;
	line-height: 1.2;
	font-weight: 800;
	text-align: center;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.mm-pill-choice:hover { background: var(--mm-input); }
.mm-pill-choice[aria-checked="true"] { padding-block: 7px; border: 2px solid var(--mm-primary); background: var(--mm-mint-50); color: var(--mm-primary-pressed); }
.mm-field--sub { margin-top: -6px; }
.mm-field--sub .mm-label { font-size: 11px; font-weight: 500; color: var(--mm-muted); }

/* Number stepper */
.mm-stepper { display: flex; align-items: center; gap: var(--mm-s2); padding: 6px; border: 1px solid var(--mm-border-ui); border-radius: var(--mm-r-lg); background: var(--mm-input); transition: all 0.28s; }
.mm-stepper:focus-within { background: var(--mm-card); border-color: var(--mm-primary); outline: 3px solid var(--mm-ring); outline-offset: 2px; }
.mm-stepper__btn { width: 34px; height: 34px; flex: none; padding: 0; border: 1px solid var(--mm-border-ui); border-radius: 10px; background: var(--mm-card); color: var(--mm-text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mm-stepper__btn--plus { border-color: var(--mm-primary); background: var(--mm-primary); color: #fff; box-shadow: 0 4px 10px -2px rgba(21, 128, 61, 0.35); }
.mm-stepper__input { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; text-align: center; font-size: 16px; font-weight: 800; }
.mm-stepper__input:focus-visible { outline: none; box-shadow: none; } /* the ring is drawn on the whole stepper (:focus-within) */
.mm-stepper__input::placeholder { color: var(--mm-placeholder); }

/* Rating stars: mymuspera_rating() = five labels with a real radio input and a rounded star; app.js adds .is-on up to the checked one */
.mm-stars { display: flex; flex-wrap: wrap; gap: 6px; }
.mm-star { position: relative; display: inline-flex; padding: 2px; border-radius: 12px; color: var(--mm-border-ui); cursor: pointer; transition: transform 0.2s, color 0.2s; }
.mm-star__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; appearance: none; }
.mm-star__svg { display: block; pointer-events: none; }
.mm-star.is-on { color: var(--mm-warn-icon); }
.mm-star:hover { transform: scale(1.12); }
.mm-star:has(.mm-star__input:focus-visible) { outline: 3px solid var(--mm-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--mm-ring-gap); }
.mm-field.is-error .mm-star { color: var(--mm-danger-input); }
.mm-stars__hint { min-height: 20px; margin-top: 8px; font-size: 13px; line-height: 1.5; font-weight: 800; color: var(--mm-primary-pressed); }

/* Quick-suggestion chips (mymuspera_chips()): tap fills / appends, tap again undoes; .is-on = what the field currently contains */
.mm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mm-sugg { padding: 7px 13px; border: 1px solid var(--mm-border-ui); border-radius: var(--mm-r-full); background: var(--mm-card); font-size: 12px; line-height: 1.3; font-weight: 600; color: var(--mm-text); text-align: start; cursor: pointer; transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1); }
.mm-sugg:hover { background: var(--mm-input); }
.mm-sugg.is-on { padding: 6px 12px; border: 2px solid var(--mm-primary); background: var(--mm-mint-50); color: var(--mm-primary-pressed); font-weight: 800; }
.mm-chips--dark .mm-sugg { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.1); color: #fff; }
.mm-chips--dark .mm-sugg:hover { background: rgba(255, 255, 255, 0.18); }
.mm-chips--dark .mm-sugg.is-on { border-color: var(--mm-bright); background: rgba(34, 197, 94, 0.18); }

/* ---------- Voice buttons ---------- */
.mm-voice-speak { padding: 2px; border: 0; background: none; color: var(--mm-primary-pressed); cursor: pointer; display: inline-flex; align-items: center; }
.mm-voice-mic { width: 32px; height: 32px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--mm-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 4px rgba(13, 38, 24, 0.1); }
.mm-voice-mic--sm { width: 24px; height: 24px; background: var(--mm-primary); }
.mm-voice-mic.is-listening { background: #ef4444; transform: scale(1.1); }
.mm-voice-row { display: flex; align-items: center; gap: 10px; margin-top: var(--mm-s2); font-size: 11px; font-weight: 500; color: var(--mm-text-3); }

/* ---------- Success (Terima Kasih) ---------- */
.mm-success { position: relative; width: 144px; height: 144px; display: flex; align-items: center; justify-content: center; }
.mm-success__ring { position: absolute; inset: 0; border: 2px dashed var(--mm-bright); border-radius: 50%; animation: mm-spin 40s linear infinite; }
.mm-success__disc { width: 100px; height: 100px; border-radius: 50%; background: var(--mm-mint); box-shadow: 0 12px 30px -8px rgba(21, 128, 61, 0.35); display: flex; align-items: center; justify-content: center; }
.mm-success__check { width: 48px; height: 48px; border-radius: 50%; background: var(--mm-primary-pressed); color: #fff; display: flex; align-items: center; justify-content: center; }
.mm-soon { text-align: center; width: 100%; }
.mm-soon__title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.mm-soon__body { margin-top: 6px; font-size: 13px; color: var(--mm-text-3); }

/* ---------- Account pages: login / register / biodata / akun ---------- */
.mm-nav--title { padding-inline: var(--mm-s4); }
.mm-nav__title { flex: 1; text-align: center; font-size: 14px; font-weight: 800; }
.mm-nav__spacer { width: 36px; flex: none; }
.mm-nav__actions { display: inline-flex; align-items: center; gap: var(--mm-s2); }
.mm-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--mm-primary); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mm-nav__logout { width: 32px; height: 32px; }

.mm-form { padding-top: var(--mm-s2); }
.mm-form .mm-info { margin-block: 0 var(--mm-s4); }
.mm-forgot { margin: -4px 0 var(--mm-s4); text-align: center; font-size: 13px; font-weight: 800; color: var(--mm-primary-pressed); }
.mm-forgot a:hover { text-decoration: underline; }
.mm-foot { margin-top: auto; padding: var(--mm-s6) var(--mm-s4) 28px; text-align: center; font-size: 13px; color: var(--mm-text-3); }
.mm-foot a { font-weight: 800; color: var(--mm-primary-pressed); }
.mm-page--auth .mm-main { padding: 0 var(--mm-s6); }
.mm-control__eye { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); padding: 4px; border: 0; background: none; color: var(--mm-muted); cursor: pointer; display: flex; }
/* Password fields keep the eye in the error state (so a revealed password can be hidden again); the red border marks the error */
.mm-field.is-error .mm-control:has(.mm-control__eye) .mm-control__alert { display: none; }
.mm-control:has(.mm-control__eye) .mm-input { padding-inline-end: 44px; }

/* Biodata: step badge floats over the card's top edge; panels swap with .is-step-hidden (controls stay submitted) */
.mm-card-wrap { position: relative; padding-top: var(--mm-s4); }
.mm-card-wrap > .mm-card { overflow: hidden; }
.mm-page--biodata .mm-card { padding: var(--mm-s5) var(--mm-s5) var(--mm-s5); }
.mm-card-wrap .mm-stepbadge { top: 0; }
.mm-stepbadge__marks { display: flex; align-items: center; gap: 4px; }
.mm-stepbadge__marks i:first-child { width: 9px; height: 9px; background: #fff; transform: rotate(45deg); }
.mm-stepbadge__marks i:last-child { width: 8px; height: 8px; background: var(--mm-bright); border-radius: 2px; }
.is-step-hidden { display: none; }
[data-step-panel] > .mm-btn { margin-top: var(--mm-s2); }
.mm-phone .mm-control__alert { inset-inline-end: 14px; }
.mm-field.is-error .mm-phone .mm-input { border-color: var(--mm-danger-input); }
.mm-field.is-valid .mm-phone .mm-input { border-color: var(--mm-primary); }
.mm-field .mm-info[data-show] { margin-top: 12px; }

/* Modal (06 Pas Pengunjung Siap, 08 QR Besar) */
.mm-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: var(--mm-s4); }
.mm-modal__scrim { position: absolute; inset: 0; background: rgba(13, 38, 24, 0.6); }
.mm-modal__panel { position: relative; width: 100%; max-width: 363px; padding: var(--mm-s6); border: 1px solid var(--mm-mint); border-radius: var(--mm-r-modal); background: var(--mm-card); box-shadow: var(--mm-shadow-float); animation: mm-sheet-in 0.28s cubic-bezier(0.16, 1, 0.3, 1); }
.mm-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--mm-s4); }
.mm-modal__title { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.mm-modal__sub { margin: 4px 0 var(--mm-s4); font-size: 12px; font-weight: 500; color: var(--mm-text-3); }
.mm-tag--ok { margin-bottom: var(--mm-s3); }
.mm-pass { display: grid; gap: 10px; margin-bottom: var(--mm-s5); padding: var(--mm-s4); border: 1px solid var(--mm-border-soft); border-radius: var(--mm-r-lg); background: var(--mm-mint-50); }
.mm-summary-row--lane { align-items: center; padding-top: 10px; border-top: 1px dashed var(--mm-border-soft); }
.mm-lane { padding: 2px 10px; border-radius: var(--mm-r-full); background: var(--mm-primary); color: #fff !important; font-size: 11px; font-weight: 700; }
.mm-modal .mm-btn--dark { justify-content: center; padding-block: 12px; font-size: 13px; }
.mm-modal .mm-btn--dark .mm-btn__label { flex: none; padding: 0; text-align: center; }

/* Akun */
.mm-page--akun .mm-main { display: grid; gap: var(--mm-s3); }
.mm-card--qr { display: flex; flex-direction: column; align-items: center; padding: var(--mm-s5); }
.mm-card--qr::before { display: none; }
.mm-qr-box { padding: 12px; border: 1px solid var(--mm-border); border-radius: var(--mm-r-xl); background: var(--mm-card); line-height: 0; }
.mm-qr-box--big { margin: 0 auto var(--mm-s4); width: max-content; }
.mm-qr img, .mm-qr canvas, .mm-qr svg { display: block; max-width: 100%; height: auto !important; }
.mm-code-chip { display: inline-block; margin-top: var(--mm-s4); padding: 4px 14px; border-radius: var(--mm-r-full); background: var(--mm-mint); color: var(--mm-primary-pressed); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; }
.mm-modal .mm-code-chip { display: block; width: max-content; margin: 0 auto; }
.mm-qr-name { margin-top: var(--mm-s3); font-size: 16px; font-weight: 800; text-align: center; overflow-wrap: anywhere; }
.mm-qr-hint { align-self: stretch; margin-top: var(--mm-s3); padding-top: var(--mm-s3); border-top: 1px dashed var(--mm-border-soft); text-align: center; font-size: 11px; color: var(--mm-muted); }
.mm-actions--tight { gap: 10px; }
.mm-summary { display: grid; gap: 14px; }
.mm-summary .mm-summary-row span:last-child { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
	.mm-hero__burst, .mm-success__ring, .mm-error, .mm-sheet__panel, .mm-modal__panel { animation: none; }
}

/* ---------- Kiosk (766px, dark): /app/kios/* ---------- */
.mm-kiosk .mm-app,
.mm-tablet .mm-app {
	background:
		radial-gradient(ellipse 70% 45% at 100% 100%, #14452a 0%, transparent 70%),
		radial-gradient(ellipse 60% 40% at 0% 25%, #134d2d 0%, transparent 70%),
		var(--mm-dark);
}
.mm-kiosk .mm-blob { display: none; }
html:has(.mm-screen-kiosk),
.mm-screen-kiosk,
html:has(.mm-screen-tablet),
.mm-screen-tablet { background: var(--mm-dark); }
.mm-k { align-items: center; justify-content: center; gap: 32px; padding: 48px; }
.mm-k__logo .mm-logo { padding: 8px 14px 8px 8px; border-radius: var(--mm-r-lg); background: rgba(0, 0, 0, 0.28); }
.mm-k__logo .mm-logo__word,
.mm-k__logo .mm-logo__word b { color: #fff; }
.mm-k__nav { display: flex; align-items: center; justify-content: space-between; gap: var(--mm-s3); width: 100%; }
.mm-k__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--mm-r-full);
	background: rgba(255, 255, 255, 0.1);
	font-size: 15px;
	font-weight: 800;
	color: #fff !important;
}
.mm-k .mm-lang { font-size: 15px; padding-block: 12px; }
.mm-k__head { text-align: center; color: #fff; }
.mm-k__head h1 { font-size: 52px; line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
.mm-k__head p { margin-top: 12px; font-size: 19px; line-height: 1.5; font-weight: 500; color: #bbf7d0; }
.mm-k__hours { text-align: center; font-size: 14px; font-weight: 500; color: var(--mm-light); }

/* Kiosk welcome: lobby photo under the dark green gradient (22% at the top, 90% at the bottom), content pinned to the top and bottom */
.mm-k--welcome { position: relative; justify-content: space-between; gap: 24px; padding: 36px 72px 36px; }
.mm-k--welcome::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(13, 38, 24, 0.22) 0%, rgba(13, 38, 24, 0.3) 38%, rgba(13, 38, 24, 0.74) 60%, rgba(13, 38, 24, 0.9) 100%),
		var(--mm-dark) url("kios-bg.webp") center / cover no-repeat;
}
.mm-kw__top { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mm-kw__top .mm-k__logo .mm-logo { background: var(--mm-dark); }
.mm-kw__top .mm-lang { min-width: 200px; border-color: transparent; }
.mm-kw__bottom { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.mm-kw__bottom .mm-k__head { margin-bottom: 14px; }
.mm-klabel-sec { margin-top: 4px; font-size: 14px; line-height: 1.2; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mm-light); }
.mm-kcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.mm-kcard {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 200px;
	padding: 22px 22px 24px;
	border-radius: 30px;
	background: var(--mm-card);
	box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.45);
	color: var(--mm-text) !important;
	transition: transform 0.2s;
}
.mm-kcard:active { transform: scale(0.985); }
.mm-kcard__top { display: flex; align-items: center; justify-content: space-between; }
.mm-kcard__icon { width: 64px; height: 64px; flex: none; border-radius: 20px; background: var(--mm-mint); color: var(--mm-dark); display: flex; align-items: center; justify-content: center; }
.mm-kcard__text { display: grid; gap: 6px; min-width: 0; margin-top: auto; }
.mm-kcard__text strong { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
.mm-kcard__text span { font-size: 16px; line-height: 1.45; font-weight: 500; color: var(--mm-text-2); }
.mm-kcard__go { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--mm-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.mm-kden {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 104px;
	padding: 14px 16px;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff !important;
	transition: transform 0.2s;
}
.mm-kden:active { transform: scale(0.985); }
.mm-kden__map { width: 72px; height: 72px; flex: none; border-radius: 18px; object-fit: cover; background: var(--mm-card); }
.mm-kden__text { flex: 1; display: grid; gap: 4px; min-width: 0; }
.mm-kden__text strong { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
.mm-kden__text span { font-size: 16px; line-height: 1.35; font-weight: 500; color: #e4fbe9; }
.mm-kden__open { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 13px 22px; border: 2px solid #fff; border-radius: var(--mm-r-full); font-size: 18px; font-weight: 800; }
.mm-toast {
	position: fixed;
	inset-inline: 24px;
	bottom: 28px;
	z-index: 60;
	max-width: 520px;
	margin-inline: auto;
	padding: 16px 22px;
	border-radius: var(--mm-r-xl);
	background: var(--mm-card);
	box-shadow: var(--mm-shadow-float);
	color: var(--mm-text);
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	animation: mm-toast-in 0.3s ease-out;
}
.mm-toast[hidden] { display: none; }
@keyframes mm-toast-in { from { opacity: 0; transform: translateY(12px); } }

.mm-kcardwhite {
	width: 100%;
	padding: 44px 40px;
	border-radius: 36px;
	background: var(--mm-card);
	box-shadow: var(--mm-shadow-float);
	text-align: center;
}
.mm-kcardwhite__title { font-size: 36px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.mm-kcardwhite__hello { margin-top: 12px; font-size: 22px; line-height: 1.4; font-weight: 800; color: var(--mm-primary-pressed); }
.mm-kframe { width: 430px; max-width: 100%; margin: 32px auto 0; padding: 10px; border: 2px solid var(--mm-light); border-radius: 48px; }
.mm-kframe__in { padding: 14px; border: 6px solid var(--mm-bright); border-radius: 40px; }
.mm-kframe__qr { display: flex; align-items: center; justify-content: center; padding: 34px; border: 1px solid var(--mm-border); border-radius: 28px; background: var(--mm-mint-50); color: var(--mm-dark); }
.mm-kframe__qr .mm-icon { stroke-width: 1.4; }
.mm-error--scan { margin: 24px auto 0; max-width: 520px; text-align: start; }
.mm-klink { display: block; margin-top: 28px; font-size: 18px; font-weight: 800; color: var(--mm-primary-pressed) !important; }
.mm-klink--btn { width: 100%; padding: 14px; border: 0; background: none; cursor: pointer; text-align: center; font-size: 16px; }
.mm-klink:hover { text-decoration: underline; }
.mm-kwait { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--mm-muted); }
.mm-kwait i { width: 10px; height: 10px; border-radius: 50%; background: var(--mm-bright); animation: mm-pulse 1.4s ease-in-out infinite; }
@keyframes mm-pulse { 50% { opacity: 0.25; } }

/* Rating step */
.mm-kcardwhite form { text-align: start; }
.mm-kcardwhite form .mm-kcardwhite__title,
.mm-kcardwhite form .mm-kcardwhite__hello { text-align: center; }
.mm-field--stars { margin-block: 28px 32px; }
.mm-field--stars .mm-stars { justify-content: center; gap: 14px; }
.mm-field--stars .mm-error { margin-top: 12px; }
.mm-field--stars .mm-star { padding: 4px; }
.mm-klabel { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.mm-klabel-sub { margin-bottom: 12px; font-size: 16px; font-weight: 500; color: var(--mm-text-2); }
.mm-kcardwhite .mm-textarea { min-height: 190px; padding: 18px 20px; border-radius: 20px; font-size: 18px; font-weight: 500; }
.mm-kcardwhite .mm-btn { padding-block: 18px; font-size: 18px; }
.mm-kcardwhite .mm-sugg { padding: 9px 16px; font-size: 15px; }
.mm-kcardwhite .mm-sugg.is-on { padding: 8px 15px; }
.mm-k__scanner { position: fixed; inset-inline-start: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Guest form at kiosk size: dark frame, mint-white panel with the same hero + card as /app/tamu */
.mm-k--tamu { align-items: stretch; justify-content: flex-start; gap: 24px; padding: 40px 48px; }
.mm-k__panel { flex: 1; overflow: hidden; border-radius: 40px; background: var(--mm-canvas); padding-bottom: var(--mm-s4); }
.mm-k__panel .mm-hero { padding-top: var(--mm-s6); padding-inline: 40px; }
.mm-k__panel .mm-main { padding-inline: 34px; }
/* Kiosk is full-bleed (the device IS the screen); on a wider desktop window it stays a centred 766px column. */
@media (min-width: 480px) {
	.mm-kiosk .mm-app { min-height: 100dvh; border-radius: 0; box-shadow: none; }
	.mm-screen-kiosk { padding-block: 0; }
}
.mm-k__nav .mm-lang { min-width: 200px; max-width: none; }
.mm-error--scan p { font-size: 15px; }

/* ---------- Thank-you with poster (mobile /app/terima-kasih and kiosk), countdown ---------- */
.mm-thanks .mm-app,
.mm-kthanks .mm-app { background: var(--mm-card); }
.mm-thanks .mm-blob,
.mm-kthanks .mm-blob { display: none; }
html:has(.mm-kthanks),
.mm-kthanks.mm-screen-kiosk,
.mm-kthanks.mm-screen-tablet { background: var(--mm-card); }
.mm-page--poster,
.mm-kt { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
@media (min-width: 480px) {
	.mm-page--poster { height: calc(100vh - 48px); height: calc(100dvh - 48px); }
}
.mm-poster { flex: 1; min-height: 0; display: flex; padding: 16px 16px 0; }
.mm-poster img { width: 100%; height: 100%; object-fit: contain; }
.mm-actions--poster { padding: 8px var(--mm-s4) max(var(--mm-s5), env(safe-area-inset-bottom, 0px)); gap: var(--mm-s4); }
.mm-count { display: grid; justify-items: center; gap: 10px; }
.mm-count__text { font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--mm-text-3); text-align: center; }
.mm-count__bar { width: 78%; height: 6px; border-radius: var(--mm-r-full); background: var(--mm-mint); overflow: hidden; }
.mm-count__fill { display: block; height: 100%; border-radius: inherit; background: var(--mm-primary); transform-origin: left center; animation: mm-count var(--mm-count-secs, 8s) linear forwards; }
[dir="rtl"] .mm-count__fill { transform-origin: right center; }
@keyframes mm-count { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
	.mm-count__fill { animation: none; transform: scaleX(var(--mm-left, 1)); }
}
.mm-kt { display: flex; flex-direction: column; padding: 0; color: var(--mm-text) !important; -webkit-tap-highlight-color: transparent; }
.mm-kt .mm-poster { padding: 24px 24px 0; }
.mm-kt__bar { display: grid; justify-items: center; gap: 12px; padding: 20px 48px 32px; }
.mm-kt .mm-count { gap: 14px; width: 100%; }
.mm-kt .mm-count__text { font-size: 20px; }
.mm-kt .mm-count__bar { width: 62%; height: 8px; }
.mm-kt__now { padding: 8px 18px; font-size: 16px; font-weight: 800; text-decoration: underline; color: var(--mm-primary-pressed); }
.mm-actions--user .mm-btn--ghost { font-size: 14px; font-weight: 800; }
.mm-actions--user .mm-btn--ghost .mm-btn__label { text-decoration: underline; }

/* ---------- Bottom nav (logged-in tabs: Denah | Akun) ---------- */
:root { --mm-bnav-h: 60px; }
.mm-bottom-nav {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 40;
	display: flex;
	width: 100%;
	max-width: 395px;
	min-height: calc(var(--mm-bnav-h) + env(safe-area-inset-bottom, 0px));
	margin-inline: auto;
	padding: 0 var(--mm-s4) env(safe-area-inset-bottom, 0px);
	border-top: 1px solid var(--mm-border);
	background: var(--mm-card);
	box-shadow: 0 -8px 25px -5px rgba(21, 128, 61, 0.07), 0 -4px 10px -6px rgba(13, 38, 24, 0.04);
}
.mm-bottom-nav__tab {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	color: var(--mm-muted);
	font-size: 12px;
	line-height: 1.3;
	font-weight: 700;
}
.mm-bottom-nav__tab.is-active { color: var(--mm-primary); }
.mm-bottom-nav__tab .mm-icon { stroke-width: 2.2; }
.mm-page--akun .mm-main { padding-bottom: calc(36px + var(--mm-bnav-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 480px) {
	.mm-bottom-nav { bottom: 24px; border-radius: 0 0 var(--mm-r-modal) var(--mm-r-modal); }
}

/* ---------- Denah (floor map): /app/denah ---------- */
/* 1.6.0: the page scrolls (top bar, floor switch, search, cards, featured row, map, list); only the map pans and the sheets scroll inside themselves. */
.mm-denah .mm-blob { display: none; }
.mm-page--denah { --mm-map-h: 460px; padding-bottom: calc(var(--mm-bnav-h) + env(safe-area-inset-bottom, 0px)); } /* the Koleksi Museum card sits flush on the bottom nav */
.mm-page--denah.mm-page--public { padding-bottom: env(safe-area-inset-bottom, 0px); } /* logged out: no bottom nav */
.mm-denah .mm-denah__stage { flex: 1 0 auto; height: auto; min-height: var(--mm-map-h); } /* the map fills the screen down to the nav (kiosk: to the bottom edge); the page only scrolls while Koleksi Unggulan is open */
.mm-denah__nav { padding-block: 16px 8px; flex: none; }
.mm-denah__nav .mm-nav__title { font-size: 16px; }
.mm-nav__help { color: var(--mm-primary-pressed); background: var(--mm-mint-50); cursor: pointer; }
.mm-denah__finder { padding: 4px var(--mm-s4) 0; }
.mm-denah__stage { position: relative; flex: none; height: var(--mm-map-h); margin-top: var(--mm-s4); overflow: hidden; background: linear-gradient(180deg, #e7fbee, #d9f8e3); }

.mm-denah__view { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; direction: ltr; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.mm-denah__view.is-zoomed { touch-action: none; } /* zoomed in: a finger pans the map; at fit size it scrolls the page */
.mm-denah__view:active { cursor: grabbing; }
.mm-denah__world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; visibility: hidden; }
.mm-denah__world.is-ready { visibility: visible; }
.mm-denah__map { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }

/* Floor switch + search */
.mm-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--mm-border); border-radius: var(--mm-r-full); background: rgba(248, 252, 250, 0.92); }
.mm-seg--3 { grid-template-columns: repeat(3, 1fr); }
.mm-seg__btn { padding: 9px 8px; border: 0; border-radius: var(--mm-r-full); background: none; color: var(--mm-text-3); font-size: 14px; line-height: 1.3; font-weight: 800; cursor: pointer; transition: background 0.28s, color 0.28s, box-shadow 0.28s; }
.mm-seg__btn.is-active { background: var(--mm-primary); color: #fff; box-shadow: var(--mm-shadow-pill); }
.mm-denah__finder .mm-search { margin: 8px 0 0; }
.mm-input[type="search"]::-webkit-search-cancel-button { appearance: none; }

/* Cards: Temukan Minatmu | Video Tur (soon = D09b) */
.mm-quick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--mm-s3); padding: var(--mm-s3) var(--mm-s4) 0; }
.mm-quick__card { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px; border: 1px solid var(--mm-border); border-radius: 22px; background: var(--mm-card); box-shadow: var(--mm-shadow-card); text-align: start; cursor: pointer; }
.mm-quick__card--quiz { border-color: var(--mm-border-soft); background: var(--mm-mint-50); }
.mm-quick__card strong { display: block; font-size: 13px; line-height: 1.25; font-weight: 800; }
.mm-quick__card small { display: block; margin-top: 2px; font-size: 11px; line-height: 1.3; font-weight: 500; color: var(--mm-text-3); }
.mm-quick__icon { width: 38px; height: 38px; flex: none; border-radius: 13px; background: var(--mm-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.mm-quick__card--video .mm-quick__icon { background: var(--mm-dark); }
.mm-quick__card.is-soon { border-color: var(--mm-border); background: #f2f7f4; box-shadow: none; cursor: default; }
.mm-quick__card.is-soon strong { color: var(--mm-muted); }
.mm-quick__card.is-soon .mm-quick__icon { background: #e1ebe5; color: var(--mm-muted); }
.mm-quick__card em { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: var(--mm-r-full); background: var(--mm-warn-bg); color: #b45309; font-size: 12px; line-height: 1.3; font-style: normal; font-weight: 800; }

/* Koleksi Unggulan (thumbs-up = featured) */
.mm-feat { padding: var(--mm-s5) 0 0; }
.mm-feat__head { display: flex; align-items: center; gap: 8px; padding-inline: var(--mm-s4); }
.mm-feat__icon { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--mm-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.mm-feat__head h2 { min-width: 0; font-size: 16px; white-space: nowrap; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.mm-feat__badge { flex: none; padding: 4px 8px; border-radius: var(--mm-r-full); background: var(--mm-mint); color: var(--mm-primary-pressed); font-size: 11px; line-height: 1.3; font-weight: 800; white-space: nowrap; }
.mm-feat__count { width: 28px; height: 28px; flex: none; margin-inline-start: auto; border-radius: 50%; background: var(--mm-mint); color: var(--mm-primary-pressed); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mm-feat__toggle { width: 36px; height: 36px; flex: none; padding: 0; border: 1px solid var(--mm-border); border-radius: 50%; background: var(--mm-card); color: var(--mm-text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mm-feat__toggle .mm-icon { transition: transform 0.28s; }
.mm-feat__toggle[aria-expanded="false"] .mm-icon { transform: rotate(180deg); }
.mm-feat__body .mm-quick { padding-top: var(--mm-s2); } /* the Minat / Video Tur row sits under the featured cards, inside the collapsible body */
.mm-feat__row { display: flex; gap: var(--mm-s3); padding: var(--mm-s3) var(--mm-s4) 4px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--mm-s4); scrollbar-width: none; }
.mm-feat__row::-webkit-scrollbar { display: none; }
.mm-fcard { flex: none; width: 188px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 0 12px; border: 1px solid var(--mm-border); border-radius: 22px; background: var(--mm-card); box-shadow: var(--mm-shadow-card); text-align: start; overflow: hidden; cursor: pointer; scroll-snap-align: start; }
.mm-fcard__img { position: relative; display: block; width: 100%; }
.mm-fcard__img img { display: block; width: 100%; height: auto; aspect-ratio: 260 / 164; object-fit: cover; background: var(--mm-chip); }
.mm-fcard strong { padding-inline: 12px; font-size: 15px; line-height: 1.3; font-weight: 800; }
.mm-fcard .mm-crumb { margin-inline: 12px; max-width: calc(100% - 24px); }
.mm-fbadge { position: absolute; top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border: 2px solid #fff; border-radius: 50%; background: var(--mm-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.mm-fbadge--wide { border-radius: var(--mm-r-full); top: 12px; inset-inline: 12px auto; width: auto; height: auto; gap: 8px; padding: 6px 14px 6px 10px; padding-inline: 10px 14px; border-color: var(--mm-primary); background: var(--mm-card); color: var(--mm-primary-pressed); font-size: 14px; line-height: 1.3; font-weight: 800; }
.mm-fcard__bm { position: absolute; top: 8px; inset-inline-start: 8px; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 50%; background: var(--mm-warn-icon); color: #fff; display: flex; align-items: center; justify-content: center; }
.mm-crumb { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 10px; border: 1px solid var(--mm-border); border-radius: var(--mm-r-full); background: var(--mm-input); font-size: 12px; line-height: 1.3; font-weight: 700; color: var(--mm-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-crumb i { width: 10px; height: 10px; flex: none; border-radius: 50%; }
.mm-crumb__lib { background: var(--mm-primary); }

/* Map overlays: Bookmark button, zone chip / exit banner, controls, hint */
.mm-bmbtn { position: absolute; top: 12px; inset-inline-start: var(--mm-s4); z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px 8px 14px; padding-inline: 14px 10px; border: 1px solid var(--mm-border); border-radius: var(--mm-r-full); background: var(--mm-card); box-shadow: var(--mm-shadow-card); font-size: 14px; font-weight: 800; cursor: pointer; }
.mm-bmbtn b { min-width: 24px; height: 24px; padding-inline: 6px; border-radius: var(--mm-r-full); background: var(--mm-primary); color: #fff; font-size: 12px; line-height: 24px; text-align: center; font-weight: 800; }
.mm-bmbtn b[data-zero] { background: var(--mm-border); color: var(--mm-text-2); }
[data-denah][data-mode] .mm-bmbtn { display: none; }
.mm-denah__zonebar,
.mm-denah__banner { position: absolute; top: 12px; inset-inline: var(--mm-s4); z-index: 6; display: flex; align-items: center; gap: var(--mm-s3); border-radius: var(--mm-r-full); box-shadow: var(--mm-shadow-float); animation: mm-sheet-in 0.28s cubic-bezier(0.16, 1, 0.3, 1); }
.mm-denah__zonebar { padding: 6px 6px 6px 8px; padding-inline: 8px 6px; border: 1px solid var(--mm-border); background: var(--mm-card); font-size: 15px; font-weight: 800; }
.mm-denah__zonebar-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-denah__x { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: var(--mm-mint-50); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mm-denah__banner { padding: 8px 20px 8px 8px; padding-inline: 8px 20px; background: var(--mm-dark); color: #fff; }
.mm-denah__banner strong { display: block; font-size: 15px; line-height: 1.3; font-weight: 800; }
.mm-denah__banner small { display: block; font-size: 13px; line-height: 1.3; font-weight: 500; color: var(--mm-border); }
.mm-denah__banner-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--mm-danger); display: flex; align-items: center; justify-content: center; }
.mm-zbadge { --zc: var(--mm-mint); --zi: var(--mm-primary-pressed); width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--zc); color: var(--zi); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mm-denah__zonebar .mm-zbadge { border-radius: 50%; }
.mm-zbadge--sm { width: 28px; height: 28px; border-radius: 9px; font-size: 11px; }

.mm-denah__bottom { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none; }
.mm-denah__bottom > * { pointer-events: auto; }
.mm-denah__ctl { align-self: flex-end; display: grid; gap: 8px; margin: 0 var(--mm-s4) 12px; margin-inline: auto var(--mm-s4); }
[data-denah][data-mode="zone"] .mm-denah__ctl,
[data-denah][data-mode="exit"] .mm-denah__ctl { position: absolute; top: 72px; inset-inline-end: 0; margin: 0 var(--mm-s4); }
[data-denah][data-mode="exit"] .mm-denah__ctl { top: 84px; }
.mm-fab { width: 42px; height: 42px; padding: 0; border: 1px solid var(--mm-border); border-radius: 50%; background: var(--mm-card); color: var(--mm-text); box-shadow: var(--mm-shadow-card); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mm-fab:active { transform: scale(0.96); }
.mm-fab.is-active { border-color: var(--mm-danger); background: var(--mm-danger); color: #fff; }
.mm-denah__hint { position: absolute; bottom: 12px; inset-inline-start: 50%; margin: 0; padding: 8px 18px; border-radius: var(--mm-r-full); background: var(--mm-dark); color: #fff; box-shadow: var(--mm-shadow-float); font-size: 13px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); transition: opacity 0.5s; pointer-events: none; }
[dir="rtl"] .mm-denah__hint { transform: translateX(50%); }
.mm-denah__hint.is-gone { opacity: 0; }
.mm-denah__back { padding: 0 var(--mm-s4) var(--mm-s4); }
.mm-denah__hint--stack { position: static; align-self: center; margin: 0 0 10px; max-height: 40px; overflow: hidden; transform: none; transition: opacity 0.5s, max-height 0.5s, margin 0.5s, padding 0.5s; } /* phone: the hint sits above the Koleksi Museum card, not over it */
[dir="rtl"] .mm-denah__hint--stack { transform: none; }
.mm-denah__hint--stack.is-gone { max-height: 0; margin: 0; padding-block: 0; }

/* "Koleksi Museum" card at the bottom of the map (phone): handle, title + count, zone chips (Lantai 2: library + facilities) */
.mm-denah__peek { padding: 8px var(--mm-s4) var(--mm-s3); border: 1px solid var(--mm-mint); border-bottom: 0; border-radius: var(--mm-r-modal) var(--mm-r-modal) 0 0; background: var(--mm-card); box-shadow: 0 -8px 25px -5px rgba(21, 128, 61, 0.07), 0 -4px 10px -6px rgba(13, 38, 24, 0.04); }
.mm-denah__peek[hidden] { display: none; }
.mm-denah__peek-head { display: flex; align-items: center; justify-content: space-between; gap: var(--mm-s3); width: 100%; padding: 4px 0 8px; border: 0; background: none; text-align: start; cursor: pointer; }
.mm-denah__peek-head strong { display: block; font-size: 18px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.mm-denah__peek-head small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--mm-text-3); }
.mm-denah__peek-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--mm-mint-50); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; }
.mm-denah__chips { display: flex; gap: var(--mm-s2); margin-inline: calc(var(--mm-s4) * -1); padding: 2px var(--mm-s4) 4px; overflow-x: auto; scrollbar-width: none; }
.mm-denah__chips::-webkit-scrollbar { display: none; }
.mm-zchip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--mm-border); border-radius: var(--mm-r-full); background: var(--mm-input); font-size: 13px; line-height: 1.3; font-weight: 700; white-space: nowrap; cursor: pointer; }
.mm-zchip i { width: 12px; height: 12px; border-radius: 50%; }
.mm-denah__back .mm-btn { justify-content: center; padding-block: 15px; }
.mm-denah__back .mm-btn__label { flex: none; padding: 0; text-align: center; }
.mm-sheet__handle { display: block; width: 36px; height: 4px; margin: 0 auto 8px; border-radius: var(--mm-r-full); background: var(--mm-border-soft); flex: none; }

/* Semua Koleksi */
.mm-all { padding: var(--mm-s6) var(--mm-s4) 0; }
.mm-all__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--mm-s3); margin-bottom: var(--mm-s3); }
.mm-all__head h2,
.mm-all__head h3 { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.mm-all__head span { font-size: 14px; font-weight: 700; color: var(--mm-primary-pressed); }
.mm-all__list,
.mm-bmlist { display: grid; gap: var(--mm-s3); }
.mm-lrow { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--mm-mint); border-radius: 22px; background: var(--mm-card); box-shadow: var(--mm-shadow-card); }
.mm-lrow[hidden] { display: none; }
.mm-lrow__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--mm-s3); padding: 0; border: 0; background: none; text-align: start; cursor: pointer; }
.mm-lrow__main img { width: 64px; height: 64px; flex: none; border-radius: 16px; object-fit: cover; background: var(--mm-chip); }
.mm-lrow__text { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 6px; }
.mm-lrow__text strong { font-size: 16px; line-height: 1.3; font-weight: 800; }
.mm-lrow__feat { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-inline-start: 6px; border-radius: 50%; background: var(--mm-primary); color: #fff; vertical-align: 1px; }
.mm-lrow__chips,
.mm-peek__chips,
.mm-detail__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mm-lchip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--mm-border); border-radius: var(--mm-r-full); background: var(--mm-mint-50); color: var(--mm-primary-pressed); font-size: 12px; line-height: 1.3; font-weight: 700; }
.mm-lchip .mm-icon { stroke-width: 2.2; }
.mm-detail__chips .mm-lchip { padding: 8px 14px; font-size: 14px; gap: 8px; }
.mm-bm { width: 44px; height: 44px; flex: none; padding: 0; border: 1.5px solid var(--mm-border); border-radius: 50%; background: var(--mm-card); color: var(--mm-text-3); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mm-bm .mm-icon--bookmark-fill,
.mm-bm[aria-pressed="true"] .mm-icon--bookmark { display: none; }
.mm-bm[aria-pressed="true"] .mm-icon--bookmark-fill { display: block; }
.mm-bm[aria-pressed="true"] { border-color: var(--mm-primary); background: var(--mm-mint-50); color: var(--mm-primary-pressed); }
.mm-bm--text { width: auto; height: auto; border-radius: var(--mm-r-full); gap: 8px; padding: 9px 18px; border-color: var(--mm-primary); background: var(--mm-mint-50); color: var(--mm-primary-pressed); font-size: 14px; line-height: 1.3; font-weight: 800; }
.mm-bm--text[aria-pressed="true"] { background: var(--mm-primary); color: #fff; }

/* Pins: placed in the world, counter-scaled by --inv (set by denah.js) so they keep their screen size */
.mm-pin { position: absolute; z-index: 2; display: flex; align-items: center; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 700; cursor: pointer; transform: translate(-50%, -50%) translate(calc(var(--dx, 0px) * var(--inv, 1)), calc(var(--dy, 0px) * var(--inv, 1))) scale(var(--inv, 1)); -webkit-tap-highlight-color: transparent; }
[dir="rtl"] .mm-pin { direction: rtl; }
.mm-pin--item { gap: 8px; max-width: none; padding: 2px 11px 2px 2px; padding-inline: 2px 11px; font-size: 12px; border-radius: var(--mm-r-full); background: var(--mm-card); box-shadow: 0 2px 8px rgba(13, 38, 24, 0.22); z-index: 4; }
.mm-pin__num { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--zc); color: var(--zi); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mm-pin__txt { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mm-text); }
.mm-pin--fac,
.mm-pin--lib { flex-direction: column; }
.mm-pin__disc { width: 28px; height: 28px; border: 1.5px solid var(--mm-border); border-radius: 50%; background: var(--mm-card); color: var(--mm-dark); box-shadow: 0 2px 6px rgba(13, 38, 24, 0.22); display: flex; align-items: center; justify-content: center; }
.mm-pin--lib .mm-pin__disc { width: 36px; height: 36px; border: 3px solid #fff; background: var(--mm-primary); color: #fff; }
.mm-pin__label { position: absolute; top: 100%; inset-inline-start: 50%; display: none; margin-top: 6px; padding: 4px 12px; border-radius: var(--mm-r-full); background: var(--mm-card); box-shadow: 0 2px 8px rgba(13, 38, 24, 0.22); color: var(--mm-text); font-size: 13px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); }
[dir="rtl"] .mm-pin__label { transform: translateX(50%); }
.mm-pin--lib .mm-pin__label,
.mm-pin.is-named .mm-pin__label { display: block; }
.mm-pin.is-named { z-index: 6; }
.mm-pin.is-pulse { z-index: 8; }
/* Featured (thumbs-up) and bookmarked (bookmark) markers sit on the pin's corners */
.mm-pin__feat,
.mm-pin__bm { position: absolute; top: -9px; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.mm-pin__feat { inset-inline-end: -7px; background: var(--mm-primary); }
.mm-pin__bm { inset-inline-start: -7px; background: var(--mm-warn-icon); }

/* Fit size: items are small dots in their zone colour (their featured / bookmark markers stay); zoomed in they become pills */
.mm-pin--item.is-dot { width: 24px; height: 24px; padding: 0; justify-content: center; border: 0; background: radial-gradient(circle, var(--zc) 0 6px, #fff 6px 8px, transparent 8.5px); box-shadow: none; filter: drop-shadow(0 1px 3px rgba(13, 38, 24, 0.3)); } /* 24px target (WCAG 2.5.8), the visible dot stays 16px */
.mm-pin--item.is-dot .mm-pin__num,
.mm-pin--item.is-dot .mm-pin__txt { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* the dot has no visible text, the name stays for screen readers */
.mm-pin--item.is-dot .mm-pin__feat,
.mm-pin--item.is-dot .mm-pin__bm { top: -7px; }
.mm-pin--item.is-dot .mm-pin__feat { inset-inline-end: -3px; }
.mm-pin--item.is-dot .mm-pin__bm { inset-inline-start: -3px; }

/* Exit mode: the exit pulses, everything else fades */
.mm-denah__world.is-exit .mm-pin { opacity: 0.4; }
.mm-denah__world.is-exit .mm-pin.is-target { opacity: 1; z-index: 7; }
.mm-pin.is-target .mm-pin__disc { width: 44px; height: 44px; border: 3px solid #fff; background: var(--mm-danger); color: #fff; box-shadow: 0 0 0 12px rgba(244, 63, 94, 0.18), 0 2px 8px rgba(13, 38, 24, 0.3); }
.mm-pin.is-target .mm-pin__label { display: block; color: var(--mm-danger-text); }
.mm-pin.is-target::before { content: ""; position: absolute; top: 50%; inset-inline-start: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; background: rgba(244, 63, 94, 0.28); pointer-events: none; animation: mm-ring 1.8s ease-out infinite; }
[dir="rtl"] .mm-pin.is-target::before { margin-inline-start: 0; margin-right: -56px; }
/* Selecting an item: three rings expand from the pin (1.2 s each, twice); without motion one static ring stays for a moment */
.mm-ripple { position: absolute; top: 50%; inset-inline-start: 50%; width: 0; height: 0; pointer-events: none; }
.mm-ripple i { position: absolute; top: -34px; left: -34px; width: 68px; height: 68px; border: 3px solid rgba(21, 128, 61, 0.85); border-radius: 50%; background: rgba(34, 197, 94, 0.14); opacity: 0; animation: mm-ripple 1.2s ease-out 2 both; animation-delay: calc(var(--i) * 0.3s); }
[dir="rtl"] .mm-ripple i { left: auto; right: -34px; }
@keyframes mm-ring { from { transform: scale(0.45); opacity: 1; } to { transform: scale(1.1); opacity: 0; } }
@keyframes mm-ripple { from { transform: scale(0.35); opacity: 0.95; } to { transform: scale(1.9); opacity: 0; } }

/* Selected item card (D02): above the bottom nav, no scrim */
.mm-peek { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: flex; justify-content: center; pointer-events: none; }
.mm-peek--nav { bottom: calc(var(--mm-bnav-h) + env(safe-area-inset-bottom, 0px)); }
.mm-peek[hidden] { display: none; }
.mm-peek__panel { position: relative; width: 100%; max-width: 395px; padding: 8px var(--mm-s5) var(--mm-s4); border: 1px solid var(--mm-mint); border-bottom: 0; border-radius: var(--mm-r-modal) var(--mm-r-modal) 0 0; background: var(--mm-card); box-shadow: 0 -8px 25px -5px rgba(21, 128, 61, 0.12), 0 -4px 10px -6px rgba(13, 38, 24, 0.08); pointer-events: auto; animation: mm-sheet-in 0.28s cubic-bezier(0.16, 1, 0.3, 1); }
.mm-peek__x { position: absolute; top: 12px; inset-inline-end: 14px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--mm-chip); color: var(--mm-text-3); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mm-peek__top { display: flex; gap: var(--mm-s3); align-items: flex-start; margin-top: 4px; }
.mm-peek__top img { width: 96px; height: 96px; flex: none; border-radius: 18px; object-fit: cover; background: var(--mm-chip); }
.mm-peek__text { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 4px; padding-inline-end: 28px; }
.mm-peek__text h2 { font-size: 18px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.mm-peek__text p { font-size: 13px; line-height: 1.35; color: var(--mm-text-3); }
.mm-peek__body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: var(--mm-s3); font-size: 14px; line-height: 1.55; color: var(--mm-text-2); }
.mm-peek__actions { display: flex; align-items: center; gap: 10px; margin-top: var(--mm-s3); }
.mm-peek__actions .mm-btn { width: auto; flex: 1.2; min-width: 0; padding: 12px 18px; }
.mm-peek__actions .mm-listen { flex: 1; min-width: 0; justify-content: center; margin-top: 0; padding: 11px 12px; }
.mm-peek__actions .mm-bm { width: 48px; height: 48px; }
@media (min-width: 480px) {
	.mm-peek--nav { bottom: calc(24px + var(--mm-bnav-h)); }
}

/* Sheets: detail, legend, bookmarks, download (shell from .mm-sheet) */
.mm-sheet--denah .mm-sheet__panel { display: flex; flex-direction: column; max-height: min(92vh, 820px); max-height: min(92dvh, 820px); padding: 12px 0 env(safe-area-inset-bottom, 0px); }
.mm-sheet--list .mm-sheet__panel { height: min(90vh, 760px); height: min(90dvh, 760px); }
.mm-denah-scroll { flex: 1; min-height: 0; padding: 0 var(--mm-s5) var(--mm-s5); overflow-y: auto; overscroll-behavior: contain; }
.mm-sheet__head--top { align-items: flex-start; gap: var(--mm-s3); padding-block: 4px; margin-bottom: var(--mm-s3); }
.mm-sheet--list .mm-sheet__head { flex: none; margin-inline: var(--mm-s5); }
.mm-search--sheet { flex: none; margin: 0 var(--mm-s5) var(--mm-s3); }
.mm-sheet--detail .mm-sheet__head--top,
.mm-sheet--legend .mm-sheet__head--top,
.mm-sheet--dl .mm-sheet__head--top { position: sticky; top: 0; z-index: 1; background: var(--mm-card); }
.mm-sheet--denah .mm-sheet__head h2 { font-size: 24px; }
.mm-sheet__sub { margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--mm-text-3); }

.mm-detail__media { position: relative; }
.mm-detail__img { display: block; width: 100%; height: auto; aspect-ratio: 690 / 434; margin: 8px 0 var(--mm-s4); border-radius: var(--mm-r-xl); object-fit: cover; background: var(--mm-chip); }
.mm-detail__title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.mm-detail__sub { margin-top: 6px; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--mm-text-3); }
.mm-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mm-detail__actions .mm-listen { margin-top: 0; }
.mm-listen { display: inline-flex; align-items: center; gap: var(--mm-s2); margin-top: 14px; padding: 9px 18px; border: 1.5px solid var(--mm-dark); border-radius: var(--mm-r-full); background: none; font-size: 14px; line-height: 1.3; font-weight: 800; cursor: pointer; }
.mm-listen .mm-icon--stop { display: none; }
.mm-listen.is-on { background: var(--mm-dark); color: #fff; }
.mm-listen.is-on .mm-icon--stop { display: block; }
.mm-listen.is-on .mm-icon--speaker { display: none; }
.mm-detail__body { margin-top: var(--mm-s4); font-size: 15px; line-height: 1.7; color: var(--mm-text-2); }
.mm-info--fact { margin-top: var(--mm-s4); padding: var(--mm-s4); font-size: 14px; line-height: 1.5; }
.mm-info--fact strong { font-size: 15px; }
.mm-info--fact .mm-info__icon { width: 28px; height: 28px; }
.mm-info--fact .mm-info__icon .mm-icon { fill: currentColor; }
.mm-detail__cta { margin-top: var(--mm-s5); padding-bottom: var(--mm-s2); }
.mm-sheet .mm-btn--dark .mm-btn__label { padding: 0; text-align: center; }

.mm-legend__h { margin: var(--mm-s5) 0 10px; font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mm-text-3); }
.mm-legend__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--mm-s4); }
.mm-legend__row { display: flex; align-items: center; gap: var(--mm-s3); min-width: 0; font-size: 15px; line-height: 1.3; font-weight: 700; }
.mm-legend__row--zone { gap: 10px; padding: 0; border: 0; background: none; font-size: 14px; text-align: start; cursor: pointer; }
.mm-legend__icon { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--mm-sage); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; }
.mm-legend__icon--feat { border-radius: 50%; background: var(--mm-primary); color: #fff; }
.mm-legend__icon--bm { border-radius: 50%; background: var(--mm-warn-icon); color: #fff; }

/* Bookmarks (D04 / D04b) */
.mm-bmnote { display: flex; align-items: flex-start; gap: var(--mm-s3); margin-bottom: var(--mm-s5); padding: 14px; border: 1px solid var(--mm-border-soft); border-radius: 20px; background: var(--mm-mint-50); color: var(--mm-primary-pressed); }
.mm-bmnote p { font-size: 14px; line-height: 1.5; color: var(--mm-text-2); }
.mm-bmnote a { display: inline-block; font-weight: 800; color: var(--mm-primary-pressed); text-decoration: underline; }
.mm-bmempty { display: grid; justify-items: center; gap: 6px; padding: var(--mm-s6) var(--mm-s5); border: 2px dashed var(--mm-border); border-radius: 24px; text-align: center; }
.mm-bmempty strong { font-size: 17px; font-weight: 800; }
.mm-bmempty p { font-size: 14px; line-height: 1.5; color: var(--mm-text-2); }
.mm-bmempty__icon { width: 48px; height: 48px; margin-bottom: 4px; border-radius: 16px; background: var(--mm-mint); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; }
.mm-bm__actions { display: grid; gap: var(--mm-s3); margin-top: var(--mm-s5); }
.mm-bm__actions .mm-btn { justify-content: center; padding-block: 15px; font-size: 15px; }
.mm-bm__actions .mm-btn__label { flex: none; padding: 0; text-align: center; }
.mm-bm__foot { margin-top: var(--mm-s4); text-align: center; font-size: 13px; line-height: 1.5; color: var(--mm-muted); }

/* Map download + offline (D05) */
.mm-switchrow { display: flex; align-items: center; justify-content: space-between; gap: var(--mm-s3); margin-top: var(--mm-s4); cursor: pointer; }
.mm-switchrow strong { display: block; font-size: 16px; line-height: 1.3; font-weight: 800; }
.mm-switchrow small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--mm-text-3); }
.mm-switch { position: relative; flex: none; appearance: none; -webkit-appearance: none; width: 52px; height: 30px; margin: 0; border-radius: var(--mm-r-full); background: var(--mm-border-ui); cursor: pointer; transition: background 0.2s; }
.mm-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(13, 38, 24, 0.3); transition: transform 0.2s; }
.mm-switch:checked { background: var(--mm-primary); }
.mm-switch:checked::after { transform: translateX(22px); }
[dir="rtl"] .mm-switch:checked::after { transform: translateX(-22px); }
.mm-dlprev { padding: 10px; border: 1px solid var(--mm-border); border-radius: 20px; background: var(--mm-card); }
.mm-dlprev canvas { display: block; width: 100%; height: auto; border-radius: 12px; }
.mm-detail__cta .mm-btn { justify-content: center; padding-block: 15px; font-size: 15px; }
.mm-detail__cta .mm-btn[data-d-dl-go] .mm-btn__label { flex: none; padding: 0; text-align: center; }
.mm-offline { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 14px; margin-top: var(--mm-s5); padding: var(--mm-s4); border: 1px solid var(--mm-border-soft); border-radius: 24px; background: var(--mm-mint-50); }
.mm-offline__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--mm-mint); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; }
.mm-offline strong { display: block; font-size: 17px; line-height: 1.3; font-weight: 800; }
.mm-offline p { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--mm-text-3); }
.mm-offline.is-ready p { color: var(--mm-primary-pressed); font-weight: 700; }
.mm-offline.is-fail p { color: var(--mm-danger-text); }
.mm-offline__btn { grid-column: 1 / -1; }
.mm-offline__btn .mm-btn { justify-content: center; padding-block: 13px; }
.mm-offline__btn .mm-btn__label { flex: none; padding: 0; text-align: center; }

/* First visit popup (D06) */
.mm-first .mm-modal__panel { max-width: 331px; padding: 28px 24px 22px; border-radius: 36px; text-align: center; }
.mm-first__art { position: relative; width: 132px; height: 132px; margin: 0 auto 16px; }
.mm-first__ring { position: absolute; inset: 0; border: 2px dashed var(--mm-bright); border-radius: 50%; }
.mm-first__disc { position: absolute; inset: 18px; border-radius: 50%; background: var(--mm-mint); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -6px rgba(22, 163, 74, 0.3); }
.mm-first__pin { position: absolute; top: 6px; inset-inline-end: 22px; color: var(--mm-primary); background: var(--mm-card); border-radius: 50%; }
.mm-first__burst { position: absolute; top: 2px; inset-inline-start: 12px; color: var(--mm-dark); }
.mm-first__title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.mm-first__sub { margin: 8px 0 var(--mm-s5); font-size: 15px; line-height: 1.5; color: var(--mm-text-2); }
.mm-first .mm-btn--primary { padding-block: 15px; }
.mm-first .mm-btn--ghost { margin-top: var(--mm-s2); font-size: 15px; }
.mm-first__never { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: var(--mm-s3); font-size: 14px; font-weight: 700; color: var(--mm-text-2); cursor: pointer; }
.mm-first__never input { position: absolute; opacity: 0; pointer-events: none; }
.mm-first__box { width: 24px; height: 24px; flex: none; border: 2px solid var(--mm-border-ui); border-radius: 8px; background: var(--mm-card); color: transparent; display: flex; align-items: center; justify-content: center; }
.mm-first__never input:checked + .mm-first__box { border-color: var(--mm-primary); background: var(--mm-primary); color: #fff; }
.mm-first__never input:focus-visible + .mm-first__box { outline: 3px solid var(--mm-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--mm-ring-gap); }

/* Video Tur modal (D09) */
.mm-modal--video .mm-modal__panel { max-width: 363px; padding: var(--mm-s4); }
.mm-vhead { display: flex; align-items: center; gap: var(--mm-s3); }
.mm-vhead__icon { width: 40px; height: 40px; border-radius: 14px; background: var(--mm-mint); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; }
.mm-vhead .mm-modal__title { font-size: 16px; color: var(--mm-primary-pressed); }
.mm-vplayer { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #000; }
.mm-vplayer iframe,
.mm-vplayer video { display: block; width: 100%; height: 100%; border: 0; }
.mm-vtitle { margin-top: var(--mm-s3); font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; }

/* Tutorial coachmarks (D07 / D08): spotlight + tooltip, built by denah-tools.js */
.mm-tour { position: fixed; inset: 0; z-index: 70; }
.mm-tour__spot { position: fixed; border-radius: 22px; box-shadow: 0 0 0 9999px rgba(13, 38, 24, 0.62), 0 0 0 3px #fff, 0 0 0 9px rgba(134, 239, 172, 0.55); transition: top 0.28s, left 0.28s, width 0.28s, height 0.28s; pointer-events: none; }
.mm-tour__tip { position: fixed; width: min(331px, calc(100vw - 32px)); padding: 18px 20px 16px; border-radius: 24px; background: var(--mm-card); box-shadow: var(--mm-shadow-float); }
.mm-tour__tip::before { content: ""; position: absolute; top: -8px; inset-inline-start: var(--ax, 40px); width: 16px; height: 16px; border-radius: 3px; background: var(--mm-card); transform: rotate(45deg); }
.mm-tour__tip.is-above::before { top: auto; bottom: -8px; }
.mm-tour__head { display: flex; align-items: center; gap: var(--mm-s3); }
.mm-tour__n { padding: 4px 10px; border-radius: var(--mm-r-full); background: var(--mm-mint); color: var(--mm-primary-pressed); font-size: 13px; font-weight: 800; }
.mm-tour__title { font-size: 19px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.mm-tour__text { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--mm-text-2); }
.mm-tour__foot { display: flex; align-items: center; gap: var(--mm-s3); margin-top: var(--mm-s4); }
.mm-tour__dots { display: flex; gap: 5px; margin-inline-end: auto; }
.mm-tour__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--mm-border); }
.mm-tour__dots i.is-on { width: 20px; border-radius: var(--mm-r-full); background: var(--mm-primary); }
.mm-tour__skip { padding: 8px 6px; border: 0; background: none; color: var(--mm-text-3); font-size: 15px; font-weight: 700; cursor: pointer; }
.mm-tour__next { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border: 0; border-radius: var(--mm-r-full); background: var(--mm-primary); color: #fff; box-shadow: var(--mm-shadow-pill); font-size: 15px; font-weight: 800; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
	.mm-pin.is-target::before, .mm-denah__zonebar, .mm-denah__banner, .mm-peek__panel { animation: none; }
	.mm-ripple i { animation: none; opacity: 0.7; transform: scale(1); }
	.mm-ripple i:nth-child(n + 2) { display: none; }
	.mm-tour__spot { transition: none; }
}

/* ---------- Kiosk Denah (/app/kios/denah, 766x1098): same page, scaled up; dark top bar like the other kiosk screens ---------- */
.mm-page--denah { --mm-kd-pad: 28px; }
.mm-denah__knav { padding: 22px var(--mm-kd-pad); background: var(--mm-dark); }
.mm-denah__knav .mm-nav__title { flex: 1; min-width: 0; color: #fff; font-size: 26px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* one line next to Kembali, Aksesibilitas and the language pill */
.mm-denah__knav .mm-k__back { padding: 16px 26px; font-size: 20px; min-height: 56px; }
.mm-denah__knav .mm-lang { min-height: 56px; padding-block: 12px; font-size: 18px; }
.mm-denah--kiosk .mm-seg { padding: 6px; }
.mm-denah--kiosk .mm-seg__btn { min-height: 56px; font-size: 21px; }
.mm-denah--kiosk .mm-input { min-height: 60px; font-size: 21px; padding-inline: 20px 44px; }
.mm-denah--kiosk .mm-control__icon + .mm-input { padding-inline-start: 56px; }
.mm-denah--kiosk .mm-control__icon { inset-inline-start: 20px; }
.mm-denah--kiosk .mm-control__icon svg { width: 24px; height: 24px; }
.mm-denah--kiosk .mm-denah__zonebar { padding: 8px 8px 8px 12px; padding-inline: 12px 8px; font-size: 22px; }
.mm-denah--kiosk .mm-denah__x { width: 56px; height: 56px; }
.mm-denah--kiosk .mm-zbadge { width: 48px; height: 48px; font-size: 18px; border-radius: 16px; }
.mm-denah--kiosk .mm-zbadge--sm { width: 40px; height: 40px; font-size: 15px; border-radius: 12px; }
.mm-denah--kiosk .mm-denah__banner { padding: 10px 28px 10px 10px; padding-inline: 10px 28px; }
.mm-denah--kiosk .mm-denah__banner strong { font-size: 22px; }
.mm-denah--kiosk .mm-denah__banner small { font-size: 17px; }
.mm-denah--kiosk .mm-denah__banner-icon { width: 60px; height: 60px; }
.mm-denah--kiosk .mm-fab { width: 64px; height: 64px; }
.mm-denah--kiosk .mm-fab svg { width: 30px; height: 30px; }
.mm-denah--kiosk .mm-denah__back { padding: 0 var(--mm-kd-pad) 28px; }
.mm-denah--kiosk .mm-denah__back .mm-btn { padding-block: 20px; font-size: 21px; min-height: 64px; }
.mm-denah--kiosk .mm-sheet__handle { width: 52px; height: 5px; margin-bottom: 10px; }
/* Pins and pills */
.mm-denah--kiosk .mm-pin { font-size: 17px; }
.mm-denah--kiosk .mm-pin--zone { width: 48px; height: 48px; font-size: 17px; }
.mm-denah--kiosk .mm-pin--item { gap: 10px; padding: 3px 16px 3px 3px; padding-inline: 3px 16px; font-size: 17px; }
.mm-denah--kiosk .mm-pin--item.is-dot { width: 34px; height: 34px; padding: 0; background: radial-gradient(circle, var(--zc) 0 10px, #fff 10px 13px, transparent 13.5px); }
.mm-denah--kiosk .mm-pin__num { width: 36px; height: 36px; font-size: 17px; }
.mm-denah--kiosk .mm-pin__txt { max-width: 240px; }
.mm-denah--kiosk .mm-pin__disc { width: 44px; height: 44px; }
.mm-denah--kiosk .mm-pin__disc svg { width: 24px; height: 24px; }
.mm-denah--kiosk .mm-pin--lib .mm-pin__disc { width: 52px; height: 52px; }
.mm-denah--kiosk .mm-pin__label { font-size: 17px; padding: 6px 16px; }
.mm-denah--kiosk .mm-pin.is-target .mm-pin__disc { width: 60px; height: 60px; }
/* Sheets: centred, up to 700px wide */
.mm-denah--kiosk .mm-sheet--denah .mm-sheet__panel { max-width: 700px; max-height: 90vh; max-height: 90dvh; padding-top: 18px; }
.mm-denah--kiosk .mm-denah-scroll { padding-inline: 32px; padding-bottom: 32px; }
.mm-denah--kiosk .mm-sheet__close { width: 56px; height: 56px; flex: none; }
.mm-denah--kiosk .mm-sheet__close svg { width: 22px; height: 22px; }
.mm-denah--kiosk .mm-sheet--denah .mm-sheet__head h2 { font-size: 32px; }
.mm-denah--kiosk .mm-sheet__sub { font-size: 18px; }
.mm-denah--kiosk .mm-country-empty { font-size: 18px; }
.mm-denah--kiosk .mm-tag { font-size: 16px; }
.mm-denah--kiosk .mm-detail__img { margin-top: 12px; }
.mm-denah--kiosk .mm-detail__title { font-size: 34px; }
.mm-denah--kiosk .mm-detail__sub { font-size: 19px; }
.mm-denah--kiosk .mm-listen { min-height: 60px; padding: 14px 28px; font-size: 20px; margin-top: 18px; }
.mm-denah--kiosk .mm-listen svg { width: 24px; height: 24px; }
.mm-denah--kiosk .mm-detail__body { font-size: 21px; line-height: 1.65; }
.mm-denah--kiosk .mm-info--fact { font-size: 19px; padding: 20px; }
.mm-denah--kiosk .mm-info--fact strong { font-size: 20px; }
.mm-denah--kiosk .mm-detail__cta .mm-btn { padding-block: 20px; font-size: 21px; min-height: 64px; }
.mm-denah--kiosk .mm-legend__h { font-size: 16px; }
.mm-denah--kiosk .mm-legend__row { font-size: 19px; }
.mm-denah--kiosk .mm-legend__row--zone { font-size: 18px; }
.mm-denah--kiosk .mm-legend__icon { width: 48px; height: 48px; }
.mm-denah--kiosk .mm-app { min-height: 100vh; min-height: 100dvh; border-radius: 0; box-shadow: none; } /* full screen: no dark strip under the Koleksi Museum card */
.mm-denah--kiosk .mm-page--denah { --mm-map-h: 440px; padding-bottom: 0; } /* the map fills the screen under the header rows, the Koleksi Museum card sits flush on the bottom edge */
.mm-denah--kiosk .mm-denah__finder { padding: 14px var(--mm-kd-pad) 0; }
.mm-denah__searchrow { display: flex; align-items: stretch; gap: 12px; margin-top: 12px; }
.mm-denah__searchrow .mm-search { flex: 1; min-width: 0; margin: 0; }
.mm-denah--kiosk .mm-quick__card { flex: none; gap: 12px; height: 60px; padding: 8px 20px 8px 10px; padding-inline: 10px 20px; border-radius: var(--mm-r-full); }
.mm-denah--kiosk .mm-quick__icon { width: 42px; height: 42px; border-radius: 50%; }
.mm-denah--kiosk .mm-quick__card strong { font-size: 19px; white-space: nowrap; }
.mm-denah--kiosk .mm-quick__card small { display: none; }
.mm-denah--kiosk .mm-quick__card em { margin-top: 0; padding: 2px 10px; font-size: 14px; }
.mm-denah--kiosk .mm-feat { padding-top: 28px; }
.mm-denah--kiosk .mm-feat__head { gap: 14px; padding-inline: var(--mm-kd-pad); }
.mm-denah--kiosk .mm-feat__icon { width: 48px; height: 48px; }
.mm-denah--kiosk .mm-feat__head h2 { font-size: 28px; }
.mm-denah--kiosk .mm-feat__badge { padding: 6px 14px; font-size: 16px; }
.mm-denah--kiosk .mm-feat__count { width: 40px; height: 40px; font-size: 18px; }
.mm-denah--kiosk .mm-feat__toggle { width: 56px; height: 56px; }
.mm-denah--kiosk .mm-feat__row { gap: 18px; padding: 16px var(--mm-kd-pad) 6px; }
.mm-denah--kiosk .mm-fcard { width: 300px; gap: 8px; padding-bottom: 18px; border-radius: 28px; }
.mm-denah--kiosk .mm-fcard strong { padding-inline: 18px; font-size: 22px; }
.mm-denah--kiosk .mm-fcard .mm-crumb { margin-inline: 18px; font-size: 16px; }
.mm-denah--kiosk .mm-fbadge { width: 44px; height: 44px; }
.mm-denah--kiosk .mm-denah__stage { margin-top: 24px; }
.mm-denah--kiosk .mm-denah__ctl { gap: 12px; margin: 0 var(--mm-kd-pad) 16px; margin-inline: auto var(--mm-kd-pad); }
@media (max-height: 1100px) { /* shorter kiosk screen: smaller map buttons so they stay inside the map above the card */
	.mm-denah--kiosk .mm-denah__ctl { gap: 8px; margin-bottom: 10px; }
	.mm-denah--kiosk .mm-fab { width: 52px; height: 52px; }
	.mm-denah--kiosk .mm-fab svg { width: 24px; height: 24px; }
	.mm-denah--kiosk .mm-denah__hint { margin-bottom: 10px; }
}
.mm-denah--kiosk [data-denah][data-mode="zone"] .mm-denah__ctl,
.mm-denah--kiosk [data-denah][data-mode="exit"] .mm-denah__ctl { top: 96px; margin: 0 var(--mm-kd-pad); }
.mm-denah--kiosk [data-denah][data-mode="exit"] .mm-denah__ctl { top: 112px; }
.mm-denah--kiosk .mm-denah__zonebar,
.mm-denah--kiosk .mm-denah__banner { inset-inline: var(--mm-kd-pad); }
.mm-denah--kiosk .mm-denah__hint { margin-bottom: 16px; padding: 12px 26px; max-height: 60px; font-size: 18px; }
.mm-denah--kiosk .mm-denah__hint.is-gone { max-height: 0; margin: 0; padding-block: 0; }
.mm-denah--kiosk .mm-denah__peek { padding: 14px var(--mm-kd-pad) 24px; }
.mm-denah--kiosk .mm-denah__peek-head { padding: 6px 0 14px; }
.mm-denah--kiosk .mm-denah__peek-head strong { font-size: 26px; }
.mm-denah--kiosk .mm-denah__peek-head small { margin-top: 4px; font-size: 18px; }
.mm-denah--kiosk .mm-denah__peek-btn { width: 56px; height: 56px; }
.mm-denah--kiosk .mm-denah__peek-btn svg { width: 24px; height: 24px; }
.mm-denah--kiosk .mm-denah__chips { gap: 12px; margin-inline: calc(var(--mm-kd-pad) * -1); padding: 2px var(--mm-kd-pad) 4px; }
.mm-denah--kiosk .mm-zchip { min-height: 56px; gap: 10px; padding: 10px 22px; font-size: 19px; }
.mm-denah--kiosk .mm-zchip i { width: 16px; height: 16px; }
.mm-denah--kiosk .mm-zchip svg { width: 22px; height: 22px; }
.mm-denah--kiosk .mm-search--sheet { margin: 0 32px 16px; }
.mm-denah--kiosk .mm-sheet--list .mm-sheet__head { margin-inline: 32px; }
.mm-denah--kiosk .mm-all__head h2 { font-size: 30px; }
.mm-denah--kiosk .mm-all__head span { font-size: 19px; }
.mm-denah--kiosk .mm-lrow { gap: 18px; padding: 18px; border-radius: 28px; }
.mm-denah--kiosk .mm-lrow__main { gap: 20px; }
.mm-denah--kiosk .mm-lrow__main img { width: 110px; height: 110px; border-radius: 22px; }
.mm-denah--kiosk .mm-lrow__text { gap: 8px; }
.mm-denah--kiosk .mm-lrow__text strong { font-size: 24px; }
.mm-denah--kiosk .mm-crumb { padding: 6px 14px; font-size: 16px; }
.mm-denah--kiosk .mm-lchip { padding: 6px 14px; font-size: 16px; }
.mm-denah--kiosk .mm-country-empty { font-size: 18px; }
.mm-denah--kiosk .mm-peek__panel { max-width: 766px; padding: 12px var(--mm-kd-pad) 28px; }
.mm-denah--kiosk .mm-peek__top img { width: 150px; height: 150px; }
.mm-denah--kiosk .mm-peek__text h2 { font-size: 30px; }
.mm-denah--kiosk .mm-peek__text p { font-size: 18px; }
.mm-denah--kiosk .mm-peek__body { font-size: 20px; }
.mm-denah--kiosk .mm-peek__x { width: 48px; height: 48px; top: 18px; }
.mm-denah--kiosk .mm-peek__actions .mm-btn { padding-block: 20px; font-size: 21px; min-height: 64px; }
.mm-denah--kiosk .mm-peek__actions .mm-listen { min-height: 64px; font-size: 20px; }
.mm-denah--kiosk .mm-detail__chips .mm-lchip { padding: 10px 18px; font-size: 18px; }
.mm-denah--kiosk .mm-modal--video .mm-modal__panel { max-width: 700px; padding: 24px; }
.mm-denah--kiosk .mm-vhead .mm-modal__title { font-size: 24px; }
.mm-denah--kiosk .mm-vtitle { font-size: 26px; }

/* ---------- Interest quiz (/app/denah/minat) and the persona badge (Q01-Q03, A08) ---------- */
.mm-quiz__nav { padding-block: 16px 8px; }
.mm-page--quiz { min-height: 100vh; min-height: 100dvh; }
.mm-quiz__main { flex: 1; display: flex; flex-direction: column; padding: var(--mm-s2) var(--mm-s4) calc(var(--mm-s5) + env(safe-area-inset-bottom, 0px)); }
.mm-quiz__meta { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; font-weight: 800; color: var(--mm-primary-pressed); }
.mm-quiz__meta span { font-weight: 700; color: var(--mm-muted); }
.mm-quiz__bar { height: 10px; margin-top: 8px; border-radius: var(--mm-r-full); background: var(--mm-mint); overflow: hidden; }
.mm-quiz__bar i { display: block; height: 100%; border-radius: inherit; background: var(--mm-primary); transition: width 0.28s; }
.mm-q { margin-top: var(--mm-s5); }
.mm-q__title { font-size: 28px; line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; outline: none; }
.mm-q__multi { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--mm-s3); padding: 6px 14px; border-radius: var(--mm-r-full); background: var(--mm-mint); color: var(--mm-primary-pressed); font-size: 14px; font-weight: 800; }
.mm-q__opts { display: grid; gap: var(--mm-s3); margin-top: var(--mm-s5); }
.mm-q__opts--grid { grid-template-columns: 1fr 1fr; }
.mm-qopt { position: relative; display: flex; align-items: center; gap: var(--mm-s3); width: 100%; padding: 16px; border: 1.5px solid var(--mm-border-ui); border-radius: 22px; background: var(--mm-card); box-shadow: var(--mm-shadow-card); text-align: start; font-size: 16px; font-weight: 800; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.mm-qopt__text { flex: 1; min-width: 0; line-height: 1.3; }
.mm-qopt__check { width: 24px; height: 24px; flex: none; border: 2px solid var(--mm-border-ui); border-radius: 50%; color: transparent; display: flex; align-items: center; justify-content: center; }
.mm-qopt.is-selected { border-color: var(--mm-primary); background: var(--mm-mint-50); }
.mm-qopt.is-selected .mm-qopt__check { border-color: var(--mm-primary); background: var(--mm-primary); color: #fff; }
.mm-qopt--card { flex-direction: column; align-items: flex-start; min-height: 126px; padding: 14px; }
.mm-qopt--card .mm-qopt__icon { width: 48px; height: 48px; border-radius: 16px; background: var(--mm-mint); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; }
.mm-qopt--card.is-selected .mm-qopt__icon { background: var(--mm-primary); color: #fff; }
.mm-qopt--card .mm-qopt__text { flex: none; font-size: 16px; }
.mm-qopt--card .mm-qopt__check { position: absolute; top: 12px; inset-inline-end: 12px; width: 22px; height: 22px; }
.mm-quiz__foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--mm-s3); margin-top: auto; padding-top: var(--mm-s6); }
.mm-quiz__foot .mm-btn { padding-block: 15px; font-size: 15px; }
.mm-quiz__foot .mm-btn--outline .mm-btn__label { padding-inline-start: 0; text-align: center; }

.mm-quiz__result { padding: var(--mm-s2) var(--mm-s4) calc(var(--mm-s6) + env(safe-area-inset-bottom, 0px)); }
.mm-badge { --pc: var(--mm-primary); --pbg: var(--mm-mint); position: relative; width: 128px; height: 128px; margin: 0 auto; }
.mm-badge__ring { position: absolute; inset: 0; border: 2px dashed var(--pc); border-radius: 50%; }
.mm-badge__disc { position: absolute; inset: 14px; border: 3px solid var(--pc); border-radius: 50%; background: var(--pbg); color: var(--pc); display: flex; align-items: center; justify-content: center; }
.mm-badge__disc .mm-icon { width: 56%; height: 56%; stroke-width: 1.6; }
.mm-badge__spark { position: absolute; width: 16px; height: 16px; color: var(--pc); }
.mm-badge__spark::before { content: ""; position: absolute; inset: 0; background: currentColor; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.mm-badge__spark--a { top: 2px; inset-inline-end: 6px; }
.mm-badge__spark--b { bottom: 10px; inset-inline-start: 0; width: 12px; height: 12px; }
.mm-badge--sm { flex: none; width: 76px; height: 76px; margin: 0; }
.mm-badge--sm .mm-badge__disc { inset: 9px; border-width: 2px; }
.mm-rhero { position: relative; overflow: hidden; padding: var(--mm-s6) var(--mm-s5); border-radius: var(--mm-r-modal); background: var(--mm-dark); color: #fff; text-align: center; }
.mm-rhero::before { content: ""; position: absolute; top: -90px; inset-inline-end: -90px; width: 240px; height: 240px; border-radius: 50%; background: rgba(22, 163, 74, 0.22); }
.mm-rhero > * { position: relative; }
.mm-rhero .mm-badge { --pbg: var(--mm-primary); --pc: #86efac; }
.mm-rhero .mm-badge__disc { border-color: #86efac; color: #fff; }
.mm-rhero__you { margin-top: var(--mm-s4); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #86efac; }
.mm-rhero__name { margin-top: 6px; font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.mm-rhero__sub { display: inline-block; margin-top: 10px; padding: 6px 16px; border: 1px solid rgba(134, 239, 172, 0.35); border-radius: var(--mm-r-full); background: rgba(255, 255, 255, 0.08); color: #86efac; font-size: 15px; font-weight: 700; }
.mm-rhero__desc { margin-top: var(--mm-s4); font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.mm-rhero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--mm-s4); }
.mm-rhero .mm-lchip { padding: 7px 14px; border-color: transparent; background: var(--mm-card); color: var(--mm-text); font-size: 14px; }
.mm-rroute__head { display: flex; align-items: center; justify-content: space-between; gap: var(--mm-s3); margin-top: var(--mm-s6); }
.mm-rroute__head h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.mm-rroute__min { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--mm-r-full); background: var(--mm-mint); color: var(--mm-primary-pressed); font-size: 14px; font-weight: 800; white-space: nowrap; }
.mm-rroute__s { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--mm-text-3); }
.mm-rlist { position: relative; display: grid; gap: 0; margin: var(--mm-s4) 0 0; padding: var(--mm-s3) var(--mm-s4); list-style: none; border: 1px solid var(--mm-mint); border-radius: var(--mm-r-card); background: var(--mm-card); box-shadow: var(--mm-shadow-card); }
.mm-rlist__row { position: relative; display: flex; align-items: center; gap: var(--mm-s3); padding: 10px 0; }
.mm-rlist__row:not(:last-child)::before { content: ""; position: absolute; top: 50%; bottom: -50%; inset-inline-start: 15px; width: 2px; background: var(--mm-mint); }
.mm-rlist__n { position: relative; z-index: 1; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--mm-primary); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff; }
.mm-rlist__row img { width: 60px; height: 60px; flex: none; border-radius: 14px; object-fit: cover; background: var(--mm-chip); }
.mm-rlist__text { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 5px; }
.mm-rlist__text strong { font-size: 16px; line-height: 1.3; font-weight: 800; }
.mm-ractions { display: grid; gap: var(--mm-s3); margin-top: var(--mm-s5); }
.mm-ractions .mm-btn { justify-content: center; padding-block: 15px; font-size: 15px; }
.mm-ractions .mm-btn__label { flex: none; padding: 0 !important; text-align: center; }
.mm-ractions .mm-btn--outline { position: relative; }
.mm-ractions .mm-btn--outline .mm-btn__arrow { position: absolute; inset-inline-end: 12px; }
.mm-rretry { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 0; background: none; color: var(--mm-primary-pressed); font-size: 15px; font-weight: 800; text-decoration: underline; cursor: pointer; }

/* Akun: Profil Minatmu, Rencanakan Kunjungan, Ikuti MusPera */
.mm-card--interest,
.mm-card--plan { padding: var(--mm-s5); }
.mm-card--interest::before,
.mm-card--plan::before { display: none; }
.mm-card--plan,
.mm-card--empty { border-color: var(--mm-border-soft); background: var(--mm-mint-50); }
.mm-interest__top { display: flex; align-items: center; gap: var(--mm-s4); }
.mm-interest__top h2 { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.mm-interest__eyebrow { margin-bottom: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mm-muted); }
.mm-interest__sub { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--mm-text-2); }
.mm-card--interest:not(.mm-card--empty) .mm-interest__sub { font-size: 16px; font-weight: 700; color: color-mix(in srgb, var(--pc) 70%, #000); }
.mm-interest__icon { width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--mm-mint); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; }
.mm-interest__icon--wa { background: var(--mm-primary); color: #fff; }
.mm-interest__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--mm-s4); }
.mm-interest__chips .mm-lchip { border-color: transparent; background: var(--pbg); color: color-mix(in srgb, var(--pc) 70%, #000); font-size: 14px; padding: 6px 12px; }
.mm-interest__date { margin-top: var(--mm-s4); font-size: 13px; color: var(--mm-muted); }
.mm-interest__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--mm-s3); }
.mm-interest__actions .mm-btn { justify-content: center; padding-inline: 10px; }
.mm-interest__actions .mm-btn__label { flex: none; padding: 0 !important; text-align: center; }
.mm-card--empty .mm-btn,
.mm-card--plan .mm-btn { margin-top: var(--mm-s4); }
.mm-card--empty .mm-btn--primary .mm-btn__label { text-align: center; }
.mm-btn--center { justify-content: center; }
.mm-btn--center .mm-btn__label { flex: none; }
.mm-follow { margin-top: var(--mm-s6); padding: 8px var(--mm-s5) calc(var(--mm-bnav-h) + env(safe-area-inset-bottom, 0px) + var(--mm-s5)); border: 1px solid var(--mm-mint); border-bottom: 0; border-radius: var(--mm-r-modal) var(--mm-r-modal) 0 0; background: var(--mm-card); text-align: center; }
.mm-follow h2 { margin-top: var(--mm-s3); font-size: 20px; font-weight: 800; }
.mm-follow__s { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--mm-text-2); }
.mm-follow__row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: var(--mm-s4); padding-bottom: var(--mm-s4); border-bottom: 1px solid var(--mm-mint); }
.mm-follow__icon { width: 52px; height: 52px; border: 1px solid var(--mm-border); border-radius: 16px; background: var(--mm-card); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; box-shadow: var(--mm-shadow-card); }
.mm-follow__handle { text-align: start; }
.mm-follow__handle strong { display: block; font-size: 15px; font-weight: 800; }
.mm-follow__handle small { display: block; font-size: 13px; color: var(--mm-muted); }
.mm-follow__addr { margin-top: var(--mm-s3); font-size: 12px; line-height: 1.5; color: var(--mm-muted); }
.mm-page--akun:has(.mm-follow) .mm-main { padding-bottom: 0; }

/* ---------- Welcome: public Denah card (01d / 01f) ---------- */
.mm-denah-card { display: flex; align-items: center; gap: var(--mm-s3); padding: 10px var(--mm-s3); border: 1px solid var(--mm-border); border-radius: 20px; background: var(--mm-card); box-shadow: var(--mm-shadow-card); }
.mm-denah-card__map { width: 48px; height: 48px; flex: none; border-radius: var(--mm-r-md); object-fit: cover; background: var(--mm-sage); }
.mm-denah-card__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mm-denah-card__text :is(strong, h2) { font-size: 14px; line-height: 1.3; font-weight: 800; }
.mm-denah-card__text span { font-size: 11px; line-height: 1.4; font-weight: 500; color: var(--mm-text-3); }
.mm-denah-card__go { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--mm-mint); color: var(--mm-primary-pressed); display: flex; align-items: center; justify-content: center; }

/* ---------- Library (Perpustakaan): masuk banner (P01), phone page (P02), dark rating card ---------- */
.mm-context { display: flex; align-items: flex-start; gap: 14px; margin: var(--mm-s2) var(--mm-s6) 0; padding: 14px 16px; border: 1px solid var(--mm-border-soft); border-radius: 20px; background: var(--mm-mint-50); }
.mm-context__icon { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--mm-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.mm-context strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 800; }
.mm-context p { margin-top: 3px; font-size: 12px; line-height: 1.5; font-weight: 500; color: var(--mm-text-2); }
.mm-page--library .mm-main { display: grid; gap: var(--mm-s4); align-content: start; }
.mm-card--account { padding: var(--mm-s5); }
.mm-libhead { display: flex; align-items: center; justify-content: space-between; gap: var(--mm-s3); margin-bottom: 14px; }
.mm-libhead h2 { font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mm-primary-pressed); }
.mm-libhead a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--mm-primary-pressed); text-decoration: underline; }
.mm-libnote { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11px; line-height: 1.4; font-weight: 500; color: var(--mm-muted); }
.mm-section-head--plain { margin: 4px 0 0; padding: 0; border: 0; }
.mm-page--library .mm-form { padding-top: 0; }
.mm-ratecard { margin-top: 6px; padding: 22px var(--mm-s5) var(--mm-s5); border-radius: var(--mm-r-card); background: var(--mm-dark); color: #fff; box-shadow: var(--mm-shadow-float); }
.mm-ratecard__kicker { font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mm-lime); }
.mm-ratecard__title { margin: 10px 0 20px; font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.mm-ratecard .mm-label { color: #fff; }
.mm-ratecard .mm-stars__hint { color: var(--mm-lime); }
.mm-ratecard .mm-textarea { min-height: 100px; border-color: transparent; border-radius: var(--mm-r-lg); background: var(--mm-card); font-weight: 500; }
.mm-ratecard .mm-btn { margin-top: 6px; }

/* ---------- Tablet (library): /app/perpustakaan/kios/*, full-bleed, portrait OR landscape ----------
 * One unit for the welcome and thank-you: --mm-tu = 1/48 of the width in portrait, the smaller of 1/64 of the width and 1/48
 * of the height in landscape, so 768x1024 and 1024x768 both give 16px and 800x1280 / 1280x800 scale up a little. Sizes of the
 * .mm-t blocks are in em of that unit; the form fields keep their normal px sizes. */
.mm-screen-tablet { --mm-tu: calc(100vw / 48); padding-block: 0; }
@media (orientation: landscape) {
	.mm-screen-tablet { --mm-tu: min(calc(100vw / 64), calc(100vh / 48)); }
}
.mm-screen-tablet .mm-app { max-width: none; min-height: 100vh; min-height: 100dvh; border-radius: 0; box-shadow: none; }
.mm-tablet .mm-blob { display: none; }
.mm-t { font-size: var(--mm-tu); }
.mm-t .mm-lang { min-width: 12em; padding-block: 0.7em; border-color: transparent; font-size: 0.9em; }
.mm-t .mm-k__logo .mm-logo { background: var(--mm-dark); }

/* Welcome (P05) */
.mm-t--welcome { position: relative; align-items: center; justify-content: space-between; gap: 1.5em; padding: 2.25em 3.75em 3em; }
.mm-t--welcome::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(13, 38, 24, 0.66) 0%, rgba(13, 38, 24, 0.55) 40%, rgba(13, 38, 24, 0.1) 100%),
		var(--mm-dark) url("perpus-cover-portrait.webp") center / cover no-repeat;
}
.mm-t__top { display: flex; flex-direction: column; align-items: center; gap: 1em; width: 100%; }
.mm-t__head { max-width: 40em; text-align: center; color: #fff; }
.mm-t__kicker { font-size: 0.9em; line-height: 1.3; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mm-light); }
.mm-t__head h1 { margin-top: 0.7em; font-size: 3.4em; line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.mm-t__sub { margin-top: 1em; font-size: 1.25em; line-height: 1.4; font-weight: 500; color: #bbf7d0; }
.mm-tcards { display: grid; gap: 1.25em; width: 100%; }
.mm-tcard { display: flex; flex-direction: column; padding: 1.75em; border-radius: 2em; box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.45); transition: transform 0.2s; }
.mm-tcard--go { gap: 2.5em; min-height: 13em; justify-content: space-between; background: var(--mm-primary); color: #fff !important; }
.mm-tcard--go:active { transform: scale(0.985); }
.mm-tcard__top { display: flex; align-items: center; justify-content: space-between; }
.mm-tcard__icon { width: 3.75em; height: 3.75em; flex: none; border-radius: 1.1em; background: var(--mm-card); color: var(--mm-dark); display: flex; align-items: center; justify-content: center; }
.mm-tcard__icon--mint { background: var(--mm-mint); }
.mm-tcard__arrow { width: 3em; height: 3em; flex: none; border-radius: 50%; background: var(--mm-card); color: var(--mm-dark); display: flex; align-items: center; justify-content: center; }
.mm-tcard__text { display: grid; gap: 0.4em; min-width: 0; }
.mm-tcard__text strong { font-size: 2em; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
.mm-tcard__text span { font-size: 1.06em; line-height: 1.45; font-weight: 500; }
.mm-tcard--qr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "icon qr" "text qr"; align-items: center; gap: 1.1em 1.5em; background: var(--mm-card); color: var(--mm-text); }
.mm-tcard--qr .mm-tcard__icon { grid-area: icon; align-self: end; }
.mm-tcard--qr .mm-tcard__text { grid-area: text; align-self: start; }
.mm-tcard--qr .mm-tcard__text span { color: var(--mm-text-2); }
.mm-tcard__qr { grid-area: qr; width: 12.5em; padding: 1em; border: 1px solid var(--mm-border); border-radius: 1.4em; background: var(--mm-card); line-height: 0; }
.mm-tcard__qr .mm-qr { display: block; }
.mm-tcard__qr .mm-qr svg { width: 100%; }

/* Form (P06): portrait = hero + one white card, the dark rating card at its bottom; landscape = two columns without hero */
.mm-t--form { align-items: stretch; justify-content: flex-start; gap: 1.5em; padding: 2.5em 3em; }
.mm-t__panel { flex: 1; border-radius: 2.5em; background: var(--mm-canvas); padding-bottom: 1.25em; }
.mm-t__panel .mm-hero { padding: 1.5em 2.5em 1.25em; }
.mm-t__cols { position: relative; overflow: hidden; margin-inline: 1.25em; padding: 1.5em; border: 1px solid var(--mm-mint); border-radius: 1.75em; background: var(--mm-card); box-shadow: var(--mm-shadow-editorial); }
.mm-t__cols::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--mm-gradient-bar); }
.mm-tsec { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; font-size: 16px; line-height: 1.3; font-weight: 800; }
.mm-tsec .mm-stepnum { width: 30px; height: 30px; font-size: 12px; border-radius: 10px; }
.mm-t__left > .mm-tsec:not(:first-of-type) { margin-top: 8px; }
.mm-t--form .mm-field { margin-bottom: 14px; }
.mm-t--form .mm-grid-2 { column-gap: var(--mm-s4); }
.mm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--mm-s3); }
.mm-grid-3 > * { min-width: 0; }
.mm-pills--wrap { display: flex; flex-wrap: wrap; }
.mm-pills--wrap .mm-pill-choice { padding-inline: 16px; font-weight: 700; white-space: nowrap; }
.mm-pills--wrap .mm-pill-choice[aria-checked="true"] { padding-inline: 15px; }
.mm-t--form .mm-ratecard { margin-top: 0; }
.mm-t--form .mm-ratecard__kicker,
.mm-t--form .mm-ratecard__title { display: none; }
.mm-field--grow .mm-textarea { min-height: 120px; }
.mm-t--form .mm-stars { gap: 10px; }
.mm-t--form .mm-star { padding: 3px; }
.mm-t--form .mm-error--form { margin-bottom: 14px; }
@media (orientation: landscape) {
	.mm-t--welcome { padding: 1.5em 3em 2.5em; }
	.mm-t--welcome::before {
		background-image:
			linear-gradient(180deg, rgba(13, 38, 24, 0.7) 0%, rgba(13, 38, 24, 0.5) 45%, rgba(13, 38, 24, 0.12) 100%),
			url("perpus-cover-landscape.webp");
	}
	.mm-t__top { flex-direction: row; justify-content: space-between; align-items: center; }
	.mm-t__head h1 { font-size: 2.6em; }
	.mm-t__sub { font-size: 1.1em; }
	.mm-tcards { grid-template-columns: 1fr 1fr; }
	.mm-tcard--go { min-height: 21.5em; }
	.mm-tcard--qr { grid-template-columns: 1fr; grid-template-areas: "text" "qr"; justify-items: center; align-content: center; text-align: center; }
	.mm-tcard--qr .mm-tcard__icon { display: none; }
	.mm-tcard--qr .mm-tcard__text strong { font-size: 1.7em; }
	.mm-tcard--qr .mm-tcard__text { align-self: end; }
	.mm-tcard__qr { width: 12.9em; align-self: start; }

	.mm-t--form { height: 100vh; height: 100dvh; min-height: 0; gap: 1em; padding: 1.25em 2em 1.5em; overflow: hidden; }
	.mm-t--form .mm-hero,
	.mm-tsec--rate { display: none; }
	.mm-t__panel { display: flex; min-height: 0; padding: 0; border-radius: 0; background: none; overflow: visible; }
	.mm-t__cols { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.5em; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
	.mm-t__cols::before { display: none; }
	.mm-t__left { position: relative; min-height: 0; overflow-y: auto; padding: 1.1em 1.6em 0.4em; border-radius: 1.75em; background: var(--mm-card); }
	.mm-t__left::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--mm-gradient-bar); }
	.mm-t--form .mm-field { margin-bottom: 8px; }
	.mm-t--form .mm-field__top { min-height: 20px; margin-bottom: 4px; }
	.mm-t__right { display: flex; min-height: 0; }
	.mm-t__right .mm-ratecard { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 1.4em 1.5em; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; }
	.mm-t--form .mm-ratecard__kicker { display: block; }
	.mm-t--form .mm-ratecard__title { display: block; margin: 8px 0 12px; font-size: 22px; }
	.mm-t--form .mm-ratecard .mm-field--grow { flex: 1; display: flex; flex-direction: column; min-height: 0; }
	.mm-t--form .mm-ratecard .mm-field--grow .mm-textarea { flex: 1; min-height: 90px; resize: none; }
	.mm-t--form .mm-ratecard .mm-btn { margin-top: auto; }
}

/* Thank-you (P07): the poster that fits the orientation */
.mm-tt .mm-poster picture { display: contents; }

/* ---------- Poster (P04): printable A5 with the library QR ---------- */
.mm-screen-poster { background: var(--mm-backdrop); }
.mm-screen-poster .mm-app { max-width: none; min-height: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.mm-poster-page .mm-blob { display: none; }
.mm-pp { width: 148mm; height: 210mm; min-height: 0; margin: 8mm auto; overflow: hidden; background: var(--mm-canvas); box-shadow: 0 8mm 20mm -6mm rgba(13, 38, 24, 0.35); text-align: center; }
.mm-pp__head { padding: 8mm 8mm 8.6mm; border-radius: 0 0 12mm 12mm; background: linear-gradient(160deg, #0d2618 0%, #165231 100%); color: #fff; }
.mm-pp__head .mm-k__logo .mm-logo { padding: 1.4mm 3.2mm 1.4mm 1.4mm; border-radius: 3.2mm; background: rgba(0, 0, 0, 0.3); }
.mm-pp__head .mm-logo__tile { width: 8.6mm; height: 8.6mm; border-radius: 2.4mm; }
.mm-pp__head .mm-logo__tile img { height: 5.6mm; }
.mm-pp__head .mm-logo__word { font-size: 4.6mm; color: #fff; }
.mm-pp__head .mm-logo__word b { color: #fff; }
.mm-pp__kicker { margin-top: 5mm; font-size: 3.1mm; line-height: 1.3; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mm-light); }
.mm-pp__head h1 { margin-top: 3mm; font-size: 8.6mm; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.mm-pp__sub { margin-top: 3.4mm; font-size: 4.8mm; line-height: 1.3; font-weight: 500; color: #bbf7d0; }
.mm-pp__body { padding: 0 8mm; }
.mm-pp__qrbox { width: 62mm; margin: 6.5mm auto 0; padding: 4.6mm; border: 0.3mm solid var(--mm-border); border-radius: 4.4mm; background: var(--mm-card); box-shadow: 0 2mm 6mm -2mm rgba(13, 38, 24, 0.15); line-height: 0; }
.mm-pp__qrbox .mm-qr { display: block; }
.mm-pp__qrbox .mm-qr svg { width: 100%; }
.mm-pp__scan { margin-top: 3.4mm; font-size: 3.4mm; line-height: 1.4; font-weight: 500; color: var(--mm-text-3); }
.mm-pp__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2mm; margin: 6.5mm 0 0; padding: 0; list-style: none; }
.mm-pp__steps li { display: grid; justify-items: center; gap: 2mm; font-size: 3.2mm; line-height: 1.3; font-weight: 700; }
.mm-pp__steps li span { width: 8.6mm; height: 6.7mm; border-radius: 2.2mm; background: var(--mm-mint); color: var(--mm-primary-pressed); font-size: 3.4mm; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mm-pp__url { display: flex; align-items: center; justify-content: center; gap: 2.4mm; margin: 6.5mm auto 0; width: max-content; max-width: 100%; padding: 2.6mm 6mm; border-radius: var(--mm-r-full); background: var(--mm-mint); font-size: 3.9mm; line-height: 1.2; font-weight: 800; color: var(--mm-primary-pressed); }
.mm-pp__foot { margin-top: 4.6mm; font-size: 3.3mm; line-height: 1.4; font-weight: 500; color: var(--mm-text-3); }
@page { size: A5; margin: 0; }
@media print {
	html,
	.mm-body,
	.mm-screen-poster { background: var(--mm-card) !important; padding: 0 !important; }
	.mm-screen-poster .mm-app { overflow: hidden; }
	.mm-pp { margin: 0; box-shadow: none; }
	.mm-pp * { -webkit-print-color-adjust: exact; print-color-adjust: exact; animation: none !important; }
}

/* ---------- Accessibility (1.9.0, WCAG 2.2 AA) ---------- */
/* Focus ring on dark surfaces: white ring, dark gap (the default ring is dark on white, see .mm-body :focus-visible) */
.mm-k, .mm-t, .mm-denah__knav, .mm-denah__banner, .mm-ratecard, .mm-rhero, .mm-stepbadge { --mm-ring: #fff; --mm-ring-gap: #0d2618; }
.mm-kcardwhite, .mm-k__panel, .mm-t__panel, .mm-t__cols, .mm-t__left { --mm-ring: #0d2618; --mm-ring-gap: #fff; }
.mm-t__right .mm-ratecard, .mm-t--form .mm-ratecard { --mm-ring: #fff; --mm-ring-gap: #0d2618; }

.mm-sr { 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; }

/* Skip link: first focusable element of every page, a dark pill top-left once focused (AX01) */
.mm-body .mm-skip { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 200; padding: 12px 22px; border-radius: var(--mm-r-full); background: var(--mm-dark); color: #fff; font-size: 14px; line-height: 1.3; font-weight: 800; transform: translateY(-300%); --mm-ring: #fff; --mm-ring-gap: #0d2618; }
.mm-body .mm-skip:focus { transform: none; }

/* 2.4.11 Focus not obscured: scrolling to a focused element keeps it clear of the bottom nav, the item card and sticky bars */
html { scroll-padding-block: 72px calc(var(--mm-bnav-h) + 150px); }
.mm-body :where(a, button, input, textarea, [tabindex]) { scroll-margin-block: 72px calc(var(--mm-bnav-h) + 150px); }
.mm-sheet__panel :where(a, button, input, textarea, [tabindex]) { scroll-margin-block: 56px 24px; }

/* Live region (toasts, result counts, countdown announcements) */
.mm-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 1.4.4 / 1.4.10 Reflow: nothing forces horizontal scroll at 320px; long words wrap */
.mm-body :where(h1, h2, h3, p, label, strong, span, a) { overflow-wrap: anywhere; }
@media (max-width: 360px) {
	.mm-lang { min-width: 0; }
	.mm-hero { padding-inline: var(--mm-s4); }
	.mm-hero__title { font-size: 28px; }
	.mm-nav { padding-inline: var(--mm-s4); }
	.mm-pills--4, .mm-pills--3 { grid-template-columns: repeat(2, 1fr); }
	.mm-choices--2 { grid-template-columns: 1fr; }
}

/* 1.4.12 Text spacing: boxes that held text at a fixed height grow instead of clipping */
.mm-btn, .mm-pill-choice, .mm-sugg, .mm-zchip, .mm-seg__btn, .mm-lchip, .mm-field__top { height: auto; }
.mm-lang__label { white-space: normal; text-align: center; }
.mm-crumb { white-space: normal; overflow: visible; text-overflow: clip; } /* long names wrap instead of being cut (1.4.12) */
.mm-fcard .mm-crumb { padding-inline: 8px; }
.mm-pin__txt { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.25; padding-block: 2px; }
.mm-pin--item.is-dot .mm-pin__txt { white-space: nowrap; }

/* 2.2.2 / 2.3.3: animation that is not essential stops with "reduce motion" */
@media (prefers-reduced-motion: reduce) {
	*:not(.mm-count__fill), *:not(.mm-count__fill)::before, *:not(.mm-count__fill)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.mm-hero__burst, .mm-success__ring, .mm-kwait i, .mm-pin.is-target::before { animation: none !important; }
}

/* ---------- Halaman tidak tersedia (404 under /app/, AX06) ---------- */
.mm-nf { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--mm-s4) var(--mm-s6); }
.mm-nf__art { position: relative; width: min(300px, 80%); height: 300px; margin: var(--mm-s4) auto 0; overflow: hidden; }
.mm-nf__art::before { content: ""; position: absolute; top: 30px; inset-inline: 8%; aspect-ratio: 1; border-radius: 50%; background: var(--mm-mint); }
.mm-nf__art img { position: relative; display: block; width: 100%; height: auto; }
.mm-nf__card { position: relative; margin-top: -4px; padding: var(--mm-s6) var(--mm-s5) var(--mm-s5); border: 1px solid var(--mm-mint); border-radius: var(--mm-r-modal); background: var(--mm-card); box-shadow: var(--mm-shadow-card); text-align: center; }
.mm-nf__title { font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.mm-nf__body { margin: var(--mm-s3) 0 var(--mm-s5); font-size: 15px; line-height: 1.6; color: var(--mm-text-2); }
.mm-nf__card .mm-actions { gap: var(--mm-s3); }
.mm-nf__card .mm-btn--outline .mm-btn__label { padding: 0; text-align: center; }
.mm-nf__note { margin-top: var(--mm-s5); text-align: center; font-size: 13px; line-height: 1.5; color: var(--mm-text-3); }
.mm-screen-kiosk .mm-nf { padding-inline: 48px; }
.mm-screen-kiosk .mm-nf__art { width: 420px; height: 420px; }
.mm-screen-kiosk .mm-nf__title { font-size: 42px; }
.mm-screen-kiosk .mm-nf__body { font-size: 20px; }
.mm-screen-kiosk .mm-nf__card .mm-btn { padding-block: 20px; font-size: 20px; min-height: 64px; }
.mm-screen-kiosk .mm-nf__note { color: #bbf7d0; font-size: 16px; }
.mm-wrap { min-height: inherit; }

/* ---------- Kiosk idle warning "Masih di sini?" (alertdialog, WCAG 2.2.1) ---------- */
.mm-idle { z-index: 90; }
.mm-idle .mm-modal__panel { max-width: 600px; padding: 44px 40px 36px; text-align: center; }
.mm-idle__title { font-size: 40px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.mm-idle__text { margin: 14px 0 32px; font-size: 24px; line-height: 1.45; font-weight: 500; color: var(--mm-text-2); }
.mm-idle__actions { display: grid; gap: 14px; }
.mm-idle .mm-btn { min-height: 64px; justify-content: center; padding-block: 18px; font-size: 22px; }
.mm-idle .mm-btn__label { flex: none; padding: 0 !important; text-align: center; }
