/* Generated by bin/build.php from src/Modes.php. Do not edit. */

html[data-wpam-mode="dark"] {
	--wpam-bg: #131416;
	--wpam-surface: #1d1e20;
	--wpam-text: #dcdee1;
	--wpam-muted: #a9abaf;
	--wpam-border: #393b3e;
	--wpam-accent: #97c2f0;
	--wpam-accent-text: #131416;
}

html[data-wpam-mode="pink"] {
	--wpam-bg: #1b1216;
	--wpam-surface: #271b21;
	--wpam-text: #e8dee2;
	--wpam-muted: #b9a9b0;
	--wpam-border: #48383f;
	--wpam-accent: #f0a9c4;
	--wpam-accent-text: #1b1216;
}

html[data-wpam-mode="blue"] {
	--wpam-bg: #0d1520;
	--wpam-surface: #15202d;
	--wpam-text: #dce2e9;
	--wpam-muted: #a6afbb;
	--wpam-border: #333e4d;
	--wpam-accent: #81ccf0;
	--wpam-accent-text: #0d1520;
}

html[data-wpam-mode="christmas"] {
	--wpam-bg: #f8f7f1;
	--wpam-surface: #f2f0e7;
	--wpam-text: #19251e;
	--wpam-muted: #4c5951;
	--wpam-border: #d6d9ce;
	--wpam-accent: #23643f;
	--wpam-accent-text: #f8f7f1;
}

html[data-wpam-mode="black_friday"] {
	--wpam-bg: #0c0b0a;
	--wpam-surface: #171614;
	--wpam-text: #e9e7e5;
	--wpam-muted: #adaaa7;
	--wpam-border: #353230;
	--wpam-accent: #f2b966;
	--wpam-accent-text: #0c0b0a;
}

html[data-wpam-mode="valentines"] {
	--wpam-bg: #fdf4f5;
	--wpam-surface: #faecee;
	--wpam-text: #2d2022;
	--wpam-muted: #6a5457;
	--wpam-border: #e8d6d8;
	--wpam-accent: #9b4153;
	--wpam-accent-text: #fdf4f5;
}

html[data-wpam-mode="halloween"] {
	--wpam-bg: #141118;
	--wpam-surface: #1e1b25;
	--wpam-text: #e5e1da;
	--wpam-muted: #aca9b3;
	--wpam-border: #3c3846;
	--wpam-accent: #f2a26a;
	--wpam-accent-text: #141118;
}

html[data-wpam-mode="new_year"] {
	--wpam-bg: #0f121c;
	--wpam-surface: #181c29;
	--wpam-text: #e7e4dd;
	--wpam-muted: #aaaeb8;
	--wpam-border: #383d4b;
	--wpam-accent: #e2cc91;
	--wpam-accent-text: #0f121c;
}

html[data-wpam-mode][data-wpam-accent="christmas"] {
	--wpam-accent: #99cda3;
}

html[data-wpam-mode][data-wpam-accent="black_friday"] {
	--wpam-accent: #f2b966;
}

html[data-wpam-mode][data-wpam-accent="valentines"] {
	--wpam-accent: #f5a9b4;
}

html[data-wpam-mode][data-wpam-accent="halloween"] {
	--wpam-accent: #f2a26a;
}

html[data-wpam-mode][data-wpam-accent="new_year"] {
	--wpam-accent: #e2cc91;
}

/*
 * WP All Mode: base layer (all themes).
 *
 * Nothing here applies in Light mode: every rule is scoped to html[data-wpam-mode], which boot.js
 * only sets for non-light modes. Mode tokens (--wpam-*) are generated into the build file above this.
 * Elements inside .wpam-ignore are left alone.
 */

html[data-wpam-scheme="dark"] {
	color-scheme: dark;
}

html[data-wpam-scheme="light"] {
	color-scheme: light;
}

html[data-wpam-mode] {
	background-color: var(--wpam-bg);
	scrollbar-color: var(--wpam-border) var(--wpam-bg);
}

html[data-wpam-mode] body {
	background-color: var(--wpam-bg) !important;
	color: var(--wpam-text) !important;
}

html[data-wpam-mode] ::selection {
	background-color: var(--wpam-accent);
	color: var(--wpam-accent-text);
}

html[data-wpam-mode] ::placeholder {
	color: var(--wpam-muted);
	opacity: 1;
}

.wpam-ignore {
	color-scheme: light;
}

/* Media: a gentle dim in dark schemes only. --wpam-dim is set inline from the settings (1 = off). */
html[data-wpam-scheme="dark"] :is(img, video, picture, iframe, .wp-block-cover__image-background):not(:where(.wpam-ignore, .wpam-ignore *, .wpam-no-dim, .wpam-logo-dark)) {
	filter: brightness(var(--wpam-dim, 1));
}

/* Dark logo swap. */
.wpam-logo-dark {
	display: none !important;
}

html[data-wpam-scheme="dark"] .wpam-has-dark-logo .wpam-logo-dark {
	display: inline-block !important;
}

html[data-wpam-scheme="dark"] .wpam-has-dark-logo img:not(.wpam-logo-dark) {
	display: none !important;
}

/* ------------------------------------------------------------------------
 * Switch
 * --------------------------------------------------------------------- */

.wpam-switch {
	--wpam-sw-bg: #ffffff;
	--wpam-sw-fg: #1d1f23;
	--wpam-sw-border: rgba(0, 0, 0, 0.12);
	--wpam-sw-focus: #2f6fed;
	position: relative;
	display: inline-block;
	font: 500 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	letter-spacing: normal;
	text-transform: none;
}

html[data-wpam-mode] .wpam-switch {
	--wpam-sw-bg: var(--wpam-surface);
	--wpam-sw-fg: var(--wpam-text);
	--wpam-sw-border: var(--wpam-border);
	--wpam-sw-focus: var(--wpam-accent);
}

.wpam-switch--floating {
	position: fixed;
	z-index: 99990;
}

.wpam-pos-bottom-right { right: var(--wpam-offset, 24px); bottom: var(--wpam-offset, 24px); }
.wpam-pos-bottom-left { left: var(--wpam-offset, 24px); bottom: var(--wpam-offset, 24px); }
.wpam-pos-top-right { right: var(--wpam-offset, 24px); top: var(--wpam-offset, 24px); }
.wpam-pos-top-left { left: var(--wpam-offset, 24px); top: var(--wpam-offset, 24px); }

.wpam-switch__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	/* Themes style `button` aggressively; the switch is a self-contained control, so its look is locked. */
	padding: 0 12px !important;
	border: 1px solid var(--wpam-sw-border) !important;
	border-radius: 999px !important;
	background: var(--wpam-sw-bg) !important;
	color: var(--wpam-sw-fg) !important;
	font: inherit !important;
	line-height: 1 !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.wpam-switch--icon .wpam-switch__button {
	justify-content: center;
	padding: 0 !important;
}

.wpam-switch--minimal .wpam-switch__button {
	min-height: 32px;
	padding: 0 4px !important;
	border-color: transparent !important;
	background: transparent !important;
	color: inherit !important;
	box-shadow: none !important;
}

.wpam-switch__button:focus-visible,
.wpam-switch__item:focus-visible {
	outline: 2px solid var(--wpam-sw-focus);
	outline-offset: 2px;
}

.wpam-switch__icon {
	width: 18px;
	height: 18px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wpam-switch__icon--moon,
.wpam-switch[data-scheme="dark"] .wpam-switch__icon--sun {
	display: none;
}

.wpam-switch[data-scheme="dark"] .wpam-switch__icon--moon {
	display: block;
}

.wpam-switch--icon .wpam-switch__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.wpam-switch__menu {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	min-width: 176px;
	margin: 0;
	padding: 6px;
	list-style: none;
	border: 1px solid var(--wpam-sw-border);
	border-radius: 12px;
	background: var(--wpam-sw-bg);
	color: var(--wpam-sw-fg);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.wpam-switch__menu[hidden] {
	display: none;
}

.wpam-pos-bottom-left .wpam-switch__menu,
.wpam-pos-top-left .wpam-switch__menu,
.wpam-switch:not(.wpam-switch--floating) .wpam-switch__menu {
	right: auto;
	left: 0;
}

.wpam-pos-top-right .wpam-switch__menu,
.wpam-pos-top-left .wpam-switch__menu,
.wpam-switch:not(.wpam-switch--floating) .wpam-switch__menu {
	top: calc(100% + 8px);
	bottom: auto;
}

.wpam-switch:not(.wpam-switch--floating) .wpam-switch__menu {
	z-index: 99990;
}

.wpam-switch__menu li {
	margin: 0;
	padding: 0;
}

.wpam-switch__item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 0 10px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: inherit !important;
	font: inherit !important;
	text-align: left;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
}

.wpam-switch__item:hover,
.wpam-switch__item:focus-visible {
	background: color-mix(in srgb, currentColor 8%, transparent) !important;
}

.wpam-switch__swatch {
	width: 14px;
	height: 14px;
	flex: none;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.45);
}

.wpam-switch__check {
	width: 16px;
	height: 16px;
	margin-left: auto;
	visibility: hidden;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wpam-switch__item[aria-checked="true"] .wpam-switch__check {
	visibility: visible;
}

@media (max-width: 782px) {
	.wpam-hide-mobile {
		display: none !important;
	}
}

@media (min-width: 783px) {
	.wpam-hide-desktop {
		display: none !important;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wpam-switch__button,
	.wpam-switch__item {
		transition: background-color 120ms ease, color 120ms ease;
	}
}

@media print {
	.wpam-switch {
		display: none !important;
	}
}
