/* NYT-style rank progress: rank name, dotted track, score bubble at current rank */
.progress { display: flex; align-items: center; gap: 12px; padding: 0.35rem 0.2rem; }
.progress-rank { font-weight: 800; font-size: 0.95rem; min-width: 5.6rem; }
.progress-dots { display: flex; align-items: center; flex: 1; justify-content: space-between; position: relative; }
.progress-dots::before {
  content: ''; position: absolute; left: 2px; right: 2px; top: 50%; height: 2px;
  background: var(--border); transform: translateY(-50%);
}
.dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--border);
  position: relative; z-index: 1;
}
.dot.done { background: var(--gold); }
.dot.current {
  width: 32px; height: 32px; background: var(--gold); color: #111;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.8rem;
}
.dot.current.bump { animation: pop 0.3s ease; }

/* Collapsed word list, like NYT's "Your words…" bar */
.found { border: 1px solid var(--border); border-radius: 10px; padding: 0 0.6rem; margin: 0.2rem 0 0.1rem; }
.found summary {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  min-height: 46px; font-size: 0.95rem; cursor: pointer;
}
#found-preview {
  flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: var(--muted);
}
.found-count {
  color: var(--muted); font-size: 0.85rem; border: 1px solid var(--border);
  border-radius: 12px; padding: 1px 9px;
}
#found-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 0.4rem 0 0.6rem; font-size: 1rem; }
#found-list .pangram { font-weight: 800; color: var(--gold-deep); }
#found-list span.new { animation: fadein 0.3s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } }

.word-line {
  text-align: center; font-size: 1.6rem; font-weight: 800; letter-spacing: 2px;
  min-height: 2rem; text-transform: uppercase;
}
.word-line.shake { animation: shake 0.4s; }
.word-line .center-letter { color: var(--gold-deep); }

#hive { position: relative; width: 250px; height: 236px; margin: 0.3rem auto; }
.hex {
  position: absolute; left: 50%; top: 50%; width: 86px; height: 76px;
  margin-left: -43px; margin-top: -38px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  border: none; border-radius: 0; min-height: 0;
  background: var(--hex-bg); color: var(--text);
  font-size: 1.5rem; font-weight: 800; text-transform: uppercase;
  animation: hexin 0.25s ease;
}
@keyframes hexin { from { opacity: 0; } }
.hex.center { background: var(--gold); color: #111; }
.hex:active { filter: brightness(0.88); }

/* Quiet NYT-style pill buttons */
.controls { display: flex; gap: 14px; justify-content: center; align-items: center; margin: 0.4rem 0; }
.controls button {
  font-size: 1rem; font-weight: 400; padding: 0.55rem 1.3rem; border-radius: 26px;
  border: 1px solid var(--muted); background: var(--bg); color: var(--text);
}
#shuffle { width: 52px; height: 52px; padding: 0; border-radius: 50%; font-size: 1.25rem; }
