/* Monochrome, like the apps. Only the Tor/secure accent is green. */
:root {
  --paper: #000; --ink: #fff; --card: #1c1c1e; --card2: #2c2c2e; --line: #38383a;
  --muted: #8e8e93; --green: #34c759; --danger: #ff453a;
  --font: "Geist", -apple-system, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --mark: "MuseoModerno", var(--font);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --paper: #fff; --ink: #000; --card: #f2f2f7; --card2: #e5e5ea; --line: #d1d1d6; --muted: #6c6c70; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; }
a { color: inherit; }
main { max-width: 560px; margin: 0 auto; padding: 20px 16px 48px; }
.wordmark { font-family: var(--mark); font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.top .wordmark { font-size: 28px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.pad { padding: 40px 0; }
h1 { font-size: 34px; line-height: 1.12; letter-spacing: -0.02em; margin: 8px 0 12px; font-weight: 700; }
h2 { font-size: 20px; margin: 36px 0 12px; font-weight: 600; }
p { line-height: 1.5; }
.icon { width: 20px; height: 20px; flex: none; }
.row { display: flex; align-items: center; gap: 10px; }
.list { display: grid; gap: 10px; margin: 18px 0; }
.list .row { color: var(--muted); font-size: 15px; }
.card { background: var(--card); border-radius: 18px; padding: 18px; }
.cards { display: grid; gap: 10px; }
.cards .card .row { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.cards .card p { margin: 0; color: var(--muted); font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 12px 20px; font: 600 16px var(--font); cursor: pointer; text-decoration: none; }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.gray { background: var(--card2); color: var(--ink); }
.btn.full { width: 100%; }
.btn:disabled { opacity: .35; cursor: default; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
input, textarea { width: 100%; background: var(--card); color: var(--ink); border: 0; border-radius: 14px;
  padding: 14px 16px; font: 16px var(--font); outline: none; resize: none; }
textarea { min-height: 140px; border-radius: 18px; }
input:focus, textarea:focus { box-shadow: 0 0 0 2px var(--line); }
.handle-form { display: flex; gap: 8px; }
.handle-form .prefix { display: flex; align-items: center; background: var(--card); border-radius: 14px; padding-left: 14px; flex: 1; }
.handle-form .prefix span { color: var(--muted); }
.handle-form .prefix input { padding-left: 2px; background: transparent; }
.profile { text-align: center; margin: 8px 0 22px; }
.profile img { width: 76px; height: 76px; }
.profile .at { font-weight: 600; font-size: 17px; margin-top: 8px; }
.profile .prompt { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin: 10px 0 0; line-height: 1.2; }
.secure { color: var(--green); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.secure .icon { width: 14px; height: 14px; }
.note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.thread { display: grid; gap: 6px; margin: 18px 0; }
.bubble { max-width: 80%; padding: 9px 13px; border-radius: 18px; font-size: 16px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; }
.bubble.out { justify-self: end; background: var(--ink); color: var(--paper); }
.bubble.in { justify-self: start; background: var(--card); }
.meta { font-size: 11px; color: var(--muted); }
.meta.out { justify-self: end; } .meta.in { justify-self: start; }
.linkbox { display: flex; gap: 8px; align-items: center; background: var(--card); border-radius: 14px; padding: 8px 8px 8px 14px; }
.linkbox code { font: 12px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; color: var(--muted); }
.done { text-align: center; padding: 18px 0 6px; }
.done .tick { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--paper); display: inline-grid; place-items: center; }
.done .tick .icon { width: 26px; height: 26px; }
.err { color: var(--danger); font-size: 14px; }
.foot { margin-top: 48px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.admin-item { background: var(--card); border-radius: 14px; padding: 14px; display: grid; gap: 6px; }
.admin-item .btns { margin-top: 6px; }
.pill { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--card2); color: var(--muted); }

/* Landing hero: centered column */
.list.centered { justify-items: center; }
.list.centered .row { justify-content: center; text-align: center; }
.btns.centered { justify-content: center; }
