/* The random name picker. Plain form controls styled to match the dark site;
   no framework, and no state that outlives the page. */
.picker {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 24px;
}

.picker-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

.picker label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.picker textarea,
.picker input[type="number"] {
  width: 100%;
  background: #14141b;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

.picker textarea { resize: vertical; }

.picker textarea:focus,
.picker input:focus,
.picker button:focus-visible {
  outline: 2px solid #7766ff;
  outline-offset: 2px;
}

.picker-hint {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  margin-top: 8px;
}

.picker-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  margin: 18px 0;
}

.picker-check input { width: auto; }

.picker-draw,
.picker-reset {
  width: 100%;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.picker-draw {
  background: #7766ff;
  color: #fff;
  margin-bottom: 10px;
}

.picker-draw:disabled { opacity: 0.6; cursor: progress; }

.picker-reset {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.16);
}

.picker-commit,
.picker-result {
  margin-top: 22px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.picker-commit dl,
.picker-proof dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 12px 0;
}

.picker-commit dt,
.picker-proof dt {
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  word-break: break-all;
}

.picker-winner {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 6px;
}

.picker-winners {
  margin: 0 0 12px 20px;
  color: rgba(255, 255, 255, 0.8);
}

.picker-winners li { margin-bottom: 4px; }

.picker-proof summary {
  cursor: pointer;
  color: #aa9bff;
  font-weight: 600;
}

.picker-proof p { margin-top: 10px; }

.picker-error {
  margin-top: 16px;
  color: #ff9b9b;
}

@media (max-width: 720px) {
  .picker-grid { grid-template-columns: 1fr; }
  .picker { padding: 18px; }
  .picker-winner { font-size: 1.8rem; }
}
