:root {
  --bg: #0f1115;
  --card: #1a1d24;
  --border: #2a2e38;
  --text: #e6e8ee;
  --muted: #8b93a7;
  --accent: #4f7cff;
  --accent-hover: #3d67e8;
  --danger: #ff5c5c;
  --success: #34d399;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app { width: 100%; max-width: 420px; padding: 24px; }
.header { text-align: center; margin-bottom: 24px; }
.header h1 { font-size: 24px; margin: 0; }
.subtitle { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.card h2 { margin: 0 0 4px; font-size: 18px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
input {
  width: 100%; padding: 11px 12px; background: #12141a;
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 15px;
}
input:focus { outline: none; border-color: var(--accent); }
button[type="submit"] {
  width: 100%; margin-top: 20px; padding: 12px;
  background: var(--accent); color: #fff; border: none;
  border-radius: 8px; font-size: 15px; cursor: pointer;
}
button[type="submit"]:hover { background: var(--accent-hover); }
button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.error { color: var(--danger); font-size: 13px; margin: 10px 0 0; }
.muted { color: var(--muted); font-size: 12px; }
.link-btn {
  display: block; margin: 16px auto 0; background: none; border: none;
  color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline;
}
.dot { width: 14px; height: 14px; border-radius: 50%; margin: 18px auto; }
.dot.monitoring { background: var(--accent); animation: pulse 1.4s infinite; }
.dot.matched { background: var(--success); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.match { margin-top: 16px; text-align: left; }
.match h3 { color: var(--success); font-size: 16px; margin: 0 0 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
td { padding: 7px 4px; border-bottom: 1px solid var(--border); }
td:first-child { color: var(--muted); width: 96px; }
