*{box-sizing:border-box;margin:0;padding:0}:root{--bg:#111114;--panel:#1b1b20;--border:#2c2c33;--text:#ececf0;--muted:#9a9aa5;--accent:#ffb84d}body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}a,a:visited{color:var(--accent);text-underline-offset:2px;text-decoration:underline}a:hover{color:#ffd08a}.page{max-width:1100px;margin:0 auto;padding:2rem 1.25rem 4rem}.page.embed{max-width:none;padding:.5rem}.site-header{margin-bottom:2.5rem}.site-header h1{letter-spacing:-.02em;font-size:1.6rem}.site-header h1 a{color:inherit;text-decoration:none}.tagline{color:var(--muted)}section{margin-bottom:2.5rem}section h2{margin-bottom:.25rem;font-size:1.1rem}.section-sub{color:var(--muted);margin-bottom:1rem;font-size:.9rem}code{background:var(--panel);border:1px solid var(--border);border-radius:4px;padding:.1em .35em;font-size:.85em}.dropzone{border:2px dashed var(--border);text-align:center;cursor:pointer;background:var(--panel);border-radius:12px;padding:3rem 1.5rem;transition:border-color .15s,background .15s}.dropzone.dragging{border-color:var(--accent);background:#22222a}.dropzone.busy{opacity:.6;pointer-events:none}.dropzone-title{font-size:1.1rem;font-weight:600}.dropzone-sub{color:var(--muted);font-size:.9rem}.dropzone-error{color:#ff7b72;margin-top:1rem;font-size:.9rem}.local-try{border:1px solid var(--border);cursor:pointer;background:var(--panel);border-radius:8px;padding:.75rem 1.25rem;display:inline-block}.local-try:hover{border-color:var(--accent)}.local-bar{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:1rem;font-size:.9rem;display:flex}.local-bar button{border:1px solid var(--border);color:var(--text);cursor:pointer;background:0 0;border-radius:6px;padding:.3rem .7rem}.viewer-status{text-align:center;color:var(--muted);padding:2rem 0}.viewer-status.error{color:#ff7b72}.book-wrap{justify-content:center;display:flex}.book-wrap>div{width:100%;max-width:1000px}.viewer-controls{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:1rem;margin-top:1.25rem;display:flex}.viewer-controls button{background:var(--panel);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:8px;padding:.4rem .9rem;font-size:1.2rem;line-height:1}.viewer-controls button:hover{border-color:var(--accent)}.viewer-controls .mode-toggle{font-size:.85rem}.scroll-view{flex-direction:column;align-items:center;gap:.75rem;display:flex}.scroll-page{width:100%;max-width:900px;position:relative}.scroll-page img{background:#fff;border-radius:4px;width:100%;height:auto;display:block}.dropzone-slim{color:var(--muted);padding:1.1rem 1rem;font-size:.9rem}.pub-footer{color:var(--muted);flex-direction:column;align-items:center;gap:.75rem;margin-top:2rem;font-size:.85rem;display:flex}.pub-footer a{color:var(--muted);text-underline-offset:3px;text-decoration:underline}.pub-footer a:hover{color:var(--accent)}.download-btn{background:var(--panel);border:1px solid var(--border);color:var(--text);border-radius:8px;padding:.5rem 1.1rem;text-decoration:none;display:inline-block}.download-btn:hover{border-color:var(--accent)}.fb-page{position:relative;overflow:hidden}.fb-page img{object-fit:contain;-webkit-user-select:none;user-select:none;width:100%;height:100%}.fb-link{display:block;position:absolute}.fb-link:hover{background:#ffb84d2e;border-radius:2px;outline:1px solid #ffb84d80}.password-gate{text-align:center;background:var(--panel);border:1px solid var(--border);border-radius:12px;max-width:420px;margin:4rem auto;padding:2.5rem 2rem}.gate-icon{margin-bottom:.5rem;font-size:2rem}.password-gate h2{margin-bottom:1.25rem;font-size:1.05rem}.embed-badge{text-align:right;margin-top:.25rem;font-size:.7rem}.embed-badge a{color:var(--muted);text-decoration:none}.manage{flex-direction:column;gap:1.25rem;display:flex}.manage-card{background:var(--panel);border:1px solid var(--border);border-radius:12px;margin-bottom:0;padding:1.5rem}.manage-card h2{margin-bottom:.5rem}.share-row{flex-wrap:wrap;align-items:flex-start;gap:1.5rem;display:flex}.share-links{flex-direction:column;flex:1;gap:.35rem;min-width:260px;display:flex}.share-links label{color:var(--muted);margin-top:.5rem;font-size:.8rem}.copy-row{gap:.5rem;display:flex}.copy-row input{background:var(--bg);border:1px solid var(--border);min-width:0;color:var(--text);border-radius:8px;flex:1;padding:.5rem .7rem;font-size:.85rem}.copy-row button,.setting-actions button,.password-gate button{background:var(--bg);border:1px solid var(--border);color:var(--text);cursor:pointer;white-space:nowrap;border-radius:8px;padding:.5rem .9rem}.copy-row button:hover,.setting-actions button:hover{border-color:var(--accent)}button.primary{background:var(--accent);border-color:var(--accent);color:#1a1206;font-weight:600}.qr-box{flex-direction:column;align-items:center;gap:.5rem;display:flex}.qr-box canvas{background:#fff;border-radius:8px;padding:6px}.qr-box button{border:1px solid var(--border);color:var(--muted);cursor:pointer;background:0 0;border-radius:6px;padding:.3rem .7rem;font-size:.8rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.75rem;margin-top:.75rem;display:grid}.stat{background:var(--bg);border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:.15rem;padding:.9rem;display:flex}.stat-value{font-variant-numeric:tabular-nums;font-size:1.5rem;font-weight:700}.stat-label{color:var(--muted);font-size:.8rem}.setting-row{flex-direction:column;gap:.4rem;margin:1rem 0;display:flex}.setting-row>label{color:var(--muted);font-size:.85rem}.setting-row input[type=text],.setting-row input[type=datetime-local],.setting-row input:not([type]),.setting-row textarea{background:var(--bg);border:1px solid var(--border);color:var(--text);font:inherit;resize:vertical;border-radius:8px;padding:.5rem .7rem}.char-count{color:var(--muted);align-self:flex-end;font-size:.75rem}.version-row{align-items:center}.version-info{flex:1;min-width:0}.pdf-thumb{border:1px solid var(--border);background:#fff;border-radius:4px;flex-shrink:0;width:64px;height:auto}.pdf-thumb-missing{width:64px;height:84px;color:var(--muted);justify-content:center;align-items:center;font-size:.7rem;display:flex}.setting-actions{align-items:center;gap:.75rem;margin-top:1.25rem;display:flex}.save-msg{color:var(--muted);font-size:.85rem}.manage-card.danger{border-color:#5c2b2b}.danger-btn{color:#ff7b72;cursor:pointer;background:0 0;border:1px solid #a04040;border-radius:8px;padding:.5rem 1rem}.version-list{flex-direction:column;gap:.5rem;margin-top:1rem;list-style:none;display:flex}.version-list li{background:var(--bg);border:1px solid var(--border);color:var(--muted);border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem .9rem;font-size:.85rem;display:flex}.version-list button{background:var(--panel);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:6px;padding:.3rem .8rem}.recipient-list{flex-direction:column;gap:.5rem;margin-top:1rem;list-style:none;display:flex}.recipient-list li{background:var(--bg);border:1px solid var(--border);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;padding:.6rem .9rem;font-size:.85rem;display:flex}.recipient-row{flex-direction:column;gap:.15rem;min-width:0;display:flex}.recipient-label{color:var(--text);overflow-wrap:anywhere;font-weight:600}.recipient-status{color:var(--muted)}.recipient-unread{color:var(--muted);font-style:italic}.recipient-actions{flex-shrink:0;gap:.4rem;display:flex}.recipient-actions button{background:var(--panel);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:6px;padding:.3rem .8rem}.recipient-qr{flex-basis:100%;align-items:center;gap:1rem;padding-top:.5rem;display:flex}.recipient-qr .section-sub{max-width:320px;margin-bottom:0}.auth-card{max-width:480px}.auth-tabs{gap:.5rem;margin-bottom:1rem;display:flex}.auth-tabs button{background:var(--bg);border:1px solid var(--border);color:var(--muted);cursor:pointer;border-radius:8px;padding:.45rem 1rem}.auth-tabs button.active{color:var(--text);border-color:var(--accent)}.linklike{color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.btnlike{background:var(--panel);border:1px solid var(--border);color:var(--text);border-radius:6px;padding:.3rem .8rem;text-decoration:none;display:inline-block}.claim-banner{border:1px solid var(--border);border-left:3px solid var(--accent);color:var(--muted);border-radius:8px;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.75rem 1rem;font-size:.9rem;display:flex}.claim-banner button{background:var(--panel);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:6px;padding:.35rem .9rem}.pub-row{align-items:center}.pub-thumb{object-fit:cover;border:1px solid var(--border);background:#fff;border-radius:4px;flex-shrink:0;width:44px;height:60px}.pub-thumb-empty{color:var(--muted);background:var(--panel);justify-content:center;align-items:center;font-size:.65rem;display:flex}.pub-info{flex-direction:column;flex:1;gap:.15rem;min-width:0;display:flex}.pub-info strong{color:var(--text)}.pub-meta{font-size:.8rem}.pub-pill{border:1px solid var(--border);border-radius:999px;padding:.05rem .5rem;font-size:.75rem;display:inline-block}.pub-filter{flex-wrap:wrap;margin-bottom:.75rem}.pub-filter>input{background:var(--bg);border:1px solid var(--border);min-width:200px;color:var(--text);border-radius:8px;flex:1;padding:.5rem .7rem}.filter-chips{flex-wrap:wrap;gap:.35rem;display:flex}.filter-chips button{background:var(--bg);border:1px solid var(--border);color:var(--muted);cursor:pointer;border-radius:999px;padding:.3rem .75rem;font-size:.8rem}.filter-chips button.active{color:var(--text);border-color:var(--accent)}.thumb-grid{border:1px solid var(--border);background:var(--panel);border-radius:10px;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:.6rem;max-height:40vh;margin-top:1.25rem;padding:.75rem;display:grid;overflow-y:auto}.thumb-cell{border:2px solid var(--border);cursor:pointer;background:#fff;border-radius:6px;padding:0;position:relative;overflow:hidden}.thumb-cell img{width:100%;height:auto;display:block}.thumb-cell span{color:#fff;background:#000000a6;border-radius:4px;padding:0 4px;font-size:.65rem;position:absolute;bottom:2px;right:4px}.thumb-cell:hover,.thumb-cell.active{border-color:var(--accent)}.viewer:fullscreen{background:var(--bg);padding:1.5rem;overflow-y:auto}.book-wrap.single>div{max-width:560px}.manage-thumb{border:1px solid var(--border);background:#fff;border-radius:6px;flex-shrink:0;width:84px;height:auto}.manage-head{align-items:flex-start;gap:1rem;display:flex}.copy-row select{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:8px;flex:1;padding:.5rem .7rem}.new-key-box{border:1px solid var(--accent);border-radius:8px;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:.75rem;padding:.75rem 1rem;display:flex}.new-key-box code{overflow-wrap:anywhere}.profile-about{max-width:640px;color:var(--muted);margin:-1.25rem 0 2rem;line-height:1.6}.profile-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1.25rem;display:grid}.profile-card{flex-direction:column;gap:.35rem;text-decoration:none;display:flex}.profile-card img,.profile-card-empty{aspect-ratio:3/4;object-fit:cover;border:1px solid var(--border);background:#fff;border-radius:8px;width:100%;transition:border-color .15s}.profile-card:hover img,.profile-card:hover .profile-card-empty{border-color:var(--accent)}.profile-card-empty{color:var(--muted);background:var(--panel);justify-content:center;align-items:center;display:flex}.profile-card-title{color:var(--text);font-size:.9rem;font-weight:600}.profile-card-meta{color:var(--muted);font-size:.78rem}.handle-prefix{color:var(--muted);align-self:center;font-size:.9rem}.page-input{width:5.5rem}.share-social{flex-wrap:wrap;gap:.4rem;display:flex}.info-btn{border:1px solid var(--border);background:var(--panel);width:1.05rem;height:1.05rem;color:var(--muted);cursor:pointer;vertical-align:middle;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;margin-left:.4rem;font-family:Georgia,serif;font-size:.65rem;font-style:italic;line-height:1;display:inline-flex}.info-btn:hover{border-color:var(--accent);color:var(--accent)}.info-overlay{z-index:100;background:#0009;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.info-modal{background:var(--panel);border:1px solid var(--border);border-radius:12px;width:100%;max-width:460px;max-height:80vh;padding:1.5rem;overflow-y:auto}.info-modal h3{margin-bottom:.75rem}.info-modal p{color:var(--muted);font-size:.9rem;line-height:1.6}.info-modal p+p{margin-top:.75rem}.info-close{background:var(--bg);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:8px;margin-top:1.25rem;padding:.4rem 1rem}.manage-card>button{background:var(--bg);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:8px;padding:.5rem 1rem}.manage-card>button:hover{border-color:var(--accent)}.dropoff{margin-top:1.5rem}.dropoff h3{margin-bottom:.75rem;font-size:.95rem}.dropoff-kpi{color:var(--accent);font-size:.85rem;font-weight:400}.dropoff-bars{align-items:flex-end;gap:3px;height:90px;padding-bottom:.25rem;display:flex;overflow-x:auto}.dropoff-bar{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:2px;min-width:16px;max-width:40px;height:100%;display:flex}.dropoff-fill{background:var(--accent);opacity:.85;border-radius:3px 3px 0 0;width:100%;min-height:2px}.dropoff-bar span{color:var(--muted);font-size:.65rem}.color-input{border:1px solid var(--border);background:var(--bg);cursor:pointer;border-radius:8px;width:56px;height:36px;padding:2px}.logo-row{align-items:center}.logo-preview{background:#fff;border-radius:6px;max-width:160px;max-height:40px;padding:3px}.brand-logo{object-fit:contain;max-width:220px;max-height:48px}.text-version{max-width:720px}.text-summary{border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:8px;max-width:720px;margin-bottom:1.5rem;padding:1rem 1.25rem}.text-summary h2{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem;font-size:.8rem}.text-summary p{line-height:1.7}.text-summary p+p{margin-top:.75rem}.text-page{border-bottom:1px solid var(--border);padding:1.25rem 0}.text-page h2{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem;font-size:.8rem}.text-page h2 a{color:inherit;text-decoration:none}.text-page h2 a:hover{color:var(--accent)}.text-page p{line-height:1.7}
