:root {
  color-scheme: dark;
  font: 100%/1.55 system-ui, -apple-system, sans-serif;
  color: #edf2ed;
  background: #111616;
  --accent: #c2ead4;
  --muted: #b1bfba;
  --line: #344240;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-height: 100dvh;
  margin: 0;
  padding: clamp(3rem, 10vh, 8rem) 1rem 3rem;
  background:
    radial-gradient(ellipse at 50% 6%, #233b34 0%, transparent 62%),
    repeating-linear-gradient(90deg, transparent 0 63px, #88af9e08 63px 64px),
    #111616;
}
.page { width: min(100%, 45rem); margin: auto; text-align: center; }
.emblem {
  display: grid;
  place-items: center;
  width: 4rem;
  aspect-ratio: 1;
  margin: 0 auto 1.6rem;
  border: 1px solid #557368;
  border-radius: 1.3rem;
  background: #314d40;
  color: var(--accent);
  box-shadow: 0 0 2.5rem #99e3b325;
}
.emblem span { font: 2.05rem/1 system-ui, sans-serif; }
h1 {
  margin: 0;
  font-size: clamp(2.85rem, 9vw, 6rem);
  line-height: .99;
  font-weight: 640;
  letter-spacing: -.067em;
  text-wrap: balance;
}
.supporters {
  margin: clamp(2rem, 5vw, 3rem) auto 1.6rem;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
}
.supporters p { margin: .35rem; color: var(--muted); }
.names {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: .65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.names li {
  display: grid;
  place-items: center;
  min-height: 3rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: #1b2724;
  overflow-wrap: anywhere;
  min-width: 0;
}
button {
  font: inherit;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
button:focus-visible { outline: 2px solid #f2fff7; outline-offset: 4px; }
.support-button {
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  color: #12251f;
  background: var(--accent);
  font-weight: 720;
}
.support-button:hover { background: #e1f7eb; transform: translateY(-2px); }
dialog {
  width: min(calc(100% - 1.5rem), 33rem);
  max-height: calc(100dvh - 1.5rem);
  padding: clamp(1rem, 4vw, 1.8rem);
  border: 1px solid #526960;
  border-radius: 1.15rem;
  color: inherit;
  background: #1a2521;
  box-shadow: 0 1rem 5rem #0009;
}
dialog[open] { animation: appear .18s ease-out; }
dialog::backdrop { background: #0b100edb; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: .7rem; }
h2 { margin: 0; font-size: clamp(1.32rem, 5vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; }
.close, .copy {
  min-height: 2.75rem;
  padding: .42rem .64rem;
  border: 1px solid #4a6259;
  border-radius: .55rem;
  background: #253a31;
  color: #d9ede3;
}
.close { min-width: 2.75rem; font-size: 1.4rem; line-height: 1; }
.close:hover, .copy:hover { background: #365345; }
.details { display: grid; gap: .55rem; margin-block: 1.05rem; }
.detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .45rem .75rem;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
}
.detail div { flex: 1 1 9rem; min-width: 0; }
.detail dt { color: var(--muted); font-size: .88rem; }
.detail dd { margin: 0; overflow-wrap: anywhere; user-select: text; }
.notice, #payment-status { margin-block: 1rem 0; color: var(--muted); white-space: pre-line; }
.copy-status { min-height: 1.55em; margin: .7rem 0 0; color: var(--accent); }
.copy-status:empty { display: none; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::backdrop { animation: none !important; transition: none !important; transform: none !important; }
}
