/* Shared chrome for the non-editor pages (support, supporters, feedback).
   Same palette as the editor so the site reads as one thing. */
:root {
  --bg: #2f3133;
  --panel: #383a3c;
  --panel-2: #313335;
  --line: #232527;
  --edge: #56504a;
  --text: #cfd2d4;
  --bright: #e6e9eb;
  --muted: #8d9194;
  --accent: #ff9d3c;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 system-ui, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 820px; margin: 0 auto; padding: 34px 20px 80px; }

/* --- top nav, with the support button always reachable --- */
.sitenav {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 0 20px; height: 46px;
  background: var(--panel-2); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
/* The brand is also the way home: it returns to the editor, and the editor
   restores the session, so you land back on the work you left. */
.sitenav .brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--accent); font-weight: 800; letter-spacing: .06em;
  text-decoration: none; font-size: 15px;
}
.sitenav .brand img {
  width: 22px; height: 22px; border-radius: 5px; display: block;
}
.sitenav .brand:hover { filter: brightness(1.12); }
.sitenav .back {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel); border: 1px solid var(--edge);
  padding: 5px 12px; border-radius: 5px; font-size: 13px; font-weight: 600;
}
.sitenav .back:hover { border-color: var(--accent); color: #fff; }
.sitenav .spacer { flex: 1; }
.sitenav a { color: var(--text); text-decoration: none; font-size: 14px; }
.sitenav a:hover { color: #fff; }
.sitenav a.cta {
  background: linear-gradient(180deg, #ffb457, #ff8f22); border: 1px solid #ffc887;
  color: #3a2205; font-weight: 700; padding: 6px 13px; border-radius: 5px;
}
.sitenav a.cta:hover { filter: brightness(1.06); color: #3a2205; }

h1 { font-size: 33px; margin: 4px 0 0; color: #fff; }
h2 { font-size: 20px; margin: 40px 0 10px; color: var(--bright); }
p { margin: 10px 0; }
a { color: var(--accent); }
ul { margin: 10px 0; padding-left: 22px; }
li { margin: 7px 0; }
.tag { color: var(--accent); margin: 6px 0 22px; }
.note { color: var(--muted); font-size: 13px; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 7px; padding: 17px 19px; margin: 14px 0;
}
.lead-card { border-left: 4px solid var(--accent); }
.lead { font-size: 17px; color: #fff; font-weight: 600; margin: 0 0 10px; }
footer {
  color: var(--muted); font-size: 13px; border-top: 1px solid var(--line);
  margin-top: 52px; padding-top: 16px;
}

/* --- the two giving options --- */
.give { display: flex; flex-wrap: wrap; gap: 13px; margin: 18px 0 6px; }
.give a {
  flex: 1 1 300px; display: flex; flex-direction: column; gap: 5px;
  padding: 15px 18px; border-radius: 7px; text-decoration: none;
  transition: transform .15s, border-color .15s, filter .15s;
}
.give a:hover { transform: translateY(-2px); }
.give-title { font-size: 17px; font-weight: 700; }
.give-sub { font-size: 13px; opacity: .85; }
.give-primary {
  background: linear-gradient(180deg, #ffb457, #ff8f22);
  border: 1px solid #ffc887; color: #3a2205;
  box-shadow: 0 4px 16px rgba(255,143,34,.22);
}
.give-primary:hover { filter: brightness(1.06); }
.give-secondary {
  background: var(--panel); border: 1px solid var(--edge); color: var(--text);
}
.give-secondary:hover { border-color: var(--accent); color: #fff; }

/* --- two tiles linking onward --- */
.split { display: flex; flex-wrap: wrap; gap: 13px; margin: 26px 0 6px; }
.tile {
  flex: 1 1 280px; display: flex; flex-direction: column; gap: 5px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 7px; padding: 15px 18px; text-decoration: none; color: var(--text);
  transition: border-color .15s, transform .15s;
}
.tile:hover { border-color: var(--accent); transform: translateY(-2px); color: #fff; }
.tile-title { font-weight: 700; font-size: 16px; }
.tile-sub { font-size: 13px; color: var(--muted); }

/* --- supporters --- */
.supporters { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0; }
.supporter {
  background: var(--panel); border: 1px solid var(--edge);
  border-radius: 999px; padding: 7px 15px; font-weight: 600; font-size: 14px;
}
.supporter.top { background: linear-gradient(180deg,#ffb457,#ff8f22); border-color:#ffc887; color:#3a2205; }
.empty {
  background: var(--panel); border: 1px dashed var(--edge); border-radius: 7px;
  padding: 22px; color: var(--muted); text-align: center;
}

/* --- feedback board --- */
.topics { display: flex; gap: 9px; flex-wrap: wrap; margin: 20px 0 6px; }
.topic-btn {
  background: var(--panel); border: 1px solid var(--edge); color: var(--text);
  padding: 9px 17px; border-radius: 6px; cursor: pointer; font: inherit; font-weight: 600;
}
.topic-btn.on { background: var(--accent); border-color: #ffc887; color: #3a2205; }
.field { display: block; margin: 13px 0 5px; color: var(--bright); font-weight: 600; font-size: 14px; }
input[type=text], textarea, select {
  width: 100%; background: var(--panel-2); color: var(--text);
  border: 1px solid var(--edge); border-radius: 5px; padding: 10px 12px;
  font: inherit; resize: vertical;
}
input[type=text]:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.btn {
  background: linear-gradient(180deg,#ffb457,#ff8f22); border: 1px solid #ffc887;
  color: #3a2205; font-weight: 700; padding: 11px 22px; border-radius: 6px;
  cursor: pointer; font: inherit; font-weight: 700; margin-top: 14px;
}
.btn:hover { filter: brightness(1.06); }
.btn[disabled] { opacity: .55; cursor: default; filter: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.post {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--edge); border-radius: 6px;
  padding: 13px 16px; margin: 11px 0;
}
.post.bug { border-left-color: #e2653f; }
.post.wish { border-left-color: var(--accent); }
.post-head { display: flex; flex-wrap: wrap; gap: 9px; align-items: baseline; }
.post-kind { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.post.bug .post-kind { color: #e2653f; }
.post.wish .post-kind { color: var(--accent); }
.post-title { font-weight: 700; color: var(--bright); }
.post-meta { color: var(--muted); font-size: 12px; margin-left: auto; }
.post-body { margin: 7px 0 0; white-space: pre-wrap; }
.status { margin-top: 12px; font-size: 14px; }
.status.ok { color: #8fd18a; }
.status.err { color: #e2653f; }
