/*
 * Affiliate Playground Pro — Disclaimer Module
 * Dynamic color + border styles are applied via inline style attributes.
 */

.app-disclaimer {
	padding: 14px 18px;
	margin: 1.5em 0;
	font-size: 13px;
	line-height: 1.6;
	color: #444;
}

.app-disclaimer--style-c {
	color: #fff;
}

.app-disclaimer__heading {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 6px;
}

.app-disclaimer--short {
	padding: 8px 14px;
	margin: 1em 0 1.2em;
	font-size: 12px;
}

.app-disclaimer__more {
	color: inherit;
	text-decoration: underline;
	white-space: nowrap;
}

.app-aff-marker {
	font-size: 0.85em;
	opacity: 0.7;
	white-space: nowrap;
}

/* Fallback for the no-JS case; disclaimer.js measures real sticky headers on click. */
#app-disclaimer-full {
	scroll-margin-top: 120px;
}

html:has(.app-disclaimer__more) {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html:has(.app-disclaimer__more) {
		scroll-behavior: auto;
	}
}
