/* discord (meme, dark) - generated by src/web/wizard/gen_themes.py from a palette.
   Opt a page in with <!--#theme generated/discord-->. Hand-edit the palette in gen_themes.py, not here. */
:root {
  --bg: #313338;
  --bg2: #2b2d31;
  --card: #383a40;
  --ink: #dbdee1;
  --muted: #949ba4;
  --accent: #5865f2;
  --accent2: #00a8fc;
  --radius: 18px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font: 16px/1.6 16px/1.6 "Comic Sans MS", "Segoe UI", sans-serif;
  background: linear-gradient(135deg, var(--bg), var(--bg2)) fixed;
}
main, .wrap { max-width: 880px; margin: 0 auto; padding: 24px; }
h1, h2, h3 { color: var(--accent); font-weight: 700; line-height: 1.25; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted, small { color: var(--muted); }
.card, .panel {
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--muted) 35%, transparent);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 16px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
button, .btn {
  background: var(--accent);
  color: #ffffff;
  border: 0;
  border-radius: var(--radius);
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button:hover, .btn:hover { filter: brightness(1.08); }
button.secondary { background: var(--accent2); }
input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--muted) 45%, transparent);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid color-mix(in srgb, var(--muted) 30%, transparent); }
th { color: var(--accent); }
code, pre {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  background: rgba(255,255,255,.08);
  border-radius: calc(var(--radius) * 0.6);
}
code { padding: 2px 6px; }
pre { padding: 14px 16px; overflow-x: auto; }
