:root {
  --bg: #f4f7f5;
  --panel: #ffffff;
  --panel-2: #f7faf8;
  --line: #e4eae6;
  --text: #101915;
  --muted: #5f6d65;
  --brand: #0ca678;
  --brand-deep: #087a57;
  --brand-soft: #e2f6ee;
  --warn: #d97706;
  --danger: #d64545;
  --ok: #16a34a;
  --shadow: 0 10px 30px -12px rgba(13,40,30,.18);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.topbar { position:sticky; top:0; z-index:30; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.86); backdrop-filter: blur(14px); }
.topbar .inner { max-width: 960px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar .home { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; }
.topbar .home .logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.topbar nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.topbar nav a:hover { color: var(--brand-deep); }
.wrap { max-width: 760px; margin: 0 auto; padding: 36px 20px 80px; }
header.brand { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
header.brand .logo {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: var(--shadow);
}
h1 { font-size: 26px; margin: 0 0 4px; letter-spacing: -.02em; }
.sub { color: var(--muted); margin: 0; }
.announce { display: flex; gap: 12px; align-items: flex-start; background: #fdf4e3; border: 1px solid #f0d9ad; color: #8a5a17; border-radius: 12px; padding: 13px 15px; font-size: 13.5px; margin-bottom: 18px; }
.announce .tag { flex: none; background: var(--warn); color: #fff; font-weight: 800; font-size: 12px; border-radius: 7px; padding: 2px 9px; margin-top: 2px; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 25px; margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(16,25,21,.05);
}
label { display: block; font-size: 14px; color: var(--muted); margin: 15px 0 7px; font-weight: 650; }
input[type="text"], select, textarea {
  width: 100%; background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 14px; outline: none; transition: border-color .18s, box-shadow .18s;
}
textarea { min-height: 180px; font-family: ui-monospace, Consolas, monospace; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12,166,120,.14); }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row > div { flex: 1 1 220px; }
button.primary {
  margin-top: 22px; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #12c08a, var(--brand-deep));
  color: #fff; font-size: 16px; font-weight: 750;
  padding: 15px; border-radius: 12px; transition: transform .18s, box-shadow .2s;
}
button.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(12,122,87,.5); }
button.primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.hint {
  font-size: 13px; color: var(--muted); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.hint ol { margin: 8px 0 0; padding-left: 20px; }
.hint code { color: var(--brand-deep); background: var(--brand-soft); padding: 1px 6px; border-radius: 6px; }
.hint .more { display: inline-block; margin-top: 11px; color: var(--brand-deep); font-size: 13px; font-weight: 700; }
.alert { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-top: 16px; display: none; }
.alert.error { background: #fcecec; border: 1px solid #f2c4c4; color: #9c2f2f; }
.status-card { text-align: center; padding: 30px 20px; }
.status-card .icon {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-size: 30px;
}
.status-card.processing .icon { background: var(--brand-soft); }
.status-card.done .icon { background: #e6f6ec; }
.status-card.failed .icon, .status-card.cancelled .icon { background: #fcecec; }
.status-card .label { font-size: 18px; font-weight: 750; }
.status-card .desc { color: var(--muted); font-size: 14px; margin-top: 6px; }
.spinner {
  width: 32px; height: 32px; border: 3px solid rgba(12,166,120,.2);
  border-top-color: var(--brand); border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none; }
.mini-faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 10px; box-shadow: 0 1px 2px rgba(16,25,21,.04); }
.mini-faq summary { cursor: pointer; font-weight: 700; padding: 14px 17px; font-size: 14px; list-style: none; }
.mini-faq p { margin: 0; padding: 0 17px 15px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.mini-faq code { color: var(--brand-deep); }
.foot { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 28px; }
.foot a { margin: 0 10px; }

/* get-account-info buttons */
.getinfo { border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); padding: 16px 18px; margin-top: 18px; }
.getinfo-title { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.getinfo-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ghost-btn { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 650; transition: border-color .18s, background .18s, color .18s; }
.ghost-btn:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
.ghost-btn .step-badge { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; }
.ghost-btn .go { margin-left: auto; color: var(--muted); }
.getinfo-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.65; }

@media (max-width: 560px) {
  .topbar nav { gap: 14px; font-size: 13px; }
  .getinfo-btns { grid-template-columns: 1fr; }
}
