@charset "utf-8";
/**
 * Hybrid motion — Android 16 spring press + Win11 soft transitions.
 */

body.oneui-theme .ou-pressable,
body.oneui-theme #top_panel .tp-menu div a,
body.oneui-theme #side_panel > .ui-tabs-nav a,
body.oneui-theme .panel-button,
body.oneui-theme input.button,
body.oneui-theme input[type="submit"],
body.oneui-theme .ou-fab,
body.oneui-theme .ou-fab-main,
body.oneui-theme .ui-dialog-buttonpane button {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition:
		transform var(--ou-dur) var(--ou-ease-spring),
		background var(--ou-dur) var(--ou-ease-out),
		border-color var(--ou-dur) var(--ou-ease-out),
		box-shadow var(--ou-dur) var(--ou-ease-out),
		color var(--ou-dur) var(--ou-ease-out);
}

body.oneui-theme .ou-pressed {
	transform: scale(var(--ou-press-scale)) !important;
	opacity: 0.92 !important;
}

@keyframes ou-sheet-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

body.oneui-theme .ui-dialog.ou-animating {
	animation: ou-sheet-in var(--ou-dur-slow) var(--ou-ease-out);
}

@media (prefers-reduced-motion: reduce) {
	body.oneui-theme *,
	body.oneui-theme *::before,
	body.oneui-theme *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	body.oneui-theme .ou-pressed {
		transform: none !important;
	}
}
