@media (prefers-color-scheme: light),(prefers-color-scheme: dark) {
	:root{
		--body-background-color: #000;
		--background-color-L0: hsl(var(--CPT-THM-H,0) calc(var(--CPT-THM-S,100%) / 10) 24%);
		--background-color-L1: hsl(var(--CPT-THM-H,0) calc(var(--CPT-THM-S,100%) / 10) 21%);
		--background-color-L2: hsl(var(--CPT-THM-H,0) calc(var(--CPT-THM-S,100%) / 10) 18%);
		--background-color-L3: hsl(var(--CPT-THM-H,0) calc(var(--CPT-THM-S,100%) / 10) 15%);

		--body-text-color: rgba(255 255 255/100%);
		--body-text-color-a0: rgba(255 255 255/0%);
		--body-text-color-a5: rgba(255 255 255/5%);
		--body-text-color-a10: rgba(255 255 255/10%);
		--body-text-color-a25: rgba(255 255 255/25%);
		--body-text-color-a50: rgba(255 255 255/50%);
		--body-text-color-a75: rgba(255 255 255/75%);

		--background-color-warning: rgba(255 255 0/10%);
		--text-color-warning: rgba(255 255 0);
		--background-color-alert: rgba(255 69 69/25%);
		--text-color-alert: rgba(255 69 69);
		--background-color-complete: rgb(154 205 50/15%);
		--text-color-complete: rgba(154 205 50);
		--background-color-promotion: rgb(154 205 50/10%);
		--text-color-promotion: rgba(154 205 50);

		--CPT-BDC: rgba(255 255 255/10%);

		--CPT-COLOR: rgba(255 255 255/100%);
		--CPT-COLOR-A5: rgba(255 255 255/5%);
		--CPT-COLOR-A10: rgba(255 255 255/10%);
		--CPT-COLOR-A25: rgba(255 255 255/25%);
		--CPT-COLOR-A50: rgba(255 255 255/50%);
		--CPT-COLOR-A75: rgba(255 255 255/75%);

		--CPT-BGC: rgba(255 255 255/10%);

		--SiteTHM2: limegreen;

		--brightness-filter: 1;
		color-scheme: dark;
	}

	[data-game-theme],
	[data-item-theme]{--r:0;--g:0;--b:0;--h:0;--s:0%;--l:0%;}

	[class*="cpt-"]>input[type="search"]::-webkit-search-cancel-button{--search-cancel-button-background-position-y:1;}
	.cpt-select{--select-arrow-background-position-y:-1;}
	.cpt-checkbox>input[type="checkbox"]:checked+span{--checkbox-background-position-y:-1;}
	.cpt-checkbox>input[type="checkbox"]:disabled+span{--checkbox-background-position-x:-1;--checkbox-background-position-y:0;}
	.cpt-checkbox>input[type="checkbox"]:checked:disabled+span{--checkbox-background-position-x:0;--checkbox-background-position-y:0;}
	.cpt-radio>input[type="radio"]:disabled+span{--radio-background-position-x:-1;--radio-background-position-y:0;}
	.cpt-radio>input[type="radio"]:checked:disabled+span{--radio-background-position-x:0;--radio-background-position-y:0;}
}