/*
 * Front end only - never loaded into the editor, so every line stays visible while editing.
 *
 * live.js sets data-fr-server on <html> to checking, online, offline or unknown, and
 * data-fr-discord to ready once the Discord count is in.
 */

/* Anything holding a {token} waits for live.js, so the braces never flash on screen. */
html:not([data-fr-server]) .fr-live {
	visibility: hidden;
}

html:not([data-fr-server="online"]) .fr-when-online,
html:not([data-fr-server="offline"]) .fr-when-offline,
html:not([data-fr-server="unknown"]) .fr-when-unknown,
html:not([data-fr-discord="ready"]) .fr-when-discord {
	display: none !important;
}
