/* ==UserStyle==
@name           Segoe→Verdana + Consolas→Cascadia
@namespace      github.com/openstyles/stylus
@version        1.2.1
@description    Makes all Segoe UI and Roboto render as Verdana instead. And Consolas render as Cascadia Mono. And numbers always in Cascadia.
@author         myf
@license        CC0
@downloadURL https://update.greasyfork.org/scripts/549506/Segoe%E2%86%92Verdana%20%2B%20Consolas%E2%86%92Cascadia.user.css
@updateURL https://update.greasyfork.org/scripts/549506/Segoe%E2%86%92Verdana%20%2B%20Consolas%E2%86%92Cascadia.meta.css
==/UserStyle== */

@-moz-document url-prefix("https://"), url-prefix("http://") {
/*
https://userstyles.world/style/23838
https://greasyfork.org/en/scripts/549506
Changelog
1.2.1 (2025-09-14) Published to Greasy Fork.
1.2.0 (2025-09-13) Forced digits to use Cascadia. Don't judge me.
1.0.1 (2025-08-21) Removed the Consolas -> Consolas fallback for when Cascadia is not on the system, since it was picked even when Cascadia was available. Gotta investigate later.
1.0.0 (2025-08-20) Init.
*/
/*
§ "Segoe UI" -> Verdana. 
*/
@font-face { font-family: "Segoe UI"; font-weight: 400; font-style: normal; src: local("Verdana"); }
@font-face { font-family: "Segoe UI"; font-weight: 400; font-style: italic; src: local("Verdana Italic"); }
@font-face { font-family: "Segoe UI"; font-weight: 600; font-style: normal; src: local("Verdana Bold"); }
@font-face { font-family: "Segoe UI"; font-weight: 600; font-style: italic; src: local("Verdana Bold Italic"); }
@font-face { font-family: "Segoe UI"; font-weight: 400; font-style: normal; unicode-range: U+30-39; src: local("Cascadia Mono Regular"); }
@font-face { font-family: "Segoe UI"; font-weight: 400; font-style: italic; unicode-range: U+30-39; src: local("Cascadia Mono Italic"); }
@font-face { font-family: "Segoe UI"; font-weight: 600; font-style: normal; unicode-range: U+30-39; src: local("Cascadia Mono Bold"); }
@font-face { font-family: "Segoe UI"; font-weight: 600; font-style: italic; unicode-range: U+30-39; src: local("Cascadia Mono Bold Italic"); }
/*
§ "Roboto" -> Verdana. 
*/
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; src: local("Verdana"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: italic; src: local("Verdana Italic"); }
@font-face { font-family: "Roboto"; font-weight: 600; font-style: normal; src: local("Verdana Bold"); }
@font-face { font-family: "Roboto"; font-weight: 600; font-style: italic; src: local("Verdana Bold Italic"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; unicode-range: U+30-39; src: local("Cascadia Mono Regular"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: italic; unicode-range: U+30-39; src: local("Cascadia Mono Italic"); }
@font-face { font-family: "Roboto"; font-weight: 600; font-style: normal; unicode-range: U+30-39; src: local("Cascadia Mono Bold"); }
@font-face { font-family: "Roboto"; font-weight: 600; font-style: italic; unicode-range: U+30-39; src: local("Cascadia Mono Bold Italic"); }
/*
§ Consolas -> Cascadia Mono
Cascadia is variable, but can be NOT installed.
Currently it is brought to Windows along with https://github.com/microsoft/terminal
Interestingly, putting `src: …, local("Consolas")` fallback makes Firefox pick the Consolas OVER Cascadia.
So having a lenient fallback here does not seem to be possible(?)
*/
@font-face { font-family: "Consolas"; font-weight: 400; font-style: normal; src: local("Cascadia Mono"); }
@font-face { font-family: "Consolas"; font-weight: 400; font-style: italic; src: local("Cascadia Mono Italic"); }
@font-face { font-family: "Consolas"; font-weight: 600; font-style: normal; src: local("Cascadia Mono"); }
@font-face { font-family: "Consolas"; font-weight: 600; font-style: italic; src: local("Cascadia Mono Italic"); }
/*
§ "Inter" -> Verdana. 
(Just for occasional tests on USO; surprisingly, I don't mind Inter.)
* OFF /
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; src: local("Verdana"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: italic; src: local("Verdana Italic"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; src: local("Verdana Bold"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: italic; src: local("Verdana Bold Italic"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; unicode-range: U+30-39; src: local("Cascadia Mono Regular"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: italic; unicode-range: U+30-39; src: local("Cascadia Mono Italic"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; unicode-range: U+30-39; src: local("Cascadia Mono Bold"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: italic; unicode-range: U+30-39; src: local("Cascadia Mono Bold Italic"); }
/* */

}