/*
 * TN Matrimony Mobile — loaded ONLY below the breakpoint (the <link> carries a media query).
 * Colours come from CSS variables printed by the plugin: --tnmm-bg, --tnmm-icon, --tnmm-active, --tnmm-wa.
 */

/* =========================================================
 * 1. Two-column profile grid (TN Matrimony cards)
 * ======================================================= */
body.tnmm-grid .tnm .tnm-grid:not(.tnm-cols-1) {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 10px !important;
}
body.tnmm-grid .tnm .tnm-layout-carousel .tnm-grid {
	grid-template-columns: none !important;
	grid-auto-columns: 46% !important;
}
body.tnmm-grid .tnm .tnm-grid .tnm-card {
	display: flex !important;
	flex-direction: column;
	grid-template-columns: none !important;
	grid-template-areas: none !important;
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
	-webkit-tap-highlight-color: transparent;
}
body.tnmm-grid .tnm .tnm-grid .tnm-card:hover { transform: none; }
body.tnmm-grid .tnm .tnm-grid .tnm-card:active { transform: scale(.975); }
body.tnmm-grid .tnm .tnm-grid .tnm-card-media {
	aspect-ratio: 3 / 4 !important;
	height: auto !important;
	min-height: 0 !important;
	width: 100%;
}
body.tnmm-grid .tnm .tnm-grid .tnm-card-media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 38%;
	background: linear-gradient(to top, rgba(0, 0, 0, .28), transparent);
	pointer-events: none;
}
body.tnmm-grid .tnm .tnm-grid .tnm-card-badges { top: 6px !important; left: 6px !important; right: 6px !important; gap: 4px; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-badges .tnm-badge { font-size: 9.5px !important; padding: 2px 6px !important; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-badges .tnm-badge .tnm-icon { width: 10px; height: 10px; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-lock { font-size: 11px; }
body.tnmm-grid .tnm .tnm-grid .tnm-online { left: 6px !important; bottom: 6px !important; font-size: 10px !important; padding: 2px 6px !important; z-index: 1; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-body { padding: 9px 10px 6px !important; min-width: 0; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-head { display: block; margin: 0; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-name {
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 14px !important;
	line-height: 1.25;
	margin: 0;
	min-width: 0;
}
body.tnmm-grid .tnm .tnm-grid .tnm-card-name a {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}
/* Whole card opens the profile: stretch the name link over the card. */
body.tnmm-grid .tnm .tnm-grid .tnm-card-name a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
body.tnmm-grid .tnm .tnm-grid .tnm-verified { flex: 0 0 auto; }
body.tnmm-grid .tnm .tnm-grid .tnm-verified .tnm-icon { width: 14px; height: 14px; }
body.tnmm-grid .tnm .tnm-grid .tnm-pid { display: inline-block; font-size: 10.5px; margin-top: 2px; padding: 1px 6px; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-meta {
	font-size: 12px;
	line-height: 1.35;
	margin: 4px 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body.tnmm-grid .tnm .tnm-grid .tnm-card-facts { margin: 4px 0 0; font-size: 11.5px; gap: 2px; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-facts li:not(:last-child) { display: none; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-facts li { min-width: 0; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-facts li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-facts .tnm-icon { width: 13px; height: 13px; flex: 0 0 auto; }
body.tnmm-grid .tnm .tnm-grid .tnm-match { margin-top: 6px; font-size: 11px; gap: 6px; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-note,
body.tnmm-grid .tnm .tnm-grid .tnm-card-quote { font-size: 11px; margin: 4px 0 0; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-quote { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 4px 8px; }

/* Card actions sit above the stretched link so buttons still work. */
body.tnmm-grid .tnm .tnm-grid .tnm-card-actions {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap !important;
	gap: 4px;
	padding: 7px 8px 9px !important;
	margin-top: auto !important;
}
body.tnmm-grid .tnm .tnm-grid .tnm-card-actions:has(> [data-interest]) { flex-wrap: wrap !important; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-link,
body.tnmm-grid .tnm .tnm-grid .tnm-card-icons .tnm-wa { display: none !important; }
body.tnmm-grid .tnm .tnm-grid .tnm-card-icons { gap: 4px; }
body.tnmm-grid .tnm .tnm-grid .tnm-icon-btn { width: 30px; height: 30px; min-width: 30px; padding: 0; }
body.tnmm-grid .tnm .tnm-grid .tnm-icon-btn .tnm-icon { width: 16px; height: 16px; }
/* Compact: the main "Send Interest" button becomes a round heart. */
body.tnmm-actions-compact .tnm .tnm-grid .tnm-card-actions > .tnm-btn:not([data-interest]) {
	flex: 0 0 30px !important;
	width: 30px;
	height: 30px;
	min-height: 30px;
	padding: 0 !important;
	border-radius: 50%;
	justify-content: center;
}
body.tnmm-actions-compact .tnm .tnm-grid .tnm-card-actions > .tnm-btn:not([data-interest]) > span { display: none; }
body.tnmm-actions-compact .tnm .tnm-grid .tnm-card-actions > .tnm-btn:not([data-interest]) .tnm-icon { margin: 0; width: 16px; height: 16px; }
/* Interest inbox cards keep readable Accept / Decline buttons. */
body.tnmm-grid .tnm .tnm-grid .tnm-card-actions > .tnm-btn[data-interest] {
	flex: 1 1 100% !important;
	min-height: 32px;
	font-size: 12px;
	padding: 4px 8px !important;
	justify-content: center;
}
/* Hide: browse cards show only photo + details; inbox cards keep Accept/Decline. */
body.tnmm-actions-hide .tnm .tnm-grid .tnm-card-actions > :not([data-interest]) { display: none !important; }
body.tnmm-actions-hide .tnm .tnm-grid .tnm-card-actions:not(:has([data-interest])) { display: none !important; }

/* =========================================================
 * 2. Sticky footer bar
 * ======================================================= */
body.tnmm-has-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important; }
body.tnmm-has-bar.tnmm-bar-floating { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important; }
body.tnmm-has-bar .tnm .tnm-toast-wrap { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }

.tnmm-bar {
	display: block;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	background: var(--tnmm-bg, #fff);
	border-top: 1px solid rgba(0, 0, 0, .06);
	box-shadow: 0 -8px 28px rgba(25, 12, 18, .08);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	transform: translateZ(0);
	transition: transform .38s cubic-bezier(.2, .85, .25, 1), opacity .25s;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Tamil", "Noto Sans Devanagari", sans-serif;
	-webkit-user-select: none;
	user-select: none;
	animation: tnmm-bar-in .5s cubic-bezier(.2, .85, .25, 1) backwards;
}
.tnmm-bar-floating .tnmm-bar {
	left: 10px;
	right: 10px;
	bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	padding-bottom: 0;
	border: 1px solid rgba(0, 0, 0, .05);
	border-radius: 22px;
	box-shadow: 0 12px 34px rgba(25, 12, 18, .18);
}
.tnmm-bar.is-hidden,
body.tnmm-kb .tnmm-bar { transform: translateY(calc(100% + 30px)); }
body.tnmm-sheet-open .tnmm-bar { transform: translateY(calc(100% + 30px)); }

.tnmm-bar-inner {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--tnmm-count, 5), minmax(0, 1fr));
	height: 64px;
	max-width: 560px;
	margin: 0 auto;
}
.tnmm-nolabels .tnmm-bar-inner { height: 56px; }

/* Sliding active pill */
.tnmm-indicator {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(100% / var(--tnmm-count, 5) * var(--tnmm-index, 0));
	width: calc(100% / var(--tnmm-count, 5));
	pointer-events: none;
	transition: left .5s cubic-bezier(.34, 1.45, .5, 1);
}
.tnmm-indicator::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 8px;
	width: 52px;
	height: 30px;
	margin-left: -26px;
	border-radius: 16px;
	background: color-mix(in srgb, var(--tnmm-active) 13%, transparent);
	transition: transform .4s cubic-bezier(.34, 1.45, .5, 1), opacity .3s;
}
.tnmm-nolabels .tnmm-indicator::before { top: 13px; }
.tnmm-indicator::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 22px;
	height: 3px;
	margin-left: -11px;
	border-radius: 0 0 3px 3px;
	background: var(--tnmm-active);
}
.tnmm-bar-floating .tnmm-indicator::after { display: none; }
.tnmm-bar-inner[data-no-active] .tnmm-indicator { opacity: 0; }
.tnmm-bar-inner.is-moving .tnmm-indicator::before { transform: scaleX(1.25); }

.tnmm-bar .tnmm-item,
.tnmm-bar button.tnmm-item {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 3px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 8px 2px 0;
	border: 0;
	border-radius: 0;
	background: none !important;
	box-shadow: none !important;
	color: var(--tnmm-icon, #6b6167) !important;
	font-family: inherit;
	font-size: 11px !important;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none !important;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	outline: none;
	transition: color .25s;
}
.tnmm-nolabels .tnmm-bar .tnmm-item { justify-content: center; padding-top: 0; }
.tnmm-bar .tnmm-item.is-active { color: var(--tnmm-active) !important; }
.tnmm-bar .tnmm-item:focus-visible .tnmm-icon { outline: 2px solid var(--tnmm-active); outline-offset: 2px; border-radius: 14px; }

.tnmm-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 52px;
	height: 30px;
}
.tnmm-i { width: 24px; height: 24px; overflow: visible; transition: transform .35s cubic-bezier(.34, 1.45, .5, 1); }
.tnmm-i * { transform-box: fill-box; transform-origin: center; }
.tnmm-item.is-active .tnmm-i { stroke-width: 2.1; }
.tnmm-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; letter-spacing: -.01em; }
.tnmm-nolabels .tnmm-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Badge */
.tnmm-badge {
	position: absolute;
	top: -3px;
	right: 6px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	border: 2px solid var(--tnmm-bg, #fff);
	background: #e11d48;
	color: #fff;
	font: 700 9.5px/13px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	text-align: center;
	box-sizing: border-box;
	animation: tnmm-badge .5s .4s cubic-bezier(.34, 1.8, .5, 1) both;
}

/* ---- Icon animations ---- */
/* Active icon draws itself in. */
.tnmm-item.is-active .tnmm-i path,
.tnmm-item.is-active .tnmm-i circle {
	stroke-dasharray: 1;
	animation: tnmm-draw .8s cubic-bezier(.6, .1, .3, 1) both;
}
.tnmm-item-whatsapp.is-active .tnmm-i path { stroke-dasharray: none; animation: none; }
.tnmm-item-home.is-active .i-roof { animation: tnmm-draw .7s both, tnmm-roof .6s .55s cubic-bezier(.34, 1.8, .5, 1) both; }
.tnmm-item-profiles.is-active .i-head2,
.tnmm-item-profiles.is-active .i-body2 { animation: tnmm-draw .8s .15s both, tnmm-nudge .6s .7s ease both; }
.tnmm-item-login .i-arrow { animation: tnmm-arrow 2.6s 1s ease-in-out infinite; }
.tnmm-item-login.is-active .i-arrow { animation: none; }
.tnmm-item-account.is-active .i-head { animation: tnmm-draw .6s both, tnmm-nod .7s .6s ease both; }

/* Menu → X */
.tnmm-item-menu .i-l1, .tnmm-item-menu .i-l2, .tnmm-item-menu .i-l3 { transition: transform .35s cubic-bezier(.34, 1.45, .5, 1), opacity .2s; }
.tnmm-item-menu[aria-expanded="true"] { color: var(--tnmm-active) !important; }
.tnmm-item-menu[aria-expanded="true"] .i-l1 { transform: translateY(5.5px) rotate(45deg); }
.tnmm-item-menu[aria-expanded="true"] .i-l2 { opacity: 0; transform: scaleX(.2); }
.tnmm-item-menu[aria-expanded="true"] .i-l3 { transform: translateY(-5.5px) rotate(-45deg); }
.tnmm-item-menu .i-l2 { transform-origin: left center; }

/* WhatsApp: raised green button with a pulse ring and a periodic ring-ring wiggle. */
.tnmm-item-whatsapp .tnmm-icon {
	width: 46px;
	height: 46px;
	margin-top: -20px;
	border-radius: 50%;
	background: var(--tnmm-wa, #25d366);
	color: #fff;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--tnmm-wa, #25d366) 45%, transparent), 0 0 0 4px var(--tnmm-bg, #fff);
}
.tnmm-nolabels .tnmm-item-whatsapp .tnmm-icon { margin-top: -14px; }
.tnmm-item-whatsapp .tnmm-i { width: 26px; height: 26px; animation: tnmm-ring 4s 1.5s ease-in-out infinite; }
.tnmm-item-whatsapp .i-phone { fill: currentColor; stroke: none; }
.tnmm-item-whatsapp .tnmm-label { color: color-mix(in srgb, var(--tnmm-wa, #25d366) 70%, #0b3d1f); }
.tnmm-pulse {
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 50%;
	background: var(--tnmm-wa, #25d366);
	animation: tnmm-pulse 2.2s ease-out infinite;
}

/* Tap feedback (JS adds .is-tapped) */
.tnmm-anim-bounce .tnmm-item.is-tapped .tnmm-icon { animation: tnmm-bounce .5s cubic-bezier(.34, 1.8, .5, 1); }
.tnmm-anim-pop .tnmm-item.is-tapped .tnmm-icon { animation: tnmm-pop .45s cubic-bezier(.34, 1.8, .5, 1); }
.tnmm-item.is-tapped .tnmm-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 56px;
	height: 56px;
	margin: -28px 0 0 -28px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0;
	animation: tnmm-ripple .5s ease-out;
	pointer-events: none;
}
.tnmm-anim-none .tnmm-item.is-tapped .tnmm-icon::after { display: none; }
.tnmm-anim-none .tnmm-item .tnmm-i,
.tnmm-anim-none .tnmm-item .tnmm-i * { animation: none !important; }
.tnmm-anim-none .tnmm-pulse { animation: none; opacity: 0; }

@keyframes tnmm-bar-in { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes tnmm-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes tnmm-roof { 0% { transform: translateY(0); } 40% { transform: translateY(-3px); } 100% { transform: translateY(0); } }
@keyframes tnmm-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1.5px); } }
@keyframes tnmm-nod { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-1.5px); } 70% { transform: translateY(.5px); } }
@keyframes tnmm-arrow { 0%, 70%, 100% { transform: translateX(0); } 80% { transform: translateX(2.5px); } 90% { transform: translateX(-1px); } }
@keyframes tnmm-bounce { 0% { transform: scale(1); } 30% { transform: scale(.82) translateY(1px); } 60% { transform: scale(1.12) translateY(-3px); } 100% { transform: scale(1); } }
@keyframes tnmm-pop { 0% { transform: scale(1) rotate(0); } 40% { transform: scale(1.22) rotate(-6deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes tnmm-ripple { 0% { opacity: .18; transform: scale(.3); } 100% { opacity: 0; transform: scale(1); } }
@keyframes tnmm-pulse { 0% { transform: scale(1); opacity: .45; } 80%, 100% { transform: scale(1.75); opacity: 0; } }
@keyframes tnmm-ring { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 94% { transform: rotate(-10deg); } 96% { transform: rotate(6deg); } }
@keyframes tnmm-badge { from { transform: scale(0); } to { transform: scale(1); } }

/* =========================================================
 * 3. Menu sheet
 * ======================================================= */
.tnmm-backdrop {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 9995;
	background: rgba(22, 12, 17, .48);
	opacity: 0;
	transition: opacity .3s;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}
.tnmm-backdrop.is-open { opacity: 1; }
.tnmm-sheet {
	display: flex;
	flex-direction: column;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9996;
	max-height: 86vh;
	max-height: 86dvh;
	background: #fff;
	color: #231a1f;
	border-radius: 22px 22px 0 0;
	box-shadow: 0 -18px 50px rgba(25, 12, 18, .25);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	transform: translateY(105%);
	transition: transform .45s cubic-bezier(.2, .9, .25, 1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Tamil", "Noto Sans Devanagari", sans-serif;
	outline: none;
}
.tnmm-sheet.is-open { transform: translateY(0); }
.tnmm-sheet.is-dragging { transition: none; }
.tnmm-sheet[hidden], .tnmm-backdrop[hidden] { display: none !important; }
body.tnmm-sheet-open { overflow: hidden; }

.tnmm-sheet-handle { display: flex; justify-content: center; padding: 10px 0 2px; cursor: grab; touch-action: none; }
.tnmm-sheet-handle span { width: 42px; height: 5px; border-radius: 3px; background: #e2d8dc; }
.tnmm-sheet-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 18px 12px;
	touch-action: none;
}
.tnmm-member { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit !important; text-decoration: none !important; }
.tnmm-member img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in srgb, var(--tnmm-active) 35%, transparent); }
.tnmm-member span { display: flex; flex-direction: column; min-width: 0; }
.tnmm-member strong, .tnmm-site { font-size: 17px; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tnmm-member small { align-self: flex-start; margin-top: 3px; padding: 1px 8px; border-radius: 10px; background: color-mix(in srgb, var(--tnmm-active) 10%, #fff); color: var(--tnmm-active); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.tnmm-close {
	flex: 0 0 40px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 50% !important;
	background: #f5f0f2 !important;
	color: #231a1f !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: transform .3s;
}
.tnmm-close:active { transform: rotate(90deg) scale(.9); }
.tnmm-close .tnmm-i { width: 20px; height: 20px; }

.tnmm-sheet-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 2px 18px 10px; -webkit-overflow-scrolling: touch; }

.tnmm-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0 0 12px; padding: 0; list-style: none; }
.tnmm-quick li { margin: 0; padding: 0; list-style: none; }
.tnmm-quick a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 13px 4px 11px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--tnmm-active) 6%, #fff);
	border: 1px solid color-mix(in srgb, var(--tnmm-active) 12%, #fff);
	color: #231a1f !important;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: transform .15s;
}
.tnmm-quick a:active { transform: scale(.95); }
.tnmm-quick-ic { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--tnmm-active); box-shadow: 0 2px 8px rgba(25, 12, 18, .06); }
.tnmm-quick-ic .tnmm-i { width: 21px; height: 21px; }
.tnmm-quick-ic .tnmm-badge { top: -6px; right: -8px; }
.tnmm-sheet.is-open .tnmm-quick li { animation: tnmm-rise .42s calc(var(--d, 0) * 45ms + 120ms) cubic-bezier(.2, .9, .25, 1) both; }
@keyframes tnmm-rise { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

.tnmm-sheet-nav ul { margin: 0; padding: 0; list-style: none; }
.tnmm-sheet-nav li { margin: 0; padding: 0; list-style: none; }
.tnmm-sheet-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 4px;
	border-bottom: 1px solid #f1eaed;
	color: #231a1f !important;
	font-size: 15.5px;
	font-weight: 600;
	text-decoration: none !important;
}
.tnmm-sheet-nav a::after {
	content: "";
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #b9aab1;
	border-top: 2px solid #b9aab1;
	transform: rotate(45deg);
}
.tnmm-sheet-nav .current-menu-item > a,
.tnmm-sheet-nav a[aria-current="page"] { color: var(--tnmm-active) !important; }
.tnmm-sheet-nav .sub-menu a { padding-left: 16px; font-size: 14.5px; font-weight: 500; }
.tnmm-sheet.is-open .tnmm-sheet-nav > ul > li { animation: tnmm-rise .4s calc(var(--d, 3) * 45ms + 160ms) cubic-bezier(.2, .9, .25, 1) both; }

.tnmm-sheet-foot { display: flex; gap: 10px; padding: 12px 18px 16px; border-top: 1px solid #f1eaed; }
.tnmm-btn {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 14px;
	border-radius: 13px;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform .15s;
}
.tnmm-btn:active { transform: scale(.97); }
.tnmm-btn .tnmm-i { width: 19px; height: 19px; }
.tnmm-btn-primary { background: var(--tnmm-active); color: #fff !important; box-shadow: 0 6px 16px color-mix(in srgb, var(--tnmm-active) 35%, transparent); }
.tnmm-btn-ghost { background: #fff; color: #231a1f !important; border: 1px solid #e6dce0; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	.tnmm-bar, .tnmm-bar *, .tnmm-sheet, .tnmm-sheet *, .tnmm-backdrop { animation: none !important; transition: none !important; }
	.tnmm-pulse { opacity: 0; }
}
