/* KTC's font for what members write: room and private messages, wall posts and replies, and the
   boxes they type them in. Red Hat Text (css/fonts/redhat, SIL Open Font License) is drawn for text
   at small sizes; Outfit (css/ktc/ktc-font.css) stays the interface font, names included. A member's
   own message font (css/fonts.css, .bfont) is set on the text inside and still wins. */
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/redhat/redhat-latin.woff2') format('woff2'); }
@font-face { font-family: 'Red Hat Text'; font-style: italic; font-weight: 300 700; font-display: swap; src: url('../fonts/redhat/redhat-latin-italic.woff2') format('woff2'); }

/* 550: a touch heavier than regular, so text holds up on dark backgrounds; bold in a message still
   steps up to 700 */
:root {
	--ktc-text-font: 'Red Hat Text', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--ktc-text-weight: 550;
}

html :is(.chat_message, .hunter_private, .target_private, .post_content, .reply_content > .text_small),
html :is(#content, #message_content, .post_input_container textarea) { font-family: var(--ktc-text-font); font-weight: var(--ktc-text-weight); }
html :is(.chat_message, .hunter_private, .target_private, .post_content, .reply_content > .text_small) :is(b, strong) { font-weight: 700; }
