


html.reader-background-document,
html.reader-background-document body,
html.reader-background-document #wrapper,
html.reader-background-document #container,
html.reader-background-document .m-read,
html[data-fwn-lights="off"].reader-background-document,
html[data-fwn-lights="off"].reader-background-document body,
html[data-fwn-lights="off"].reader-background-document #wrapper,
html[data-fwn-lights="off"].reader-background-document #container,
html[data-fwn-lights="off"].reader-background-document .m-read,
html[data-fwn-lights="off"] body.page-chapter #container {
  background-color: var(--reader-document-bg, var(--fwn-bg, #F4F4F4)) !important;
}
html.reader-background-document .m-read .txt,
html.reader-background-document .m-read .txt #chapter-content,
html.reader-background-document #chapter-content.chapter-c,
body.page-chapter .m-read .wp {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
body.page-chapter #container {
  min-height: calc(100vh - 165px);
  margin-bottom: 0;
}

body.page-chapter .footer {
  margin-top: 0 !important;
  background-color: var(--reader-document-bg, #fff) !important;
  box-shadow: none;
}
body.page-chapter.fwn-dark-read .footer,
html.reader-background-document.reader-dark .footer,
html[data-fwn-lights="off"] body.page-chapter .footer {
  background-color: var(--reader-document-bg, #222) !important;
  box-shadow: 0 0 6px #272727;
  color: #ccc;
}
body.page-chapter.fwn-dark-read .footer a,
body.page-chapter.fwn-dark-read .footer .ll a,
body.page-chapter.fwn-dark-read .footer .rr a,
body.page-chapter.fwn-dark-read .footer .fwn-footer-text,
body.page-chapter.fwn-dark-read .footer .fwn-footer-sep,
body.page-chapter.fwn-dark-read .footer .fwn-footer-amp,
body.page-chapter.fwn-dark-read .footer .ll > a.fwn-footer-brand,
html.reader-background-document.reader-dark .footer a,
html.reader-background-document.reader-dark .footer .ll a,
html.reader-background-document.reader-dark .footer .rr a,
html.reader-background-document.reader-dark .footer .fwn-footer-text,
html.reader-background-document.reader-dark .footer .fwn-footer-sep,
html.reader-background-document.reader-dark .footer .fwn-footer-amp,
html.reader-background-document.reader-dark .footer .ll > a.fwn-footer-brand,
html[data-fwn-lights="off"] body.page-chapter .footer a,
html[data-fwn-lights="off"] body.page-chapter .footer .ll a,
html[data-fwn-lights="off"] body.page-chapter .footer .rr a,
html[data-fwn-lights="off"] body.page-chapter .footer .fwn-footer-text,
html[data-fwn-lights="off"] body.page-chapter .footer .fwn-footer-sep,
html[data-fwn-lights="off"] body.page-chapter .footer .fwn-footer-amp,
html[data-fwn-lights="off"] body.page-chapter .footer .ll > a.fwn-footer-brand {
  color: #ccc !important;
}
.m-read .fwn-slot-after,
.m-read .fwn-slot-host.fwn-slot-after {
  background: transparent !important;
}


.m-read .fwn-slot-host {
  display: block;
  clear: both;
  margin: 12px auto;
  max-width: 100%;
  overflow: visible;
  text-align: center;
}
.m-read .fwn-slot-host iframe {
  max-width: 100%;
  display: block !important;
  visibility: visible !important;
  width: 336px;
  height: 280px;
  min-height: 50px;
  border: 0;
}

.m-read {
  background: transparent;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 15px 0 24px;
  overflow: hidden;
}
.m-read .wp {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1140px; 
}
.m-read .wp.fullscreen {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 24px;
}
.m-read .wp.smallscreen {
  width: 730px;
  max-width: 100%;
  margin: 0 auto;
}
.m-read .wp:not(.fullscreen):not(.smallscreen) {
  padding-left: 18px;
  padding-right: 18px;
}


.m-read > .wp > a.btn,
.m-read .wp > a.btn.toggle-nav-open {
  position: absolute;
  top: 0;
  z-index: 99;
  color: var(--theme-primary, var(--fwn-header, #14425d));
  border: 1px solid var(--theme-primary, var(--fwn-header, #14425d));
  width: 70px;
  height: 60px;
  padding: 16px 20px;
  line-height: 30px;
  font-size: 28px;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  text-decoration: none !important;
}

html[data-fwn-lights="off"] .m-read .wp > a.btn.toggle-nav-open,
html.reader-dark .m-read .wp > a.btn.toggle-nav-open,
body.fwn-dark-read .m-read .wp > a.btn.toggle-nav-open,
.dark-background .m-read .wp > a.btn.toggle-nav-open,
.m-read.dark-background .wp > a.btn.toggle-nav-open {
  color: #dce6ee;
  border-color: #8ba7ba;
}
html[data-fwn-lights="off"] .m-read .wp > a.btn.toggle-nav-open:is(:hover, :focus),
html.reader-dark .m-read .wp > a.btn.toggle-nav-open:is(:hover, :focus),
body.fwn-dark-read .m-read .wp > a.btn.toggle-nav-open:is(:hover, :focus),
.dark-background .m-read .wp > a.btn.toggle-nav-open:is(:hover, :focus),
.m-read.dark-background .wp > a.btn.toggle-nav-open:is(:hover, :focus) {
  color: #fff;
  border-color: #dce6ee;
  background-color: rgba(255, 255, 255, .08);
}
html[data-fwn-lights="off"] .m-read .wp > a.btn.toggle-nav-open:focus-visible,
html.reader-dark .m-read .wp > a.btn.toggle-nav-open:focus-visible,
body.fwn-dark-read .m-read .wp > a.btn.toggle-nav-open:focus-visible,
.dark-background .m-read .wp > a.btn.toggle-nav-open:focus-visible,
.m-read.dark-background .wp > a.btn.toggle-nav-open:focus-visible {
  outline: 2px solid #b9d9f0;
  outline-offset: 3px;
}
.m-read .wp > a.btn .s2,
.m-read .wp > a.btn.on .s1 {
  display: none;
}
.m-read .wp > a.btn.on .s2 {
  display: block;
}

.m-read .top {
  padding: 0 80px;
  text-align: center;
  position: relative;
}
.m-read .top .tit {
  overflow: hidden;
  margin: 10px auto 5px;
  text-align: center;
  font-size: inherit;
  font-weight: inherit;
}
.m-read .top .tit a,
.m-read .top .truyen-title {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 1px #c2c2c2;
  text-align: center;
  color: var(--theme-link, var(--fwn-link));
  text-decoration: none !important;
}
.m-read .top .tit a:hover,
.m-read .top .truyen-title:hover {
  color: var(--theme-primary, var(--fwn-header));
}
.m-read .top .chapter,
.m-read .top .chapter-title {
  display: block;
  color: #555;
  font-size: 18px;
  text-align: center;
  margin: 0 0 8px;
  font-weight: 400;
  text-decoration: none !important;
}
.m-read .top .chapter-title {
  color: inherit;
}


.ul-list7 {
  position: relative;
  margin: 15px 0;
  font-size: 0;
  text-align: center;
}
.ul-list7 > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  vertical-align: middle;
}
.ul-list7 li {
  position: relative;
  display: block;
  flex: 0 0 auto;
  vertical-align: middle;
  margin: 0 2px;
  list-style: none;
  min-width: 0;
}
.ul-list7 li.reader-settings-panel {
  position: static;
  width: 0;
  margin: 0;
  overflow: visible;
  flex: 0 0 0;
}
.ul-list7 li a {
  overflow: hidden;
  display: block;
  padding: 0 12px;
  line-height: 32px;
  font-size: 14px;
  color: #fff !important;
  background-color: var(--theme-primary, var(--fwn-btn, #14425d));
  border: 1px solid var(--theme-primary, var(--fwn-btn, #14425d));
  text-decoration: none !important;
}
.ul-list7 li:first-child a {
  border-radius: 4px 0 0 4px;
}
.ul-list7 li:last-child a,
.ul-list7 li.reader-next-item a {
  border-radius: 0 4px 4px 0;
}
.ul-list7 li:hover a {
  background-color: var(--theme-deep, var(--fwn-header, #0f3349));
}

.ul-list7 li.is-disabled > a,
.ul-list7 li a.is-disabled {
  opacity: 0.36;
  pointer-events: none;
  cursor: default;
  background-color: #9aa8b3 !important;
  border-color: #9aa8b3 !important;
}
.ul-list7 li.is-disabled:hover > a,
.ul-list7 li a.is-disabled:hover {
  background-color: #9aa8b3 !important;
}
.ul-list7 .catalog {
  position: relative;
  overflow: hidden;
  text-align: left;
  display: none;
  vertical-align: middle;
  max-width: 100%;
}
.ul-list7.is-catalog-open .catalog,
.ul-list7 .catalog.is-open {
  display: block !important;
  vertical-align: middle;
  width: 100%;
  max-width: 100%;
}

.ul-list7.is-catalog-open > ul > li:nth-child(2) {
  flex: 1 1 auto;
  max-width: 210px;
  min-width: 0;
  overflow: hidden;
}
.ul-list7.is-catalog-open > ul > li > a.a1,
.ul-list7.is-catalog-open > ul > li > a.chapter_jump {
  display: none !important;
}

.ul-list7 > ul > li.reader-next-item > a {
  border-radius: 0 4px 4px 0;
}
.ul-list7 .catalog::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -3px;
  border-top: 6px solid #fff;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
  pointer-events: none;
  z-index: 1;
}
.ul-list7 .catalog select,
.ul-list7 .catalog select.fwn-chapter-jump-select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 210px;
  min-width: 0;
  padding: 0 30px 0 12px;
  line-height: 32px;
  height: 32px;
  background-color: var(--theme-primary, var(--fwn-btn, #14425d));
  border: 1px solid var(--theme-primary, var(--fwn-btn, #14425d));
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}


.ul-list7 .font-box {
  position: absolute;
  z-index: 99999;
  top: 36px;
  left: 50%;
  width: 300px;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 80px);
  overflow: auto;
  padding: 10px;
  font-size: 12px;
  text-align: left;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  transform: translateX(-50%);
  display: none;
}
.ul-list7.is-settings-open .font-box,
.ul-list7 .font-box:not([hidden]) {
  display: block;
}
.ul-list7 .font-box[hidden] {
  display: none !important;
}
.ul-list7 .font-box .item {
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
}
.ul-list7 .font-box .s1 {
  float: left;
  width: 90px;
  padding-right: 15px;
  text-align: right;
  line-height: 30px;
  font-weight: 700;
  font-size: 14px;
  color: #555;
}
.ul-list7 .font-box .right {
  overflow: hidden;
  font-size: 0;
}
.ul-list7 .font-box .sel,
.ul-list7 .font-box select.sel {
  position: relative;
  display: block;
  height: 30px;
  width: 100%;
  padding: 5px 20px 5px 10px;
  color: #555;
  background: #fff;
  border: 1px solid #ccc;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  cursor: pointer;
}
.ul-list7 .font-box .lab {
  overflow: hidden;
  float: left;
  margin: 8px 10px 0 0;
  font-size: 14px;
  line-height: 14px;
  color: #555;
  cursor: pointer;
  font-weight: 400;
}
.ul-list7 .font-box .lab input {
  float: left;
  margin-right: 4px;
}
.ul-list7 .font-box .lab span {
  float: left;
}
.reader-feature-new-item .reader-new-corner {
  position: absolute;
  top: -2px;
  left: 0;
  background: #e53935;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
  line-height: 1.2;
  text-transform: uppercase;
}
.fwn-settings-divider {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 4px 0 10px;
  color: #888;
  font-size: 12px;
}
.fwn-settings-divider .e-line {
  flex: 1 1 auto;
  height: 0;
  border-top: 1px solid #e5e5e5;
}
.fwn-tts-row {
  display: flex;
  align-items: center;
  gap: 6px;
  clear: both;
}
.fwn-tts-row .fwn-reader-btn,
.fwn-tts-row .e-btn {
  flex: 0 0 36px;
  width: 36px;
  min-height: 30px;
  line-height: 30px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  color: #333 !important;
  text-align: center;
  cursor: pointer;
}
.fwn-tts-rate {
  flex: 0 0 64px !important;
  width: 64px;
}
.fwn-tts-voice {
  flex: 1 1 auto !important;
  min-width: 0;
}
.fwn-tts-hint {
  margin: 0 0 6px;
  font-size: 11px;
  color: #999;
  line-height: 1.35;
  clear: both;
}


.fwn-tts-float.float-container,
div.float-container.speak-float-btn {
  display: none;
  flex-direction: row;
  opacity: 0.7;
  z-index: 10000;
  font-size: 16px;
  padding: 0.5em;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: fixed;
  left: 50%;
  bottom: 2em;
  height: 50px;
  transform: translate(-50%, 0);
  gap: 0.5em;
  align-items: stretch;
  box-sizing: border-box;
}
.fwn-tts-float.float-container[style*="display: flex"],
div.float-container.speak-float-btn[style*="display: flex"] {
  display: flex !important;
}
.fwn-tts-float .control-btn,
div.float-container button.control-btn {
  cursor: pointer;
  width: 3em;
  height: 100%;
  border: none;
  border-radius: 4px;
  color: #fff !important;
  background: var(--theme-primary, var(--fwn-header, #14425d));
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 0;
}
.fwn-tts-float .control-btn:before,
div.float-container button.control-btn:before {
  position: static;
  margin: 0;
}
html[data-fwn-lights="off"] .fwn-tts-float.float-container,
html[data-fwn-lights="off"] div.float-container.speak-float-btn {
  background-color: rgba(34, 34, 34, 0.55);
}

.fwn-gt-host {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.m-read .txt {
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #3b3b3b;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-align: left; 
}
.m-read .txt p,
.m-read .txt h4,
.m-read .txt #chapter-content p {
  margin: 0 0 20px;
  text-align: left;
}
.m-read .txt p:last-child,
.m-read .txt #chapter-content p:last-child {
  margin-bottom: 15px;
}

.m-read .txt.break p,
.m-read .txt.break p:last-child,
.m-read .txt.break #chapter-content p,
.m-read .txt.break #chapter-content.chapter-c p,
.m-read .txt.break #chapter-content p:last-child {
  margin: 0;
  margin-bottom: 0;
}
.m-read .txt.break br {
  display: none;
}
.m-read .txt #chapter-content.chapter-c,
#chapter-content.chapter-c {
  background: transparent;
  font-family: inherit;
  padding: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-align: left;
}
.dark-background .m-read .txt,
body.fwn-dark-read .m-read .txt {
  color: #ccc;
  border-color: #444;
}


.fwn-restore-position {
  margin: 12px 0 4px;
  text-align: center;
}
.fwn-restore-position[hidden] {
  display: none !important;
}
.fwn-restore-position-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  color: #7562d8;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}
.fwn-restore-position-btn strong {
  font-weight: 500;
}
.fwn-restore-position-arrow {
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
}
.fwn-restore-position-btn:hover,
.fwn-restore-position-btn:focus {
  color: #6551cb;
  text-decoration: none;
  outline: none;
}

.chapter-report-card {
  display: flex;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  margin: 16px 0 12px;
  overflow: hidden;
  border: 1px solid #d9dee4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}
.chapter-report-card p {
  display: flex;
  min-width: 0;
  align-items: center;
  flex: 1 1 auto;
  margin: 0;
  padding: 14px 16px;
  color: #5d6670;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}
.m-read .chapter-report-card .chapter-report-link,
.chapter-report-card #chapter_error {
  display: inline-flex !important;
  flex: 0 0 96px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  margin: 10px 0 !important;
  padding: 6px 14px;
  border: 0;
  border-left: 1px solid #d9dee4;
  border-radius: 0;
  background: transparent;
  color: #7562d8 !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none !important;
  float: none !important;
  align-self: stretch;
  height: auto !important;
  min-height: 66px;
  overflow: visible !important;
  
  pointer-events: none;
}
.chapter-report-card #chapter_error::before,
.chapter-report-card #chapter_error > span {
  pointer-events: auto;
  cursor: pointer;
}
.chapter-report-icon {
  display: none;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chapter-report-card #chapter_error::before {
  content: "\270B\FE0E";
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  color: currentColor;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}

.chapter-report-card #chapter_error .glyphicon-hand-up {
  display: none;
}
.chapter-report-card #chapter_error .glyphicon-hand-up::before {
  content: none;
}
.chapter-report-card #chapter_error:hover,
.chapter-report-card #chapter_error:focus {
  color: #6551cb !important;
  border-left-color: #d9dee4;
  background: rgba(117, 98, 216, 0.06);
  box-shadow: none;
}


.fwn-report-dialog {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: auto;
  touch-action: manipulation;
}
.fwn-report-dialog.is-open {
  display: flex;
}
.fwn-report-dialog-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
  padding: 28px 36px 32px;
  border: 1px solid #d7d9df;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
  color: #4f5158;
  pointer-events: auto;
}
.fwn-report-dialog-title {
  margin: 0 44px 20px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e8;
  color: #35363b;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}
.fwn-report-dialog-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #888b94;
  font-size: 34px;
  font-weight: 700;
  line-height: 34px;
  cursor: pointer;
}
.fwn-report-dialog-close:hover,
.fwn-report-dialog-close:focus {
  color: #494c55;
  outline: 0;
}
.fwn-report-dialog-label {
  display: block;
  margin-bottom: 10px;
  color: #555861;
  font-size: 17px;
  font-weight: 400;
}
.fwn-report-dialog-textarea,
body .fwn-report-dialog .fwn-report-dialog-textarea {
  display: block;
  width: 100%;
  min-height: 210px;
  box-sizing: border-box;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid #cfd2d9 !important;
  border-radius: 5px;
  background: #f8f8fa !important;
  background-color: #f8f8fa !important;
  color: #303239 !important;
  -webkit-text-fill-color: #303239 !important;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  outline: 0;
}
.fwn-report-dialog-textarea:focus {
  border-color: #7562d8;
  box-shadow: 0 0 0 2px rgba(117, 98, 216, 0.16);
}
.fwn-report-dialog-textarea::placeholder {
  color: #9a9da5;
  opacity: 1;
}
.fwn-report-dialog-textarea:focus::placeholder {
  color: transparent;
  opacity: 0;
}
.fwn-report-dialog-meta {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 5px;
}
.fwn-report-dialog-status {
  color: #e07b7b;
  font-size: 13px;
}
.fwn-report-dialog-count {
  margin-left: auto;
  color: #696c74;
  font-size: 14px;
}
.fwn-report-dialog-actions {
  margin-top: 12px;
  text-align: center;
}
.fwn-report-dialog-submit {
  min-width: 190px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #7664c9 0%, #5946a9 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
}
.fwn-report-dialog-submit:hover,
.fwn-report-dialog-submit:focus {
  background: linear-gradient(180deg, #8573d8 0%, #6551b8 100%);
  outline: 0;
}
.fwn-report-dialog-submit[disabled] {
  cursor: wait;
  opacity: 0.65;
}
body.fwn-report-dialog-open {
  overflow: hidden;
  touch-action: none;
}
body.fwn-report-dialog-open .fwn-report-dialog-panel,
body.fwn-report-dialog-open .fwn-report-dialog-textarea {
  touch-action: auto;
}
body.fwn-report-dialog-open .fwn-report-dialog-close,
body.fwn-report-dialog-open .fwn-report-dialog-submit {
  touch-action: manipulation;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .chapter-report-card p {
    font-size: 15px;
  }
  .m-read .chapter-report-card .chapter-report-link,
  .chapter-report-card #chapter_error {
    font-size: 15px;
  }
}


@media (min-width: 992px) {
  .chapter-report-card p {
    padding: 8px 14px;
  }
  .m-read .chapter-report-card .chapter-report-link,
  .chapter-report-card #chapter_error {
    gap: 3px;
    min-height: 46px;
    margin: 5px 0 !important;
    padding: 4px 12px;
  }
  .chapter-report-card #chapter_error::before {
    width: 20px;
    height: 20px;
    font-size: 19px;
    line-height: 20px;
  }
}

html[data-fwn-lights="off"] .fwn-report-dialog-panel {
  border-color: #303033;
  background: #1c1c1e;
  color: #bbb;
}
html[data-fwn-lights="off"] .fwn-report-dialog-title {
  border-bottom-color: #303033;
  color: #c9c9cc;
}
html[data-fwn-lights="off"] .fwn-report-dialog-close {
  color: #92929c;
}
html[data-fwn-lights="off"] .fwn-report-dialog-close:hover,
html[data-fwn-lights="off"] .fwn-report-dialog-close:focus {
  color: #fff;
}
html[data-fwn-lights="off"] .fwn-report-dialog-label,
html[data-fwn-lights="off"] .fwn-report-dialog-count {
  color: #bcbcc0;
}
html[data-fwn-lights="off"] body .fwn-report-dialog .fwn-report-dialog-textarea {
  border-color: #29292c !important;
  background: #111113 !important;
  background-color: #111113 !important;
  color: #e5e5e7 !important;
  -webkit-text-fill-color: #e5e5e7 !important;
  caret-color: #fff;
}
html[data-fwn-lights="off"] .fwn-report-dialog-textarea::placeholder {
  color: #57575d;
  opacity: 1;
}
html[data-fwn-lights="off"] .fwn-report-dialog-textarea:focus::placeholder {
  color: transparent;
  opacity: 0;
}
.chapter-extra-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 10px 0 14px;
  text-align: center;
}

.chapter-extra-actions > a,
.chapter-extra-actions #chapter_error,
.m-read .chapter-extra-actions .library,
.m-read .chapter-extra-actions .showcomment,
.m-read .chapter-extra-actions .error,
.m-read .chapter-extra-actions .report {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  margin: 0 !important;
  min-width: 120px;
  height: 36px;
  padding: 0 12px;
  line-height: 1;
  color: #fff !important;
  text-align: center;
  border-radius: 6px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  vertical-align: middle;
  float: none !important;
}
.chapter-extra-actions > a .glyphicon,
.chapter-extra-actions #chapter_error .glyphicon {
  position: static;
  top: auto;
  margin: 0;
  line-height: 1;
}
.m-read .error,
.m-read .report,
.m-read .library {
  transition: 0.3s;
}
.m-read .error,
.m-read .report,
.chapter-extra-actions #chapter_error {
  background: var(--fwn-accent, #eca314);
  border: 1px solid var(--fwn-accent, #eca314);
  font-weight: 600;
}
.m-read .library {
  background: #ff5722;
  border: 1px solid #de6d46;
}
.m-read .library.in {
  background: #00b100;
  border-color: #009a00;
}
.m-read .showcomment {
  background: #5bc0de;
  border: 1px solid #5ba3b8;
}
.m-read .tips {
  margin: 0 auto 15px;
  max-width: 770px;
  width: 100%;
  padding: 5px;
  background-color: #d9edf7;
  border: 1px dashed #2d9fd8;
  text-align: center;
  border-radius: 5px;
  color: #31708f;
  font-size: 14px;
}


.m-read.fwn-width-wide {
  max-width: none;
}
.m-read.fwn-width-wide .wp {
  max-width: 100% !important;
  width: 100% !important;
}
.m-read.fwn-width-normal {
  max-width: none;
}
.m-read.fwn-width-normal .wp {
  max-width: 1140px;
}
.m-read.fwn-width-narrow {
  max-width: none;
}
.m-read.fwn-width-narrow .wp {
  width: 730px;
  max-width: 100%;
}


#chapter > .ul-list7-bottom,
#chapter > .chapter-extra-actions,
#chapter > .tips,
#chapter > #e-comments {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
}
#chapter.fwn-width-wide > .ul-list7-bottom,
#chapter.fwn-width-wide > .chapter-extra-actions,
#chapter.fwn-width-wide > .tips,
#chapter.fwn-width-wide > #e-comments {
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
#chapter.fwn-width-narrow > .ul-list7-bottom,
#chapter.fwn-width-narrow > .chapter-extra-actions,
#chapter.fwn-width-narrow > .tips,
#chapter.fwn-width-narrow > #e-comments {
  width: 730px;
  max-width: 100%;
}
@media (max-width: 991px) {
  #chapter.fwn-width-wide > .ul-list7-bottom,
  #chapter.fwn-width-wide > .chapter-extra-actions,
  #chapter.fwn-width-wide > .tips,
  #chapter.fwn-width-wide > #e-comments {
    padding-left: 10px;
    padding-right: 10px;
  }
}



html[data-fwn-lights="off"] .ul-list7 .font-box {
  background-color: #222;
  border-color: #444;
}
html[data-fwn-lights="off"] .ul-list7 .font-box .sel,
html[data-fwn-lights="off"] .ul-list7 .font-box select.sel {
  background-color: #333;
  color: #ccc;
  border-color: #444;
}
html[data-fwn-lights="off"] .ul-list7 .font-box .s1,
html[data-fwn-lights="off"] .ul-list7 .font-box .lab {
  color: #ccc;
}
html[data-fwn-lights="off"] .m-read .top .chapter,
html[data-fwn-lights="off"] .m-read .top .tit a,
html[data-fwn-lights="off"] .m-read .txt {
  color: #aaa;
}
html[data-fwn-lights="off"] .m-read .tips {
  border-color: #444;
  background-color: #222;
  color: #ccc;
}
html[data-fwn-lights="off"] .chapter-report-card {
  border-color: #3d3d3d;
  background: #1b1b1b;
}
html[data-fwn-lights="off"] .chapter-report-card p {
  color: #aaa;
}
html[data-fwn-lights="off"] .m-read .chapter-report-card #chapter_error {
  border: 0;
  border-left: 1px solid #3d3d3d;
  background: transparent;
  color: #8170e6 !important;
}
html[data-fwn-lights="off"] .m-read .chapter-report-card #chapter_error:hover,
html[data-fwn-lights="off"] .m-read .chapter-report-card #chapter_error:focus {
  background: rgba(129, 112, 230, 0.08);
  color: #9586ed !important;
}
html[data-fwn-lights="off"] .m-read .library {
  background: none;
  color: #ff7849 !important;
  border-color: #ff7849;
}
html[data-fwn-lights="off"] .m-read .error,
html[data-fwn-lights="off"] .m-read .report,
html[data-fwn-lights="off"] .chapter-extra-actions #chapter_error {
  background: none;
  color: #be893d !important;
  border-color: #be893d;
}
html[data-fwn-lights="off"] .m-read .showcomment {
  background: none;
  color: #5ba3b8 !important;
  border-color: #5ba3b8;
}
html[data-fwn-lights="off"] .m-read .txt {
  border-color: #444;
}
html[data-fwn-lights="off"] .fwn-settings-divider .e-line {
  border-top-color: #444;
}

@media (max-width: 991px) {
  .m-read .wp > a.btn.toggle-nav-open {
    width: 55px;
    height: 48px;
    padding: 11px;
    line-height: 28px;
    font-size: 18px;
  }
  .m-read .top {
    padding: 0 40px;
  }
  .m-read .top .tit a,
  .m-read .top .truyen-title {
    font-size: 20px;
  }
  .m-read .wp.fullscreen {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .m-read .wp.smallscreen {
    width: 100%;
    padding: 0 26px;
  }
}

@media (max-width: 767px) {
  .m-read .wp > a.btn.toggle-nav-open {
    width: 38px;
    height: 33px;
    padding: 8px;
    line-height: 19px;
    font-size: 14px;
  }
  .m-read .top {
    padding: 0 30px;
  }
  .m-read .tips {
    display: none !important;
  }
  .ul-list7 li.prev a,
  .ul-list7 li.reader-next-item a,
  .ul-list7 li a.a1,
  .ul-list7 li a.a2 {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    padding: 0;
    box-sizing: border-box;
  }
  .ul-list7 li a {
    font-size: 0;
  }
  .ul-list7 li .glyphicon {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    top: 0;
  }
  .ul-list7.is-catalog-open > ul > li:nth-child(2) {
    max-width: calc(100vw - 152px);
  }
  .ul-list7 .catalog select,
  .ul-list7 .catalog select.fwn-chapter-jump-select {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 13px;
  }
  .chapter-extra-actions {
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    padding: 0 2px;
    box-sizing: border-box;
  }
  .chapter-report-card p {
    padding: 13px 14px;
    font-size: 13px;
    line-height: 1.5;
  }
  .m-read .chapter-report-card .chapter-report-link,
  .chapter-report-card #chapter_error {
    flex-basis: 78px;
    margin: 8px 0 !important;
    padding: 7px 9px;
    font-size: 12px;
  }
  .chapter-report-icon {
    display: none;
  }
  .chapter-report-card #chapter_error::before {
    width: 20px;
    height: 20px;
    font-size: 18px;
    line-height: 20px;
  }
  .fwn-report-dialog {
    padding: 12px;
  }
  .fwn-report-dialog-panel {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 22px 18px 24px;
  }
  .fwn-report-dialog-title {
    margin-bottom: 16px;
    font-size: 19px;
  }
  .fwn-report-dialog-close {
    top: 12px;
    right: 12px;
  }
  .fwn-report-dialog-label {
    font-size: 15px;
  }
  .fwn-report-dialog-textarea {
    min-height: 180px;
    font-size: 14px;
  }
  .fwn-report-dialog-submit {
    width: 100%;
  }
  .m-read .error,
  .m-read .report,
  .m-read .library,
  .m-read .showcomment,
  .chapter-extra-actions > a,
  .chapter-extra-actions #chapter_error {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    height: 36px;
    padding: 0 6px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .chapter-extra-actions > a .glyphicon,
  .chapter-extra-actions #chapter_error .glyphicon {
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  .chapter-report-card p {
    padding: 12px;
    font-size: 12.5px;
    line-height: 1.45;
  }
  .m-read .chapter-report-card .chapter-report-link,
  .chapter-report-card #chapter_error {
    flex-basis: 72px;
    padding-left: 7px;
    padding-right: 7px;
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .m-read .wp > a.btn.toggle-nav-open {
    width: 30px;
    height: 28px;
    padding: 4px;
    font-size: 12px;
    border-radius: 4px;
  }
  .ul-list7 li.prev a,
  .ul-list7 li.reader-next-item a,
  .ul-list7 li a.a1,
  .ul-list7 li a.a2 {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
  }
  .ul-list7.is-catalog-open > ul > li:nth-child(2) {
    max-width: calc(100vw - 140px);
  }
}


.fwn-gt-host,
#google_translate_element {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#google_translate_element iframe,
.goog-te-gadget iframe,
.goog-te-gadget,
.goog-te-combo,
#goog-gt-tt,
.VIpgJd-ZVi9od-ORHb,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
  display: none !important;
}
body {
  top: 0 !important;
  position: static !important;
}
html.translated-ltr body,
html.translated-rtl body {
  top: 0 !important;
}
.reader-google-translate-loading {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 999999;
  display: none !important;
  align-items: center;
  justify-content: center;
  background: rgba(244, 244, 244, 0.88);
  color: #555;
  text-align: center;
}
.reader-google-translate-loading.on {
  display: flex !important;
}
.reader-google-translate-loading-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  line-height: 20px;
}
.reader-google-translate-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(20, 66, 93, 0.22);
  border-top-color: #14425d;
  border-radius: 50%;
  animation: readerGoogleTranslateSpin 0.75s linear infinite;
}
@keyframes readerGoogleTranslateSpin {
  to { transform: rotate(360deg); }
}
html.reader-google-translate-init:before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 999998;
  background: rgba(244, 244, 244, 0.92);
}
html.reader-google-translate-init:after {
  content: "Translating...";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 999999;
  transform: translate(-50%, -50%);
  padding: 10px 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  color: #555;
  font-size: 14px;
  line-height: 20px;
}
html.reader-google-translate-night.reader-google-translate-init:before,
html[data-fwn-lights="off"].reader-google-translate-init:before {
  background: rgba(34, 34, 34, 0.92);
}
html.reader-google-translate-night.reader-google-translate-init:after,
html[data-fwn-lights="off"].reader-google-translate-init:after {
  background: rgba(45, 45, 45, 0.96);
  color: #aaa;
}
html[data-fwn-lights="off"] .reader-google-translate-loading {
  background: rgba(34, 34, 34, 0.9);
  color: #aaa;
}
html[data-fwn-lights="off"] .reader-google-translate-loading-inner {
  background: rgba(45, 45, 45, 0.96);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
html[data-fwn-lights="off"] .reader-google-translate-spinner {
  border-color: rgba(170, 170, 170, 0.22);
  border-top-color: #aaa;
}


#chapter-content .fwn-tts-active {
  background-color: rgb(228, 228, 228);
  transition: background-color 0.15s ease;
}
html[data-fwn-lights="off"] #chapter-content .fwn-tts-active,
body.fwn-dark-read #chapter-content .fwn-tts-active,
.m-read.dark-background #chapter-content .fwn-tts-active,
#container.dark-background #chapter-content .fwn-tts-active {
  background-color: rgb(58, 58, 58);
}


.fwn-scroll-settings {
  display: block;
}
.fwn-scroll-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  width: 100%;
}
.fwn-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  font-weight: normal;
  user-select: none;
}
.fwn-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.fwn-switch-slider {
  position: relative;
  width: 36px;
  height: 20px;
  flex: 0 0 auto;
  background: #c5ced6;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}
.fwn-switch-slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}
.fwn-switch input:checked + .fwn-switch-slider {
  background: var(--theme-primary, var(--fwn-btn, #14425d));
}
.fwn-switch input:checked + .fwn-switch-slider::after {
  transform: translateX(16px);
}
.fwn-switch-label {
  font-size: 12px;
  color: #555;
  white-space: nowrap;
}
.fwn-scroll-speed {
  width: 52px !important;
  min-width: 52px;
  margin-left: auto;
  padding: 0 4px !important;
  height: 28px;
  line-height: 28px;
}
html[data-fwn-lights="off"] .fwn-switch-slider {
  background: #555;
}
html[data-fwn-lights="off"] .fwn-switch-label {
  color: #bbb;
}






.page-chapter .fwn-catalog-status{display:block;max-width:260px;margin:5px auto;color:var(--fwn-ui-muted);font:12px/1.5 Arial,sans-serif;white-space:normal}
.page-chapter .fwn-catalog-status[hidden]{display:none}
.page-chapter .fwn-reader-end{margin:24px 0;padding:18px;border:1px solid var(--fwn-ui-border);border-left:4px solid var(--fwn-action);border-radius:5px;font:14px/1.6 Arial,sans-serif;color:var(--fwn-ui-text)}
.page-chapter .fwn-reader-end h2{display:block;font-size:18px;font-weight:600;margin:0 0 8px}
.page-chapter .fwn-reader-end p{margin:0 0 8px}
.page-chapter .fwn-reader-end a{display:inline-flex;align-items:center;min-height:44px;margin-right:16px;color:var(--fwn-ui-link)}
@media(max-width:767px){.page-chapter .fwn-reader-end{padding:14px}}
