* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0f1720;
  --card: #18222d;
  --line: #2a3a4a;
  --text: #e8eef4;
  --muted: #93a4b5;
  --accent: #3d9cf0;
  --ok: #3ecf8e;
  --warn: #f0c14d;
  --bad: #ef6b6b;
}
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, #1c3a55, var(--bg));
  color: var(--text);
  min-height: 100vh;
}
.page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px 60px;
}
.layout {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.card {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.feed {
  width: 100%;
  max-width: 820px;
}
.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}
.feed h2 { font-size: 1.2rem; }
.card-head { padding: 28px 28px 8px; }
.eyebrow {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
h1 { font-size: 1.55rem; margin-bottom: 8px; }
.lede, .hint, .meta, .live-dot, .empty { color: var(--muted); font-size: .9rem; }
.card-body { padding: 20px 28px 28px; display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: .78rem; font-weight: 600; color: #c5d2de; text-transform: uppercase; }
input, button { font-family: inherit; }
input[type="text"], input[type="tel"], input[type="password"] {
  width: 100%;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #101820;
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
}
input:focus { outline: 2px solid #3d9cf066; border-color: var(--accent); }
.btn {
  border: 0;
  background: var(--accent);
  color: #041018;
  font-weight: 700;
  padding: 13px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.consent {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #121c26;
}
.consent-title { font-size: .75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }
.consent-text { font-size: 11px; line-height: 1.45; color: var(--muted); max-height: 88px; overflow: auto; margin-bottom: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; font-size: 13px; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.msg { padding: 10px 12px; border-radius: 8px; font-size: .9rem; }
.msg.error { background: #3a1c1c; color: #ffb4b4; }
.msg.ok { background: #163226; color: #b6f0d0; }
.countdown { text-align: center; padding: 16px; background: #132433; border-radius: 12px; }
.countdown strong { display: block; font-size: 2.2rem; color: var(--accent); }
.live-body { padding: 28px 20px 40px; max-width: 1180px; margin: 0 auto; }
.top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 24px; flex-wrap: wrap; }
.top-actions { display: flex; gap: 8px; }
.login {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  max-width: 480px;
}
.login-row { display: flex; gap: 8px; margin-top: 12px; }
.login-row input { flex: 1; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; background: #121b24; }
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}
.badge.pending { background: #3a3318; color: var(--warn); }
.badge.submitted { background: #163226; color: var(--ok); }
.badge.failed { background: #3a1c1c; color: var(--bad); }
.live-dot { margin-top: 4px; }
.empty { padding: 20px; }
@media (max-width: 640px) {
  .login-row { flex-direction: column; }
}
