/* =========================
   Reset.css
   基于现代浏览器 & 响应式设计
   适合 1920 → vw 方案
   ========================= */

/* 1. 统一盒模型 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. 清除默认 margin / padding */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* 3. HTML5 元素显示修正 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/* 4. body 基础设置 */
body {
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 5. 列表样式 */
ol,
ul {
  list-style: none;
}

/* 6. 引用 */
blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

/* 7. 表格 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 8. 图片 / 媒体 */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 9. 链接 */
a {
  text-decoration: none;
  color: inherit;
}

/* 10. 表单元素 */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* 11. 禁止 textarea resize（如不需要可删除） */
textarea {
  resize: none;
}

/* 12. 强调元素 */
strong,
b {
  font-weight: bold;
}

em,
i {
  font-style: normal;
}

/* 13. 防止点击高亮（移动端） */
a,
button {
  -webkit-tap-highlight-color: transparent;
}

/* 14. 默认隐藏 */
[hidden] {
  display: none !important;
}
