/* Earworm — guess-the-melody styles. */

.game-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.head-btns { display: flex; gap: 6px; }

.ew-stage { text-align: center; padding: 26px 18px; margin-bottom: var(--space-2); }
.ew-stage .btn { min-width: 220px; }

#note-pips { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: var(--space-3); min-height: 12px; }
.ew-pip { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: background 120ms var(--ease); }
.ew-pip.on { background: var(--accent); }

#hints { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; min-height: 34px; margin-bottom: var(--space-2); }
.ew-hint {
  font-size: 0.85rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.ew-hint.faint { background: none; border-color: var(--border); color: var(--text-faint); font-weight: 500; }

.guess-list { display: grid; gap: 8px; margin-top: var(--space-3); }
.guess-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px;
  animation: floatUp 300ms var(--ease) both;
}
.guess-row.win { border-color: var(--good); background: color-mix(in srgb, var(--good) 12%, var(--bg-elev)); }
.guess-row .who { min-width: 0; font-weight: 700; }

.gc-empty {
  border: 1px dashed var(--border); border-radius: var(--radius-sm);
  padding: 10px 14px; color: var(--text-faint); font-size: 0.85rem; text-align: center;
}

.endgame { margin-top: var(--space-4); }
.end-emoji { font-size: 3rem; }
