/* 夜幕纸墨 — 深色底、青灰字色与弱对比正文区 */
body {
  background-color: #121820 !important;
  color: #c8d0da !important;
}
body a {
  color: #7ebdc9 !important;
}
body a:hover {
  color: #9fd4dd !important;
}
.wrap,
.nav_type ul,
.h_submenucon {
  width: 1000px !important;
  max-width: calc(100vw - 24px) !important;
}
.header {
  background: #151d28 !important;
  border-bottom: 1px solid #2d3b4d;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.logo-seo-name {
  color: #8cc8d4 !important;
}
.logo-seo-keywords {
  color: #c8d0da !important;
  opacity: 0.68;
}
.nav {
  background: #1a232f !important;
  border-bottom: 1px solid #2d3b4d;
}
.nav ul li a {
  color: #c8d0da !important;
  opacity: 0.9;
}
.search .input {
  border-color: #2d3b4d !important;
  background: rgba(255,255,255,.88);
}
.search .button {
  background: #8cc8d4 !important;
  color: #fff !important;
  border: none;
  opacity: 0.95;
}
.search .button:hover {
  opacity: 1;
  filter: brightness(1.05);
}
#footer {
  color: #c8d0da !important;
  opacity: 0.82;
}
.page-book-catalog #maininfo {
  background: transparent !important;
}
.page-book-catalog #intro {
  border-color: #2d3b4d !important;
}
.m-book-dir-primary {
  background: #8cc8d4 !important;
  color: #fff !important;
}
.page-search .so_list h2,
.page-author .so_list h2 {
  color: #8cc8d4 !important;
}

/* 深色：衬板、h2、路径与列表与主题一致 */
body.page-home,
body.page-type {
  background: linear-gradient(180deg, #121820 0%, #1e2836 45%) !important;
}
.page-home .hot .l,
.page-home .hot .r,
.page-home .up .l,
.page-home .up .r,
.page-home .type .block,
.page-type .hot.bd,
.page-type .up .l,
.page-type .up .r {
  background: #1e2836 !important;
  border-color: #2d3b4d !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.18) !important;
}
.page-type .hot.bd {
  border-color: #2d3b4d !important;
  box-shadow: 0 6px 22px rgba(0,0,0,.2) !important;
  background: #1e2836 !important;
}
.page-home .hot h2,
.page-home .up h2,
.page-type .up h2 {
  background: linear-gradient(105deg, #1e2836 0%, #121820 50%) !important;
  color: #c8d0da !important;
  border-bottom: 1px solid #2d3b4d !important;
}
.page-home .type .block h2 {
  background: rgba(255,255,255,.04) !important;
  color: #c8d0da !important;
  border-bottom-color: #2d3b4d !important;
}
.wrap .bd {
  border-color: #2d3b4d !important;
}
.type {
  border-color: #8cc8d4 !important;
  background: #1e2836 !important;
}
.type .block {
  border-right-color: #2d3b4d !important;
}
.hot .l,
.hot .r {
  background: #1e2836 !important;
  border-color: #2d3b4d !important;
}
.up .l,
.up .r {
  background: #1e2836 !important;
  border-color: #2d3b4d !important;
}
.up .l li,
.up .r li {
  border-bottom-color: #2d3b4d !important;
}
.up .l li a,
.up .r li a,
.type .block ul li a,
.novellist li a:link {
  color: #7ebdc9 !important;
}
.page-home .up .l li .up-cat,
.page-home .up .r li .up-cat,
.page-type .up .l li .up-cat,
.page-type .up .r li .up-cat {
  color: #b8c2d0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}
.item dl dt {
  border-bottom-color: #2d3b4d !important;
}
.page-home .hot .l .item dl dt,
.page-type .hot .ll .item dl dt {
  border-bottom-color: #2d3b4d !important;
}
.list_col2 .ranklist .top em {
  background: #8cc8d4 !important;
  color: #fff !important;
}
body:not(#wrapper) .path {
  background: #1a232f !important;
  border-color: #2d3b4d !important;
}
body:not(#wrapper) .path .p {
  background: #1e2836 !important;
  color: #c8d0da !important;
  border-bottom-color: #2d3b4d !important;
}
body:not(#wrapper) .path a {
  color: #7ebdc9 !important;
}
#book,
.listmain,
.comment {
  border-color: #2d3b4d !important;
}
.listmain dl dt,
.comment dt {
  background: linear-gradient(105deg, #1e2836 0%, #1a232f 55%) !important;
  color: #c8d0da !important;
  border-color: #2d3b4d !important;
}
.listmain dl dd {
  border-bottom-color: #2d3b4d !important;
}
.listmain dd a:link {
  color: #7ebdc9 !important;
}
.page-book-catalog #intro {
  background: rgba(255,255,255,.04) !important;
  border-color: #2d3b4d !important;
  color: #c8d0da !important;
}
#intro {
  border-color: #2d3b4d !important;
}
#fmimg img {
  border-color: #2d3b4d !important;
}
.search .input {
  background: #1e2836 !important;
  color: #c8d0da !important;
  border-color: #2d3b4d !important;
}
.m-book-dir-btn:not(.m-book-dir-primary) {
  border-color: #2d3b4d !important;
  color: #c8d0da !important;
}
body#wrapper.reader-page #book > .path {
  background: var(--reader-body-bg, #1a232f) !important;
  border-color: #2d3b4d !important;
}
body#wrapper.reader-page #book > .path > .p {
  background: var(--reader-showtxt-bg, #1e2836) !important;
  color: var(--reader-showtxt-color, #b8c2d0) !important;
}
body#wrapper.reader-page #book > .path a {
  color: var(--reader-showtxt-color, #7ebdc9) !important;
}
body#wrapper.reader-page .page_chapter li {
  background: var(--reader-body-bg, linear-gradient(180deg, #8cc8d4 0%, #7ebdc9 100%)) !important;
  border-color: #2d3b4d !important;
}
body#wrapper.reader-page .page_chapter li a {
  color: var(--reader-showtxt-color, #fff) !important;
}
body#wrapper.reader-page .page_chapter li a:hover {
  background: #9fd4dd !important;
}
.link,
.linkk {
  border-color: #2d3b4d !important;
  background: #1e2836 !important;
}
body#wrapper.reader-page .linkk {
  background: var(--reader-showtxt-bg, #1e2836) !important;
  color: var(--reader-showtxt-color, #c8d0da) !important;
}
.link a,
.linkk a,
#footer a {
  color: #7ebdc9 !important;
}
body#wrapper.reader-page .linkk a {
  color: var(--reader-showtxt-color, #7ebdc9) !important;
}
body.page-home #footer .link {
  border-color: #2d3b4d !important;
  background: #1e2836 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
}
.wrap .bookcase,
.bookcase {
  border-color: #2d3b4d !important;
}
.bookcase h2 {
  background: linear-gradient(105deg, #1e2836 0%, #1a232f 50%) !important;
  color: #c8d0da !important;
  border-bottom-color: #2d3b4d !important;
}
.book_more {
  background: linear-gradient(180deg, #8cc8d4 0%, #7ebdc9 100%) !important;
}
.book_more a {
  color: #fff !important;
}
.novellist h2 {
  background: linear-gradient(105deg, #1a232f 0%, #1e2836 100%) !important;
  color: #c8d0da !important;
  border-bottom-color: #2d3b4d !important;
}
.read_book ul {
  background: #1a232f !important;
}
.read_book li a {
  color: #7ebdc9 !important;
}
table.grid caption,
.gridtop {
  background: #1a232f !important;
  border-color: #2d3b4d !important;
  color: #c8d0da !important;
}
table.grid {
  border-color: #2d3b4d !important;
}
table.grid td {
  border-color: #2d3b4d !important;
}
.rank .block {
  border-color: #2d3b4d !important;
}
.rank h2 {
  background: linear-gradient(105deg, #1a232f 0%, #1e2836 100%) !important;
  color: #c8d0da !important;
  border-bottom-color: #2d3b4d !important;
}
.page-search {
  background: linear-gradient(180deg, #121820 0%, #1e2836 42%, #1e2836 100%) !important;
}
.page-search .so_list.bookcase {
  border-color: #2d3b4d !important;
  background: #1e2836 !important;
  box-shadow: 0 6px 22px rgba(0,0,0,.14) !important;
}
.page-search .so_list.bookcase h2 {
  background: linear-gradient(105deg, #8cc8d4 0%, #7ebdc9 100%) !important;
  color: #fff !important;
}
.page-search .so_list .bookbox {
  border-color: #2d3b4d !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.08) !important;
}
.page-search .so_list .bookname a {
  color: #7ebdc9 !important;
}
.page-search .so_list .cat,
.page-search .so_list .author,
.page-search .so_list .update {
  color: #c8d0da !important;
  opacity: 0.88;
}
.page-search .so_list .bookinfo p {
  color: #c8d0da !important;
  opacity: 0.9;
}
.page-search #footer hr {
  border-top-color: #2d3b4d !important;
}
.so_list.bookcase {
  border-color: #2d3b4d !important;
}
.so_list.bookcase > h2 {
  background: linear-gradient(105deg, #8cc8d4 0%, #7ebdc9 100%) !important;
  color: #fff !important;
}
.h_submenucon {
  border-color: #2d3b4d !important;
}


body#wrapper.reader-page {
  background: var(--reader-body-bg, #121820) !important;
}
body#wrapper.reader-page .content h1 {
  color: var(--reader-showtxt-color, #f1f5f9) !important;
}
body#wrapper.reader-page #content.showtxt {
  background: var(--reader-showtxt-bg, #1e2430) !important;
  color: var(--reader-showtxt-color, #e7ecf4) !important;
  border: 1px solid #2d3b4d !important;
}
body#wrapper.reader-page .reader-toolbar {
  background: var(--reader-showtxt-bg, rgba(30,36,48,.92)) !important;
  border: 1px solid #2d3b4d !important;
}
body#wrapper.reader-page .reader-toolbar-label {
  color: var(--reader-showtxt-color, #94a3b8) !important;
}


/* 阅读页「风格」工具条：护眼/黑夜时随 read.js 注入的 --reader-* 变量；未设置时回落主题色 */
body#wrapper.reader-page.layout-t03 .reader-toolbar {
  background: linear-gradient(145deg, var(--reader-showtxt-bg, #1e2836) 0%, var(--reader-body-bg, #1a232f) 100%) !important;
  border: 1px solid #2d3b4d !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.22) !important;
}
body#wrapper.reader-page.layout-t03 .reader-toolbar--compact {
  padding: 7px 10px !important;
  margin-bottom: 8px !important;
}
body#wrapper.reader-page.layout-t03 .reader-toolbar-label {
  color: var(--reader-showtxt-color, #8cc8d4) !important;
  font-weight: 600 !important;
}
body#wrapper.reader-page.layout-t03 .reader-toolbar-row {
  background: transparent !important;
}
body#wrapper.reader-page.layout-t03 .reader-fontsize.reader-fs-pills {
  background: rgba(255,255,255,.06) !important;
  border-color: #2d3b4d !important;
}
body#wrapper.reader-page.layout-t03 .reader-fs-pill {
  color: var(--reader-showtxt-color, #cbd5e1) !important;
  border-color: #8cc8d4 !important;
}
body#wrapper.reader-page.layout-t03 .reader-fs-pill:hover {
  background: rgba(255,255,255,.1) !important;
  color: var(--reader-showtxt-color, #cbd5e1) !important;
}
body#wrapper.reader-page.layout-t03 .reader-fs-pill.is-active {
  background: #8cc8d4 !important;
  color: #fff !important;
  border-color: #8cc8d4 !important;
}
body#wrapper.reader-page.layout-t03 .reader-swatch:hover {
  border-color: #8cc8d4 !important;
}
body#wrapper.reader-page.layout-t03 .reader-bg .reader-swatch.is-active,
body#wrapper.reader-page.layout-t03 .reader-fg .reader-swatch.is-active {
  border-color: #8cc8d4 !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.45) inset !important;
}
body#wrapper.reader-page.layout-t03 .reader-mode-toggle {
  border-color: #8cc8d4 !important;
  color: var(--reader-showtxt-color, #cbd5e1) !important;
  background: rgba(255,255,255,.06) !important;
}
body#wrapper.reader-page.layout-t03 .reader-mode-toggle.is-active {
  background: #8cc8d4 !important;
  color: #fff !important;
  border-color: #8cc8d4 !important;
}


/* 目录页 list.php：.page-book-catalog 在 style.css 中专款专色，需整体覆盖 */
.page-book-catalog {
  background: linear-gradient(180deg, #121820 0%, #1e2836 40%, #1e2836 100%) !important;
}
.page-book-catalog #book {
  border-color: #2d3b4d !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.14) !important;
  background: #1e2836 !important;
}
.page-book-catalog .path .p {
  border-bottom-color: #2d3b4d !important;
  background: linear-gradient(180deg, #1e2836 0%, #1a232f 100%) !important;
  color: #c8d0da !important;
}
.page-book-catalog .path .p a {
  color: #7ebdc9 !important;
}
.page-book-catalog #fmimg img {
  border-color: #2d3b4d !important;
}
.page-book-catalog #info h1 {
  color: #8cc8d4 !important;
}
.page-book-catalog #info p,
.page-book-catalog #infoo p {
  color: #c8d0da !important;
}
.page-book-catalog #info a {
  color: #7ebdc9 !important;
}
.page-book-catalog #intro {
  border-top-color: #2d3b4d !important;
  background: linear-gradient(180deg, #1e2836 0%, #1a232f 100%) !important;
  color: #c8d0da !important;
}
.page-book-catalog #intro p {
  color: #c8d0da !important;
}
.page-book-catalog .m-book-dir-select {
  border-color: #2d3b4d !important;
  background: #1e2836 !important;
  color: #c8d0da !important;
}
.page-book-catalog .m-book-dir-primary {
  background: linear-gradient(105deg, #8cc8d4 0%, #7ebdc9 100%) !important;
  border-color: #8cc8d4 !important;
  color: #fff !important;
}
.page-book-catalog .m-book-dir-btn:not(.m-book-dir-primary) {
  border-color: #2d3b4d !important;
  background: #1e2836 !important;
  color: #7ebdc9 !important;
}
.page-book-catalog .listmain-latest,
.page-book-catalog .listmain,
.page-book-catalog .comment {
  border-color: #2d3b4d !important;
  box-shadow: 0 6px 22px rgba(0,0,0,0.12) !important;
  background: #1e2836 !important;
}
.page-book-catalog .listmain dl dt,
.page-book-catalog .listmain-latest dl dt {
  background: linear-gradient(105deg, #8cc8d4 0%, #7ebdc9 100%) !important;
  color: #fff !important;
}
.page-book-catalog .listmain-latest-meta {
  color: rgba(255,255,255,0.92) !important;
}
.page-book-catalog .listmain dl dd {
  border-bottom-color: #2d3b4d !important;
}
.page-book-catalog .listmain dl dd a {
  color: #7ebdc9 !important;
}
.page-book-catalog .listmain dl dd a:hover {
  color: #9fd4dd !important;
}
.page-book-catalog .comment dt {
  background: linear-gradient(105deg, #8cc8d4 0%, #7ebdc9 100%) !important;
  color: #fff !important;
}
.page-book-catalog .comment dd {
  border-bottom-color: #2d3b4d !important;
}
.page-book-catalog .catalog-comment-links {
  border-top-color: #2d3b4d !important;
  background: transparent !important;
}
.page-book-catalog #footer .link {
  border-color: #2d3b4d !important;
  background: #1e2836 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}
.page-book-catalog .comment_more {
  color: #7ebdc9 !important;
}


/* 分类页 type.php：最近更新区分页（.type-pager） */
.type-pager {
  border-top-color: #2d3b4d !important;
}
.type-pager-link,
.type-pager-prev,
.type-pager-next {
  color: #7ebdc9 !important;
  background: #1a232f !important;
  border-color: #2d3b4d !important;
}
.type-pager-link:hover,
.type-pager-prev:hover,
.type-pager-next:hover {
  background: linear-gradient(105deg, #8cc8d4 0%, #7ebdc9 100%) !important;
  border-color: #8cc8d4 !important;
  color: #fff !important;
}
.type-pager-cur {
  background: linear-gradient(105deg, #8cc8d4 0%, #7ebdc9 100%) !important;
  color: #fff !important;
  border: 1px solid #8cc8d4 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22) !important;
}


/* 主菜单 .nav 与分类标签 .nav_type：圆角随套区分（打破全站统一大圆角/胶囊） */
body.layout-t03 .nav {
  border-radius: 5px !important;
}
body.layout-t03 .nav_type ul {
  border-radius: 7px !important;
}
body.layout-t03 .nav_type li,
body.layout-t03 .nav_type li a {
  border-radius: 5px !important;
}
@media screen and (max-width: 991px) {
  body.layout-t03 .nav {
    border-radius: 4px !important;
  }
  body.layout-t03 .nav li a {
    border-radius: 5px !important;
  }
  body.layout-t03 #main-nav-block.m-open {
    border-radius: 8px !important;
    overflow: hidden !important;
  }
  body.layout-t03 #main-nav-block.m-open > ul > li,
  body.layout-t03 #main-nav-block.m-open > ul > li a {
    border-radius: 5px !important;
  }
}


/* 窄屏：覆盖 style.css 中统一的青底/h2 灰条，按套区分字号与主题色（作用域 layout-t03） */
@media screen and (max-width: 991px) {
  html {
    font-size: 17px !important;
  }
  body.layout-t03:not(.reader-page) {
    background: linear-gradient(180deg, #121820 0%, #1e2836 42%) !important;
    color: #c8d0da !important;
  }
  body.page-type.layout-t03:not(.reader-page) {
    background: linear-gradient(180deg, #121820 0%, #1e2836 45%, #1e2836 100%) !important;
  }
  body.layout-t03:not(.reader-page) .hot h2,
  body.layout-t03:not(.reader-page) .up h2,
  body.layout-t03:not(.reader-page) .listmain dl dt,
  body.layout-t03:not(.reader-page) .comment dt,
  body.layout-t03:not(.reader-page) .novellist h2,
  body.layout-t03:not(.reader-page) .bookcase h2,
  body.layout-t03:not(.reader-page) .type h2,
  body.layout-t03:not(.reader-page) .page-home .type .block h2,
  body.layout-t03:not(.reader-page) .so_list h2 {
    background: linear-gradient(105deg, #1a232f 0%, #1e2836 100%) !important;
    color: #c8d0da !important;
    border-bottom: 1px solid #2d3b4d !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }
  body.layout-t03 #main-nav-block.m-open > ul > li a {
    font-size: 14px !important;
  }
  body.layout-t03:not(.reader-page) .path {
    background: #1a232f !important;
    border-color: #2d3b4d !important;
  }
  body.layout-t03:not(.reader-page) .path .p {
    font-size: 12px !important;
    background: rgba(255,255,255,.08) !important;
    color: #b8c2d0 !important;
    border-bottom-color: #2d3b4d !important;
  }
  body.layout-t03 #main-nav-block.m-open {
    background: linear-gradient(155deg, #8cc8d4 0%, #7ebdc9 52%, #1a232f 100%) !important;
    border: 1px solid rgba(255,255,255,0.38) !important;
    box-shadow: 0 12px 36px rgba(0,0,0,0.28) !important;
    margin-left: 4px !important;
    margin-right: 4px !important;
  }
  body.layout-t03 .m-header-home {
    color: #8cc8d4 !important;
  }
  body.layout-t03 .m-header-home:hover {
    color: #9fd4dd !important;
  }
  body.layout-t03 .m-header-actions .m-icon-btn {
    background: #121820 !important;
    color: #8cc8d4 !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.26) !important;
  }
  body.layout-t03 .m-header-actions .m-icon-btn:active {
    background: #1a232f !important;
    color: #8cc8d4 !important;
    filter: none;
    opacity: 0.94;
  }
  body#wrapper.reader-page.layout-t03 {
    --reader-showtxt-font-size: 17px !important;
  }
  body.layout-t03.page-book-catalog .listmain dl dt,
  body.layout-t03.page-book-catalog .listmain-latest dl dt,
  body.layout-t03.page-book-catalog .comment dt {
    background: linear-gradient(105deg, #8cc8d4 0%, #7ebdc9 100%) !important;
    color: #fff !important;
    border-bottom: none !important;
  }
  body.layout-t03.page-book-catalog .listmain-latest-meta {
    color: rgba(255,255,255,0.92) !important;
  }
  body.layout-t03.page-book-catalog .m-book-dir-select {
    border-color: #2d3b4d !important;
    background: #1e2836 !important;
    color: #c8d0da !important;
  }
  body.layout-t03.page-book-catalog .m-book-dir-btn:not(.m-book-dir-primary) {
    border-color: #2d3b4d !important;
    background: #1e2836 !important;
    color: #7ebdc9 !important;
  }
  body.layout-t03.page-book-catalog .m-book-dir-primary {
    background: linear-gradient(105deg, #8cc8d4 0%, #7ebdc9 100%) !important;
    border-color: #8cc8d4 !important;
    color: #fff !important;
  }
  body.layout-t03.page-book-catalog #intro {
    border-top-color: #2d3b4d !important;
  }
  body.layout-t03.page-book-catalog .listmain dl {
    border-color: #2d3b4d !important;
  }
  body.layout-t03.page-book-catalog .listmain dl dd {
    border-right-color: #2d3b4d !important;
    border-bottom-color: #2d3b4d !important;
    background: #1e2836 !important;
  }
  body.layout-t03.page-book-catalog .listmain dl dd:nth-child(2n) {
    border-right-color: #2d3b4d !important;
  }
  body.layout-t03.page-book-catalog .listmain dl dd:nth-of-type(4n + 1),
  body.layout-t03.page-book-catalog .listmain dl dd:nth-of-type(4n + 2) {
    background: #1e2836 !important;
  }
  body.layout-t03.page-book-catalog .listmain dl dd:nth-of-type(4n + 3),
  body.layout-t03.page-book-catalog .listmain dl dd:nth-of-type(4n + 4) {
    background: #1a232f !important;
  }
  body.layout-t03:not(.reader-page) .up .l li:nth-child(odd),
  body.layout-t03:not(.reader-page) .up .r li:nth-child(odd) {
    background: #1e2836 !important;
  }
  body.layout-t03:not(.reader-page) .up .l li:nth-child(even),
  body.layout-t03:not(.reader-page) .up .r li:nth-child(even) {
    background: rgba(255,255,255,.09) !important;
  }

  body.layout-t03:not(.reader-page) #book,
  body.layout-t03:not(.reader-page) .listmain,
  body.layout-t03:not(.reader-page) .comment,
  body.layout-t03:not(.reader-page) .wrap .hot .l,
  body.layout-t03:not(.reader-page) .wrap .hot .r,
  body.layout-t03:not(.reader-page) .wrap .hot.bd,
  body.layout-t03:not(.reader-page) .wrap .up .l,
  body.layout-t03:not(.reader-page) .wrap .up .r,
  body.layout-t03:not(.reader-page) .novellist,
  body.layout-t03:not(.reader-page) .item {
    background: #1e2836 !important;
    border-color: #2d3b4d !important;
    color: #c8d0da !important;
  }
  body.layout-t03:not(.reader-page) .h_submenucon {
    background: #1e2836 !important;
    border-color: #2d3b4d !important;
    color: #c8d0da !important;
  }

}
/* __LAYOUT_VARIANTS_BEGIN__ */

/* layout-t03: 版式已与 biquge_pc 对齐；站点差异主要靠 theme.css 配色与版心。 */
body.layout-t03 .path-trail > .path-item + .path-item::before {
	content: '::' !important;
}

/* __LAYOUT_VARIANTS_END__ */
