
header {
  position: relative;
  z-index: 10;
}

header nav {
  width: 100%;
  height: 72px;
  background: #35373f;
  color: #fff;
}

header nav .logo {
  display: block;
  width: 216px;
  height: 100%;
  overflow: hidden;
  text-indent: -999999px;
  background: left center url("https://image.9game.cn/s/uae/g/1m/game_open/web/public/aliplay/common/nav/images/header_logo_200117.png") no-repeat;
}

header nav .nav-box {
  display: block;
  margin-left: 20px;
  height: 100%;
}

header nav .nav-box li {
  display: block;
  float: left;
  height: 100%;
}

header nav .nav-box li.hover a {
  text-decoration: none;
  background: #2a2c32;
}

header nav .nav-box li a {
  display: block;
  height: 100%;
  color: #ffffff;
  padding: 0px 22px;
  line-height: 72px;
  font-size: 14px;
}

header nav .nav-box li a:hover {
  text-decoration: none;
  background: #2a2c32;
}

header nav .info-right {
  height: 100%;
}

header nav .info-right .is-noLogin, header nav .info-right .is-login {
  height: 100%;
  position: relative;
}

header nav .info-right .is-noLogin a, header nav .info-right .is-noLogin span {
  display: inline-block;
  line-height: 22px;
  margin-top: 25px;
}

header nav .info-right .is-noLogin span {
  margin: 0px 20px;
}

header nav .info-right a {
  color: #fff;
}

header nav .is-login {
  display: block;
}

header nav .is-login .msg-icon {
  display: inline-block;
  width: 33px;
  height: 33px;
  text-indent: -9999px;
  overflow: hidden;
  background: left bottom url("https://image.9game.cn/s/uae/g/1m/game_open/web/public/aliplay/common/nav/images/msg-1.png") no-repeat;
  margin: 11px 0px 0px 38px;
}

header nav .is-login .msg-icon.have-msg {
  background: left bottom url("https://image.9game.cn/s/uae/g/1m/game_open/web/public/aliplay/common/nav/images/msg-2.png") no-repeat;
}

header nav .is-login .user-nav, header nav .is-login .msg-nav {
  width: 155px;
  background: #454751;
  position: absolute;
  top: 64px;
  right: -24px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

header nav .is-login .user-nav:after, header nav .is-login .msg-nav:after {
  content: ' ';
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #454751;
  position: absolute;
  top: -12px;
  right: 18px;
}

header nav .is-login .user-nav li, header nav .is-login .msg-nav li {
  height: 50px;
  position: relative;
}

header nav .is-login .user-nav li a, header nav .is-login .msg-nav li a {
  display: block;
  text-indent: 21px;
  line-height: 50px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

header nav .is-login .user-nav li.hover, header nav .is-login .msg-nav li.hover {
  background: #6a6c74;
}

header nav .is-login .user-nav li + li, header nav .is-login .msg-nav li + li {
  border-top: solid 1px #585a63;
}

header nav .is-login .user-box {
  display: inline-block;
  height: 100%;
  position: relative;
  vertical-align: top;
}

header nav .is-login .user-box .info-userName {
  display: block;
  padding-right: 17px;
  background: right center url("https://image.9game.cn/s/uae/g/1m/game_open/web/public/aliplay/common/nav/images/icon-1.png") no-repeat;
  font-size: 14px;
  line-height: 36px;
  margin-top: 18px;
  cursor: pointer;
}

header nav .is-login .msg-box {
  display: inline-block;
  height: 100%;
  position: relative;
  vertical-align: top;
}

header nav .is-login .msg-box .msg-nav {
  right: -8px;
}

header nav .is-login .msg-box .msg-nav li a {
  text-indent: 50px;
  position: relative;
  z-index: 10;
}

header nav .is-login .msg-box .msg-nav li img {
  width: 30px;
  height: 30px;
  margin-top: -15px;
  position: absolute;
  top: 50%;
  left: 10px;
  z-index: 2;
  display: inline-block;
  overflow: hidden;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

header nav .info-right a.set {
  color: #8a8a8a;
  cursor: pointer;
}

.title-lk {
  display: block;
  font-size: 16px;
  text-align: left;
}

.box-sml {
  margin-top: 15px;
  display: block;
  line-height: 24px;
  font-size: 14px;
  text-align: justify;
}

.box-sml p {
  margin-bottom: 10px;
}

.box-sml a {
  color: #28a3ef;
}

.box-sml a:hover {
  color: #ff541e;
}
/* 消息盒子弹窗*/
header nav .is-login .msg-box:hover .msg-box__remind-wrap {
  display: block;
}
.msg-box__remind-wrap {
  width: 400px;
  height: 351px;
  padding-top: 20px;
  display: none;
  position: absolute;
  top: 66px;
  right: 0;
  font-size: 14px;
  color: #333;
}

.msg-box__remind {
  width: 400px;
  height: 331px;
  background: #ffffff;
  box-shadow: 0 2px 10px 0 rgba(93, 131, 155, 0.4);
}

.msg-box__remind__tab {
  height: 39px;
  line-height: 39px;
  border-bottom: 1px solid #eaeaea;
  background-color: #fafafa;
  position: relative;
}

.msg-box__remind__tab li {
  float: left;
  height: 39px;
  margin-bottom: -1px;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  width: 100px;
}
.msg-box__remind__tab li span {
  font-size: 12px;
  font-weight: normal;
}

.msg-box__remind__tab li span {
  color: #666;
}

.msg-box__remind__tab li.active {
  border-top: 4px solid #28a3ef;
  border-left: 1px solid #eaeaea;
  border-right: 1px solid #eaeaea;
  height: 36px;
  line-height: 35px;
  width: 98px;
  background-color: #fff;
}

.msg-box__remind__tab li.active span {
  color: #28a3ef;
}

.msg-box__remind__tab li.have-msg span {
  position: relative;
}

.msg-box__remind__tab li.have-msg span:after {
  content: ' ';
  width: 4px;
  height: 4px;
  border-radius: 4px;
  background: #df6a4e;
  position: absolute;
  right: -8px;
  top: 0;
}

.msg-box__remind .msg-body {
  color: #333;
}

.msg-box__remind .msg-body .msg-content {
  display: none;
}

.msg-box__remind .msg-body .msg-content ul {
  height: 250px;
  overflow: hidden;
}

.msg-box__remind .msg-body .msg-content ul .loading {
  line-height: 250px;
  color: #999;
  text-align: center;
}

.msg-box__remind .msg-body .msg-content ul .msg-no-data {
  line-height: 20px;
  color: #666;
  background: url(./images/no_message.png) no-repeat 120px 10px;
  padding: 30px 0 15px 180px;
  margin-top: 20px;
}

.msg-box__remind .msg-body .msg-content .msg-item,
.msg-box__remind .msg-body .msg-content a.msg-item {
  color: #333;
  padding: 10px;
  display: block;
}

.msg-box__remind .msg-body .msg-content .msg-item:hover,
.msg-box__remind .msg-body .msg-content a.msg-item:hover {
  background: #eaeaea;
}

.msg-box__remind .msg-body .msg-content .msg-item__content,
.msg-box__remind .msg-body .msg-content a.msg-item__content {
  width: 280px;
}

.msg-box__remind .msg-body .msg-content .msg-item__content .game-logo,
.msg-box__remind .msg-body .msg-content a.msg-item__content .game-logo {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  margin-right: 10px;
}

.msg-box__remind .msg-body .msg-content .msg-item__content__info,
.msg-box__remind .msg-body .msg-content a.msg-item__content__info {
  line-height: 20px;
}

.msg-box__remind .msg-body .msg-content .msg-item__content__info .msg-grey,
.msg-box__remind .msg-body .msg-content a.msg-item__content__info .msg-grey {
  font-size: 12px;
  color: #999;
}

.msg-box__remind .msg-body .msg-content .msg-item__content__info > p,
.msg-box__remind .msg-body .msg-content a.msg-item__content__info > p {
  width: 230px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.msg-box__remind .msg-body .msg-content .msg-item__content__info .msg-comment,
.msg-box__remind .msg-body .msg-content a.msg-item__content__info .msg-comment {
  color: #666;
}

.msg-box__remind .msg-body .msg-content .msg-item__topic,
.msg-box__remind .msg-body .msg-content a.msg-item__topic {
  width: 70px;
  height: 28px;
  overflow: hidden;
  padding: 6px 5px;
  background: #f7f8fa;
  border-radius: 3px;
  color: #666;
}

.msg-box__remind .msg-body .msg-content .msg-item__topic p,
.msg-box__remind .msg-body .msg-content a.msg-item__topic p {
  font-size: 10px;
  line-height: 14px;
  max-height: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.msg-box__remind .msg-body .msg-content .msg-item-comment .msg-item__content,
.msg-box__remind .msg-body .msg-content a.msg-item-comment .msg-item__content {
  width: 322px;
}

.msg-box__remind .msg-body .msg-content .msg-item-comment .msg-item__content__info p,
.msg-box__remind .msg-body .msg-content a.msg-item-comment .msg-item__content__info p {
  width: 260px;
}

.msg-box__remind .msg-body .msg-content .msg-item-comment .msg-btn,
.msg-box__remind .msg-body .msg-content a.msg-item-comment .msg-btn {
  width: 46px;
  height: 26px;
  line-height: 26px;
  border: 1px solid #28a3ef;
  color: #28a3ef;
  border-radius: 3px;
  background: #fff;
  margin-top: 6px;
  padding: 0;
  display: inline-block;
  text-align: center;
}

.msg-box__remind .msg-body .msg-content .msg-item-comment .msg-btn:hover,
.msg-box__remind .msg-body .msg-content a.msg-item-comment .msg-btn:hover {
  background: rgba(40, 163, 239, 0.1);
}

.msg-box__remind .msg-body .msg-content .msg-item #platformMsgList ul,
.msg-box__remind .msg-body .msg-content a.msg-item #platformMsgList ul {
  padding: 5px 0;
}

.msg-box__remind .msg-body .msg-content .msg-item-platform,
.msg-box__remind .msg-body .msg-content a.msg-item-platform {
  padding: 14px 10px;
  line-height: 20px;
}

.msg-box__remind .msg-body .msg-content .msg-item-platform:hover,
.msg-box__remind .msg-body .msg-content a.msg-item-platform:hover {
  background: none;
  color: #28a3ef;
}

.msg-box__remind .msg-body .msg-content .msg-item-platform:hover .msg-date,
.msg-box__remind .msg-body .msg-content a.msg-item-platform:hover .msg-date {
  color: #28a3ef;
}

.msg-box__remind .msg-body .msg-content .msg-item-platform .msg-title,
.msg-box__remind .msg-body .msg-content a.msg-item-platform .msg-title {
  width: 280px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.msg-box__remind .msg-body .msg-content .msg-item-platform .msg-date,
.msg-box__remind .msg-body .msg-content a.msg-item-platform .msg-date {
  color: #999;
}

.msg-box__remind .msg-body .msg-content .msg-item-game .msg-item__content,
.msg-box__remind .msg-body .msg-content a.msg-item-game .msg-item__content {
  width: 100%;
}

.msg-box__remind .msg-body .msg-content .msg-item-game .msg-item__content__info,
.msg-box__remind .msg-body .msg-content a.msg-item-game .msg-item__content__info {
  width: 320px;
}

.msg-box__remind .msg-body .msg-content .msg-item-game .msg-item__content__info .msg-title,
.msg-box__remind .msg-body .msg-content a.msg-item-game .msg-item__content__info .msg-title {
  width: 320px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.msg-box__remind .msg-body .msg-footer {
  text-align: center;
  height: 39px;
  line-height: 39px;
  border-top: 1px solid #ebebeb;
}

.msg-box__remind .msg-body .msg-footer a {
  color: #28a3ef;
}

.msg-box__remind .msg-body .msg-footer a:hover {
  color: #ff541e;
}
