/* The look every pure-data.wiki site shares: colors, type and controls. A wiki's own theme sets
   other values for these properties (see server/src/theme.ts). */
:root {
  --bg: #101014;
  --panel: #1d1d23;
  --line: #3a3a44;
  --text: #e8e6e1;
  --muted: #e8e6e1a6;
  --accent: #d9b45a;
  --on-accent: #101014;
  --radius: 6px;
  --font: system-ui, sans-serif;
  --scheme: dark;
  --radius-small: calc(var(--radius) * 2 / 3);
  /* A faint rule between rows. */
  --rule: color-mix(in srgb, var(--line) 45%, transparent);
  color-scheme: var(--scheme);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg) fixed; color: var(--text); font: 15px/1.4 var(--font); }
a { color: var(--accent); }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-small); padding: 4px 10px; cursor: pointer; }
button:hover { border-color: var(--accent); }
select { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-small); padding: 4px 6px; max-width: 100%; }


/* Who is signed in, or the ways to sign in (account.js). */
#account { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); }
#account img { width: 28px; height: 28px; border-radius: 50%; }
#account img + span { color: var(--text); }
#account a, #account button { padding: 4px 12px; font: inherit; color: var(--accent); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; cursor: pointer; }
#account a:hover, #account button:hover { border-color: var(--accent); }
