:root {
  --bg: #0b0f14;
  --card: #151b24;
  --line: #2c3542;
  --text: #eef3f9;
  --muted: #8b97a8;
  --accent: #4c9dff;
  --ok: #3dd68c;
  --bad: #ff6b6b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.45;
}
a { color: var(--accent); text-decoration: none; }
header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
main { max-width: 720px; margin: 0 auto; padding: 18px; }
h1 { font-size: 1.4rem; margin: 0 0 10px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}
label { display: block; color: var(--muted); font-size: 14px; margin: 10px 0 6px; }
input, button {
  font: inherit;
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0e131a;
  color: var(--text);
  padding: 10px 12px;
}
button {
  background: var(--accent);
  color: #071018;
  font-weight: 700;
  border: 0;
  margin-top: 12px;
  cursor: pointer;
}
button.secondary { background: #2c3542; color: var(--text); }
.hint { color: var(--muted); font-size: 14px; }
.err { background: #3a1518; padding: 10px 12px; border-radius: 10px; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.ok { background: #133226; color: var(--ok); }
.pill.bad { background: #3a1515; color: var(--bad); }
.clip {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
video { width: 100%; border-radius: 12px; background: #000; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
