/**
 * Polish layer, module "cookie" (docs.ia/build/polish-design.md §16.2,
 * design §8.3, owner flag F1). The cookie bar at the bottom. Needs the base
 * module (tokens). Its part 2 view-transition-name only takes effect when
 * the chrome module is also enabled (chrome declares @view-transition).
 */

/* Today the bar covers the header on a first visit. */
body #cookie-notice.cn-position-top {
	top: auto;
	bottom: 0;
	box-shadow: var(--precoin-elev-2);
}

/* Steps toggle (services module) and finder buttons (downloads module)
   share this same ghost-tint pattern (design §8.1); the cookie buttons only
   need the active-press scale, because their hover/focus state is the
   plugin's own existing fill change. */
#cn-accept-cookie:active,
#cn-more-info:active {
	scale: .98;
	transition-duration: var(--precoin-t-press);
}

@media screen and (prefers-reduced-motion: no-preference) {
	#cookie-notice {
		view-transition-name: precoin-cookie-notice;
	}
}
