:root{--text:#e4e2dc;--text-muted:#aaa6a0;--bg:#15161a;--panel:#1e1f25;--border:#353740;--accent:#e0b04f;--accent-bg:#e0b04f24;--done:#3d8250;--danger:#d84a40;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font:15px/1.45 system-ui,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit}.app{max-width:1100px;margin:0 auto;padding:16px}.loading{text-align:center;color:var(--text-muted);padding:48px}.app-header{align-items:center;gap:24px;margin-bottom:16px;display:flex}.app-header h1{color:var(--accent);margin:0;font-size:28px}.app-header .progress{flex:1;height:26px}.profile{max-width:340px;margin-left:auto;position:relative}.profile button{border:1px solid var(--border);background:var(--panel);cursor:pointer;border-radius:6px}.profile button:hover{background:var(--accent-bg)}.profile-trigger{text-align:left;align-items:center;gap:8px;max-width:100%;padding:6px 10px;display:flex}.profile-picture{object-fit:cover;border-radius:50%;width:36px;height:36px}.profile-details{flex-direction:column;min-width:0;display:flex}.profile-details strong,.profile-details small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-details small{color:var(--text-muted)}.profile-chevron{color:var(--text-muted)}.profile-menu{z-index:2;border:1px solid var(--border);background:var(--panel);border-radius:8px;flex-direction:column;min-width:180px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 6px 20px #00000026}.profile-menu button{text-align:left;background:0 0;border:0;padding:8px 10px}.profile-menu .profile-reset{color:var(--danger)}.profile-menu .profile-status{color:var(--text-muted);margin:4px 6px;font-size:13px}.profile-file-input{display:none}.reset-dialog{border:1px solid var(--border);width:min(420px,100vw - 32px);color:var(--text);background:var(--panel);border-radius:10px;padding:20px}.reset-dialog::backdrop{background:#0000008c}.reset-dialog h2{margin:0 0 8px;font-size:20px}.reset-dialog p{color:var(--text-muted);margin:0 0 16px}.reset-dialog label{margin-bottom:6px;display:block}.reset-dialog input{border:1px solid var(--border);width:100%;color:var(--text);background:var(--bg);border-radius:6px;padding:8px 10px}.reset-dialog-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.reset-dialog-actions button{border:1px solid var(--border);background:var(--panel);cursor:pointer;border-radius:6px;padding:7px 12px}.reset-dialog-actions button:disabled{cursor:not-allowed;opacity:.55}.reset-dialog-actions .reset-confirm:not(:disabled){border-color:var(--danger);color:#fff;background:var(--danger)}.error{color:#fff;background:var(--danger);border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:8px 12px;display:flex}.error button{cursor:pointer;background:0 0;border:none;font-size:18px}.progress{background:var(--border);border-radius:10px;height:20px;position:relative;overflow:hidden}.progress-fill{background:var(--done);height:100%;transition:width .3s}.progress-label{color:#fff;place-items:center;font-size:14px;font-weight:600;line-height:1;display:grid;position:absolute;inset:0}.campaign-tabs{border-bottom:2px solid var(--border);gap:4px;display:flex}.campaign-tabs button{cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;flex-direction:column;align-items:flex-start;margin-bottom:-2px;padding:8px 16px;display:flex}.campaign-tabs button small{color:var(--text-muted)}.campaign-tabs button:hover{background:var(--accent-bg)}.campaign-tabs button.active{border-bottom-color:var(--accent);font-weight:600}.layout{grid-template-columns:240px 1fr;gap:16px;margin-top:16px;display:grid}@media (width<=720px){.layout{grid-template-columns:1fr}}.regions{flex-direction:column;gap:4px;display:flex}.regions button{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex-direction:column;gap:4px;padding:8px 10px;display:flex}.regions button:hover{background:var(--accent-bg)}.regions button.active{border-color:var(--accent);background:var(--accent-bg);font-weight:600}.quests{background:var(--panel);border:1px solid var(--border);border-radius:8px;min-width:0;padding:12px 16px}.toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:16px;padding-bottom:8px;display:flex}.toolbar h2{margin:0 auto 0 0;font-size:20px}.toolbar label{cursor:pointer;align-items:center;gap:6px;display:flex}.quest-list{margin:0;padding:0;list-style:none}.quest-list li{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:6px 0;display:flex}.quest-list li:last-child{border-bottom:none}.quest-list li label{cursor:pointer;align-items:center;gap:6px;display:flex}.quest-list li a{color:inherit;text-decoration:none}.quest-list li a:hover{color:var(--accent);text-decoration:underline}.quest-list li.completed a{color:var(--text-muted);text-decoration:line-through}.empty{text-align:center;color:var(--text-muted);padding:24px 0}
