:root{font-feature-settings:"liga" 1,"calt" 1;font-family:Inter,sans-serif}@supports (font-variation-settings:normal){:root{font-family:InterVariable,sans-serif}}*{box-sizing:border-box;margin:0;padding:0}:root[data-theme=light]{--bg-primary:#f9f9f9;--bg-secondary:#fff;--text-primary:#000;--text-secondary:#666;--text-tertiary:#999;--border:#e0e0e0;--outline:#a0a0a0}:root[data-theme=dark]{--bg-primary:#191919;--bg-secondary:#0f0f0f;--text-primary:#eee;--text-secondary:silver;--text-tertiary:#7b7b7b;--border:#3a3a3a;--outline:#606060}body{color:var(--text-primary);background:var(--bg-primary);flex-direction:column;min-height:100vh;font-weight:400;line-height:1.6;display:flex}#app{flex-direction:column;flex:1;display:flex}.header{padding:1rem}.header-content{grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;max-width:1400px;margin:0 auto;display:grid}.header-left{cursor:pointer;user-select:none;white-space:nowrap;text-overflow:ellipsis;grid-column:1;max-width:70vw;font-size:1.25rem;font-weight:700;transition:opacity .2s;overflow:hidden}.header-left:hover{opacity:.7}.search-bar{grid-column:2;width:100%;max-width:600px;margin:0 auto;position:relative}.search-input-wrapper{align-items:center;display:flex;position:relative}.search-icon{pointer-events:none;filter:brightness(0)saturate();position:absolute;left:.75rem}:root[data-theme=dark] .search-icon{filter:brightness(0)saturate()invert(.4)}.search-bar input{background:var(--bg-secondary);border:1px solid var(--border);width:100%;color:var(--text-primary);border-radius:4px;outline:none;padding:.625rem .75rem .625rem 2.5rem;font-family:inherit;font-size:.875rem}.search-bar input:focus{border-color:var(--outline)}.search-bar input::placeholder{color:var(--text-tertiary)}.search-results{background:var(--bg-secondary);border:1px solid var(--border);z-index:1000;border-radius:8px;max-height:400px;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow-y:auto;box-shadow:0 4px 12px #0000001a}.search-loading{text-align:center;color:var(--text-secondary);padding:1rem;font-size:.875rem}.search-result-card{border-bottom:1px solid var(--border);cursor:pointer;gap:.75rem;padding:.625rem;display:flex}.search-result-card:last-child{border-bottom:none}.search-result-card:hover{background-color:var(--bg-primary)}.search-result-card img{object-fit:cover;border-radius:4px;flex-shrink:0;width:50px;height:75px}.search-result-info{flex:1;min-width:0}.search-result-info h3{text-overflow:ellipsis;white-space:nowrap;margin-bottom:.25rem;font-size:.875rem;font-weight:500;overflow:hidden}.search-result-info .author{color:var(--text-secondary);margin-bottom:.125rem;font-size:.75rem}.search-result-info .year{color:var(--text-tertiary);font-size:.75rem}.no-results{text-align:center;color:var(--text-secondary);padding:1rem;font-size:.875rem}.toggle{cursor:pointer;border-radius:4px;flex-shrink:0;grid-column:3;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;display:flex}.toggle img{filter:brightness(0)saturate()}:root[data-theme=dark] .toggle img{filter:brightness(0)saturate()invert()}.container{flex:1;width:100%;max-width:1400px;min-height:95dvh;margin:0 auto;padding:1rem}.novels-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,350px),1fr));gap:.75rem;margin:1.5rem 0;display:grid}.novel-card{background:var(--bg-secondary);border:1px solid var(--border);cursor:pointer;border-radius:8px;gap:1rem;padding:.75rem;display:flex}.novel-card:hover{border-color:var(--outline)}.novel-card img{object-fit:cover;border-radius:4px;flex-shrink:0;width:80px;height:120px}.novel-card-info{flex-direction:column;flex:1;justify-content:center;gap:.25rem;min-width:0;display:flex}.novel-card-info h3{text-overflow:ellipsis;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:1rem;font-weight:500;line-height:1.4;display:-webkit-box;overflow:hidden}.novel-card-info .author{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;overflow:hidden}.novel-card-info .year{color:var(--text-tertiary);font-size:.875rem}.novel-detail{max-width:900px;margin:0 auto}.novel-header{gap:1.5rem;margin-bottom:2rem;display:grid}@media (width>=640px){.novel-header{grid-template-columns:200px 1fr}}.novel-header img{aspect-ratio:2/3;object-fit:cover;border-radius:8px;width:100%;max-width:300px;margin:0 auto}@media (width>=640px){.novel-header img{max-width:200px;margin:0}}.novel-info h1{font-size:1.75rem;font-weight:700}.novel-info h1 span{color:var(--text-secondary);font-size:1rem;font-weight:700}.meta{color:var(--text-secondary);flex-wrap:wrap;gap:.5rem;margin-top:.5rem;margin-bottom:1rem;font-size:.875rem;display:flex}.description{color:var(--text-secondary);margin-bottom:1.5rem;line-height:1.8}.chapters-section h2{margin-bottom:1rem;font-size:1.25rem;font-weight:700}.chapters-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.chapters-header h2{margin-bottom:0}.chapters-list{flex-direction:column;gap:.5rem;display:flex}.chapter-item{background:var(--bg-secondary);border:1px solid var(--border);cursor:pointer;border-radius:4px;align-items:center;gap:.75rem;padding:.75rem;display:flex}.chapter-item:hover{border-color:var(--outline)}.chapter-num{color:var(--text-tertiary);min-width:2rem;font-size:.875rem;font-weight:500}.chapter-title{white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:.85rem;font-weight:400;overflow:hidden}.chapter-reader{max-width:700px;margin:0 auto}.chapter-reader h1{margin-bottom:.75rem}.chapter-header{padding-bottom:.75rem}.chapter-header h1{margin-bottom:.5rem;font-size:1.5rem;font-weight:700}.chapter-content{word-wrap:break-word;overflow-wrap:break-word;margin-bottom:2rem;font-size:1rem;line-height:2}@media (width>=640px){.chapter-content{font-size:1.0625rem}}.chapter-content p{margin-bottom:1.5rem}.chapter-content br,.chapter-content hr{content:"";margin:.75rem 0;display:block}.chapter-content ol{margin:0 .75rem}.chapter-content img{border-radius:8px;max-width:100%}.chapter-source{color:var(--text-secondary);border-radius:8px;margin-top:2rem;padding:1rem;font-size:.875rem}.chapter-navigation{grid-template-columns:1fr 1fr;gap:1rem;margin-top:2rem;display:grid}.chapter-navigation button{border:1px solid var(--border);background:var(--bg-secondary);cursor:pointer;color:var(--text-primary);border-radius:8px;padding:.75rem 1rem;font-family:inherit;font-size:.875rem;font-weight:500}.chapter-navigation button:hover:not(:disabled){background:var(--bg-primary);border-color:var(--outline)}.chapter-navigation button:disabled{opacity:.4;cursor:not-allowed}.pagination{justify-content:center;align-items:center;gap:1rem;margin:2rem 0;display:flex}.pagination button{border:1px solid var(--border);background:var(--bg-secondary);cursor:pointer;color:var(--text-primary);border-radius:4px;padding:.625rem 1rem;font-weight:500}.pagination button:hover:not(:disabled){background:var(--bg-primary);border-color:var(--outline)}.pagination button:disabled{opacity:.4;cursor:not-allowed}.pagination span{color:var(--text-secondary);font-size:.875rem;font-weight:500}.footer{margin-top:auto;padding:1.5rem 1rem}.footer-content{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;max-width:1400px;margin:0 auto;padding:0 1rem;display:flex}.footer-left{align-items:center;gap:.75rem;display:flex}.footer-brand{font-size:1.125rem;font-weight:700;transition:opacity .2s}a.footer-brand{color:var(--text-primary);text-decoration:none}a.footer-brand:hover{opacity:.7}.footer-desc{color:var(--text-secondary);font-size:.875rem}.footer-right{align-items:center;gap:1.5rem;display:flex}.footer-right a{color:var(--text-secondary);white-space:nowrap;font-size:.875rem;font-weight:500;text-decoration:none}.version-mobile{display:none}.footer-right .version{color:var(--text-tertiary);font-size:.875rem;font-weight:500}@media (width<=860px){.footer-right .version{display:none}.footer-left .version-mobile{color:var(--text-tertiary);font-size:.75rem;font-weight:500;display:block}}@media (width<=470px){.footer{padding:1rem .5rem}.footer-content{flex-direction:column;align-items:flex-start;gap:.75rem;padding:0 .5rem}.footer-desc{display:none}.footer-left{justify-content:space-between;gap:.5rem;width:100%}.footer-brand{font-size:1rem}.footer-right{flex-wrap:wrap;justify-content:space-between;gap:.75rem;width:100%}}@media (width<=400px){.footer-right{gap:.5rem}.footer-brand{font-size:.95rem}.footer-right a{font-size:.75rem}}@keyframes loading{0%{opacity:0}to{opacity:1}}.loading{text-align:center;color:var(--text-secondary);padding:3rem 1rem;animation:.5s forwards loading}.error{text-align:center;color:#ef4444;padding:3rem 1rem}@media (width<=640px){.header-content{grid-template-rows:auto auto;grid-template-columns:auto auto}.header-left{grid-area:1/1}.toggle{grid-area:1/2;margin-left:auto}.search-bar{grid-area:2/1/auto/-1;max-width:none}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-primary)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--outline)}*{scrollbar-width:thin;scrollbar-color:var(--border)var(--bg-primary)}.modal-overlay{z-index:9999;backdrop-filter:blur(5px);justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.modal-content{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border);border-radius:8px;width:90%;max-width:420px;padding:1.5rem;box-shadow:0 8px 32px #0003}.modal-content h3{margin-bottom:.75rem;font-size:1.25rem;font-weight:700}.modal-content p{color:var(--text-secondary);margin-bottom:1rem;line-height:1.7}.modal-content p:last-of-type{margin-bottom:1.5rem}.age-rating-red{color:#e74c3c;font-weight:700}.modal-checkbox{color:var(--text-secondary);cursor:pointer;user-select:none;align-items:center;margin-bottom:1.5rem;font-size:.875rem;display:flex}.modal-checkbox input{accent-color:var(--text-primary);margin-right:.5rem}.modal-actions{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.modal-actions button{border:1px solid var(--border);background:var(--bg-secondary);cursor:pointer;color:var(--text-primary);border-radius:8px;padding:.75rem 1rem;font-family:inherit;font-size:.875rem;font-weight:500;transition:all .2s}.modal-actions button.btn-back:hover{background:var(--bg-primary);border-color:var(--outline)}.modal-actions button.btn-confirm{color:#fff;background:#c0392b;border-color:#c0392b}.modal-actions button.btn-confirm:hover{background:#e74c3c;border-color:#e74c3c}.document-page{max-width:900px;margin:0 auto;padding:2rem 0}.document-page h1{margin-top:2rem;margin-bottom:1.5rem;font-size:1.75rem;font-weight:700}.document-page h1:first-child{margin-top:0}.document-page h2{margin-top:2rem;margin-bottom:1rem;font-size:1.25rem;font-weight:600}.document-page p{color:var(--text-secondary);margin-bottom:1rem;line-height:1.8}.document-page ol{margin:1rem 0 1.5rem 1.5rem;padding-left:.5rem}.document-page ol li{margin-bottom:1rem;line-height:1.8}.document-page ol li p{margin-top:.5rem;margin-bottom:.5rem}.document-page ul{margin:.75rem 0 .75rem 2rem;padding-left:.5rem}.document-page ul li{color:var(--text-secondary);margin-bottom:.5rem;line-height:1.7}@media (width<=640px){.document-page{padding:1rem 0}.document-page h1{font-size:1.5rem}.document-page h2{font-size:1.125rem}}
/*# sourceMappingURL=app.15a50118.css.map */
