/* Basic reset: keep layout deterministic */ html, body { margin: 0; padding: 0; } *, *::before, *::after { box-sizing: border-box; } body { background: #0A0A0A; font-family: PingFang SC, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; width: 100%; } img { display: block; } /* 去掉浏览器默认输入框 focus 光圈 / outline;组件可自行保留边框高亮 */ input, textarea, select { outline: none; outline-color: transparent; -webkit-tap-highlight-color: transparent; } input:focus, input:focus-visible, textarea:focus, textarea:focus-visible, select:focus, select:focus-visible { outline: none; outline-color: transparent; } input[type="search"] { -webkit-appearance: none; appearance: none; } input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none; } html { scrollbar-width: thin; scrollbar-color: #3A3A3A #0A0A0A; } ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #0A0A0A; } ::-webkit-scrollbar-thumb { background: #3A3A3A; border-radius: 9999px; } ::-webkit-scrollbar-thumb:hover { background: #4A4A4A; } /* 语义标题:避免浏览器默认 h1–h3 margin 影响现有布局 */ h1, h2, h3 { margin: 0; font-size: inherit; font-weight: inherit; } /* 仅供爬虫/读屏的语义内容,不影响视觉布局 */ .seo-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }