@charset "utf-8";
:root {
	--mb: 1px;
	--main: #007bff;
	--base: #333;
	--dark: #202935;
	--white: #fff;
	--bdbg: #f4f4f4;
	--tint: #fbfbfb;
	--line: #f3f3f3;
	--gray: #999;
    --swiper-theme-color: #fff;
    --swiper-navigation-size: 20px;
    --swiper-pagination-bullet-width: 15px;
    --swiper-pagination-bullet-height: 4px;
    --swiper-pagination-bullet-border-radius: 10px;
}
.darking:root {
	--base: #ccc;
	--dark: #14181b;
	--white: #14181b;
	--bdbg: #0c0f14;
	--tint: #1d2025;
	--line: #1d2025;
	--gray: #555;
}
.feather-moon {display: inline;}
.feather-sun {display: none;}
html.darking .feather-moon {display: none;}
html.darking .feather-sun {display: inline;}
* {margin: 0px;padding: 0px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;-o-box-sizing: border-box;box-sizing: border-box;}
html,body {font-family: -apple-system,BlinkMacSystemFont,"Microsoft Yahei",MiSans,"HarmonyOS Sans","Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";line-height: 1.5;color: var(--base);font-size: 16px;background-color: var(--bdbg);height: 100%;display: flex;flex-direction: column;}
ul,li {list-style: none;}
img {border: 0px;max-width: 100%;max-height: 100%;}
em,i,u,s,b,strong {font-style: normal;font-weight: normal;text-decoration: none;}
a {cursor: pointer;color: var(--base);text-decoration: none;display: inline-block;}
a:hover {color: var(--main);}
button {cursor: pointer;border: none;background-color: inherit;}
h1,h2,h3,h4,h5,h6 {font-weight: 400;}
h1 {font-size: 1.25rem;}
h2 {font-size: 1.125rem;}
h3 {font-size: 1rem;}
h4 {font-size: 0.875rem;}

.container {width: 100%;max-width: 100%;margin: auto;position: relative;}
.text-muted {color: #777;font-size: 0.75rem;}
.nobook {font-size: 0.875rem;padding: 10px;color: var(--gray);}

/* section */
section {margin-top: var(--mb);background-color: var(--white);border-radius: 0;}
section .head {display: flex;align-items: center;justify-content: space-between;border-bottom: 2px solid var(--line);padding: 10px 20px;background-color: var(--tint);border-bottom: 1px solid var(--line);}
section .head .left {margin-right: 0.75rem;}
section .head .right {overflow: hidden;}
section .head .more {color: #777;font-size: 0.75rem;}
section .head h3 {position: relative;display: flex;align-items: center;}
section .head h3::before {content: "";height: 1rem;width: 4px;border-radius: 10px;background-color: var(--main);display: inline-block;margin-right: 13px;}
section .head nav {display: flex;align-items: center;}
section .head nav a {padding: 0.375rem 0.875rem;border-radius: 1rem;font-size: 0.875rem;color: #1E232D;transition: all .2s ease-in-out;position: relative;margin-left: 0.75rem;}
section .head nav a.active,
section .head nav a:hover {color: #fff;background-color: #c99a05;}
section .head small {margin-top: 6px;color: #666;font-size: 0.75rem;line-height: 1.125rem;display: flex;align-items: center;}
section .head small span {color: #c99a05;margin: 0 0.375rem;}

/* header */
header {width: 100%;padding: 0 1rem;background-color: var(--white);}
header a {height: 100%;display: inline-flex;align-items: center;}
.header-navbar {flex: 1;display: flex;align-items: center;justify-content: space-between;flex-direction: row;flex-wrap: wrap;}
.header-navbar .logo {margin-right: 2rem;}
.header-navbar .logo .feather {margin-right: 0.25rem;}
.header-navbar .btns {display: inline-flex;align-items: center;height: 3rem;}
.header-navbar .btns .feather {width: 1rem;height: 1rem;}
.header-navbar .btns a {margin-left: 1rem;}
/* nav */
.header-nav {display: none;flex: 1 0 100%;padding-bottom: 1rem;}
.sub-menu {}
.sub-menu > li {border-top: 1px solid var(--line);}
.sub-menu > li > a {display: block;padding: 0.75rem 0;}
.sub-menu li ul {display: flex;flex-wrap: wrap;border-top: 1px dashed var(--line);}
.sub-menu li ul li {flex: 1 0 25%;}
.sub-menu li ul li a {padding: 8px 0;display: block;white-space: nowrap;font-size: 0.875rem;}

/* search */
.search {display: flex;align-items: center;justify-content: flex-start;background-color: var(--bdbg);border: 1px solid transparent;padding: 5px 6px;border-radius: 4px;transition: background 150ms ease-in-out;}
.search:focus-within .input {color: var(--base);}
.search .feather {width: 16px;height: 16px;}
.search .input {display: flex;width: 100%;height: 30px;font-size: 13px;flex: 1 1 0%;padding: 1px;border: medium;margin: 0px 0px 0px 4px;background-color: var(--bdbg);color: var(--gray);outline: none;transition: background 150ms ease-in-out, color 150ms ease-in-out;}

/* main */
main {flex: 1;}

/* chapter */
.chapter {display: flex;flex-direction: column;}
.chapter .title {text-align: center;padding: 20px;}
.chapter .tool {display: flex;align-items: center;justify-content: center;border-top: 1px solid var(--line);border-bottom: 1px solid var(--line);padding: 10px 0;}
.chapter .tips {text-align: center;font-size: 0.875rem;color: #999;padding: 20px;}

/* chapter list */
.chapter-list {font-size: 0.875rem;padding: 10px 20px;}
.chapter-list a {margin-right: 1rem;font-size: 1;}

/* prenext */
.prenext {display: inline-flex;align-content: center;justify-content: center;font-size: 0.875rem;background-color: var(--line);margin: auto;line-height: 40px;border-radius: 20px;overflow: hidden;}
.prenext a {padding: 0 1.5rem;position: relative;}
.prenext a:first-child::before {content: none;}
.prenext a::before {content: "";width: 1px;height: 50%;position: absolute;left: 0;top: 50%;transform: translateY(-50%);background-color: var(--white);}

/* link */
.link {margin: 0 1rem;display: inline-flex;align-items: center;font-size: 0.875rem;}
.link a {margin: 0 .5rem;}

/* content */
.content {padding: 10px 30px;word-wrap: break-word;overflow-wrap: break-word;word-break: break-all;}
.content p {margin: 1rem 0;}

/* book */
.book {display: flex;flex-direction: column;overflow: hidden;position: relative;padding: 20px;margin-top: 1px;}
.book .info {display: flex;position: relative;z-index: 1;}
.book .cover {width: 120px;aspect-ratio: 100 / 130;border-radius: 4px;overflow: hidden;margin-right: 1rem;}
.book .cover img {object-fit: cover;width: 100%;height: 100%;}
.book .blur {position: absolute;top: 0;left: 0;opacity: .15;-webkit-filter: blur(18px);filter: blur(18px);object-fit: cover;width: 100%;height: 100%;}
.book .txt {flex: 1;}
.book .txt h1 {color: var(--base);margin-bottom: .5rem;}
.book .txt p {font-size: 0.875rem;}
.book .txt a {}
.book .btns {margin-top: 1rem;display: grid;grid-template-columns: repeat(2,1fr);grid-gap: 1rem;position: relative;z-index: 1;font-size: 0.875rem;}
.book .btns a {text-align: center;background: linear-gradient(324deg,#e60000,#ff6114);border-radius: 4px;color: #fff;padding: .5rem 0;}
.book .btns a.btn-read {background: var(--main);}
.book .btns a.btn-mark {background: #f7b10d;}

.book-desc {font-size: 0.875rem;padding: 10px 20px;}
.book-desc .tag {display: flex;align-items: center;flex-wrap: wrap;margin-top: 10px;}
.book-desc .tag .feather {width: 14px;height: 14px;}
.book-desc .tag a {margin-left: 0.875rem;}
.book-desc .tag a::before {margin-right: 0.25rem;content: "#";color: var(--main);}

.book-like {display: grid;grid-template-columns: repeat(4,1fr);padding: 10px;}
.book-like a {display: inline-flex;flex-direction: column;justify-content: center;align-items: center;font-size: 0.75rem;padding: 10px;border-radius: 6px;overflow: hidden;position: relative;}
.book-like a:hover {background-color: var(--tint);}
.book-like em {color: #fff;padding: 1px 10px;position: absolute;top: 15px;left: 15px;border-radius: 4px;line-height: 20px;opacity: .6;background: -webkit-linear-gradient(right, #73726d, #333);}
.book-like img {width: 100%;aspect-ratio: 100 / 130;border-radius: 4px;}
.book-like h4 {width: 100%;overflow: hidden;height: 24px;line-height: 24px;text-align: center;}
.book-like span {color: var(--gray);height: 18px;overflow: hidden;}
.book-like .delBook {border: 1px solid rgba(250, 100, 0, .5);padding: 0 0.375rem;color: rgba(250, 100, 0, .8);font-size: 0.75rem;margin-top: 0.3rem;}

.book-chapter {display: flex;flex-wrap: wrap;font-size: 0.875rem;padding: 10px;}
.book-chapter a {width: 100%;line-height: 38px;height: 38px;overflow: hidden;padding: 0 10px;border-radius: 6px;}
.book-chapter a:hover {background-color: var(--tint);}

.book-rand {display: flex;flex-wrap: wrap;font-size: 0.875rem;}
.book-rand a {flex: 1 1 100%;line-height: 38px;padding: 0 20px;height: 38px;overflow: hidden;}
.book-rand a:nth-child(n+2) {border-top: 1px solid var(--line);}
.book-rand a:hover {background-color: var(--tint);}

.book-coverlist {display: flex;flex-direction: column;padding: 10px;}
.book-coverlist li {display: inline-flex;padding: 10px;border-radius: 6px;overflow: hidden;}
.book-coverlist li:hover {background-color: var(--tint);}
.book-coverlist .cover {display: flex;flex: 1 0 120px;max-width: 120px;aspect-ratio: 100 / 130;border-radius: 4px;overflow: hidden;}
.book-coverlist .cover img {object-fit: cover;width: 100%;height: 100%;}
.book-coverlist .txt {padding-left: 1rem;color: #777;font-size: 0.75rem;}
.book-coverlist .titl {font-size: 1rem;}
.book-coverlist p {margin-top: .5rem;overflow: hidden;}
.book-coverlist .desc {display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 4;overflow: hidden;}
.book-coverlist .delBook {border: 1px solid rgba(250, 100, 0, .5);padding: 0 0.375rem;color: rgba(250, 100, 0, .8);margin-top: 0.5rem;}

.top-grid {display: grid;grid-template-columns: repeat(1,1fr);}
.top-grid-list {display: flex;flex-wrap: wrap;flex-direction: column;}
.top-grid-list a {flex: 1 1 100%;display: inline-grid;grid-template-columns: 1fr 80px;font-size: 0.875rem;line-height: 38px;padding: 0 20px;}
.top-grid-list a + a {border-top: 1px solid var(--line);}
.top-grid-list a:hover {background-color: var(--tint);}
.top-grid-list h4 {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.top-grid-list small {overflow: hidden;height: 38px;margin-left: 1rem;text-align: end;}

.chapter-new {display: flex;flex-direction: column;font-size: 0.875rem;font-size: 0.875rem;}
.chapter-new li {font-size: 0.875rem;display: flex;justify-content: space-between;gap: 0.5rem;flex-wrap: wrap;padding: 10px 20px;}
.chapter-new li + li {border-top: 1px solid var(--line);}
.chapter-new li:hover {background-color: var(--tint);}
.chapter-new span {color: #777;overflow: hidden;}
.chapter-new a {overflow: hidden;}
.chapter-new .type {}
.chapter-new .name {flex: 1 0 100%;}
.chapter-new .zj {flex: 1 0 100%;}
.chapter-new .author {flex: 1;}
.chapter-new .time {}

.detail {display: flex;flex-wrap: wrap;row-gap: 0.25rem;font-size: 0.75rem;color: var(--gray);}
.detail dl {width: 50%;display: inline-flex;align-items: center;}
.detail dt {display: inline-flex;margin-right: 0.5rem;white-space: nowrap;}
.detail dd {display: inline-flex;flex: 1 0 auto;}
.detail a {margin-right: 0.5rem;}
.detail .feather {width: 14px;height: 14px;}
.detail .authors {width: 100%;}
.detail .categories {width: 100%;}
.detail .new {width: 100%;overflow: hidden;}

.links {display: flex;flex-wrap: wrap;font-size: 0.875rem;padding: 10px 20px;}
.links a {margin-right: 1rem;}

/* page */
.page {display: flex;align-items: center;justify-content: center;margin-top: var(--mb);font-size: 0.875rem;}
.page span {color: var(--gray);}
.page span,
.page a {padding: 8px 12px;margin: 0 0.25rem;border-radius: 6px;}
.page a:hover {background-color: var(--white);}

/* footer */
footer {text-align: center;padding: 1rem 0;font-size: 0.75rem;background-color: var(--white);margin-top: var(--mb);color: var(--gray);}
footer a {color: var(--gray);}

/* dropdown */
.dropdown {position: relative;display: inline-flex;align-items: center;margin-left: 1rem;background-color: var(--bdbg);width: 30px;height: 30px;justify-content: center;border-radius: 50%;}
.dropdown a {margin-left: 0 !important;}
.dropdown ul {position: absolute;top: 150%;left: 50%;padding: 0;margin: 0;background-color: rgb(229 233 240);color: rgb(46 52 64);z-index: 1000;height: auto;transform: translateX(-50%);border-radius: 6px;transition: all .3s ease-in-out;visibility: hidden;opacity: 0;padding: 5px 0;border-top: none;}
.dropdown ul::before,
.dropdown ul::after {content: "";position: absolute;top: -5px;left: 50%;margin-left: -5px;border-left: 5px solid rgba(0,0,0,0);border-right: 5px solid rgba(0,0,0,0);}
.dropdown ul::before {border-bottom: 5px solid rgb(229 233 240);}
.dropdown ul::after {border-bottom: 5px solid rgb(229 233 240);margin-top: 1px;}
.dropdown ul li a {padding: 8px 16px;display: flex;align-items: center;white-space: nowrap;font-size: 0.875rem;color: rgb(46 52 64);}
.dropdown ul li a:hover {background-color: #D8DEE9;}
.dropdown:hover ul {visibility: visible;opacity: 1;top: 120%;}

.dropdown-row {display: grid;grid-template-columns: repeat(1, 1fr);padding: 5px !important;}
.dropdown-row li {}
.dropdown-row li a {border-radius: 4px;}

/* swiper */
.swiper {width: 100%;aspect-ratio: 100 / 40;}
.swiper-slide {text-align: center;font-size: 18px;background: #fff;display: flex;justify-content: center;align-items: center;}
.swiper-slide img {display: block;width: 100%;height: 100%;object-fit: cover;}
.swiper-pagination-bullet {background: rgba(0,0,0,0.2);opacity: 1;}
.swiper-pagination-bullet-active {position: relative;}
.swiper-pagination-bullet-active:before {content:'';width: var(--swiper-pagination-bullet-height);height: var(--swiper-pagination-bullet-height);background: var(--swiper-theme-color);border-radius: var(--swiper-pagination-bullet-border-radius);animation: tear-animation 3s linear forwards;display: inline-block;position: absolute;top: 0;left: 0;}
@keyframes tear-animation {0% {width: var(--swiper-pagination-bullet-height);} 100% {width: var(--swiper-pagination-bullet-width);}}

@media (min-width: 1140px) {
	:root {
		--mb: 1rem;
		--swiper-navigation-size: 30px;
		--swiper-pagination-bullet-width: 30px;
	}
	.container {max-width: 1140px;}
	section {border-radius: 6px;overflow: hidden;}
	header .container {display: flex;justify-content: space-between;align-items: center;}
	.header-navbar {padding: 0.125rem 0;}
	.header-navbar .logo {order: 1;}
	.header-navbar .header-nav {order: 2;flex: 1;}
	.header-navbar .btns {order: 3;}
	header .menu {display: none;}
	.header-nav {display: flex;align-items: center;padding-bottom: 0;}
	.search .input {height: 20px;}
	.book {margin: 1rem auto;}
	.book .cover {width: 180px;margin-right: 20px;}
	.book .txt h1 {margin-bottom: 1rem;}
	.book-desc .tag .feather {width: 16px;height: 16px;}
	.book-like {grid-template-columns: repeat(8,1fr);}
	.book-like a {flex-shrink: inherit;width: auto;}
	.book-like em {background: #000;}
	.book-chapter a {width: 25%;}
	.book-rand a {flex: 1 1 25%;}
	.book-rand a:nth-child(n+2) {border-top: none;}
	.book-rand a:nth-child(n+5) {border-top: 1px solid var(--line);}
	.book-coverlist {display: grid;grid-template-columns: repeat(2,1fr);grid-gap: 1rem;}
	.top-grid {grid-template-columns: repeat(2,1fr);column-gap: 1rem;}
	.chapter-new li {flex-wrap: inherit;height: 38px;line-height: 38px;padding: 0 20px;}
	.chapter-new .name {flex: 1;}
	.chapter-new .zj {flex: 1;}
	.chapter-new .author {flex: none;width: 80px;}
	/* sub-menu */
	.sub-menu {flex: 1;display: flex;}
	.sub-menu > li {position: relative;margin: 0 1rem;border-top: none;}
	.sub-menu > li.children > a {position: relative;padding-right: 12px;}
	.sub-menu > li.children > a::after {content: "";position: absolute;top: 50%;right: 0;margin-top: -1.5px;border: 3.5px solid rgba(0,0,0,0);transition: all .3s ease-in-out;border-top-color: var(--base);}
	.sub-menu li ul {position: absolute;top: 200%;left: 50%;padding: 0;margin: 0;background-color: var(--white);box-shadow: 0 0 5px rgba(0,0,0,.1);z-index: 1000;height: auto;transform: translateX(-50%);border-radius: 6px;transition: all .3s ease-in-out;visibility: hidden;opacity: 0;padding: 5px 0;border-top: none;}
	.sub-menu li ul::before,
	.sub-menu li ul::after {content: "";position: absolute;top: -5px;left: 50%;margin-left: -3px;border-left: 5px solid rgba(0,0,0,0);border-right: 5px solid rgba(0,0,0,0);}
	.sub-menu li ul::before {border-bottom: 5px solid #f2f2f2;}
	.sub-menu li ul::after {border-bottom: 5px solid #fff;margin-top: 1px;}
	.sub-menu li ul li a {padding: 8px 16px;}
	.sub-menu li ul li a:hover {background-color: var(--bdbg);}
	.sub-menu li:hover > ul {display: block;visibility: visible;opacity: 1;top: 100%;}
	/*detail*/
	.detail {row-gap: 1rem;font-size: 0.875rem;}
	.detail dl {width: 25%;}
	.detail .feather {width: 16px;height: 16px;}
}