body {
  padding-top: 48px;
  padding-right: 48px;
  padding-left: 48px;
}
#app_frontend {
  display: block;
  box-sizing: unset;
}
*,
*::before,
*::after {
  box-sizing: initial;
}
.chap {
  /*margin-top: 49px;*/
}
.cha-header {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  /*height: 32px;*/
  padding: 8px 0;
  transition: all .5s;
}
.cha-header-in {
  padding: 0 8px;
}
.cha-header .g_logo {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}
.cha-header .g_logo img {
  display: block;
  width: 32px;
  height: 32px;
}
.cha-hd-sd {
  margin-right: 80px;
}
.cha-hd-mn {
  line-height: 31px;
  max-width: 100%;
  vertical-align: top;
}
.cha-hd-progress {
  line-height: 16px;
  height: 16px;
  margin: 8px 0 8px 1em;
  padding-left: 1em;
  border-left: 1px solid #ccc;
  /*color: #FFFFFF;*/
  color: var(--header-chap-text-color);
}
.cha-hd-mn-text a {
  max-width: 320px;
  color: var(--header-chap-text-color);
}
.cha-hd-mn-text .j_chapName{
  color: var(--header-chap-text-color);
}
.cha-header .bt {
  margin-right: 9px;
  margin-left: 6px;
}
.g_bt_add_lib {
  line-height: 16px;
  min-width: 9em;
  height: 32px;
  padding: 7px 16px;
}
.g_bt_add_lib ._removeLib {
  display: none;
}
.g_bt_add_lib .btn_text,
.g_bt_add_lib svg {
  font-size: 12px;
}
.g_bt_add_lib ._addLib {
  display: block;
}
.cha-header .g_hd_link_icon {
  width: 32px;
  height: 32px;
}
.cha-header .g_hd_link_icon svg {
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
}
.cha-header .g_hd_link_icon + .g_hd_link_icon {
  margin-left: 8px;
}
.cha-header .g_user {
  padding-top: 0;
  padding-bottom: 0;
}
.cha-header .g_user ._hd {
  width: 32px;
  height: 32px;
}
.cha-header .g_user ._bd {
  right: -14px;
  margin-top: 10px;
}
.cha-fly {
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  display: table;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 48px;
  height: 100%;
  padding-top: 60px;
  text-align: center;
  background-color: #212531;
}
.cha-fly-in {
  display: table-cell;
  vertical-align: middle;
}
.cha-tools a {
  font-size: 16px;
  line-height: 46px;
  position: relative;
  display: block;
  height: 46px;
  margin-bottom: -1px;
  transition: background-color 0.2s, color 0.2s;
  color: #83848f;
  border-top: 1px solid #171922;
  border-bottom: 1px solid #171922;
}
.cha-tools a.mobile {
  display: none;
}
.cha-tools a:hover {
  cursor: pointer;
}
.cha-tools svg {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -0.5em 0 0 -0.5em;
  transition: transform 0.3s;
}
.cha-tools-reviews i {
  font-size: 12px;
  line-height: 1;
  position: absolute;
  top: 5px;
  right: 0;
  width: 2em;
}
.cha-tools a._on,
.cha-tools a:hover {
  text-decoration: none;
  color: #fff;
  background-color: #4c5fe2;
}
.cha-page.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.cha-page {
  position: relative;
  max-width: 802px;
  margin: 0 auto;
  -webkit-transition: padding-right 0.15s, max-width 0.15s;
  transition: padding-right 0.15s, max-width 0.15s;
  border: 1px solid #e5e5e5;
  background-color: #fff;
}
.cha-page-in {
  font-family: Merriweather, serif;
  font-size: 18px;
  padding: 1px 6% 30px;
  -webkit-transition: padding 0.15s;
  transition: padding 0.15s;
  border-bottom: none 0;
}
/*._font2 .chapter_content, ._font2 .j_contentWrap, ._font2 .chapter-content, ._font2 .chapter-content .cha-tit h3, ._font2 .chapter-content .cha-words {*/
/*  font-family: Merriweather, serif;*/
/*}*/
.cha-info {
  padding-top: 48px;
}
.cha-info .thumb-wrap {
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.5);
}
.cha-info .g_thumb,
.cha-info .g_thumb img {
  width: 100%;
  height: 100%;
}
.cha-info .thumb-wrap {
  width: 210px;
  height: 280px;
}
.cha-info h2 {
  line-height: 40px;
  max-width: 20em;
  max-height: 80px;
}
#comicPageContainer .j_bottom_comment_area
{
  padding: 0px 50px;
}
.cha-hr {
  font-size: 22px;
  position: relative;
  overflow: hidden;
  height: 24px;
  margin: 6%;
  text-align: center;
  color: #d7d8e0;
  padding-bottom: 24px;
}
.cha-hr:before {
  left: 50%;
  margin-left: 25px;
}
.cha-hr:after,
.cha-hr:before {
  position: absolute;
  top: 50%;
  width: 100%;
  content: '';
  border-top: 1px solid;
}
.cha-hr:after {
  right: 50%;
  margin-right: 25px;
}
.cha-tit {
  margin-top: 30px;
  margin-bottom: 30px;
}
.cha-tit h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 14px;
}
.cha-content {
  color: #000;
}
.cha-words {
  line-height: 1.8;
}
.cha-words p {
  text-transform: none;
}
.cha-words i, .cha-words em{
  font-style: italic;
}
.cha-words strong, .cha-words strong em{

  font-weight: bold;
}
.cha-words blockquote {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 40px;
  margin-inline-end: 40px;
}
.cha-words p + p {
  margin-top: 12px;
}
.cha-words h1 {
  font-size: 1.6rem;
  line-height: 28px;
}

.cha-words h2 {
  font-size: 1.3rem;
  line-height: 23px;
}

.cha-words h3,
.cha-words h4 {
  font-size: 1.2rem;
  line-height: 18px;
}

.cha-words h5,
.cha-words h6 {
  font-size: 1rem;
  line-height: 17px;
}
.cha-words h1, .cha-words h2, .cha-words h3, .cha-words h5 {
  font-weight: bold;
}
/*comic*/
.m-wrap {
  max-width: 802px;
  /*padding-top: 48px;*/
  transition: padding-right 150ms;
}
.m-wrap,
#content,
#content .content,
body,
html {
  height: auto;
}
.m-body {
  /*border: 1px solid #d7d8e0;*/
  background-color: #fff;
}
.m-body {
  min-height: 100vh;
}
.g_loading._fix_loading {
  position: fixed;
  z-index: 200;
  top: 50%;
  left: 50%;
  margin-top: -16px;
  margin-left: -16px;
}
.comic-img-wrap {
  position: relative;
  /*overflow: hidden;*/
  /*padding-top: 30%;*/
  /*background: #f5f5fa url(/images/logo2x.44baf.png) 50% 50% no-repeat;*/
  background-size: 160px auto;
}
.comic-img-wrap._show_img img {
  opacity: 1;
}
/*.comic-img-wrap img {*/
/*  width: 100%;*/
/*  height: auto;*/
/*  transition: all .5s ease;*/
/*  !*opacity: 0;*!*/
/*}*/
.comic-img-wrap img {
  /*position: absolute;*/
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
  opacity: 0;
}
.comic-img-wrap._loading img {
  visibility: hidden;
}
.cha-modal._on {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  pointer-events: auto;
}
.g_mod {
  font-size: 14px;
  position: fixed;
  z-index: 200;
  top: 20%;
  right: 0;
  left: 0;
  visibility: hidden;
  width: 598px;
  max-width: 96%;
  min-height: 100px;
  margin: 16px 0;
  padding: 32px 0 48px;
  transform: scale(0.8);
  opacity: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.2);
}
.cha-modal ._close {
  top: 28px;
  right: 16px;
  position: absolute;
}
.cha-modal .g_mod_hd {
  padding: 0;
}

.cha-modal .g_mod_hd {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cha-modal-bd._scrolling {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.cha-modal-bd {
  position: absolute;
  top: 70px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 0 24px;
}
.catalog-chapter {
  margin-bottom: 24px;
}
.catalog-chapter ._tag {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  color: #b7b7b7;
}
.catalog-chapter ._tag.hide{
  display: none;
}
.catalog-chapter ._tag.actve{
  display: block;
}
.catalog-chapter li {
  border-bottom: 1px solid #d3d3d3;
}
.catalog-chapter .time {
  margin-left: 32px;
  margin-bottom: 12px;
}
.catalog-chapter a._on {
  color: #3b66f5;
}
.catalog-chapter a {
  color: #000;
  /*height: 20px;*/
  padding: 10px 20px 10px 0;
}
.catalog-chapter li i {
  float: left;
  overflow: hidden;
  min-width: 1em;
  max-width: 5em;
  margin-right: 1em;
  text-align: left;
}
.catalog-chapter li strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cha-modal {
  position: fixed;
  z-index: 100;
  top: 32px;
  bottom: 0;
  left: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 400px;
  margin-bottom: 0;
  margin-left: 202px;
  padding: 24px;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  pointer-events: none;
  border-width: 0 1px 0 1px;
  border-style: solid;
  border-color: #e5e5e5;
  background-color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
}
._sd_on .m-wrap {
  padding-right: 396px;
}
._sd_on .cha-page {
  padding-right: 400px;
}
.cha-modal-review .cha-modal-bd {
  bottom: 59px;
}
.g_msg_vertical {
  padding: 20px 0;
}
.g_msg_hd {
  font-size: 0;
  line-height: 44px;
  position: relative;
  display: flex;
    align-items: center;
}
.g_msg_hd,
.g_msg_hd a {
  color: #000;
}
.g_msg_hd a {
  display: inline-block;
  margin-right: 8px;
}
.g_msg_vertical .g_msg_hd img {
  position: static;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  vertical-align: middle;
}
.g_msg_hd img {
  position: absolute;
  top: 0;
  left: -60px;
  overflow: hidden;
  width: 44px;
  height: 44px;
  user-select: none;
  border-radius: 100%;
  background-color: #f7f7f7;
}
.g_msg_hd h3 {
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
}
.g_msg_hd .g_label,
.g_msg_hd .g_lv,
.g_msg_hd .i_badge {
  margin-right: 8px;
}
.g_msg_vertical .g_msg_bd {
  margin-bottom: 5px;
}
.g_msg_bd {
  font-size: 16px;
  line-height: 28px;
  position: relative;
  overflow: hidden;
  max-height: 140.6px;
}
.g_good strong {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: top;
}
.g_good strong svg:first-child {
  visibility: hidden;
  -webkit-transform: scale(2);
  transform: scale(2);
  opacity: 0;
}
.g_msg_tool + .g_msg_tool {
  margin-left: 24px;
}
.g_msg_tool {
  font-size: 16px;
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  -webkit-user-select: none;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  color: #83848f;
  margin-bottom: 0px;
}
.g_good {
  line-height: 20px;
  position: relative;
  width: auto;
}
.g_good span {
  display: inline-block;
  vertical-align: -2px;
}
.g_msg_tool svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
}
.g_good strong svg {
  position: absolute;
  visibility: visible;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}
.g_msg_vertical .g_msg_ft {
  margin-bottom: 0;
}
.g_msg_ft .g_msg_info {
  margin-bottom: 0;
}
.g_msg_info {
  font-size: 0;
  line-height: 20px;
  margin-bottom: 8px;
  color: #83848f;
}
.g_msg_info strong {
  display: inline-block;
  vertical-align: middle;
}
.g_msg_info strong span,
.g_msg_info strong svg {
  font-size: 14px;
}
.g_msg_info strong svg {
  margin-right: 4px;
}
.g_msg_info span {
  vertical-align: middle;
}
.cha-modal .g_mod_hd small {
  font-size: 16px;
  color: inherit;
}
.ui-select-button {
  line-height: 20px;
  display: block;
  height: 20px;
  padding: 13px 27px 13px 15px;
  cursor: pointer;
  -webkit-transition: border-color 0.15s, background-color 0.15s;
  transition: border-color 0.15s, background-color 0.15s;
  color: #000;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  background-color: #fff;
}
.ui-select {
  font-size: 16px;
  position: relative;
  display: inline-block;
  height: 48px;
  animation: fadeIn 0.2s;
  vertical-align: middle;
}
.ui-select-button {
  line-height: 20px;
  display: block;
  height: 20px;
  padding: 13px 27px 13px 15px;
  cursor: pointer;
  -webkit-transition: border-color 0.15s, background-color 0.15s;
  transition: border-color 0.15s, background-color 0.15s;
  color: #000;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  background-color: #fff;
}
.ui-select-text {
  display: block;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ui-select-datalist {
  position: absolute;
  top: 47px;
  right: 0;
  left: 0;
  display: none;
  overflow: auto;
  max-height: 304px;
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 0 0 4px 4px;
  background-color: #fff;
}
.ui-select-datalist-li:hover,
.ui-select-datalist > .selected {
  color: #fff;
  background-color: #3b66f5;
}
.ui-select-datalist-li {
  line-height: 20px;
  display: block;
  overflow: hidden;
  padding: 9px 12px;
  cursor: pointer;
  transition: 0.15s;
  white-space: nowrap;
  text-overflow: ellipsis;
  background-color: #fff;
}
.g_chat_reply {
  max-height: 200px;
  transition: border-top 0.2s;
  border-top: 1px solid #dcdce2;
}
.g_mod_chat_ft {
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
}
.g_chat_reply ._scroller {
  position: relative;
  overflow: auto;
  max-height: 12em;
  -webkit-overflow-scrolling: touch;
}
.cha-modal-review .g_chat_reply ._sub {
  padding-right: 24px;
  padding-left: 24px;
}
.cha-modal-review .g_chat_reply ._sub:focus {
  outline: none;
}
.g_chat_reply ._sub[disabled] {
  pointer-events: none;
  opacity: 0.6;
}
.g_chat_reply ._sub {
  font-size: 20px;
  position: absolute;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  height: 58px;
  padding: 18px 32px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  color: #3b66f5;
  background-color: transparent;
}
.g_chat_reply ._sub i {
  display: none;
}
.cha-modal .g_chat_reply ._user {
  left: 24px;
}
.g_chat_reply ._user {
  font-size: 16px;
  line-height: 1.75;
  position: absolute;
  top: 0;
  left: 32px;
  padding: 0;
  padding-top: 15px;
  color: #7f7f7f;
  background-color: #fff;
}
.cha-modal-review .g_chat_reply textarea {
  padding-left: 24px;
}
.g_chat_reply textarea {
  font-size: 16px;
  line-height: 1.75;
  display: block;
  overflow: hidden;
  width: 100%;
  min-height: 58px;
  padding: 15px 100px 15px 32px;
  -webkit-transition: border 0.3s, box-shadow 0.3s;
  transition: border 0.3s, box-shadow 0.3s;
  border: none;
}

.theme-set-color {
  font-size: 0;
  -webkit-user-select: none;
}
.theme-set-color ._default {
  color: #7c7c7c;
}
.theme-set-color label {
  position: relative;
  display: inline-block;
  margin-right: 20px;
}
.theme-set-color input {
  position: absolute;
  clip: rect(0 0 0 0);
}
.theme-set-color .active strong {
  color: #4c5fe2;
}
.theme-set-color ._default strong {
  background-color: #fff;
}
.theme-set-color ._off,
.theme-set-color ._on,
.theme-set-color strong {
  transition: 0.2s;
}
.theme-set-color strong {
  line-height: 36px;
  position: relative;
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 1px solid;
  border-radius: 50%;
}
.theme-set-color .active ._on {
  visibility: visible;
  transform: scale(1);
  opacity: 1;
}
.theme-set-color .active ._off {
  visibility: hidden;
  transform: scale(0);
  opacity: 0;
}
.theme-set-color ._off,
.theme-set-color ._on {
  font-size: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -0.5em 0 0 -0.5em;
}
.theme-set-color ._on {
  visibility: hidden;
  transform: scale(0);
  opacity: 0;
  color: #4c5fe2;
}
.theme-set-color ._yellow {
  color: #dad0b5;
}
.theme-set-color ._dark {
  color: #161819;
}
.theme-set-color ._dark strong {
  background-color: #191b1c;
}
.theme-set-color ._dark ._off {
  color: #6b6b6b;
}
.theme-set-color ._yellow strong {
  background: #f6edd4 url('/images/icon/color-bg-y.png');
}
.theme-set-font {
  display: block;
}
.theme-set-font ._ari {
  font-family: Arial;
}
.theme-set-font label {
  position: relative;
  display: inline-block;
  margin-right: 20px;
}
.theme-set-font input {
  position: absolute;
  clip: rect(0 0 0 0);
}
.theme-set-font .active strong {
  color: #4c5fe2;
  border-color: #4c5fe2;
}
.theme-set-font strong {
  line-height: 36px;
  display: inline-block;
  height: 36px;
  padding: 0 1em;
  text-align: center;
  border: 1px solid #dcdcdc;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.5);
}
.theme-set-font ._mer {
  font-family: Merriweather, serif;
}
.theme-set-upDown {
  line-height: 36px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 36px;
  text-align: center;
  border: 1px solid #dcdcdc;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.5);
}
.theme-set-upDown:before {
  left: 90px;
  border-left: 1px solid #e5e5e5;
}
.theme-set-upDown:after,
.theme-set-upDown:before {
  position: absolute;
  top: 50%;
  height: 20px;
  margin-top: -10px;
  content: '';
}
.theme-set-upDown:after {
  right: 90px;
  border-right: 1px solid #e5e5e5;
}
.theme-set-upDown ._red {
  left: 0;
}
.theme-set-upDown i {
  font-size: 18px;
  position: relative;
  float: left;
  width: 90px;
  height: 100%;
  cursor: pointer;
}
.theme-set-upDown input {
  font-size: 20px;
  float: left;
  width: 90px;
  height: 100%;
  padding: 8px 0;
  text-align: center;
  pointer-events: none;
  color: #83848f;
  background-color: transparent;
  -webkit-appearance: none;
}
.theme-set-upDown ._add {
  right: 0;
}
.theme-set-upDown i svg {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -0.5em 0 0 -0.5em;
}
.g_good.active strong {
  color: #3b66f5;
}
.g_good.active strong svg {
  visibility: hidden;
  -webkit-transform: scale(2);
  transform: scale(2);
  opacity: 0;
}
.g_good.active strong svg:first-child {
  visibility: visible;
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}
.yellow .cha-header,
.yellow .cha-lst,
.yellow .cha-page,
.yellow body ,
.yellow .m-body
{
  border-color: #d9cfb3;
  background: #f6edd4 url('/images/icon/color-bg-y.png');
  background-size: 48px 48px;
}
.yellow,
.yellow #content {
  background: #f8f1d9 url('/images/icon/color-bg-y.png');
  background-size: 48px 48px;
}
.yellow,
.yellow .cha-modal,
.yellow .g_chat_reply ._user,
.yellow .g_chat_reply textarea {
  background: #f8f1d9 url('/images/icon/color-bg-y.png');
  background-size: 48px 48px;
}
.yellow .cha-modal,
.yellow .g_chat_reply,
.yellow .g_msg + .g_msg,
.yellow .g_msg_quote {
  border-color: #d9cfb3;
}
.yellow .theme-set-font strong,
.yellow .theme-set-upDown {
  border-color: #d9cfb3;
}
.yellow .theme-set-font strong,
.yellow .theme-set-upDown {
  border-color: #d9cfb3;
}
.dark {
  background-color: #000;
}
.dark #content {
  background-color: #000;
}
.dark .m-body {
  color: #83848f;
  border-color: #3c3e47;
  background-color: #1f2129;
}
.dark .theme-set-font .active strong {
  color: #4c5fe2;
  border-color: #4c5fe2;
}
.dark .g_msg_ft,
.dark .g_msg_hd h3 {
  color: #83848f;
}
.dark .g_msg_bd {
  color: #c0c2cc;
}
.dark .cha-modal-review .g_chat_reply textarea {
  color: #c0c2cc;
}
.dark .cha-modal-review .g_chat_reply textarea,
.dark .g_chat_reply ._user {
  background-color: #1f2129;
}
.dark .ui-select-datalist-li {
  color: #83848f;
  background-color: #1f2129;
}
.dark .ui-select-datalist > .selected {
  color: #fff;
  background-color: #6e8ffa;
}
.dark .ui-select-datalist {
  border-color: #3c3e47;
}
.dark .ui-select-button {
  color: #c0c2cc;
  border-color: #3c3e47;
  background-color: transparent;
}
.dark .g_chat_reply ._sub {
  color: #6e8ffa;
}
.dark .g_mod_chat_ft {
  border-top-color: #3c3e47;
  background-color: transparent;
}
.dark .cha-page,
.dark body {
  border-color: #3c3e47;
  background-color: #1f2129;
}
.dark .catalog-chapter a._on {
  color: #6e8ffa;
}
.dark .catalog-chapter a {
  color: #83848f;
}
.dark .cha-page {
  color: #83848f;
}
.dark .cha-content {
  color: #83848f;
}
.dark .cha-hd-mn-text a ,.dark .cha-hd-mn-text .j_chapName,.dark .cha-hd-progress{
  /*color: #c0c2cc;*/
  color: var(--dark-header-chap-text-color);
}

.dark .cha-header .g_hd_link_icon {
  color: #fff;
}
.dark .cha-modal {
  border-color: #3c3e47;
  background-color: #1f2129;
}
.dark .cha-modal .g_mod_hd {
  color: #c0c2cc;
}
.dark .theme-set-font strong {
  color: #c0c2cc;
  border-color: #3c3e47;
  background-color: transparent;
}
.dark .theme-set-upDown {
  color: #c0c2cc;
  border-color: #3c3e47;
  background-color: transparent;
}
.theme-set-color .dark .active strong {
  border-color: #444;
}
.ui-select-datalist-li:hover,
.ui-select-datalist > .selected {
  color: #fff;
  background-color: #3b66f5;
}
.dark .ui-select-datalist-li:hover {
  background-color: #6e8ffa;
}
.dark .cha-header {
  color: #c0c2cc;
  border-bottom-color: #3c3e47;
  background-color: #1f2129;
}
.Merriweather .j_contentWrap, .Merriweather .chapter-content, .Merriweather .chapter-content .cha-tit h3, .Merriweather .chapter-content .cha-words, .Merriweather .chapter-content p, .Merriweather .chapter-content span {
  font-family: Merriweather, serif !important;
}
.Arial .j_contentWrap, .Arial .chapter-content, .Arial .chapter-content .cha-tit h3, .Arial .chapter-content .cha-words, .Arial .chapter-content p, .Arial .chapter-content span {
  font-family: 'Nunito Sans', 'SF Pro Text', 'SF Pro Icons', Roboto,
    'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.active > a.ui-select-button {
  border-radius: 24px 24px 0 0;
}
.active > .ui-select-datalist {
  display: block;
  border-radius: 0 0 24px 24px;
}
.ui-select:hover .ui-select-button,
.ui-select:hover .ui-select-datalist {
  border-color: #ababaf;
}
.g_msg + .g_msg {
  border-top: 1px solid #e5e5e5;
}
.g_chat_reply._focus {
  border-top: 2px solid #4c5fe2;
}
.g_mod .g_msg_quote {
  cursor: auto;
}
.g_msg .g_msg_quote {
  margin-bottom: 12px;
}
.g_msg_quote {
  font-size: 16px;
  line-height: 1.5;
  padding: 12px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
}
blockquote {
  font-style: normal;
  margin: 0;
}
.g_mod .g_msg_quote p {
  color: #83848f;
}
.g_msg_quote ._bd {
  overflow: hidden;
  max-height: 1.5em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.g_msg_quote a {
  color: #1f2129;
}
.ui-select.active {
  z-index: 3;
}
.g_bt_add_lib._loading:after,
.g_bt_add_lib._loading:before {
  background-color: #4c5fe2;
}
.g_bt_add_lib._inLib ._removeLib {
  display: block;
}
.g_bt_add_lib ._removeLib {
  display: none;
}
.g_bt_add_lib._inLib ._addLib {
  display: none;
}
.ui-select-icon {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 20px;
  height: 20px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTQgOSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjOTY5QUIzIiBzdHJva2Utd2lkdGg9IjIiIGQ9Ik0xIDFsNiA2IDYtNiIvPjwvc3ZnPg==);
  background-position: center;
}
.ui-select-button:hover {
  text-decoration: none;
}
.lock-foot .btn_unlock{
  height: 40px;
  padding: 9px 20px;
}
.input_password_chap {
  font-size: 14px;
  display: inline-block;
  box-sizing: border-box;
  width: 224px;
  height: 40px;
  padding: 10px 16px;
  transition: 0.2s;
  color: #000;
  border: 1px solid #d7d8e0;
  border-radius: 100px;
}
.j_bottom_comment_area .view_all_comment {
  text-align: center;
}
.comments-list h4 {
  color: #5a5b66;
}
.comments-list-text {
  display: -webkit-box;
  overflow: hidden;
  max-height: 72px;
  word-wrap: break-word;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.comments-list ._avatar {
  background-color: #bfc9ff;
}
.btn_unlock:hover {
  color: #fff;
}
.j_contentWrap {
  /*min-height: 500px;*/
}
.chapter-content .j_bottom_comment_area {
  padding: 0px 0px;
}
.chapter-content .m-lock {
  min-height: 600px;
}
.chapter-content .m-lock .cha-info{
  padding-top:0px;
}
#comicPageContainer .chapter-content .m-lock .cha-info{
  padding-top:30px;
}
.chapter-content .m-lock .lock-body svg{
  fill: #3661f0;
  cursor: pointer;
  pointer-events: initial;
  padding-left: 5px;
}
.g_mod_confirm ._close {
  position: absolute;
  top: 15px;
  right: 10px;
}
@media screen and (max-width: 1300px) {
  body {
    padding-left: 0;
  }
  ._sd_on .cha-page {
    padding-right: 0;
  }
  .cha-modal {
    right: 48px;
    left: auto;
    margin-left: 0;
    transition: 0.3s;
    transform: translateX(20px);
  }
  ._sd_on .cha-modal._on {
    transform: translateX(0);
  }
  ._sd_on .m-wrap {
    padding-right: 0;
  }
}
@media screen and (max-width: 1248px) {
  html {
    min-width: auto;
  }
}
@media screen and (max-width: 1048px) {
  .bt-lib,
  .g_hd_link {
    display: none;
  }
}
@media screen and (max-width: 549px) {
  .m-body {
    min-height: calc((var(--vh, 1vh) * 100) + 250px);
  }
  .cha-tools a._inLike svg {
    fill: #f3072d;
  }
  .cha-tools a .in_bookmark {
    display: block;
  }
  .cha-tools a .un_bookmark {
    display: none;
  }
  .cha-tools a._inLib .un_bookmark {
    display: block;
  }
  .cha-tools a._inLib .in_bookmark {
    display: none;
  }
  .cha-modal {
    right: 0px;
    transform: translateX(0px);
  }
  .cha-page {
    background: none;
  }
  .cha-header-in {
    display: flex;
    align-items: center;
  }
  .cha-header-in .chapter_progess_header {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .cha-header .g_user {
    display: block;
  }
  .cha-header-in .j_loginWrap {
    margin-left: 8px;
    margin-right: 0px;
  }
  .cha-header-in .j_loginWrap .g_bt_add_lib {
    display: none;
  }
  .cha-hd-progress {
    margin: 8px 0 8px 2px;
    padding-left: 5px;
    font-size: 12px;
    /*color: #999999;*/
  }
  .cha-hd-mn-text {
    color: #999999;
  }
  .cha-hd-mn-text a {
    font-size: 12px;
    /*color: #999999;*/
  }
  .cha-hd-mn-text .j_chapName {
    font-size: 12px;
  }
  .cha-hr {
    margin: 10px 5px;
  }
  .cha-tit {
    margin: 10px 0px;
  }
  .cha-page-in {
    padding: 10px;
  }

  .input_password_chap {
    margin-bottom: 10px;
  }
  .cha-fly {
    bottom: 0px;
    top: unset;
    width: 100%;
    height: auto;
    display: block;
    padding: 0px;
  }
  .cha-fly .cha-fly-in {
    display: block;
    vertical-align: initial;
  }
  .cha-fly .cha-fly-in .cha-tools {
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  .cha-tools a {
    width: 50px;
    height: 60px;
  }
  .cha-tools a.mobile {
    display: block;
  }
  .cha-tools a.mobile:hover {
    background: none;
  }
  .cha-words img {
    width: 100%;
  }
  .cha-modal {
    /*position: absolute;*/
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
    width: unset;
    max-width: unset;
    margin: 0px;
    padding: 10px;
  }
  #modalCatalog.cha-modal .cha-modal-bd {
    max-height: calc(100vh - 40px);
  }
  #modalTheme .cha-modal-bd {
    text-align: center;
  }
  .cha-modal-review .cha-modal-bd {
    position: unset;
    padding: 0px;
    bottom: 0px;
    top: 0px;
    height: 100%;
  }
  .cha-modal-review .cha-modal-bd .j_reply_block {
    /* height: calc(100vh - 256px); */
    height: calc(100% - 168px);
    /*height: 100%;*/
    overflow: scroll;
    padding: 10px 0px;
  }
  .g_mod_chat_ft {
    position: fixed;
    /* top: 0px;
    bottom: unset; */
  }
  .cha-modal .g_mod_hd {
    margin-bottom: 10px;
  }
  .cha-modal .j_chat {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
  }
}
@media screen and (max-width: 448px) {
  body {
    padding-right: 0;
  }
}
@media screen and (max-width: 848px) {
  .cha-page .g_ad_ph {
    left: 0;
    overflow: hidden;
    width: 100%;
    margin-left: 0;
  }
}

/* custom css */
@media screen and (max-width: 549px) {
  body._hide-sticky .cha-header {
    transform: translateY(-50px);
  }
  .cha-fly .cha-fly-in .cha-tools a {
    height: 50px;
  }
  .cha-fly {
    transition: all .3s;
  }
  .cha-fly .cha-fly-in .cha-tools a {
    height: 50px;
    border: none;
  }
  body._hide-sticky .cha-fly {
    transform: translateY(50px);
  }
}

/* Animation */
#content {
  background-color: #eef5fa;
}
#comicPageContainer .chapter-content:hover {
  box-shadow: unset;
}
#comicPageContainer .chapter-content {
  box-shadow: 0 0 24px -18px rgba(69,104,129,.33), 0 0 45px 0 rgba(114,119,160,.12);
  transition: all .3s cubic-bezier(.25,.8,.25,1);
}
.cha-header {
  box-shadow: 0 0 10px rgba(0,0,0,.2);
}
.cha-header-in .cha-hd-sd .add_to_lib {
  background: #d0deff;
}
.cha-header-in .cha-hd-sd .add_to_like {
  background: #fbcdd9;
}
.cha-header-in .cha-hd-sd .bt {
  border: unset;
}
.comic-img-wrap img{
  transition: all .3s ease;
  transform: translate(3px, 3px) scale(1.02);
}
/*.img-preview .comic-img-wrap img[lazy="loading"] {
  background: url(https://fanbl.b-cdn.net/images/search-error@2x.4cd68.png) no-repeat center;
  background-size: 80px 75px;
}
@media screen and (max-width: 960px){
  .img-preview .comic-img-wrap img[lazy="loading"] {
    background-size: 40px 40px;
  }
}*/

/* Lazy sizes */
.comic-img-wrap._show_img img.lazyloaded {
  transform: none;
}

/* for vue lazy load */
/*.comic-img-wrap img[lazy="loaded"] {
  transform: none;
}
.img-preview .comic-img-wrap img[lazy="error"] {
  background: url(/images/icon/404.png) no-repeat center, linear-gradient(45deg,#f5f6fd 0%,#f5f6fd 100%);
  background-size: 150px 150px, auto;
}*/
/* Disable save as image */
#comicPageContainer .chapter-content {
  position: relative;
}
div#comicPageContainer .chapter-content:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
div#comicPageContainer .chapter-content > *:not(.comic-img-wrap) {
  z-index: 2;
  position: relative;
}



.user-links-wrap:before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  margin-left: -20px;
  content: '';
  opacity: .1;
  border-top: 2px solid #000;
}
.user-link {
  display: inline-block;
  width: 30%;
  vertical-align: top;
}
.user-links-wrap {
  padding-top: 56px;
}
