/* invite-web 样式重置（移动 H5 优先） */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-size: 16px;
  line-height: 1.5;
}

body {
  font-family: var(--font-sans);
  color: var(--text-pri);
  background: var(--bg-page);
  min-height: 100vh;
  min-height: 100dvh;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

button:disabled {
  cursor: not-allowed;
}

/* 仅去掉文本类 input 的 iOS 默认内阴影 / Safari 灰底；
   checkbox / radio 必须保留原生外观，否则方框 + 勾号视觉一起没了，
   layout.css `.checkbox input` 依赖原生外观 + accent-color 上色 */
input:not([type="checkbox"]):not([type="radio"]) {
  -webkit-appearance: none;
  appearance: none;
}

a {
  color: var(--text-brand);
  text-decoration: none;
}

a:active {
  opacity: 0.7;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

[hidden] {
  display: none !important;
}
