:root {
  color-scheme: dark;
  --bg: #071512;
  --panel: #10231e;
  --panel-2: #15342d;
  --text: #ecfff9;
  --muted: #a5c7bc;
  --line: #2d5b50;
  --accent: #33d19a;
  --accent-2: #e4c268;
  --danger: #ff7c7c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 30% 15%, rgba(51, 209, 154, .2), transparent 28rem),
    linear-gradient(135deg, #071512 0%, #0b1f2a 60%, #14130d 100%);
  color: var(--text);
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 35, 30, .92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
  padding: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.crest {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent-2);
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

p {
  margin: 6px 0 0;
  color: var(--muted);
}

form {
  display: grid;
  gap: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-2);
  color: var(--text);
  padding: 10px 12px;
  font-size: 16px;
}

input:focus,
select:focus {
  outline: 2px solid rgba(51, 209, 154, .35);
  border-color: var(--accent);
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #062018;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

a {
  color: var(--accent);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.link-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #062018;
  padding: 11px 16px;
  font-weight: 700;
  text-decoration: none;
}

.link-button.secondary {
  background: transparent;
  color: var(--accent);
}

.link-button.ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.copy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 52, 45, .7);
  padding: 18px;
}

.copy-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.copy-card p {
  line-height: 1.55;
}

.donation-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.donation-list strong {
  color: var(--text);
}

.notice {
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.error {
  border: 1px solid rgba(255, 124, 124, .45);
  background: rgba(255, 124, 124, .12);
  color: #ffd8d8;
}

.success {
  border: 1px solid rgba(51, 209, 154, .45);
  background: rgba(51, 209, 154, .12);
  color: #d9fff1;
}

.hp {
  display: none;
}

@media (max-width: 640px) {
  .panel {
    padding: 20px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
