

body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif; line-height: 1.5; min-width: 320px; }
body.no-scroll { overflow: hidden; }
img { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; user-drag: none; }
.qr-code-img { pointer-events: auto; }
html { scroll-behavior: smooth; }
.page-section { display: none; }
.page-section.active { display: block; }
/* 首页 hero 高度按内容自适应 */
.hero { height: auto; padding-bottom: 64px; }
@media (max-width: 1024px) { .hero { padding-bottom: 56px; } }
@media (max-width: 768px) { .hero { padding-bottom: 48px; } }
/* 切页时瞬时归位导航栏，避免胶囊形变跳动 */
.navbar.no-anim, .navbar.no-anim * { transition: none !important; }

/* 展示区：给定初始高度，加载后由内容页上报高度动态调整 */
.wb-showcase { margin: 0; padding: 0; }
.wb-showcase iframe, #wbShowcaseFrame { display: block; width: 100%; height: 640px; border: 0; }

/* ===== 触屏体验补丁 ===== */
/* 交给浏览器做手势判定：去掉 300ms 点击延迟、避免双击缩放的误判；不影响任何视觉表现 */
a, button, [role="button"], summary, input, select, textarea, label { touch-action: manipulation; }

/* ===== 移动端动态视口高度（渐进增强） ===== */
/* 移动浏览器地址栏收放时 vh 不更新，会用 100vh 造成底部被遮挡；dvh 跟随可视视口，旧浏览器保持 vh 不变 */
@supports (height: 100dvh) {
  body { min-height: 100dvh; }
}
