.header{background:var(--surface);border-bottom:1px solid var(--border);z-index:100;align-items:center;gap:2rem;padding:1rem 2rem;display:flex;position:sticky;top:0}.logo{color:var(--accent);font-size:1.25rem;font-weight:700;text-decoration:none}.nav{flex:1;gap:1.5rem;display:flex}.nav a{color:var(--text-muted);font-weight:500;text-decoration:none}.nav a.active,.nav a:hover{color:var(--text)}.auth-actions{align-items:center;gap:.75rem;display:flex}.username{color:var(--text-muted);font-size:.9rem}.main{max-width:1200px;margin:0 auto;padding:2rem}.layout{min-height:100vh}@media (width<=768px){.header{flex-wrap:wrap;padding:1rem}.nav{order:3;width:100%}}:root{--react-pdf-text-layer:1}[data-main-rotation="90"]{transform:rotate(90deg)translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg)translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg)translate(-100%)}.textLayer{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only;text-align:initial;opacity:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;caret-color:canvastext;z-index:0;--min-font-size:1;--text-scale-factor:calc(var(--total-scale-factor) * var(--min-font-size));--min-font-size-inv:calc(1 / var(--min-font-size));line-height:1;position:absolute;inset:0;overflow:clip}.textLayer :is(span,br){color:#0000;white-space:pre;cursor:text;transform-origin:0 0;margin:0;position:absolute}.textLayer>:not(.markedContent),.textLayer .markedContent span:not(.markedContent){z-index:1;--font-height:0;font-size:calc(var(--text-scale-factor) * var(--font-height));--scale-x:1;--rotate:0deg;transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}.textLayer .markedContent{display:contents}.textLayer span[role=img]{-webkit-user-select:none;user-select:none;cursor:default}.textLayer .highlight{--highlight-bg-color:#b400aa40;--highlight-selected-bg-color:#00640040;--highlight-backdrop-filter:none;--highlight-selected-backdrop-filter:none;background-color:var(--highlight-bg-color);-webkit-backdrop-filter:var(--highlight-backdrop-filter);backdrop-filter:var(--highlight-backdrop-filter);border-radius:4px;margin:-1px;padding:1px}@media screen and (forced-colors:active){.textLayer .highlight{--highlight-bg-color:Highlight;--highlight-selected-bg-color:ButtonText}}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color);-webkit-backdrop-filter:var(--highlight-selected-backdrop-filter);backdrop-filter:var(--highlight-selected-backdrop-filter)}.textLayer ::selection{background:#0000ff40}@supports (background:color-mix(in srgb, AccentColor, transparent 75%)){.textLayer ::selection{background:color-mix(in srgb, AccentColor, transparent 75%)}}.textLayer br::selection{background:0 0}.textLayer .endOfContent{z-index:0;cursor:default;-webkit-user-select:none;user-select:none;display:block;position:absolute;inset:100% 0 0}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{width:0;height:0;display:none;position:absolute;top:0;left:0}:root{--react-pdf-annotation-layer:1;--annotation-unfocused-field-background:url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color:Highlight;--input-focus-outline:1px solid Canvas;--input-unfocused-border-color:transparent;--input-disabled-border-color:transparent;--input-hover-border-color:black;--link-outline:none}@media screen and (forced-colors:active){:root{--input-focus-border-color:CanvasText;--input-unfocused-border-color:ActiveText;--input-disabled-border-color:GrayText;--input-hover-border-color:Highlight;--link-outline:1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selecteditem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert();backdrop-filter:invert()}}.annotationLayer{pointer-events:none;transform-origin:0 0;z-index:3;position:absolute;top:0;left:0}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg)translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg)translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg)translateY(-100%)}.annotationLayer canvas{width:100%;height:100%;position:absolute}.annotationLayer section{text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0;margin:0;position:absolute}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{width:100%;height:100%;font-size:1em;position:absolute;top:0;left:0}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{cursor:pointer;width:100%;height:100%;position:absolute;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--total-scale-factor)) sans-serif;vertical-align:top;width:100%;height:100%;margin:0}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{border:2px solid var(--input-disabled-border-color);cursor:not-allowed;background:0 0}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline);background:0 0;border-radius:2px}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-color:#0000;background-image:none}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline);border-radius:2px}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{content:"";background-color:canvastext;display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{width:1px;height:80%;left:45%}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;width:50%;height:50%;top:20%;left:30%}.annotationLayer .textWidgetAnnotation input.comb{padding-left:2px;padding-right:0;font-family:monospace}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{appearance:none}.annotationLayer .popupTriggerArea{width:100%;height:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{font-size:calc(9px * var(--total-scale-factor));width:100%;min-width:calc(180px * var(--total-scale-factor));pointer-events:none;position:absolute}.annotationLayer .popup{max-width:calc(180px * var(--total-scale-factor));box-shadow:0 calc(2px * var(--total-scale-factor)) calc(5px * var(--total-scale-factor)) #888;border-radius:calc(2px * var(--total-scale-factor));padding:calc(6px * var(--total-scale-factor));margin-left:calc(5px * var(--total-scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto;background-color:#ff9;position:absolute}.annotationLayer .popup>*{font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{margin-left:calc(5px * var(--total-scale-factor));display:inline-block}.annotationLayer .popupContent{margin-top:calc(2px * var(--total-scale-factor));padding-top:calc(2px * var(--total-scale-factor));border-top:1px solid #333}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{width:100%;height:100%;position:absolute;top:0;left:0}.annotationLayer .annotationTextContent{opacity:0;color:#0000;-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%;position:absolute}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--bg:#0f1117;--surface:#171923;--surface-hover:#1e2230;--border:#2d3348;--text:#f0f2f8;--text-muted:#9aa3b8;--accent:#ff6b35;--accent-hover:#ff8555;--success:#4ade80;--error:#f87171;color:var(--text);background:var(--bg);font-family:Segoe UI,system-ui,sans-serif;line-height:1.5}*{box-sizing:border-box;margin:0;padding:0}body{min-height:100vh}a{color:var(--accent)}h1{margin-bottom:1rem;font-size:2rem}h2{margin-bottom:1rem;font-size:1.25rem}.loading{color:var(--text-muted);text-align:center;padding:2rem}.app-loading{justify-content:center;align-items:center;min-height:100vh;display:flex}.btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;padding:.6rem 1.2rem;font-weight:600;text-decoration:none;transition:background .2s;display:inline-flex}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover)}.btn-ghost{color:var(--text);border:1px solid var(--border);background:0 0}.btn-ghost:hover{background:var(--surface-hover)}.btn-sm{padding:.4rem .8rem;font-size:.875rem}.hero{text-align:center;padding:4rem 1rem}.hero h1{max-width:600px;margin:0 auto 1rem;font-size:2.5rem}.hero p{color:var(--text-muted);max-width:500px;margin:0 auto 2rem}.hero-actions{justify-content:center;gap:1rem;display:flex}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin-bottom:2rem;display:grid}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:.25rem;padding:1.25rem;display:flex}.stat-value{color:var(--accent);font-size:1.75rem;font-weight:700}.stat-label{color:var(--text-muted);font-size:.875rem}.section{margin-bottom:2.5rem}.continue-list,.updates-list{flex-direction:column;gap:.75rem;display:flex}.continue-item,.update-item{background:var(--surface);border:1px solid var(--border);color:inherit;border-radius:10px;align-items:center;gap:1rem;padding:1rem;text-decoration:none;display:flex}.continue-item:hover{background:var(--surface-hover)}.update-item{justify-content:space-between}.update-item div{flex-direction:column;gap:.25rem;display:flex}.manga-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem;display:grid}.manga-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.manga-card-link{color:inherit;flex:1;text-decoration:none}.manga-cover{aspect-ratio:3/4;background:var(--surface-hover)}.manga-cover img{object-fit:cover;width:100%;height:100%}.manga-cover-placeholder{width:100%;height:100%;color:var(--accent);background:linear-gradient(135deg,#1a1f2e,#252b3d);justify-content:center;align-items:center;font-size:3rem;font-weight:700;display:flex}.manga-info{padding:1rem}.manga-info h3{margin-bottom:.25rem;font-size:1rem}.manga-info p{color:var(--text-muted);font-size:.875rem}.manga-card .btn{margin:0 1rem 1rem}.badge{border-radius:4px;margin-top:.5rem;margin-right:.5rem;padding:.2rem .5rem;font-size:.75rem;font-weight:600;display:inline-block}.badge.unread{color:var(--accent);background:#ff6b3533}.badge.progress{color:var(--success);background:#4ade8026}.badge.new{background:var(--accent);color:#fff}.empty{color:var(--text-muted)}.auth-page{justify-content:center;padding:2rem;display:flex}.auth-form{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:1rem;width:100%;max-width:400px;padding:2rem;display:flex}.auth-form label{color:var(--text-muted);flex-direction:column;gap:.4rem;font-size:.875rem;display:flex}.auth-form input,.admin-form input,.admin-form select{border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:8px;padding:.65rem .85rem}.auth-link{text-align:center;color:var(--text-muted);font-size:.875rem}.error{color:var(--error);font-size:.875rem}.success{color:var(--success);font-size:.875rem}.manga-header{flex-wrap:wrap;align-items:flex-start;gap:1rem;margin-bottom:2rem;display:flex}.manga-header .meta{color:var(--text-muted);margin-top:.5rem}.arcs-list{flex-direction:column;gap:.5rem;display:flex}.arc-item{border:1px solid var(--border);border-radius:10px;overflow:hidden}.arc-header{background:var(--surface);width:100%;color:var(--text);cursor:pointer;text-align:left;border:none;justify-content:space-between;padding:1rem;font-size:1rem;display:flex}.arc-header:hover{background:var(--surface-hover)}.chapter-list{background:var(--bg);list-style:none}.chapter-list li{border-top:1px solid var(--border);justify-content:space-between;display:flex}.chapter-list li.read{opacity:.6}.chapter-list a{color:var(--text);flex:1;padding:.75rem 1rem;text-decoration:none;display:block}.chapter-list a:hover{background:var(--surface-hover)}.chapter-list .check{color:var(--success);padding:.75rem 1rem}.reader{background:#0a0c10;flex-direction:column;min-height:100vh;display:flex;position:relative}.floating-card{z-index:100;-webkit-backdrop-filter:blur(12px);opacity:1;pointer-events:auto;background:#12141dd9;border:1px solid #ffffff24;border-radius:10px;align-items:center;gap:.6rem;padding:.35rem .65rem;transition:transform .28s cubic-bezier(.16,1,.3,1),opacity .25s,border-color .2s;display:flex;position:fixed;top:14px;transform:translateY(0);box-shadow:0 8px 24px #00000080}.floating-card:hover{background:#171a26f2;border-color:#ffffff40}.floating-card-hidden{opacity:0;pointer-events:none;transform:translateY(-80px)}.floating-card-left{left:16px}.floating-card-right{right:16px}.floating-btn-back{padding:.35rem .7rem;font-size:.85rem;font-weight:600}.floating-divider{background:var(--border);opacity:.8;width:1px;height:20px}.floating-info{align-items:center;gap:.5rem;padding-right:.25rem;display:flex}.floating-title{color:var(--text);white-space:nowrap;font-size:.85rem;font-weight:700}.floating-page{color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.8rem}.reader-zoom-controls{border:1px solid var(--border);background:#0a0c1099;border-radius:8px;align-items:center;display:flex;overflow:hidden}.reader-zoom-controls .btn{border:none;border-radius:0;padding:.3rem .6rem;font-size:.85rem}.zoom-label{text-align:center;font-variant-numeric:tabular-nums;min-width:48px;color:var(--accent);font-weight:600}.floating-nav-buttons{align-items:center;gap:.4rem;display:flex}.floating-nav-buttons .btn{padding:.35rem .75rem;font-size:.85rem}.reader-content{flex-direction:column;align-items:center;min-height:100vh;padding:1rem 2.5rem 4rem;display:flex}.reader-pages-list{will-change:width;flex-direction:column;align-items:center;gap:6px;margin:0 auto;display:flex}.reader-page-wrapper{flex-direction:column;align-items:center;width:100%;max-width:100%;display:flex;position:relative}.page-corner-badge{-webkit-backdrop-filter:blur(8px);color:var(--text-muted);font-variant-numeric:tabular-nums;border:1px solid var(--border);pointer-events:none;-webkit-user-select:none;user-select:none;z-index:10;white-space:nowrap;letter-spacing:.5px;background:#171923e0;border-radius:6px;padding:3px 8px;font-size:.75rem;font-weight:700;transition:color .2s,border-color .2s;position:absolute;bottom:0;left:calc(100% + 8px);box-shadow:0 4px 12px #0006}.reader-page-wrapper:hover .page-corner-badge{color:var(--text);border-color:#ffffff40}.page-skeleton{aspect-ratio:1/1.42;background:var(--surface);width:100%;color:var(--text-muted);border-radius:2px;justify-content:center;align-items:center;font-size:.9rem;display:flex}.react-pdf__Document{flex-direction:column;align-items:center;width:100%;display:flex}.react-pdf__Page{background:#141721;border-radius:2px;justify-content:center;display:flex;overflow:hidden;box-shadow:0 4px 14px #0009;width:100%!important;height:auto!important}.react-pdf__Page__canvas{margin:0 auto;display:block;width:100%!important;height:auto!important}.reader-end-footer{justify-content:center;width:100%;max-width:700px;margin-top:3rem;display:flex}.end-footer-card{background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:.75rem;width:100%;padding:2rem;display:flex}.end-footer-card h3{color:var(--text);font-size:1.3rem}.end-footer-card p{color:var(--text-muted);margin-bottom:.5rem;font-size:.9rem}.end-footer-actions{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.reader-loading{flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:100vh;display:flex}.admin-page{max-width:560px}.admin-form{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:1rem;margin-top:1.5rem;padding:1.5rem;display:flex}.admin-form label{color:var(--text-muted);flex-direction:column;gap:.4rem;font-size:.875rem;display:flex}.admin-form input[type=file]{padding:.5rem 0}
