/*
 * 官网基础样式。
 * 用途：提供全站盒模型、页面滚动和可访问性基础能力，避免业务样式重复声明。
 * 修改注意：这里不放具体业务模块样式，模块样式统一放在 website.css。
 */
*,
*::before,
*::after { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; text-size-adjust: 100%; }

body {
  min-width: 320px;
  margin: 0;
  color: #1f3049;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #eef4fa;
}

button,
a { -webkit-tap-highlight-color: transparent; }

button { font-family: inherit; }

[hidden] { display: none !important; }

img,
svg { display: block; }

.mobile-only { display: none !important; }

.desktop-only { display: flex !important; }

@media (max-width: 768px) {
  .mobile-only { display: flex !important; }
  .desktop-only { display: none !important; }
}
