/* Fonts included via Base64 encoding (because Obsidian doesn't like local files, apparently) */

/* Roboto is the font used in statblock body text. */
@font-face{
	font-family: Roboto;
	font-weight: normal;
	font-style: normal;
	src: url(data:font/ttf;base64,[encoded data, 224348 characters]);
}

@font-face{
	font-family: Roboto;
	font-weight: bold;
	font-style: normal;
	src: url(data:font/ttf;base64,[encoded data, 223116 characters]);
}

@font-face{
	font-family: Roboto;
	font-weight: normal;
	font-style: italic;
	src: url(data:font/ttf;base64,[encoded data, 227340 characters]);
}

@font-face{
	font-family: Roboto;
	font-weight: bold;
	font-style: italic;
	src: url(data:font/ttf;base64,[encoded data, 228680 characters]);
}

/* DIN Rundschrift Mittel approximates the font used for the statblock headings */
@font-face{
	font-family: DIN-Rundschrift-Mittel;
	src: url(data:font/otf;base64,[encoded data, 34908 characters]);
}

/* Pathfinder-Icons is the font used for action icons */
@font-face{
	font-family: Pathfinder-Icons;
	src: url(data:font/ttf;base64,AAEAAAAMAIAAAwBAR1NVQttz3ksAAADMAAAA3E9TLzIPEgbxAAABqAAAAGBjbWFwGfHUrwAAAggAAACkZ2FzcAAAABAAAAKsAAAACGdseWYlTOZXAAACtAAAA3RoZWFkGDqe2QAABigAAAA2aGhlYQwNCCkAAAZgAAAAJGhtdHggkAAHAAAGhAAAAGBsb2NhBvwF8AAABuQAAAAybWF4cAAdADkAAAcYAAAAIG5hbWVXaRd9AAAHOAAAAfJwb3N0AAMAAAAACSwAAAAgAAEAAAAKAB4ALAABbGF0bgAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAoAAAABAAgAAQAOAAEAAQAFAAUADAAoAEgAXgB4ABQADQARABIADgAEAAcACAARAAwADgANABAABgATAA8AEQALAA8ACQAJAAQABwAIABEADAAOAA0AEAAGABcACgAPAAkABwAIABEADAAOAA0ABgAVAAwADgANAAkABAAHAAgAEQAMAA4ADQAGABYADQAKAA8ACQAJAAQABwAIABEADAAOAA0ABgADBMMBkAAFAAACmQLMAAAAjwKZ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AG8AbgBzVmVyc2lvbiAxLjEAVgBlAHIAcwBpAG8AbgAgADEALgAxUGF0aGZpbmRlci1JY29ucwBQAGEAdABoAGYAaQBuAGQAZQByAC0ASQBjAG8AbgBzUGF0aGZpbmRlci1JY29ucwBQAGEAdABoAGYAaQBuAGQAZQByAC0ASQBjAG8AbgBzUmVndWxhcgBSAGUAZwB1AGwAYQByUGF0aGZpbmRlci1JY29ucwBQAGEAdABoAGYAaQBuAGQAZQByAC0ASQBjAG8AbgBzRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==);
}

* {
	--pf2e-size-trait: #3b7b59;
	--pf2e-alignment-trait: #576293;
	--pf2e-settlement-trait: #3b7b59;
	--pf2e-uncommon-trait: #98513d;
	--pf2e-rare-trait: #002664;
	--pf2e-unique-trait: #54166e;
	--pf2e-normal-trait: #5e0000;
	--pf2e-trait-border: #d8c384;
	--pf2e-style-highlight: var(--color-cyan);
	--pf2e-action-highlight: var(--color-blue);
	--pf2e-error-highlight: var(--color-red);
	--pf2e-common-indent: 1rem;
	--pf2e-table-header: rgb(0, 42, 23);
	--pf2e-table-even: rgba(173, 123, 0, 0.122);
	--pf2e-table-odd: rgba(176, 125, 0, 0.216);
}

.block-language-pf2e-stats {
	margin-bottom: 1.5rem;
}

.pf2e-statblock {
	text-wrap: wrap;
	color: var(--text-normal);
	tab-size: 2;
	font-size: 1rem;
	margin: 0;
	line-height: 1;
	text-align: left;
	padding: 0;
	white-space: normal;
}

.pf2e-statblock-edit {
	/* Specifically scoots down to not interfere with the "edit code" button. */
	margin-top: calc(var(--icon-size) + 3 * var(--size-2-2));
}

.pf2e-statblock h1, .pf2e-statblock h2 {
	text-transform: uppercase;
	font-family: DIN-Rundschrift-Mittel;
	font-weight: normal;
	font-size: calc(var(--font-text-size) * 1.4);
	line-height: 1.2rem;
	color: var(--text-normal);
	display: inline-block !important;
	margin: 0;
	margin-block: 0 !important;
}

.pf2e-statblock h1 {
	transform-origin: center left;
}

.pf2e-statblock h2 {
	text-align: right !important;
	float: right;
	transform-origin: center right;
}

.pf2e-statblock h3 {
	font-family: DIN-Rundschrift-Mittel;
	text-transform: uppercase;
	line-height: 1.5;
	white-space: nowrap;
	font-weight: normal;
}

.pf2e-statblock p, .pf2e-statblock li {
	font-family: Roboto;
	font-size: calc(var(--font-text-size) * 0.85);
	margin: 0;
	line-height: 1.3;
	text-align: justify;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-block-start: 0;
	margin-block-end: 0;
}

.pf2e-statblock ::marker {
	color: var(--text-normal);
}

.pf2e-statblock-2nd-paragraph {
	text-indent: var(--pf2e-common-indent);
}

.pf2e-statblock-subentry {
	/* For inverse indent for degrees of success, activations, and the like */
	text-indent: calc(-1 * var(--pf2e-common-indent));
	padding-left: var(--pf2e-common-indent);
}

.pf2e-statblock ul {
	margin: 0;
	padding-left: var(--pf2e-common-indent);
}

.pf2e-statblock mark {
	font-family: DIN-Rundschrift-Mittel;
	text-transform: uppercase;
	color: white !important;
	background: magenta;
	border-color: var(--pf2e-trait-border);
	border-style: solid;
	border-width: 0.1rem;
	border-right-width: 0.2rem;
	border-left-width: 0.2rem;
	font-size: calc(var(--font-text-size) * 0.8);
	line-height: 1.7;
	margin-left: -0.15rem;
	margin-right: -0.15rem;
	margin-bottom: 0.5rem;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	padding-top: 0.1rem;
	padding-bottom: 0.1rem;
	text-align: left;
	display: inline;
}

.pf2e-statblock code {
	font-family: Pathfinder-Icons;
	font-variant: normal;
	font-weight: normal;
	text-transform: initial;
	color: var(--text-normal);
	background-color: var(--background-primary);
	border-radius: 0;
	display: inline;
}

.pf2e-statblock hr {
	border-color: var(--text-normal);
	border-top: 1px solid;
	opacity: 1;
	/* These are !important because cm6's markdown-source-view overrides this somehow. */
	margin-top: 0.2rem !important;
	margin-bottom: 0.2rem !important;
}

.pf2e-statblock br {
	content: "";
	margin-top: 0;
}

.pf2e-statblock table {
	width: 100%;
}

.pf2e-statblock th, .pf2e-statblock td {
	font-family: Roboto;
	font-size: calc(var(--font-text-size) * 0.85);
	text-align: left;
	border-style: none;
	padding: 2px 0.5rem 0px 0.5rem ;
}

.pf2e-statblock th {
	font-weight: bold;
	background-color: var(--pf2e-table-header) !important;
	color: white !important;
}

.pf2e-statblock td {
	font-weight: normal;
	color: var(--text-normal) !important;
}

.pf2e-statblock tr:nth-child(even) {
	background-color: var(--pf2e-table-even) !important;
}

.pf2e-statblock tr:nth-child(odd) {
	background-color: var(--pf2e-table-odd) !important;
}

.pf2e-statblock-indent-1 {
	margin-left: 1rem !important;
}

.pf2e-statblock-indent-2 {
	margin-left: 2rem !important;
}

.pf2e-statblock-indent-3 {
	margin-left: 3rem !important;
}

.pf2e-statblock-indent-4 {
	margin-left: 4rem !important;
}

.pf2e-statblock-indent-5 {
	margin-left: 5rem !important;
}

.pf2e-statblock-tab {
	/* This only is used for circumventing Markdown turning tabs into codeblocks.
		This should never appear for end-users. */
	color: var(--color-red);
	font-weight: bold;
	padding-right: 0.5rem;
}


/* Ensures that we don't take on unwanted styling from ITS theme */
.pf2e-statblock h1::after, .pf2e-statblock h2::after, .pf2e-statblock h3::after, .pf2e-statblock hr::after {
	display: none !important;
}

.pf2e-statblock-live-h1, .pf2e-statblock-live-h2 {
	font-weight: bold;
	font-size: calc(var(--font-text-size) * 1.4);
}

.pf2e-statblock-live-h3 {
	font-weight: bold;
	font-size: var(--font-text-size);
}

.pf2e-statblock-live-p {
	font-size: var(--font-text-size);
}

.pf2e-statblock-live-mark {
	font-weight: bold;
	color: white !important;
	background: var(--pf2e-normal-trait);
	font-size: var(--font-text-size);
}

.pf2e-statblock-live-b {
	font-weight: bold;
	color: var(--pf2e-style-highlight);
}

.pf2e-statblock-live-i {
	font-style: italic;
	color: var(--pf2e-style-highlight);
}

.pf2e-statblock-live-actionSource {
	color: var(--pf2e-action-highlight);
}

.pf2e-statblock-live-action {
	font-family: Pathfinder-Icons;
	font-variant: normal;
	font-weight: normal;
	color: var(--pf2e-action-highlight);
}

.pf2e-statblock-live-error {
	color: var(--pf2e-error-highlight);
}

mark.pf2e-statblock-trait-normal, span.pf2e-statblock-trait-normal
{
	background: var(--pf2e-normal-trait);
}

mark.pf2e-statblock-trait-size, span.pf2e-statblock-trait-size
{
	background: var(--pf2e-size-trait);
}

mark.pf2e-statblock-trait-alignment, span.pf2e-statblock-trait-alignment
{
	background: var(--pf2e-alignment-trait);
}

mark.pf2e-statblock-trait-settlement, span.pf2e-statblock-trait-settlement
{
	background: var(--pf2e-settlement-trait);
}

mark.pf2e-statblock-trait-uncommon, span.pf2e-statblock-trait-uncommon
{
	background: var(--pf2e-uncommon-trait);
}

mark.pf2e-statblock-trait-rare, span.pf2e-statblock-trait-rare
{
	background: var(--pf2e-rare-trait);
}

mark.pf2e-statblock-trait-unique, span.pf2e-statblock-trait-unique
{
	background: var(--pf2e-unique-trait);
}