:root {
  --ink: #0b0d10;
  --panel: #171c22;
  --line: rgba(224, 180, 90, 0.16);
  --bone: #efe8d8;
  --mute: #9a9386;
  --gold: #e0b45a;
  --danger: #c45c4a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0, rgba(224, 180, 90, 0.08), transparent 28%),
    var(--ink);
  color: var(--bone);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

h1, h2 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  margin: 0 0 12px;
}

.kicker {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  margin-bottom: 16px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

label, .muted { color: var(--mute); }

input {
  width: 100%;
  margin: 8px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #10141a;
  color: var(--bone);
}

button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  background: var(--gold);
  color: #1a1408;
  cursor: pointer;
}

.ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line);
}

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

.row input { margin-bottom: 14px; }

.suffix { color: var(--gold); white-space: nowrap; }

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

.switch input { width: auto; margin: 0; }

.list { display: grid; gap: 10px; }

.item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.item button {
  background: transparent;
  color: var(--danger);
  min-height: auto;
  padding: 0;
}

.error { color: var(--danger); }

.ok { color: #8fb58a; }
