/* 重置样式 v2.0 | 支持俄语环境 */
*, 
*::before, 
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 核心元素重置 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background-color: #fff;
}

/* HTML5元素显示设置 */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

/* 列表重置 */
ul[class], 
ol[class] {
  list-style: none;
}

/* 媒体元素重置 */
img, 
video, 
canvas, 
audio, 
iframe, 
embed, 
object {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

/* 表格重置 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 表单元素重置 */
button, 
input, 
optgroup, 
select, 
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  border: 1px solid #ccc;
  background-color: transparent;
}

button, 
input { 
  overflow: visible;
}

button, 
select {
  text-transform: none;
}

button, 
[type="button"], 
[type="reset"], 
[type="submit"] {
  -webkit-appearance: button;
}

/* 链接重置 */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

/* 排版重置 */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

strong, 
b {
  font-weight: bolder;
}

/* 辅助功能 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 俄语字体优化 */
:root {
  --cyrillic-fonts: -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--cyrillic-fonts);
  font-size: 1rem;
}

/* 现代输入类型重置 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}