:root {
  --bg: #0f1218;
  --card: #1a1f28;
  --text: #e8edf5;
  --muted: #9aa6b8;
  --line: #2a3344;
  --accent: #3dcc8c;
  --accent-2: #5b8cff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  padding: 24px 16px 40px;
}

.wrap {
  max-width: 420px;
  margin: 0 auto;
}

h1 {
  margin: 12px 0 8px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  background: var(--accent);
}

.btn.secondary {
  background: var(--accent-2);
  color: #fff;
}

.btn:active {
  opacity: 0.88;
}

.btn.disabled {
  display: block;
  text-align: center;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--muted);
  background: #252b36;
  border: 1px dashed var(--line);
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

.notes {
  margin-top: 28px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.notes p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.notes p:last-child {
  margin-bottom: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  color: #c9e6d6;
  word-break: break-all;
}
