@import "tailwindcss"; :root, .dark { --background: #0a0e17; --foreground: #f1f5f9; --hub-accent-1: #ff6b6b; --hub-accent-2: #ffe66d; --hub-accent-3: #4ecdc4; --hub-gradient-text: linear-gradient(135deg, #ff6b6b 0%, #ffe66d 50%, #4ecdc4 100%); --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); } .light { --background: #f8fafc; --foreground: #0f172a; --hub-accent-1: #e11d48; --hub-accent-2: #d97706; --hub-accent-3: #0d9488; --hub-gradient-text: linear-gradient(135deg, #e11d48 0%, #d97706 50%, #0d9488 100%); } @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); --font-sans: var(--font-outfit), var(--font-noto-sc), ui-sans-serif, system-ui, "PingFang SC", "Microsoft YaHei", sans-serif; --font-mono: ui-monospace, monospace; } html { height: 100%; scroll-behavior: smooth; } body { min-height: 100%; background: var(--background); color: var(--foreground); font-family: var(--font-sans); -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; transition: background-color 0.25s ease, color 0.25s ease; } .text-gradient { background: var(--hub-gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } /* Portal chrome theme toggle */ .nd-theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(78, 205, 196, 0.28); background: rgba(78, 205, 196, 0.1); color: #4ecdc4; font-size: 1.05rem; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease; } .nd-theme-toggle:hover { background: rgba(78, 205, 196, 0.18); border-color: rgba(78, 205, 196, 0.5); transform: translateY(-1px); } .light .nd-theme-toggle { border-color: rgba(13, 148, 136, 0.3); background: rgba(13, 148, 136, 0.1); color: #0d9488; }