*{box-sizing:border-box}body{font-family:system-ui,sans-serif;max-width:800px;margin:40px auto;padding:0 16px;color:#1a1a1a;background:#fff}h1{font-size:1.4rem;margin:0 0 16px}h2{font-size:1.05rem;margin:0 0 8px}a{color:#1a56db}[hidden]{display:none!important}input[type=email],input[type=password]{display:block;width:100%;margin-top:4px;padding:8px 10px;font:inherit;border:1px solid #bbb;border-radius:6px}label{display:block;margin-bottom:12px;font-size:.9rem;color:#444}button{font:inherit;padding:7px 14px;border-radius:6px;cursor:pointer;border:1px solid #bbb;background:#f4f4f5;color:#1a1a1a}button:disabled{opacity:.5;cursor:default}button.primary{background:#1a56db;border-color:#1a56db;color:#fff}button.link{padding:0;border:none;background:0 0;color:#1a56db;text-decoration:underline}button.link.danger{color:#b00020}.card{border:1px solid #ddd;border-radius:8px;padding:16px;margin-bottom:16px}#authForm{max-width:360px}.hint{font-size:.85rem;color:#666;margin:0 0 12px}.status{margin:12px 0 0;min-height:1.2em;font-size:.9rem}.status.error{color:#b00020}.row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.row input[type=file]{flex:1 1 220px;min-width:0}.embed-preview{display:block;width:100%;height:480px;margin:0 0 12px;border:0;border-radius:6px;background:#1e1f23}.embed-code{display:block;width:100%;margin:0 0 8px;padding:8px 10px;resize:vertical;font:0.85rem/1.4 ui-monospace,monospace;border:1px solid #bbb;border-radius:6px;background:#f8f8f9}.switch{display:inline-flex;align-items:center;gap:10px;margin:0 0 8px;font-size:1rem;color:inherit;cursor:pointer}.switch input{appearance:none;position:relative;flex:0 0 auto;width:40px;height:22px;margin:0;border-radius:11px;background:#c4c4c8;cursor:pointer;transition:background .15s ease}.switch input::before{content:'';position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.3);transition:transform .15s ease}.switch input:checked{background:#1a56db}.switch input:checked::before{transform:translateX(18px)}.switch input:focus-visible{outline:2px solid #1a56db;outline-offset:2px}.switch input:disabled{opacity:.5;cursor:default}.row input[type=text]{flex:1 1 220px;min-width:0;padding:7px 10px;font:inherit;border:1px solid #bbb;border-radius:6px}.top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:16px}.top h1{margin:0}.who{font-size:.9rem;color:#555;overflow-wrap:anywhere}.dropzone{border:2px dashed #999;border-radius:8px;padding:32px;text-align:center;cursor:pointer}.dropzone.drag{border-color:#333;background:#f3f3f3}.dropzone.busy{opacity:.6;pointer-events:none}.empty{color:#666}.pubs{list-style:none;padding:0;margin:16px 0 0}.pub,.pub-head{display:flex;gap:16px;align-items:flex-start}.pub{padding:12px 0;border-top:1px solid #eee}.pub-head{margin-bottom:20px}.pub-head h1{margin-bottom:4px;overflow-wrap:anywhere}.cover{flex:0 0 136px;width:136px;aspect-ratio:1200/630;background:#f0f0f0;border-radius:4px;overflow:hidden}.cover img{display:block;width:100%;height:100%;object-fit:cover}.info{flex:1 1 auto;min-width:0}.info .name{font-weight:600;overflow-wrap:anywhere}.meta{font-size:.85rem;color:#666;margin:4px 0 8px}.actions{display:flex;flex-wrap:wrap;gap:16px;font-size:.9rem}.bg-preview{height:160px;margin-bottom:12px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#9aa0a6;font-size:.9rem;background:radial-gradient(ellipse at center,#202226 0,#0d0e10 100%) center/cover no-repeat}