@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("/vendor/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("/vendor/fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("/vendor/fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("/vendor/fonts/figtree-latin-700-normal.woff2") format("woff2"); }
/* Shared Makia foundation. Legacy violet names are aliases for interaction tokens. */

@font-face { font-family: "Vazirmatn"; font-weight: 400; font-display: swap; src: url("/vendor/fonts/vazirmatn-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Vazirmatn"; font-weight: 500; font-display: swap; src: url("/vendor/fonts/vazirmatn-arabic-500-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Vazirmatn"; font-weight: 600; font-display: swap; src: url("/vendor/fonts/vazirmatn-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Vazirmatn"; font-weight: 700; font-display: swap; src: url("/vendor/fonts/vazirmatn-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }


:root {
	color-scheme: dark;

	--paper: #101113;
	--mist-1: #151618;
	--mist-2: #202225;
	--mist-3: #292c30;
	--lilac: #303338;
	--card: #151618;

	/* Ink: text colours. ink-3 is the quietest that still passes AA on paper and on cards. */
	--ink: #f4f4f5;
	--ink-2: #c6c8cc;
	--ink-3: #a1a5ad;

	--violet: #f58bb8;
	--violet-deep: #f4f4f5;
	--violet-soft: #202225;
	--pink: #c91864;
	--pink-deep: #ff9ac3;
	--pink-hover: #b31558;
	--pink-soft: #321b25;

	/* Meaning colours, all AA as text on paper and on cards. */
	--ok: #5fd8b4;
	--warn: #ffb65c;
	--bad: #ff8078;
	--ok-soft: #12352c;
	--warn-soft: #3a2a10;
	--bad-soft: #3e1714;

	--rarity-common: #aa9dd2;
	--rarity-uncommon: #4fd1a5;
	--rarity-rare: #6ea0ff;
	--rarity-epic: #c56dff;
	--rarity-legendary: #ffb547;

	--font-text: "Figtree", "Vazirmatn", system-ui, "Segoe UI", Tahoma, sans-serif;
	--font-display: "Figtree", "Vazirmatn", system-ui, sans-serif;
	--border: #303338;
	--page-gradient: linear-gradient(155deg, #181a1d 0%, var(--paper) 44%, #0c0d0f 100%);
	--panel-gradient: linear-gradient(150deg, var(--mist-2), var(--card) 65%);
	--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--t-xs: 0.8125rem;
	--t-sm: 0.9375rem;
	--t-base: 0.9375rem;
	--t-md: 1.125rem;
	--t-lg: 2rem;
	--t-xl: 2.75rem;
	--t-2xl: 2.25rem;
	--t-3xl: 3rem;
	--t-hero: clamp(2rem, 4vw, 3.25rem);

	/* Space, in steps that are visibly different. */
	--s-1: 4px;
	--s-2: 4px;
	--s-3: 12px;
	--s-4: 16px;
	--s-5: 24px;
	--s-6: 32px;
	--s-7: 44px;
	--s-8: 72px;
	--s-9: 112px;
	--gutter: clamp(16px, 4vw, 40px);
	--wrap: 1240px;

	--r-sm: 4px;
	--r-md: 6px;
	--r-lg: 8px;
	--r-pill: 4px;

	/* Depth on dark is a deep shadow plus a hairline of light on the top edge, never a border and a shadow together. */
	--shadow-1: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 22px -10px rgba(0, 0, 0, 0.7);
	--shadow-2: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 4px rgba(0, 0, 0, 0.4), 0 20px 44px -16px rgba(0, 0, 0, 0.8);
	--shadow-3: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 4px 8px rgba(0, 0, 0, 0.45), 0 34px 70px -22px rgba(0, 0, 0, 0.9);

	/* Motion: ease out only. */
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--d-1: 120ms;
	--d-2: 170ms;
	--d-3: 180ms;

	--head-h: 64px;
}