:root {
  --bg: #f4f7fb;
  --card: #fff;
  --text: #1c2430;
  --muted: #667085;
  --primary: #3d7cff;
  --primary-hover: #2e68e6;
  --border: #e5e7eb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.wrap { max-width: 860px; margin: 0 auto; padding: 20px 14px 32px; }
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(15,23,42,.08);
  border: 1px solid rgba(229,231,235,.9);
  margin-bottom: 16px;
}
.hero h1, .card h1, .card h2 { margin: 0 0 12px; }
.muted { color: var(--muted); line-height: 1.6; }
.btn {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}
.btn.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn.primary:hover { background: var(--primary-hover); }
.btn.secondary { background: #f8fafc; }
.status {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f8fbff;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  line-height: 1.6;
}
.tips p { margin: 8px 0; color: var(--muted); }
.result { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.row:last-child { border-bottom: 0; }
.row span { color: var(--muted); }
code { word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.hidden { display: none; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
