@font-face{font-display:auto;}
html{scroll-behavior:auto;}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",sans-serif;}
*{animation-duration:0.18s;}
*{transition-timing-function:cubic-bezier(0.4,0,0.2,1);}
body{font-variant-numeric:tabular-nums;}
:root{color-scheme:light;}
html{font-size:14px;}
body{line-height:1.5;}
body{letter-spacing:0;}
body{word-spacing:0;}
body{text-rendering:auto;}
body{hyphens:auto;}
body{tab-size:2;}
html{scrollbar-width:none;}
body{accent-color:#c2410c;}
@supports (user-select: none) {body{--has-userselect:1}}
html{isolation:auto}
html{user-select:text}
html{overscroll-behavior:auto}
html{backdrop-filter:blur(2px)}
html{scroll-snap-type:none}
html{image-rendering:auto}
html{forced-color-adjust:none}

.nel-db, .wrap-content, .page-content, .content-area, .main-content {
  background: transparent !important;
}

.nel-de, .nel-nl, .nel-ou li, .nel-ep,
.wrap-list-item, .wrap-book-item, .wrap-chapters li,
.list-item, .book-item, .chapter-item {
  color: #000 !important;
}
.nel-de a, .nel-nl a, .nel-ou a,
.wrap-list-item a, .wrap-book-item a, .wrap-chapters li a,
.list-item a, .book-item a, .chapter-item a {
  color: #000 !important;
}
.nel-de a:hover, .nel-nl a:hover, .nel-ou a:hover,
.wrap-list-item a:hover, .wrap-book-item a:hover {
  color: #c00 !important;
}

.nel-ko, .wrap-mobile-cats, .m-cats-scroll, .cat-nav, .category-bar {
  background: var(--nel-zk, #fff) !important;
  border-bottom: 1px solid var(--nel-zn, #e0e0e0) !important;
}

.nel-bp, .nel-be, .wrap-section, .card, .section-card {
  background: var(--nel-zk, #fff);
}

.nav-divided { --nav-gap: 16px; --nav-sep: 1px solid currentColor; --nav-sep-opacity: 0.2; }
.nav-compact { --nav-gap: 4px; --nav-pad: 8px 10px; }
.nav-labeled { --nav-gap: 12px; --nav-icon-gap: 4px; }

body.nightmode { background-color: #1c1917 !important; --reader-bg: #1c1917; --reader-text: #a8a29e; --night-bg: #1c1917; }
body.nightmode .nel-du, body.nightmode .nel-dl { color: #a8a29e !important; background: #1c1917 !important; }
body.nightmode .nel-du .nel-dl { color: #a8a29e !important; }
body.nightmode .reader-toolbar, body.nightmode .reader-nav { background: #292524 !important; color: #a8a29e !important; }
body.nightmode .reader-toolbar a, body.nightmode .reader-nav a { color: #a8a29e !important; }
body.nightmode .tb-tag, body.nightmode .pc-bar-btn, body.nightmode .pc-bar-bg { color: #a8a29e !important; border-color: #57534e !important; }
body.nightmode .pc-bar-label { color: #a8a29e !important; }

body.huyanmode { background-color: #c9e6cb !important; --reader-bg: #c9e6cb; --reader-text: #2d3436; --night-bg: #c9e6cb; }
body.huyanmode .nel-du, body.huyanmode .nel-dl { color: #2d3436 !important; background: #c9e6cb !important; }
body.huyanmode .nel-du .nel-dl { color: #2d3436 !important; }
body.huyanmode .reader-toolbar, body.huyanmode .reader-nav { background: #b8d6ba !important; color: #2d3436 !important; }
body.huyanmode .tb-tag, body.huyanmode .pc-bar-btn, body.huyanmode .pc-bar-bg { color: #2d3436 !important; }

.nel-du { font-size: 17px; line-height: 2.0; color: #333; }
.nel-dl { font-size: 18px; line-height: 2.0; color: #333; }

@media (max-width: 767px) {
  .nel-du { font-size: 16px; padding: 14px !important; line-height: 1.9; }
  .nel-dl { font-size: 17px; line-height: 1.9; }
  .tb-tag { padding: 6px 14px; font-size: 14px; color: #333; border: 1px solid #ddd; border-radius: 4px; background: #fff; }
  .tb-tag:active { background: #f0f0f0; }
  .tb-select { font-size: 14px; padding: 4px 8px; }
}

.pc-bar-btn { padding: 6px 12px; font-size: 14px; color: #333; border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; }
.pc-bar-btn.on { background: #4a90d9; color: #fff; border-color: #4a90d9; }
.pc-bar-bg { width: 28px; height: 28px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; }
.pc-bar-bg.on { border-color: #4a90d9; }
.pc-bar-label { font-size: 13px; color: #666; margin-right: 6px; }
.pc-bar-select { padding: 4px 8px; font-size: 14px; border: 1px solid #ddd; border-radius: 4px; }
.pc-bar-reset { padding: 6px 14px; font-size: 14px; color: #333; border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; }
.pc-bar-reset:hover { background: #f5f5f5; }
.pc-bar-sep { width: 1px; height: 24px; background: #e0e0e0; margin: 0 8px; }

.cg-rn{gap:10px;margin-bottom:10px;grid-template-columns:repeat(2,1fr);}
.topic-list{display:flex;flex-direction:column;gap:14px;}
.topic-list-item{display:flex;gap:14px;padding:14px;border:1px solid #e8e8e8;border-radius:8px;background:#fff;transition:border-color .2s;}
.topic-list-item:hover{border-color:#d0d0d0;}
.tli-cover{flex-shrink:0;width:80px;height:112px;overflow:hidden;border-radius:4px;}
.tli-cover img{width:100%;height:100%;object-fit:cover;}
.tli-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;}
.tli-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.tli-title{font-size:16px;font-weight:600;color:#333;text-decoration:none;}
.tli-title:hover{color:#c00;}
.tli-cat{font-size:12px;color:#666;background:#f0f0f0;padding:2px 8px;border-radius:3px;white-space:nowrap;}
.tli-status{font-size:12px;color:#fff;background:#28a745;padding:2px 8px;border-radius:3px;white-space:nowrap;}
.tli-meta{display:flex;gap:12px;font-size:13px;color:#666;flex-wrap:wrap;}
.tli-author{color:#555;}
.tli-words,.tli-chapters{color:#888;}
.tli-date{color:#999;}
.tli-desc{font-size:13px;color:#555;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;}
.tli-latest{font-size:13px;}
.tli-latest a{color:#007bff;text-decoration:none;}
.tli-latest a:hover{text-decoration:underline;}
.topic-related{margin-top:16px;}
@media(max-width:767px){
  .topic-list{gap:10px;}
  .topic-list-item{gap:10px;padding:10px;}
  .tli-cover{width:60px;height:84px;}
  .tli-title{font-size:15px;}
  .tli-meta{gap:8px;font-size:12px;}
  .tli-desc{font-size:12px;}
}
.ch-no-content{text-align:center;color:var(--c-text-sub);padding:40px 0;}
[style*="--av-bg"]{background-color:var(--av-bg);}
.rank-badge-1{background:#f5a623;}
.rank-badge-2{background:#8a9bb5;}
.rank-badge-3{background:#cd7f32;}
[style*="--tag-fs"]{font-size:var(--tag-fs);}
.sr-only-hide,.fp-hide{display:none;}

.hist-clear-extra{padding:6px 16px;border:1px solid #e0e0e0;border-radius:4px;background:#fff;color:#999;cursor:pointer;font-size:13px;}
.hist-fb-center{text-align:center;padding:40px 20px;color:#999;}
.hist-js-idx{text-align:center;width:40px;color:#999;}
.hist-js-del{text-align:center;width:60px;}
.hist-js-read{color:var(--c-primary,#c00);}
.fp-meta-sub{font-size:11px;color:#999;}
.fp-del-link{color:#dc3545;}
.fp-empty-row{text-align:center;padding:40px;color:#999;}
.fp-empty-shelf{text-align:center;padding:30px;color:#999;}
.fp-swal-report{text-align:left;font-size:14px;line-height:2.2;}
.fp-report-label{display:block;cursor:pointer;}
.fp-report-radio{margin-right:6px;}
.fp-loading-wrap{text-align:center;padding:20px;}
.cover>a,.cv>a{display:block;aspect-ratio:5/7;overflow:hidden;}.cover img,.cv img{width:100%;height:100%;object-fit:cover;}

.fps{--fps-xvq:1}