/* Entry that apps import after `tailwindcss`. Fonts are loaded by each app with next/font. */ @import './theme.css'; @import './utilities.css'; @source '../'; @layer base { html { background-color: var(--color-bg-page); color: var(--color-text-primary); font-family: var(--font-sans); /* Every number is tabular: prices, dates, OTP, stats, countdowns. */ font-variant-numeric: tabular-nums; -webkit-text-size-adjust: 100%; } /* An open modal dialog or sheet freezes the page behind its scrim. */ html:has(dialog:modal) { overflow: hidden; } @media (prefers-reduced-motion: reduce) { *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } /* Nothing loops except a spinner while waiting; it slows down instead of stopping. */ .animate-spin { animation-duration: 2.4s !important; animation-iteration-count: infinite !important; } } }