:root {
  color-scheme: light;
  --bg1: #0f3d36;
  --bg2: #1f6f5b;
  --text: #f4fff9;
  --muted: #c6e6da;
  --accent: #ffd166;
  --panel: rgba(8, 28, 24, 0.55);
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 24px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 209, 102, 0.18), transparent 40%),
    linear-gradient(160deg, var(--bg1), var(--bg2));
}

.shell {
  width: min(640px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.hero,
.panel {
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 6vw, 2.6rem);
}

h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.lead,
.muted {
  color: var(--muted);
  line-height: 1.6;
}

.lead {
  margin: 0;
}

.stack {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  text-align: left;
  font-size: 14px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
}

textarea {
  resize: vertical;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.row.between {
  justify-content: space-between;
  margin-bottom: 18px;
}

button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  color: #1a2a24;
  background: var(--accent);
  cursor: pointer;
}

button.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(255, 209, 102, 0.45);
}

button:hover {
  filter: brightness(1.05);
}

button.linkish {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.msg {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.5;
}

.msg.error {
  color: #ffb4a2;
}

.list {
  list-style: none;
  margin: 12px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.list li {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  line-height: 1.5;
}

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

.meta {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.hidden {
  display: none !important;
}
