/* reset.css — 基础重置 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-base);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 禁止整页回弹滚动，各屏内部独立滚动 */
  overflow: hidden;
  overscroll-behavior: none;
  background: #2a2a2a;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  pointer-events: none; /* 纯展示图禁止长按菜单 */
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* 用户选中文本仅在文字区生效（按钮/插画不选） */
button,
img,
.no-select {
  -webkit-user-select: none;
  user-select: none;
}
