@tailwind base; @tailwind components; @tailwind utilities; @layer base { html, body { height: 100%; overflow-x: hidden; background-color: rgb(var(--canvas)); color: rgb(var(--ink-1)); font-family: var(--font-sans), system-ui, -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } ::selection { background-color: rgb(var(--accent) / 0.28); color: rgb(var(--ink-1)); } } /* Architectural hairline grid */ .bg-grid-fine { background-image: linear-gradient(to right, rgb(var(--line-strong) / 0.22) 1px, transparent 1px), linear-gradient(to bottom, rgb(var(--line-strong) / 0.22) 1px, transparent 1px); background-size: 36px 36px; } /* Always-dark high-contrast console frame */ .console-dark { background-color: #090b10; color: #e4e4e7; } /* Theme-synced modern scrollbars */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: rgb(var(--surface-1)); } ::-webkit-scrollbar-thumb { background: rgb(var(--line-strong)); border-radius: 9999px; } ::-webkit-scrollbar-thumb:hover { background: rgb(var(--ink-3)); } @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; } }