body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Inter,Arial,sans-serif;background:#0b0c0f;color:#e7e9ee;margin:0}
.wrap{max-width:720px;margin:48px auto;padding:24px;border-radius:16px;background:#14171f;box-shadow:0 6px 24px rgba(0,0,0,.4)}
h1{margin:0 0 16px 0;font-size:28px}
form{display:grid;gap:12px;margin-bottom:16px}
input,button{padding:10px 12px;border-radius:10px;border:1px solid #2a3242;background:#0f1218;color:#e7e9ee}
button{cursor:pointer;background:#3d70ff;border:none}
#status{margin-top:8px;font-size:14px}
a{color:#9ed0ff;text-decoration:none}
a:hover{text-decoration:underline}
#chapters{display:grid;gap:10px;margin-top:16px}
.chap,.overall{padding:10px;border:1px solid #2a3242;border-radius:10px;background:#0f1218}
.chdr{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.ctitle{font-weight:600}
.cstat{opacity:.8;font-size:12px}
.bar{height:8px;background:#1a2030;border-radius:6px;overflow:hidden}
.bar.big{height:12px}
.fill{height:100%}
.actions{display:flex;gap:10px}
.panel{margin-top:20px}
#finishedList{display:grid;gap:10px;margin-top:10px}
.card{padding:10px;border:1px solid #2a3242;border-radius:10px;background:#0f1218;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.card .meta{display:flex;flex-direction:column;gap:4px}
.card .actions{display:flex;gap:8px}
.small{font-size:12px;opacity:.85}
