/* 弹窗遮罩 */
#socTopMosk {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  background: #000;
  /* opacity: 0.618; */
  opacity: 0.7;
  z-index: 2;
}
#socTopPage {
  margin: 12px auto;
  width: 340px;
  min-width: 340px;
  font-size: 12px;
  font-weight: 100;
  position: relative;
  /* border: #e4f1cc 1px solid; */
  margin-top: 0px;
  /* display: none; */
}

/* 头部 */
.top-page-head #topPageHeadTitle {
  text-align: center;
  font-size: 18px;
  color: #404b5d;
}
.top-page-head #topPageHeadTitle #latestLog {
  cursor: pointer;
  font-size: 12px;
  font-weight: 100;
}
.rank-head-ul .top-head {
  position: relative;
}
.rank-head-ul .top-head .topHeadToCompare {
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  position: absolute;
  right: 68px;
  top: 2px;
  border-radius: 4px;
}
.rank-head-ul .top-head .topHeadToCompare:hover {
  background-color: rgba(67, 135, 244, 0.1);
  transform: translateX(1px);
}
.rank-head-ul .top-head .topHeadToCompare:active {
  background-color: rgba(34, 102, 204, 0.2);
  transform: translateX(-1px);
}
.rank-head-ul .top-head #customDelete {
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  position: absolute;
  right: 2px;
  top: 2px;
  border-radius: 4px;
  background-color: rgba(52, 168, 83, 0.1);
}
.rank-head-ul .top-head #addCustom {
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  position: absolute;
  left: 0px;
  top: 2px;
  border-radius: 4px;
  background-color: rgba(52, 168, 83, 0.1);
  border-radius: 6px;
}
.rank-head-ul .top-head #addCustom:hover {
  background-color: rgba(52, 168, 83, 0.2);
  transform: translateX(1px);
}
.rank-head-ul .top-head #addCustom:active {
  background-color: rgba(52, 168, 83, 0.3);
  transform: translateX(-1px);
}

/* 最近更新 */
.top-page-head .updateLogDiv {
  margin: -8px 0px -12px 4px;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
}
.top-page-head .updateLogDiv span {
}
.top-page-head .updateLogDiv span:hover {
  color: #4285f4;
}
.top-page-head .updateLogDiv span:active {
  color: #26c;
}
.top-page-head .updateLogDiv #simplifyFunc {
  position: absolute;
  right: 0;
  padding: 0px;
  cursor: pointer;
  user-select: none;
  color: #333;
  border-radius: 8px;
  background-color: rgba(204, 222, 252, 0.6);
}
.top-page-head .updateLogDiv #simplifyFunc:hover {
  background-color: rgba(204, 222, 252, 0.7);
  transform: translateX(1px);
}
.top-page-head .updateLogDiv #simplifyFunc:active {
  background-color: rgba(204, 222, 252, 0.8);
  transform: translateX(0px);
}

/* 每个数据 */
.top-list > ul > li {
  margin-bottom: 8px;
  position: relative;
  left: -36px;
  border-radius: 16px;
  padding: 0px;
  padding-left: 24px;
  background-color: rgb(255, 255, 255, 0);
  min-width: 310px;
  overflow: hidden;
  margin-left: 0px;
  /* border: #adcafa 1px solid; */
}
.top-list > ul > li div.mainInfo {
  /* display: none; */
  width: 360px;
  background-color: rgb(255, 255, 255, 0);
  /* border: #adcafa 1px solid; */
}
.top-list > ul > li div.mainInfo .more_icon {
  position: absolute;
  bottom: -7px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.3;
  padding: 8px;
  /* display: none; */
}
.top-list > ul > li div.mainInfo .more_icon:hover {
  opacity: 0.4;
}
.top-list > ul > li div.mainInfo .more_icon:active {
  opacity: 0.5;
}
.top-list > ul > li div.mainInfo .per-label {
  position: absolute;
  display: block;
  min-width: 24px;
  height: 24px;
  top: 16px;
  /* display: none; */
}
.top-list > ul > li div.mainInfo .per-checkbox {
  cursor: pointer;
  opacity: 0.6;
  padding: 8px;
}
.top-list > ul > li div.mainInfo .per-custom-edit {
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  position: absolute;
  top: 19px;
  border-radius: 4px;
  padding: 0px 2px;
  background-color: rgba(52, 168, 83, 0.1);
}
.top-list > ul > li div.mainInfo .per-custom-edit:hover {
  transform: translateX(1px);
  background-color: rgba(52, 168, 83, 0.2);
}
.top-list > ul > li div.mainInfo .per-custom-edit:active {
  transform: translateX(0px);
  background-color: rgba(52, 168, 83, 0.3);
}
.top-list > ul > li div.mainInfo .per-custom-delete {
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  position: absolute;
  top: 19px;
  border-radius: 4px;
  padding: 0px 2px;
  background-color: rgba(52, 168, 83, 0.1);
}
.top-list > ul > li div.mainInfo .per-custom-delete:hover {
  transform: translateX(1px);
  background-color: rgba(52, 168, 83, 0.2);
}
.top-list > ul > li div.mainInfo .per-custom-delete:active {
  transform: translateX(0px);
  background-color: rgba(52, 168, 83, 0.3);
}
.top-list > ul > li div.mainInfo .per-custom-customFlag {
  user-select: none;
  font-size: 12px;
  position: absolute;
  top: 35%;
  padding: 0px 2px;
  background-color: rgba(52, 168, 83, 0.4);
  color: #666;
  transform: rotate(-90deg);
  width: 48px;
  text-align: center;
  left: -15px;
  border-radius: 18px;
}

.top-list > ul > li.top-head {
  margin-bottom: -8px;
  font-size: 14px;
  font-weight: normal;
  display: flex;
  flex-wrap: nowrap;
}
.top-list > ul > li.top-head .return-brand {
  user-select: none;
  cursor: pointer;
  display: flex;
  flex-direction: row;
}
.top-list > ul > li.top-head .score-title {
  position: relative;
  display: flex;
  flex-direction: row;
}
.top-list > ul > li.top-head .score-title img {
  position: relative;
  top: 1px;
  opacity: 0.8;
  cursor: pointer;
  padding: 3px;
  margin-left: -3px;
  width: 12px;
  height: 12px;
  user-select: none;
  /* transition: transform 2s; */
  /* animation: sortAnim 382ms 1ms ease-in-out; */
}
.top-list > ul.rank-list-ul li {
  /* height: 54px; */
  position: relative;
  list-style: none;
  /* overflow: hidden; */
  /* border: 1px solid red; */
}

/* 等级分界限颜色 */
.top-list > ul.rank-list-ul li span.top {
  font-size: 13px;
  /* color: rgb(240, 35, 100); */
  color: rgb(198, 75, 146);
}
.top-list > ul.rank-list-ul li span.heighT {
  font-size: 13px;
  color: rgb(255, 91, 28);
}
.top-list > ul.rank-list-ul li span.heighL {
  font-size: 13px;
  color: rgb(251, 170, 49);
}
.top-list > ul.rank-list-ul li span.middleT {
  font-size: 13px;
  color: rgb(249, 171, 47);
}
.top-list > ul.rank-list-ul li span.middleL {
  font-size: 13px;
  color: rgb(135, 233, 131);
}
.top-list > ul.rank-list-ul li span.entryT {
  font-size: 13px;
  color: rgb(58, 190, 164);
}
.top-list > ul.rank-list-ul li span.entryL {
  font-size: 13px;
  color: rgb(26, 106, 159);
}
.top-list > ul.rank-list-ul li span.lower {
  font-size: 13px;
  color: rgb(26, 106, 255);
}

/* 排名列 */
.top-list > ul > li div.ranking-area {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 26px;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  height: 52px;
  text-align: center;
  flex-direction: column;
  font-weight: normal;
  font-size: 16px;
}
.top-list > ul > li .ranking-area div.logo {
  min-width: 24px;
  height: 24px;
  background: url(./svg/chip.svg) no-repeat left center;
  background-size: contain;
  border-radius: 12px;
  cursor: pointer;
}
.top-list > ul > li .ranking-area div.logo:hover {
  transform: translate(1px);
}
.top-list > ul > li .ranking-area div.logo:active {
  transform: translate(0px);
}

/* 名称列 */
.top-list > ul > li div.name-area {
  min-width: 108px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
  /* border: #e4f1cc 1px solid; */
}
.top-list > ul > li div.name-area .brand {
  font-weight: normal;
}
.top-list > ul > li div.name-area .name {
  font-size: 16px;
  font-weight: bold;
}
.top-list > ul > li div.name-area .name span {
  font-weight: lighter;
  font-size: 12px;
}
.top-list > ul > li div.name-area .alias {
  font-weight: normal;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}

/* 分数列 */
.top-list > ul > li div.score-area {
  min-width: 93px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: nowrap;
  /* border: 1px solid sandybrown; */
}
.top-list > ul > li div.score-area .score {
  font-size: 16px;
  font-weight: bold;
}
.top-list > ul > li div .tips {
  font-weight: normal;
}
.top-list > ul > li div.craft {
  font-weight: normal;
}

.top-list > ul > li div.extend-area {
  display: flex;
  /* border: 1px solid red; */
  border: rgb(249, 249, 249) 1px solid;
  border-radius: 16px;
  margin-top: 2px;
}
/* 数据条 */
.top-list > ul > li div.progress .progress-color {
  max-height: 52px;
}
.top-list > ul > li div.progress .progress-border {
  max-height: 50px;
}

/* 规格列 */
.top-list > ul > li div.desc-area {
  /* width: 37%; */
  /* min-width: 200px; */
  font-size: 12px;
  font-weight: lighter;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: nowrap;
  position: relative;
  flex-basis: 1;
  padding-left: 2px;
}

/* CPU扩展列 */
.top-list > ul > li div.cpu-area {
  /* width: 61%; */
  font-size: 12px;
  font-weight: 100;
  display: flex;
  justify-content: flex-start;
  /* overflow: ; */
  flex-wrap: nowrap;
  position: relative;
  border-radius: 16px;
  /* flex-basis: 2; */
}
.top-list > ul > li div.cpu-area .cpu-title {
  text-align: center;
  font-weight: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 2px;
}
.top-list > ul > li div.cpu-area .cpu-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: rgb(249, 249, 249) 1px solid;
  border-right: rgb(249, 249, 249) 1px solid;
  padding-left: 2px;
  padding-right: 2px;
}
.top-list > ul > li div .cpu-more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* border-left: rgb(249, 249, 249) 1px solid; */
}

/* 数据条 */
.top-list > ul > li > div.progress {
  position: absolute;
  left: 26px;
  top: 0;
  height: 100%;
  border-radius: 12px;
  z-index: -1;
  width: 0px;
  background-color: rgb(255, 255, 255, 0);
}
@keyframes progress {
  0% {
    width: 0px;
  }
  100% {
    width: 100%;
  }
}
@keyframes sortAnim {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(90deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
@keyframes sortAnim2 {
  0% {
    transform: rotate(180deg);
  }
  50% {
    transform: rotate(90deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* 页脚描述 */
.soc-top-page .top-foot .screenCapture {
  margin-top: 12px;
  display: flex;
}
.soc-top-page .top-foot .screenCapture a {
  padding: 4px;
  cursor: pointer;
  user-select: none;
  color: #333;
  border-radius: 8px;
}
.soc-top-page .top-foot .screenCapture #renderPdf {
  display: none;
}
.soc-top-page .top-foot .screenCapture a:hover {
  background-color: rgba(185, 191, 223, 0.1);
  transform: translateX(1px);
}
.soc-top-page .top-foot .screenCapture a:active {
  background-color: rgba(185, 191, 223, 0.2);
  transform: translateX(0px);
}

/* 日志弹窗 */
.updateLogModal {
  width: 288px;
  height: 466px;
  background-color: #fff;
  font-size: 12px;
  border-radius: 16px;
  padding: 8px 0px 8px 16px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 3;
  overflow: hidden;
}
.updateLogModal .modalHead {
  height: 20px;
  font-size: 16px;
  font-weight: normal;
}
.updateLogModal #modulMain {
  height: 446px;
  padding-right: 8px;
  overflow-y: auto;
  font-weight: normal;
}
.updateLogModal .perLog {
  position: relative;
}
.updateLogModal .perLog div {
}

/* 更新日志类型：改进/新增/修复/移除 */
.updateLogModal .perLog div .update-type {
  padding: 1px 2px;
  border-radius: 4px;
  margin-right: 8px;
}
.updateLogModal .perLog div .improve {
  background-color: #e4f1cc;
}
.updateLogModal .perLog div .add {
  background-color: #adcafa;
}
.updateLogModal .perLog div .repair {
  background-color: #fcd7a2;
}
.updateLogModal .perLog div .remove {
  background-color: #e8e8e8;
}
.updateLogModal .perLog div span {
  /* margin-left: 4px; */
}
/* 版本框 */
.updateLogModal .perLog .versionDetail {
  display: inline;
  position: absolute;
  left: 108px;
}
/* 关闭弹窗 */
.updateLogModal .closeModul {
  display: block;
  position: absolute;
  right: 4px;
  top: 4px;
  user-select: none;
  padding: 4px;
  border-radius: 16px;
  font-size: 16px;
  background-color: #fefefe;
  color: #888;
  line-height: 16px;
  text-align: center;
  height: 16px;
  width: 16px;
}
.updateLogModal .closeModul::before {
  content: "\2716";
}
.updateLogModal .closeModul:hover {
  cursor: pointer;
  background: rgba(238, 255, 238, 0.1);
  transform: translateX(1px);
}
.updateLogModal .closeModul:active {
  cursor: pointer;
  background: rgba(238, 238, 255, 0.2);
  transform: translateX(0px);
}

/* 最近更新产品 */
.updateProductModal {
  width: 288px;
  height: 466px;
  background-color: #fff;
  font-size: 12px;
  border-radius: 16px;
  padding: 8px 0px 8px 8px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 3;
  overflow: hidden;
}
.updateProductModal .modalHead {
  height: 20px;
  font-size: 16px;
  font-weight: normal;
  margin-left: 8px;
}
.updateProductModal #modulMainP {
  height: 446px;
  overflow-y: auto;
  font-weight: normal;
}
.updateProductModal #modulMainP .per_div_product {
  margin-bottom: 4px;
  margin-top: 4px;
  border-radius: 16px;
  background-color: #fffeff;
  padding: 8px;
}
.updateProductModal #modulMainP .per_div_product .perUpdateSoc {
  font-weight: bold;
  cursor: pointer;
}
.updateProductModal #modulMainP .per_div_product .perUpdateSoc:hover {
  transform: translateX(1px);
  color: #26c;
}
.updateProductModal #modulMainP .per_div_product .perUpdateSoc:active {
  transform: translateX(0px);
  color: #14a;
}

/* 关闭最近更新弹窗 */
.updateProductModal .closeModul {
  display: block;
  position: absolute;
  right: 4px;
  top: 4px;
  user-select: none;
  padding: 4px;
  border-radius: 16px;
  font-size: 16px;
  background-color: #fefefe;
  color: #888;
  line-height: 16px;
  text-align: center;
  height: 16px;
  width: 16px;
}
.updateProductModal .closeModul::before {
  content: "\2716";
}
.updateProductModal .closeModul:hover {
  cursor: pointer;
  background: rgba(240, 255, 240, 0.1);
}
.updateProductModal .closeModul:active {
  cursor: pointer;
  background: rgba(238, 238, 255, 0.2);
}

/* 回到顶部 */
#toTop {
  font-size: 12px;
  display: none;
  flex-direction: column;
  position: fixed;
  left: 448px;
  bottom: 10%;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  /* opacity: 0.3; */
  background-color: rgba(0, 0, 0, 0.2);
  background-image: url(../svg/backToTop.svg);
  background-size: contain;
}
#toTop:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
#toTop:active {
  background-color: rgba(0, 0, 0, 0.4);
}

/* 导航 */
#pageNav {
  font-size: 12px;
  display: flex;
  position: absolute;
  left: 1px;
  top: 1px;
  z-index: 2;
}
#pageNav #showNav {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  cursor: pointer;
  user-select: none;
  padding: 16px 8px 16px 0px;
}
#pageNav #mainNav {
  display: none;
  background-color: #eff7e1;
  border-radius: 16px;
  padding: 0px 1px;
  position: relative;
  margin: 0 auto;
}
#pageNav #mainNav #tansMainNav {
  width: 0;
  /* border: 1px solid darkmagenta; */
  transition: width 382ms;
  overflow: hidden;
  margin: auto;
}
#pageNav #mainNav #tansMainNav #filterNav {
  height: 18px;
  padding: 0 0px 0 8px;
  font-size: 14px;
  font-weight: normal;
  display: flex;
  align-items: center;
}
#pageNav #mainNav #tansMainNav #filterNav label {
  margin-right: 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
#pageNav #mainNav #tansMainNav #filterNav img {
  width: 14px;
  height: 14px;
  margin: 0px 0px 0px -2px;
}
#pageNav #mainNav #tansMainNav #filterNav #extendFilterNav {
  position: relative;
}
#pageNav
  #mainNav
  #tansMainNav
  #filterNav
  #extendFilterNav
  #extendFilterNavInner {
  position: absolute;
  top: 16px;
  left: 0;
}
#pageNav
  #mainNav
  #tansMainNav
  #filterNav
  #extendFilterNav
  #extendFilterNavInner
  label {
  height: 17px;
}
#pageNav #mainNav #tansMainNav #serchArea {
  /* position: relative; */
}
#pageNav #mainNav #tansMainNav #serchArea #serchInput {
  width: 210px;
  height: 30px;
  border-radius: 15px;
  outline: none;
  text-indent: 8px;
  border: 1px solid #eff7e1;
  opacity: 0.7;
  margin-left: 8px;
}
#pageNav #mainNav #tansMainNav #serchArea #serchInput:hover {
  opacity: 0.85;
}
#pageNav #mainNav #tansMainNav #serchArea #serchInput:focus {
  border: 1px solid #ffb1b1;
  opacity: 0.9;
}

/* 中大屏幕 360+128+93+30 */
@media screen and (min-width: 476px) {
  #socTopPage {
    width: 476px;
  }
  .top-list > ul > li {
    margin-bottom: 4px;
  }

  .top-list > ul > li div.ranking-area {
    height: 40px;
  }
  .top-list > ul > li .ranking-area div.logo {
    position: absolute;
    right: -25px;
    z-index: 1;
  }

  .top-list > ul > li.top-head .score-title {
    justify-content: flex-start;
  }
  .top-list > ul > li div.mainInfo .per-label {
    top: 10px;
  }

  .top-list > ul > li div.mainInfo {
    width: 476px;
  }
  .top-list > ul > li div.name-area {
    padding-left: 28px;
    text-align: left;
    min-width: 164px;
    justify-content: flex-start;
    flex-direction: row;
    /* border: 1px solid gold; */
    padding-right: 0px;
  }
  .top-list > ul:first-child li div.name-area {
    justify-content: flex-start;
    text-indent: 52px;
    width: 112px;
  }
  .top-list > ul > li div.name-area .alias {
    /* border: 1px solid green; */
    align-self: center;
  }
  .top-list > ul > li div.name-area .tran-per-name {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    text-align: left;
    /* border: #adcafa 1px solid; */
  }
  .top-list > ul > li div.name-area .brand {
    /* border: 1px solid sandybrown; */
    width: 48px;
    text-indent: 0;
    position: relative;
  }
  .top-list > ul > li div.name-area .name {
    text-indent: 0px;
    margin-left: 4px;
    /* border: 1px solid rgb(74, 88, 88); */
    /* display: inline; */
  }
  .top-list > ul > li div.mainInfo .per-custom-edit {
    top: 12px;
  }
  .top-list > ul > li div.mainInfo .per-custom-delete {
    top: 12px;
  }
  .top-list > ul > li div.mainInfo .per-custom-customFlag {
    top: 26%;
    width: 40px;
    text-align: center;
    left: -32px;
    border-radius: 18px;
  }

  .top-list > ul > li div.score-area {
    min-width: 128px;
    align-items: flex-start;
    /* border: 1px solid cadetblue; */
  }
  .top-list > ul > li div.score-area .tran-per-score {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .top-list > ul > li div.craft {
    order: 2;
  }

  .top-list > ul > li div.progress .progress-color {
    max-height: 40px;
    position: absolute;
    left: 0;
  }
  .top-list > ul > li div.progress .progress-border {
    max-height: 38px;
  }

  .top-list > ul > li div.extend-area {
    margin-top: 4px;
  }

  #pageNav #mainNav {
    width: 476px;
  }

  /* 大屏幕 476+128+93 */
  @media screen and (min-width: 700px) {
    #socTopPage {
      width: 720px;
    }
    .top-list > ul > li {
      margin-bottom: 6px;
      padding-top: 3px;
      /* 
      border: 1px solid teal; */
    }
    .top-list > ul > li .ranking-area div.logo {
      top: 1px;
    }

    .top-list > ul > li div.mainInfo .per-label {
      top: 2px;
    }

    .top-list > ul > li div.mainInfo {
      width: 720px;
    }

    .top-list > ul > li div.ranking-area {
      height: 30px;
    }

    .top-list > ul:first-child li div.name-area {
      text-indent: 52px;
    }
    .top-list > ul > li div.name-area {
      min-width: 252px;
      flex-wrap: nowrap;
    }
    .top-list > ul > li div.name-area .tran-per-name {
      flex-direction: row;
      width: 204px;
      justify-content: flex-start;
      align-items: center;
      /* border: #adcafa 1px solid; */
    }
    .top-list > ul > li div.name-area .brand {
      /* border: 1px solid sandybrown; */
    }
    .top-list > ul > li div.name-area .name {
      /* border: 1px solid rgb(74, 88, 88); */
    }

    .top-list > ul > li div.score-area {
      min-width: 200px;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      /* border: 1px solid cadetblue; */
    }
    .top-list > ul > li div.score-area .tran-per-score {
      width: 124px;
      justify-content: flex-start;
    }

    .top-list > ul > li div.progress .progress-color {
      max-height: 26px;
    }
    .top-list > ul > li div.progress .progress-border {
      max-height: 24px;
    }

    .top-list > ul > li div.mainInfo .per-custom-edit {
      top: 5px;
    }
    .top-list > ul > li div.mainInfo .per-custom-delete {
      top: 5px;
    }
  }
}
