/* Barre d'application fixe en bas de l'écran (mobile uniquement) */
.tlms-appbar, .tlms-top { display: none; }
@media (max-width: 959px) {
	body.tlms-hasbar { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
	.tlms-appbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
		display: flex; align-items: stretch; justify-content: space-around;
		padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, .97);
		-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
		border-top: 1px solid rgba(45, 106, 79, .14);
		box-shadow: 0 -4px 18px rgba(45, 106, 79, .10);
	}
	.tlms-ab {
		flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		padding: 6px 2px; border-radius: 14px; text-decoration: none; color: #5f6b64; -webkit-tap-highlight-color: transparent;
	}
	.tlms-ab-ico { font-size: 22px; line-height: 1; }
	.tlms-ab-lbl { font-size: 11px; font-weight: 600; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
	.tlms-ab.is-active { color: #2D6A4F; background: rgba(45, 106, 79, .12); }
	.tlms-top { position: fixed; top: 10px; right: 10px; z-index: 9991; display: flex; gap: 8px; }
	body.admin-bar .tlms-top { top: 56px; }
	.tlms-topb {
		min-width: 54px; padding: 4px 8px 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 16px; text-decoration: none; color: #2D6A4F;
		background: rgba(255, 255, 255, .96); border: 0;
		box-shadow: 0 2px 8px rgba(0, 0, 0, .22); -webkit-tap-highlight-color: transparent;
	}
	.tlms-topb:active { transform: scale(.94); }
	.tlms-topb svg { display: block; width: 26px; height: 26px; }
	.tlms-topl { font-size: 11px; font-weight: 700; line-height: 1.1; color: #2D6A4F; }
	/* Le menu du thème (bouton ☰ et tiroir) disparaît : la barre du bas le remplace. Le logo reste. */
	body.tlms-hasbar .mobile-toggle-open-container,
	body.tlms-hasbar #mobile-drawer,
	body.tlms-hasbar .site-header-item-mobile-navigation,
	body.tlms-hasbar .mobile-navigation,
	body.tlms-hasbar .menu-toggle-open,
	body.tlms-hasbar #masthead .menu-toggle { display: none !important; }
}
