* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style-type: none;
  font-family: Microsoft Yahei;
}

html {
  overflow-y: scroll; /* for IE8 */
  scrollbar-color: #4a4a4a #e8e8e8; /* Firefox: thumb, track */
}

:root {
  overflow-y: auto;
  overflow-x: hidden;
  --bg-color-l: #2b1136;
  --bg-color-r: #f1404b;
}

:root body {
  /*position: absolute;*/
}

body {
  width: 100vw;
  margin: 0;
  /*overflow: hidden;*/
}
::-webkit-scrollbar {
  /*整体样式*/
  width: 10px;
  height: 9px;
}
::-webkit-scrollbar-track {
  /*轨道：浅灰整块区域*/
  background: #e8e8e8;
  box-shadow: none;
  border-radius: 0;
}
::-webkit-scrollbar-thumb {
  /*滚动条滑块：深灰（易辨认，与浅灰轨道对比）*/
  border-radius: 6px;
  background-color: #4a4a4a;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #1a1a1a;
}

/* 窄视口使用流式宽度，避免手机端 body 被锁成 1226px 出现裁切或两侧留灰 */
@media screen and (max-width: 1225px) {
  body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
img {
  border: none;
  max-width: 100%;
  max-height: 100%;
}
a {
  border: none;
  text-decoration: none;
  color: #000;
}
.border {
  border: 1px solid #f00;
}
.center {
  margin: 0 auto;
}
.w {
  width: 1226px;
  margin: 0 auto;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.clear {
  clear: both;
}
.clearfix::after {
  content: "";
  height: 0;
  display: block;
  clear: both;
  visibility: hidden;
}
.mt20 {
  margin-top: 20px;
}
.mt10 {
  margin-top: 10px;
}
.ml20 {
  margin-left: 20px;
}
.ml40 {
  margin-left: 40px;
}
.mr40 {
  margin-right: 40px;
}
.mb20 {
  margin-bottom: 20px;
}
.border2 {
  border: 2px solid #ff6700;
}
.ft20 {
  font-size: 20px;
}
.ftbc {
  color: #ff6700;
  font-weight: bold;
}
.pr {
  padding-right: 40px;
}
.h3 {
  font-size: 22px;
  font-weight: bold;
}
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 10px;
}
