@charset "utf-8";
:root {
	--mb: 0px;
	--br: rgba(255, 255, 255, 0.06);
	--th: rgba(104, 170, 194, 1);
	--body-bg: rgb(21, 21, 23);
	--card-bg: rgb(27, 27, 28);
}
* {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: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;line-height: 1.5;font-weight: 400;color: rgb(173, 178, 184);font-size: 14px;background-color: var(--body-bg);}
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: rgb(249, 250, 251);text-decoration: none;display: inline-block;}
/* a:hover {color: #e60000;} */
h1,h2,h3,h4,h5,h6 {font-weight: 400;}
h1 {font-size: 18px;}
h2 {font-size: 16px;}
h4 {font-size: 14px;}

.container {max-width: 100%;margin: auto;position: relative;}
.text-muted {color: #777;font-size: 12px;}

/* section */
section {margin-top: var(--mb);background-color: var(--card-bg);overflow: hidden;}
section .head {display: flex;align-items: center;justify-content: space-between;padding: 6px;font-size: 13px;color: rgb(249, 250, 251);background-color: rgb(44, 44, 46);}
section .head .left {margin-right: 12px;}
section .head .right {overflow: hidden;}
section .head .name {height: 28px;line-height: 28px;padding: 0 8px;display: flex;align-items: center;}
section .head .name .feather {width: 13px;margin-right: 6px;}
section .head .more {color: #777;font-size: 12px;}
section .head nav {display: flex;align-items: center;}
section .head nav a {padding: 0.375rem 14px;border-radius: 16px;font-size: 14px;color: #1E232D;cursor: pointer;transition: all .2s ease-in-out;position: relative;margin-left: 12px;}
section .head nav a.active,
section .head nav a:hover {color: rgb(249, 250, 251);background-color: #c99a05;}
section .head small {margin-top: 6px;color: #666;font-size: 12px;line-height: 1.125rem;display: flex;align-items: center;}
section .head small span {color: #c99a05;margin: 0 0.375rem;}

/* header */
header {width: 100%;background-color: var(--card-bg);border-bottom: 1px solid var(--br);}
header a {height: 100%;display: inline-flex;align-items: center;}
.header-navbar {flex: 1 0 100%;display: flex;align-items: center;justify-content: space-between;position: relative;z-index: 10;background-color: var(--card-bg);}
.header-navbar a {padding: 12px 14px;}
.header-navbar .feather {width: 20px;}
.header-navbar .sitename {font-size: 16px;position: absolute;left: 50%;transform: translateX(-50%);}
/* nav */
header .container {position: relative;}
.header-nav {position: absolute;top: 3px;z-index: 9;width: 100%;background-color: var(--card-bg);border-bottom: 1px solid var(--br);}
.header-nav nav {display: flex;align-content: center;justify-content: space-between;}
.header-nav nav a {width: 100%;justify-content: center;font-size: 14px;padding: 12px 0;}
.header-nav nav a:hover {background-color: rgb(44, 44, 46);}
/* search */
.header-search {position: absolute;top: 2px;z-index: 9;width: 100%;background-color: var(--card-bg);border-bottom: 1px solid var(--br);}
.header-search form {display: flex;align-content: center;justify-content: space-between;}
.header-search input {flex: 1;height: 46px;border: none;background-color: inherit;color: rgb(249, 250, 251);padding: 0 14px;}
.header-search input:focus {border: none;outline: none;}
.header-search button {border: none;background-color: inherit;color: rgb(249, 250, 251);padding: 0 14px;border-left: 1px solid var(--br);}

/* main */

/* chapter */
.chapter {padding: 14px;display: flex;flex-direction: column;}
.chapter .book_title {text-align: center;color: rgb(249, 250, 251);}
.chapter .book_title a:hover {text-decoration: underline;}
.chapter .title {text-align: center;color: rgb(249, 250, 251);}
.chapter .tips {text-align: center;font-size: 14px;color: #999;}

/* chapter list */
.chapter-list {font-size: 14px;}
.chapter-list a {margin-right: 16px;font-size: 1;}

/* prenext */
.prenext {display: inline-flex;margin: 14px auto;font-size: 14px;background-color: rgb(44, 44, 46);border-radius: 32px;overflow: hidden;}
.prenext a {padding: 8px 16px;}
.prenext a:hover {background-color: rgb(64, 64, 67);}
.prenext a:nth-child(2) {position: relative;}
.prenext a:nth-child(2)::before {content: '';position: absolute;left: 0;top: 50%;transform: translateY(-50%);width: 1px;height: 20px;background-color: rgb(64, 64, 67);}
.prenext a:nth-child(2)::after {content: '';position: absolute;right: 0;top: 50%;transform: translateY(-50%);width: 1px;height: 20px;background-color: rgb(64, 64, 67);}

/* content */
.content {color: rgb(249, 250, 251);font-size: 16px;margin: 14px auto;}
.content p {margin: 16px 0;}

/* book */
.book {display: flex;flex-direction: column;overflow: hidden;position: relative;padding: 16px;background: linear-gradient(0deg, #272727, var(--card-bg));}
.book .info {display: flex;position: relative;z-index: 1;}
.book .cover {width: 120px;aspect-ratio: 100 / 130;border-radius: 4px;overflow: hidden;margin-right: 16px;}
.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: rgb(249, 250, 251);margin-bottom: 8px;}
.book .txt p {font-size: 14px;margin-bottom: 4px;}
.book .txt a:hover {text-decoration: underline;}
.book .btns {margin-top: 16px;display: grid;grid-template-columns: repeat(2,1fr);grid-gap: 16px;position: relative;z-index: 1;font-size: 14px;}
.book .btns a {text-align: center;background: linear-gradient(324deg, #272727, #595959);border-radius: 4px;color: #fff;padding: 8px 0;}
.book .btns a:hover {background: #595959;}

.book-desc {font-size: 14px;padding: 14px;}

.book-like {display: grid;grid-template-columns: repeat(3,1fr);padding: 6px;}
.book-like a {display: inline-flex;flex-direction: column;justify-content: center;align-items: center;font-size: 12px;padding: 8px;}
.book-like a:hover {background-color: rgb(44, 44, 46);border-radius: 6px;}
.book-like img {width: 100%;aspect-ratio: 100 / 130;border-radius: 4px;}
.book-like h4 {width: 100%;overflow: hidden;height: 16px;line-height: 16px;text-align: center;margin-top: 8px;}

.book-chapter {display: flex;flex-wrap: wrap;font-size: 14px;padding: 6px;}
.book-chapter a {flex: 1 0 100%;padding: 8px 20px 8px 8px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;position: relative;}
.book-chapter a:hover {background-color: rgb(44, 44, 46);border-radius: 6px;}
.book-chapter .feather {position: absolute;top: 0;right: 0;width: 14px;height: 100%;color: #777;}

.book-rand {display: flex;flex-wrap: wrap;font-size: 14px;padding: 6px;}
.book-rand a {flex: 1 1 50%;padding: 8px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.book-rand a:hover {background-color: rgb(44, 44, 46);border-radius: 6px;}

.book-coverlist {display: flex;flex-direction: column;padding: 6px;}
.book-coverlist li {display: inline-flex;padding: 8px;}
.book-coverlist li:hover {background-color: rgb(44, 44, 46);border-radius: 6px;}
.book-coverlist .cover {width: 100px;height: 130px;display: flex;position: relative;background-color: var(--body-bg);border-radius: 4px;overflow: hidden;}
.book-coverlist .cover img {position: absolute;width: 100%;height: 100%;object-fit: cover;}
.book-coverlist .txt {flex: 1;padding-left: 16px;color: #777;font-size: 12px;}
.book-coverlist .titl {font-size: 16px;}
.book-coverlist p {margin-top: 8px;overflow: hidden;}
.book-coverlist .desc {display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 4;overflow: hidden;}

.top-grid {display: grid;grid-template-columns: repeat(1,1fr);}
.top-grid-list {display: flex;flex-wrap: wrap;flex-direction: column;padding: 6px;}
.top-grid-list a {flex: 1 1 100%;display: inline-flex;align-items: center;justify-content: space-between;font-size: 14px;padding: 8px;}
.top-grid-list a:hover {background-color: rgb(44, 44, 46);border-radius: 6px;}

.chapter-new {display: flex;flex-direction: column;padding: 6px;}
.chapter-new li {display: flex;justify-content: space-between;padding: 8px;}
.chapter-new span {color: #777;overflow: hidden;width: 80px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.chapter-new a {overflow: hidden;}
.chapter-new .type {display: none;}
.chapter-new .name {flex: 1;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.chapter-new .zj {flex: 1;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.chapter-new .time {display: none;}

.links {display: flex;flex-wrap: wrap;font-size: 14px;padding: 6px;}
.links a {padding: 8px;}
.links a:hover {background-color: rgb(44, 44, 46);border-radius: 6px;}

/* footer */
footer {text-align: center;padding: 16px 0;font-size: 14px;}

@media (min-width: 768px) {
	:root {
		--mb: 16px;
	}
	.container {max-width: 768px;}
	section {border-radius: 12px;}
	header .container {display: flex;justify-content: space-between;align-items: center;}
	.header-navbar a {padding: 12px 0;}
	.header-nav {border-left: 1px solid var(--br);border-right: 1px solid var(--br);}
	.header-search {border-left: 1px solid var(--br);border-right: 1px solid var(--br);}
	.book {margin: 16px auto;}
	.book .cover {width: 150px;}
	.book-like {grid-template-columns: repeat(6,1fr);}
	.book-like a {flex-shrink: inherit;width: auto;}
	.book-chapter a {flex: 1 1 50%;}
	.book-chapter .feather {display: none;}
	.book-rand a {flex: 1 1 25%;}
	.book-coverlist {display: grid;grid-template-columns: repeat(2,1fr);}
	.top-grid {grid-template-columns: repeat(2,1fr);column-gap: var(--mb);}
	.chapter-new .type {display: block;}
	.chapter-new .time {display: block;}
}