:root { --bg: #000; --fg: #e7e9ea; --muted: #71767b; --line: #2f3336; --accent: #1d9bf0; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.45 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.banner { background: #16181c; color: var(--muted); text-align: center; padding: 6px 12px; font-size: 13px; border-bottom: 1px solid var(--line); }
.top, main, .foot, .paused { max-width: 600px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 44px; width: 44px; height: 44px; margin: 4px 0;
  text-decoration: none; color: inherit; position: relative; z-index: 3;
  border-radius: 8px;
}
.brand-mark:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.brand-mark img { display: block; width: 28px; height: 28px; pointer-events: none; }
.top-main { flex: 1; min-width: 0; }
.top h1 { font-size: 20px; margin: 16px 0 4px; }
.sub { color: var(--muted); margin: 0 0 12px; }
.post { border-bottom: 1px solid var(--line); padding: 12px 0; }
.head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.avatar { width: 32px; height: 32px; border-radius: 6px; background: var(--line); display: inline-block; }
.handle, .meta, .attr { color: var(--muted); font-size: 13px; }
.label { border: 1px solid var(--accent); color: var(--accent); border-radius: 4px; padding: 0 6px; font-size: 12px; }
.text { white-space: pre-wrap; word-wrap: break-word; margin: 8px 0; }
.meta { display: flex; gap: 12px; }
.report { color: var(--muted); }
.foot { color: var(--muted); font-size: 13px; padding: 24px 16px; }
.foot a { color: var(--accent); }
.paused { color: var(--muted); padding: 24px 16px; }
/* Server-rendered pages (/room, /p/, /a/) and the operator console. */
.room { margin: 0; font-weight: 600; }
.room a, .name { color: var(--fg); text-decoration: none; }
main h1 { font-size: 20px; margin: 16px 0 4px; }
main h2 { font-size: 16px; margin: 20px 0 4px; color: var(--muted); }
.meta a { color: var(--muted); }
.up { font-size: 13px; margin: 12px 0 0; }
.up a { color: var(--accent); }
.profile { padding: 12px 0; border-bottom: 1px solid var(--line); }
.profile .name { font-size: 20px; margin: 0; }
.bio { white-space: pre-wrap; word-wrap: break-word; }
.empty { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.console section { border-bottom: 1px solid var(--line); padding: 12px 0; }
.console label { display: block; margin: 6px 0; color: var(--muted); font-size: 13px; }
.console input, .console select, .console button { font: inherit; background: #16181c; color: var(--fg); border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; }
.console button { cursor: pointer; }
.console pre { white-space: pre-wrap; word-wrap: break-word; background: #16181c; padding: 8px; border-radius: 4px; font-size: 12px; }
