:root {
	font-family: 'Helvetica Neue', arial, sans-serif;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	color-scheme: light dark;
	color: #444;
	background: #fafafa;
}

@media (prefers-color-scheme: dark) {
	:root {
		color: #fff;
		background: #1c1c1c;
	}
}

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

#app > main {
	display: -ms-flexbox;
	display: flex;
	padding-top: 3.5rem;
	margin: 0 auto;
	min-height: calc(100vh - 3.5rem);
	max-width: 1280px;
	-ms-flex-align: center;
	    align-items: center;
	-ms-flex-pack: center;
	    justify-content: center;
}

@media (max-width: 639px) {
	#app > main {
		margin: 0 2rem;
	}
}

:root {
  --bg: #fff;
  --primary: #1b8dff;
  --text: #000;
  --sub_text: #909090;
  --border:#efefef;
  --wran:#f72a1a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* 滚动条宽度 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background: transparent;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}

/* hover 状态 */
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  -ms-transform: translate(-50%, -100%);
      transform: translate(-50%, -100%);
  width: 100%;
  max-width: 450px;
  z-index: 1000;
  background: #fff;
  transition: transform 0.25s ease;
  will-change: transform;
}
.site-header.is-visible {
  -ms-transform: translate(-50%, 0);
      transform: translate(-50%, 0);
}
