body {
  font-family: system-ui, sans-serif;
  background: #0b1220;
  color: #e5e7eb;
}

.container {
  max-width: 560px;
  margin: 60px auto;
  padding: 24px;
  background: #111827;
  border-radius: 14px;
}

h1 {
  text-align: center;
  color: #38bdf8;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  opacity: .8;
}

label {
  display: block;
  margin-top: 16px;
  font-size: 14px;
}

input, select, button, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 8px;
  border: none;
  box-sizing: border-box;
}

input, select, textarea {
  background: #1f2933;
  color: white;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

button {
  margin-top: 16px;
  background: #38bdf8;
  font-weight: bold;
  cursor: pointer;
}

.btnRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btnSmall {
  flex: 1;
  min-width: 110px;
  padding: 10px;
  background: #0ea5e9;
  font-weight: 700;
}

.badgeRow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  background: #0b1220;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 12px;
  opacity: .95;
}

.help {
  margin-top: 6px;
  font-size: 12px;
  opacity: .75;
}

hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 18px 0;
}

.prebox {
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #0b1220;
  border: 1px solid rgba(255,255,255,.10);
  font-size: 13px;
  white-space: pre-wrap;
}

#result {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
}
