.layout-boxed {
    background: url(../images/boxed-bg.jpg) repeat fixed;
}
.layout-boxed .container {
    max-width: 970px;
}
.layout-boxed .wrapper {
    background-color: #FFF;
    max-width: 970px;
    margin: 0 auto;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
    position: relative;
}
.navbar-default {
    border-radius: 0;
}
.navbar-brand-logo .navbar-brand {
    padding: 0 10px;
}
.navbar-toggle {
    margin: 8px 15px;
}
.navbar-custom-menu, .navbar-custom-menu>ul {
    float: right;
}
.navbar-custom-menu>ul {
    margin-left: 15px;
    margin-top: 0;
}
.navbar-custom-menu>.navbar-nav>li {
    float: right;
    position: relative;
}
.navbar-custom-menu .navbar-nav>li>a {
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
}

h2  {
    font-size: 20px;
}

hr {
    border-color: unset;
    margin-top: 0px;
}

ul {
    list-style: none; 
    padding: 0px; 
    margin: 0px;
}

.list-group-item:first-child {
    border-radius: 0;
}

.about h2 {
    font-size: 24px;
    margin-bottom: 0;
}
.about h6 {
    margin-top: 0px; 
    margin-bottom: 20px;
}

.hotmanga-header i, .listmanga-header i {
    font-size: 15px;
    margin-right: 15px;
    vertical-align: middle;
}

.span3 {
    display: block;
    float: left;
    margin-left: 15px;
    width: 30%;
}

.hot-thumbnails .manga-name {
    left: 15px;
    overflow: hidden;
    position: absolute;
    right: 15px;
    text-overflow: ellipsis;
    top: 15px;
    z-index: 20;
}

.hot-thumbnails .well {
    margin-top: -5px;
    height: auto;
    padding: 0;
    width: 100%;
    line-height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 60px;
}

.hot-thumbnails .well p {
    padding: 10px 10px 0px;
}

@media (max-width:550px) {
    .hot-thumbnails .manga-name { display: none; }
    .hot-thumbnails .well p { font-size: 12px;}
}

.thumbnail {
    margin-bottom: 0;
}

.manga-item {
    display: inline-block;
    margin-bottom: 15px;
    width: 100%;
}

h3.manga-heading {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
}

.manga-heading i {
    margin-right: 15px;
}

.manga-chapter {
    clear: both;
    margin-left: 50px;
    margin-bottom: 2px;
}

.manga-chapter h6 {
    margin: 0;
    padding: 0;
}

.manga-chapter a {
    color: unset;
}

.manga-heading span {
    font-size: 7px;
    margin-left: 15px;
    vertical-align: middle;
    text-transform: uppercase;
}

.manga-footer {
    background-color: #000;
    margin-top: 100px;
    padding: 20px 30px 30px
}

.manga-footer li{
    float: left;
}

.manga-footer li::after {
    content: "|";
    padding: 0 10px;
}

.manga-footer li:last-child:after {
  content: '';
  padding: 0;
}

.manga-list .alpha-link {
    display: inline-block;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1;
}
.manga-list li {
    float: left; 
    width: 50%; 
    padding-right: 20px;
}
.manga-list .separator{
    float: right;
}

.manga-list li:nth-child(even) .separator{
    display: none;
} 

/*-----------------------------------*/
/* Widget Social Buttons */
/*-----------------------------------*/

.follow-counter {
    padding: 16px 2px;
}

.follow-counter {
    color: #fff;
    text-align: center;
    display: block;
    font-weight: 700;
    box-shadow: inset 0 5px 5px -2px rgba(107,60,96,0.2);
}

.widget-social{margin-bottom: 25px;}

.widget-social li{
    float: left;
    width: 33.33333333333333%;
    padding: 0 5px 5px 0;
}
.widget-social li:nth-child(3n) {padding-right: 0;}

.widget-social li > div{
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);

}

.widget-social a{
    display: block;
    height: 60px;
    line-height: 56px;
    text-align: center;
}
.widget-social .social-facebook a{background: #3873ae;}
.widget-social .social-twitter a{background: #62c6f8;}
.widget-social .social-google a{background: #b8382e;}
.widget-social .social-facebook a:hover{background: #4893ce;}
.widget-social .social-twitter a:hover{background: #82e6ff;}
.widget-social .social-google a:hover{background: #d24238;}

.widget-social .social-facebook .follow-counter{background: #3873ae;}
.widget-social .social-twitter .follow-counter{background: #62c6f8;}
.widget-social .social-google .follow-counter{background: #b8382e;}

.widget-social i {
    width: 56px;
    height: 46px;
    margin: 0;
    overflow: hidden;
    text-indent: 200px;
    vertical-align: middle;
    background: url('../images/icons/social-icons2.png') 0 0 no-repeat;
}
.widget-social .social-facebook i{background-position: 0 0;}
.widget-social .social-twitter i{background-position: 0 -46px;}
.widget-social .social-google i{background-position: 0 -184px;}

.widget-social i {
    background-repeat: no-repeat;
    display: inline-block;
    font-style: normal;
    left: 0;
    margin-right: 10px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    top: 0;
}

@media (max-width:767px) {
    .widget-social li{width: 33.33333333333333%;}
    .widget-social li:nth-child(3n) {padding-right: 0;}
}

/*** sorting ***/
.alphabetic-box {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    padding: 10px;
    background-color: #fff;
}

span.alphabetic {
    font-size: 15px;
    padding: 5px;
    display: inline-block;
}

span.alphabetic.disabled {
    color: #ccc;
}

span.alphabetic:hover {
    background-color: #eaeaea;
    cursor: pointer;
}

/** login **/
.login.breadcrumb .item-link {
    width: 48%;
}

.login.breadcrumb li:last-child a {
    float: right;
}

.login.breadcrumb .item-link i {
    margin-right: 5px;
}

#sort-types .btn {
    padding: 0 16px;
}

.list-category li {
    float: left;
    width: 50%;
}

.list-alphabet a {
    padding: 0 3px;
}

.content .thumbnail>img, .search-result .thumbnail>img {
    max-width: inherit;
}

.chapters > li::after {
    clear: both;
    content: "";
    display: block;
}

.chapters > li h5 {
    width: 50%; 
    display: inline-block;
    margin: 0;
}

.chapters > li .action {
    display: inline-block;
    float: right; 
    width: 50%;
}

.volume {
    cursor: pointer;
    display: table;
    margin: 10px 0 0 -10px;
}

/** search **/
.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}
.autocomplete-suggestion {
    padding: 6px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}
.autocomplete-selected {
    background: #F0F0F0;
}
.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

// tags
.tag-links{
    position: relative;
}
.tag-links a {
    background-color: #767676;
    border-radius: 0 2px 2px 0;
    color: #fff;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2727272727;
    margin: 2px 4px 2px 10px;
    padding: 3px 7px;
    position: relative;
}
.tag-links a::before {
    border-top: 10px solid transparent;
    border-right: 8px solid #767676;
    border-bottom: 10px solid transparent;
    content: "";
    height: 0;
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
}
.tag-links a::after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 4px;
    position: absolute;
    top: 8px;
    left: -2px;
    width: 4px;
}

/** comments **/
div.hrule::after {
    background-color: #ececec;
    border-radius: 11px;
    color: #cccccc;
    content: "comments";
    font-size: 12px;
    font-weight: 700;
    height: 21px;
    left: 50%;
    line-height: 21px;
    margin-left: -50px;
    position: absolute;
    text-align: center;
    top: -10px;
    width: 100px;
}
div.hrule {
    background-color: #dddddd;
    height: 1px;
    line-height: 20px;
    margin: 50px 0;
    position: relative;
}

#comments .cancel {
    display: none;
}

section.comments article.comment {
    margin-bottom: 20px;
    position: relative;
}

section.comments article.comment div.content::before {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAARCAYAAABTnsXCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABR0RVh0Q3JlYXRpb24gVGltZQAzLzkvMTQztGkvAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAAIdJREFUSIm90rkNwDAMQ1FlGO+/jzwMUwQOcviQRNu/J/AKipCpKpg9QM0vAAAwEApRAKUoJIz4AhhICNECRCFuxAgQgbgQVoAXYkZ4AR6ICREFWCFDBAuwQLqIWYARpImYDehBqohVgBbkh1gNqEFeiF2AL+RG7AY8IQDkUFWklOoP3VDOWU4aQSUqU7BUOQAAAABJRU5ErkJggg==");
    content: "";
    height: 10px;
    left: 13px;
    position: absolute;
    top: -10px;
    width: 33px;
}
section.comments article.comment div.content {
    background-color: #ffffff;
    border: 1px solid #dadada;
    border-radius: 4px;
    padding: 20px 25px;
    position: relative;
}
section.comments article.comment div.meta {
    height: 60px;
    margin-bottom: 17px;
    position: relative;
}
section.comments article.comment div.meta img.avatar {
    border-radius: 30px;
    height: 60px;
    left: 0;
    position: absolute;
    top: 0;
    width: 60px;
}
section.comments article.comment div.meta span.author {
    color: inherit;
    font-size: 20px;
    font-weight: 700;
    left: 73px;
    line-height: 29px;
    padding: 0 7px;
    position: absolute;
    top: 3px;
}
section.comments article.comment div.meta span.date {
    color: #666666;
    font-size: 14px;
    font-weight: 300;
    left: 80px;
    line-height: 19px;
    position: absolute;
    top: 35px;
}

.reply-comment {
    position: relative;
    padding-left: 100px;
}
.reply-comment::before {
    content: "\f148";
    display: block;
    font-family: FontAwesome;
    font-size: 2em;
    left: 40px;
    position: absolute;
    top: 0;
    transform: scale(1, 1) rotate(90deg);
}

section.comments .actions::after {
    clear: both;
    content: "";
    display: block;
}

/** responsive **/
@media only screen and (max-width: 500px) {
    .chapters > li h5 {
        width: 100%; 
        display: inline-block;
    }

    .chapters > li .action {
        display: inline-block;
        width: 100%;
    }
}

@media only screen and (min-width:768px) {
    .ads-large {
        /*width: 960px;
        height: 90px;*/
    }
}

@media only screen and (max-width: 768px) {
    .ads-sqre1 {
        margin-bottom: 10px;
    }

    .ads-sqre2 {
        float: none !important;
    }

    .ads-large {
        display: block!important;
    }
}

/*
 * Component: Dropdown menus
 * -------------------------
 */
/*Dropdowns in general*/
.navbar-nav > .notifications-menu > .dropdown-menu,
.navbar-nav > .messages-menu > .dropdown-menu,
.navbar-nav > .tasks-menu > .dropdown-menu {
  width: 280px;
  padding: 0 0 0 0;
  margin: 0;
  top: 100%;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li,
.navbar-nav > .messages-menu > .dropdown-menu > li,
.navbar-nav > .tasks-menu > .dropdown-menu > li {
  position: relative;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li.header,
.navbar-nav > .messages-menu > .dropdown-menu > li.header,
.navbar-nav > .tasks-menu > .dropdown-menu > li.header {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background-color: #ffffff;
  padding: 7px 10px;
  border-bottom: 1px solid #f4f4f4;
  color: #444444;
  font-size: 14px;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a,
.navbar-nav > .messages-menu > .dropdown-menu > li.footer > a,
.navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  font-size: 12px;
  background-color: #fff;
  padding: 7px 10px;
  border-bottom: 1px solid #eeeeee;
  color: #444 !important;
  text-align: center;
}
.notificationsCounter {
    position: absolute;
    top: 16px;
    right: 7px;
    text-align: center;
    font-size: 8px;
    padding: 2px 3px;
}
@media (max-width: 991px) {
  .navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a,
  .navbar-nav > .messages-menu > .dropdown-menu > li.footer > a,
  .navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a {
    background: #fff !important;
    color: #444 !important;
  }
}
.navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a:hover,
.navbar-nav > .messages-menu > .dropdown-menu > li.footer > a:hover,
.navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a:hover {
  text-decoration: none;
  font-weight: normal;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu {
  max-height: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: hidden;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
  display: block;
  white-space: nowrap;
  /* Prevent text from breaking */
  border-bottom: 1px solid #f4f4f4;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a:hover,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:hover,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a:hover {
  background: #f4f4f4;
  text-decoration: none;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a {
  color: #444444;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .glyphicon,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .fa,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .ion {
  width: 20px;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a {
  margin: 0;
  padding: 10px 10px;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > div > img {
  margin: auto 10px auto auto;
  width: 40px;
  height: 40px;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 {
  padding: 0;
  margin: 0 0 0 45px;
  color: #444444;
  font-size: 15px;
  position: relative;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 > small {
  color: #999999;
  font-size: 10px;
  position: absolute;
  top: 0;
  right: 0;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > p {
  margin: 0 0 0 45px;
  font-size: 12px;
  color: #888888;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:before,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:after {
  content: " ";
  display: table;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:after {
  clear: both;
}
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
  padding: 10px;
}
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a > h3 {
  font-size: 14px;
  padding: 0;
  margin: 0 0 10px 0;
  color: #666666;
}
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a > .progress {
  padding: 0;
  margin: 0;
}
.navbar-nav > .user-menu > .dropdown-menu {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  padding: 1px 0 0 0;
  border-top-width: 0;
  width: 280px;
}
.navbar-nav > .user-menu > .dropdown-menu,
.navbar-nav > .user-menu > .dropdown-menu > .user-body {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}
.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
  height: 175px;
  padding: 10px;
  text-align: center;
}
.navbar-nav > .user-menu > .dropdown-menu > li.user-header > img {
  z-index: 5;
  height: 90px;
  width: 90px;
  border: 3px solid;
  border-color: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}
.navbar-nav > .user-menu > .dropdown-menu > li.user-header > p {
  z-index: 5;
  color: #fff;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  margin-top: 10px;
}
.navbar-nav > .user-menu > .dropdown-menu > li.user-header > p > small {
  display: block;
  font-size: 12px;
}
.navbar-nav > .user-menu > .dropdown-menu > .user-body {
  padding: 15px;
  border-bottom: 1px solid #f4f4f4;
  border-top: 1px solid #dddddd;
}
.navbar-nav > .user-menu > .dropdown-menu > .user-body:before,
.navbar-nav > .user-menu > .dropdown-menu > .user-body:after {
  content: " ";
  display: table;
}
.navbar-nav > .user-menu > .dropdown-menu > .user-body:after {
  clear: both;
}
.navbar-nav > .user-menu > .dropdown-menu > .user-body a {
  color: #444 !important;
}
@media (max-width: 991px) {
  .navbar-nav > .user-menu > .dropdown-menu > .user-body a {
    background: #fff !important;
    color: #444 !important;
  }
}
.navbar-nav > .user-menu > .dropdown-menu > .user-footer {
  background-color: #f9f9f9;
  padding: 10px;
}
.navbar-nav > .user-menu > .dropdown-menu > .user-footer:before,
.navbar-nav > .user-menu > .dropdown-menu > .user-footer:after {
  content: " ";
  display: table;
}
.navbar-nav > .user-menu > .dropdown-menu > .user-footer:after {
  clear: both;
}
.navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn-default {
  color: #666666;
}
@media (max-width: 991px) {
  .navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn-default:hover {
    background-color: #f9f9f9;
  }
}
.navbar-nav > .user-menu .user-image {
  float: left;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-right: 10px;
  margin-top: -2px;
}
@media (max-width: 767px) {
  .navbar-nav > .user-menu .user-image {
    float: none;
    margin-right: 0;
    margin-top: -8px;
    line-height: 10px;
  }
}
/* Add fade animation to dropdown menus by appending
 the class .animated-dropdown-menu to the .dropdown-menu ul (or ol)*/
.open:not(.dropup) > .animated-dropdown-menu {
  backface-visibility: visible !important;
  -webkit-animation: flipInX 0.7s both;
  -o-animation: flipInX 0.7s both;
  animation: flipInX 0.7s both;
}
@keyframes flipInX {
  0% {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transition-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transition-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  100% {
    transform: perspective(400px);
  }
}
@-webkit-keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
  }
  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  100% {
    -webkit-transform: perspective(400px);
  }
}
/* Fix dropdown menu in navbars */
.navbar-custom-menu > .navbar-nav > li {
  position: relative;
}
.navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
  position: absolute;
  right: 0;
  left: auto;
}
@media (max-width: 991px) {
  .navbar-custom-menu > .navbar-nav {
    float: right;
  }
  .navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
    position: absolute;
    right: 5%;
    left: auto;
    border: 1px solid #ddd;
    background: #fff;
  }
}
@media (max-width: 767px) {
  .navbar-custom-menu {
    position: absolute;
    top: 0;
    right: 74px;
  }
  .navbar-default .navbar-form {
    margin: 0;
    padding: 0;
    border: 0;
    border: 0;
  }
  .navbar-custom-menu .navbar-nav .open .dropdown-menu>li>a {
    color: inherit;
  }
}
.text-red {
  color: #dd4b39 !important;
}
.text-yellow {
  color: #f39c12 !important;
}
.text-blue {
  color: #0073b7 !important;
}
.text-black {
  color: #111111 !important;
}
.text-green {
  color: #00a65a !important;
}

/* Modern default theme refresh */
:root {
  --reader-bg: #f5f7fb;
  --reader-surface: #ffffff;
  --reader-text: #18202f;
  --reader-muted: #687385;
  --reader-border: #dde4ef;
  --reader-accent: #e23d4f;
  --reader-accent-dark: #bf2638;
  --reader-teal: #1f9d8a;
  --reader-ink: #121826;
}

body {
  background: var(--reader-bg);
  color: var(--reader-text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.layout-boxed {
  background: var(--reader-bg);
}

.layout-boxed .container,
.layout-boxed .wrapper {
  max-width: 1180px;
}

.layout-boxed .wrapper {
  background: transparent;
  box-shadow: none;
}

.wrapper > .container {
  padding-top: 28px;
}

.navbar-default {
  background: var(--reader-ink);
  border: 0;
  box-shadow: 0 10px 30px rgba(18, 24, 38, 0.12);
  margin-bottom: 22px;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-nav > li > a,
.navbar-custom-menu .navbar-nav > li > a {
  color: #fff;
}

.navbar-default .navbar-brand {
  font-weight: 700;
  letter-spacing: 0;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-custom-menu .navbar-nav > li > a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.navbar-default .navbar-toggle {
  border-color: rgba(255, 255, 255, 0.22);
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #fff;
}

.navbar-default .navbar-form .form-control {
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  min-width: 240px;
}

.alert-success,
.panel-success,
.panel-default,
.manga-item,
.manganews,
.tag-widget {
  background: var(--reader-surface);
  border: 1px solid var(--reader-border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 34, 55, 0.07);
}

.alert-success {
  border-left: 4px solid var(--reader-teal);
  color: var(--reader-text);
  padding: 26px;
}

.about h2 {
  color: var(--reader-ink);
  font-size: 28px;
  font-weight: 700;
}

.about h6 {
  color: var(--reader-teal);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.about p {
  color: var(--reader-muted);
  font-size: 15px;
  line-height: 1.65;
}

.panel-success > .panel-heading {
  background: #eef8f6;
  border-color: var(--reader-border);
  color: var(--reader-ink);
}

.hotmanga-header,
.listmanga-header {
  color: var(--reader-ink);
  font-size: 22px;
  font-weight: 700;
  margin-top: 22px;
}

.hotmanga-header i,
.listmanga-header i {
  color: var(--reader-accent);
}

hr {
  border-color: var(--reader-border);
  margin-bottom: 22px;
}

.manga-item {
  margin-bottom: 14px;
  padding: 16px 18px;
}

h3.manga-heading {
  font-size: 16px;
  line-height: 1.45;
}

.manga-heading a,
.manga-chapter a,
.chart-title {
  color: var(--reader-ink);
}

.manga-heading a:hover,
.manga-chapter a:hover,
.chart-title:hover {
  color: var(--reader-accent);
  text-decoration: none;
}

.manga-heading i {
  color: var(--reader-teal);
}

.manga-chapter {
  margin-left: 32px;
  margin-top: 8px;
}

.manga-chapter h6 {
  font-size: 14px;
  line-height: 1.5;
}

.label-danger,
.label-warning {
  background-color: var(--reader-accent);
  border-radius: 4px;
  font-size: 9px;
  letter-spacing: 0;
  padding: 4px 6px;
}

.hot-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.span3 {
  float: none;
  margin-left: 0;
  width: calc(33.333% - 12px);
}

.thumbnail {
  border: 1px solid var(--reader-border);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
}

.hot-thumbnails .well {
  background: var(--reader-surface);
  border: 1px solid var(--reader-border);
  border-radius: 0 0 8px 8px;
  box-shadow: none;
  color: var(--reader-muted);
}

.manga-empty-state {
  background: var(--reader-surface);
  border: 1px dashed #c9d4e5;
  border-radius: 8px;
  color: var(--reader-muted);
  margin: 18px 0 36px;
  padding: 42px 24px;
  text-align: center;
}

.manga-empty-state i {
  color: var(--reader-accent);
  display: block;
  font-size: 28px;
  margin-bottom: 12px;
}

.manga-empty-state p {
  margin: 0;
}

.manga-footer {
  background: var(--reader-ink);
  border-radius: 8px 8px 0 0;
  color: #cbd3df;
  margin-top: 70px;
}

.manga-footer a {
  color: #fff;
}

.manga-footer a:hover {
  color: #ffcf6f;
  text-decoration: none;
}

@media (max-width: 767px) {
  .wrapper > .container {
    padding-top: 18px;
  }

  .navbar-custom-menu {
    right: 70px;
  }

  .span3 {
    width: 100%;
  }

  .manga-item {
    padding: 14px;
  }

  .manga-chapter {
    margin-left: 0;
  }

  .manga-footer ul {
    float: none !important;
    margin-bottom: 12px;
  }
}

/* Asura-inspired dark reader theme */
:root {
  --asura-bg: #100e17;
  --asura-panel: #1b1823;
  --asura-panel-2: #211d2a;
  --asura-line: #302a3d;
  --asura-text: #f7f3ff;
  --asura-muted: #a7a0b8;
  --asura-purple: #9747ff;
  --asura-purple-2: #b65cff;
  --asura-gold: #ffc857;
  --asura-red: #ff4768;
}

body,
.layout-boxed {
  background: var(--asura-bg);
  color: var(--asura-text);
}

.layout-boxed .wrapper,
.wrapper {
  background: var(--asura-bg);
}

.wrapper > .container {
  padding-top: 14px;
}

.navbar-default {
  background: linear-gradient(90deg, #8538e8 0%, #a33fed 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
  margin-bottom: 0;
}

.navbar-default .navbar-brand {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.navbar-default .navbar-nav > li > a,
.navbar-custom-menu .navbar-nav > li > a {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  min-height: 50px;
}

.navbar-default .navbar-nav > li > a > i.fa,
.navbar-custom-menu .navbar-nav > li > a > i.fa {
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  justify-content: center;
  line-height: 1;
  min-width: 16px;
}

.navbar-default .navbar-nav > li > a .caret,
.navbar-custom-menu .navbar-nav > li > a .caret {
  margin-left: 2px;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > li > a:hover,
.navbar-custom-menu .navbar-nav > li > a:hover {
  background: rgba(18, 14, 27, 0.22);
}

.navbar-default .navbar-form .form-control {
  background: #171320;
  color: #fff;
  min-width: 260px;
}

.navbar-default .navbar-form .form-control::placeholder {
  color: #8f849f;
}

.reader-premium-strip {
  background:
    linear-gradient(90deg, rgba(151, 71, 255, 0.22), rgba(255, 184, 91, 0.12)),
    repeating-linear-gradient(45deg, #15111d 0, #15111d 5px, #191422 5px, #191422 10px);
  border-bottom: 1px solid rgba(151, 71, 255, 0.25);
  color: #fff;
}

.reader-premium-strip .container,
.reader-premium-strip .container-fluid {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 78px;
}

.premium-icon {
  align-items: center;
  background: rgba(151, 71, 255, 0.22);
  border: 1px solid rgba(151, 71, 255, 0.5);
  border-radius: 8px;
  color: var(--asura-gold);
  display: flex;
  flex: 0 0 46px;
  height: 46px;
  justify-content: center;
}

.premium-copy {
  flex: 1;
  min-width: 0;
}

.premium-copy strong {
  color: var(--asura-gold);
  display: block;
  font-size: 14px;
}

.premium-copy span {
  color: #e2d9f2;
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.premium-action {
  background: linear-gradient(90deg, #7e3cff, #ffb15f);
  border-radius: 8px;
  color: #fff;
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  padding: 10px 18px;
  white-space: nowrap;
}

.premium-action small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 600;
}

.premium-action:hover {
  color: #fff;
  text-decoration: none;
}

.alert-success,
.panel-success,
.panel-default,
.manga-item,
.manganews,
.tag-widget,
.manga-empty-state {
  background: var(--asura-panel);
  border-color: var(--asura-line);
  box-shadow: none;
}

.alert-success {
  border-left-color: var(--asura-purple);
  color: var(--asura-text);
}

.about h2,
.hotmanga-header,
.listmanga-header,
.panel-title,
h3.manga-heading {
  color: var(--asura-text);
}

.about h6 {
  color: var(--asura-gold);
}

.about p,
.manga-empty-state,
.manga-footer,
.manga-chapter h6 {
  color: var(--asura-muted);
}

.panel-success > .panel-heading,
.panel-default > .panel-heading {
  background: var(--asura-panel-2);
  border-color: var(--asura-line);
  color: var(--asura-text);
}

.hotmanga-header,
.listmanga-header {
  font-size: 20px;
  margin-bottom: 12px;
}

.hotmanga-header i,
.listmanga-header i,
.manga-empty-state i {
  color: var(--asura-purple-2);
}

hr {
  border-color: var(--asura-line);
}

.reader-content-column {
  padding-left: 0;
  padding-right: 0;
}

.premium-copy > strong:not(.announcement-title),
.premium-copy > span:not(.announcement-body) {
  display: none;
}

.mangalist {
  background: var(--asura-panel);
  border: 1px solid var(--asura-line);
  border-radius: 8px;
  padding: 8px 18px;
}

.manga-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--asura-line);
  border-radius: 0;
  display: block;
  margin: 0;
  padding: 16px 0;
}

.manga-item:last-child {
  border-bottom: 0;
}

.manga-heading a,
.manga-chapter a,
.chart-title {
  color: var(--asura-text);
}

.manga-heading a:hover,
.manga-chapter a:hover,
.chart-title:hover {
  color: var(--asura-purple-2);
}

.manga-heading i {
  color: var(--asura-gold);
}

.manga-chapter {
  margin-left: 30px;
}

.manga-chapter a {
  font-size: 13px;
}

.label-danger,
.label-warning {
  background: var(--asura-purple);
}

.hot-thumbnails {
  background: #17131f;
  border-bottom: 1px solid var(--asura-line);
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 16px 14px 14px;
}

.span3 {
  flex: 0 0 148px;
  width: 148px;
}

.thumbnail {
  background: #0f0c15 !important;
  border: 0;
  border-radius: 8px;
}

.thumbnail img {
  border-radius: 8px;
  height: 212px;
  object-fit: cover;
  width: 100%;
}

.hot-thumbnails .manga-name {
  bottom: 8px;
  left: 8px;
  right: 8px;
  top: auto;
}

.hot-thumbnails .manga-name .label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-thumbnails .well {
  display: none;
}

.list-group-item {
  background: transparent;
  border-color: var(--asura-line);
  color: var(--asura-muted);
}

.media-heading {
  font-size: 13px;
  line-height: 1.35;
}

.media-left img {
  border-radius: 6px;
}

.tag-links a {
  background: rgba(151, 71, 255, 0.12);
  border: 1px solid rgba(151, 71, 255, 0.32);
  border-radius: 999px;
  color: #d9c6ff;
  display: inline-block;
  font-size: 12px;
  margin: 0 6px 8px 0;
  padding: 5px 10px;
}

.manga-empty-state {
  border-style: solid;
}

.manga-footer {
  background: #1b1820;
  border-top: 1px solid var(--asura-line);
  border-radius: 0;
  margin-top: 44px;
  text-align: center;
}

.manga-footer ul {
  display: inline-block;
  float: none !important;
  margin: 12px 0;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-mark {
  align-items: center;
  background: #2b2338;
  border: 1px solid var(--asura-line);
  border-radius: 50%;
  color: var(--asura-purple-2);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.manga-footer a {
  color: #d9c6ff;
}

.reader-hero-carousel {
  margin: 8px auto 20px;
  max-width: 1240px;
  padding: 0 16px;
}

.reader-hero-shell {
  background:
    radial-gradient(circle at 50% 18%, rgba(171, 95, 255, .16), transparent 34%),
    linear-gradient(180deg, #17151f 0%, #111018 100%);
  border: 1px solid var(--asura-line);
  border-radius: 10px;
  min-height: 262px;
  overflow: hidden;
  position: relative;
}

.reader-hero-shell::before,
.reader-hero-shell::after {
  content: "";
  height: 100%;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 24px;
  z-index: 5;
}

.reader-hero-shell::before {
  background: linear-gradient(90deg, #111018, rgba(17, 16, 24, 0));
  left: 0;
}

.reader-hero-shell::after {
  background: linear-gradient(270deg, #111018, rgba(17, 16, 24, 0));
  right: 0;
}

.reader-hero-track {
  align-items: center;
  column-gap: 14px;
  display: flex;
  min-height: 262px;
  padding: 22px calc(50% - 76px);
  transition: transform .5s ease;
  will-change: transform;
}

.reader-hero-slide {
  flex: 0 0 136px;
  opacity: .38;
  transform: scale(.86);
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}

.reader-hero-slide.is-active {
  filter: drop-shadow(0 0 18px rgba(162, 83, 255, .38));
  opacity: 1;
  transform: scale(1.12);
  z-index: 4;
}

.reader-hero-slide a {
  background: #0f0d15;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .32);
  display: block;
  height: 194px;
  overflow: hidden;
  position: relative;
}

.reader-hero-slide img,
.reader-hero-empty {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, opacity .2s ease;
  width: 100%;
}

.reader-hero-slide a:hover img {
  transform: scale(1.08);
}

.reader-hero-empty {
  align-items: center;
  color: var(--asura-purple-2);
  display: flex;
  font-size: 28px;
  justify-content: center;
}

.reader-hero-slide a::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .86) 100%);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.reader-hero-badge {
  align-items: center;
  background: rgba(0, 0, 0, .82);
  border-radius: 5px;
  color: var(--asura-gold);
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 4px;
  left: 8px;
  opacity: 0;
  padding: 5px 7px;
  position: absolute;
  top: 8px;
  transition: opacity .2s ease;
  z-index: 2;
}

.reader-hero-title {
  bottom: 0;
  color: #fff;
  display: -webkit-box;
  font-size: 13px;
  font-weight: 900;
  left: 0;
  line-height: 1.25;
  overflow: hidden;
  padding: 34px 10px 10px;
  position: absolute;
  right: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  z-index: 2;
}

.reader-hero-slide:not(.is-active) .reader-hero-title,
.reader-hero-slide:not(.is-active) .reader-hero-badge {
  opacity: 0;
}

.reader-hero-slide.is-active .reader-hero-badge {
  opacity: 1;
}

.reader-hero-slide.is-active a {
  box-shadow: 0 18px 46px rgba(0, 0, 0, .52), 0 0 0 1px rgba(184, 123, 255, .58);
}

.reader-hero-nav {
  align-items: center;
  background: rgba(12, 11, 17, .82);
  border: 1px solid var(--asura-line);
  border-radius: 999px;
  color: #fff;
  display: flex;
  height: 38px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background .18s ease, color .18s ease;
  width: 38px;
  z-index: 8;
}

.reader-hero-nav:hover {
  background: var(--asura-purple);
  color: #fff;
}

.reader-hero-prev {
  left: 8px;
}

.reader-hero-next {
  right: 8px;
}

.reader-latest-updates {
  background: #19171f;
  border: 1px solid var(--asura-line);
  border-radius: 8px;
  padding: 18px 14px;
}

.reader-latest-page {
  margin: 18px auto 0;
  max-width: 1180px;
}

.reader-section-title {
  color: var(--asura-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
}

.reader-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 10px;
}

.reader-update-card {
  align-items: flex-start;
  border-bottom: 1px solid var(--asura-line);
  display: grid;
  gap: 11px;
  grid-template-columns: 74px minmax(0, 1fr);
  min-height: 114px;
  padding: 12px 4px;
}

.reader-update-card:nth-last-child(-n+4) {
  border-bottom: 0;
}

.reader-update-cover {
  background: #0f0d15;
  border-radius: 6px;
  display: block;
  height: 98px;
  overflow: hidden;
  position: relative;
  width: 74px;
}

.reader-type-badge {
  background: rgba(15, 13, 21, .86);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  color: #f4e9ff;
  font-size: 9px;
  font-weight: 900;
  left: 5px;
  letter-spacing: .2px;
  line-height: 1;
  padding: 4px 5px;
  position: absolute;
  text-transform: uppercase;
  top: 5px;
  z-index: 2;
}

.reader-update-cover img {
  height: 100%;
  object-fit: cover;
  transition: opacity .16s ease;
  width: 100%;
}

.reader-update-cover:hover img {
  opacity: .62;
}

.reader-update-cover span:not(.reader-type-badge) {
  align-items: center;
  color: var(--asura-purple-2);
  display: flex;
  font-size: 26px;
  height: 100%;
  justify-content: center;
}

.reader-update-info {
  min-width: 0;
}

.reader-update-info h3 {
  color: var(--asura-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  margin: 1px 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-update-info h3 a {
  color: inherit;
}

.reader-update-info h3 a:hover,
.reader-update-chapter a:hover {
  color: var(--asura-purple-2);
}

.reader-update-chapter {
  align-items: baseline;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 5px;
}

.reader-update-chapter a {
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-update-chapter strong {
  color: rgba(255, 255, 255, .92);
  font-weight: 700;
}

.reader-update-chapter a:hover strong {
  color: var(--asura-purple-2);
}

.reader-update-chapter span {
  color: var(--asura-muted);
  font-weight: 500;
}

.reader-update-chapter time {
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  white-space: nowrap;
}

.reader-update-chapter:first-of-type time {
  color: var(--asura-gold);
  font-weight: 800;
}

.reader-legacy-manga-detail,
.reader-legacy-chapters {
  display: none;
}

.reader-manga-detail {
  margin: 18px auto 0;
  max-width: 1180px;
}

.reader-manga-hero {
  display: grid;
  gap: 24px;
  grid-template-columns: 210px minmax(0, 1fr);
}

.reader-manga-cover-panel {
  min-width: 0;
}

.reader-manga-cover {
  background: #111018;
  border: 1px solid var(--asura-line);
  border-radius: 8px;
  overflow: hidden;
}

.reader-manga-cover img {
  aspect-ratio: 5 / 7;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.reader-read-button,
.reader-bookmark-button {
  align-items: center;
  border-radius: 6px;
  display: flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  padding: 11px 14px;
  text-align: center;
}

.reader-read-button {
  background: #58d5e8;
  color: #071115;
}

.reader-bookmark-button {
  background: #24222e;
  border: 1px solid var(--asura-line);
  color: var(--asura-text);
}

.reader-manga-info {
  min-width: 0;
}

.reader-manga-kicker {
  align-items: center;
  color: var(--asura-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 7px;
  margin: 2px 0 10px;
}

.reader-manga-kicker a {
  color: #9fe8f5;
}

.reader-manga-info h1 {
  color: var(--asura-text);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 12px;
}

.reader-manga-meta,
.reader-chip-groups div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.reader-manga-meta span,
.reader-chip-groups a {
  background: #242430;
  border: 1px solid #353345;
  border-radius: 999px;
  color: #c9d3dc;
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
}

.reader-manga-rating {
  align-items: center;
  color: var(--asura-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0;
}

.reader-stars {
  color: var(--asura-gold);
  letter-spacing: 1px;
}

.reader-manga-rating strong {
  color: var(--asura-text);
}

.reader-manga-summary {
  color: #c7cbd4;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: 900px;
}

.reader-info-row {
  margin-bottom: 14px;
}

.reader-info-row > span,
.reader-chip-groups b {
  color: #7fe3ef;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 7px;
}

.reader-info-row p {
  color: #d9dde5;
  margin: 0;
}

.reader-chip-groups {
  display: grid;
  gap: 12px;
}

.reader-chip-groups a:hover,
.reader-recommend-item:hover strong,
.reader-chapter-row:hover .reader-chapter-number {
  color: var(--asura-purple-2);
}

.reader-manga-alert {
  background: rgba(88, 213, 232, .12);
  border: 1px solid rgba(88, 213, 232, .3);
  border-radius: 6px;
  color: #c8f5fb;
  margin-top: 16px;
  padding: 12px 14px;
}

.reader-manga-body {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 260px;
  margin-top: 34px;
}

.reader-chapters-panel,
.reader-recommend-panel {
  min-width: 0;
}

.reader-panel-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.reader-panel-head h2 {
  color: var(--asura-text);
  font-size: 18px;
  font-weight: 900;
  margin: 0;
}

.reader-panel-head span {
  color: var(--asura-muted);
  font-size: 12px;
}

.reader-chapter-list {
  background: #1b2226;
  border: 1px solid #2c363b;
  border-radius: 6px;
  overflow: hidden;
}

.reader-chapter-row {
  align-items: center;
  border-bottom: 1px solid #2c363b;
  color: #cfd7dc;
  display: grid;
  gap: 12px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  min-height: 42px;
  padding: 10px 12px;
}

.reader-chapter-row:last-child {
  border-bottom: 0;
}

.reader-chapter-number {
  color: #6ee8f4;
  font-weight: 800;
}

.reader-chapter-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-chapter-row time {
  color: var(--asura-muted);
  font-size: 12px;
  white-space: nowrap;
}

.reader-recommend-panel {
  background: transparent;
}

.reader-recommend-item {
  align-items: center;
  border-bottom: 1px solid var(--asura-line);
  color: var(--asura-text);
  display: grid;
  gap: 10px;
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 10px 0;
}

.reader-recommend-item > span {
  align-items: center;
  background: #242430;
  border-radius: 5px;
  display: flex;
  height: 72px;
  justify-content: center;
  overflow: hidden;
  width: 54px;
}

.reader-recommend-item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.reader-recommend-item strong {
  font-size: 13px;
  line-height: 1.35;
  min-width: 0;
}

.reader-directory-toolbar {
  align-items: center;
  background: #19171f;
  border: 1px solid var(--asura-line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px 14px;
}

.reader-directory-toolbar .filter-text {
  color: #7fe3ef;
  font-weight: 800;
}

.reader-directory-sort {
  align-items: center;
  display: flex;
  gap: 10px;
}

.reader-directory-sort > span {
  color: var(--asura-muted);
  font-size: 12px;
}

.reader-directory-sort .btn {
  background: #242430;
  border-color: #353345;
  color: var(--asura-text);
}

.reader-directory-sort .btn.active,
.reader-directory-sort .btn:hover {
  background: var(--asura-purple);
  border-color: var(--asura-purple);
  color: #fff;
}

.reader-directory-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reader-directory-card {
  background: #19171f;
  border: 1px solid var(--asura-line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 84px minmax(0, 1fr);
  min-height: 124px;
  padding: 10px;
}

.reader-directory-cover {
  background: #0f0d15;
  border-radius: 6px;
  display: block;
  height: 112px;
  overflow: hidden;
  width: 84px;
}

.reader-directory-cover img {
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease, opacity .2s ease;
  width: 100%;
}

.reader-directory-cover:hover img {
  opacity: .72;
  transform: scale(1.05);
}

.reader-directory-cover span {
  align-items: center;
  color: var(--asura-purple-2);
  display: flex;
  height: 100%;
  justify-content: center;
}

.reader-directory-info {
  min-width: 0;
}

.reader-directory-info h3 {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  margin: 2px 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-directory-info h3 a {
  color: var(--asura-text);
}

.reader-directory-info h3 a:hover,
.reader-directory-chapter:hover {
  color: var(--asura-purple-2);
}

.reader-directory-meta {
  color: var(--asura-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 10px;
  margin-bottom: 8px;
}

.reader-directory-meta i {
  color: var(--asura-gold);
}

.reader-directory-info p {
  color: var(--asura-muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 0 0 9px;
}

.reader-directory-chapter {
  color: #7fe3ef;
  font-size: 12px;
  font-weight: 800;
}

@media (min-width: 768px) {
  .reader-main-grid > .col-sm-4 {
    width: 32%;
  }

  .reader-main-grid > .col-sm-8 {
    width: 68%;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .reader-latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reader-update-card,
  .reader-update-card:nth-last-child(-n+4) {
    border-bottom: 1px solid var(--asura-line);
  }

  .reader-update-card:nth-last-child(-n+3) {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .reader-premium-strip .container,
  .reader-premium-strip .container-fluid {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .premium-icon {
    flex-basis: 40px;
    height: 40px;
  }

  .premium-copy {
    flex: 1 1 calc(100% - 54px);
  }

  .premium-copy span {
    font-size: 11px;
  }

  .premium-action {
    margin-left: 50px;
    padding: 8px 14px;
    text-align: center;
    width: calc(100% - 50px);
  }

  .navbar-default .navbar-form .form-control {
    min-width: 0;
  }

  .mangalist {
    padding: 6px 14px;
  }

  .hot-thumbnails {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .reader-latest-updates {
    padding: 20px 14px;
  }

  .reader-hero-carousel {
    margin-left: 0;
    margin-right: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .reader-hero-shell {
    min-height: 210px;
  }

  .reader-hero-track {
    column-gap: 10px;
    min-height: 210px;
    padding: 16px calc(50% - 61px);
  }

  .reader-hero-slide {
    flex-basis: 108px;
  }

  .reader-hero-slide a {
    height: 154px;
  }

  .reader-hero-nav {
    height: 32px;
    width: 32px;
  }

  .reader-hero-prev {
    left: 8px;
  }

  .reader-hero-next {
    right: 8px;
  }

  .reader-section-title {
    font-size: 23px;
  }

  .reader-latest-grid {
    grid-template-columns: 1fr;
  }

  .reader-update-card,
  .reader-update-card:nth-last-child(-n+3),
  .reader-update-card:nth-last-child(-n+4) {
    border-bottom: 1px solid var(--asura-line);
  }

  .reader-update-card:last-child {
    border-bottom: 0;
  }

  .reader-update-card {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 132px;
    padding-left: 2px;
    padding-right: 2px;
  }

  .reader-update-cover {
    height: 118px;
    width: 88px;
  }

  .reader-update-info h3 {
    font-size: 17px;
    margin-top: 2px;
  }

  .reader-update-chapter a {
    font-size: 14px;
  }

  .reader-update-chapter time {
    font-size: 12px;
  }

  .reader-manga-hero,
  .reader-manga-body {
    grid-template-columns: 1fr;
  }

  .reader-manga-cover-panel {
    max-width: 210px;
  }

  .reader-manga-info h1 {
    font-size: 24px;
  }

  .reader-directory-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .reader-directory-sort {
    align-items: stretch;
    flex-direction: column;
  }

  .reader-directory-grid {
    grid-template-columns: 1fr;
  }

  .reader-chapter-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .reader-chapter-row time {
    grid-column: 2;
  }
}

/* Minimal comments, bookmarks and profile */
.reader-comments {
  color: #cbd5df;
  margin-top: 18px;
}

.reader-comment-compose {
  margin: 18px 0 28px;
}

.reader-comment-compose .comment-form {
  display: grid;
  gap: 10px;
  grid-template-columns: 44px minmax(0, 1fr);
}

.reader-comment-compose .comment-form::before {
  align-items: center;
  background: #222a31;
  border: 1px solid #33404a;
  border-radius: 50%;
  color: #8b98a5;
  content: "\f007";
  display: flex;
  font-family: FontAwesome;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.reader-comment-compose .form-group {
  margin: 0;
}

.reader-comment-compose textarea,
#comments textarea {
  background: #20272d !important;
  border: 1px solid #303942 !important;
  border-radius: 4px !important;
  color: #dce7ef !important;
  min-height: 72px;
  padding: 13px 15px !important;
  resize: vertical;
  width: 100%;
}

.reader-comment-compose textarea::placeholder {
  color: #78858e;
}

.reader-comment-compose .actions {
  align-items: center;
  display: flex;
  gap: 8px;
  grid-column: 2;
  justify-content: flex-end;
}

.reader-comment-compose .btn {
  border: 0;
  border-radius: 5px;
  font-weight: 700;
}

.reader-comment-compose .btn-primary {
  background: #913fe2;
}

.reader-comment-compose .btn-default {
  background: #27313a;
  color: #cad5df;
}

section.comments {
  display: block;
}

section.comments article.comment {
  background: transparent !important;
  border: 0 !important;
  display: grid;
  gap: 10px;
  grid-template-columns: 44px minmax(0, 1fr);
  margin: 0 0 20px;
  padding: 0 !important;
}

section.comments article.comment div.content::before {
  content: none !important;
}

section.comments article.comment div.meta {
  height: auto;
  margin: 0;
  min-height: 44px;
  position: static;
}

section.comments article.comment div.meta .thumbnail,
section.comments article.comment div.meta img {
  background: #20272d;
  border: 1px solid #33404a;
  border-radius: 50%;
  height: 42px !important;
  margin: 0;
  object-fit: cover;
  padding: 0;
  width: 42px !important;
}

section.comments article.comment div.meta span.author,
section.comments article.comment div.meta span.date {
  display: none;
}

section.comments article.comment div.content {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 0 !important;
  min-width: 0;
  padding: 0 0 14px !important;
}

section.comments article.comment div.content p {
  color: #c8d5de;
  font-size: 15px;
  line-height: 1.55;
  margin: 2px 0 8px;
}

.reader-comment-meta {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.reader-comment-meta strong {
  color: #f1f6fb;
  font-size: 15px;
}

.reader-comment-meta time {
  color: #778591;
  font-size: 13px;
}

section.comments article.comment .content .reply {
  float: none !important;
}

.reader-comment-actions {
  align-items: center;
  color: #81909b;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 18px;
}

.reader-comment-extra-fields {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 8px;
}

.reader-comment-extra-fields select,
.reader-comment-extra-fields input {
  background: #171d24;
  border: 1px solid #303942;
  border-radius: 4px;
  color: #cbd5df;
  height: 34px;
  padding: 0 10px;
  width: 100%;
}

.reader-comment-badge,
.reader-comment-level {
  background: #22302a;
  border: 1px solid #365646;
  border-radius: 999px;
  color: #80e3a0;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
}

.reader-comment-level {
  background: #282337;
  border-color: #4b3b70;
  color: #caa7ff;
}

.reader-comment-series {
  background: #1d2530;
  border: 1px solid #334252;
  border-radius: 5px;
  color: #9fe8f5;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  margin: 0 0 9px;
  padding: 5px 8px;
}

.reader-comment-image {
  display: block;
  margin: 8px 0 10px;
  max-width: 260px;
}

.reader-comment-image img {
  border: 1px solid #303942;
  border-radius: 6px;
  display: block;
  max-height: 180px;
  object-fit: cover;
  width: 100%;
}

.reader-comment-actions button {
  background: transparent;
  border: 0;
  color: #81909b;
  padding: 0;
}

.reader-comment-actions button.has-vote.vote-up {
  color: #45d483;
  font-weight: 900;
}

.reader-comment-actions button.has-vote.vote-down {
  color: #ff6b6b;
  font-weight: 900;
}

.reader-comment-actions a,
.reader-comment-actions span {
  color: #81909b;
}

.reader-comment-actions a:hover {
  color: #b26cff;
}

.reply-comment {
  border-left: 1px solid rgba(255,255,255,.09);
  margin-left: 20px;
  padding-left: 24px;
}

.reply-comment article.comment {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  margin-bottom: 14px !important;
}

.reply-comment article.comment div.meta .thumbnail,
.reply-comment article.comment div.meta img {
  height: 32px !important;
  width: 32px !important;
}

.reply-comment article.comment div.content p {
  font-size: 14px;
}

.reply-comment::before {
  content: none !important;
}

.reader-comments-loading .fa {
  color: #913fe2;
  font-size: 24px;
}

.reader-bookmarks-page,
.reader-profile-page {
  color: #dce5ee;
  margin: 22px auto 54px;
  max-width: 1140px;
}

.reader-page-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.reader-page-kicker {
  color: #9f55ef;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reader-page-head h1,
.reader-profile-main h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  margin: 4px 0 0;
}

.reader-notify-toggle {
  align-items: center;
  background: #191822;
  border: 1px solid #2f2c40;
  border-radius: 7px;
  color: #bfc7d0;
  cursor: pointer;
  display: flex;
  gap: 9px;
  margin: 0;
  padding: 10px 13px;
}

.reader-bookmark-tabs {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.reader-bookmark-tabs > li > a,
.reader-bookmark-tabs > li.active > a,
.reader-bookmark-tabs > li.active > a:hover,
.reader-bookmark-tabs > li.active > a:focus {
  border: 1px solid #302c42;
  border-radius: 7px;
}

.reader-bookmark-tabs > li > a {
  background: #181720;
  color: #aeb6c0;
  margin: 0;
  padding: 9px 13px;
}

.reader-bookmark-tabs > li.active > a {
  background: #913fe2;
  color: #fff;
}

.reader-bookmark-content {
  background: #17151f;
  border: 1px solid #292638;
  border-radius: 8px;
  padding: 14px;
}

.reader-bookmark-tools {
  align-items: center;
  border-bottom: 1px solid #2f2c40;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 12px;
}

.reader-check-all,
.reader-bookmark-bulk {
  align-items: center;
  display: flex;
  gap: 9px;
  margin: 0;
}

.reader-bookmark-bulk select,
.reader-bookmark-bulk input {
  background: #211f2b;
  border: 1px solid #343047;
  border-radius: 6px;
  color: #dce5ee;
  height: 34px;
  padding: 0 11px;
}

.reader-bookmark-bulk .delete {
  background: #3a202a;
  border-color: #61303c;
  color: #ffb6c4;
}

.reader-bookmark-list {
  display: grid;
  gap: 12px;
}

.reader-bookmark-card {
  align-items: start;
  background: #1d1b26;
  border: 1px solid #302d3e;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 20px 72px minmax(0, 1fr) auto;
  padding: 12px;
}

.reader-bookmark-cover img {
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  height: 96px;
  object-fit: cover;
  width: 72px;
}

.reader-bookmark-title-row {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.reader-bookmark-title {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.reader-bookmark-date,
.reader-bookmark-chapter small {
  color: #788491;
  font-size: 12px;
  white-space: nowrap;
}

.reader-bookmark-latest {
  color: #ffc439;
  font-size: 13px;
  margin: 6px 0 8px;
}

.reader-bookmark-latest a,
.reader-bookmark-chapter a {
  color: #dbe5ef;
}

.reader-bookmark-chapters {
  display: grid;
  gap: 7px;
}

.reader-bookmark-chapter {
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.06);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding-top: 7px;
}

.reader-link-button,
.reader-danger-button {
  background: transparent;
  border: 0;
  color: #929eaa;
  padding: 0;
}

.reader-danger-button {
  background: #2a2029;
  border: 1px solid #47303e;
  border-radius: 6px;
  color: #ffb6c4;
  padding: 7px 10px;
}

.reader-empty-state {
  color: #9aa5b1;
  padding: 34px 12px;
  text-align: center;
}

.reader-profile-hero,
.reader-profile-panel {
  background: #17151f;
  border: 1px solid #2c293a;
  border-radius: 8px;
}

.reader-profile-hero {
  display: grid;
  gap: 22px;
  grid-template-columns: 132px minmax(0, 1fr);
  padding: 22px;
}

.reader-profile-avatar img {
  aspect-ratio: 1;
  border: 3px solid #302d3f;
  border-radius: 16px;
  object-fit: cover;
  width: 132px;
}

.reader-profile-title-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.reader-profile-main p {
  color: #98a3af;
  margin: 8px 0 15px;
}

.reader-profile-edit {
  background: #913fe2;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  padding: 8px 12px;
}

.reader-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reader-profile-stats span {
  background: #211f2c;
  border: 1px solid #343048;
  border-radius: 7px;
  color: #b9c3ce;
  padding: 9px 12px;
}

.reader-profile-stats strong {
  color: #fff;
}

.reader-profile-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  margin-top: 14px;
}

.reader-profile-panel {
  padding: 18px;
}

.reader-profile-panel-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.reader-profile-panel h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  margin: 0;
}

.reader-profile-panel-head span {
  color: #b26cff;
  font-weight: 900;
}

.reader-level-track {
  background: #252331;
  border-radius: 999px;
  height: 9px;
  margin: 18px 0 8px;
  overflow: hidden;
}

.reader-level-track span {
  background: linear-gradient(90deg, #913fe2, #ffb54a);
  display: block;
  height: 100%;
}

.reader-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.reader-badge {
  background: #20202a;
  border: 1px solid #343044;
  border-radius: 999px;
  color: #85919c;
  font-weight: 800;
  padding: 8px 11px;
}

.reader-badge.is-active {
  color: #ffcf57;
}

@media (max-width: 767px) {
  .reader-page-head,
  .reader-bookmark-tools,
  .reader-profile-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .reader-bookmark-card {
    grid-template-columns: 18px 62px minmax(0, 1fr);
  }

  .reader-bookmark-remove {
    grid-column: 3;
  }

  .reader-bookmark-chapter {
    grid-template-columns: 1fr;
  }

  .reader-profile-hero,
  .reader-profile-grid {
    grid-template-columns: 1fr;
  }
}

/* Home blog/novel blocks and minimal footer */
.reader-section-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}

.reader-section-row .reader-section-title {
  margin: 0;
}

.reader-section-row > a {
  color: #b26cff;
  font-size: 13px;
  font-weight: 800;
}

.reader-latest-novels {
  margin-top: 28px;
}

.reader-blog-section {
  margin-top: 30px;
}

.reader-blog-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.reader-blog-card {
  background: linear-gradient(180deg, #1b1924 0%, #15131c 100%);
  border: 1px solid #2d293b;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 74px minmax(0, 1fr);
  min-height: 150px;
  overflow: hidden;
  padding: 12px;
  transition: border-color .18s ease, transform .18s ease;
}

.reader-blog-card:hover {
  border-color: rgba(151, 71, 255, .55);
  transform: translateY(-2px);
}

.reader-blog-thumb {
  align-items: center;
  background: linear-gradient(135deg, #2a2536 0%, #15131c 100%);
  border: 1px solid #373149;
  border-radius: 7px;
  color: #b26cff;
  display: flex;
  font-size: 24px;
  height: 98px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 74px;
}

.reader-blog-thumb::after {
  background: rgba(151, 71, 255, .18);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.reader-blog-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.reader-blog-copy {
  min-width: 0;
}

.reader-blog-card h3 {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 8px;
}

.reader-blog-card h3 a {
  color: #fff;
}

.reader-blog-card p {
  color: #9fa9b5;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.reader-blog-meta {
  color: #7d8794;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 10px;
}

.reader-changelog {
  margin: 24px auto 40px;
  max-width: 900px;
}

.reader-changelog h1 {
  color: #fff;
  display: block;
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 18px;
}

.reader-changelog-list {
  display: grid;
  gap: 12px;
}

.reader-changelog-item {
  background: #19171f;
  border: 1px solid #2d293b;
  border-radius: 8px;
  padding: 18px;
}

.reader-changelog-item time {
  color: #b26cff;
  font-size: 12px;
  font-weight: 900;
}

.reader-changelog-item h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  margin: 8px 0;
}

.reader-changelog-item p {
  color: #aeb6c3;
  line-height: 1.55;
  margin: 0;
}

.reader-footer {
  align-items: center;
  background: transparent !important;
  border-top: 1px solid #292638;
  color: #8e98a5;
  display: flex;
  float: none;
  gap: 18px;
  justify-content: space-between;
  margin: 34px auto 0;
  max-width: 1140px;
  padding: 24px 0;
  width: 100%;
}

.reader-footer-brand {
  align-items: center;
  display: flex;
  gap: 11px;
}

.reader-footer-brand a {
  color: #fff;
  display: block;
  font-weight: 900;
}

.reader-footer-brand small {
  color: #7e8793;
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.reader-footer .footer-mark {
  align-items: center;
  background: #23202f;
  border: 1px solid #373149;
  border-radius: 50%;
  color: #b26cff;
  display: flex;
  height: 38px;
  justify-content: center;
  margin: 0;
  width: 38px;
}

.reader-footer-links,
.reader-footer-links ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.reader-footer-links li {
  margin: 0;
}

.reader-footer-links li::after {
  content: none !important;
}

.reader-footer-links a {
  color: #a7b0bb;
  font-size: 13px;
  font-weight: 700;
}

.reader-footer-links a:hover {
  color: #b26cff;
}

@media (max-width: 767px) {
  .reader-section-row,
  .reader-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .reader-blog-grid {
    grid-template-columns: 1fr;
  }

  .reader-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
}
