* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f1419; color: #e8e8e8; min-height: 100vh;
  padding: 20px; line-height: 1.5;
}
.wrap { max-width: 880px; margin: 0 auto; }
.card {
  background: #1a2029; border-radius: 16px; padding: 24px;
  max-width: 440px; margin: 40px auto; box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
h1 { font-size: 22px; margin-bottom: 4px; font-weight: 600; }
h2 { font-size: 18px; margin: 24px 0 12px; font-weight: 600; }
.sub { color: #8a96a3; font-size: 14px; margin-bottom: 20px; }
label { display: block; font-size: 13px; color: #8a96a3; margin: 12px 0 6px; }
input, select {
  width: 100%; padding: 12px; font-size: 16px; background: #0f1419;
  border: 1px solid #2a323d; border-radius: 10px; color: #fff;
}
input:focus, select:focus { outline: none; border-color: #4a90d9; }
.code-input { text-align: center; letter-spacing: 3px; text-transform: uppercase; font-size: 20px; }
button, .btn {
  display: inline-block; width: 100%; padding: 12px; font-size: 15px; font-weight: 600;
  background: #4a90d9; color: #fff; border: none; border-radius: 10px;
  cursor: pointer; margin-top: 16px; text-align: center; text-decoration: none;
}
button:active { transform: scale(.99); }
.btn-sm { width: auto; padding: 7px 12px; font-size: 13px; margin: 0; }
.btn-danger { background: #c0392b; }
.btn-ghost { background: #2a323d; }
.erro { color: #e57373; font-size: 14px; margin-top: 10px; min-height: 18px; }
.ok { color: #66bb6a; font-size: 14px; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #2a323d; }
th { color: #8a96a3; font-weight: 500; font-size: 12px; text-transform: uppercase; }
.muted { color: #8a96a3; font-size: 13px; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 12px; }
.pill-on { background: #14492f; color: #66bb6a; }
.pill-off { background: #4a1f1f; color: #e57373; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.topbar a { color: #8a96a3; font-size: 14px; text-decoration: none; }
.box { background: #1a2029; border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.kv { font-family: ui-monospace, monospace; background: #0f1419; padding: 8px 10px; border-radius: 8px; font-size: 13px; word-break: break-all; }
video { width: 100%; border-radius: 12px; background: #000; aspect-ratio: 16/9; }
.ao-vivo { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #e57373; margin: 12px 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #e57373; }
