/* ============================================
   CSS Reset / Normalize
   跨浏览器基线统一（IE11+）
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { display: block; }

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

ul, ol { list-style: none; }

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

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

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  border: none;
  outline: none;
  background: none;
}

button, [type="button"], [type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

textarea { resize: vertical; }

table {
  border-collapse: collapse;
  border-spacing: 0;
}

address { font-style: normal; }

::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid #c9a96e;
  outline-offset: 2px;
}
