multiuser: token identity, invites + bootstrap, owner-gated runs, fork, user packages; spectator spa; utc house rule

This commit is contained in:
2026-11-14 20:01:15 +00:00
parent 9f85adc3c6
commit 711634cc38
15 changed files with 1134 additions and 105 deletions
+30
View File
@@ -128,6 +128,36 @@ h1 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: v
#new-run-btn { margin-top: 8px; }
/* --- identity + admin --- */
#who { color: var(--dim); font-size: 13px; }
#logout-btn { font-size: 11px; padding: 1px 8px; color: var(--dim); }
#claim-form { max-width: 480px; }
#admin { max-width: 560px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px; }
#admin h2 {
margin: 0 0 10px; font-size: 11px; letter-spacing: 0.14em;
text-transform: uppercase; color: var(--dim); font-weight: normal;
}
#invite-code { font: 12px ui-monospace, Consolas, monospace; color: var(--accent); word-break: break-all; }
.admin-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); padding: 3px 0; }
.admin-row .grow { flex: 1; }
.admin-row button { font-size: 11px; padding: 1px 8px; color: var(--dim); }
.admin-row button.danger { color: var(--danger); }
/* --- setup: save-as-package --- */
#setup-savepkg { display: flex; gap: 8px; max-width: 560px; margin-bottom: 14px; align-items: center; }
#setup-savepkg input { flex: 1; }
#savepkg-state { color: var(--dim); font-size: 12px; }
/* --- aside: fork --- */
#fork-pane { margin-top: 22px; }
#fork-pane .hint { margin: 0 0 8px; }
#fork-pane button { width: 100%; }
/* the naming form (new run) and the vars box (setup) */
#create-form { max-width: 560px; }
#create-form h2 { font-size: 15px; margin: 0 0 14px; color: var(--text); font-weight: 600; }