/* Shared game-interface font. The source and license are stored in assets/fonts. */
@font-face {
	font-family: "Fredoka Interface";
	src: url("../fonts/Fredoka-Variable.woff2") format("woff2");
	font-weight: 300 700;
	font-stretch: 75% 125%;
	font-style: normal;
	font-display: swap;
}

/* Game page names only; Japanese uses the existing local/system fallback fonts. */
#content > .game-page-heading .game-heading-name {
	font-family: "Fredoka Interface", sans-serif;
	font-weight: 600;
	letter-spacing: 0;
}

/* Match Lab keeps its established Fredoka interface and separate tile fonts. */
#match-game button:not(.match-tile),
#match-game select,
#match-game option,
#match-game label,
#match-game .match-stats,
#match-game #message {
	font-family: "Fredoka Interface", sans-serif;
}

/* Word Rally's collectible labels are drawn separately on the canvas. */
#word-rally {
	--font-body: "Fredoka Interface", "Source Sans 3", sans-serif;
	font-family: var(--font-body);
	font-weight: 600;
}
#word-rally button,
#word-rally select,
#word-rally option,
#word-rally label,
#word-rally summary {
	font-family: "Fredoka Interface", "Source Sans 3", sans-serif;
	font-weight: 600;
}
#word-rally .rally-overlay h2 {
	font-family: "Fredoka Interface", "Source Sans 3", sans-serif;
	font-weight: 600;
	letter-spacing: 0;
}

/* Letter Storm's falling letters/numbers retain their existing canvas fonts. */
.game-player.letter-storm {
	font-family: "Fredoka Interface", "Source Sans 3", sans-serif;
	font-weight: 600;
}
.game-player.letter-storm button,
.game-player.letter-storm select,
.game-player.letter-storm option {
	font-family: "Fredoka Interface", "Source Sans 3", sans-serif;
	font-weight: 600;
}
.game-player.letter-storm .overlay h2,
.game-player.letter-storm .instructions-panel h2 {
	font-family: "Fredoka Interface", "Source Sans 3", sans-serif;
	font-weight: 600;
}
