/* Random Name Picker — big winner display, suspense animation, history. */

.picker-pick {
  font-size: 1.1rem;
  padding: 12px 30px;
}

.picker-pick:disabled {
  opacity: 0.6;
  cursor: default;
}

.picker-winner {
  margin-top: 16px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
}

.picker-winner-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.picker-winner-name {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.picker-winner-name.settled {
  color: var(--accent);
  animation: picker-pop 0.35s ease;
}

@keyframes picker-pop {
  0% { transform: scale(0.85); opacity: 0.5; }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

.picker-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.picker-history-head h2 { margin: 0; font-size: 1.05rem; }

.picker-history { list-style: none; margin: 10px 0 0; padding: 0; }

.picker-history li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.picker-history-names { font-weight: 600; word-break: break-word; }
.picker-history-time { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
