@charset "UTF-8";
body.night .content .post_content p {
  color: #ccc;
}

body.night .content .post_content p a.s_tag {
  color: #ccc;
}

body.night .content .post_content h3 {
  color: #ccc;
}

body.night .post_content .accentTextColor {
  font-weight: bold;
}

body.night .post_content .tougao-user {
  color: #7c8388;
  background: #282828;
}

body.night .post_content .tougao-user a {
  color: #7c8388;
  border-bottom: 1px solid #d22222;
  padding-bottom: 2px;
}

body.night .content .post_content p .accentTextColor a {
  color: #fdd;
}

body.night .content .post_content p .accentTextColor a:hover {
  color: #fff;
}

body.night .card,
body.night span.card {
  border-color: #aaa;
}

body.night .card a,
body.night span.card a {
  color: #ccc;
}

body.night .content .post_content blockquote {
  background-color: #393939;
}

body.night .content .post_content table td:last-child,
body.night .content .post_content table th:last-child {
  border-right: 1px solid #424242 !important;
}

body.night table td,
body.night table th {
  border-bottom: 1px solid #424242 !important;
  border-left: 1px solid #424242 !important;
  border: 1px solid #424242;
}

body.night .post_content table {
  background-image: url("https://img.ithome.com/images/vote-bg-dark-2.png");
}

body.night table tr:nth-child(odd) {
  background: rgba(90, 90, 90, 0.1882352941);
}

body.night ul.custom_reference li * {
  color: #bfbfbf !important;
}

body.night .referenceTitle {
  color: #fff;
}

body.night .content .post_content p img {
  opacity: 0.9;
}

body.night .newsreward {
  background: #303030;
}

body.night .newsgrade .sd {
  background: #303030;
}

body.night .newsgrade .sd .ss:before {
  color: #ccc;
}

body.night .newsgrade .bt .s a,
body.night .newsgrade .bt .s div {
  color: #ccc;
}

body.night .newsgrade .bt #sgrade2 {
  background-image: url(https://img.ithome.com/images/grade/smileh.png);
  background-color: #303030;
}

body.night .newsgrade .bt #sgrade2:hover {
  background-image: url(https://img.ithome.com/images/grade/smileh.png);
  background-color: #6b803f;
}

body.night .newsgrade .bt #sgrade0 {
  background-color: #303030;
  background-image: url(https://img.ithome.com/images/grade/cryh.png);
}

body.night .newsgrade .bt #sgrade0:hover {
  background-color: #c52020;
  background-image: url(https://img.ithome.com/images/grade/cryh.png);
}

body.night .newserror button {
  background: #303030;
  color: #ccc;
}

body.night .related_post .title h2 {
  color: #ccc;
}

body.night .related_post ul li:before {
  background: #ccc;
}

body.night .bdshare_popup_list a {
  color: #999;
}

body.night pre {
  background-color: #303030;
  color: #ccc;
}

body.night .prettyprint {
  background: #1d1f21;
  font-family: Menlo, Bitstream Vera Sans Mono, DejaVu Sans Mono, Monaco,
    Consolas, monospace;
  border: 0 !important;
}

body.night .pln {
  color: #c5c8c6;
}

body.night ol.linenums {
  margin-top: 0;
  margin-bottom: 0;
  color: #969896;
}

body.night li.L0,
body.night li.L1,
body.night li.L2,
body.night li.L3,
body.night li.L4,
body.night li.L5,
body.night li.L6,
body.night li.L7,
body.night li.L8,
body.night li.L9 {
  padding-left: 1em;
  background-color: #1d1f21;
  list-style-type: decimal;
}

@media screen {
  body.night .str {
    color: #b5bd68;
  }
  body.night .kwd {
    color: #b294bb;
  }
  body.night .com {
    color: #969896;
  }
  body.night .typ {
    color: #81a2be;
  }
  body.night .lit {
    color: #de935f;
  }
  body.night .pun {
    color: #c5c8c6;
  }
  body.night .opn {
    color: #c5c8c6;
  }
  body.night .clo {
    color: #c5c8c6;
  }
  body.night .tag {
    color: #c66;
  }
  body.night .atn {
    color: #de935f;
  }
  body.night .atv {
    color: #8abeb7;
  }
  body.night .dec {
    color: #de935f;
  }
  body.night .var {
    color: #c66;
  }
  body.night .fun {
    color: #81a2be;
  }
}

body.night pre,
body.night pre.prettyprint,
body.night .code_block {
  display: block;
  font-family: "Consolas", monospace;
  font-size: 13px;
  line-height: 18.2px;
  margin: 18px 0 30px;
  overflow: auto;
  padding: 5px;
  vertical-align: baseline;
  white-space: pre;
  border-left: 4px solid #444 !important;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

body.night pre {
  border-style: solid;
  margin: 0 0 20px !important;
  white-space: pre-wrap;
}

#dt {
  padding-top: 40px;
  position: relative;
}

@media screen and (max-width: 1320px) {
  #dt {
    padding-top: 25px;
  }
}

#dt .fl {
  width: 820px;
}

@media screen and (max-width: 1320px) {
  #dt .fl {
    width: 650px;
  }
}

#dt .fl .cv {
  font-size: 18px;
}

@media screen and (max-width: 1320px) {
  #dt .fl .cv {
    font-size: 14px;
  }
}

#dt .fl .cv .sub {
  margin: 0 10px;
}

@media screen and (max-width: 1320px) {
  #dt .fl .cv .sub {
    margin: 0 7px;
  }
}

#dt .fl h1 {
  font-size: 28px;
  line-height: 40px;
  margin: 40px 0 0 0;
  font-weight: normal;
}

@media screen and (max-width: 1320px) {
  #dt .fl h1 {
    font-size: 24px;
    line-height: 34px;
    margin: 25px 0 0 0;
    font-weight: normal;
  }
}

#dt .fl .info {
  font-size: 16px;
  color: #7c8388;
  margin-top: 40px;
}

@media screen and (max-width: 1320px) {
  #dt .fl .info {
    margin-top: 25px;
  }
}

#dt .fl .info a {
  color: #7c8388;
}

#dt .fl .info strong {
  font-weight: normal;
}

#dt .fl .info .l {
  float: left;
}

#dt .fl .info .l span {
  margin-right: 15px;
}

#dt .fl .info .l .avatar img {
  width: 24px;
  height: 24px;
  border-radius: 15px;
  overflow: hidden;
  display: inline-block;
  float: left;
  margin-top: -5px;
  margin-right: 5px;
}

#dt .fl .info .r {
  float: right;
}

#dt .fl .info .r span {
  margin-left: 15px;
}

#dt .fl .info #commentcount {
  margin-left: 0;
}

#dt .fl .info #hitcount {
  margin-right: 15px;
}

#dt .fr {
  width: 320px;
  margin-right: 20px;
}

@media screen and (max-width: 1320px) {
  #dt .fr {
    width: 300px;
    margin-right: 0;
  }
}

.content .post_content {
  clear: both;
  margin-top: 40px;
  text-align: justify;
  text-justify: inter-ideograph;
  word-wrap: break-word;
}

@media screen and (max-width: 1320px) {
  .content .post_content {
    margin-top: 25px;
  }
}

.content dir {
  padding: 0 20px;
}

.content .post_content p,
.content .post_content h3 {
  padding: 6px 0;
  color: #424242;
  margin: 3px 0;
}

.content .post_content table p {
  padding: 0;
}

.content .post_content p.ad-tips {
  font-size: 12px !important;
  color: #999 !important;
  line-height: 20px !important;
  padding: 10px 0 !important;
}

.content .post_content h3 {
  margin: 0;
}

.post_content .tougao-user {
  display: block;
  text-align: center;
  background: #fafafa;
  border-radius: 3px;
  padding: 10px;
  font-size: 0.8pc;
  text-align: center;
  line-height: 170%;
  margin-top: 25px;
  margin-bottom: 30px;
  color: #808080;
}

.post_content .tougao-user a {
  color: #808080;
  border-bottom: 1px solid #d22222;
  padding-bottom: 2px;
}

.content .fs2 p,
.content .post_content p,
.content .post_content h3 {
  font-size: 1pc;
  line-height: 30px;
}

.content .fs3 p {
  font-size: 18px;
  line-height: 34px;
}

.content .indt p {
  text-indent: 0;
}

.content .indt p embed,
.content .indt p img {
  margin-left: 2em;
}

.content .post_content p a:not(.link-card) {
  padding-bottom: 2px;
  height: 26px;
  box-shadow: 0 1px #d22222;
}

.content .post_content p a:hover {
  color: #f00;
}

.content .post_content p a.s_tag {
  border: 0;
  box-shadow: 0 0;
  color: #272a30;
  text-decoration: none;
  cursor: text;
}

.content .post_content p embed,
.content .post_content p img,
.content .post_content h2 img,
.content .post_content h3 img {
  max-width: 100%;
  display: inherit;
}

@media screen and (max-width: 1320px) {
  .content .post_content p embed,
  .content .post_content p img,
  .content .post_content h2 img,
  .content .post_content h3 img {
    max-width: 100%;
    height: auto;
  }
}

.content .post_content p strong {
  font-weight: 700;
}

.content .post_content p img {
  border-radius: 0;
  margin-bottom: 0;
  margin-top: 0;
  background: url(//img.ithome.com/images/logo.svg) no-repeat center #e7e7e7;
}

.content .post_content p img:only-child {
  margin: auto;
}

.content .post_content iframe.ithome_video,
.content .post_content iframe[src*="player.bilibili.com"] {
  height: 595px;
  width: 820px;
}

@media screen and (max-width: 1320px) {
  .content .post_content iframe.ithome_video,
  .content .post_content iframe[src*="player.bilibili.com"] {
    height: 435px;
    width: 650px;
  }
}

.content
  .post_content
  iframe[src*="img.ithome.com/app/calendar/event_card.html"] {
  max-width: 500px;
}

.content .post_content p img:first-child {
  margin-top: 7px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.content .post_content p img:last-child {
  margin-bottom: 7px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.content .post_content ul > ul {
  padding-left: 20px;
}

.content .post_content ul li:before {
  position: absolute;
  left: -2px;
  padding-right: 8px;
  color: #d22222;
  content: "●";
  line-height: 28px;
}

.content .post_content ul li {
  position: relative;
  padding-left: 20px;
}

.content .post_content ul {
  padding: 12px 0;
  list-style-type: none !important;
}

.content .post_content blockquote {
  position: relative;
  margin: 30px 0;
  padding: 26px 45px 6px;
  background-color: #f7f7f7;
  font-family: Lantinghei SC, Open Sans, Arial, Hiragino Sans GB,
    Microsoft YaHei, \\5fae软雅黑, STHeiti, WenQuanYi Micro Hei, SimSun,
    sans-serif;
}

.content .post_content blockquote img {
  max-width: 100%;
}

.font-color-red {
  color: #d22222;
}

.content .post_content blockquote:before {
  position: absolute;
  top: 20px;
  left: 20px;
  display: block;
  width: 1pc;
  height: 14px;
  background: url(//img.ithome.com/images/v2.3/blockquote.svg) no-repeat 0 0;
  content: "";
  background-size: 1pc;
}

.content .post_content blockquote:after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: block;
  width: 1pc;
  height: 14px;
  background: url(//img.ithome.com/images/v2.3/blockquote.svg) no-repeat 0 0;
  content: "";
  background-size: 1pc;
  transform: rotate(180deg);
}

.content .post_content li > p {
  padding: 0;
}

.content .hot_tags {
  float: right;
  padding-top: 0;
  width: 450px;
  text-align: right;
  font-size: 14px;
}

.content .hot_tags span {
  color: #999;
}

.content .rela-post {
  padding-top: 20px;
}

.content .pn_page {
  margin: 30px 0 10px;
  padding-left: 9pt;
  border-left: 4px solid #666;
  font-size: 14px;
  line-height: 26px;
}

.content .cate_list ul li {
  padding: 13px 0 20px;
  height: 75pt;
  border-bottom: 1px dotted #d6d6d6;
}

.content .cate_list ul li.cate_top {
  height: 20px;
  background: #fefdd1;
}

.content .cate_list ul li .list_thumbnail img {
  float: left;
  width: 90pt;
  height: 90px;
}

.content .cate_list ul li .block {
  float: left;
  padding-left: 20px;
  width: 574px;
}

.content .cate_list ul li .block h2 {
  padding-bottom: 9pt;
  font-size: 1pc;
}

.content .cate_list ul li.cate_top .block {
  width: 43pc;
}

.content .cate_list ul li.cate_top .block h2 {
  padding-left: 22px;
  background: url(https://img.ithome.com/images/v2.1/top_icon.png) left 0
    no-repeat;
  background-size: 1pc 17px;
}

.content .cate_list ul li .block h2 .state {
  float: right;
  color: #888;
  font-size: 9pt;
}

.content .cate_list ul li .block h2 .tody {
  color: #d22222;
}

.content .cate_list ul li .block .memo {
  display: block;
  overflow: hidden;
  padding-bottom: 5px;
  height: 3pc;
  color: #888;
}

.content .cate_list ul li .block .tags {
  color: #888;
}

.post_content table {
  margin-bottom: 15px;
  border-collapse: collapse;
  border-color: #808080;
  table-layout: fixed;
  font-size: 14px;
  line-height: normal;
  border-spacing: 0;
  max-width: 100%;
  justify-content: center;
  background-image: url("https://img.ithome.com/images/vote-bg-2.png");
  background-size: 150px 150px;
  background-repeat: space space;
}

.post_content table tbody {
  display: table-row-group;
  border-color: inherit;
  vertical-align: middle;
}

.post_content table td,
.post_content table th {
  padding: 9pt 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.post_content table .firstRow td {
  height: 20px;
  background-color: #e74737;
  color: #fff;
  text-align: center;
  font-weight: bold;
  word-break: break-all;
}

.content .post_content table .firstRow td p {
  color: #fff;
}

.post_content table a {
  padding-bottom: 2px;
  border-bottom: 1px solid #d22222;
  color: #d22222;
  text-decoration: none;
}

.post_content table a.s_tag {
  padding-bottom: 2px;
  border-bottom: 0;
  color: inherit;
  text-decoration: none;
}

.post_content table tr:nth-child(odd) {
  background: rgba(222, 221, 221, 0.1882352941);
}

.post_content h2 {
  display: block;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  margin: 24px 0;
}

.post_content .accentTextColor {
  font-weight: bold;
}

.post_content ul.custom_reference li::before {
  color: #ff8c90;
  content: "●";
}

.post_content .custom_reference li p {
  color: #666;
  font-size: 12px;
}

.post_content .custom_reference a {
  border: 0 !important;
  box-shadow: 0 0 !important;
  color: #666 !important;
  text-decoration: none;
}

.post_content .referenceTitle {
  display: block;
  padding: 0 0;
  color: #363636;
  font-weight: 650;
  font-size: 18px;
}

.post_content .live-image::after {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  left: 12px;
  width: 16px;
  height: 16px;
  background-image: url("https://img.ithome.com/file/images/live-badge.png");
  background-size: contain;
}

.post_content .live-image.playing::after {
  opacity: 0;
}

.ithome_super_player {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 460px !important;
  background: #000;
  text-decoration: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.ithome_super_player::before {
  z-index: 888;
  position: absolute;
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(51, 51, 51, 0.8);
  content: "";
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.ithome_super_player:hover:before {
  width: 72px;
  height: 72px;
}

.ithome_super_player::after {
  position: absolute;
  z-index: 999;
  display: block;
  width: 0;
  height: 0;
  border-top: 13.65px solid transparent;
  border-right: 23.68px solid transparent;
  border-bottom: 13.65px solid transparent;
  border-left: 23.68px solid rgba(255, 255, 255, 0.5);
  content: "";
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.ithome_super_player:hover:after {
  border-left: 23.68px solid rgba(255, 255, 255, 0.8);
}

.ithome_super_player img {
  position: absolute;
  z-index: 777;
  height: 100% !important;
  width: auto;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.ithome_super_player:hover img {
  opacity: 0.8;
}

.ithome_super_player video {
  max-height: 100%;
}

.newsreward {
  clear: both;
  background: #f7f8fa;
  padding: 30px;
  position: relative;
  overflow: hidden;
  min-height: 60px;
}

.newsreward .bt {
  position: absolute;
  left: 30px;
  top: 30px;
}

.newsreward .bt a {
  height: 38px;
  width: 100px;
  display: block;
  background: #d22222;
  width: 100px;
  line-height: 38px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 20px;
}

.newsreward .bt a:hover {
  background: #a61b1b;
}

.newsreward .txt {
  position: absolute;
  left: 30px;
  top: 68px;
  width: 100px;
  line-height: 38px;
  text-align: center;
  font-size: 12px;
}

.newsreward .rewarduserlist {
  float: left;
  margin-left: 117px;
}

.newsreward .rewarduserlist a {
  width: 38px;
  height: 38px;
  border-radius: 20px;
  overflow: hidden;
  float: left;
  margin-left: 13px;
  margin-bottom: 13px;
}

.newsreward .rewarduserlist a img {
  width: 38px;
  height: 38px;
}

.content .shareto {
  clear: both;
  padding: 0;
  margin-top: 40px;
  height: 45px;
  color: #222;
  font-size: 14px;
}

.content .shareto span {
  float: left;
  padding-right: 15px;
  color: #999;
  line-height: 46px;
}

.content .shareto .bdsharebuttonbox {
  float: left;
  width: 250px;
}

.content .shareto .bdsharebuttonbox a {
  margin: 0 6px !important;
  width: 42px !important;
  height: 42px !important;
  background: #333;
  display: inline-block;
}

.content .shareto .bdsharebuttonbox a.bds_qzone {
  background: url(https://img.ithome.com/file/images/svg/qq.svg) no-repeat !important;
  background-size: 42px 42px !important;
}

.content .shareto .bdsharebuttonbox a.bds_tsina {
  background: url(https://img.ithome.com/file/images/svg/weibo.svg) no-repeat !important;
  background-size: 42px 42px !important;
}

.content .shareto .bdsharebuttonbox a.bds_tqq {
  display: none !important;
  background-position: -78px 0 !important;
}

.content .shareto .bdsharebuttonbox a.bds_renren {
  display: none !important;
  background-position: -81pt 0 !important;
}

.content .shareto .bdsharebuttonbox a.bds_renren:active {
  background-position: -81pt -2pc !important;
}

.content .shareto .bdsharebuttonbox .bds_more {
  padding: 0 !important;
  width: 42px !important;
  height: 42px !important;
  background: url(https://img.ithome.com/file/images/svg/plus.svg) no-repeat !important;
  background-size: 42px 42px !important;
}

.content .shareto .bdsharebuttonbox a.bds_weixin {
  background: url(https://img.ithome.com/file/images/svg/weixin.svg) no-repeat !important;
  background-size: 42px 42px !important;
}

.content .shareto .bdsharebuttonbox a.bds_count {
  display: none !important;
  width: 58px !important;
  background-position: -200px 0 !important;
}

.content a.down_app {
  float: right;
  display: flex;
  align-items: center;
  height: 48px;
  background: #e63333;
  color: #fff;
  font-size: 14px;
  border-radius: 24px;
  text-align: center;
  padding: 0 12px 0 4px;
  box-sizing: border-box;
  width: 306px;
  transition: width 0.3s ease;
}

.content a.down_app .d-p {
  display: flex;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  padding: 0;
  box-shadow: 0 0 4px 6px rgba(255, 247, 90, 0.22);
  box-sizing: border-box;
  flex-shrink: 0;
}

.content a.down_app .d-p > * {
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
  height: 100%;
  width: 100%;
  background-image: url(https://img.ithome.com/file/images/all.jpg?x-bce-process=image/resize,w_100/format,f_auto);
  background-size: 44px auto;
  border-radius: 50%;
  overflow: hidden;
  animation: DownAppRewardIcon 8s infinite linear;
}

.content a.down_app .d-p > *:nth-child(2) {
  background-position: 0 44px;
}

.content a.down_app .d-p > *:nth-child(3) {
  background-position: 0 88px;
}

.content a.down_app .d-p > *:nth-child(4) {
  background-position: 0 132px;
}

.content a.down_app .d-t {
  display: block;
  margin-left: 12px;
  color: #fff;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content a.down_app.collapse {
  width: 48px;
}

.content a.down_app.collapse .d-t {
  display: none;
}

@keyframes DownAppRewardIcon {
  0% {
    transform: translateX(0);
  }
  22.5% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-40px);
  }
  47.5% {
    transform: translateX(-40px);
  }
  50% {
    transform: translateX(-80px);
  }
  72.5% {
    transform: translateX(-80px);
  }
  75% {
    transform: translateX(-120px);
  }
  97.5% {
    transform: translateX(-120px);
  }
  100% {
    transform: translateX(-160px);
  }
}

.content a.down_app:hover {
  background: #e02828;
}

#bdshare_weixin_qrcode_dialog {
  border: 5px solid #d22222 !important;
}

#bdshare_s #bdshare_l,
#bdshare_s #bdshare_m {
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

iframe.dajia {
  margin-top: 40px;
  width: 820px;
  height: 25pc;
}

@media screen and (max-width: 1320px) {
  iframe.dajia {
    width: 652px;
  }
}

.related_post {
  clear: both;
  margin-top: 40px;
}

.related_post .title {
  overflow: hidden;
}

.related_post .title h2 {
  float: left;
  color: #222;
  font-weight: 700;
  margin: 0;
  font-size: 20px;
}

.related_post .title .hot_tags {
  float: right;
  display: block;
  line-height: 22px;
}

.related_post ul {
  clear: both;
  padding: 0;
  width: 840px;
  margin-top: 10px;
}

@media screen and (max-width: 1320px) {
  .related_post ul {
    width: 670px;
  }
}

.related_post ul li {
  float: left;
  font-size: 14px;
  width: 400px;
  margin-top: 10px;
  margin-right: 20px;
  line-height: 20px;
  height: 20px;
}

@media screen and (max-width: 1320px) {
  .related_post ul li {
    width: 315px;
  }
}

.related_post ul li a {
  width: 390px;
  height: 20px;
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@media screen and (max-width: 1320px) {
  .related_post ul li a {
    width: 305px;
  }
}

.related_post ul li:before {
  height: 2px;
  width: 2px;
  background: #222;
  display: block;
  float: left;
  margin-right: 8px;
  line-height: 20px;
  content: "";
  margin-top: 9px;
}

.newsgrade {
  height: 80px;
  margin-top: 20px;
}

.newsgrade .text {
  float: left;
}

.newsgrade .text .sd {
  width: 80px;
  height: 80px;
  background: #f7f8fa;
  display: block;
  text-align: center;
  position: relative;
  line-height: 300px;
  overflow: hidden;
  float: left;
}

.newsgrade .text .sd .ss {
  display: block;
  position: absolute;
  color: #ffbe27;
  font-size: 30px;
  text-align: center;
  font-weight: bolder;
  top: 0;
  line-height: initial;
  width: 80px;
  text-align: center;
  margin-top: 0;
}

.newsgrade .text .sd .ss:before {
  font-weight: normal;
  content: "文章价值";
  display: block;
  text-align: center;
  font-size: 12px;
  color: #222;
  line-height: 35px;
  height: 30px;
}

.newsgrade .text .less5 {
  line-height: 80px;
  font-size: 16px;
}

.newsgrade .text .star {
  float: left;
  margin-top: 32px;
  display: inline-block;
  margin-left: 30px;
}

.newsgrade .text .star .score-value-no {
  width: 100px;
  height: 16px;
  background: url(https://img.ithome.com/images/svg/star-grey.svg) 0 0 no-repeat;
  background-size: 100px 16px;
  display: inline-block;
}

.newsgrade .text .star .score-value-no em {
  width: 100px;
  overflow: hidden;
  height: 16px;
  background: url(https://img.ithome.com/images/svg/star.svg) 0 0 no-repeat;
  background-size: 100px 16px;
  display: inline-block;
}

.newsgrade .text .star .score-value-1 em {
  width: 2px;
}

.newsgrade .text .star .score-value-2 em {
  width: 4px;
}

.newsgrade .text .star .score-value-3 em {
  width: 6px;
}

.newsgrade .text .star .score-value-4 em {
  width: 8px;
}

.newsgrade .text .star .score-value-5 em {
  width: 10px;
}

.newsgrade .text .star .score-value-6 em {
  width: 12px;
}

.newsgrade .text .star .score-value-7 em {
  width: 14px;
}

.newsgrade .text .star .score-value-8 em {
  width: 16px;
}

.newsgrade .text .star .score-value-9 em {
  width: 18px;
}

.newsgrade .text .star .score-value-10 em {
  width: 20px;
}

.newsgrade .text .star .score-value-11 em {
  width: 22px;
}

.newsgrade .text .star .score-value-12 em {
  width: 24px;
}

.newsgrade .text .star .score-value-13 em {
  width: 26px;
}

.newsgrade .text .star .score-value-14 em {
  width: 28px;
}

.newsgrade .text .star .score-value-15 em {
  width: 30px;
}

.newsgrade .text .star .score-value-16 em {
  width: 32px;
}

.newsgrade .text .star .score-value-17 em {
  width: 34px;
}

.newsgrade .text .star .score-value-18 em {
  width: 36px;
}

.newsgrade .text .star .score-value-19 em {
  width: 38px;
}

.newsgrade .text .star .score-value-20 em {
  width: 40px;
}

.newsgrade .text .star .score-value-21 em {
  width: 42px;
}

.newsgrade .text .star .score-value-22 em {
  width: 44px;
}

.newsgrade .text .star .score-value-23 em {
  width: 46px;
}

.newsgrade .text .star .score-value-24 em {
  width: 48px;
}

.newsgrade .text .star .score-value-25 em {
  width: 50px;
}

.newsgrade .text .star .score-value-26 em {
  width: 52px;
}

.newsgrade .text .star .score-value-27 em {
  width: 54px;
}

.newsgrade .text .star .score-value-28 em {
  width: 56px;
}

.newsgrade .text .star .score-value-29 em {
  width: 58px;
}

.newsgrade .text .star .score-value-30 em {
  width: 60px;
}

.newsgrade .text .star .score-value-31 em {
  width: 62px;
}

.newsgrade .text .star .score-value-32 em {
  width: 64px;
}

.newsgrade .text .star .score-value-33 em {
  width: 66px;
}

.newsgrade .text .star .score-value-34 em {
  width: 68px;
}

.newsgrade .text .star .score-value-35 em {
  width: 70px;
}

.newsgrade .text .star .score-value-36 em {
  width: 72px;
}

.newsgrade .text .star .score-value-37 em {
  width: 74px;
}

.newsgrade .text .star .score-value-38 em {
  width: 76px;
}

.newsgrade .text .star .score-value-39 em {
  width: 78px;
}

.newsgrade .text .star .score-value-40 em {
  width: 80px;
}

.newsgrade .text .star .score-value-41 em {
  width: 82px;
}

.newsgrade .text .star .score-value-42 em {
  width: 84px;
}

.newsgrade .text .star .score-value-43 em {
  width: 86px;
}

.newsgrade .text .star .score-value-44 em {
  width: 88px;
}

.newsgrade .text .star .score-value-45 em {
  width: 90px;
}

.newsgrade .text .star .score-value-46 em {
  width: 92px;
}

.newsgrade .text .star .score-value-47 em {
  width: 94px;
}

.newsgrade .text .star .score-value-48 em {
  width: 96px;
}

.newsgrade .text .star .score-value-49 em {
  width: 98px;
}

.newsgrade .text .star .score-value-50 em {
  width: 100px;
}

.newsgrade .text .m {
  margin-left: 30px;
  line-height: 16px;
  margin-top: 32px;
  display: inline-block;
  font-size: 16px;
}

.newsgrade .bt {
  float: right;
  width: 280px;
  margin-top: 15px;
}

.newsgrade .bt .s {
  width: 120px;
  height: 50px;
  border-radius: 26px;
  background: #f7f8fa no-repeat 20px 15px;
  display: block;
  float: left;
  margin-left: 20px;
  background-size: 20px 20px;
  cursor: pointer;
  position: relative;
}

.newsgrade .bt .s a,
.newsgrade .bt .s div {
  width: 95px;
  text-align: center;
  display: block;
  position: absolute;
  right: 0;
  color: #fff;
  color: #1a1a1a;
}

.newsgrade .bt .s a {
  line-height: 30px;
  height: 25px;
  top: 0;
}

.newsgrade .bt .s div {
  bottom: 0;
  line-height: 20px;
  height: 25px;
}

.newsgrade .bt .s:hover a,
.newsgrade .bt .s:hover div {
  color: #fff;
}

.newsgrade .bt #sgrade2 {
  background-image: url(https://img.ithome.com/images/grade/smileb.png);
  background-color: #f5f5f5;
}

.newsgrade .bt #sgrade2.ac {
  background-image: url(https://img.ithome.com/images/grade/smileh.png) !important;
  background-color: #6b803f !important;
}

.newsgrade .bt #sgrade2:hover {
  background-image: url(https://img.ithome.com/images/grade/smileh.png);
  background-color: #6b803f;
}

.newsgrade .bt #sgrade0 {
  background-color: #f5f5f5;
  background-image: url(https://img.ithome.com/images/grade/cryb.png);
}

.newsgrade .bt #sgrade0.ac {
  background-color: #c52020 !important;
  background-image: url(https://img.ithome.com/images/grade/cryh.png) !important;
}

.newsgrade .bt #sgrade0:hover {
  background-color: #c52020;
  background-image: url(https://img.ithome.com/images/grade/cryh.png);
}

.newserror {
  text-align: right;
  margin-bottom: -8px;
  margin-top: 8px;
}

.newserror button {
  height: 32px;
  border-radius: 16px;
  background: #f7f8fa;
  display: inline-block;
  cursor: pointer;
  border-style: none;
  margin-left: 16px;
  padding: 0 16px;
}

.newserror button:hover {
  background: #d22222 !important;
  color: #fff !important;
}

.card a,
span.card a {
  padding-right: 0;
  color: #313131;
  text-decoration: none;
}

.card span,
span.card span {
  display: block;
  padding-right: 0;
}

.card,
span.card {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 30px auto;
  padding: 9px;
  border: 1px solid #eee;
}

.card:hover,
span.card:hover {
  box-shadow: 1px 1px 8px #eee;
}

.card .z-tag-baike,
.card .z-tag-brand {
  position: absolute;
  top: 9px;
  left: 0;
  padding-right: 3px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.card-logo {
  float: left;
  margin-right: 14px;
}

.card-logo img {
  margin: 0 !important;
  width: 135px;
  height: 135px;
}

.card-info {
  overflow: hidden;
  padding-right: 4px;
}

.card-info > span {
  display: block;
}

.card-info .card-title {
  overflow: hidden;
  line-height: 28px;
}

.card-info .card-name {
  overflow: hidden;
  margin-bottom: 10px;
  padding-left: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1pc;
  line-height: 34px;
}

.card-info .mall-data {
  float: left;
  margin-top: 11px;
  padding: 0 4px;
  border-radius: 3px;
  background-color: #d22222;
  color: #fff;
  text-align: center;
  line-height: 18px;
}

.card-info .card-name b,
.card-info .card-name em,
.card-info .card-name strong {
  font-weight: 400;
}

.card-info .price {
  float: left;
  color: #d22222;
  font-size: 17px;
}

.card-info .card-tags {
  overflow: hidden;
  height: 20px;
}

.card-info .card-tags > span {
  display: inline-block;
  margin-right: 8px;
  padding: 0 7px;
  height: 1pc;
  border: 1px solid #eee;
  color: #999;
  font-size: 9pt;
  line-height: 1pc;
}

.card-info .card-tags span.tag-noborder {
  border: 0;
}

.card-info .card-abstract {
  overflow: hidden;
  color: #999;
  font-size: 9pt;
  line-height: 18px;
}

.card-info .card-controls {
  overflow: hidden;
  margin-top: 60px;
  line-height: 28px;
}

.card-info .card-controls .group-data,
.card-info .card-controls .mall-data {
  float: left;
  margin-right: 10px;
  color: #999;
  font-size: 9pt;
}

.card-info .card-controls .group-data i {
  margin-right: 5px;
  font-style: normal !important;
}

.card-info .card-controls .card-inline-split {
  float: left;
  margin-right: 10px;
  color: #ccc;
  font-size: 9pt;
}

.card-info .card-btn-deep,
.card-info .card-btn-light {
  width: 75pt;
  height: 30px;
  border-radius: 3px;
  text-align: center;
  font-size: 9pt;
  line-height: 28px;
}

.card-info .card-btn-deep:hover,
.card-info .card-btn-light:hover {
  opacity: 0.9;
}

.card-info .card-btn-light {
  background-color: rgba(0, 102, 102, 0.1);
  color: #066;
}

.card-info .card-btn-deep {
  margin-left: 10px;
  background-color: #066;
  color: #fff;
}

.card.main-site .card-info .card-name {
  overflow: hidden;
  margin-top: 7px;
  white-space: normal;
  line-height: 22px;
}

.card-info .card-name em,
.card.main-site .card-info .card-name b,
.card.main-site .card-info .card-name strong {
  margin-left: 6px;
  color: #f04848;
}

.card.main-site .card-info .card-abstract {
  margin-bottom: 20px;
}

.card.main-site .card-info .card-btn-light {
  background-color: rgba(240, 72, 72, 0.1);
  color: #f04848;
}

.card.main-site .card-info .card-btn-deep {
  float: right;
  margin-right: 10px;
  background-color: #f04848;
  color: #fff;
}

pre {
  padding: 8px 10px !important;
  background-color: #f5f5f5;
}

.card-info .card-title .w {
  margin-right: 5px;
  width: 60px;
}

#side_func a.comment {
  display: block !important;
}

@media screen and (max-width: 1320px) {
  .bb {
    width: 970px;
  }
}

.vbox {
  width: 100%;
}

.vscale {
  position: relative;
  padding-bottom: 72%;
  width: 100%;
  height: 0;
}

.vitem {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.vitem iframe {
  max-width: 828px !important;
  max-height: 600px !important;
}

.emoji {
  width: 25px;
  background: 0 0 !important;
  display: inline-block !important;
  margin-bottom: 0 !important;
}

.click_to_copy_btn {
  display: inline-block;
  cursor: pointer;
  margin: 0 auto;
  padding: 5px 10px 10px;
  max-width: 5in;
  border-radius: 5px;
  background-color: #ff6905;
  color: #fff;
  font-size: 9pt;
  line-height: 22px;
}

.click_to_copy_btn::before {
  content: "提示：点我即可复制以下内容哦~";
  display: block;
  border-bottom: 1px dashed #f0985d;
  padding-bottom: 5px;
  margin-bottom: 5px;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.5px;
}

.pln {
  color: #000;
}

@media screen {
  .str {
    color: #a31515;
  }
  .kwd {
    color: #00f;
  }
  .com {
    color: #008000;
  }
  .typ {
    color: #2b91af;
  }
  .lit {
    color: #f00;
  }
  .pun,
  .opn,
  .clo {
    color: #000;
  }
  .tag {
    color: #a31515;
  }
  .atn {
    color: #f00;
  }
  .atv {
    color: #00f;
  }
  .dec {
    color: #800080;
  }
  .var {
    color: #000;
  }
  .fun {
    color: #000;
  }
}

@media print, projection {
  .kwd {
    font-weight: bold;
  }
  .com {
    font-style: italic;
  }
  .typ {
    font-weight: bold;
  }
  .tag {
    font-weight: bold;
  }
}

ol.linenums {
  margin-top: 0;
  margin-bottom: 0;
}

li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
  list-style-type: none;
}

li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
  background: #eee;
}

pre,
pre.prettyprint,
.code_block {
  display: block;
  font-family: "Consolas", monospace;
  font-size: 13px;
  line-height: 18.2px;
  margin: 18px 0 30px;
  overflow: auto;
  padding: 5px;
  vertical-align: baseline;
  white-space: pre;
  border-left: 4px solid #ccc;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

pre {
  border-style: solid;
  margin: 0 0 20px !important;
  white-space: pre-wrap;
}

code {
  color: #800039;
  font-family: "Consolas", monospace;
}

.ithomerem {
  display: block;
  color: #686868;
  font-size: 13px !important;
  line-height: 24px !important;
  background: #f8f8f8;
  padding: 12px !important;
  margin: 32px 0 16px 0;
  margin: 2rem 0 1rem 0;
}

.ithomerem p {
  font-size: 13px !important;
  line-height: 24px !important;
  padding-bottom: 15px;
}

.ithomerem span.accentTextColor {
  background: transparent !important;
  color: inherit;
  border-bottom: 1px solid #686868;
  padding-bottom: 1px;
}

.night .ithomerem {
  color: #b3b3b3;
  background: #2e2e2e;
}

.night .ithomerem span.accentTextColor {
  border-bottom: 1px solid #b3b3b3;
}

.ithomerem p {
  padding: 12.75px 0;
  padding: 0.75rem 0;
}

.ithomerem p:last-child {
  padding-bottom: 0;
}

/* @media screen and (max-width: 1320px) {
  #rank {
    height: 410px;
  }
} */

.content .related_post ul li a {
  pointer-events: initial;
}

.night .content .related_post ul li a {
  color: #e0e0e0;
}

.bd_weixin_popup_main table td,
.bd_weixin_popup_main table th {
  padding: 0 !important;
  border: 0 !important;
}

#itaccont-card {
  display: flex;
  align-items: center;
  margin: 16px 0 32px;
  background: linear-gradient(to right, #f6f6f6, #e5e5e5);
  border-radius: 4px;
  padding: 16px;
}

.night #itaccont-card {
  background: linear-gradient(to right, #282828, #262626);
}

#itaccont-card .avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  box-shadow: 0 2px 6px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

#itaccont-card .avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.it-ac .avatar::after {
  width: 18px;
  height: 18px;
  right: 0;
  bottom: 0;
  background-size: contain;
  z-index: 10;
  opacity: 1;
  position: absolute;
  content: "";
  display: block;
  background-image: url("https://img.ithome.com/images/it-v.png");
}

.it-ac.it-personal .avatar::after {
  background-image: url("https://img.ithome.com/images/it-v-p.png");
}

#itaccont-card .info {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  margin-top: 0 !important;
  background-image: url("../imgs/cl_light.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.night #itaccont-card .info {
  background-image: url("../imgs/cl_dark.png");
}

#itaccont-card .info .nick {
  color: #333;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
}

.night #itaccont-card .info .nick {
  color: #fff;
}

#itaccont-card .info .abs {
  color: #a1a5ab;
  font-size: 13px;
  line-height: 20px;
  max-height: 40px;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.night #itaccount-card .info .abs {
  color: #e8e8e8;
}

#image-viewer-msk {
  position: fixed;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 0;
}

#image-viewer-msk.show {
  opacity: 1;
  pointer-events: unset;
  z-index: 12000;
}

.image-viewer-replacement {
  visibility: hidden !important;
}

#image-viewer-wrapper {
  position: fixed;
  width: 100%;
  height: 100vh;
  line-height: 100vh;
  left: 0;
  top: 0;
  text-align: center;
  z-index: 12001;
  opacity: 0;
  pointer-events: none;
  overflow: scroll;
  overflow: overlay;
}

#image-viewer-wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  margin-right: 0;
}

#image-viewer-wrapper::-webkit-scrollbar-thumb {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: #cbcbcb;
}

#image-viewer-wrapper.visible {
  opacity: 1;
}

#image-viewer-wrapper #image-viewer {
  z-index: 12002;
  max-height: calc(100vh - 32px);
  max-width: calc(100% - 32px);
  position: relative;
  margin: auto;
  vertical-align: middle;
}

#image-viewer-wrapper #image-viewer.transforming {
  position: fixed;
  max-height: unset;
}

#image-viewer-wrapper.show {
  pointer-events: unset;
}

#image-viewer-wrapper.show #image-viewer {
  position: relative;
  max-height: unset !important;
  max-width: unset !important;
  left: unset !important;
  top: unset !important;
  cursor: grab !important;
}

.post_content img[data-original] {
  cursor: zoom-in;
}

body.image-mode {
  overflow: hidden !important;
}

.post_content p a.anim {
  position: relative;
  z-index: 0;
  height: auto !important;
}

.post_content p a.anim {
  position: relative;
  z-index: 0;
  display: block;
}

.post_content p a.anim::after {
  display: none;
  pointer-events: none;
  content: "GIF";
  justify-content: center;
  align-items: center;
  color: #efefef;
  font-size: 18px;
  letter-spacing: 1px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  left: calc(50% - 26px);
  top: calc(50% - 26px);
  z-index: 1;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-weight: bold;
}

.post_content p a.anim.preview-ready::after {
  display: flex;
}

.post_content p a.anim.loading::after {
  content: "";
  display: flex;
}

.post_content p a.anim.loading::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-radius: 50%;
  box-sizing: border-box;
  border: 3px solid #efefef;
  border-right-color: transparent;
  border-bottom-color: transparent;
  position: absolute;
  left: calc(50% - 18px);
  top: calc(50% - 18px);
  z-index: 2;
  animation: roate360 0.5s linear infinite;
}

.post_content p a.anim.loaded::after {
  display: none;
}

.post_content p a.anim.loaded::before {
  display: none;
}

@keyframes roate360 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.content .post_content p a.topic-bar {
  border-bottom: 0;
  color: #fff;
  font-size: 12px;
  border-radius: 20px;
  height: 32px;
  line-height: 32px;
  padding: 0 24px 0 34px;
  background: #d22222;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  box-shadow: none;
}

.content .post_content p a.topic-bar::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background-image: url("https://img.ithome.com/file/images/app/topic_white.png");
  background-size: cover;
  position: absolute;
  left: 12px;
  top: 8px;
}

.night .content .post_content p a.topic-bar::before {
  background-image: url("https://img.ithome.com/file/images/app/topic_white.png");
}

.content .post_content p a.topic-bar::after {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-left: 4px;
  background-image: url("https://img.ithome.com/file/images/app/arrow_white.png");
  background-size: cover;
  position: absolute;
  right: 10px;
  top: 11px;
}

.night .content .post_content p a.topic-bar::after {
  background-image: url("https://img.ithome.com/file/images/app/arrow_white.png");
}

.content .post_content figcaption {
  margin-top: -8px;
}

.content .post_content sup {
  position: relative;
  font-size: 60%;
  line-height: 0;
  vertical-align: baseline;
  top: -0.6em;
}
