/*
 * 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/>.
 */
/**
 * Mobile base style.
 *
 * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
 * @author <a href="http://88250.b3log.org">Liang Ding</a>
 * @version 1.12.0.2, Mar 17, 2019
 */
@import "variables";
@import "common";

:root {
  --background-color: #fff;
  --background-secondary-color: #f6f8fa;
  --text-color: #000;
  --text-gray-color: rgba(0,0,0,0.54);
  --text-fade-color: rgba(0,0,0,0.38);
  --layer-color: #616161;
  --layer-background-color: #fff;
  --layer-border-color: #eee;
  --layer-hover-color: #fff;
  --layer-hover-background-color: #4285f4;
  --header-background-color: #3b3e43;
  --toc-hover-color: #4285f4;
  --tab-current-background-color: var(--header-background-color);
  --box-shadow: 0 3px 12px rgba(27,31,35,0.15);
  --dialog-close-color: hsla(0,0%,100%,0.54);
  --input-border-color: #d1d5da;
  --logo-hover-color: var(--header-background-color);
}

/* start common */
.fn-hr10 {
  height: 10px;
  display: block;
}

.tag {
  padding: 2px 3px;
  font-size: 12px;
  border-radius: 2px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  background-color: #f0f0f0;
  color: #999;
  white-space: nowrap;
  display: inline-block;
  margin: 5px 0;
  line-height: 16px;
}

.tag:hover {
  text-decoration: none;
  color: $black-text;
  background-color: #ccc;
}

/* 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.absolute {
  position: absolute;
  right: 10px;
  top: 10px;
}

/* 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;
}

/* 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-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;
}

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

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

.avatar-big {
  border: 1px solid #EEEEEE;
  height: 210px;
  width: 210px;
  border-radius: 6px;
}

.avatar-mid {
  border: 1px solid #EEEEEE;
  height: 118px;
  width: 118px;
  border-radius: 4px;
}

/* end avatar */

/* start status */
.status {
  border-top: 1px dotted #CCCCCC;
  list-style: none;
  padding: 10px 0;
}

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

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

/* end status */
/* 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 label {
  color: $theme-secondary;
  font-size: 15px;
  margin: 10px 0 5px;
  float: left;
}

.form label.ft-red {
  color: $theme-accent;
}

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

.form label input[type=checkbox],
.form label input[type=radio] {
  vertical-align: middle;
}

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

/* end form */

/* start pagination */
.pagination {
  background-color: #FFFFFF;
  background: linear-gradient(#FFFFFF, #EFEFEF);
  background: -ms-linear-gradient(#FFFFFF, #EFEFEF);
  background: -o-linear-gradient(#FFFFFF, #EFEFEF);
  background: -webkit-linear-gradient(#FFFFFF, #EFEFEF);
  border: 1px solid #eaeaea;
  border-bottom: 0;
  display: inline-block;
  margin: 10px;
  border-radius: 3px;
  font-size: 12px;
  float: right;
}

.pagination a, .pagination span {
  border-bottom: 1px solid #DADADA;
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  color: #777777;
  float: left;
  padding: 5px 8px;
  text-decoration: none;
  text-shadow: 0 1px 0 white;
}

.pagination a {
  cursor: pointer;
}

.pagination a:hover {
  color: $blue;
  border-bottom-color: #CFDCE8;
  background-color: #fafbfd;
  background: linear-gradient(#fafbfd, #dce6ef);
  background: -ms-linear-gradient(#fafbfd, #dce6ef);
  background: -o-linear-gradient(#fafbfd, #dce6ef);
  background: -webkit-linear-gradient(#fafbfd, #dce6ef);
}

.pagination span.current {
  background-color: #FCFCFC;
  background: linear-gradient(#FCFCFC, #EBEBEB);
  background: -ms-linear-gradient(#FCFCFC, #EBEBEB);
  background: -o-linear-gradient(#FCFCFC, #EBEBEB);
  background: -webkit-linear-gradient(#FCFCFC, #EBEBEB);
  border-bottom-color: #D26911;
  color: #000000;
}

.pagination span.gap {
  color: #BBB;
}

.pagination select {
  border: 0;
  color: #777;
  padding: 4px 5px;
  white-space: nowrap;
  float: left;
  border-bottom: 1px solid #DADADA;
  border-radius: 0;
  background: linear-gradient(#fff, #EFEFEF);
}

/* end pagination */

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

.dialog-panel {
  display: none;
  position: fixed;
  z-index: 201;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
}

.dialog-header-bg {
  padding: 10px;
  font-size: 18px;
  font-weight: normal;
  border-bottom: 1px solid #eee;
  cursor: move;
  user-select: none;
}

.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-main {
  min-width: 300px;
  padding: 10px;
  box-sizing: content-box;
}

/* end dialog */

/* start completed */
.completed-panel {
  padding: 0;
  overflow: auto;
  left: 0;
  display: none;
  position: absolute;
  background-color: #FFF;
  border: 1px solid #eee;
  z-index: 72;
  border-radius: 0 0 3px 3px;
  width: 50%;
  top: 32px;
  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 framework */
.wrapper {
  margin: 0 10px;
}
.main {
  //background-color: #FFF;
  //padding-bottom: 10px;

  /*.article-main {
    margin: 10px 10px;
    background-color: var(--layer-background-color);
    box-shadow: 0 1px 2px var(--layer-border-color);
    padding: 10px 10px 20px 10px;
  }*/
}

/* end framework */

/* start header */
.nav {
  height: 28px;
  width: 100%;
  padding: 5px 0;
  z-index: 99;
  background-color: rgba(217, 240, 255, 0.75);
}

.nav .wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav .head-fn form {
  position: relative;
}

.nav .head-fn h1 a {
  svg {
    color: #fff;
    height: 28px;
    width: 28px;
    margin-top: -5px;
    float: left;
  }
}

.nav .user-nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 5px;
}

.nav .user-nav a.unlogin {
  font-size: 14px;
}

.nav div > a {
  color: #3b3e43;
  text-decoration: none;
  margin: 0 3px;
  padding: 4px 5px;
  float: right;
  font-size: 20px;
  line-height: 20px;
  height: 20px;
}

.nav div > a:hover {
  color: $blue;
}

.nav div > a.current {
  /*
  border-bottom: 2px solid $theme-accent;
  padding-bottom: 7px;
  */
}

.nav div > a.last {
  margin-right: 0;
}

.nav .avatar-small {
  height: 20px;
  width: 20px;
  vertical-align: super;
}

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

.nav .user-nav .msg {
  -webkit-animation: spaceboots 1s infinite;
  -moz-animation: spaceboots 1s infinite;
  -o-animation: spaceboots 1s infinite;
  -ms-animation: spaceboots 1s infinite;
  animation: spaceboots 1s infinite;
  background-color: $theme-accent;
  color: #FFFFFF;
}
.nav .user-nav svg{
  color: $theme-primary-text;
  height: 20px;
  width: 20px;
}

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

.nav .form {
  background-color: #FFF;
  border: 1px solid #CACACA;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 14px;
  position: absolute;
  right: 0;
  top: 33px;
  z-index: 2;
  width: 250px;
}

.nav .form input[type="text"],
.nav .form input[type="password"] {
  margin: 10px 0;
}

.nav input.search {
  background-color: #FFF;
  border: 1px solid #DDDDDD;
  border-radius: 3px 3px 3px 3px;
  padding: 5px 8px;
  width: 230px;
  margin: 1px 0 0 20px;
  float: left;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}

.nav input.search:focus {
  border-color: #51A7E8;
  box-shadow: 0 0 3px rgba(81, 167, 232, 0.5), 0 1px 1px rgba(0, 0, 0, 0.2) inset;
}

/* end header */

/* start footer */
.footer {
  color: #434444;
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  background-color: $theme-primary;

  a {
    color: #7e7e7e;
  }
}

/* end footer */

/* start list */
.list h2 {
  font-size: 14px;
  font-weight: normal;
}

.list h2 > a {
  color: #595959;
}

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

.list > ul {
  list-style: none;
}

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

.list li.last {
  border-bottom-width: 0;
}

.list .comment > p {
  margin: 0;
}

.list > ul > li.cmt-perfect,
.list > ul > li.cmt-perfect:hover {
  background-color: #f9f6f6;
}

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

/* end list */

/* start article */
#articltVia {
  white-space: nowrap;
}

label.anonymous-check {
  margin: 0 9px;
  input{
    margin-left: 4px;
  }
}

.cmts {
  position: absolute;
  right: 10px;
  top: 40%;
}

.cmts a.count:visited {
  background-color: #f6f6f6;
  color: #999;
}

#revision .revisions {
  margin: 5px 0 15px;
  text-align: center;
  a {
    color: $black-light;
    vertical-align: middle;
    &:hover {
      color: $black-text;
    }
    &.disabled {
      color: $fade;
      cursor: default;
    }
  }
  span {
    margin: 0 10px 0 10px;
  }
}

/* end article */

/* start side module */
.module {
  margin-bottom: 10px;
  background-color: #FFF;
  border-radius: 3px;
  width: 100%;
  word-wrap: break-word;
  box-sizing: border-box;
}

.module-header {
  border-radius: 3px 3px 0 0;
  background-color: #F7F7F7;
  border-bottom: 1px solid #eee;
  padding: 9px 10px 10px;
  text-shadow: 0 1px 0 #fff;
  font-size: 14px;
  line-height: 17px;
}

.module-header h2 {
  display: inline;
  font-size: 15px;
  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 {
  border-bottom: 1px dotted #CCCCCC;
  list-style: none outside none;
  padding: 5px 10px;
  position: relative;
}

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

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

.module-panel.form {
  padding: 0 10px 10px;
}

/* end side module */

/* start kill-browser */
#killBrowser .module {
  height: 235px;
  width: 520px;
}

#killBrowser p {
  margin: 10px 0;
}

#killBrowser ul {
  margin-left: 30px;
}

#killBrowser img {
  position: absolute;
  right: 36px;
  top: 58px;
}

/* 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 */
.person-info {
  position: relative;
}

.person-info .info {
  position: relative;
  left: -1px;
  top: -1px;
  overflow: hidden;
  height: 35px;
}

.person-info .info button.red {
  position: absolute;
  border-radius: 3px 0 0 0;
  min-width: 35%;
  color: #FFF;
  padding: 5px 0;
  background-color: #b33630;
  background-image: linear-gradient(#dc5f59, #b33630);
  border-color: #cd504a;
  letter-spacing: 1px;
}

.person-info .info button.red:hover {

  letter-spacing: 2px;
}

.person-info .info .fn-right {
  margin: 9px 10px 0 0;
}

.person-info .status {
  border-bottom: 1px dotted #ccc;
  border-top-width: 0;
  margin-top: -20px;
  margin-bottom: 15px;
}

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

.person-info .module-panel {
  padding: 0 10px 10px 10px;
}

.person-info .activity-board {
  position: absolute;
  height: 2px;
  background-color: #b33630;
  top: -1px;
}

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

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

.person-info .bottom {
  top: auto;
  bottom: -1px;
}

.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 top */
.top .has-view {
  line-height: 21px;
}

/* end top */

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

/* end responsive */

/* algolia */
.algolia-autocomplete .aa-dropdown-menu {
  background-color: #fff;
  border: 1px solid #eee;
  margin: 0 0 5px 19px;
}

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

.algolia-autocomplete .aa-dropdown-menu .aa-suggestion {
  cursor: pointer;
  padding: 5px 4px;
  border-bottom: 1px solid #eee;
}

.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor {
  background-color: #F7F7F7;
}

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

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

/* end algolia */

/* start ranking-tag*/
.ranking {
  text-align: center;
  margin: 10px;
}

.ranking-title {
  font-size: 18px;
  text-align: center;
}

/* end ranking-tag*/

/**
 * 前台样式.
 *
 * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
 * @author <a href="http://88250.b3log.org">Liang Ding</a>
 * @version 2.7.9.15, Apr 21, 2016
 */

.more-article {
  display: block;
  text-align: center;
  padding: 5px;
  background-color: #f6f6f6;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* start module */
.module-list .slogan {
  position: absolute;
  top: 50%;
  margin-top: -12px;
}

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

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

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

.module-list.domain .slogan {
  text-align: center;
  margin-top: -10px;
  width: 30px;
}

.module-list.domain .title {
  margin-left: 50px;
}

.module-list.domain .tag {
  margin-right: 10px;
}

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

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

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

/* end module */

/* start article */
.article-actions .fn-right > a,
.article-actions .fn-right > span {
  padding: 4px 8px;
  border-radius: 2px;
  display: inline-block;
  line-height: 16px;
  float: left;
  text-decoration: none;
  margin-top: 10px;
}

.article-info {
  position: relative;
}

.article-info > div.article-params {
  position: absolute;
  top: -2px;
  left: 40px;
  font-size: 12px;
  min-height: 30px;
  line-height: 15px;
}

#heatBar {
  position: fixed;
  top: 2px;
  right: 0px;
  width: 100%;
}

h1.article-title {
  word-break: break-all;
  font-size: 16px;
  font-weight: normal;
  margin: 4px 0 20px 0;
}

h1.article-title > a {
  color: #595959;
}

h1.article-title > a:hover {
  color: $black-text;
}

#thoughtProgress {
  height: 2px;
  position: relative;
  margin-bottom: 10px;
  margin-top: 20px;

  .bar {
    position: absolute;
    background-color: #e0e0e0;
    height: 2px
  }

  .icon-video {
    position: absolute;
    top: -8px;
    left: 0;
    cursor: pointer;
    color: $theme-accent;
    margin-left: -10px;
  }
}

.comment-submit {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

label.cmt-anonymous {
  margin: 7px 15px 0 0;
}

#shareClipboard.tooltipped-hover {
  color: $blue;
}

.comments > .comments-header {
  border-bottom: 1px solid #dbdbdb;
  margin: 20px 0 20px 0;
  padding: 10px 5px 11px 10px;
}

.comments > div.comments-header svg {
  margin: 3px 10px 0 0;
}

.comments > div.comments-header a {
  text-decoration: none;
  color: #817e7e;
}

.comments li.shield {
  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-color: #f7f7f7;
  background-size: 45px 45px;
}

.comments.list > ul > li.perfect,
.comments.list > ul > li.perfect:hover {
  background-color: #f9f6f6;
}

.comments > ul > li:hover .hover-show {
  visibility: visible;
}

.comments > ul > li:hover .comment-action,
.comments > ul > li.selected .comment-action {
  display: block;
}

.comment-get-comment.list > ul > li {
  margin-bottom: 10px;
  padding-top: 0;
}

.comment-replies.list > ul {
  margin-top: 10px;
}

.comment-replies.list > ul > li {
  border-bottom-width: 0;
  border-top: 1px solid #eee;
}

.comment-replies.list > ul > li {
  background-color: transparent;
}

.comments li .fn-pointer:hover {
  color: #999;
}

.comments .comment > p {
  margin-top: 10px;
  margin-bottom: 0;
}

.comments.nice ul {
  margin-top: 5px;
  border: 1px solid #eee;
  border-radius: 3px;
}

.comments.nice > ul > li:last-child {
  border-bottom-width: 0;
}

.comment-login {
  box-sizing: border-box;
  margin: 10px;
  background-color: #fafafa;
}

.comment-login > a {
  text-align: center;
  display: block;
  padding: 21px 0px 21px;
}

#articleRewardContent {
  margin-top: 20px;
  padding: 10px;
  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-color: #f7f7f7;
  background-size: 45px 45px;
}

#articleRewardContent > p {
  margin: 0;
}

#articleRewardContent.reward {
  text-align: center;
}

#articleRewardContent.reward > span {
  margin: 20px;
  display: inline-block;
}

.article-tags .tag {
  margin: 0;
  padding: 0 3px;
}

.share {
  margin: 10px 0;
  position: relative;

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

.share #qrCode {
  position: absolute;
  bottom: 30px;
  right: 0;
  border: 5px solid #eee;
  z-index: 1;
  height: 90px;
  border-radius: 3px;
  width: 90px;
}

.share [class^="icon-"] {
  cursor: pointer;
  transition: all 0.2s ease-out 0s;
  -webkit-transition: all 0.2s ease-out 0s;
  display: inline-block;
  font-size: 16px;
}

.share [class^="icon-"]:hover {
  color: $blue;
}

#replyUseName {
  visibility: hidden;
  line-height: 18px;
  height: 18px;
  margin: 5px 0;
}

#articleToC {
  top: 21px;
  z-index: 10;
}

.article-toc li {
  list-style-type: none;
}

.article-toc li a {
  padding: 5px 10px 5px 20px;
  border-left: 2px solid transparent;
  display: block;
  line-height: 20px;
  color: #767676;
}

.article-toc li a:last-child {
  border-bottom-width: 0;
}

.article-toc li a:hover {
  border-left: 1px solid $blue;
  background-color: #F7F7F7;
  padding-left: 21px;
  color: $blue;
  text-decoration: none;
}

.article-toc li.current a {
  border-left: 2px solid $blue;
  background-color: #f0f0f0;
  color: $blue;
}

.article-toc li.toc-h2 a,
.article-toc li.toc-h2.current a:hover {
  padding-left: 34px;
}

.article-toc li.toc-h3 a,
.article-toc li.toc-h3.current a:hover {
  padding-left: 48px;
}

.article-toc li.toc-h4 a,
.article-toc li.toc-h4.current a:hover {
  padding-left: 62px;
}

.article-toc li.toc-h5 a,
.article-toc li.toc-h5.current a:hover {
  padding-left: 86px;
}

.article-toc li.toc-h2 a:hover {
  padding-left: 35px;
}

.article-toc li.toc-h3 a:hover {
  padding-left: 49px;
}

.article-toc li.toc-h4 a:hover {
  padding-left: 63px;
}

.article-toc li.toc-h5 a:hover {
  padding-left: 87px;
}

/* end article */

/* start domains */
.domains {
  border-bottom: 2px solid $theme-accent;
}

.domains svg {
  vertical-align: sub;
}

.domains a {
  height: 17px;
  text-align: center;
  padding: 10px 2px;
  color: #999;
  text-decoration: none;
  line-height: 16px;
  display: block;
  flex: 1;
  font-size: 12px;
}

.domains a.selected {
  color: $blue;
}

.domains-count {
  padding: 10px 18px;
  font-size: 18px;
  line-height: 26px;
  color: #1b3650;
  text-align: center;
  background-image: linear-gradient(#f5fbff, #e4f0ff);
  border: 1px solid #cee0e7;
  border-radius: 3px;
  width: 100%;
  box-sizing: border-box;
  margin: 10px 0 10px;
}

/* start domains */

/* start article list */
.article-list li.stick {
  background-color: #f9f6f6;
}

.article-list li.stick .stick-remains {
  vertical-align: top;
}

.article-list li.stick:hover .stick-remains {
  display: inline;
}

.article-list li .commenters {
  display: none;
  top: 32%;
  position: absolute;
  right: 10px;
}

.article-list li .commenters > a {
  float: left;
  margin-left: 4px;
  width: 25px;
  text-decoration: none;
  color: #999;
}

.article-list li .commenters > a:hover {
  color: $blue;
}

.article-list li:hover .cmts {
  /*    display: none; */
}

.article-list li:hover .commenters {
  display: block;
}

.article-list .preview {
  position: absolute;
  left: 65px;
  z-index: 1;
  top: 40px;
  background-color: #FFF;
  border: 1px solid #DDDDDD;
  border-radius: 3px 3px 3px 3px;
  padding: 5px 10px;
  opacity: 0.9;
  width: 70%;
  min-width: 130px;
  min-height: 36px;
}

.article-list .preview .ico-arrow {
  width: 0px;
  height: 0px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(256, 256, 256, 0.9);
  position: absolute;
  top: -10px;
  z-index: 1;
  left: 11px;
}

.article-list .preview .ico-arrowborder {
  width: 0px;
  height: 0px;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 11px solid #DDDDDD;
  position: absolute;
  top: -11px;
  left: 10px;
}

.heat {
  position: absolute;
  height: 5px;
  background-color: $theme-accent;
  z-index: 1;
  bottom: -3px;
  right: 0;
}

.point,
.point-remove {
  position: absolute;
  height: 5px;
  background-color: $theme-accent;
  z-index: 1;
  bottom: -3px;
  right: 0px;
  width: 5px;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
}

.point-remove {
  animation-name: slideInLeft;
  -webkit-animation-name: slideInLeft;
}

@keyframes slideInLeft {
  0% {
    right: 0;
  }

  100% {
    right: 100%;
  }
}

@-webkit-keyframes slideInLeft {
  0% {
    right: 0;
  }

  100% {
    right: 100%;
  }
}

@keyframes slideInRight {
  0% {
    right: 100%;
  }

  100% {
    right: 0;
  }
}

@-webkit-keyframes slideInRight {
  0% {
    right: 100%;
  }

  100% {
    right: 0;
  }
}

.article-level0 {
  color: $fade;
}

.article-level1 {
  color: #ffcc00;
}

.article-level2 {
  color: #ffc1cc;
}

.article-level3 {
  color: #ff6633;
}

.article-level4 {
  color: $theme-accent;
}

/* end article list */
/* start guide */
.guide {
  .intro.vditor-reset {
    padding: 10px;
    line-height: 24px;
  }

  .guide-tab,
  .step-btn {
    margin: 10px;
  }

  .form {
    margin: 0;
    width: auto;
  }

  #avatarUpload label {
    margin-top: 0;
  }

  .tag-desc > li:hover > a {
    border-bottom-style: solid;
    border-radius: 3px;
  }

  .tag-desc li.current > a {
    background-color: $fade;
    color: #fff;
    border-color: #bbb;
  }

  .intro dt.current {
    color: #ffac45;
  }
}

/* start guide md */
.guide {
  .fn-flex > div {
    padding: 10px;
    box-sizing: border-content;
    width: 50%;
  }

  .md {
    background-color: $blue-lighter;

    pre {
      white-space: pre-wrap;
      word-wrap: break-word;
    }
  }
}

/* end guide md */
/* end guide */
/* start verify */
.verify {

  .intro {
    padding: 30px;
    background-color: $blue-lighter;
    color: $theme-secondary;
  }

  .form {
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0;

    & > svg {
      margin: 0 auto;
      height: 50px;
      width: 50px;
      display: block;
    }

    input[type="text"],
    input[type="password"] {
      margin: 10px 0;
      width: 100%;
      padding-left: 36px;
      background-color: #FFF;
    }

    button {
      margin: 10px 0;
      width: 100%;
    }

    .input-wrap {
      position: relative;

      svg {
        color: #999;
        position: absolute;
        top: 19px;
        left: 10px;
      }
    }

    .captcha-img {
      top: 11px;
      position: absolute;
      height: 31px;
      left: 1px;
      border-radius: 3px 0 0 3px;
    }

    input.captcha-input {
      padding-left: 91px;
    }
  }


  /* start opeinid login form */
  .openid-info {
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0;

    .avatar-openid{
      width: 50px !important;
      height: 50px !important;
    }

    .tip1 {
      font-size: 20px;
      font-weight: bold;
    }

    .tip2 {
      color: #b0a114
    }

    .info-box{
      margin-top: 10px;
      margin-bottom: 10px;
      display: flex;
      flex-direction: row;
      padding: 10px;
      align-items: center;
      background: #eeeeee;
      border-radius: 2px;
    }

    .info-detail{
      font-size: 18px;
      margin-left: 10px;
      line-height: 24px;
    }

  }

  .openid-intro{
    .openid-intro-title{
      color:#4285f4
    }
  }


  /* end opeinid login form */
}

/* end verify */

/* start side tags */
.module-panel .tags li {
  float: left;
  list-style: none;
  line-height: 19px;
  margin: 10px 10px 0 0;
}

.module-panel .tags {
  margin: 0 0 10px 10px;
}

.tag-desc.fn-clear {
  margin: 10px 0 0px 10px;
}

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

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

.tag-desc > li > a {
  float: left;
  color: #999;
  padding: 2px 5px;
  border: 1px solid #DDDDDD;
  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;
  opacity: 0.7;
  z-index: 3;
}

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

.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: 1px solid #DDDDDD;
  border-radius: 3px 0 3px 3px;
  display: none;
  right: 0;
  margin-left: 3px;
  padding: 5px 10px;
  position: absolute;
  top: 25px;
  z-index: 2;
  opacity: 0.9;
  width: 200px;
  min-width: 150px;
}

.tag-articles-tag-desc.tag-desc > li > div {
  left: -3px;
  right: auto;
  border-radius: 0 3px 3px 3px;
}

.tag-articles .content {
  padding-top: 10px;
}

.tag-articles h1.fn-inline {
  line-height: 28px;
  font-size: 20px;
}

.tag-articles .btn.red {
  vertical-align: super;
}

.tag-articles .article-actions .fn-right {
  margin-top: -8px;
}

/* end side tags */

/* start tags.html */
.tags-cold li h2,
.tags-trend li h2 {
  display: inline-block;
}

.list > ul.tags-trend > li,
.list > ul.tags-cold > li {
  padding: 5px;
}

/* end tags.html */

/* start tag-article.html */
.tag-artile-user {
  border-bottom: 1px dotted #CCCCCC;
  padding: 0 0px 10px 10px;
}

/* end tag-article.html */

/* start overwrite prettify.css */
code.prettyprint {
  display: inline;
  border: none;
  background-color: initial;
  border-radius: initial;
  padding: initial;
}

code .str {
  color: initial;
}

/* string  - green */
code .kwd {
  color: initial;
}

/* keyword - dark pink */
code .com {
  color: initial;
  font-style: italic;
}

/* comment - gray */
code .typ {
  color: initial;
}

/* type - light blue */
code .lit {
  color: initial;
}

/* literal - blue */
code .pun {
  color: initial;
}

/* punctuation - white */
code .pln {
  color: initial;
}

/* plaintext - white */
code .tag {
  color: initial;
}

/* html/xml tag    - light blue */
code .atn {
  color: initial;
}

/* html/xml attribute name  - khaki */
code .atv {
  color: initial;
}

/* html/xml attribute value - green */
code .dec {
  color: initial;
}

/* decimal - blue */
/* end overwrite prettify.css */

/* start activity */
.activity {
  min-height: 300px;
}

.activity-char-btns {
  margin-top: 10px;
}

#charCanvas {
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #fff;
  display: block;
  margin: 20px auto;
  background-image: url(../images/m-char.png);
  background-size: cover;
}

#paintCanvas {
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #fff;
  display: block;
  margin: 20px auto;
  background-size: cover;
}

/* end activity */

/* start chatroom */
.chat-room{
  background: #ffffff;
  padding: 0 10px;
}
.chat-room .online-cnt {
  line-height: 33px;
  margin-right: 10px;
  color: $gray;
}

.chat-room .list {
  height: 200px;
  overflow: auto;
}

/* end chatroom */
/* start index */
.index .index-wrap {
  background-color: #fafafa;
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
}

.index > .slogan {
  padding: 10px;
  color: #767676;
  border-top: 1px solid #eee;
  background-color: #fafafa;
}

.index > .slogan a:hover svg {
  color: $blue;
}

.index .tag-desc > li:hover > span {
  border-bottom-style: solid;
  border-radius: 3px;
  opacity: 0.7;
  z-index: 3;
}

.index a.count {
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -8px;
}

.index a.count:visited {
  background-color: #f6f6f6;
  color: #999;
}

.index {
  .module-list .title {
    margin-right: 30px;
  }

  .module-header {
    margin: -1px;
    text-align: right;
    text-shadow: 0 0 0;

    a {
      color: #fff;
    }
  }
}

/* end index */
/* start home side */
.user-name {
  font-size: 20px;
  font-weight: 300;
  line-height: 26px;
  border-bottom: 1px dotted #CCC;
  margin-bottom: 20px;
  padding: 20px 10px 25px 10px;

  #userNicknameDom {
    font-size: 26px;
    line-height: 30px;
  }

  .mbti {
    background-color: #b2b1ff;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    border-radius: 3px;
    height: 20px;
    display: inline-block;
    padding: 0 5px;
    vertical-align: middle;
    box-sizing: border-box;

    svg {
      margin-top: 2px;
    }
  }

  .online,
  .offline,
  .color_admin,
  .color_op,
  .color_police,
  .color_svip,
  .color_vip {
    background-color: $theme-accent;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    border-radius: 3px;
    height: 20px;
    display: inline-block;
    padding: 0 5px 0 3px;
    vertical-align: middle;
    svg {
      margin-top: 2px;
    }
  }

  .offline {
    background-color: $gray;
  }

  .color_admin {
    background-color: #d70274;
  }

  .color_op {
    background-color: #7702d7;
  }

  .color_police {
    background-color: #026dd7;
  }

  .color_svip {
    background-color: #d7b502;
  }

  .color_vip {
    background-color: #d74202;
  }

  button.follow {
    font-size: 14px;
    width: 100%;
    margin: 10px 0;
  }
}

.user-info {
  line-height: 26px;
  font-size: 12px;
  color: $theme-secondary;
}

.user-intro {
  line-height: 26px;
}

/* end home side */

/* start add article */
.pre-post > div {
  font-size: 30px;
  border-bottom: 1px solid #eee;
  padding: 20px 10px;
  text-align: center;
}

.pre-post > div:last-child {
  border-bottom-width: 0;
}

.pre-post > div > a {
  color: #404040;
  display: block;
  margin-bottom: 20px;
}

.pre-post a:hover {
  text-decoration: none;
  color: $blue;
}

.pre-post a svg {
  height: 30px;
  width: 30px;
  vertical-align: middle;
  margin-right: 20px;
}

.pre-post div.ft-fade {
  font-size: 15px;
}

#articleContent {
  height: 332px;
  margin: 10px 0;
}

#articleRewardContent {
  margin-top: 10px;
  padding: 0;
}

#tip {
  position: inherit;
  white-space: pre-wrap;
}

.tip-add-article {
  color: #777777;
  list-style: circle outside none;
  margin-left: 20px;
  line-height: 22px;
}

.article-content {
  width: 100%;
  position: relative;

  &#articleAudio {
    width: auto;
    margin-bottom: 10px;
  }
}

#showReward {
  color: #999;
  width: 100%;
  display: block;
}

.post .tags-wrap {
  position: relative;
}

.post .tags-input {
  border: 1px solid #CCCCCC;
  background-color: #FAFAFA;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset;
  padding: 5px 5px 3px 5px;
  width: 100%;
  line-height: 17px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  height: 33px;
}

.post .tags-input span.tag {
  margin: 2px 5px 0 0px;
  color: $blue;
}

.post .tags-input .tag > span.close {
  cursor: pointer;
  margin-left: 5px;
  color: #999;
}

.post .tags-input span.tag.haved {
  color: $black-text;
  background-color: #ccc;
  transition: background 0.5s ease-in, color 0.3s ease-out;
}

.post .tags-input input {
  border: 0;
  outline: none;
  border-radius: 0;
  padding: 2px;
  box-shadow: 0 0 0;
  background-color: transparent;
}

.post .tags-input input:focus {
  border: 0;
  background-color: transparent;
  box-shadow: 0 0 0;
}

.post .domains-tags,
.post .completed-panel {
  display: none;
  position: absolute;
  background-color: #FFF;
  border: 1px solid #eee;
  z-index: 10;
  padding: 10px;
  border-radius: 0 0 3px 3px;
  width: 100%;
  box-sizing: border-box;
  top: 32px;
}

.post .domains-tags .tag {
  cursor: pointer;
  color: $blue;
}

.post .domains-tags > span.current {
  color: #FFF;
  background-color: #2c5d8d;
  background-image: linear-gradient(#7ba9d6, #2c5d8d);
  border-color: #689cd0;
}

.post .completed-panel {
  padding: 0;
  overflow: auto;
  left: 0;
}

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

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

/* end add article */

/* start home */
.tab-current {
  background-color: #fafafa;
  border-bottom: 1px solid #eee;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
}

.tab-current > span {
  color: #767676;
}

.tab {
  list-style: none;
}

.tab > li a {
  padding: 5px 0;
  display: block;
}

.home-invisible {
  margin: 10px 0;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 10px;
}

.home-account {
  &__captch {
    position: relative;
    img {
      position: absolute;
      height: 31px;
      top: 39px;
      right: 1px;
      border-radius: 0 3px 3px 0;
    }
  }
}

/* end home */

/* start notifications */
.notification-tab {
  a:hover {
    text-decoration: none;
  }
  a {
    display: inline-block !important;
  }
}

.notification .read {
  background-color: #FAFAFA;
  opacity: 0.5;
}

.notification li {
  background-color: #F8F8FF;
  line-height: 21px;
}

.notification li:last-child {
  border-bottom-width: 0;
}

/* end notifications */

/* start follow */
.follow li {
  position: relative;
  border-bottom: 1px solid #EEEEEE;
  padding: 10px;
  list-style: none;
  box-sizing: border-box;
}

.follow .user-online {
  position: absolute;
  left: 45px;
  top: 45px;
}

/* end follow */

/* start admin */
.admin .avatar {
  height: 17px;
  width: 17px;
}

.admin .tags {
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: bottom;
}

.admin .form input[type=text],
.admin .form input[type=number] {
  width: 30%;
  margin-right: 10px;
}

/* end admin */

/* start points */
.points {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

.points td {
  border-bottom: 1px solid #CCCCCC;
}

.points .even {
  background-color: #F7F7F7;
}

.points .date {
  width: 75px;
  padding: 10px;
}

.points .name {
  word-break: break-all;
}

.points .type {
  width: 60px;
  padding: 0 10px;
}

.points .sum {
  text-align: center;
  width: 35px;
  padding: 0 10px;
  color: #f37800;
  font-weight: 700;
}

.points .sum.plus {
  color: #53a000;
}

.points .balance {
  width: 40px;
  padding: 0 10px;
}

/* end points */

/* start settings */
#avatarUpload {
  overflow: hidden;
}

.settings-avatar .btn {
  margin-top: 0;
}

.settings-avatar .avatar-big {
  display: block;
  margin-bottom: 10px;
}

.settings-avatar li {
  margin-left: 20px;
}

/* end settings */
/* start 403 */
.error-403 > .slogan {
  padding-top: 20px;
  background-color: #fafafa;
  border-bottom: 1px solid #eee;
}

.error-403 .slogan-border {
  margin: 20px 0 20px;
  color: #767676;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 3px;
  border-bottom: 1px solid #eee;
  width: 100%;
}

.error-403 .slogan-register {
  padding-top: 20px;
  text-align: center;
}

.error-403 .slogan-text {
  margin: 20px 10px;
}

/* end 403 */
/* start editor */
.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;
    }
  }
}

.wrapper .editor-toolbar {
  border: 1px solid #ccc;

  & > a:last-child {
    display: none;
  }
}

/* end editor */

/* start other */
.link-forge {
  .link-forge-upload {
    margin: 10px 0;

    input[type=text] {
      width: 74%;
      margin-right: 20px;
    }
  }

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

/* end other */

.breezemoon__btn {
  position: absolute;
  top: 9px;
  right: 10px;
  border-radius: 0 3px 3px 0 !important;
}

@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2),
only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3),
only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
  .footer {
    padding-bottom: 22px;
  }
}



.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;
}

/* index chatroom */
#chatRoomIndex li img {
  max-width:150px;
  max-height:150px;
}

.chat-room li img {
  max-height: 400px;
  max-width: 600px;
}

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


.chats__users {
  overflow:auto
}
.chats__users::-webkit-scrollbar {
  display:none
}
.chats__input {
  margin-bottom:15px
}
.chats__editor {
  min-height:160px
}
.chats__content {
  background-color:var(--background-secondary-color);
  border-radius:5px;
  padding:8px 15px;
  margin:0 53px 15px 15px;
  overflow:initial;
  max-width:85%;
  box-sizing:border-box
}
.chats__content .vditor-reset::-webkit-scrollbar {
  display:none
}
.chats__content .language-echarts,.chats__content .language-mermaid,.chats__content .language-mindmap,.chats__content iframe {
  width:510px
}
.chats__content .vditor-reset img:not(.emoji) {
  max-width:150px;
  max-height:300px;
}
.chats__arrow {
  position:relative
}
.chats__arrow:after {
  position:absolute;
  width:0;
  height:0;
  content:"";
  top:5px;
  left:-25px;
  border:5px solid transparent;
  border-right:5px solid var(--background-secondary-color)
}
.chats__item .avatar {
  margin-right:0;
}
.chats__item--me {
  flex-direction:row-reverse
}
.chats__item--me .chats__content {
  margin:0 15px 15px 53px;
  background-color:rgba(98,162,240,.1)
}
.chats__item--me .chats__content .chats__arrow:after {
  right:-25px;
  border-left-color:rgba(98,162,240,.1);
  left:auto;
  border-right-color:transparent
}

.ft__fade {
  color: var(--text-fade-color);
}

.ft__smaller {
  font-size: 12px;
}

.chats__content .ft__smaller {
  font-weight: 500;
  font-size: 13px;
}

.fn__right {
  float: right;
}

.action__item {
  line-height: 18px;
  height: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  transition: all .15s ease-in-out;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.action__item, .comment__titles span {
  font-size: 12px;
  color: var(--layer-color);
}

.fn__flex-center {
  -ms-grid-row-align: center;
  align-self: center;
}

.details {
  display: inline-block;
  position: relative;
}

.details>summary {
  list-style: none;
}

.fn__layer {
  display: block;
  padding: 5px 0;
  -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);
  position: absolute;
  background-color: var(--layer-background-color);
  line-height: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.6);
  border: 1px solid var(--layer-border-color);
  border-radius: 3px;
  min-width: 180px;
  right: 0;
  z-index: 100;
}

.action__item details-menu {
  right: -15px;
  top: 20px;
}

.details>summary {
  list-style:none
}

.details>summary::-webkit-details-marker,.details>summary:before {
  display:none
}

.details>summary:focus {
  outline:none
}

.details:not([open])>:not(summary) {
  display:none
}

.details details-menu:after,.details details-menu:before {
  top:-14px;
  right:12px;
  left:auto;
  position:absolute;
  border:7px solid transparent;
  border-bottom:7px solid var(--layer-background-color);
  content:" "
}

.details details-menu:before {
  border-width:8px;
  border-bottom-color:var(--layer-border-color);
  top:-16px;
  right:11px
}

.fn__layer .item {
  display: block;
  text-shadow: 0 1px 0 var(--layer-background-color);
  position: relative;
  padding: 5px 10px;
  color: var(--layer-color);
  font-weight: 400;
  width: 100%;
  box-sizing: border-box;
  word-break: break-all;
}

.fn__layer .item--current, .fn__layer .item:hover {
  text-decoration: none;
  background-color: var(--layer-hover-background-color);
  color: var(--layer-hover-color)!important;
  text-shadow: none;
}

.fn__layer a:hover {
  text-decoration: underline;
}

.chats__item--me {
  flex-direction: row-reverse;
}

/*@keyframes swim {
  0% {
    transform: translate(0,0) rotateY(0deg);
  }
  10% {
    transform: translate(0,0) rotateY(0deg);
  }
  27% {
    transform: translate(20px,0) rotateY(0deg);
  }
  36% {
    transform: translate(30px,5px) rotate(20deg);
  }
  42% {
    transform: translate(35px,0) rotate(0deg);
  }
  45% {
    transform: translate(40px,0) rotateY(0deg);
  }
  47% {
    transform: translate(40px,-5px) rotate(-20deg);
  }
  50% {
    transform: translate(40px,-5px) rotate(0deg);
  }
  65% {
    transform: translate(40px,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;
}*/

.chats__content .vditor-reset{
  overflow: visible;
}

.hongbao__item {
  position: relative;
  background-color: var(--layer-background-color);
  color: var(--layer-color);
  cursor: pointer;
  padding: 7px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  margin: 3px 5px 8px 3px
}

.hongbao__item:hover {
  box-shadow: 0 0 3px rgba(0,0,0,.13),0 3px 6px rgba(0,0,0,.26)
}

.hongbao__icon {
  height: 50px!important;
  width: 50px!important;
  margin-right: 7px
}

.hongbao__count {
  font-size: 24px;
  margin: 10px 0
}


.opened .hongbao__finger_guessing{
  display: none;
}

.hongbao__finger_guessing_icon{
  position: absolute;
  right: -25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: .2s;
}
.hongbao__finger_guessing_icon:hover{
  border-color:#5c1151;
}

.hongbao__finger_guessing_icon:nth-child(1){
  top: -25px;
  background: url("../images/redpacket/gesture/rock.png") no-repeat center center;
  background-size: contain;
}
.hongbao__finger_guessing_icon:nth-child(2){
  top: 15px;
  right: -50px;
  background: url("../images/redpacket/gesture/scissors.png") no-repeat center center;
  background-size: contain;
}
.hongbao__finger_guessing_icon:nth-child(3){
  top: 55px;
  background: url("../images/redpacket/gesture/paper.png") no-repeat center center;
  background-size: contain;
}

.hide-list {
  --border-color: #d1d5da;
  --second-color: rgba(88, 96, 105, 0.36);
  --panel-background-color: #fff;
  --panel-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  --toolbar-background-color: #f6f8fa;
  --toolbar-icon-color: #586069;
  --toolbar-icon-hover-color: #4285f4;
  --toolbar-height: 35px;
  --toolbar-divider-margin-top: 8px;
  --textarea-background-color: #fafbfc;
  --textarea-text-color: #24292e;
  --resize-icon-color: var(--toolbar-icon-color);
  --resize-background-color: var(--toolbar-background-color);
  --resize-hover-icon-color: var(--panel-background-color);
  --resize-hover-background-color: var(--toolbar-icon-hover-color);
  --count-background-color: rgba(27, 31, 35, .05);
  --heading-border-color: #eaecef;
  --blockquote-color: #6a737d;
  --ir-heading-color: #660e7a;
  --ir-title-color: #808080;
  --ir-bi-color: #0033b3;
  --ir-link-color: #008000;
  --ir-bracket-color: #0000ff;
  --ir-paren-color: #008000;
  background-color: var(--panel-background-color);
  position: absolute;
  box-shadow: var(--panel-shadow);
  border-radius: 3px;
  padding: 5px;
  z-index: 3;
  font-size: 14px;
  display: none;
  user-select: none;
  max-width: 320px;
  min-width: 80px;
  animation-duration: .15s;
  animation-name: scale-in;
  animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
  color: var(--toolbar-icon-color);
}

.hide-list-emojis {
  display: inline-block;
  overflow: auto;
}

.hide-list-emojis button {
  cursor: pointer;
  border-radius: 3px;
  float: left;
  height: 72px;
  width: 72px;
  text-align: center;
  line-height: 26px;
  padding: 3px;
  box-sizing: border-box;
  font-size: 16px;
  transition: all 0.15s ease-in-out;
  border: 0;
  margin: 0;
  background-color: transparent;
  overflow: hidden
}

.hide-list-emojis__tail {
  margin-top: 5px;
  font-size: 12px;
  color: var(--toolbar-icon-color);
  display: flex;
}

.hide-list-emojis__tail a {
  text-decoration: none;
  color: var(--toolbar-icon-color);
}

.hide-list-emojis__tail a:hover {
  color: var(--toolbar-icon-hover-color);
  cursor: pointer;
  text-decoration: none;
}

.hide-list-emojis__tip {
  flex: 1;
  min-width: 1px;
  width: 200px;
  margin-right: 10px;
  color: var(--toolbar-icon-color);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.hide-list-emojis button:hover {
  text-decoration: none;
  border-color: rgba(0,0,0,0.38);
  background-color: #eee
}

.hide-list-emojis button:active {
  background-color: rgba(0,0,0,0.38);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05) inset;
}

.showList {
  display: block;
}

.divX {
  text-align: right;
  cursor: pointer;
  height: 15px;
}

.mobile-head{
  box-shadow: 0 1px 2px #e2e2e2;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20
}


.index-top__nav{
  color: #000;
  display: flex;
  background-color: #f6f8fa;

  .item--current{
    border-bottom-color: #000;
    color: #000;
  }
  a{
    border-bottom: 2px solid transparent;
    flex: 1;
    line-height: 34px;
    text-align: center;
    color: #616161;
  }
}

.list__item{
  list-style: none;
  margin-bottom: 10px;
  padding: 3px 5px 9px 5px;
  font-family: "HarmonyOS",Helvetica Neue,Luxi Sans,DejaVu Sans,Hiragino Sans GB,Microsoft Yahei,sans-serif,Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
  border-bottom: 1px solid #eee;

  :last-child{
    margin-bottom: 0
  }

}

.list__item--stick {
  background-color: rgba(98,162,240,.1)!important
}


.list__title {
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;

  a{
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--text-color);
    display: -webkit-box
  }

  a[disabled]{
    color: var(--text-fade-color)
  }

  .list__title a{
    font-size: 16px;
    line-height: 20px;
    max-height: 40px
  }

  svg{
    -ms-grid-row-align: center;
    align-self: center;
    flex-shrink: 0;
    height: 18px;
    margin-right: 5px;
    width: 18px
  }

}
.list__title--compact {
  margin-top: 4px;
  a:visited {
    color: #999
  }
}

.list__meta {
  color: var(--text-fade-color);
  font-size: 12px;
  line-height: 18px
}

.fn__flex-inline {
  align-items: center;
  display: inline-flex
}

.ft__gray {
  color: var(--text-gray-color)
}

.ft__level1 {
  color: #fc0
}

.list-avatar {
  background-color: rgba(0,0,0,.02);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 12px;
  height: 24px;
  overflow: hidden;
  width: 24px
}

.fn__5 {
  height: 5px
}

.list__img {
  margin-left: 5px;
  max-height: 95px;
  overflow: hidden;
  width: 30%;

  img {
    border-radius: 3px;
    width: 100%
  }

}

.list__img--space {
  margin-bottom: 5px
}

.list__content {
  word-wrap: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--text-color);
  display: -webkit-box;
  line-height: 20px;
  max-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  :visited {
    color: #999
  }
}

.list__tag {
  color: var(--layer-color);
  display: inline-block;
  font-size: 12px;
  line-height: 20px;
  margin-top: 5px
}

.module__title{
  font-size: 14px;
  font-weight: 400;
  line-height: 24px
}

.fn__clear:after,.fn__clear:before {
  content: "";
  display: table
}

.fn__clear:after {
  clear: both
}

.module_new{
  line-height: 16px;
  padding: 0px 10px 8px 10px;
}

.tags{
  background-color: var(--layer-background-color);
  box-shadow: 0 1px 2px var(--layer-border-color);
  padding: 10px 0 0 10px;
  .tag {
    background-color: var(--background-secondary-color);
    border-radius: 3px;
    color: var(--layer-color);
    float: left;
    line-height: 14px;
    margin: 0 10px 10px 0;
    padding: 5px;
    word-break: keep-all
  }
}

.tags .tag img,.tags .tag svg {
  float: left;
  height: 14px;
  margin-right: 5px;
  width: 14px
}

.menu {
  background-color: var(--layer-background-color);
  box-shadow: 0 1px 2px var(--layer-border-color);
  padding: 0 10px
}
.menu__item {
  word-wrap: break-word;
  border-bottom: 1px solid var(--layer-border-color);
  list-style: none;
  padding: 10px 0;
  word-break: break-all;

  .title{
    color: #767676;
  }
}

.menu__item--last,.menu__item:last-child {
  border-bottom-width: 0
}

.module__body {
  background-color: var(--layer-background-color)!important;
  box-shadow: 0 1px 2px var(--layer-border-color);
  box-sizing: border-box;
  padding: 10px;
  width: 100%
}

.avatar {
  background-color: rgba(0,0,0,.02);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 12px;
  height: 24px;
  overflow: hidden;
  width: 24px
}

.avatar--index {
  margin-bottom: 5px
}

.recent__nav{
  line-height: 16px;
  padding: 5px 10px;
  overflow: auto;
  background-color: #f6f6f6;
  white-space: nowrap;

  .recent__nav-item{
    background-color: var(--background-secondary-color);
    border: 0;
    border-radius: 3px;
    display: inline-block;
    line-height: 14px;
    padding: 5px 10px;
    text-align: center;
    font-size: 12px;
    flex: 1;
    min-width: 1px;
    color:#4285f4;
  }

  .recent__nav-check{
    color: var(--text-gray-color)!important;
  }

}

.TGIF__item {
  background-color: var(--layer-background-color);
  color: var(--layer-color);
  cursor: default;
  padding: 10px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  margin: 0px 5px 10px 5px;
}

#liveliness{
  height: 1px;
  background: red;
  width: 0;
}

.main {
  margin: 10px 5px 5px 5px;
  background-color: var(--layer-background-color);
  box-shadow: 0 1px 2px var(--layer-border-color);
  padding: 5px 5px 20px 5px;
}

// 音乐播放器
#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: 430px;
    max-width: 1300px;
    display: flex;
    padding: 5px 0;
    .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{
      width: 100px;
      height: 106px;
      background: #fff;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      .music-title{
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        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: 120px;
      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: -200px;
  left: 0;
  transition: .3s;
  width: 80%;
  height: 200px;
  min-width: 430px;
  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;
        }
      }
    }
  }
}

.file__items {
  margin-bottom: 8px
}

.file__items .item {
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  box-sizing: border-box;
  color: var(--text-gray-color);
  float: left;
  height: 222px;
  margin: 8px 0 0 8px;
  overflow: hidden;
  position: relative;
  width: 259px
}

.file__items .item__img {
  background-position: 50%;
  background-size: contain;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

.file__items .item--selected,.file__items .item:hover {
  box-shadow: var(--shadow-layer)
}

.file__items .item--selected .item__info,.file__items .item:hover .item__info {
  top: 0
}

.file__items .item--selected .item__info {
  background-color: var(--layer-hover-background-color)
}

.file__items .item--file {
  align-items: center;
  padding: 8px
}

.file__items .item--file svg {
  color: var(--text-fade-color);
  height: 100px;
  width: 100px
}

.file__items .item__info {
  background-color: rgba(0,0,0,.86);
  box-sizing: border-box;
  color: #fff;
  height: 100%;
  overflow: hidden;
  padding: 10px;
  position: absolute;
  top: 100%;
  transition: all .15s ease-in-out;
  width: 100%;
  word-break: break-all
}

.file__items .item__info .red {
  margin-top: 8px;
  width: 100%
}

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

.article-statement{
  width: auto;
  color: #0f8cee;
  background-color: #e3f9fd;
  border-radius: 12px;
  padding: 4px 8px;
  margin: 5px auto;
  font-weight: bold;
}