/* 全局基础样式 */ @supports (font-variation-settings: normal) { :root { font-synthesis-weight: none; } } html, body, #root { height: 100%; } body { margin: 0; background: radial-gradient(1200px 600px at 70% -100px, rgba(92,124,255,0.25) 0%, rgba(92,124,255,0.06) 45%, transparent 60%), radial-gradient(800px 400px at -200px 20%, rgba(120,220,255,0.15) 0%, rgba(120,220,255,0.06) 50%, transparent 70%), #0f172a; /* slate-900 */ color: #e5e7eb; /* gray-200 */ font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* 让 Ant Design 的 Layout 充满视口 */ .app-root { min-height: 100vh; } /* 统一滚动条样式(轻度) */ * { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; } ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 6px; }