/*
 * Rhythm - A modern community (forum/BBS/SNS/blog) platform written in Java.
 * Modified version from Symphony, Thanks Symphony :)
 * Copyright (C) 2012-present, b3log.org
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
/**
 * Base style.
 *
 * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
 * @author <a href="http://88250.b3log.org">Liang Ding</a>
 * @version 2.38.0.2, Jul 11, 2019
 */
@import "variables";
@import "common";

/* start common business */
.mark-as-read {
  padding: 15px;
  text-align: right;
}

#sendComment {
  margin: 50px 0 0 0;
  padding: 20px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
  border: 0;
  resize: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.article-list .cb-stick {
  position: absolute;
  top: 0;
  left: 0;
  border-width: 10px 15px 10px 15px;
  border-color: #999 transparent transparent #999;
  border-style: solid;

  .icon-pin {
    position: absolute;
    top: -8px;
    left: -15px;
    color: #FFF;
  }
}

/* end common business */

/* start common */
.tag {
  font-size: 12px;
  color: $fade;
  white-space: nowrap;
  display: inline-block;
  line-height: 16px;
}

.tooltipped {
  position: relative;
  cursor: pointer;
}

.tooltipped::after {
  position: absolute;
  z-index: 1000000;
  display: none;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: normal;
  -webkit-font-smoothing: subpixel-antialiased;
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: break-word;
  white-space: pre;
  pointer-events: none;
  content: attr(aria-label);
  background: rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  line-height: 16px;
  opacity: 0
}

.tooltipped::before {
  position: absolute;
  z-index: 1000001;
  display: none;
  width: 0;
  height: 0;
  color: rgba(0, 0, 0, 0.8);
  pointer-events: none;
  content: "";
  border: 5px solid transparent;
  opacity: 0
}

.tooltipped-new {
  position: relative;
  cursor: pointer;
}

.tooltipped-new::after {
  position: absolute;
  z-index: 1000000;
  display: none;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: normal;
  -webkit-font-smoothing: subpixel-antialiased;
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: break-word;
  white-space: pre;
  pointer-events: none;
  content: attr(aria-label);
  background: rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  line-height: 16px;
  opacity: 0
}

.tooltipped-new::before {
  position: absolute;
  z-index: 1000001;
  display: none;
  width: 0;
  height: 0;
  color: rgba(0, 0, 0, 0.8);
  pointer-events: none;
  content: "";
  border: 5px solid transparent;
  opacity: 0
}

@-webkit-keyframes tooltip-appear {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes tooltip-appear {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.tooltipped-hover::before,
.tooltipped-hover::after,
.tooltipped:hover::before,
.tooltipped:hover::after,
.tooltipped:active::before,
.tooltipped:active::after,
.tooltipped:focus::before,
.tooltipped:focus::after,
.tooltipped-new:hover::before,
.tooltipped-new:hover::after,
.tooltipped-new:active::before,
.tooltipped-new:active::after,
.tooltipped-new:focus::before,
.tooltipped-new:focus::after {
  display: inline-block;
  text-decoration: none;
  -webkit-animation-name: tooltip-appear;
  animation-name: tooltip-appear;
  -webkit-animation-duration: 0.1s;
  animation-duration: 0.1s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s
}

.tooltipped-s::after, .tooltipped-se::after, .tooltipped-sw::after {
  top: 100%;
  right: 50%;
  margin-top: 5px
}

.tooltipped-s::before, .tooltipped-se::before, .tooltipped-sw::before {
  top: auto;
  right: 50%;
  bottom: -5px;
  margin-right: -5px;
  border-bottom-color: rgba(0, 0, 0, 0.8)
}

.tooltipped-se::after {
  right: auto;
  left: 50%;
  margin-left: -15px
}

.tooltipped-sw::after {
  margin-right: -15px
}

.tooltipped-n::after, .tooltipped-ne::after, .tooltipped-nw::after {
  right: 50%;
  bottom: 100%;
  margin-bottom: 5px
}

.tooltipped-n::before, .tooltipped-ne::before, .tooltipped-nw::before {
  top: -5px;
  right: 50%;
  bottom: auto;
  margin-right: -5px;
  border-top-color: rgba(0, 0, 0, 0.8)
}

.tooltipped-ne::after {
  right: auto;
  left: 50%;
  margin-left: -15px
}

.tooltipped-nw::after {
  margin-right: -15px
}

.tooltipped-s::after, .tooltipped-n::after {
  -webkit-transform: translateX(50%);
  transform: translateX(50%)
}

.tooltipped-w::after {
  right: 100%;
  bottom: 50%;
  margin-right: 5px;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
}

.tooltipped-w::before {
  top: 50%;
  bottom: 50%;
  left: -5px;
  margin-top: -5px;
  border-left-color: rgba(0, 0, 0, 0.8);
}

.tooltipped-e::after {
  bottom: 50%;
  left: 100%;
  margin-left: 5px;
  -webkit-transform: translateY(50%);
  transform: translateY(50%)
}

.tooltipped-e::before {
  top: 50%;
  right: -5px;
  bottom: 50%;
  margin-top: -5px;
  border-right-color: rgba(0, 0, 0, 0.8)
}

/* start button */
button,
.btn {
  cursor: pointer;
  color: #2c2c2c;
  border-radius: 3px;
  padding: 6px 12px;
  background-color: #fff;
  border: 1px solid #D5D5D5;
  border-bottom-color: #E1E1E1;
  box-sizing: border-box;
  line-height: 19px;
  white-space: nowrap;
  transition: all 100ms linear;
  font-weight: 500;
}

button:focus,
.btn:focus {
  box-shadow: 0 0 0 0.3rem rgba(25, 140, 255, 0.2);
}

button:hover,
.btn:hover {
  text-decoration: none;
  color: #198cff;
  box-shadow: 0.2rem 0.2rem 1rem 0 rgba(25, 140, 255, 0.2);
  background-color: #ffffff;
}

button:active,
.btn:active {
  color: rgba(25, 140, 255, 0.6);
  background-color: #fafcff;
}

button.green,
.btn.green {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
  background-color: #60b044;
  border-color: #5ca941;
}

button.green:hover,
.btn.green:hover {
  background-color: $green;
}

button.green:active {
  background-color: $green;
  border-color: #418737;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25) inset;
}

button.red,
.btn.red {
  color: $theme-accent;
}

button.red:hover,
.btn.red:hover,
.btn.red-hover {
  color: #FFF;
  background-color: $theme-accent;
  border-color: #c0372a;
}

button.red:active,
.btn.red:active {
  background-color: $theme-accent;
  border-color: #c9320c;
  color: #FFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25) inset;
}

button.small,
.btn.small {
  padding: 0 5px;
  font-size: 12px;
  font-weight: normal;
  display: inline-block;
  line-height: 19px;
  height: 20px;
  text-shadow: initial;
}

button.mid,
.btn.mid {
  padding: 3px 8px;
  font-size: 13px;
  line-height: 20px;
  height: 28px;
}

/* end button */

/* start icon */
a[class^="icon-"],
a[class*=" icon-"] {
  color: $black-text;
}

a[class^="icon-"]:hover,
a[class*=" icon-"]:hover {
  text-decoration: none;
  color: $blue;
}

.radio-btn {
  background-color: $theme-accent;
  border-radius: 28px;
  bottom: 20px;
  color: #fff;
  cursor: pointer;
  height: 56px;
  line-height: 56px;
  text-align: center;
  position: fixed;
  width: 56px;
  z-index: 110;
  right: 20px;
  box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
  box-sizing: border-box;

  svg {
    height: 20px;
    width: 20px;
  }
}

.go-top:hover,
.radio-btn:hover {
  opacity: .84;
}

.icon-wechat:hover {
  color: #3caf36;
}

.icon-weibo:hover {
  color: #ff9933;
}

.icon-google:hover {
  color: #dc4A3d;
}

.icon-twitter:hover {
  color: #18a3fa;
}

.icon-link:hover {
  color: $blue;
}

.icon-qq:hover {
  color: #47d6fa;
}

.icon-github:hover {
  color: #24292e;
}

.icon-telegram:hover {
  color: #2da5e1;
}

/* end icon */

/* start tip */
.tip.error {
  color: #b22c39;
  border: 1px solid #f0dddf;
  background-color: #fff0f1;
  border-radius: 0.3rem;
}

.tip ul {
  margin: 5px 30px;
  text-align: left;
  list-style-type: none;
}

.tip.succ {
  border: 1px solid #e1f0e5;
  color: #3b7649;
  background-color: #edfaf0;
  border-radius: 0.3rem;
}

#registerTip,
#loginTip,
#addArticleTip,
#profilesTip,
#passwordTip {
  white-space: normal;
  word-wrap: break-word;
}

/* end tip */

/* start avatar */
.avatar,
.avatar-small,
.avatar-middle,
.avatar-mid,
.avatar-big {
  border-radius: 3px 3px 3px 3px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: inline-block;
  vertical-align: middle;
  background-color: rgba(0, 0, 0, .02);
}

.avatar {
  height: 38px;
  width: 38px;
  margin-right: 10px;
}

.avatar-small {
  height: 20px;
  width: 20px;
}

.avatar-middle{
  height: 40px;
  width:40px;
  margin-right: 15px;
}

.avatar-mid {
  height: 60px;
  width: 60px;
  margin-right: 15px;
}

.avatar-big {
  height: 210px;
  width: 210px;
  border-radius: 6px;
}

/* end avatar */

/* start status */
.status {
  list-style: none;
  margin-top: 20px;
  padding: 13px 0;
}

.status > li {
  overflow: hidden;
  flex: 1;
  -webkit-box-flex: 1;
  text-align: center;
}

.status > li > strong {
  font-size: 20px;
}

.status > li > span {
  display: block;
}

/* end status */

/* start editor */
.grammar dd {
  font-size: 12px;
  color: $gray;
}

.grammar dl {
  margin: 8px 10px;
}

.module.editor-toolbar-emoji {
  position: absolute;
  bottom: 14px;
  height: 111px;
  overflow: auto;
  z-index: 124;
  background-color: #fff;
  box-shadow: $shadow-tip;
  width: 50%;

  .emoji {
    cursor: pointer;
    padding: 5px;
    border-radius: 2px;
    margin-bottom: 0;

    &:hover {
      background-color: $fade;
    }
  }
}

/* end editor */
/* end common */

/* start form */
.form {
  position: relative;
}

.form table {
  width: 100%;
}

.form input[type=text],
.form input[type=datetime],
.form input[type=datetime-local],
.form input[type=password],
.form input[type=number],
.form select,
.form textarea {
  line-height: 17px;
  padding: 7px 8px;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  border-radius: 0.3rem;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.form input[type=text]:not([readonly]):not([disabled]):hover,
.form input[type=datetime]:not([readonly]):not([disabled]):hover,
.form input[type=datetime-local]:not([readonly]):not([disabled]):hover,
.form input[type=password]:not([readonly]):not([disabled]):hover,
.form input[type=number]:not([readonly]):not([disabled]):hover,
.form select:not([readonly]):not([disabled]):hover,
.form textarea:not([readonly]):not([disabled]):hover {
  border-color: rgba(25, 140, 255, 0.5);
}

.form select:focus {
  box-shadow: 0 0 0 0.1rem rgba(25, 140, 255, 0.2);
  border-color: rgba(25, 140, 255, 0.5) !important;
}

.form input[type=text]:focus,
.form input[type=datetime]:focus,
.form input[type=datetime-local]:focus,
.form input[type=password]:focus,
.form input[type=number]:focus,
.form textarea:focus {
  color: #198cff;
  box-shadow: 0 0 0 0.1rem rgba(25, 140, 255, 0.2);
  border-color: rgba(25, 140, 255, 0.5) !important;
}

.form label {
  color: $theme-secondary;
  font-size: 15px;
  margin: 12px 0 6px;
  float: left;
  line-height: 23px;
}

.form label > a {
  font-weight: normal;
}

.form label input[type=checkbox],
.form label input[type=radio] {
  vertical-align: text-top;
  height: 14px;
  width: 14px;
}

.form input[type=file] {
  width: 1px;
  opacity: 0.001;
}

.form select {
  height: 33px;
  padding-top: 5px;
}

.form button.absolute {
  position: absolute;
  right: 15px;
  top: 15px;
  border-radius: 0 3px 3px 0;
}

/* end form */

/* start pagination & tabs-sub */
.pagination {
  border-top: 1px solid #eee;
}

.pagination,
.tabs-sub {
  display: flex;
  font-size: 12px;
  background-color: #fff;
  overflow: hidden;
  border-radius: 0 0 3px 3px;
}

.tabs-sub {
  border-bottom: 1px solid #eee;
  border-radius: 3px 3px 0 0;
}

.pagination a,
.pagination span,
.tabs-sub a {
  line-height: 35px;
  text-decoration: none;
  flex: 1;
  text-align: center;
  color: #616161;
  padding: 0 5px;
}

.pagination a:hover,
.tabs-sub a:hover {
  background-color: rgba(0, 0, 0, .02);
}

.pagination span.current,
.tabs-sub a.current {
  background-color: #f8f8f8;
  color: $theme-primary-text;
}

/* end pagination & tabs-sub */

/* start completed */
.completed-panel {
  padding: 0;
  overflow: auto;
  left: 0;
  display: none;
  position: absolute;
  background-color: #FFF;
  border: 1px solid #eee;
  z-index: 82;
  border-radius: 0 0 3px 3px;
  width: 50%;
  top: 33px;
  box-sizing: border-box;
}

.completed-panel a {
  display: block;
  padding: 3px;
  text-decoration: none;
  line-height: 18px;
  height: 18px;
}

.completed-panel a.selected,
.completed-panel a:hover {
  background-color: #F7F7F7;
}

/* end completed */

/** start redpacke selected user **/
.selected-username-panel{
  position: absolute;
  left: 0;
  padding: 0;
  background-color: #FFF;
  border: 1px solid #eee;
  z-index: 82;
  border-radius: 0 0 3px 3px;
  width: 50%;
  top: 12px;
  box-sizing: border-box;
  box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  overflow-y: scroll;
}

.selected-username-box{
  position: relative;
  display: none;
}

.arrow_up{
  filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))
}

.arrow_up:after{
  content: " ";
  position: absolute;
  left: 20px;
  top: 0;
  width: 0px;
  height: 0px;
  border-right: 6px solid rgba(0,0,0,0);
  border-bottom: 6px solid rgb(0 0 0 / 10%);
  border-left: 6px solid rgba(0,0,0,0);
  border-top: 6px solid rgba(0,0,0,0);
}

.candidateName:hover{
  cursor: pointer;
  background-color: rgb(30,144,255);
  color: #fff;
}
/** end redpacke selected user **/

/* start dialog */
.dialog-background {
  //background-color: #000000;
  display: none;
  height: 100%;
  left: 0;
  opacity: .5;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
}

.dialog-panel {
  display: none;
  position: fixed;
  z-index: 201;
  background: rgba(248, 250, 252, 0.10);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(60,80,120,0.12), 0 1.5px 6px rgba(60,80,120,0.08);
  border: 1px solid #e0e7ef;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  min-width: 500px;
  max-width: 90vw;
  animation: dialog-pop-in 0.28s cubic-bezier(.4,0,.2,1);
}

.dialog-header-bg,
.dialog-main {
  background: rgba(248, 250, 252, 0.10);
  color: #222;
}

.dialog-header-bg {
  padding: 15px 15px 12px 15px;
}

.dialog-header-bg .icon-close {
  color: rgba(0, 0, 0, 0.25);
  font-size: 12px;
  float: right;
  font-weight: bold;
  -webkit-user-drag: none;
}

.dialog-header-bg .icon-close:hover {
  color: $black-text;
}

.dialog-panel button,
.dialog-panel .btn {
  background: rgba(248, 250, 252, 0.1);
  border: 1px solid #e0e7ef;
  color: #222;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(60,80,120,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.18s, box-shadow 0.18s;
  min-height: 28px;
}
.dialog-panel button:hover,
.dialog-panel .btn:hover {
  box-shadow: 0 4px 16px rgba(60,80,120,0.15);
}

/* end dialog */

/* start framework */
.index *:not(.footer) .wrapper{
  padding: 15px;
  background: #fff;
  box-shadow: 0px 0px 2px rgba(98,124,153,.1);
}
.wrapper {
  width: 90%;
  margin: 0 auto;
  display: flex;
  min-width: 720px;
  max-width: 1300px;
}

.wrapper > .module:last-child {
  margin-bottom: 0;
}

.main {
  padding: 25px 0  20px 0;
  background-attachment: fixed;
  min-height: 280px;
}

.main__down {
  background-color: rgba(0, 0, 0, .02);
  padding: 20px 0;
}

.side {
  width: 28%;
  position: relative;
  min-width: 236px;
}

.content {
  margin-right: 20px;
  flex: 1;
  min-width: 1px;
}

.content .module:last-child {
  margin-bottom: 0;
}

/* end framework */

/* start header */
.nav {
  position: sticky;
  top: 0;
  z-index: 83;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 58px;
  padding: 5px 15px;
  box-sizing: border-box;
  background-color: $theme-primary;
  box-shadow: 0px 5px 40px 0px rgba(17,58,93,.1);
  font-weight: 500;

  h1 {
    //margin-right: 20px;
  }

  h1 svg {
    height: 38px;
    width: 38px;
    margin-top: 5px;
  }

  .nav-tabs {
    display: flex;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; // Firefox 隐藏滚动条
    -ms-overflow-style: none; // IE 隐藏滚动条
    &::-webkit-scrollbar { display: none; } // Chrome 隐藏滚动条
  }

  .nav-tabs > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0 2px;
    padding: 0 12px;
    height: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #3b3e43;
    background: none;
    border: none;
    border-radius: 6px;
    z-index: 1;
    transition: color 0.18s cubic-bezier(.4,0,.2,1);

    svg {
      margin-right: 4px;
      width: 14px;
      height: 14px;
      transition: opacity 0.18s;
      opacity: 0.5;
    }

    &:hover, &:focus {
      color: #e59230;
      background: #fff7ec;
      svg { opacity: 1; }
    }

    &.current {
      color: #e59230;
      font-weight: 600;
      background: #fff7ec;
      border-bottom: none !important;
      svg { opacity: 1; }
    }

    &:after {
      content: "";
      position: absolute;
      left: 20%;
      right: 20%;
      bottom: 0;
      height: 2px;
      background: linear-gradient(90deg, #e59230 0%, #ffb86c 100%);
      opacity: 0;
      transform: scaleX(0.6);
      transition: all 0.25s cubic-bezier(.4,0,.2,1);
      z-index: 2;
      border-radius: 6px;
    }
    &.current:after, &:hover:after {
      opacity: 1;
      transform: scaleX(1);
    }
  }

  .nav-tabs svg {
    margin-right: 2px;
    width: 16px;
    visibility: hidden;
    //float: left;
  }

  .nav-tabs a:hover svg,
  .nav-tabs a.current svg {
    visibility: visible;
  }

  .nav-tabs > a,
  .user-nav > a,
  .user-nav > span {
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    color: $theme-primary-text;
    text-decoration: none;
    text-align: center;
    padding: 14px 10px;
  }

  a.current {
    border-bottom: 2px solid $theme-accent;
    padding-bottom: 12px;
  }
  .user-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .user-nav svg {
    height: 20px;
    width: 18px;
    //color: $theme-primary-text;
    //float: left;
  }

  .user-nav > a,
  .user-nav > span {
    //float: left;
  }

  .responsive-show,
  .responsive-hide{
    border-radius: 5px;
    background: rgb(204 204 204/21%);
    border-radius: 5px;
    margin: 0 !important;
  }

  input::-webkit-input-placeholder {
    color: #999999;
  }

  input.search {
    background-color: rgba(255, 255, 255, .15);
    border: 0px;
    border-radius: 3px 3px 3px 3px;
    padding: 5px 8px;
    width: 210px;
    line-height: 38px;
    height: 38px;
    color: $theme-primary-text;
    box-sizing: border-box;
    position: relative;
    vertical-align: top;
    transition: .2s;
  }

  .user-nav .pre-post:hover,
  .user-nav .pre-post:active {
    background-color: #e59230;
    color: #fff;
    box-shadow: 0 2px 8px rgba(5,160,69,0.15);
  }

  .user-nav .pre-post {
    background-color: rgb(203 202 202 / 29%);
    border-radius: 8px;
    color: #3b3e43;
    padding: 7px 14px;
    margin: 14px 7px;
    line-height: 20px;
    transition: .5s;
  }

  .user-nav .no-msg,
  .user-nav .msg {
    background-color: rgb(203 202 202 / 29%);
    border-radius: 3px;
    color: #3b3e43;
    padding: 0px 6px;
    margin: 14px 7px;
    line-height: 20px;
    transition: .5s;
  }

  .user-nav .no-msg:hover,
  .user-nav .no-msg:active {
    background-color: #e59230;
    color: #fff;
    box-shadow: 0 2px 8px rgba(5,160,69,0.15);
  }

  .user-nav .msg {
    background-color: $theme-accent;
    color: #FFFFFF;
  }

  .user-nav a.current.no-msg,
  .user-nav a.current.msg {
    animation: none;
    background-color: $theme-accent;
    border-bottom: 0;
  }

  .person-list {
    position: absolute;
    top: 58px;
    right: 30px;
    width: 154px;
    line-height: 21px;
    display: none;
    z-index: 90;
  }

  .person-list:after {
    top: -14px;
    right: 12px;
    left: auto;
    position: absolute;
    border: 7px solid transparent;
    border-bottom-color: #fff;
  }

  .person-list li {
    list-style: none;
  }

  .person-list li:first-child a {
    border-radius: 3px 3px 0 0;
  }

  .person-list li:last-child a {
    border-bottom: 0;
  }

  .person-list a {
    display: block;
    text-shadow: 0 1px 0 #fff;
    position: relative;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    color: $theme-secondary;
  }

  .person-list a:hover {
    text-decoration: none;
    background: rgba(248, 250, 252, 0.9);
  }

  #notificationsPanel:after {
    right: 92px;
  }
}

/* end header */

/* start footer */
.footer {
  color: $theme-primary-text;
  line-height: 24px;
  padding: 10px 0;
  position: relative;
  z-index: 40;
  background-color: $theme-primary;

  a {
    color: $theme-primary-text;

    &:hover {
      color: #333;
      text-decoration: none;
    }
  }

  & > .wrapper {
    display: block;
  }

  .footer-nav > a {
    margin-right: 5px;
    padding-right: 10px;
  }

  .slogan {
    padding: 20px 0px 20px 0;
    margin: 0px 0 10px;
    color: $theme-primary-text;
    width: 100%;

    svg {
      height: 16px;
      width: 16px;
      vertical-align: sub;
    }
  }
}

/* end footer */

/* start list */
.no-list {
  line-height: 48px;
  text-align: center;
}

.list > ul > li > h2,
.list > ul > li .fn-flex > h2,
.list > ul > li .fn-flex-1 > h2 {
  font-weight: normal;
  line-height: 20px;
  margin-bottom: 2px;
  font-size: 16px;
}

.list > ul {
  list-style: none;
  padding: 0 15px;
}

.list > ul > li {
  border-bottom: 1px solid #eee;
  padding: 15px;
  white-space: normal;
  word-wrap: break-word;
  position: relative;

  h2 > a {
    color: $black-text;
  }

  h2 > a:hover {
    color: #000;
  }
}

.list > ul > li.last,
.list > ul > li:last-child {
  border-bottom-width: 0;
}

.list > ul > li.focus {
  background-color: #f5f5f5;
}

.list.single-line li {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-wrap: normal;
  word-break: normal;
}

.has-view {
  margin-right: 150px;
}

/* end list */

/* start article */
.cmts {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
/* end article */

/* start side module */
.module {
  margin-bottom: 20px;
  border-radius: 3px;
  width: 100%;
  word-wrap: break-word;
  box-sizing: border-box;
  min-width: 1px;
  background: $theme-primary;
  box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
}

.module-header {
  border-radius: 3px 3px 0 0;
  border-bottom: 1px solid #eee;
  padding: 8px 15px;
  font-size: 14px;
  line-height: 19px;
}

.module-header h2 {
  display: inline;
  font-size: 13px;
  color: $theme-secondary;
  font-weight: normal;
}

.module-panel {
  border-radius: 0 0 5px 5px;
}

.module-panel strong {
  display: inline-block;
  margin-top: 14px;
}

.module-panel .module-list li {
  list-style: none outside none;
  padding: 15px;
  position: relative;
}

.index .module-panel .module-list li {
  padding: 10px 15px;
}

.module-panel .module-list li.last,
.module-panel .module-list li:last-child {
  border-bottom-width: 0;
}

.module .comment-content {
  color: $gray;
  float: left;
  margin-left: 5px;
  width: 210px;
}

.module-panel.form {
  padding: 15px;
}

.module-list .slogan {
  position: absolute;
  top: 50%;
  margin-top: -10px;
}

.module-list .title {
  color: #262626;
  margin: 0px 0 0px 30px;
  display: block;
  line-height: 20px;
}

.module-list.open-source .title {
  margin-left: 60px;
}

.module-list.open-source .slogan {
  margin-top: -10px;
}

.module-panel.ad {
  padding: 0 10px;
  text-align: center;
}

.module-panel.ad .header {
  color: $black-text;
}

.module-panel.ad img {
  margin-bottom: 5px;
  margin-top: 5px;
}

.module-panel .tags li {
  float: left;
  list-style: none;
  line-height: 14px;
  margin: 15px 15px 0 0;
}

.module-panel .tags {
  padding: 0 0 15px 15px;
}

/* end side module */

/* start side tags */
.tag-desc.fn-clear {
  margin: 15px 0 0px 15px;
}

.tag-desc > li {
  float: left;
  position: relative;
  list-style: none;
  margin: 0 15px 15px 0;
  font-size: 12px;
}

.tag-desc > li:hover > div {
  display: block;
}

.tag-desc > li > a {
  float: left;
  color: $theme-secondary;
  padding: 2px 5px;
  border: 1px solid transparent;
  position: relative;
  height: 20px;
  white-space: nowrap;
  word-wrap: normal;
  background-color: #F7F7F7;
  border-radius: 3px 3px 3px 3px;
  line-height: 21px;
}

.tag-desc > li > a:hover {
  text-decoration: none;
}

.tag-desc > li:hover > a {
  border-bottom-style: dotted;
  border-radius: 3px 3px 0 0;
  z-index: 2;
  color: $black-text;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
}

.tag-desc > li > a > span {
  text-decoration: none;
  color: $gray;
}

.tag-desc > li > a > img {
  border-radius: 2px 2px 2px 2px;
  height: 16px;
  width: 16px;
  margin: -2px 2px 0 0;
}

.tag-desc > li > div {
  background-color: #F7F7F7;
  border-radius: 3px 0 3px 3px;
  display: none;
  right: 0;
  margin-left: 3px;
  padding: 5px 10px;
  position: absolute;
  top: 26px;
  z-index: 3;
  width: 200px;
  min-width: 150px;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);

  ul, li {
    margin-left: 15px;
  }
}

/* end side tags */

/* start kill-browser */
#killBrowser img {
  position: absolute;
  right: 36px;
  top: 58px;
}

#killBrowser .module {
  margin-bottom: 0;
}

/* end kill-browser */

/* start emoji */
.emoji {
  width: 1.3em;
  height: 1.3em;
  display: inline-block;
  margin-bottom: .25em;
  background-size: contain;
  vertical-align: text-top;
  -webkit-filter: none !important;
  filter: none !important;
  transition: none !important;
}

/* end emoji */

/* start person info */
.small-tips .emoji {
  margin-bottom: 0;
  height: 17px;
  width: 17px;
}

.person-info {
  //border-radius: 20px;
  padding: 15px 0 5px;
  border: 1px solid #eee;
  position: relative;

  .status {
    margin-top: 0;
    padding-top: 0;
  }

  .status .fn-pointer:hover span {
    color: $black-text;
  }

  .module-panel {
    padding: 0 15px 15px 15px;
  }

  .activity-board {
    position: absolute;
    height: 1px;
    background-color: #60b044;
    top: -1px;
  }

  .right {
    width: 2px;
    right: -1px;
    left: auto;
  }

  .left {
    width: 2px;
    right: 0;
    left: -1px;
  }

  .bottom {
    top: auto;
    bottom: -1px;
    box-shadow: 0 0 5px #fff,
    0 0 10px #00a67c;
  }
}

.painter-point {
  background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, rgba(255, 255, 255, .9)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .9)), color-stop(.75, rgba(255, 255, 255, .9)), color-stop(.75, transparent), to(transparent));
  background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, .9) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, .9) 75%, transparent 75%, transparent);
  background-image: linear-gradient(-45deg, rgba(255, 255, 255, .9) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, .9) 75%, transparent 75%, transparent);
  background-size: 8px 8px;
  height: 17px;
  width: 38px;
  display: inline-block;
  vertical-align: sub;
}

/* end person info */

/* start link forge */
.link-forge .module-header {
  line-height: 20px;
}

.link-forge .module-panel {
  max-height: 409px;
  overflow: hidden;
}

.link-forge .content .module-header .avatar-small {
  vertical-align: text-bottom;
}

.link-forge-upload {
  margin-bottom: 20px;
}

.link-forge-upload .error,
.link-forge-upload .succ {
  margin-top: 10px;
}

.link-forge-upload input[type=text] {
  height: 40px;
}

.link-forge-upload button {
  position: absolute;
  right: 0;
  height: 40px;
  border-radius: 0 3px 3px 0;
}

/* end link forge */

/* start responsive */
.responsive-show {
  display: none;
}

/* end responsive */

/* algolia */
.algolia-autocomplete {

  .aa-dropdown-menu {
    background-color: #FFF;
    border-radius: 3px;
    width: 100%;
    word-wrap: break-word;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    line-height: 21px;
    margin-top: 10px;
    margin-left: 20px;
    width: 300px;
    overflow: hidden;
    color: $theme-secondary;
  }

  .aa-dataset-0 {
    max-height: 600px;
    overflow: auto;
  }

  .aa-dropdown-menu img {
    height: 20px;
  }

  .aa-dropdown-menu .aa-suggestion {
    cursor: pointer;
    text-shadow: 0 1px 0 #fff;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
  }

  .aa-dropdown-menu .aa-suggestion.aa-cursor {
    background-color: #f9f9f9;
  }

  .aa-dropdown-menu .aa-suggestion em {
    font-weight: bold;
    color: $theme-accent;
    font-style: normal;
  }

  .aa-dropdown-menu .fn-right {
    margin: 5px;
  }
}

/* end algolia */

/* start nprogress */
/* Make clicks pass-through */
#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: #d23f31;

  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;

  width: 100%;
  height: 2px;
}

/* end nprogress */
.breezemoon__btn {
  position: absolute;
  top: 8px;
  right: 15px;
  border-radius: 0 3px 3px 0;
}


.blur img {
  -webkit-filter: blur(20px) saturate(1.4);
  filter:blur(20px) saturate(1.4);
  transition:all .15s ease-in-out
}
.blur img:hover {
  filter: none;
  -webkit-filter: none;
}

.tag_selection {
  margin: 20px 0 0 0;
}

.user-card {
  -webkit-animation-duration: .15s;
  animation-duration: .15s;
  -webkit-animation-name: scale-in;
  animation-name: scale-in;
  -webkit-animation-timing-function: cubic-bezier(.2,0,.13,1.5);
  animation-timing-function: cubic-bezier(.2,0,.13,1.5);
  width: 360px;
  box-shadow: 0 3px 12px rgba(27,31,35,.15);
  background-color: var(--layer-background-color);
  min-height: 50px;
  box-sizing: border-box;
  font-size: 14px;
  border-radius: 3px;
  border-top: 1px solid transparent
}

.user-card>div {
  padding: 15px;
  border-radius: 3px
}

.user-card--bg {
  width: 460px!important;
  background-size: cover;
  background-position: 50%
}

.user-card--bg .avatar-mid {
  width: 120px!important;
  height: 120px!important;
  top: 65px!important
}

.user-card--bg>div {
  margin-top: 120px;
  border-radius: 0 0 3px 3px
}

.user-card--bg .user-card__info,.user-card--bg .user-card__name {
  margin-left: 135px!important
}

.user-card__name {
  font-size: 18px;
  line-height: 22px;
  margin-left: 92px
}

.user-card__name,.user-card__name:hover {
  color: var(--text-color)
}

.user-card__info {
  margin: 8px 0;
  line-height: 18px;
  font-size: 14px;
  min-height: 18px;
  overflow: hidden
}

.user-card__icons a,.user-card__icons span {
  margin-right: 10px;
  float: left;
  height: 20px
}

.user-card__icons a svg,.user-card__icons span svg {
  margin-top: 2px;
  height: 16px;
  width: 16px;
  color: var(--text-gray-color);
  vertical-align: super
}

.user-card__icons a:hover {
  text-decoration: none
}

.user-card__icons a:hover svg {
  color: #4285f4
}

.user-card__icons img {
  float: left;
  margin-top: 2px
}

.user-card__icon--disabled svg {
  opacity: .3
}

.user-card .avatar-mid-card {
  height: 77px;
  width: 77px;
  position: absolute;
  top: -39px;
  background-color: hsla(0,0%,100%,.8);
  background-size: 100% 100%;
}

.index-head-title{
  border-bottom:
          1px solid #eee;
  margin:0px 10px ;
}

.index-bottom{
  background-color:$theme-background;
}

.index-chat{
  border-bottom:1px solid #eee;
}

#userCard{
  background-color: white;
}

/* xiaoIce Game */
.ice-game-btn{
  position: fixed;
  bottom: 40vh;
  right: 0;
  z-index: 1024;
  width: 75px;
  height: 150px;
  cursor: pointer;
  .ice-game-icon{
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
}
#xiaoIceGameBox{
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1024;
  width: 300px;
  height: 30px;
  transition: .4s;
  background-color: #fff;
  box-shadow: -2px -2px 5px rgba(0,0,0,.3);
  &:not(.active){
    .ice-minimize-btn{
      display: none!important;
    }
  }
  &.active{
    height: 360px;
    .ice-restore-btn{
      display: none!important;
    }
  }
  .ice-tool-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 30px;
    padding: 0 5px;
    box-sizing: border-box;
    background-color: #3b3e43;
    color:#fff;
    .ice-logo{
      width: 25px;
      height: 25px;
      transform: rotateZ(-25deg);
    }
    .ice-toolbar-btn{
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      svg{
        display: flex;
      }
    }
  }
  .ice-chat-box{
    position: relative;
    .ice-chat-input{
      width: 100%;
      height: 30px;
      padding: 5px 55px 5px 10px;
      box-sizing: border-box;
      border: 1px solid #eee;
      font-size: 12px;
    }
    .ice-send-btn{
      position: absolute;
      right: 3px;
      top: 3px;
      width: 50px;
      height: 24px;
      line-height: 24px;
      text-align: center;
      cursor: pointer;
      background-color: #60b044;
      color: #fff;
      border-radius: 2px;
    }
  }
  #iceMsgList{
    padding: 10px;
    height: 300px;
    box-sizing: border-box;
    overflow-y: scroll;
    overflow-x: hidden;
    &::-webkit-scrollbar{
      display: none;
    }
    .ice-msg-item{
      display: flex;
      margin: 10px 0;
      &.me {
        flex-direction: row-reverse;
        .ice-msg-content{
          background-color: rgba(98,162,240,.1);
          &:after{
            right: -10px;
            border-left-color: rgba(98,162,240,.1);
            left: auto;
            border-right-color: rgba(0,0,0,0);
          }
        }

      }
      .ice-msg-content{
        position: relative;
        background-color: var(--background-secondary-color);
        border-radius: 5px;
        padding: 8px 15px;
        overflow: initial;
        max-width: 75%;
        font-size: 12px;
        box-sizing: border-box;
        &:after {
          position: absolute;
          width: 0;
          height: 0;
          content: "";
          top: 5px;
          left: -10px;
          border: 5px solid rgba(0,0,0,0);
          border-right: 5px solid var(--background-secondary-color);
        }
      }
    }
  }
}

// 音乐播放器
#musicBox{
  position: fixed;
  bottom: -106px;
  left: 0;
  width: 100%;
  height: 106px;
  background: #fff;
  box-shadow: -1px -1px 4px 1px rgba(0,0,0,.3);
  z-index: 9990;
  transition: .3s;
  .music-box{
    position: relative;
    margin: 0 auto;
    width: 90%;
    height: 106px;
    min-width: 720px;
    max-width: 1300px;
    display: flex;
    padding: 5px 0;
    align-items: center;
    .music-img{
      .music-img-item{
        width: 40px;
        height: 40px;
        cursor: pointer;
        border-radius: 50%;
      }
      margin: 0 10px;
    }
    &.playing .music-img-item{
      animation: spin 2s linear infinite;
    }
    .music-detail{
      flex: 1;
      height: 106px;
      background: #fff;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      .music-title{
        font-weight: bold;
      }
    }
    .music-close-btn{
      position: absolute;
      top: -20px;
      right: 0;
      width: 50px;
      height: 20px;
      background: #fff;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      cursor:pointer;
      text-align: center;
      box-shadow: 0 -1px 0 1px rgba(0,0,0,.3);
      padding-top: 2px;
      box-sizing: border-box;
      img{
        width: 20px;
        height: 20px;
      }
    }
    .music-controller{
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 70px;
      height: 40px;
      img{
        cursor:pointer;
      }
      .music-prev,.music-next,.music-list,.music-voice,.music-mode{
        width: 30px;
        height: 30px;
      }
      .music-play{
        width: 40px;
        height: 40px;
      }
      .music-voice-box{
        position: fixed;
        bottom: 40px;
        display: none;
        padding: 10px;
        background: #fff;
        z-index: 9991;
      }
      .music-voice:hover{
        .music-voice-box{
          display: block;
        }
      }
    }
  }
  &.show{
    bottom: 0;
  }
  .music-core{
    position: fixed;
    bottom: -100px;
    left: 0;
    z-index: -1;
  }
}

.music-list-box{
  position: fixed;
  bottom: -400px;
  left: 50%;
  transform: translateX(-50%);
  transition: .3s;
  width: 80%;
  height: 400px;
  min-width: 720px;
  max-width: 800px;
  padding: 20px;
  background: #fff;
  box-shadow: -1px -1px 4px 1px rgba(0,0,0,.3);
  z-index: 9980;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  box-sizing: border-box;
  overflow-y: scroll;
  &::-webkit-scrollbar{
    width: 0;
  }
  &.show{
    bottom: 50px;
  }
  .music-list-item{
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,.3);
    padding: 5px;
    background: #fff;
    transition: .3s;
    &:hover{
      background: rgba(0,0,0,.1);
    }
    img{
      width: 20px;
      height: 20px;
      margin-right: 10px;
    }
    .music-list-title{
      flex: 1;
    }
    .music-list-controller{
      span{
        cursor: pointer;
        &:hover{
          text-decoration: underline;
        }
      }
    }
  }
}

.music-player{
  margin: 10px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 0 0 10px #ccc;
  background: #fff;
  .music-player-img{
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }
  .music-player-box{
    .music-player-title{
      width: 200px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-weight: bold;
      font-size: 18px;
    }
    .music-player-controller{
      span{
        cursor: pointer;
        &:hover{
          text-decoration: underline;
        }
      }
    }
  }
}


@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.chatroomReply {
  color: inherit;


  &:hover {
    text-decoration: none;
  }

  &::after {
    display: inline-block;
    width: 16px;
    height: 16px;
    top: 2px;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23878787'%3E%3Cpath d='M12.417 9.75q8.667 1.25 13.375 6.625t6.208 12.958q-6.417-9.083-19.583-9.083v7.25l-12.417-12.417 12.417-12.417v7.083z'%3E%3C/path%3E%3C/svg%3E");
    position: relative;
    left: 2px;
  }
}

// 机器人捕获
.robot-btn {
  position: fixed;
  bottom: 40vh;
  left: 0;
  z-index: 1024;
  width: 75px;
  height: 150px;
  cursor: pointer;
}
#robotBox{
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1024;
  width: 300px;
  height: 30px;
  transition: .4s;
  background-color: #fff;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, .3);
  &:not(.active){

  }
  &.active{
    height: 360px;
  }
  .robot-tool-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 30px;
    padding: 0 5px;
    box-sizing: border-box;
    background-color: #3b3e43;
    color: #fff;
    .robot-toolbar-btn {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      svg {
        display: flex;
      }
    }
  }

  .robot-logo {
    width: 25px;
    height: 25px;
    transform: rotateZ(-25deg);
  }

  #robotMsgList {
    padding: 10px;
    height: 650px;
    box-sizing: border-box;
    overflow-y: scroll;
    overflow-x: hidden;
    .robot-msg-item {
      display: flex;
      margin: 10px 0;
      .robot-msg-content {
        position: relative;
        background-color: var(--background-secondary-color);
        border-radius: 5px;
        padding: 8px 15px;
        overflow: initial;
        max-width: 75%;
        font-size: 12px;
        box-sizing: border-box;
        .robot-username {
          font-size: 11px;
          border-bottom: 1px solid #eee;
          color: #787777;
          margin-bottom: 5px;
        }
      }
    }
  }
  .robot-chat-box{
    .robot-clear-btn {
      position: absolute;
      right: 3px;
      top: 3px;
      width: 50px;
      height: 24px;
      line-height: 24px;
      text-align: center;
      cursor: pointer;
      background-color: #60b044;
      color: #fff;
      border-radius: 2px;
    }
    .robot-catch-input {
      margin-left: 15px;
      height: 30px;
      padding: 5px 55px 5px 10px;
      box-sizing: border-box;
    }
    .robot-change-btn {
      position: absolute;
      right: 60px;
      top: 3px;
      width: 100px;
      height: 24px;
      line-height: 24px;
      text-align: center;
      cursor: pointer;
      background-color: #60b044;
      color: #fff;
      border-radius: 2px;
    }
  }
}

/* color userName */
.ft-admin-user {
  color: red;
  font-weight: bold;
}

/* 领域 */
.ft-domain-header{
  background: #ffffff;
  box-shadow: 0px 0px 2px rgba(98,124,153,.1);
}

.ft-domain-head {
  justify-content: flex-end;
}

.side__domains{
  margin-top: 35px;
  ul{
    position: sticky;
    top: 58px;
    z-index: 1;
  }
  li{
    list-style: none;
  }
  li:hover{
    background: var(--background-color);
    .domains__first{
      box-shadow: 0 1px 2px rgba(0,0,0,.2);
      color: var(--text-color)
    }
  }

}
.domains__first{
  align-items: center;
  color: var(--layer-color);
  display: flex;
  line-height: 16px;
  padding: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.domains__first--current{
  color: var(--text-color)
}
.domain__icon{
  width: 14px;
  height: 14px;
  margin-right: 5px;
}

.domain-sub-tags{
  background-color: #f6f6f6;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  border: #f6f6f6 solid 0px ;
}

.tabs-sub__item.tabs-sub__item--link{
  flex: unset;
  padding: 0 13px;
}

.tabs-sub__item--current{
  background-color: #999999!important;
  color: var(--layer-hover-color)!important
}



/*@keyframes swim {
  0% {
    transform: translate(0,0) rotateY(0deg);
  }
  10% {
    transform: translate(0,0) rotateY(0deg);
  }
  27% {
    transform: translate(100px,0) rotateY(0deg);
  }
  36% {
    transform: translate(150px,5px) rotate(20deg);
  }
  42% {
    transform: translate(175px,0) rotate(0deg);
  }
  45% {
    transform: translate(200px,0) rotateY(0deg);
  }
  47% {
    transform: translate(200px,-5px) rotate(-20deg);
  }
  50% {
    transform: translate(200px,-5px) rotate(0deg);
  }
  65% {
    transform: translate(200px,0) rotateY(180deg);
  }
  85% {
    transform: translate(0,0) rotateY(180deg);
  }
  88% {
    transform: translate(0,0) rotateY(0deg);
  }
  100% {
    transform: translate(0,0) rotateY(0deg);
  }
}

.swimming {
  animation: swim 15s linear;
}*/

// 只让右上角 header 的头像圆形
.nav .user-nav .avatar-small {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background-size: cover;
  background-position: center;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(66,133,244,0.10);
  border: 2px solid #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
  vertical-align: middle;
}

.nav .user-nav .avatar-small:hover {
  box-shadow: 0 4px 16px rgba(66,133,244,0.18);
  border-color: #E59230;
}

@keyframes dropdown-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav .person-list {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1);
  min-width: 160px;
  z-index: 999;
  display: block !important; // 保证用opacity控制显示
  background: rgba(248, 250, 252, 0.75);
  box-shadow: 0 6px 24px rgba(60,80,120,0.12), 0 1.5px 6px rgba(60,80,120,0.08);
  border: 1px solid #e0e7ef;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav .person-list.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: dropdown-fade-in 0.25s;
}

.nav .user-nav .pre-post.current {
  background: #e59230 !important;
  color: #fff !important;
  border-bottom: none !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(229,146,48,0.15);
  /* 让按钮更美观 */
}
.nav .user-nav .pre-post.current svg,
.nav .user-nav .pre-post.current span {
  color: #3B3E43 !important;
  fill: #3B3E43 !important;
}

// 主题色
$theme-orange: #e59230;
$theme-orange-light: #fff7ec;

.nav .user-nav > a.nav-btn-admin,
.nav .user-nav > a.nav-btn-activity {
  transition: background 0.18s, color 0.18s;
  border-radius: 6px;
  color: #3b3e43;
  background: none;
  display: flex;
  align-items: center;
  border-bottom: none !important;

}

.nav .user-nav > a.nav-btn-admin:hover,
.nav .user-nav > a.nav-btn-admin:focus,
.nav .user-nav > a.nav-btn-activity:hover,
.nav .user-nav > a.nav-btn-activity:focus {
  background: #fff7ec;
  color: #e59230;
}

.nav .user-nav > a.nav-btn-admin:hover svg,
.nav .user-nav > a.nav-btn-admin:focus svg,
.nav .user-nav > a.nav-btn-activity:hover svg,
.nav .user-nav > a.nav-btn-activity:focus svg {
  color: #e59230;
  fill: #e59230;
}

.nav .user-nav > a.nav-btn-admin svg,
.nav .user-nav > a.nav-btn-activity svg {
  transition: color 0.18s, fill 0.18s;
  width: 18px;
  height: 18px;
  color: #3b3e43;
  fill: #3b3e43;
}

.nav .user-nav > a.nav-btn-admin.current,
.nav .user-nav > a.nav-btn-activity.current {
  background: #fff7ec;
  color: #e59230;
}
.nav .user-nav > a.nav-btn-admin.current svg,
.nav .user-nav > a.nav-btn-activity.current svg {
  color: #e59230;
  fill: #e59230;
}

#aPersonListPanel {
  border-bottom: none !important;
}
